Branch indexing 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 0803938d3e117362d3c6c6e4e1a4697135dfbf5d rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 0803938d3e117362d3c6c6e4e1a4697135dfbf5d 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-ssh4980734951420263252.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9098692036200942623.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10262956240509043424.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12637342352194556164.key Verifying host key using known hosts file > 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16382173290152114176.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2065 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing aab599c2ed6b74349a3654c1c3a104500bd14e1b Checking out Revision aab599c2ed6b74349a3654c1c3a104500bd14e1b (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aab599c2ed6b74349a3654c1c3a104500bd14e1b # timeout=10 Commit message: "Merge commit '0803938d3e117362d3c6c6e4e1a4697135dfbf5d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 573ca4e271e1448bcaa17f6470590961d41d35ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T02:12:25.987Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-29T02:12:26.039Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-29T02:12:26.057Z] ========================================================= [2022-09-29T02:12:26.057Z] EdgeX Global Pipelines Version Info [2022-09-29T02:12:26.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:12:26.756Z] ------------------- [2022-09-29T02:12:26.756Z] stable info: [2022-09-29T02:12:26.756Z] ------------------- [2022-09-29T02:12:26.756Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-29T02:12:26.756Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T02:12:26.756Z] Message: update stable to v1.0.239 [2022-09-29T02:12:27.325Z] ------------------- [2022-09-29T02:12:27.325Z] experimental info: [2022-09-29T02:12:27.325Z] ------------------- [2022-09-29T02:12:27.325Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-29T02:12:27.325Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T02:12:27.325Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-29T02:12:27.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-29T02:12:27.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-29T02:12:27.486Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-29T02:12:27.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-29T02:12:27.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-29T02:12:27.523Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-29T02:12:27.534Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-29T02:12:27.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-29T02:12:27.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-29T02:12:27.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-29T02:12:27.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-29T02:12:27.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-29T02:12:27.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-29T02:12:27.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-29T02:12:27.627Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-29T02:12:27.640Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-29T02:12:27.653Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-29T02:12:27.663Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-29T02:12:27.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-29T02:12:27.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-29T02:12:27.699Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-29T02:12:27.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-29T02:12:27.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-29T02:12:27.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-29T02:12:27.745Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-29T02:12:27.759Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-29T02:12:27.777Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-29T02:12:27.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-09-29T02:12:27.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-09-29T02:12:27.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-09-29T02:12:27.834Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aab599c2ed6b74349a3654c1c3a104500bd14e1b [Pipeline] echo [2022-09-29T02:12:27.848Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aab599c [Pipeline] echo [2022-09-29T02:12:27.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T02:12:27.898Z] provisioning config files... [2022-09-29T02:12:27.916Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1030717366212467864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:12:28.221Z] ---> docker-login.sh [2022-09-29T02:12:28.221Z] nexus3.edgexfoundry.org:10001 [2022-09-29T02:12:28.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:28.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:28.741Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:28.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:28.741Z] [2022-09-29T02:12:28.741Z] Login Succeeded [2022-09-29T02:12:28.741Z] nexus3.edgexfoundry.org:10002 [2022-09-29T02:12:28.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:28.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:28.741Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:28.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:28.741Z] [2022-09-29T02:12:28.741Z] Login Succeeded [2022-09-29T02:12:28.741Z] nexus3.edgexfoundry.org:10003 [2022-09-29T02:12:29.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:29.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:29.000Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:29.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:29.000Z] [2022-09-29T02:12:29.000Z] Login Succeeded [2022-09-29T02:12:29.000Z] nexus3.edgexfoundry.org:10004 [2022-09-29T02:12:29.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:29.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:29.000Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:29.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:29.000Z] [2022-09-29T02:12:29.000Z] Login Succeeded [2022-09-29T02:12:29.000Z] docker.io [2022-09-29T02:12:29.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:29.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:29.571Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:29.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:29.571Z] [2022-09-29T02:12:29.571Z] Login Succeeded [2022-09-29T02:12:29.571Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T02:12:29.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-29T02:12:29.946Z] + git rev-list -1 --merges aab599c2ed6b74349a3654c1c3a104500bd14e1b~1..aab599c2ed6b74349a3654c1c3a104500bd14e1b [Pipeline] echo [2022-09-29T02:12:29.976Z] -----------> git rev-list -1 --merges aab599c2ed6b74349a3654c1c3a104500bd14e1b~1..aab599c2ed6b74349a3654c1c3a104500bd14e1b aab599c2ed6b74349a3654c1c3a104500bd14e1b [2022-09-29T02:12:29.976Z] aab599c2ed6b74349a3654c1c3a104500bd14e1b [false] [Pipeline] sh [2022-09-29T02:12:30.270Z] + git log --format=format:%s -1 aab599c2ed6b74349a3654c1c3a104500bd14e1b [Pipeline] echo [2022-09-29T02:12:30.284Z] ========================================================= [2022-09-29T02:12:30.284Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-29T02:12:30.284Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T02:12:30.598Z] + git log --format=format:%s -1 aab599c2ed6b74349a3654c1c3a104500bd14e1b [Pipeline] echo [2022-09-29T02:12:30.610Z] [semverPrep] GIT_COMMIT: aab599c2ed6b74349a3654c1c3a104500bd14e1b, Commit Message: Merge commit '0803938d3e117362d3c6c6e4e1a4697135dfbf5d' into HEAD [Pipeline] echo [2022-09-29T02:12:30.620Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-29T02:12:30.970Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-29T02:12:30.970Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-29T02:12:30.970Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-29T02:12:30.970Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-29T02:12:30.970Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-29T02:12:30.970Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-29T02:12:30.970Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:12:31.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T02:12:31.382Z] [2022-09-29T02:12:31.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:12:31.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T02:12:31.679Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-29T02:12:31.679Z] b85a868b505f: Pulling fs layer [2022-09-29T02:12:31.679Z] e2be974225ed: Pulling fs layer [2022-09-29T02:12:31.679Z] 339a4e72a1f5: Pulling fs layer [2022-09-29T02:12:31.679Z] 988bab9f4d93: Pulling fs layer [2022-09-29T02:12:31.679Z] 1469e6f7b9e6: Pulling fs layer [2022-09-29T02:12:31.679Z] eaf3925da568: Pulling fs layer [2022-09-29T02:12:31.679Z] bab4dde63d76: Pulling fs layer [2022-09-29T02:12:31.679Z] bde34c3a00c8: Pulling fs layer [2022-09-29T02:12:31.679Z] b352a97aabf1: Pulling fs layer [2022-09-29T02:12:31.679Z] 4872d77fe225: Pulling fs layer [2022-09-29T02:12:31.679Z] 5851b861e8e6: Pulling fs layer [2022-09-29T02:12:31.679Z] 1469e6f7b9e6: Waiting [2022-09-29T02:12:31.679Z] bab4dde63d76: Waiting [2022-09-29T02:12:31.679Z] 5851b861e8e6: Waiting [2022-09-29T02:12:31.679Z] bde34c3a00c8: Waiting [2022-09-29T02:12:31.679Z] 988bab9f4d93: Waiting [2022-09-29T02:12:31.679Z] eaf3925da568: Waiting [2022-09-29T02:12:31.679Z] e2be974225ed: Download complete [2022-09-29T02:12:31.679Z] 988bab9f4d93: Verifying Checksum [2022-09-29T02:12:31.679Z] 988bab9f4d93: Download complete [2022-09-29T02:12:31.939Z] 1469e6f7b9e6: Verifying Checksum [2022-09-29T02:12:31.939Z] 1469e6f7b9e6: Download complete [2022-09-29T02:12:31.939Z] 339a4e72a1f5: Verifying Checksum [2022-09-29T02:12:31.939Z] 339a4e72a1f5: Download complete [2022-09-29T02:12:31.939Z] eaf3925da568: Verifying Checksum [2022-09-29T02:12:31.939Z] eaf3925da568: Download complete [2022-09-29T02:12:31.939Z] bde34c3a00c8: Download complete [2022-09-29T02:12:31.939Z] b352a97aabf1: Download complete [2022-09-29T02:12:31.939Z] 4872d77fe225: Verifying Checksum [2022-09-29T02:12:31.939Z] 4872d77fe225: Download complete [2022-09-29T02:12:31.939Z] 5851b861e8e6: Download complete [2022-09-29T02:12:31.939Z] b85a868b505f: Download complete [2022-09-29T02:12:32.197Z] bab4dde63d76: Verifying Checksum [2022-09-29T02:12:32.197Z] bab4dde63d76: Download complete [2022-09-29T02:12:33.133Z] b85a868b505f: Pull complete [2022-09-29T02:12:33.392Z] e2be974225ed: Pull complete [2022-09-29T02:12:33.982Z] 339a4e72a1f5: Pull complete [2022-09-29T02:12:33.982Z] 988bab9f4d93: Pull complete [2022-09-29T02:12:34.258Z] 1469e6f7b9e6: Pull complete [2022-09-29T02:12:34.258Z] eaf3925da568: Pull complete [2022-09-29T02:12:36.187Z] bab4dde63d76: Pull complete [2022-09-29T02:12:36.187Z] bde34c3a00c8: Pull complete [2022-09-29T02:12:36.447Z] b352a97aabf1: Pull complete [2022-09-29T02:12:36.447Z] 4872d77fe225: Pull complete [2022-09-29T02:12:36.447Z] 5851b861e8e6: Pull complete [2022-09-29T02:12:36.447Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-29T02:12:36.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T02:12:36.447Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:12:36.530Z] prd-ubuntu20.04-docker-8c-8g-2065 does not seem to be running inside a container [2022-09-29T02:12:36.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 [2022-09-29T02:12:37.955Z] $ docker top fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 -eo pid,comm [2022-09-29T02:12:38.009Z] 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). [2022-09-29T02:12:38.009Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-29T02:12:38.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T02:12:38.040Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T02:12:38.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T02:12:38.160Z] $ docker exec fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 ssh-agent [2022-09-29T02:12:38.279Z] SSH_AUTH_SOCK=/tmp/ssh-whDmPOIHkxp0/agent.32 [2022-09-29T02:12:38.279Z] SSH_AGENT_PID=38 [2022-09-29T02:12:38.288Z] Running ssh-add (command line suppressed) [2022-09-29T02:12:38.391Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3972580810489025029.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3972580810489025029.key) [2022-09-29T02:12:38.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T02:12:38.691Z] + git tag --points-at HEAD [Pipeline] } [2022-09-29T02:12:38.706Z] $ docker exec --env ******** --env ******** fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 ssh-agent -k [2022-09-29T02:12:38.807Z] unset SSH_AUTH_SOCK; [2022-09-29T02:12:38.810Z] unset SSH_AGENT_PID; [2022-09-29T02:12:38.811Z] echo Agent pid 38 killed; [2022-09-29T02:12:38.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-29T02:12:38.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T02:12:38.843Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T02:12:38.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T02:12:38.973Z] $ docker exec fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 ssh-agent [2022-09-29T02:12:39.076Z] SSH_AUTH_SOCK=/tmp/ssh-gZlAa6zQ0Zm9/agent.71 [2022-09-29T02:12:39.076Z] SSH_AGENT_PID=77 [2022-09-29T02:12:39.080Z] Running ssh-add (command line suppressed) [2022-09-29T02:12:39.184Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_11562347163366229207.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_11562347163366229207.key) [2022-09-29T02:12:39.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T02:12:39.484Z] + git semver init [2022-09-29T02:12:39.744Z] 2022-09-29 02:12:39,675 [run_init] DEBUG init version:0.0.0 force:False [2022-09-29T02:12:39.744Z] 2022-09-29 02:12:39,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-29T02:12:39.744Z] 2022-09-29 02:12:39,676 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-29T02:12:39.744Z] 2022-09-29 02:12:39,676 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,657 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,657 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,657 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,660 [execute] INFO git cat-file --batch-check [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,666 [execute] INFO git cat-file --batch [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-29T02:12:40.692Z] 2022-09-29 02:12:40,671 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-29T02:12:40.692Z] 0.0.0 [Pipeline] } [2022-09-29T02:12:40.965Z] $ docker exec --env ******** --env ******** fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 ssh-agent -k [2022-09-29T02:12:41.062Z] unset SSH_AUTH_SOCK; [2022-09-29T02:12:41.062Z] unset SSH_AGENT_PID; [2022-09-29T02:12:41.063Z] echo Agent pid 77 killed; [2022-09-29T02:12:41.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-29T02:12:41.370Z] + git semver [Pipeline] } [2022-09-29T02:12:41.646Z] $ docker stop --time=1 fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 [2022-09-29T02:12:42.978Z] $ docker rm -f fd167737deacafe5c1492384b1b5f500e25f8f91b9bb466389b69fab4e553288 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T02:12:43.319Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-29T02:12:43.504Z] Stashed 1 file(s) [Pipeline] echo [2022-09-29T02:12:43.507Z] [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 [2022-09-29T02:12:43.610Z] provisioning config files... [2022-09-29T02:12:43.619Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1457342632733978827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:12:43.913Z] ---> docker-login.sh [2022-09-29T02:12:43.913Z] nexus3.edgexfoundry.org:10001 [2022-09-29T02:12:43.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:43.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:43.913Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:43.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:43.913Z] [2022-09-29T02:12:43.913Z] Login Succeeded [2022-09-29T02:12:43.913Z] nexus3.edgexfoundry.org:10002 [2022-09-29T02:12:43.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:43.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:43.913Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:43.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:43.913Z] [2022-09-29T02:12:43.913Z] Login Succeeded [2022-09-29T02:12:43.913Z] nexus3.edgexfoundry.org:10003 [2022-09-29T02:12:44.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:44.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:44.172Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:44.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:44.172Z] [2022-09-29T02:12:44.172Z] Login Succeeded [2022-09-29T02:12:44.172Z] nexus3.edgexfoundry.org:10004 [2022-09-29T02:12:44.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:44.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:44.172Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:44.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:44.172Z] [2022-09-29T02:12:44.172Z] Login Succeeded [2022-09-29T02:12:44.172Z] docker.io [2022-09-29T02:12:44.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:12:44.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:12:44.690Z] Configure a credential helper to remove this warning. See [2022-09-29T02:12:44.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:12:44.690Z] [2022-09-29T02:12:44.690Z] Login Succeeded [2022-09-29T02:12:44.690Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T02:12:44.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-29T02:12:44.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T02:12:44.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T02:12:44.774Z] ========================================================= [2022-09-29T02:12:44.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-29T02:12:44.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:12:45.083Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-29T02:12:45.083Z] Sending build context to Docker daemon 20.77MB [2022-09-29T02:12:45.083Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T02:12:45.083Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-29T02:12:45.083Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-29T02:12:45.083Z] 2408cc74d12b: Pulling fs layer [2022-09-29T02:12:45.083Z] ea60b727a1ce: Pulling fs layer [2022-09-29T02:12:45.083Z] 30c4a7721957: Pulling fs layer [2022-09-29T02:12:45.083Z] 370296b7ddb6: Pulling fs layer [2022-09-29T02:12:45.083Z] 7c6cee850709: Pulling fs layer [2022-09-29T02:12:45.083Z] 39a5fcdaea64: Pulling fs layer [2022-09-29T02:12:45.083Z] d94ebbe4e438: Pulling fs layer [2022-09-29T02:12:45.083Z] bcfd1f05c69d: Pulling fs layer [2022-09-29T02:12:45.083Z] 59ccb84bbe0f: Pulling fs layer [2022-09-29T02:12:45.083Z] 370296b7ddb6: Waiting [2022-09-29T02:12:45.083Z] 7c6cee850709: Waiting [2022-09-29T02:12:45.083Z] 39a5fcdaea64: Waiting [2022-09-29T02:12:45.083Z] d94ebbe4e438: Waiting [2022-09-29T02:12:45.083Z] bcfd1f05c69d: Waiting [2022-09-29T02:12:45.083Z] 59ccb84bbe0f: Waiting [2022-09-29T02:12:45.348Z] 30c4a7721957: Verifying Checksum [2022-09-29T02:12:45.348Z] 30c4a7721957: Download complete [2022-09-29T02:12:45.348Z] ea60b727a1ce: Download complete [2022-09-29T02:12:45.348Z] 7c6cee850709: Download complete [2022-09-29T02:12:45.348Z] 39a5fcdaea64: Verifying Checksum [2022-09-29T02:12:45.348Z] 39a5fcdaea64: Download complete [2022-09-29T02:12:45.348Z] 2408cc74d12b: Verifying Checksum [2022-09-29T02:12:45.348Z] 2408cc74d12b: Download complete [2022-09-29T02:12:45.348Z] d94ebbe4e438: Verifying Checksum [2022-09-29T02:12:45.348Z] d94ebbe4e438: Download complete [2022-09-29T02:12:45.348Z] 2408cc74d12b: Pull complete [2022-09-29T02:12:45.628Z] ea60b727a1ce: Pull complete [2022-09-29T02:12:45.628Z] 30c4a7721957: Pull complete [2022-09-29T02:12:46.215Z] 59ccb84bbe0f: Download complete [2022-09-29T02:12:46.215Z] 370296b7ddb6: Verifying Checksum [2022-09-29T02:12:46.215Z] 370296b7ddb6: Download complete [2022-09-29T02:12:46.474Z] bcfd1f05c69d: Verifying Checksum [2022-09-29T02:12:46.474Z] bcfd1f05c69d: Download complete [2022-09-29T02:12:50.666Z] 370296b7ddb6: Pull complete [2022-09-29T02:12:50.666Z] 7c6cee850709: Pull complete [2022-09-29T02:12:50.666Z] 39a5fcdaea64: Pull complete [2022-09-29T02:12:50.666Z] d94ebbe4e438: Pull complete [2022-09-29T02:12:52.568Z] bcfd1f05c69d: Pull complete [2022-09-29T02:12:53.501Z] 59ccb84bbe0f: Pull complete [2022-09-29T02:12:53.501Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-29T02:12:53.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-29T02:12:53.501Z] ---> a4fb48ad2a94 [2022-09-29T02:12:53.501Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-29T02:12:55.408Z] ---> Running in 422afa7e0176 [2022-09-29T02:12:55.409Z] Removing intermediate container 422afa7e0176 [2022-09-29T02:12:55.409Z] ---> d83cde0cbb6a [2022-09-29T02:12:55.409Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-29T02:12:55.409Z] ---> Running in 5f12cd0afe7f [2022-09-29T02:12:55.409Z] Removing intermediate container 5f12cd0afe7f [2022-09-29T02:12:55.409Z] ---> e9486b2bd388 [2022-09-29T02:12:55.409Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-29T02:12:55.409Z] ---> Running in 0fe11fc57771 [2022-09-29T02:12:55.409Z] Removing intermediate container 0fe11fc57771 [2022-09-29T02:12:55.409Z] ---> b6430e183b9e [2022-09-29T02:12:55.409Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-29T02:12:55.409Z] ---> Running in be1d7e39cc25 [2022-09-29T02:12:55.667Z] Removing intermediate container be1d7e39cc25 [2022-09-29T02:12:55.667Z] ---> 70fe4780f989 [2022-09-29T02:12:55.667Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-29T02:12:55.667Z] ---> Running in 03a20a6e5ec3 [2022-09-29T02:12:55.667Z] Removing intermediate container 03a20a6e5ec3 [2022-09-29T02:12:55.667Z] ---> 8ba5e704d9b5 [2022-09-29T02:12:55.667Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T02:12:55.667Z] ---> Running in a9b9adea4734 [2022-09-29T02:12:56.602Z] Removing intermediate container a9b9adea4734 [2022-09-29T02:12:56.602Z] ---> 10213cbc63ac [2022-09-29T02:12:56.602Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-29T02:12:56.602Z] ---> Running in 15c705562ba8 [2022-09-29T02:12:56.861Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T02:12:57.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T02:12:58.058Z] OK: 211 MiB in 51 packages [2022-09-29T02:12:58.316Z] Removing intermediate container 15c705562ba8 [2022-09-29T02:12:58.316Z] ---> ca809274db1a [2022-09-29T02:12:58.316Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-29T02:12:58.316Z] ---> Running in ece4334fbc6e [2022-09-29T02:12:58.316Z] Removing intermediate container ece4334fbc6e [2022-09-29T02:12:58.316Z] ---> 8d8b072e21d2 [2022-09-29T02:12:58.316Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-29T02:12:58.575Z] ---> 54929035bdd1 [2022-09-29T02:12:58.575Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T02:12:58.575Z] ---> Running in 6fce8623353b [2022-09-29T02:12:58.586Z] Still waiting to schedule task [2022-09-29T02:12:58.586Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-29T02:13:16.667Z] Removing intermediate container 6fce8623353b [2022-09-29T02:13:16.667Z] ---> b47c31bfc574 [2022-09-29T02:13:16.667Z] Step 13/14 : COPY . . [2022-09-29T02:13:17.234Z] ---> a1e2585b49c6 [2022-09-29T02:13:17.234Z] Step 14/14 : RUN ${MAKE} [2022-09-29T02:13:17.234Z] ---> Running in d2d062e05055 [2022-09-29T02:13:17.492Z] noop [2022-09-29T02:13:17.751Z] Removing intermediate container d2d062e05055 [2022-09-29T02:13:17.751Z] ---> ae316392afbc [2022-09-29T02:13:17.751Z] Successfully built ae316392afbc [2022-09-29T02:13:17.751Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:13:18.063Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-29T02:13:18.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:13:18.138Z] prd-ubuntu20.04-docker-8c-8g-2065 does not seem to be running inside a container [2022-09-29T02:13:18.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 [2022-09-29T02:13:18.581Z] $ docker top 239626426e8b0f890403abef74fed0e3741b3b9e224f9da9760abab26f7d7782 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T02:13:18.925Z] + go version [2022-09-29T02:13:18.925Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-29T02:13:18.938Z] $ docker stop --time=1 239626426e8b0f890403abef74fed0e3741b3b9e224f9da9760abab26f7d7782 [2022-09-29T02:13:20.248Z] $ docker rm -f 239626426e8b0f890403abef74fed0e3741b3b9e224f9da9760abab26f7d7782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:13:20.640Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-29T02:13:20.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:13:20.707Z] prd-ubuntu20.04-docker-8c-8g-2065 does not seem to be running inside a container [2022-09-29T02:13:20.740Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 [2022-09-29T02:13:21.134Z] $ docker top 71eb4c97a85b29914155ce33c02eaefc0323ed348bd3d6a2a56904cbf1220bd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T02:13:21.477Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-09-29T02:13:21.769Z] + make test [2022-09-29T02:13:21.769Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-29T02:13:22.336Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-29T02:13:34.552Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-29T02:13:34.811Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-09-29T02:13:34.811Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-29T02:13:34.811Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.532s coverage: 86.5% of statements [2022-09-29T02:13:42.930Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-29T02:13:42.930Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-29T02:13:47.112Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-29T02:13:47.112Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-29T02:13:47.112Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-29T02:13:47.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-29T02:13:47.135Z] $ docker stop --time=1 71eb4c97a85b29914155ce33c02eaefc0323ed348bd3d6a2a56904cbf1220bd3 [2022-09-29T02:13:49.008Z] $ docker rm -f 71eb4c97a85b29914155ce33c02eaefc0323ed348bd3d6a2a56904cbf1220bd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T02:13:49.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-29T02:13:49.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-29T02:13:49.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T02:13:50.275Z] + ls -al . [2022-09-29T02:13:50.275Z] total 236 [2022-09-29T02:13:50.275Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 02:13 . [2022-09-29T02:13:50.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:12 .. [2022-09-29T02:13:50.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 02:13 .git [2022-09-29T02:13:50.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 02:12 .github [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 29 02:12 .gitignore [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 02:12 .golangci.yml [2022-09-29T02:13:50.275Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 02:12 .semver [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 29 02:12 Attribution.txt [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 29 02:12 CHANGELOG.md [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 1799 Sep 29 02:12 Dockerfile [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 02:12 GOVERNANCE.md [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 29 02:12 Jenkinsfile [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 29 02:12 LICENSE [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 29 02:12 Makefile [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 29 02:12 OWNERS.md [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 6595 Sep 29 02:12 README.md [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 02:12 VERSION [2022-09-29T02:13:50.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 02:12 bin [2022-09-29T02:13:50.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 02:12 cmd [2022-09-29T02:13:50.275Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 29 02:13 coverage.out [2022-09-29T02:13:50.275Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 02:12 doc [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 29 02:12 go.mod [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 29 02:12 go.sum [2022-09-29T02:13:50.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:12 internal [2022-09-29T02:13:50.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:12 snap [2022-09-29T02:13:50.275Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 29 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:13:50.581Z] + 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=aab599c2ed6b74349a3654c1c3a104500bd14e1b --label arch=amd64 --label version=0.0.0 . [2022-09-29T02:13:50.581Z] Sending build context to Docker daemon 20.85MB [2022-09-29T02:13:50.581Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T02:13:50.581Z] Step 2/28 : FROM ${BASE} AS builder [2022-09-29T02:13:50.581Z] ---> ae316392afbc [2022-09-29T02:13:50.581Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-09-29T02:13:50.839Z] ---> Running in f89be74fe34a [2022-09-29T02:13:50.839Z] Removing intermediate container f89be74fe34a [2022-09-29T02:13:50.839Z] ---> c0baeeef5b6e [2022-09-29T02:13:50.839Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-29T02:13:50.839Z] ---> Running in e5aefa6190c2 [2022-09-29T02:13:51.097Z] Removing intermediate container e5aefa6190c2 [2022-09-29T02:13:51.097Z] ---> 3216043dff22 [2022-09-29T02:13:51.097Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-29T02:13:51.097Z] ---> Running in c8de1f4cba6c [2022-09-29T02:13:51.097Z] Removing intermediate container c8de1f4cba6c [2022-09-29T02:13:51.097Z] ---> ce8945d71395 [2022-09-29T02:13:51.097Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-09-29T02:13:51.097Z] ---> Running in 8f2f5b44f0e5 [2022-09-29T02:13:51.356Z] Removing intermediate container 8f2f5b44f0e5 [2022-09-29T02:13:51.356Z] ---> 2a6bae78e8a7 [2022-09-29T02:13:51.356Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-09-29T02:13:51.356Z] ---> Running in 21d6689bfac8 [2022-09-29T02:13:51.356Z] Removing intermediate container 21d6689bfac8 [2022-09-29T02:13:51.356Z] ---> 62205ebffabb [2022-09-29T02:13:51.356Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T02:13:51.356Z] ---> Running in dc9936916c8f [2022-09-29T02:13:51.923Z] Removing intermediate container dc9936916c8f [2022-09-29T02:13:51.923Z] ---> 86d9959ea479 [2022-09-29T02:13:51.923Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-29T02:13:51.923Z] ---> Running in e7424f5afbb7 [2022-09-29T02:13:52.181Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T02:13:53.118Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T02:13:53.376Z] OK: 211 MiB in 51 packages [2022-09-29T02:13:53.635Z] Removing intermediate container e7424f5afbb7 [2022-09-29T02:13:53.635Z] ---> fda9433da998 [2022-09-29T02:13:53.635Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-09-29T02:13:53.894Z] ---> Running in 3bbb760e1061 [2022-09-29T02:13:53.894Z] Removing intermediate container 3bbb760e1061 [2022-09-29T02:13:53.894Z] ---> e994a1586bcc [2022-09-29T02:13:53.894Z] Step 11/28 : COPY go.mod vendor* ./ [2022-09-29T02:13:53.894Z] ---> 50c11f4cb645 [2022-09-29T02:13:53.894Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T02:13:54.152Z] ---> Running in 79ab9acbc302 [2022-09-29T02:13:54.720Z] Removing intermediate container 79ab9acbc302 [2022-09-29T02:13:54.720Z] ---> fedd4844fc3e [2022-09-29T02:13:54.720Z] Step 13/28 : COPY . . [2022-09-29T02:13:55.286Z] ---> d7a866552c58 [2022-09-29T02:13:55.286Z] Step 14/28 : RUN ${MAKE} [2022-09-29T02:13:55.286Z] ---> Running in 4b68209b3ccb [2022-09-29T02:13:55.544Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-29T02:14:17.472Z] Removing intermediate container 4b68209b3ccb [2022-09-29T02:14:17.472Z] ---> b538db78d919 [2022-09-29T02:14:17.472Z] Step 15/28 : FROM alpine:3.16 [2022-09-29T02:14:18.038Z] 3.16: Pulling from library/alpine [2022-09-29T02:14:18.038Z] 213ec9aee27d: Pulling fs layer [2022-09-29T02:14:18.297Z] 213ec9aee27d: Verifying Checksum [2022-09-29T02:14:18.297Z] 213ec9aee27d: Download complete [2022-09-29T02:14:18.556Z] 213ec9aee27d: Pull complete [2022-09-29T02:14:18.556Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-29T02:14:18.556Z] Status: Downloaded newer image for alpine:3.16 [2022-09-29T02:14:18.556Z] ---> 9c6f07244728 [2022-09-29T02:14:18.556Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-29T02:14:18.556Z] ---> Running in 904b43b05cf0 [2022-09-29T02:14:18.815Z] Removing intermediate container 904b43b05cf0 [2022-09-29T02:14:18.815Z] ---> 0b6b2a998b65 [2022-09-29T02:14:18.815Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-29T02:14:18.815Z] ---> Running in f09fb45c91ee [2022-09-29T02:14:19.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T02:14:19.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T02:14:19.332Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-29T02:14:19.332Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-29T02:14:19.332Z] (3/21) Installing readline (8.1.2-r0) [2022-09-29T02:14:19.332Z] (4/21) Installing bash (5.1.16-r2) [2022-09-29T02:14:19.591Z] Executing bash-5.1.16-r2.post-install [2022-09-29T02:14:19.591Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-29T02:14:19.591Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-29T02:14:19.591Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-29T02:14:19.591Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-29T02:14:19.591Z] (9/21) Installing curl (7.83.1-r3) [2022-09-29T02:14:19.591Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-29T02:14:19.591Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-29T02:14:19.591Z] (12/21) Installing jq (1.6-r1) [2022-09-29T02:14:19.591Z] (13/21) Installing popt (1.18-r0) [2022-09-29T02:14:19.591Z] (14/21) Installing pcre (8.45-r2) [2022-09-29T02:14:19.591Z] (15/21) Installing slang (2.3.2-r0) [2022-09-29T02:14:19.591Z] (16/21) Installing newt (0.52.21-r2) [2022-09-29T02:14:19.591Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-29T02:14:19.591Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-29T02:14:19.591Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-29T02:14:19.591Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-29T02:14:19.591Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-29T02:14:19.591Z] Executing busybox-1.35.0-r17.trigger [2022-09-29T02:14:19.591Z] Executing ca-certificates-20220614-r0.trigger [2022-09-29T02:14:19.591Z] OK: 17 MiB in 35 packages [2022-09-29T02:14:20.525Z] Removing intermediate container f09fb45c91ee [2022-09-29T02:14:20.525Z] ---> 0f08c59e16cb [2022-09-29T02:14:20.525Z] Step 18/28 : WORKDIR / [2022-09-29T02:14:20.525Z] ---> Running in 7f492ed3d6f7 [2022-09-29T02:14:20.525Z] Removing intermediate container 7f492ed3d6f7 [2022-09-29T02:14:20.525Z] ---> 4ebe625c21ed [2022-09-29T02:14:20.525Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-29T02:14:21.090Z] ---> 5c16b9f97332 [2022-09-29T02:14:21.090Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-29T02:14:21.348Z] ---> 94d983bf79ed [2022-09-29T02:14:21.348Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-29T02:14:21.348Z] ---> a2413be8b931 [2022-09-29T02:14:21.348Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-29T02:14:21.606Z] ---> f2dcda217e26 [2022-09-29T02:14:21.606Z] Step 23/28 : EXPOSE 59984 [2022-09-29T02:14:21.606Z] ---> Running in 2bd4fb178fb7 [2022-09-29T02:14:21.606Z] Removing intermediate container 2bd4fb178fb7 [2022-09-29T02:14:21.606Z] ---> 69a08a405f38 [2022-09-29T02:14:21.606Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-29T02:14:21.606Z] ---> Running in a71088e4c054 [2022-09-29T02:14:21.865Z] Removing intermediate container a71088e4c054 [2022-09-29T02:14:21.865Z] ---> caa3334c8dda [2022-09-29T02:14:21.865Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-29T02:14:21.865Z] ---> Running in 571635ff0968 [2022-09-29T02:14:21.865Z] Removing intermediate container 571635ff0968 [2022-09-29T02:14:21.865Z] ---> 0b734458f14a [2022-09-29T02:14:21.865Z] Step 26/28 : LABEL arch=amd64 [2022-09-29T02:14:21.865Z] ---> Running in 87d0fe54deac [2022-09-29T02:14:22.123Z] Removing intermediate container 87d0fe54deac [2022-09-29T02:14:22.123Z] ---> 5194e65276b5 [2022-09-29T02:14:22.123Z] Step 27/28 : LABEL git_sha=aab599c2ed6b74349a3654c1c3a104500bd14e1b [2022-09-29T02:14:22.123Z] ---> Running in 7fbc4a52cd3d [2022-09-29T02:14:22.123Z] Removing intermediate container 7fbc4a52cd3d [2022-09-29T02:14:22.123Z] ---> 6d90035ae0c6 [2022-09-29T02:14:22.123Z] Step 28/28 : LABEL version=0.0.0 [2022-09-29T02:14:22.123Z] ---> Running in 7134607afca8 [2022-09-29T02:14:22.381Z] Removing intermediate container 7134607afca8 [2022-09-29T02:14:22.381Z] ---> 4b3db97a2176 [2022-09-29T02:14:22.381Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T02:14:22.381Z] Successfully built 4b3db97a2176 [2022-09-29T02:14:22.381Z] 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 [2022-09-29T02:14:22.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T02:14:22.793Z] [2022-09-29T02:14:22.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:14:23.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T02:14:23.098Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-29T02:14:23.098Z] 5eb5b503b376: Pulling fs layer [2022-09-29T02:14:23.098Z] 5c69ac0246d0: Pulling fs layer [2022-09-29T02:14:23.098Z] ec43610c2a17: Pulling fs layer [2022-09-29T02:14:23.098Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-29T02:14:23.098Z] 33b1e0a273af: Pulling fs layer [2022-09-29T02:14:23.098Z] 5d3b04190fa2: Pulling fs layer [2022-09-29T02:14:23.098Z] 2f39f015ded8: Pulling fs layer [2022-09-29T02:14:23.098Z] 3a2ae6a8a46f: Waiting [2022-09-29T02:14:23.098Z] 33b1e0a273af: Waiting [2022-09-29T02:14:23.098Z] 5d3b04190fa2: Waiting [2022-09-29T02:14:23.098Z] 2f39f015ded8: Waiting [2022-09-29T02:14:23.098Z] 5c69ac0246d0: Verifying Checksum [2022-09-29T02:14:23.098Z] 5c69ac0246d0: Download complete [2022-09-29T02:14:23.098Z] 3a2ae6a8a46f: Download complete [2022-09-29T02:14:23.098Z] 33b1e0a273af: Verifying Checksum [2022-09-29T02:14:23.098Z] 33b1e0a273af: Download complete [2022-09-29T02:14:23.098Z] ec43610c2a17: Verifying Checksum [2022-09-29T02:14:23.098Z] ec43610c2a17: Download complete [2022-09-29T02:14:23.098Z] 5d3b04190fa2: Verifying Checksum [2022-09-29T02:14:23.098Z] 5d3b04190fa2: Download complete [2022-09-29T02:14:23.357Z] 5eb5b503b376: Verifying Checksum [2022-09-29T02:14:23.357Z] 5eb5b503b376: Download complete [2022-09-29T02:14:23.922Z] 2f39f015ded8: Download complete [2022-09-29T02:14:24.488Z] 5eb5b503b376: Pull complete [2022-09-29T02:14:24.488Z] 5c69ac0246d0: Pull complete [2022-09-29T02:14:25.054Z] ec43610c2a17: Pull complete [2022-09-29T02:14:25.054Z] 3a2ae6a8a46f: Pull complete [2022-09-29T02:14:25.311Z] 33b1e0a273af: Pull complete [2022-09-29T02:14:25.311Z] 5d3b04190fa2: Pull complete [2022-09-29T02:14:29.495Z] 2f39f015ded8: Pull complete [2022-09-29T02:14:29.495Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-29T02:14:29.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T02:14:29.495Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:14:29.582Z] prd-ubuntu20.04-docker-8c-8g-2065 does not seem to be running inside a container [2022-09-29T02:14:29.610Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 [2022-09-29T02:14:31.327Z] $ docker top a6378fb08e7a43ffa16551987cd0c1d0235579e42c952c709993e1aba9ce67df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:14:31.721Z] ---> job-cost.sh [2022-09-29T02:14:31.721Z] lf-activate-venv: SKIPPING [2022-09-29T02:14:31.721Z] INFO: No Stack... [2022-09-29T02:14:32.288Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T02:14:32.547Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T02:14:32.838Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-09-29T02:14:32.838Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T02:14:32.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [2022-09-29T02:14:32.857Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] did not exist. Created. [2022-09-29T02:14:32.857Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T02:14:33.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-29T02:14:33.193Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T02:14:33.200Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T02:14:33.221Z] $ docker stop --time=1 a6378fb08e7a43ffa16551987cd0c1d0235579e42c952c709993e1aba9ce67df [2022-09-29T02:14:34.407Z] $ docker rm -f a6378fb08e7a43ffa16551987cd0c1d0235579e42c952c709993e1aba9ce67df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-29T02:16:24.130Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2066 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-09-29T02:16:24.143Z] Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout [2022-09-29T02:16:24.183Z] The recommended git tool is: git [2022-09-29T02:16:29.335Z] using credential edgex-jenkins-ssh [2022-09-29T02:16:29.351Z] Cloning the remote Git repository [2022-09-29T02:16:29.389Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-29T02:16:29.456Z] > git init /w/workspace/device-onvif-camera/17 # timeout=10 [2022-09-29T02:16:29.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-29T02:16:29.581Z] > git --version # timeout=10 [2022-09-29T02:16:29.601Z] > git --version # 'git version 2.25.1' [2022-09-29T02:16:29.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-29T02:16:29.644Z] Verifying host key using known hosts file [2022-09-29T02:16:29.823Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-29T02:16:29.835Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T02:16:31.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-29T02:16:31.089Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T02:16:32.670Z] Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-09-29T02:16:31.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-29T02:16:32.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-29T02:16:32.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-29T02:16:32.035Z] Verifying host key using known hosts file [2022-09-29T02:16:32.042Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-29T02:16:32.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-29T02:16:32.687Z] > git config core.sparsecheckout # timeout=10 [2022-09-29T02:16:32.707Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-09-29T02:16:32.923Z] > git remote # timeout=10 [2022-09-29T02:16:32.941Z] > git config --get remote.origin.url # timeout=10 [2022-09-29T02:16:32.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-29T02:16:32.965Z] Verifying host key using known hosts file [2022-09-29T02:16:32.971Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-29T02:16:32.981Z] > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 [2022-09-29T02:16:33.328Z] Merge succeeded, producing ac48df99d62d077e86580b837722976113dedc64 [2022-09-29T02:16:33.329Z] Checking out Revision ac48df99d62d077e86580b837722976113dedc64 (PR-125) [2022-09-29T02:16:33.305Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-29T02:16:33.333Z] > git config core.sparsecheckout # timeout=10 [2022-09-29T02:16:33.346Z] > git checkout -f ac48df99d62d077e86580b837722976113dedc64 # timeout=10 [2022-09-29T02:16:36.833Z] Commit message: "Merge commit '0803938d3e117362d3c6c6e4e1a4697135dfbf5d' into HEAD" [2022-09-29T02:16:36.869Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T02:16:36.843Z] > git rev-list --no-walk 573ca4e271e1448bcaa17f6470590961d41d35ec # timeout=10 [2022-09-29T02:16:37.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-29T02:16:37.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T02:16:37.837Z] Dload Upload Total Spent Left Speed [2022-09-29T02:16:37.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh [2022-09-29T02:16:38.589Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-29T02:16:38.918Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-29T02:16:38.918Z] + sudo tee /etc/docker/daemon.new [2022-09-29T02:16:38.918Z] { [2022-09-29T02:16:38.918Z] "registry-mirrors": [ [2022-09-29T02:16:38.918Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-29T02:16:38.918Z] ], [2022-09-29T02:16:38.918Z] "bip": "10.250.0.254/24", [2022-09-29T02:16:38.918Z] "hosts": [ [2022-09-29T02:16:38.918Z] "tcp://0.0.0.0:5555", [2022-09-29T02:16:38.918Z] "unix:///var/run/docker.sock" [2022-09-29T02:16:38.918Z] ], [2022-09-29T02:16:38.918Z] "mtu": 1458, [2022-09-29T02:16:38.918Z] "selinux-enabled": true, [2022-09-29T02:16:38.918Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-29T02:16:38.918Z] } [Pipeline] sh [2022-09-29T02:16:39.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-29T02:16:39.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T02:16:57.850Z] provisioning config files... [2022-09-29T02:16:57.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config6716864712176587859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:16:58.224Z] ---> docker-login.sh [2022-09-29T02:16:58.224Z] nexus3.edgexfoundry.org:10001 [2022-09-29T02:16:58.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:16:58.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:16:58.770Z] Configure a credential helper to remove this warning. See [2022-09-29T02:16:58.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:16:58.770Z] [2022-09-29T02:16:58.770Z] Login Succeeded [2022-09-29T02:16:58.770Z] nexus3.edgexfoundry.org:10002 [2022-09-29T02:16:59.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:16:59.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:16:59.310Z] Configure a credential helper to remove this warning. See [2022-09-29T02:16:59.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:16:59.310Z] [2022-09-29T02:16:59.310Z] Login Succeeded [2022-09-29T02:16:59.310Z] nexus3.edgexfoundry.org:10003 [2022-09-29T02:16:59.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:16:59.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:16:59.581Z] Configure a credential helper to remove this warning. See [2022-09-29T02:16:59.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:16:59.581Z] [2022-09-29T02:16:59.581Z] Login Succeeded [2022-09-29T02:16:59.581Z] nexus3.edgexfoundry.org:10004 [2022-09-29T02:16:59.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:16:59.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:16:59.850Z] Configure a credential helper to remove this warning. See [2022-09-29T02:16:59.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:16:59.850Z] [2022-09-29T02:16:59.850Z] Login Succeeded [2022-09-29T02:16:59.850Z] docker.io [2022-09-29T02:17:00.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T02:17:00.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T02:17:00.710Z] Configure a credential helper to remove this warning. See [2022-09-29T02:17:00.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T02:17:00.710Z] [2022-09-29T02:17:00.710Z] Login Succeeded [2022-09-29T02:17:00.710Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T02:17:00.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-29T02:17:00.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T02:17:00.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T02:17:00.915Z] ========================================================= [2022-09-29T02:17:00.915Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-29T02:17:00.915Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:17:01.261Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-29T02:17:01.857Z] Sending build context to Docker daemon 14.2MB [2022-09-29T02:17:01.857Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T02:17:01.857Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-29T02:17:01.857Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-29T02:17:01.857Z] b3c136eddcbf: Pulling fs layer [2022-09-29T02:17:01.857Z] c0a3192eca97: Pulling fs layer [2022-09-29T02:17:01.857Z] a050256f5b6f: Pulling fs layer [2022-09-29T02:17:01.857Z] 656be50a0ddc: Pulling fs layer [2022-09-29T02:17:01.857Z] 2bbca73fdf42: Pulling fs layer [2022-09-29T02:17:01.857Z] 46d945488cbd: Pulling fs layer [2022-09-29T02:17:01.857Z] 8a5474983e97: Pulling fs layer [2022-09-29T02:17:01.857Z] 329c88fbcd65: Pulling fs layer [2022-09-29T02:17:01.857Z] 46d945488cbd: Waiting [2022-09-29T02:17:01.857Z] 656be50a0ddc: Waiting [2022-09-29T02:17:01.857Z] 2bbca73fdf42: Waiting [2022-09-29T02:17:01.857Z] a050256f5b6f: Verifying Checksum [2022-09-29T02:17:01.857Z] a050256f5b6f: Download complete [2022-09-29T02:17:01.857Z] c0a3192eca97: Verifying Checksum [2022-09-29T02:17:01.857Z] c0a3192eca97: Download complete [2022-09-29T02:17:01.857Z] 2bbca73fdf42: Download complete [2022-09-29T02:17:02.130Z] 46d945488cbd: Verifying Checksum [2022-09-29T02:17:02.130Z] 46d945488cbd: Download complete [2022-09-29T02:17:02.130Z] b3c136eddcbf: Verifying Checksum [2022-09-29T02:17:02.130Z] b3c136eddcbf: Download complete [2022-09-29T02:17:03.112Z] b3c136eddcbf: Pull complete [2022-09-29T02:17:03.112Z] 329c88fbcd65: Verifying Checksum [2022-09-29T02:17:03.112Z] 329c88fbcd65: Download complete [2022-09-29T02:17:03.703Z] c0a3192eca97: Pull complete [2022-09-29T02:17:03.973Z] a050256f5b6f: Pull complete [2022-09-29T02:17:04.241Z] 8a5474983e97: Verifying Checksum [2022-09-29T02:17:04.241Z] 8a5474983e97: Download complete [2022-09-29T02:17:04.827Z] 656be50a0ddc: Verifying Checksum [2022-09-29T02:17:04.827Z] 656be50a0ddc: Download complete [2022-09-29T02:17:17.193Z] 656be50a0ddc: Pull complete [2022-09-29T02:17:17.193Z] 2bbca73fdf42: Pull complete [2022-09-29T02:17:17.193Z] 46d945488cbd: Pull complete [2022-09-29T02:17:22.559Z] 8a5474983e97: Pull complete [2022-09-29T02:17:24.513Z] 329c88fbcd65: Pull complete [2022-09-29T02:17:24.513Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-29T02:17:24.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-29T02:17:24.513Z] ---> ff4287adb874 [2022-09-29T02:17:24.513Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-29T02:17:26.469Z] ---> Running in cf70f35c4a4b [2022-09-29T02:17:27.059Z] Removing intermediate container cf70f35c4a4b [2022-09-29T02:17:27.059Z] ---> 76ee99beef31 [2022-09-29T02:17:27.059Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-29T02:17:27.059Z] ---> Running in 02fcad21e84b [2022-09-29T02:17:27.328Z] Removing intermediate container 02fcad21e84b [2022-09-29T02:17:27.328Z] ---> 633c3319a4b6 [2022-09-29T02:17:27.328Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-29T02:17:27.597Z] ---> Running in 8b3f4d7ee647 [2022-09-29T02:17:27.866Z] Removing intermediate container 8b3f4d7ee647 [2022-09-29T02:17:27.866Z] ---> fe14a8d90685 [2022-09-29T02:17:27.866Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-29T02:17:27.866Z] ---> Running in 8dd7523c7e64 [2022-09-29T02:17:28.454Z] Removing intermediate container 8dd7523c7e64 [2022-09-29T02:17:28.454Z] ---> 0c70af3b4b17 [2022-09-29T02:17:28.454Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-29T02:17:28.454Z] ---> Running in ad53df01852e [2022-09-29T02:17:28.743Z] Removing intermediate container ad53df01852e [2022-09-29T02:17:28.743Z] ---> c265e68e69eb [2022-09-29T02:17:28.743Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T02:17:29.017Z] ---> Running in 45120220edd0 [2022-09-29T02:17:30.983Z] Removing intermediate container 45120220edd0 [2022-09-29T02:17:30.983Z] ---> 1b160d93259c [2022-09-29T02:17:30.983Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-29T02:17:30.983Z] ---> Running in 9042f4f27d27 [2022-09-29T02:17:32.406Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T02:17:32.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T02:17:34.419Z] OK: 221 MiB in 51 packages [2022-09-29T02:17:35.407Z] Removing intermediate container 9042f4f27d27 [2022-09-29T02:17:35.407Z] ---> d00fffe2948b [2022-09-29T02:17:35.407Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-29T02:17:35.407Z] ---> Running in aa577722db35 [2022-09-29T02:17:35.680Z] Removing intermediate container aa577722db35 [2022-09-29T02:17:35.680Z] ---> 098d3efbaabf [2022-09-29T02:17:35.680Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-29T02:17:36.284Z] ---> 558b67fe4888 [2022-09-29T02:17:36.284Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T02:17:36.284Z] ---> Running in a0ffae6853ae [2022-09-29T02:18:32.707Z] Removing intermediate container a0ffae6853ae [2022-09-29T02:18:32.707Z] ---> f71bd4e2bea0 [2022-09-29T02:18:32.707Z] Step 13/14 : COPY . . [2022-09-29T02:18:32.707Z] ---> 4362d46202e6 [2022-09-29T02:18:32.707Z] Step 14/14 : RUN ${MAKE} [2022-09-29T02:18:32.707Z] ---> Running in 9eea5f9b4bfe [2022-09-29T02:18:32.707Z] noop [2022-09-29T02:18:32.707Z] Removing intermediate container 9eea5f9b4bfe [2022-09-29T02:18:32.707Z] ---> aa96f5f0bfe0 [2022-09-29T02:18:32.707Z] Successfully built aa96f5f0bfe0 [2022-09-29T02:18:32.707Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:18:33.042Z] + docker inspect -f . ci-base-image-arm64 [2022-09-29T02:18:33.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:18:33.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-2066 does not seem to be running inside a container [2022-09-29T02:18:33.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-09-29T02:18:34.435Z] $ docker top 77fbc80119b3f505d5a82308723a4cf2f5345eb04f5d2a40c7656677eb565eb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T02:18:35.252Z] + go version [2022-09-29T02:18:35.252Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-29T02:18:35.273Z] $ docker stop --time=1 77fbc80119b3f505d5a82308723a4cf2f5345eb04f5d2a40c7656677eb565eb9 [2022-09-29T02:18:36.918Z] $ docker rm -f 77fbc80119b3f505d5a82308723a4cf2f5345eb04f5d2a40c7656677eb565eb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:18:37.473Z] + docker inspect -f . ci-base-image-arm64 [2022-09-29T02:18:37.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:18:37.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-2066 does not seem to be running inside a container [2022-09-29T02:18:37.731Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-09-29T02:18:38.849Z] $ docker top 8eb63bf32631b8b60191442be7ed80d652eaeb5af75499746c4d13c31f1504c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T02:18:39.400Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/17 [Pipeline] fileExists [Pipeline] sh [2022-09-29T02:18:39.744Z] + make test [2022-09-29T02:18:39.744Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-29T02:18:41.692Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-29T02:20:18.348Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-29T02:20:26.618Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.185s coverage: 28.2% of statements [2022-09-29T02:20:26.618Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-29T02:20:48.728Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.016s coverage: 86.5% of statements [2022-09-29T02:20:48.728Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-29T02:20:48.728Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-29T02:21:21.061Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-29T02:21:21.061Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-29T02:21:21.061Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-29T02:21:21.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-29T02:21:21.102Z] $ docker stop --time=1 8eb63bf32631b8b60191442be7ed80d652eaeb5af75499746c4d13c31f1504c3 [2022-09-29T02:21:23.213Z] $ docker rm -f 8eb63bf32631b8b60191442be7ed80d652eaeb5af75499746c4d13c31f1504c3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T02:21:24.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-29T02:21:24.486Z] Warning: overwriting stash ‘coverage-report’ [2022-09-29T02:21:25.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T02:21:25.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T02:21:25.760Z] + ls -al . [2022-09-29T02:21:25.760Z] total 232 [2022-09-29T02:21:25.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 02:18 . [2022-09-29T02:21:25.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:16 .. [2022-09-29T02:21:25.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 02:16 .git [2022-09-29T02:21:25.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 02:16 .github [2022-09-29T02:21:25.760Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 29 02:16 .gitignore [2022-09-29T02:21:25.760Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 02:16 .golangci.yml [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 29 02:16 Attribution.txt [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 29 02:16 CHANGELOG.md [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 1799 Sep 29 02:16 Dockerfile [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 02:16 GOVERNANCE.md [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 29 02:16 Jenkinsfile [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 29 02:16 LICENSE [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 29 02:16 Makefile [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 29 02:16 OWNERS.md [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 6595 Sep 29 02:16 README.md [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 02:12 VERSION [2022-09-29T02:21:25.761Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 02:16 bin [2022-09-29T02:21:25.761Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 02:16 cmd [2022-09-29T02:21:25.761Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 29 02:20 coverage.out [2022-09-29T02:21:25.761Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 02:16 doc [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 29 02:16 go.mod [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 29 02:16 go.sum [2022-09-29T02:21:25.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:16 internal [2022-09-29T02:21:25.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 02:16 snap [2022-09-29T02:21:25.761Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 29 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:21:26.116Z] + 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=ac48df99d62d077e86580b837722976113dedc64 --label arch=arm64 --label version=0.0.0 . [2022-09-29T02:21:26.735Z] Sending build context to Docker daemon 14.28MB [2022-09-29T02:21:26.735Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T02:21:26.735Z] Step 2/28 : FROM ${BASE} AS builder [2022-09-29T02:21:26.735Z] ---> aa96f5f0bfe0 [2022-09-29T02:21:26.735Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-09-29T02:21:27.009Z] ---> Running in 6e3ef756ec9e [2022-09-29T02:21:27.597Z] Removing intermediate container 6e3ef756ec9e [2022-09-29T02:21:27.597Z] ---> 93970eb8e83d [2022-09-29T02:21:27.597Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-29T02:21:27.597Z] ---> Running in e9b4982931ff [2022-09-29T02:21:27.868Z] Removing intermediate container e9b4982931ff [2022-09-29T02:21:27.868Z] ---> 3ceda4a45f1c [2022-09-29T02:21:27.868Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-29T02:21:28.305Z] ---> Running in 6774bc79183a [2022-09-29T02:21:28.615Z] Removing intermediate container 6774bc79183a [2022-09-29T02:21:28.615Z] ---> a3ade6975579 [2022-09-29T02:21:28.615Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-09-29T02:21:28.615Z] ---> Running in db8f022b6ad6 [2022-09-29T02:21:29.248Z] Removing intermediate container db8f022b6ad6 [2022-09-29T02:21:29.248Z] ---> 1ce1721997fe [2022-09-29T02:21:29.248Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-09-29T02:21:29.248Z] ---> Running in c9d15ba527b3 [2022-09-29T02:21:29.576Z] Removing intermediate container c9d15ba527b3 [2022-09-29T02:21:29.576Z] ---> 238edb7c3f0a [2022-09-29T02:21:29.576Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T02:21:29.854Z] ---> Running in 21a9ace2b377 [2022-09-29T02:21:31.883Z] Removing intermediate container 21a9ace2b377 [2022-09-29T02:21:31.883Z] ---> 5c81805033af [2022-09-29T02:21:31.883Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-29T02:21:31.883Z] ---> Running in 3d01fd8443e2 [2022-09-29T02:21:33.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T02:21:34.294Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T02:21:35.262Z] OK: 221 MiB in 51 packages [2022-09-29T02:21:37.864Z] Removing intermediate container 3d01fd8443e2 [2022-09-29T02:21:37.864Z] ---> 2859408d0fc8 [2022-09-29T02:21:37.864Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-09-29T02:21:37.864Z] ---> Running in 496cf97c287c [2022-09-29T02:21:38.143Z] Removing intermediate container 496cf97c287c [2022-09-29T02:21:38.143Z] ---> 87d1b446af08 [2022-09-29T02:21:38.143Z] Step 11/28 : COPY go.mod vendor* ./ [2022-09-29T02:21:38.736Z] ---> 14307360a63a [2022-09-29T02:21:38.736Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T02:21:38.736Z] ---> Running in 480fcf446b7b [2022-09-29T02:21:43.004Z] Removing intermediate container 480fcf446b7b [2022-09-29T02:21:43.004Z] ---> 7ab2d84c892a [2022-09-29T02:21:43.004Z] Step 13/28 : COPY . . [2022-09-29T02:21:45.592Z] ---> 6876039c58b1 [2022-09-29T02:21:45.592Z] Step 14/28 : RUN ${MAKE} [2022-09-29T02:21:45.592Z] ---> Running in 2034bcf8a63d [2022-09-29T02:21:48.193Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-29T02:24:24.914Z] Removing intermediate container 2034bcf8a63d [2022-09-29T02:24:24.914Z] ---> 8d3f31097164 [2022-09-29T02:24:24.914Z] Step 15/28 : FROM alpine:3.16 [2022-09-29T02:24:24.914Z] 3.16: Pulling from library/alpine [2022-09-29T02:24:24.914Z] 9b18e9b68314: Pulling fs layer [2022-09-29T02:24:24.914Z] 9b18e9b68314: Verifying Checksum [2022-09-29T02:24:24.914Z] 9b18e9b68314: Download complete [2022-09-29T02:24:24.914Z] 9b18e9b68314: Pull complete [2022-09-29T02:24:24.914Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-29T02:24:24.914Z] Status: Downloaded newer image for alpine:3.16 [2022-09-29T02:24:24.914Z] ---> a6215f271958 [2022-09-29T02:24:24.914Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-29T02:24:24.914Z] ---> Running in 803eb629b22a [2022-09-29T02:24:24.914Z] Removing intermediate container 803eb629b22a [2022-09-29T02:24:24.914Z] ---> 178fecec0c92 [2022-09-29T02:24:24.914Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-29T02:24:24.914Z] ---> Running in 13b8755cf314 [2022-09-29T02:24:24.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T02:24:24.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T02:24:24.914Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-29T02:24:24.914Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-29T02:24:24.914Z] (3/21) Installing readline (8.1.2-r0) [2022-09-29T02:24:24.914Z] (4/21) Installing bash (5.1.16-r2) [2022-09-29T02:24:24.914Z] Executing bash-5.1.16-r2.post-install [2022-09-29T02:24:24.914Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-29T02:24:24.914Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-29T02:24:24.914Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-29T02:24:24.914Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-29T02:24:24.914Z] (9/21) Installing curl (7.83.1-r3) [2022-09-29T02:24:24.914Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-29T02:24:24.914Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-29T02:24:24.914Z] (12/21) Installing jq (1.6-r1) [2022-09-29T02:24:24.914Z] (13/21) Installing popt (1.18-r0) [2022-09-29T02:24:24.914Z] (14/21) Installing pcre (8.45-r2) [2022-09-29T02:24:24.914Z] (15/21) Installing slang (2.3.2-r0) [2022-09-29T02:24:24.914Z] (16/21) Installing newt (0.52.21-r2) [2022-09-29T02:24:24.914Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-29T02:24:24.914Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-29T02:24:24.914Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-29T02:24:24.914Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-29T02:24:24.914Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-29T02:24:24.914Z] Executing busybox-1.35.0-r17.trigger [2022-09-29T02:24:24.914Z] Executing ca-certificates-20220614-r0.trigger [2022-09-29T02:24:24.914Z] OK: 16 MiB in 35 packages [2022-09-29T02:24:24.914Z] Removing intermediate container 13b8755cf314 [2022-09-29T02:24:24.914Z] ---> 398af58d7476 [2022-09-29T02:24:24.914Z] Step 18/28 : WORKDIR / [2022-09-29T02:24:24.914Z] ---> Running in 4388bb96c0ca [2022-09-29T02:24:24.914Z] Removing intermediate container 4388bb96c0ca [2022-09-29T02:24:24.914Z] ---> 889f10d14bb5 [2022-09-29T02:24:24.914Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-29T02:24:25.185Z] ---> ef7be8b95e2f [2022-09-29T02:24:25.185Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-29T02:24:25.773Z] ---> 96a0caaba1e5 [2022-09-29T02:24:25.773Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-29T02:24:26.360Z] ---> e129b4dbef7b [2022-09-29T02:24:26.360Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-29T02:24:26.947Z] ---> 35e79681ba54 [2022-09-29T02:24:26.947Z] Step 23/28 : EXPOSE 59984 [2022-09-29T02:24:26.947Z] ---> Running in c5787977c539 [2022-09-29T02:24:27.215Z] Removing intermediate container c5787977c539 [2022-09-29T02:24:27.215Z] ---> 533c9dd474f8 [2022-09-29T02:24:27.215Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-29T02:24:27.485Z] ---> Running in 435164b70608 [2022-09-29T02:24:27.754Z] Removing intermediate container 435164b70608 [2022-09-29T02:24:27.754Z] ---> 8ca5f28cf6dd [2022-09-29T02:24:27.754Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-29T02:24:27.754Z] ---> Running in 4c74ba541021 [2022-09-29T02:24:28.022Z] Removing intermediate container 4c74ba541021 [2022-09-29T02:24:28.022Z] ---> d5d79ff20cd0 [2022-09-29T02:24:28.022Z] Step 26/28 : LABEL arch=arm64 [2022-09-29T02:24:28.022Z] ---> Running in c2434ab52723 [2022-09-29T02:24:28.608Z] Removing intermediate container c2434ab52723 [2022-09-29T02:24:28.608Z] ---> 8562e4157165 [2022-09-29T02:24:28.608Z] Step 27/28 : LABEL git_sha=ac48df99d62d077e86580b837722976113dedc64 [2022-09-29T02:24:28.608Z] ---> Running in 72ac9b8f9ff6 [2022-09-29T02:24:28.877Z] Removing intermediate container 72ac9b8f9ff6 [2022-09-29T02:24:28.877Z] ---> f63db48b329e [2022-09-29T02:24:28.877Z] Step 28/28 : LABEL version=0.0.0 [2022-09-29T02:24:28.877Z] ---> Running in 428cd1ad12d4 [2022-09-29T02:24:29.147Z] Removing intermediate container 428cd1ad12d4 [2022-09-29T02:24:29.147Z] ---> a138dd2de683 [2022-09-29T02:24:29.147Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T02:24:29.415Z] Successfully built a138dd2de683 [2022-09-29T02:24:29.415Z] 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 [2022-09-29T02:24:29.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T02:24:29.869Z] [2022-09-29T02:24:29.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:24:30.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T02:24:30.205Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-29T02:24:30.205Z] 8998bd30e6a1: Pulling fs layer [2022-09-29T02:24:30.205Z] 04944245beec: Pulling fs layer [2022-09-29T02:24:30.205Z] 699f458cf7ca: Pulling fs layer [2022-09-29T02:24:30.205Z] 765212b225bb: Pulling fs layer [2022-09-29T02:24:30.205Z] f23df028b6ca: Pulling fs layer [2022-09-29T02:24:30.205Z] d65c8cfc05b1: Pulling fs layer [2022-09-29T02:24:30.205Z] 2437ff75d9bd: Pulling fs layer [2022-09-29T02:24:30.205Z] f23df028b6ca: Waiting [2022-09-29T02:24:30.205Z] d65c8cfc05b1: Waiting [2022-09-29T02:24:30.205Z] 2437ff75d9bd: Waiting [2022-09-29T02:24:30.205Z] 765212b225bb: Waiting [2022-09-29T02:24:30.480Z] 04944245beec: Verifying Checksum [2022-09-29T02:24:30.480Z] 04944245beec: Download complete [2022-09-29T02:24:30.480Z] 765212b225bb: Verifying Checksum [2022-09-29T02:24:30.480Z] 765212b225bb: Download complete [2022-09-29T02:24:30.480Z] f23df028b6ca: Verifying Checksum [2022-09-29T02:24:30.480Z] f23df028b6ca: Download complete [2022-09-29T02:24:30.480Z] d65c8cfc05b1: Verifying Checksum [2022-09-29T02:24:30.480Z] d65c8cfc05b1: Download complete [2022-09-29T02:24:30.753Z] 699f458cf7ca: Verifying Checksum [2022-09-29T02:24:30.753Z] 699f458cf7ca: Download complete [2022-09-29T02:24:31.024Z] 8998bd30e6a1: Verifying Checksum [2022-09-29T02:24:31.024Z] 8998bd30e6a1: Download complete [2022-09-29T02:24:33.623Z] 2437ff75d9bd: Verifying Checksum [2022-09-29T02:24:33.623Z] 2437ff75d9bd: Download complete [2022-09-29T02:24:35.032Z] 8998bd30e6a1: Pull complete [2022-09-29T02:24:35.616Z] 04944245beec: Pull complete [2022-09-29T02:24:37.022Z] 699f458cf7ca: Pull complete [2022-09-29T02:24:37.022Z] 765212b225bb: Pull complete [2022-09-29T02:24:37.982Z] f23df028b6ca: Pull complete [2022-09-29T02:24:37.982Z] d65c8cfc05b1: Pull complete [2022-09-29T02:24:52.976Z] 2437ff75d9bd: Pull complete [2022-09-29T02:24:52.976Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-29T02:24:52.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T02:24:52.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:24:53.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-2066 does not seem to be running inside a container [2022-09-29T02:24:53.292Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-09-29T02:24:56.123Z] $ docker top c65dd5f0357fb3ee356f0f3e3eccdaaf41e97af1a0b1670f2e2822bf9a70f4b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:24:57.014Z] ---> job-cost.sh [2022-09-29T02:24:57.014Z] lf-activate-venv: SKIPPING [2022-09-29T02:24:57.014Z] INFO: No Stack... [2022-09-29T02:24:57.599Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-29T02:24:58.186Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T02:24:58.828Z] + cat /w/workspace/device-onvif-camera/17/archives/cost.csv [2022-09-29T02:24:58.828Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T02:24:58.901Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [2022-09-29T02:24:58.908Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] did not exist. Created. [2022-09-29T02:24:58.908Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T02:24:59.568Z] /w/workspace/device-onvif-camera/17@tmp/durable-e6b814f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-29T02:24:59.905Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-29T02:24:59.929Z] Warning: overwriting stash ‘stack-cost’ [2022-09-29T02:24:59.995Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T02:25:00.002Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T02:25:00.021Z] $ docker stop --time=1 c65dd5f0357fb3ee356f0f3e3eccdaaf41e97af1a0b1670f2e2822bf9a70f4b6 [2022-09-29T02:25:01.559Z] $ docker rm -f c65dd5f0357fb3ee356f0f3e3eccdaaf41e97af1a0b1670f2e2822bf9a70f4b6 [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 [2022-09-29T02:25:02.026Z] provisioning config files... [2022-09-29T02:25:02.039Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14196083928503605958tmp [Pipeline] { [Pipeline] sh [2022-09-29T02:25:02.344Z] + set +x [2022-09-29T02:25:02.344Z] + curl -s https://codecov.io/bash [2022-09-29T02:25:02.344Z] + bash -s -- [2022-09-29T02:25:02.344Z] [2022-09-29T02:25:02.344Z] _____ _ [2022-09-29T02:25:02.344Z] / ____| | | [2022-09-29T02:25:02.344Z] | | ___ __| | ___ ___ _____ __ [2022-09-29T02:25:02.344Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-29T02:25:02.344Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-29T02:25:02.344Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-29T02:25:02.344Z] Bash-1.0.6 [2022-09-29T02:25:02.344Z] [2022-09-29T02:25:02.344Z] [2022-09-29T02:25:02.345Z] ==> git version 2.25.1 found [2022-09-29T02:25:02.345Z] ==> 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 [2022-09-29T02:25:02.345Z] Release-Date: 2020-01-08 [2022-09-29T02:25:02.345Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-29T02:25:02.345Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-29T02:25:02.345Z] ==> Jenkins CI detected. [2022-09-29T02:25:02.345Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-09-29T02:25:02.345Z] project root: . [2022-09-29T02:25:02.345Z] --> token set from env [2022-09-29T02:25:02.345Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-29T02:25:02.345Z] ==> Running gcov in . (disable via -X gcov) [2022-09-29T02:25:02.345Z] ==> Python coveragepy not found [2022-09-29T02:25:02.345Z] ==> Searching for coverage reports in: [2022-09-29T02:25:02.345Z] + . [2022-09-29T02:25:02.345Z] -> Found 1 reports [2022-09-29T02:25:02.345Z] ==> Detecting git/mercurial file structure [2022-09-29T02:25:02.603Z] ==> Reading reports [2022-09-29T02:25:02.603Z] + ./coverage.out bytes=78461 [2022-09-29T02:25:02.603Z] ==> Appending adjustments [2022-09-29T02:25:02.603Z] https://docs.codecov.io/docs/fixing-reports [2022-09-29T02:25:02.603Z] + Found adjustments [2022-09-29T02:25:02.603Z] ==> Gzipping contents [2022-09-29T02:25:02.603Z] 12K /tmp/codecov.JpZ0GS.gz [2022-09-29T02:25:02.603Z] ==> Uploading reports [2022-09-29T02:25:02.603Z] url: https://codecov.io [2022-09-29T02:25:02.603Z] query: branch=PR-125&commit=aab599c2ed6b74349a3654c1c3a104500bd14e1b&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-29T02:25:02.603Z] -> Pinging Codecov [2022-09-29T02:25:02.603Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=aab599c2ed6b74349a3654c1c3a104500bd14e1b&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-29T02:25:03.171Z] -> Uploading to [2022-09-29T02:25:03.171Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-29/F29A59C45E3A92E06B3E522C9905F8EF/aab599c2ed6b74349a3654c1c3a104500bd14e1b/634bae34-aa77-43ff-9d0f-b24edab82929.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220929T022502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48e43677dfa6c7c6a98e6ac26ccda7ae379236f123b0a634f7ba9f26597df113 [2022-09-29T02:25:03.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T02:25:03.171Z] Dload Upload Total Spent Left Speed [2022-09-29T02:25:03.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10741 0 0 100 10741 0 46098 --:--:-- --:--:-- --:--:-- 46098 [2022-09-29T02:25:03.172Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/aab599c2ed6b74349a3654c1c3a104500bd14e1b [Pipeline] } [2022-09-29T02:25:03.179Z] 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 [2022-09-29T02:25:03.864Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-09-29T02:25:03.864Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-29T02:25:03.864Z] total 16 [2022-09-29T02:25:03.864Z] drwxr-xr-x 3 root root 4096 Sep 29 02:14 . [2022-09-29T02:25:03.864Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 02:14 .. [2022-09-29T02:25:03.864Z] drwxr-xr-x 2 root root 4096 Sep 29 02:14 cost [2022-09-29T02:25:03.864Z] -rw-r--r-- 1 root root 92 Sep 29 02:14 cost.csv [2022-09-29T02:25:03.864Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-29T02:25:03.864Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-29T02:25:03.864Z] total 16 [2022-09-29T02:25:03.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 02:14 . [2022-09-29T02:25:03.864Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 02:14 .. [2022-09-29T02:25:03.864Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 02:14 cost [2022-09-29T02:25:03.864Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 29 02:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:04.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:05.007Z] ---> package-listing.sh [2022-09-29T02:25:05.007Z] ++ facter osfamily [2022-09-29T02:25:05.007Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-29T02:25:05.268Z] + OS_FAMILY=debian [2022-09-29T02:25:05.268Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-09-29T02:25:05.268Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-29T02:25:05.268Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-29T02:25:05.268Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-29T02:25:05.268Z] + PACKAGES=/tmp/packages_start.txt [2022-09-29T02:25:05.268Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-29T02:25:05.268Z] + PACKAGES=/tmp/packages_end.txt [2022-09-29T02:25:05.268Z] + case "${OS_FAMILY}" in [2022-09-29T02:25:05.268Z] + dpkg -l [2022-09-29T02:25:05.268Z] + grep '^ii' [2022-09-29T02:25:05.268Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-29T02:25:05.268Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-29T02:25:05.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-29T02:25:05.268Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-29T02:25:05.268Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-09-29T02:25:05.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-09-29T02:25:05.277Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-29T02:25:05.551Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T02:25:06.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T02:25:06.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T02:25:06.168Z] prd-ubuntu20.04-docker-8c-8g-2065 does not seem to be running inside a container [2022-09-29T02:25:06.195Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 [2022-09-29T02:25:06.415Z] $ docker top 5f26f6b3f6af9d1f5c47b701dd53fd69d9a0c55ea1d0ae68fe44e63540a54f9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T02:25:06.754Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-29T02:25:07.038Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-29T02:25:07.323Z] + ls /var/log/sa-host [2022-09-29T02:25:07.323Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T02:25:07.472Z] provisioning config files... [2022-09-29T02:25:07.480Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config12463640115973288393tmp [Pipeline] { [Pipeline] echo [2022-09-29T02:25:07.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:07.771Z] ---> create-netrc.sh [Pipeline] } [2022-09-29T02:25:07.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:08.096Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-29T02:25:08.102Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:08.381Z] ---> sudo-logs.sh [2022-09-29T02:25:08.381Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-29T02:25:08.411Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:08.692Z] ---> job-cost.sh [2022-09-29T02:25:08.692Z] lf-activate-venv: SKIPPING [2022-09-29T02:25:08.692Z] DEBUG: total: 0.2199999988079071 [2022-09-29T02:25:08.692Z] INFO: Retrieving Stack Cost... [2022-09-29T02:25:08.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T02:25:09.516Z] INFO: Archiving Costs [Pipeline] echo [2022-09-29T02:25:09.525Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T02:25:09.804Z] ---> logs-deploy.sh [2022-09-29T02:25:09.804Z] lf-activate-venv: SKIPPING [2022-09-29T02:25:09.804Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/17 [2022-09-29T02:25:09.804Z] INFO: archiving workspace using pattern(s): [2022-09-29T02:25:10.744Z] Archives upload complete. [2022-09-29T02:25:10.744Z] INFO: archiving logs to Nexus