Pull request #361 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c4faddb2a87debb4847eb62e77eafc712bf7e65e rather than a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a Obtained Jenkinsfile from c4faddb2a87debb4847eb62e77eafc712bf7e65e 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-ssh5620358869192296743.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-ssh1914071343260248538.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-361/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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1345287925547516864.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-ssh16682650825081764387.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-361/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-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12120182193738030772.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-15475 in /w/workspace/undry_device-onvif-camera_PR-361 [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-361 # 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 > 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/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a Merge succeeded, producing a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a Checking out Revision a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a (PR-361) > git config core.sparsecheckout # timeout=10 > git checkout -f a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a # 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a # timeout=10 Commit message: "docs(openapi): add logic to auto-generate deviceCommands get schemas" > git rev-list --no-walk a2129d0aa03e260ecda71565f46da0b72c6b3ad9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:48:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:48:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:48:13 ========================================================= 23:48:13 EdgeX Global Pipelines Version Info 23:48:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:48:14 ------------------- 23:48:14 stable info: 23:48:14 ------------------- 23:48:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:48:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:48:14 Message: update stable to v1.0.249 23:48:14 ------------------- 23:48:14 experimental info: 23:48:14 ------------------- 23:48:14 Commited By: **** collab-it+edgex@linuxfoundation.org 23:48:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:48:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9f8de8 [Pipeline] echo 23:48:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:15 provisioning config files... 23:48:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config4275299667679847899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:15 ---> docker-login.sh 23:48:15 nexus3.edgexfoundry.org:10001 23:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:16 Configure a credential helper to remove this warning. See 23:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:16 23:48:16 Login Succeeded 23:48:16 nexus3.edgexfoundry.org:10002 23:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:16 Configure a credential helper to remove this warning. See 23:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:16 23:48:16 Login Succeeded 23:48:16 nexus3.edgexfoundry.org:10003 23:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:16 Configure a credential helper to remove this warning. See 23:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:16 23:48:16 Login Succeeded 23:48:16 nexus3.edgexfoundry.org:10004 23:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:16 Configure a credential helper to remove this warning. See 23:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:16 23:48:16 Login Succeeded 23:48:16 docker.io 23:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:16 Configure a credential helper to remove this warning. See 23:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:16 23:48:16 Login Succeeded 23:48:16 ---> docker-login.sh ends [Pipeline] } 23:48:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:48:17 + git rev-list -1 --merges a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a~1..a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [Pipeline] echo 23:48:17 -----------> git rev-list -1 --merges a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a~1..a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [false] [Pipeline] sh 23:48:17 + git log --format=format:%s -1 a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [Pipeline] echo 23:48:17 ========================================================= 23:48:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:48:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:48:17 + git log --format=format:%s -1 a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [Pipeline] echo 23:48:17 [semverPrep] GIT_COMMIT: a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a, Commit Message: docs(openapi): add logic to auto-generate deviceCommands get schemas [Pipeline] echo 23:48:17 [semverPrep] This is not a build commit. [Pipeline] sh 23:48:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:48:18 + grep -v github /etc/ssh/ssh_known_hosts 23:48:18 + [ -e /tmp/ssh_known_hosts ] 23:48:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:48:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:48:18 + sudo tee -a /etc/ssh/ssh_known_hosts 23:48:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:48:18 23:48:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:48:19 0.1.4: Pulling from edgex-devops/py-git-semver 23:48:19 b85a868b505f: Pulling fs layer 23:48:19 e2be974225ed: Pulling fs layer 23:48:19 339a4e72a1f5: Pulling fs layer 23:48:19 988bab9f4d93: Pulling fs layer 23:48:19 1469e6f7b9e6: Pulling fs layer 23:48:19 eaf3925da568: Pulling fs layer 23:48:19 bab4dde63d76: Pulling fs layer 23:48:19 bde34c3a00c8: Pulling fs layer 23:48:19 b352a97aabf1: Pulling fs layer 23:48:19 4872d77fe225: Pulling fs layer 23:48:19 1469e6f7b9e6: Waiting 23:48:19 5851b861e8e6: Pulling fs layer 23:48:19 eaf3925da568: Waiting 23:48:19 bab4dde63d76: Waiting 23:48:19 bde34c3a00c8: Waiting 23:48:19 b352a97aabf1: Waiting 23:48:19 5851b861e8e6: Waiting 23:48:19 4872d77fe225: Waiting 23:48:19 988bab9f4d93: Waiting 23:48:19 e2be974225ed: Download complete 23:48:19 988bab9f4d93: Verifying Checksum 23:48:19 988bab9f4d93: Download complete 23:48:19 1469e6f7b9e6: Download complete 23:48:19 339a4e72a1f5: Verifying Checksum 23:48:19 339a4e72a1f5: Download complete 23:48:19 eaf3925da568: Verifying Checksum 23:48:19 eaf3925da568: Download complete 23:48:19 bde34c3a00c8: Download complete 23:48:19 b352a97aabf1: Download complete 23:48:19 4872d77fe225: Verifying Checksum 23:48:19 4872d77fe225: Download complete 23:48:19 5851b861e8e6: Download complete 23:48:19 b85a868b505f: Verifying Checksum 23:48:19 b85a868b505f: Download complete 23:48:19 bab4dde63d76: Verifying Checksum 23:48:19 bab4dde63d76: Download complete 23:48:20 b85a868b505f: Pull complete 23:48:20 e2be974225ed: Pull complete 23:48:21 339a4e72a1f5: Pull complete 23:48:21 988bab9f4d93: Pull complete 23:48:21 1469e6f7b9e6: Pull complete 23:48:21 eaf3925da568: Pull complete 23:48:23 bab4dde63d76: Pull complete 23:48:23 bde34c3a00c8: Pull complete 23:48:23 b352a97aabf1: Pull complete 23:48:23 4872d77fe225: Pull complete 23:48:23 5851b861e8e6: Pull complete 23:48:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:48:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:48:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:23 prd-ubuntu20.04-docker-8c-8g-15475 does not seem to be running inside a container 23:48:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@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-devops/py-git-semver:0.1.4 cat 23:48:27 $ docker top 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac -eo pid,comm 23:48:27 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). 23:48:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:48:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:48:27 [ssh-agent] Looking for ssh-agent implementation... 23:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:48:27 $ docker exec 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac ssh-agent 23:48:27 SSH_AUTH_SOCK=/tmp/ssh-wMA784faNdPe/agent.33 23:48:27 SSH_AGENT_PID=39 23:48:27 Running ssh-add (command line suppressed) 23:48:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_15351142440830257144.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_15351142440830257144.key) 23:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:48:27 + git tag --points-at HEAD [Pipeline] } 23:48:27 $ docker exec --env ******** --env ******** 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac ssh-agent -k 23:48:28 unset SSH_AUTH_SOCK; 23:48:28 unset SSH_AGENT_PID; 23:48:28 echo Agent pid 39 killed; 23:48:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:48:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:48:28 [ssh-agent] Looking for ssh-agent implementation... 23:48:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:48:28 $ docker exec 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac ssh-agent 23:48:28 SSH_AUTH_SOCK=/tmp/ssh-zMZ12bvl2Hw8/agent.71 23:48:28 SSH_AGENT_PID=77 23:48:28 Running ssh-add (command line suppressed) 23:48:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_1858722880482306897.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_1858722880482306897.key) 23:48:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:48:28 + git semver init 23:48:29 2023-05-15 23:48:28,949 [run_init] DEBUG init version:0.0.0 force:False 23:48:29 2023-05-15 23:48:28,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-361/.semver 23:48:29 2023-05-15 23:48:28,950 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-361/.semver 23:48:29 2023-05-15 23:48:28,950 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-361/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-361, universal_newlines=False, shell=None, istream=None) 23:48:29 2023-05-15 23:48:29,927 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-361/.git/info/exclude 23:48:29 2023-05-15 23:48:29,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 with force:False 23:48:29 2023-05-15 23:48:29,928 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:48:29 2023-05-15 23:48:29,932 [execute] INFO git cat-file --batch-check 23:48:29 2023-05-15 23:48:29,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) 23:48:29 2023-05-15 23:48:29,936 [execute] INFO git cat-file --batch 23:48:29 2023-05-15 23:48:29,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) 23:48:29 2023-05-15 23:48:29,941 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:48:29 0.0.0 [Pipeline] } 23:48:29 $ docker exec --env ******** --env ******** 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac ssh-agent -k 23:48:30 unset SSH_AUTH_SOCK; 23:48:30 unset SSH_AGENT_PID; 23:48:30 echo Agent pid 77 killed; 23:48:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:48:30 + git semver [Pipeline] } 23:48:30 $ docker stop --time=1 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac 23:48:31 $ docker rm -f --volumes 1a343f61f7d247f0477b2a430d431635aaf9b68748856b7f1e158fc87a780eac [Pipeline] // withDockerContainer [Pipeline] sh 23:48:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:48:32 Stashed 1 file(s) [Pipeline] echo 23:48:32 [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 23:48:32 provisioning config files... 23:48:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config6329205982746374506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:32 ---> docker-login.sh 23:48:32 nexus3.edgexfoundry.org:10001 23:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:32 Configure a credential helper to remove this warning. See 23:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:32 23:48:32 Login Succeeded 23:48:32 nexus3.edgexfoundry.org:10002 23:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:32 Configure a credential helper to remove this warning. See 23:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:32 23:48:32 Login Succeeded 23:48:32 nexus3.edgexfoundry.org:10003 23:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:33 Configure a credential helper to remove this warning. See 23:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:33 23:48:33 Login Succeeded 23:48:33 nexus3.edgexfoundry.org:10004 23:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:33 Configure a credential helper to remove this warning. See 23:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:33 23:48:33 Login Succeeded 23:48:33 docker.io 23:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:33 Configure a credential helper to remove this warning. See 23:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:33 23:48:33 Login Succeeded 23:48:33 ---> docker-login.sh ends [Pipeline] } 23:48:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:48:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:33 ========================================================= 23:48:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:48:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:33 + 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 . 23:48:33 Sending build context to Docker daemon 22.26MB 23:48:33 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:48:33 Step 2/13 : FROM ${BASE} AS builder 23:48:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:34 f56be85fc22e: Pulling fs layer 23:48:34 85791d961cd3: Pulling fs layer 23:48:34 d694b5ae8c79: Pulling fs layer 23:48:34 9f32a84ed3da: Pulling fs layer 23:48:34 4d19c01a9841: Pulling fs layer 23:48:34 9325e15d5711: Pulling fs layer 23:48:34 556b6ee489ea: Pulling fs layer 23:48:34 c5a4b2cf53e6: Pulling fs layer 23:48:34 9f32a84ed3da: Waiting 23:48:34 4d19c01a9841: Waiting 23:48:34 9325e15d5711: Waiting 23:48:34 556b6ee489ea: Waiting 23:48:34 c5a4b2cf53e6: Waiting 23:48:34 85791d961cd3: Download complete 23:48:34 9f32a84ed3da: Verifying Checksum 23:48:34 9f32a84ed3da: Download complete 23:48:34 4d19c01a9841: Verifying Checksum 23:48:34 4d19c01a9841: Download complete 23:48:34 f56be85fc22e: Verifying Checksum 23:48:34 f56be85fc22e: Download complete 23:48:34 9325e15d5711: Verifying Checksum 23:48:34 9325e15d5711: Download complete 23:48:34 f56be85fc22e: Pull complete 23:48:34 85791d961cd3: Pull complete 23:48:34 c5a4b2cf53e6: Verifying Checksum 23:48:34 c5a4b2cf53e6: Download complete 23:48:34 d694b5ae8c79: Verifying Checksum 23:48:34 d694b5ae8c79: Download complete 23:48:34 556b6ee489ea: Verifying Checksum 23:48:34 556b6ee489ea: Download complete 23:48:38 d694b5ae8c79: Pull complete 23:48:38 9f32a84ed3da: Pull complete 23:48:38 4d19c01a9841: Pull complete 23:48:38 9325e15d5711: Pull complete 23:48:40 556b6ee489ea: Pull complete 23:48:41 c5a4b2cf53e6: Pull complete 23:48:41 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:48:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:48:41 ---> c4be618373d6 23:48:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:48:46 ---> Running in 5317ffaa793f 23:48:46 Removing intermediate container 5317ffaa793f 23:48:46 ---> 9f1a580c82a8 23:48:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:46 ---> Running in 3c6b554613cb 23:48:46 Removing intermediate container 3c6b554613cb 23:48:46 ---> 739ed74394c3 23:48:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:48:47 ---> Running in fc617a325192 23:48:47 Removing intermediate container fc617a325192 23:48:47 ---> b2e51b349f73 23:48:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:48:47 ---> Running in 6c9213e8a557 23:48:47 Removing intermediate container 6c9213e8a557 23:48:47 ---> f820614ea254 23:48:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:48:47 ---> Running in ca06d3558357 23:48:47 Removing intermediate container ca06d3558357 23:48:47 ---> 2f3b7abebee8 23:48:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:47 ---> Running in 7545979dab96 23:48:47 Still waiting to schedule task 23:48:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:48:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:48:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:48:47 OK: 265 MiB in 53 packages 23:48:48 Removing intermediate container 7545979dab96 23:48:48 ---> 5d4abff8ffac 23:48:48 Step 9/13 : WORKDIR /device-onvif-camera 23:48:48 ---> Running in c56c31ce1562 23:48:48 Removing intermediate container c56c31ce1562 23:48:48 ---> 2575b5e1fb03 23:48:48 Step 10/13 : COPY go.mod vendor* ./ 23:48:48 ---> d6298bba100d 23:48:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:48 ---> Running in 2d73651d0f7c 23:49:35 Removing intermediate container 2d73651d0f7c 23:49:35 ---> a431bf5c987f 23:49:35 Step 12/13 : COPY . . 23:49:35 ---> 8607186c8e54 23:49:35 Step 13/13 : RUN ${MAKE} 23:49:35 ---> Running in e00910add676 23:49:35 noop 23:49:35 Removing intermediate container e00910add676 23:49:35 ---> 109f24bca9cc 23:49:35 Successfully built 109f24bca9cc 23:49:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:35 + docker inspect -f . ci-base-image-x86_64 23:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:35 prd-ubuntu20.04-docker-8c-8g-15475 does not seem to be running inside a container 23:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:35 $ docker top d0fbf753349ac5afdccef184257b570ec5c3f64ade654132851ab1abf88a815d -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:36 + go version 23:49:36 go version go1.20.2 linux/amd64 [Pipeline] } 23:49:36 $ docker stop --time=1 d0fbf753349ac5afdccef184257b570ec5c3f64ade654132851ab1abf88a815d 23:49:37 $ docker rm -f --volumes d0fbf753349ac5afdccef184257b570ec5c3f64ade654132851ab1abf88a815d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:38 + docker inspect -f . ci-base-image-x86_64 23:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:38 prd-ubuntu20.04-docker-8c-8g-15475 does not seem to be running inside a container 23:49:38 $ 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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:49:38 $ docker top b5a7a8897c41a3d3ee92d8319a6075841cab0f48a289094845e02dea2efd7eb1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] fileExists [Pipeline] sh 23:49:39 + make test 23:49:39 go test ./... -coverprofile=coverage.out ./... 23:49:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:49:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:49:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:49:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements 23:49:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.496s coverage: 86.5% of statements 23:50:04 go vet ./... 23:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:50:07 ./bin/test-attribution-txt.sh [Pipeline] echo 23:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:50:07 $ docker stop --time=1 b5a7a8897c41a3d3ee92d8319a6075841cab0f48a289094845e02dea2efd7eb1 23:50:10 $ docker rm -f --volumes b5a7a8897c41a3d3ee92d8319a6075841cab0f48a289094845e02dea2efd7eb1 [Pipeline] // withDockerContainer [Pipeline] sh 23:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:50:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:50:12 + ls -al . 23:50:12 total 232 23:50:12 drwxrwxr-x 10 jenkins jenkins 4096 May 15 23:49 . 23:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:48 .. 23:50:12 drwxrwxr-x 8 jenkins jenkins 4096 May 15 23:48 .git 23:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:48 .github 23:50:12 -rw-rw-r-- 1 jenkins jenkins 496 May 15 23:48 .gitignore 23:50:12 -rw-rw-r-- 1 jenkins jenkins 42 May 15 23:48 .golangci.yml 23:50:12 drwxr-xr-x 3 jenkins jenkins 4096 May 15 23:48 .semver 23:50:12 -rw-rw-r-- 1 jenkins jenkins 10087 May 15 23:48 Attribution.txt 23:50:12 -rw-rw-r-- 1 jenkins jenkins 6312 May 15 23:48 CHANGELOG.md 23:50:12 -rw-rw-r-- 1 jenkins jenkins 1574 May 15 23:48 Dockerfile 23:50:12 -rw-rw-r-- 1 jenkins jenkins 677 May 15 23:48 GOVERNANCE.md 23:50:12 -rw-rw-r-- 1 jenkins jenkins 739 May 15 23:48 Jenkinsfile 23:50:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 23:48 LICENSE 23:50:12 -rw-rw-r-- 1 jenkins jenkins 2751 May 15 23:48 Makefile 23:50:12 -rw-rw-r-- 1 jenkins jenkins 625 May 15 23:48 OWNERS.md 23:50:12 -rw-rw-r-- 1 jenkins jenkins 2690 May 15 23:48 README.md 23:50:12 -rw-rw-r-- 1 jenkins jenkins 5 May 15 23:48 VERSION 23:50:12 drwxrwxr-x 2 jenkins jenkins 4096 May 15 23:48 bin 23:50:12 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:48 cmd 23:50:12 -rw-r--r-- 1 jenkins jenkins 78459 May 15 23:49 coverage.out 23:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:48 doc 23:50:12 -rw-rw-r-- 1 jenkins jenkins 3642 May 15 23:48 go.mod 23:50:12 -rw-rw-r-- 1 jenkins jenkins 33491 May 15 23:48 go.sum 23:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:48 internal 23:50:12 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:48 snap 23:50:12 -rw-rw-r-- 1 jenkins jenkins 236 May 15 23:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:12 + 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=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a --label arch=amd64 --label version=0.0.0 . 23:50:12 Sending build context to Docker daemon 22.34MB 23:50:12 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:50:12 Step 2/26 : FROM ${BASE} AS builder 23:50:12 ---> 109f24bca9cc 23:50:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:50:12 ---> Running in 0248f4d51223 23:50:12 Removing intermediate container 0248f4d51223 23:50:12 ---> c34b181f26d5 23:50:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:50:12 ---> Running in e5b91d8d429e 23:50:12 Removing intermediate container e5b91d8d429e 23:50:12 ---> 56735407b820 23:50:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:50:12 ---> Running in 79e8d06ab22d 23:50:13 Removing intermediate container 79e8d06ab22d 23:50:13 ---> b082a7e991cb 23:50:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:50:13 ---> Running in f2a3690cd2fa 23:50:13 Removing intermediate container f2a3690cd2fa 23:50:13 ---> 6355c416579d 23:50:13 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:50:13 ---> Running in 35dceeb15d83 23:50:13 Removing intermediate container 35dceeb15d83 23:50:13 ---> 447f461f50ec 23:50:13 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:50:13 ---> Running in 4efe722bc1cd 23:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:50:13 OK: 265 MiB in 53 packages 23:50:14 Removing intermediate container 4efe722bc1cd 23:50:14 ---> 7894db24e3d5 23:50:14 Step 9/26 : WORKDIR /device-onvif-camera 23:50:14 ---> Running in a97c81c279ee 23:50:14 Removing intermediate container a97c81c279ee 23:50:14 ---> e80bb966eecd 23:50:14 Step 10/26 : COPY go.mod vendor* ./ 23:50:14 ---> 34c8bf9fb9ac 23:50:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:50:14 ---> Running in c89a682e7f92 23:50:15 Removing intermediate container c89a682e7f92 23:50:15 ---> 93a1ffbb8444 23:50:15 Step 12/26 : COPY . . 23:50:15 ---> ce622ba24709 23:50:15 Step 13/26 : RUN ${MAKE} 23:50:16 ---> Running in 3a6de552df22 23:50:16 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 23:50:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15476 in /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] { [Pipeline] ws 23:50:20 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 23:50:20 The recommended git tool is: git 23:50:26 using credential edgex-jenkins-ssh 23:50:26 Cloning the remote Git repository 23:50:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:50:26 > git init /w/workspace/device-onvif-camera/4 # timeout=10 23:50:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:50:26 > git --version # timeout=10 23:50:26 > git --version # 'git version 2.25.1' 23:50:26 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:50:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:50:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:50:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:50:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:50:29 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a 23:50:30 Merge succeeded, producing a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a 23:50:30 Checking out Revision a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a (PR-361) 23:50:29 > git config core.sparsecheckout # timeout=10 23:50:29 > git checkout -f a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a # timeout=10 23:50:30 > git remote # timeout=10 23:50:30 > git config --get remote.origin.url # timeout=10 23:50:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:50:30 > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 23:50:30 > git rev-parse HEAD^{commit} # timeout=10 23:50:30 > git config core.sparsecheckout # timeout=10 23:50:30 > git checkout -f a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a # timeout=10 23:50:33 Commit message: "docs(openapi): add logic to auto-generate deviceCommands get schemas" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:50:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:50:34 % Total % Received % Xferd Average Speed Time Time Time Current 23:50:34 Dload Upload Total Spent Left Speed 23:50:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 23:50:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:50:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:50:35 + sudo tee /etc/docker/daemon.new 23:50:35 { 23:50:35 "registry-mirrors": [ 23:50:35 "https://nexus3.edgexfoundry.org:10001" 23:50:35 ], 23:50:35 "bip": "10.250.0.254/24", 23:50:35 "hosts": [ 23:50:35 "tcp://0.0.0.0:5555", 23:50:35 "unix:///var/run/docker.sock" 23:50:35 ], 23:50:35 "mtu": 1458, 23:50:35 "selinux-enabled": true, 23:50:35 "seccomp-profile": "/etc/docker/seccomp.json" 23:50:35 } [Pipeline] sh 23:50:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:50:36 + sudo service docker restart 23:50:38 Removing intermediate container 3a6de552df22 23:50:38 ---> 24aaf7723235 23:50:38 Step 14/26 : FROM alpine:3.17 23:50:38 3.17: Pulling from library/alpine 23:50:38 f56be85fc22e: Already exists 23:50:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:50:38 Status: Downloaded newer image for alpine:3.17 23:50:38 ---> 9ed4aefc74f6 23:50:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:50:38 ---> Running in 661fa2f58e9b 23:50:38 Removing intermediate container 661fa2f58e9b 23:50:38 ---> 3fe65a5da8f0 23:50:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:50:38 ---> Running in b705a1187757 23:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:50:38 (1/1) Installing dumb-init (1.2.5-r2) 23:50:38 Executing busybox-1.35.0-r29.trigger 23:50:38 OK: 7 MiB in 16 packages 23:50:38 Removing intermediate container b705a1187757 23:50:38 ---> 94339d3a94a3 23:50:38 Step 17/26 : WORKDIR / 23:50:38 ---> Running in 36368b029bf9 23:50:38 Removing intermediate container 36368b029bf9 23:50:38 ---> b084656a8122 23:50:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:50:38 ---> e063136f1a37 23:50:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:50:38 ---> c212e1a2e874 23:50:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:50:38 ---> eac2e7779dde 23:50:38 Step 21/26 : EXPOSE 59984 23:50:38 ---> Running in baa03d786394 23:50:38 Removing intermediate container baa03d786394 23:50:38 ---> 471f701b4fe7 23:50:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:50:38 ---> Running in bd13152ae6f2 23:50:38 Removing intermediate container bd13152ae6f2 23:50:38 ---> 7b4165d565b4 23:50:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:50:38 ---> Running in c5172a7415ab 23:50:38 Removing intermediate container c5172a7415ab 23:50:38 ---> 0b6f90241147 23:50:38 Step 24/26 : LABEL arch=amd64 23:50:38 ---> Running in bd9ef0ed3b38 23:50:38 Removing intermediate container bd9ef0ed3b38 23:50:38 ---> 9e4df874e06e 23:50:38 Step 25/26 : LABEL git_sha=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a 23:50:38 ---> Running in 79c00793f892 23:50:38 Removing intermediate container 79c00793f892 23:50:38 ---> e91203767bf4 23:50:38 Step 26/26 : LABEL version=0.0.0 23:50:38 ---> Running in 292ee1ca5565 23:50:38 Removing intermediate container 292ee1ca5565 23:50:38 ---> 34db52ccf9b8 23:50:38 [Warning] One or more build-args [ARCH] were not consumed 23:50:38 Successfully built 34db52ccf9b8 23:50:38 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 23:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:38 23:50:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:39 latest: Pulling from edgex-lftools-log-publisher 23:50:39 5eb5b503b376: Pulling fs layer 23:50:39 5c69ac0246d0: Pulling fs layer 23:50:39 ec43610c2a17: Pulling fs layer 23:50:39 3a2ae6a8a46f: Pulling fs layer 23:50:39 33b1e0a273af: Pulling fs layer 23:50:39 5d3b04190fa2: Pulling fs layer 23:50:39 2f39f015ded8: Pulling fs layer 23:50:39 3a2ae6a8a46f: Waiting 23:50:39 33b1e0a273af: Waiting 23:50:39 5d3b04190fa2: Waiting 23:50:39 5c69ac0246d0: Download complete 23:50:39 3a2ae6a8a46f: Verifying Checksum 23:50:39 3a2ae6a8a46f: Download complete 23:50:39 33b1e0a273af: Verifying Checksum 23:50:39 33b1e0a273af: Download complete 23:50:39 5d3b04190fa2: Verifying Checksum 23:50:39 ec43610c2a17: Verifying Checksum 23:50:39 ec43610c2a17: Download complete 23:50:39 5eb5b503b376: Verifying Checksum 23:50:39 5eb5b503b376: Download complete 23:50:40 2f39f015ded8: Download complete 23:50:40 5eb5b503b376: Pull complete 23:50:40 5c69ac0246d0: Pull complete 23:50:40 ec43610c2a17: Pull complete 23:50:40 3a2ae6a8a46f: Pull complete 23:50:41 33b1e0a273af: Pull complete 23:50:41 5d3b04190fa2: Pull complete 23:50:45 2f39f015ded8: Pull complete 23:50:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:45 prd-ubuntu20.04-docker-8c-8g-15475 does not seem to be running inside a container 23:50: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/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:48 $ docker top 7a1a199cb5ef8db73de4b6235e2afdf9d4cd084c497d7cfc0662a3d0fa41f17e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:49 ---> job-cost.sh 23:50:49 lf-activate-venv: SKIPPING 23:50:49 INFO: No Stack... 23:50:49 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:50 INFO: Archiving Costs [Pipeline] sh 23:50:50 + cat /w/workspace/undry_device-onvif-camera_PR-361/archives/cost.csv 23:50:50 + cut -d, -f6 [Pipeline] lock 23:50:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] 23:50:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] did not exist. Created. 23:50:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:50 + echo total: 0.2199999988079071 [Pipeline] stash 23:50:50 Stashed 1 file(s) [Pipeline] } 23:50:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:50 $ docker stop --time=1 7a1a199cb5ef8db73de4b6235e2afdf9d4cd084c497d7cfc0662a3d0fa41f17e 23:50:51 $ docker rm -f --volumes 7a1a199cb5ef8db73de4b6235e2afdf9d4cd084c497d7cfc0662a3d0fa41f17e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:54 provisioning config files... 23:50:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config14474230812336112865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:55 ---> docker-login.sh 23:50:55 nexus3.edgexfoundry.org:10001 23:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:55 Configure a credential helper to remove this warning. See 23:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:55 23:50:55 Login Succeeded 23:50:55 nexus3.edgexfoundry.org:10002 23:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:56 Configure a credential helper to remove this warning. See 23:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:56 23:50:56 Login Succeeded 23:50:56 nexus3.edgexfoundry.org:10003 23:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:56 Configure a credential helper to remove this warning. See 23:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:56 23:50:56 Login Succeeded 23:50:56 nexus3.edgexfoundry.org:10004 23:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:56 Configure a credential helper to remove this warning. See 23:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:56 23:50:56 Login Succeeded 23:50:56 docker.io 23:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:57 Configure a credential helper to remove this warning. See 23:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:57 23:50:57 Login Succeeded 23:50:57 ---> docker-login.sh ends [Pipeline] } 23:50:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:50:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:50:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:50:57 ========================================================= 23:50:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:50:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:58 + 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 . 23:50:58 Sending build context to Docker daemon 14.75MB 23:50:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:50:58 Step 2/13 : FROM ${BASE} AS builder 23:50:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:50:58 c41833b44d91: Pulling fs layer 23:50:58 ed15518f5707: Pulling fs layer 23:50:58 feae8fd75edb: Pulling fs layer 23:50:58 242c74f7c9fa: Pulling fs layer 23:50:58 3cdef696dda3: Pulling fs layer 23:50:58 2ced38df9373: Pulling fs layer 23:50:58 58f1dce35555: Pulling fs layer 23:50:58 242c74f7c9fa: Waiting 23:50:58 3cdef696dda3: Waiting 23:50:58 2ced38df9373: Waiting 23:50:58 58f1dce35555: Waiting 23:50:58 ed15518f5707: Download complete 23:50:58 242c74f7c9fa: Verifying Checksum 23:50:58 242c74f7c9fa: Download complete 23:50:58 3cdef696dda3: Verifying Checksum 23:50:58 3cdef696dda3: Download complete 23:50:58 c41833b44d91: Verifying Checksum 23:50:58 c41833b44d91: Download complete 23:50:59 c41833b44d91: Pull complete 23:51:00 58f1dce35555: Verifying Checksum 23:51:00 58f1dce35555: Download complete 23:51:00 ed15518f5707: Pull complete 23:51:01 feae8fd75edb: Verifying Checksum 23:51:01 feae8fd75edb: Download complete 23:51:01 2ced38df9373: Verifying Checksum 23:51:01 2ced38df9373: Download complete 23:51:13 feae8fd75edb: Pull complete 23:51:13 242c74f7c9fa: Pull complete 23:51:13 3cdef696dda3: Pull complete 23:51:20 2ced38df9373: Pull complete 23:51:21 58f1dce35555: Pull complete 23:51:21 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:51:22 ---> fadd8f120f05 23:51:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:51:24 ---> Running in 0981141891f1 23:51:24 Removing intermediate container 0981141891f1 23:51:24 ---> cb39c965d341 23:51:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:51:24 ---> Running in 31b13cd30cb7 23:51:24 Removing intermediate container 31b13cd30cb7 23:51:24 ---> 3fdb7b6c8bc4 23:51:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:51:24 ---> Running in 36ce82278763 23:51:24 Removing intermediate container 36ce82278763 23:51:24 ---> 1848540ee81c 23:51:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:51:24 ---> Running in 327483e48af5 23:51:25 Removing intermediate container 327483e48af5 23:51:25 ---> a5e6d6f44b24 23:51:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:51:25 ---> Running in fb99883b4350 23:51:25 Removing intermediate container fb99883b4350 23:51:25 ---> 9b5f70b9976f 23:51:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:51:25 ---> Running in a319d02c51b6 23:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:51:28 OK: 263 MiB in 53 packages 23:51:29 Removing intermediate container a319d02c51b6 23:51:29 ---> e942fe6ff05f 23:51:29 Step 9/13 : WORKDIR /device-onvif-camera 23:51:29 ---> Running in 2cad83266da8 23:51:29 Removing intermediate container 2cad83266da8 23:51:29 ---> cc8a727ac217 23:51:29 Step 10/13 : COPY go.mod vendor* ./ 23:51:33 ---> a69ced9eabf5 23:51:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:33 ---> Running in 3771b4fd7b10 23:52:40 Removing intermediate container 3771b4fd7b10 23:52:40 ---> 5f3bab2348b9 23:52:40 Step 12/13 : COPY . . 23:52:40 ---> e6e5ab89fd30 23:52:40 Step 13/13 : RUN ${MAKE} 23:52:40 ---> Running in a1c749d4146f 23:52:40 noop 23:52:40 Removing intermediate container a1c749d4146f 23:52:40 ---> fd53d8386490 23:52:40 Successfully built fd53d8386490 23:52:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:41 + docker inspect -f . ci-base-image-arm64 23:52:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:41 prd-ubuntu20.04-docker-arm64-4c-16g-15476 does not seem to be running inside a container 23:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:52:42 $ docker top 990ddb741a9c431db67d2776fcefe989666f5253d79a843c6a62e52227a94980 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:43 + go version 23:52:43 go version go1.20.2 linux/arm64 [Pipeline] } 23:52:43 $ docker stop --time=1 990ddb741a9c431db67d2776fcefe989666f5253d79a843c6a62e52227a94980 23:52:45 $ docker rm -f --volumes 990ddb741a9c431db67d2776fcefe989666f5253d79a843c6a62e52227a94980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:45 + docker inspect -f . ci-base-image-arm64 23:52:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-15476 does not seem to be running inside a container 23:52:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:52:47 $ docker top 3921e3c566cdd436d49db08db3558a201b9df347f1a336b9330e204a13409462 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 23:52:48 + make test 23:52:48 go test ./... -coverprofile=coverage.out ./... 23:53:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:55:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:55:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:55:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.228s coverage: 31.4% of statements 23:56:02 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.464s coverage: 86.5% of statements 23:56:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:56:02 go vet ./... 23:56:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:41 ./bin/test-attribution-txt.sh [Pipeline] echo 23:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:56:41 $ docker stop --time=1 3921e3c566cdd436d49db08db3558a201b9df347f1a336b9330e204a13409462 23:56:43 $ docker rm -f --volumes 3921e3c566cdd436d49db08db3558a201b9df347f1a336b9330e204a13409462 [Pipeline] // withDockerContainer [Pipeline] sh 23:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:44 Warning: overwriting stash ‘coverage-report’ 23:56:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:46 + ls -al . 23:56:46 total 228 23:56:46 drwxrwxr-x 9 jenkins jenkins 4096 May 15 23:52 . 23:56:46 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:50 .. 23:56:46 drwxrwxr-x 8 jenkins jenkins 4096 May 15 23:50 .git 23:56:46 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:50 .github 23:56:46 -rw-rw-r-- 1 jenkins jenkins 496 May 15 23:50 .gitignore 23:56:46 -rw-rw-r-- 1 jenkins jenkins 42 May 15 23:50 .golangci.yml 23:56:46 -rw-rw-r-- 1 jenkins jenkins 10087 May 15 23:50 Attribution.txt 23:56:46 -rw-rw-r-- 1 jenkins jenkins 6312 May 15 23:50 CHANGELOG.md 23:56:46 -rw-rw-r-- 1 jenkins jenkins 1574 May 15 23:50 Dockerfile 23:56:46 -rw-rw-r-- 1 jenkins jenkins 677 May 15 23:50 GOVERNANCE.md 23:56:46 -rw-rw-r-- 1 jenkins jenkins 739 May 15 23:50 Jenkinsfile 23:56:46 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 23:50 LICENSE 23:56:46 -rw-rw-r-- 1 jenkins jenkins 2751 May 15 23:50 Makefile 23:56:46 -rw-rw-r-- 1 jenkins jenkins 625 May 15 23:50 OWNERS.md 23:56:46 -rw-rw-r-- 1 jenkins jenkins 2690 May 15 23:50 README.md 23:56:46 -rw-rw-r-- 1 jenkins jenkins 5 May 15 23:48 VERSION 23:56:46 drwxrwxr-x 2 jenkins jenkins 4096 May 15 23:50 bin 23:56:46 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:50 cmd 23:56:46 -rw-r--r-- 1 jenkins jenkins 78459 May 15 23:56 coverage.out 23:56:46 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:50 doc 23:56:46 -rw-rw-r-- 1 jenkins jenkins 3642 May 15 23:50 go.mod 23:56:46 -rw-rw-r-- 1 jenkins jenkins 33491 May 15 23:50 go.sum 23:56:46 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:50 internal 23:56:46 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:50 snap 23:56:46 -rw-rw-r-- 1 jenkins jenkins 236 May 15 23:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:46 + 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=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a --label arch=arm64 --label version=0.0.0 . 23:56:47 Sending build context to Docker daemon 14.83MB 23:56:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:56:47 Step 2/26 : FROM ${BASE} AS builder 23:56:47 ---> fd53d8386490 23:56:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:56:47 ---> Running in a5ce3e055efd 23:56:47 Removing intermediate container a5ce3e055efd 23:56:47 ---> d0b57a39c2df 23:56:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:56:47 ---> Running in 4de732d3606c 23:56:48 Removing intermediate container 4de732d3606c 23:56:48 ---> c0096785b46e 23:56:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:56:48 ---> Running in c40869e48919 23:56:48 Removing intermediate container c40869e48919 23:56:48 ---> 044f396d21f5 23:56:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:56:48 ---> Running in 60a459b6117e 23:56:48 Removing intermediate container 60a459b6117e 23:56:48 ---> 90f8faa515b6 23:56:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:56:48 ---> Running in 3c91440e836f 23:56:49 Removing intermediate container 3c91440e836f 23:56:49 ---> 78bffc00493c 23:56:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:49 ---> Running in 8a37b6dcb233 23:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:56:52 OK: 263 MiB in 53 packages 23:56:53 Removing intermediate container 8a37b6dcb233 23:56:53 ---> 838d0fb10af1 23:56:53 Step 9/26 : WORKDIR /device-onvif-camera 23:56:53 ---> Running in ee7af39e9373 23:56:53 Removing intermediate container ee7af39e9373 23:56:53 ---> aa8dfc6ab255 23:56:53 Step 10/26 : COPY go.mod vendor* ./ 23:56:54 ---> 695d7837e16c 23:56:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:54 ---> Running in 21d0c3431af1 23:56:56 Removing intermediate container 21d0c3431af1 23:56:56 ---> 00a42396aef8 23:56:56 Step 12/26 : COPY . . 23:57:00 ---> dd5d057d7efc 23:57:00 Step 13/26 : RUN ${MAKE} 23:57:00 ---> Running in 484f111c4f71 23:57:01 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 23:59:38 Removing intermediate container 484f111c4f71 23:59:38 ---> bf23f5100350 23:59:38 Step 14/26 : FROM alpine:3.17 23:59:38 3.17: Pulling from library/alpine 23:59:38 c41833b44d91: Already exists 23:59:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:59:38 Status: Downloaded newer image for alpine:3.17 23:59:38 ---> 51e60588ff2c 23:59:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:59:38 ---> Running in a373e76c6807 23:59:38 Removing intermediate container a373e76c6807 23:59:38 ---> 01f26981e709 23:59:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:59:38 ---> Running in 434ee6d1de81 23:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:59:38 (1/1) Installing dumb-init (1.2.5-r2) 23:59:38 Executing busybox-1.35.0-r29.trigger 23:59:38 OK: 8 MiB in 16 packages 23:59:38 Removing intermediate container 434ee6d1de81 23:59:38 ---> 5e4b14944f33 23:59:38 Step 17/26 : WORKDIR / 23:59:38 ---> Running in b457a018fe65 23:59:38 Removing intermediate container b457a018fe65 23:59:38 ---> 2c7400de68ba 23:59:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:59:38 ---> 507cb246d656 23:59:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:59:38 ---> 1e7eebe4b384 23:59:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:59:38 ---> 7ac7e3909e4f 23:59:38 Step 21/26 : EXPOSE 59984 23:59:38 ---> Running in 9905f74977a6 23:59:38 Removing intermediate container 9905f74977a6 23:59:38 ---> ee44559a8a01 23:59:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:59:38 ---> Running in f374f8649f7d 23:59:38 Removing intermediate container f374f8649f7d 23:59:38 ---> e3206f3fe5ba 23:59:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:59:38 ---> Running in c5b870c81d7f 23:59:38 Removing intermediate container c5b870c81d7f 23:59:38 ---> ea6b0cc5551b 23:59:38 Step 24/26 : LABEL arch=arm64 23:59:38 ---> Running in 33a5f995a391 23:59:38 Removing intermediate container 33a5f995a391 23:59:38 ---> fde1dd0e5042 23:59:38 Step 25/26 : LABEL git_sha=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a 23:59:38 ---> Running in 0c2614eb3f4c 23:59:39 Removing intermediate container 0c2614eb3f4c 23:59:39 ---> 51284f646266 23:59:39 Step 26/26 : LABEL version=0.0.0 23:59:39 ---> Running in 889160e03b6d 23:59:39 Removing intermediate container 889160e03b6d 23:59:39 ---> 7ec62ffdd445 23:59:39 [Warning] One or more build-args [ARCH] were not consumed 23:59:39 Successfully built 7ec62ffdd445 23:59:39 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 23:59:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:59:40 23:59:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:59:40 arm64: Pulling from edgex-lftools-log-publisher 23:59:40 8998bd30e6a1: Pulling fs layer 23:59:40 04944245beec: Pulling fs layer 23:59:40 699f458cf7ca: Pulling fs layer 23:59:40 765212b225bb: Pulling fs layer 23:59:40 f23df028b6ca: Pulling fs layer 23:59:40 d65c8cfc05b1: Pulling fs layer 23:59:40 2437ff75d9bd: Pulling fs layer 23:59:40 f23df028b6ca: Waiting 23:59:40 d65c8cfc05b1: Waiting 23:59:40 2437ff75d9bd: Waiting 23:59:40 765212b225bb: Waiting 23:59:40 04944245beec: Verifying Checksum 23:59:40 04944245beec: Download complete 23:59:40 765212b225bb: Download complete 23:59:40 f23df028b6ca: Verifying Checksum 23:59:40 f23df028b6ca: Download complete 23:59:40 d65c8cfc05b1: Verifying Checksum 23:59:40 d65c8cfc05b1: Download complete 23:59:40 699f458cf7ca: Verifying Checksum 23:59:40 699f458cf7ca: Download complete 23:59:41 8998bd30e6a1: Verifying Checksum 23:59:41 8998bd30e6a1: Download complete 23:59:43 2437ff75d9bd: Verifying Checksum 23:59:43 2437ff75d9bd: Download complete 23:59:45 8998bd30e6a1: Pull complete 23:59:45 04944245beec: Pull complete 23:59:47 699f458cf7ca: Pull complete 23:59:47 765212b225bb: Pull complete 23:59:48 f23df028b6ca: Pull complete 23:59:48 d65c8cfc05b1: Pull complete 00:00:03 2437ff75d9bd: Pull complete 00:00:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:00:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:03 prd-ubuntu20.04-docker-arm64-4c-16g-15476 does not seem to be running inside a container 00:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:00:06 $ docker top 918bf7ad18b269a5e7791981baf2a5df324f53739d1b4f32bf60bebfe19842b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:07 ---> job-cost.sh 00:00:07 lf-activate-venv: SKIPPING 00:00:07 INFO: No Stack... 00:00:07 INFO: Retrieving Pricing Info for: v3-standard-4 00:00:08 INFO: Archiving Costs [Pipeline] sh 00:00:09 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 00:00:09 + cut -d, -f6 [Pipeline] lock 00:00:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] 00:00:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] did not exist. Created. 00:00:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:00:09 /w/workspace/device-onvif-camera/4@tmp/durable-f57ff9e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:00:10 + echo total: 0.10999999940395355 [Pipeline] stash 00:00:10 Warning: overwriting stash ‘stack-cost’ 00:00:10 Stashed 1 file(s) [Pipeline] } 00:00:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:00:10 $ docker stop --time=1 918bf7ad18b269a5e7791981baf2a5df324f53739d1b4f32bf60bebfe19842b8 00:00:12 $ docker rm -f --volumes 918bf7ad18b269a5e7791981baf2a5df324f53739d1b4f32bf60bebfe19842b8 [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 00:00:12 provisioning config files... 00:00:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config2374765430850465133tmp [Pipeline] { [Pipeline] sh 00:00:12 + set +x 00:00:12 + curl -s https://codecov.io/bash 00:00:12 + bash -s -- 00:00:12 00:00:12 _____ _ 00:00:12 / ____| | | 00:00:12 | | ___ __| | ___ ___ _____ __ 00:00:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:00:12 | |___| (_) | (_| | __/ (_| (_) \ V / 00:00:12 \_____\___/ \__,_|\___|\___\___/ \_/ 00:00:12 Bash-1.0.6 00:00:12 00:00:12 00:00:12 ==> git version 2.25.1 found 00:00:12 ==> 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 00:00:12 Release-Date: 2020-01-08 00:00:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:00:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:00:12 ==> Jenkins CI detected. 00:00:12 current dir:  /w/workspace/undry_device-onvif-camera_PR-361 00:00:12 project root: . 00:00:12 --> token set from env 00:00:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:00:12 ==> Running gcov in . (disable via -X gcov) 00:00:12 ==> Python coveragepy not found 00:00:12 ==> Searching for coverage reports in: 00:00:12 + . 00:00:12 -> Found 1 reports 00:00:12 ==> Detecting git/mercurial file structure 00:00:13 ==> Reading reports 00:00:13 + ./coverage.out bytes=78459 00:00:13 ==> Appending adjustments 00:00:13 https://docs.codecov.io/docs/fixing-reports 00:00:13 + Found adjustments 00:00:13 ==> Gzipping contents 00:00:13 12K /tmp/codecov.TOBYYy.gz 00:00:13 ==> Uploading reports 00:00:13 url: https://codecov.io 00:00:13 query: branch=PR-361&commit=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 00:00:13 -> Pinging Codecov 00:00:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-361&commit=a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 00:00:13 -> Uploading to 00:00:13 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/F29A59C45E3A92E06B3E522C9905F8EF/a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a/88319491-5176-4b8f-ac0f-e5718e566301.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T000013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6271d68611ebc523a0ec6dbcef80d5dc771df4b90a9e8cc22a94ddd80747c18a 00:00:13 % Total % Received % Xferd Average Speed Time Time Time Current 00:00:13 Dload Upload Total Spent Left Speed 00:00:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 48649 --:--:-- --:--:-- --:--:-- 48649 00:00:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a9f8de84666a7ecebfd5f4087ffb5c5734aaad7a [Pipeline] } 00:00:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:00:14 + [ -d /w/workspace/undry_device-onvif-camera_PR-361/archives ] 00:00:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 00:00:14 total 16 00:00:14 drwxr-xr-x 3 root root 4096 May 15 23:50 . 00:00:14 drwxrwxr-x 11 jenkins jenkins 4096 May 15 23:50 .. 00:00:14 drwxr-xr-x 2 root root 4096 May 15 23:50 cost 00:00:14 -rw-r--r-- 1 root root 91 May 15 23:50 cost.csv 00:00:14 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-361/archives 00:00:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 00:00:14 total 16 00:00:14 drwxr-xr-x 3 jenkins jenkins 4096 May 15 23:50 . 00:00:14 drwxrwxr-x 11 jenkins jenkins 4096 May 15 23:50 .. 00:00:14 drwxr-xr-x 2 jenkins jenkins 4096 May 15 23:50 cost 00:00:14 -rw-r--r-- 1 jenkins jenkins 91 May 15 23:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:00:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:00:15 ---> package-listing.sh 00:00:15 ++ facter osfamily 00:00:15 ++ tr '[:upper:]' '[:lower:]' 00:00:15 + OS_FAMILY=debian 00:00:15 + workspace=/w/workspace/undry_device-onvif-camera_PR-361 00:00:15 + START_PACKAGES=/tmp/packages_start.txt 00:00:15 + END_PACKAGES=/tmp/packages_end.txt 00:00:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:00:15 + PACKAGES=/tmp/packages_start.txt 00:00:15 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 00:00:15 + PACKAGES=/tmp/packages_end.txt 00:00:15 + case "${OS_FAMILY}" in 00:00:15 + dpkg -l 00:00:15 + grep '^ii' 00:00:15 + '[' -f /tmp/packages_start.txt ']' 00:00:15 + '[' -f /tmp/packages_end.txt ']' 00:00:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:00:15 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 00:00:15 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-361/archives/ 00:00:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-361/archives/ [Pipeline] echo 00:00:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:00:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:16 prd-ubuntu20.04-docker-8c-8g-15475 does not seem to be running inside a container 00:00:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-361/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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:00:16 $ docker top 376502b236fb3819025e4733107c3779fee120a975752812184650f364f99ace -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:17 + touch /tmp/pre-build-complete [Pipeline] sh 00:00:17 + mkdir -p /var/log/sysstat [Pipeline] sh 00:00:17 + ls /var/log/sa-host 00:00:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:17 provisioning config files... 00:00:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config1641483085548466376tmp [Pipeline] { [Pipeline] echo 00:00:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:00:18 ---> create-netrc.sh [Pipeline] } 00:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:00:18 ---> python-tools-install.sh [Pipeline] echo 00:00:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:00:18 ---> sudo-logs.sh 00:00:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:00:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:00:19 ---> job-cost.sh 00:00:19 lf-activate-venv: SKIPPING 00:00:19 DEBUG: total: 0.2199999988079071 00:00:19 INFO: Retrieving Stack Cost... 00:00:19 INFO: Retrieving Pricing Info for: v3-standard-8 00:00:19 INFO: Archiving Costs [Pipeline] echo 00:00:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:00:20 ---> logs-deploy.sh 00:00:20 lf-activate-venv: SKIPPING 00:00:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-361/4 00:00:20 INFO: archiving workspace using pattern(s): 00:00:21 Archives upload complete. 00:00:21 INFO: archiving logs to Nexus