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 5d7a9db6a708ff5f4775a07ba788f56c414f1565 rather than ec78aac8f60fa80343258aafea3521d8f996d761 Obtained Jenkinsfile from 5d7a9db6a708ff5f4775a07ba788f56c414f1565 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-ssh1203975554429836809.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh14094235509559135935.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-182/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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17640011920614991970.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh6653746637484580328.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-182/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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh850492125695018413.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 ‘prd-ubuntu20.04-docker-8c-8g-67901’ is offline Running on prd-ubuntu20.04-docker-8c-8g-80503 in /w/workspace/undry_device-onvif-camera_PR-182 [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-182 # 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 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 Merge succeeded, producing 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 Checking out Revision 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 (PR-182) > 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/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # 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 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 # timeout=10 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T04:20:01.675Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T04:20:01.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T04:20:01.746Z] ========================================================= [2022-10-25T04:20:01.746Z] EdgeX Global Pipelines Version Info [2022-10-25T04:20:01.746Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a # timeout=10 [2022-10-25T04:20:02.458Z] ------------------- [2022-10-25T04:20:02.458Z] stable info: [2022-10-25T04:20:02.458Z] ------------------- [2022-10-25T04:20:02.458Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T04:20:02.458Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T04:20:02.458Z] Message: update stable to v1.0.243 [2022-10-25T04:20:03.028Z] ------------------- [2022-10-25T04:20:03.028Z] experimental info: [2022-10-25T04:20:03.028Z] ------------------- [2022-10-25T04:20:03.028Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T04:20:03.028Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T04:20:03.028Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T04:20:03.188Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T04:20:03.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T04:20:03.204Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T04:20:03.212Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T04:20:03.225Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T04:20:03.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T04:20:03.244Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T04:20:03.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T04:20:03.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T04:20:03.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T04:20:03.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T04:20:03.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T04:20:03.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T04:20:03.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T04:20:03.329Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T04:20:03.339Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T04:20:03.350Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T04:20:03.363Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T04:20:03.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T04:20:03.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T04:20:03.401Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T04:20:03.409Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T04:20:03.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T04:20:03.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T04:20:03.438Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T04:20:03.450Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T04:20:03.459Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T04:20:03.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-10-25T04:20:03.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-10-25T04:20:03.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-10-25T04:20:03.503Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo [2022-10-25T04:20:03.515Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 134d258 [Pipeline] echo [2022-10-25T04:20:03.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:20:03.578Z] provisioning config files... [2022-10-25T04:20:03.592Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config3043778003154029640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:20:03.891Z] ---> docker-login.sh [2022-10-25T04:20:03.891Z] nexus3.edgexfoundry.org:10001 [2022-10-25T04:20:04.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:04.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:04.411Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:04.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:04.411Z] [2022-10-25T04:20:04.411Z] Login Succeeded [2022-10-25T04:20:04.411Z] nexus3.edgexfoundry.org:10002 [2022-10-25T04:20:04.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:04.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:04.411Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:04.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:04.411Z] [2022-10-25T04:20:04.411Z] Login Succeeded [2022-10-25T04:20:04.411Z] nexus3.edgexfoundry.org:10003 [2022-10-25T04:20:04.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:04.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:04.669Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:04.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:04.669Z] [2022-10-25T04:20:04.669Z] Login Succeeded [2022-10-25T04:20:04.669Z] nexus3.edgexfoundry.org:10004 [2022-10-25T04:20:04.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:04.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:04.669Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:04.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:04.669Z] [2022-10-25T04:20:04.669Z] Login Succeeded [2022-10-25T04:20:04.669Z] docker.io [2022-10-25T04:20:04.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:05.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:05.184Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:05.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:05.184Z] [2022-10-25T04:20:05.184Z] Login Succeeded [2022-10-25T04:20:05.184Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T04:20:05.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T04:20:05.533Z] + git rev-list -1 --merges 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8~1..134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo [2022-10-25T04:20:05.561Z] -----------> git rev-list -1 --merges 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8~1..134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [2022-10-25T04:20:05.561Z] 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [false] [Pipeline] sh [2022-10-25T04:20:05.847Z] + git log --format=format:%s -1 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo [2022-10-25T04:20:05.861Z] ========================================================= [2022-10-25T04:20:05.861Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T04:20:05.861Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:20:06.194Z] + git log --format=format:%s -1 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo [2022-10-25T04:20:06.206Z] [semverPrep] GIT_COMMIT: 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8, Commit Message: Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD [Pipeline] echo [2022-10-25T04:20:06.214Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T04:20:06.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T04:20:06.667Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T04:20:06.667Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T04:20:06.667Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T04:20:06.667Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T04:20:06.667Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T04:20:06.667Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:20:07.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T04:20:07.067Z] [2022-10-25T04:20:07.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:20:07.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T04:20:07.377Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T04:20:07.377Z] b85a868b505f: Pulling fs layer [2022-10-25T04:20:07.377Z] e2be974225ed: Pulling fs layer [2022-10-25T04:20:07.377Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T04:20:07.377Z] 988bab9f4d93: Pulling fs layer [2022-10-25T04:20:07.377Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T04:20:07.377Z] eaf3925da568: Pulling fs layer [2022-10-25T04:20:07.377Z] bab4dde63d76: Pulling fs layer [2022-10-25T04:20:07.377Z] bde34c3a00c8: Pulling fs layer [2022-10-25T04:20:07.377Z] b352a97aabf1: Pulling fs layer [2022-10-25T04:20:07.377Z] 4872d77fe225: Pulling fs layer [2022-10-25T04:20:07.377Z] 5851b861e8e6: Pulling fs layer [2022-10-25T04:20:07.377Z] 988bab9f4d93: Waiting [2022-10-25T04:20:07.377Z] 1469e6f7b9e6: Waiting [2022-10-25T04:20:07.377Z] eaf3925da568: Waiting [2022-10-25T04:20:07.377Z] bde34c3a00c8: Waiting [2022-10-25T04:20:07.377Z] bab4dde63d76: Waiting [2022-10-25T04:20:07.377Z] b352a97aabf1: Waiting [2022-10-25T04:20:07.377Z] 5851b861e8e6: Waiting [2022-10-25T04:20:07.377Z] 4872d77fe225: Waiting [2022-10-25T04:20:07.377Z] e2be974225ed: Verifying Checksum [2022-10-25T04:20:07.377Z] e2be974225ed: Download complete [2022-10-25T04:20:07.377Z] 988bab9f4d93: Verifying Checksum [2022-10-25T04:20:07.377Z] 988bab9f4d93: Download complete [2022-10-25T04:20:07.641Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T04:20:07.641Z] 1469e6f7b9e6: Download complete [2022-10-25T04:20:07.641Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T04:20:07.641Z] 339a4e72a1f5: Download complete [2022-10-25T04:20:07.641Z] eaf3925da568: Verifying Checksum [2022-10-25T04:20:07.641Z] eaf3925da568: Download complete [2022-10-25T04:20:07.641Z] bde34c3a00c8: Verifying Checksum [2022-10-25T04:20:07.641Z] bde34c3a00c8: Download complete [2022-10-25T04:20:07.903Z] b352a97aabf1: Verifying Checksum [2022-10-25T04:20:07.903Z] b352a97aabf1: Download complete [2022-10-25T04:20:07.903Z] 4872d77fe225: Verifying Checksum [2022-10-25T04:20:07.903Z] 4872d77fe225: Download complete [2022-10-25T04:20:07.903Z] 5851b861e8e6: Verifying Checksum [2022-10-25T04:20:07.903Z] 5851b861e8e6: Download complete [2022-10-25T04:20:07.903Z] b85a868b505f: Download complete [2022-10-25T04:20:08.163Z] bab4dde63d76: Verifying Checksum [2022-10-25T04:20:08.163Z] bab4dde63d76: Download complete [2022-10-25T04:20:09.099Z] b85a868b505f: Pull complete [2022-10-25T04:20:09.358Z] e2be974225ed: Pull complete [2022-10-25T04:20:09.924Z] 339a4e72a1f5: Pull complete [2022-10-25T04:20:09.924Z] 988bab9f4d93: Pull complete [2022-10-25T04:20:10.184Z] 1469e6f7b9e6: Pull complete [2022-10-25T04:20:10.184Z] eaf3925da568: Pull complete [2022-10-25T04:20:12.733Z] bab4dde63d76: Pull complete [2022-10-25T04:20:12.733Z] bde34c3a00c8: Pull complete [2022-10-25T04:20:12.733Z] b352a97aabf1: Pull complete [2022-10-25T04:20:12.991Z] 4872d77fe225: Pull complete [2022-10-25T04:20:13.248Z] 5851b861e8e6: Pull complete [2022-10-25T04:20:13.248Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T04:20:13.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T04:20:13.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:20:13.345Z] prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container [2022-10-25T04:20:13.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T04:20:15.687Z] $ docker top edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf -eo pid,comm [2022-10-25T04:20:15.744Z] 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-10-25T04:20:15.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T04:20:15.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T04:20:15.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T04:20:15.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T04:20:15.900Z] $ docker exec edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent [2022-10-25T04:20:16.017Z] SSH_AUTH_SOCK=/tmp/ssh-h6CX0WPN2sgy/agent.33 [2022-10-25T04:20:16.017Z] SSH_AGENT_PID=39 [2022-10-25T04:20:16.024Z] Running ssh-add (command line suppressed) [2022-10-25T04:20:16.134Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_11461601055037331532.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_11461601055037331532.key) [2022-10-25T04:20:16.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T04:20:16.431Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T04:20:16.451Z] $ docker exec --env ******** --env ******** edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent -k [2022-10-25T04:20:16.545Z] unset SSH_AUTH_SOCK; [2022-10-25T04:20:16.545Z] unset SSH_AGENT_PID; [2022-10-25T04:20:16.545Z] echo Agent pid 39 killed; [2022-10-25T04:20:16.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T04:20:16.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T04:20:16.579Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T04:20:16.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T04:20:16.712Z] $ docker exec edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent [2022-10-25T04:20:16.820Z] SSH_AUTH_SOCK=/tmp/ssh-vFmgXTp352SD/agent.71 [2022-10-25T04:20:16.820Z] SSH_AGENT_PID=77 [2022-10-25T04:20:16.827Z] Running ssh-add (command line suppressed) [2022-10-25T04:20:16.934Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14549362915493571054.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14549362915493571054.key) [2022-10-25T04:20:16.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T04:20:17.235Z] + git semver init [2022-10-25T04:20:17.494Z] 2022-10-25 04:20:17,406 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T04:20:17.494Z] 2022-10-25 04:20:17,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-25T04:20:17.494Z] 2022-10-25 04:20:17,407 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-25T04:20:17.494Z] 2022-10-25 04:20:17,407 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-182/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-182, universal_newlines=False, shell=None, istream=None) [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,438 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 with force:False [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,439 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,444 [execute] INFO git cat-file --batch-check [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,450 [execute] INFO git cat-file --batch [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T04:20:18.873Z] 2022-10-25 04:20:18,455 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-25T04:20:18.873Z] 0.0.0 [Pipeline] } [2022-10-25T04:20:18.886Z] $ docker exec --env ******** --env ******** edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent -k [2022-10-25T04:20:18.983Z] unset SSH_AUTH_SOCK; [2022-10-25T04:20:18.983Z] unset SSH_AGENT_PID; [2022-10-25T04:20:18.983Z] echo Agent pid 77 killed; [2022-10-25T04:20:18.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T04:20:19.298Z] + git semver [Pipeline] } [2022-10-25T04:20:19.575Z] $ docker stop --time=1 edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf [2022-10-25T04:20:20.866Z] $ docker rm -f edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T04:20:21.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T04:20:21.377Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T04:20:21.379Z] [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-10-25T04:20:21.527Z] provisioning config files... [2022-10-25T04:20:21.534Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config15992635234464195018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:20:21.822Z] ---> docker-login.sh [2022-10-25T04:20:21.822Z] nexus3.edgexfoundry.org:10001 [2022-10-25T04:20:21.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:21.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:21.822Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:21.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:21.822Z] [2022-10-25T04:20:21.823Z] Login Succeeded [2022-10-25T04:20:21.823Z] nexus3.edgexfoundry.org:10002 [2022-10-25T04:20:21.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:21.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:21.823Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:21.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:21.823Z] [2022-10-25T04:20:21.823Z] Login Succeeded [2022-10-25T04:20:21.823Z] nexus3.edgexfoundry.org:10003 [2022-10-25T04:20:22.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:22.080Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:22.080Z] [2022-10-25T04:20:22.080Z] Login Succeeded [2022-10-25T04:20:22.080Z] nexus3.edgexfoundry.org:10004 [2022-10-25T04:20:22.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:22.080Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:22.080Z] [2022-10-25T04:20:22.080Z] Login Succeeded [2022-10-25T04:20:22.080Z] docker.io [2022-10-25T04:20:22.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:20:22.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:20:22.607Z] Configure a credential helper to remove this warning. See [2022-10-25T04:20:22.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:20:22.607Z] [2022-10-25T04:20:22.607Z] Login Succeeded [2022-10-25T04:20:22.607Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T04:20:22.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T04:20:22.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:20:22.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:20:22.710Z] ========================================================= [2022-10-25T04:20:22.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T04:20:22.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:20:23.084Z] + 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-10-25T04:20:23.084Z] Sending build context to Docker daemon 21.54MB [2022-10-25T04:20:23.084Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:20:23.084Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T04:20:23.356Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T04:20:23.356Z] 213ec9aee27d: Pulling fs layer [2022-10-25T04:20:23.356Z] 4583459ba037: Pulling fs layer [2022-10-25T04:20:23.356Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T04:20:23.356Z] 53926ce57604: Pulling fs layer [2022-10-25T04:20:23.356Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T04:20:23.356Z] 30f14e443154: Pulling fs layer [2022-10-25T04:20:23.356Z] 801331c1e519: Pulling fs layer [2022-10-25T04:20:23.356Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T04:20:23.356Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T04:20:23.356Z] 53926ce57604: Waiting [2022-10-25T04:20:23.356Z] 21b2b0c7a3f4: Waiting [2022-10-25T04:20:23.356Z] 30f14e443154: Waiting [2022-10-25T04:20:23.356Z] 801331c1e519: Waiting [2022-10-25T04:20:23.356Z] 99cc6dd402b0: Waiting [2022-10-25T04:20:23.356Z] 7d9ed39f4882: Waiting [2022-10-25T04:20:23.356Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T04:20:23.356Z] 93c1e223e6f2: Download complete [2022-10-25T04:20:23.356Z] 4583459ba037: Download complete [2022-10-25T04:20:23.356Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T04:20:23.356Z] 21b2b0c7a3f4: Download complete [2022-10-25T04:20:23.356Z] 30f14e443154: Verifying Checksum [2022-10-25T04:20:23.356Z] 30f14e443154: Download complete [2022-10-25T04:20:23.617Z] 213ec9aee27d: Download complete [2022-10-25T04:20:23.617Z] 801331c1e519: Verifying Checksum [2022-10-25T04:20:23.617Z] 801331c1e519: Download complete [2022-10-25T04:20:23.617Z] 213ec9aee27d: Pull complete [2022-10-25T04:20:23.883Z] 4583459ba037: Pull complete [2022-10-25T04:20:23.883Z] 93c1e223e6f2: Pull complete [2022-10-25T04:20:23.883Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T04:20:23.883Z] 7d9ed39f4882: Download complete [2022-10-25T04:20:24.143Z] 53926ce57604: Verifying Checksum [2022-10-25T04:20:24.143Z] 53926ce57604: Download complete [2022-10-25T04:20:24.402Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T04:20:24.402Z] 99cc6dd402b0: Download complete [2022-10-25T04:20:28.606Z] 53926ce57604: Pull complete [2022-10-25T04:20:28.606Z] 21b2b0c7a3f4: Pull complete [2022-10-25T04:20:28.606Z] 30f14e443154: Pull complete [2022-10-25T04:20:28.606Z] 801331c1e519: Pull complete [2022-10-25T04:20:30.506Z] 99cc6dd402b0: Pull complete [2022-10-25T04:20:31.440Z] 7d9ed39f4882: Pull complete [2022-10-25T04:20:31.440Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T04:20:31.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T04:20:31.440Z] ---> 1dedd983c030 [2022-10-25T04:20:31.440Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:20:36.484Z] Still waiting to schedule task [2022-10-25T04:20:36.485Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-80536’ is offline [2022-10-25T04:20:36.764Z] ---> Running in 9fed07e98761 [2022-10-25T04:20:36.764Z] Removing intermediate container 9fed07e98761 [2022-10-25T04:20:36.764Z] ---> c61228941735 [2022-10-25T04:20:36.764Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:20:36.764Z] ---> Running in d6a519a47025 [2022-10-25T04:20:36.764Z] Removing intermediate container d6a519a47025 [2022-10-25T04:20:36.764Z] ---> adf01a443650 [2022-10-25T04:20:36.764Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:20:36.764Z] ---> Running in 9e14f3821e08 [2022-10-25T04:20:36.764Z] Removing intermediate container 9e14f3821e08 [2022-10-25T04:20:36.765Z] ---> 55abe633fdbe [2022-10-25T04:20:36.765Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:20:36.765Z] ---> Running in 9c4b1ee42ede [2022-10-25T04:20:36.765Z] Removing intermediate container 9c4b1ee42ede [2022-10-25T04:20:36.765Z] ---> 994f55210481 [2022-10-25T04:20:36.765Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T04:20:36.765Z] ---> Running in 19a278b8f40d [2022-10-25T04:20:36.765Z] Removing intermediate container 19a278b8f40d [2022-10-25T04:20:36.765Z] ---> 0e73a42eb7cc [2022-10-25T04:20:36.765Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:20:36.765Z] ---> Running in b9d8d74a4779 [2022-10-25T04:20:37.334Z] Removing intermediate container b9d8d74a4779 [2022-10-25T04:20:37.334Z] ---> d15973810dba [2022-10-25T04:20:37.334Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:20:37.334Z] ---> Running in ac8decd6319c [2022-10-25T04:20:37.592Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T04:20:38.526Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T04:20:38.784Z] OK: 211 MiB in 51 packages [2022-10-25T04:20:39.042Z] Removing intermediate container ac8decd6319c [2022-10-25T04:20:39.042Z] ---> d84a8523c5a1 [2022-10-25T04:20:39.042Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T04:20:39.042Z] ---> Running in 78bb71d74fcc [2022-10-25T04:20:39.042Z] Removing intermediate container 78bb71d74fcc [2022-10-25T04:20:39.042Z] ---> e8ebb88728e8 [2022-10-25T04:20:39.042Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T04:20:39.301Z] ---> 5e9f617ef873 [2022-10-25T04:20:39.301Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:20:39.301Z] ---> Running in 79c05de246db [2022-10-25T04:21:05.881Z] Removing intermediate container 79c05de246db [2022-10-25T04:21:05.881Z] ---> 3c6e96d2acd1 [2022-10-25T04:21:05.881Z] Step 13/14 : COPY . . [2022-10-25T04:21:06.818Z] ---> 860e7e695078 [2022-10-25T04:21:06.818Z] Step 14/14 : RUN ${MAKE} [2022-10-25T04:21:06.818Z] ---> Running in 687e8ef9bf8d [2022-10-25T04:21:06.818Z] noop [2022-10-25T04:21:07.077Z] Removing intermediate container 687e8ef9bf8d [2022-10-25T04:21:07.077Z] ---> 8078dde06510 [2022-10-25T04:21:07.077Z] Successfully built 8078dde06510 [2022-10-25T04:21:07.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:21:07.403Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T04:21:07.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:21:07.478Z] prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container [2022-10-25T04:21:07.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** ci-base-image-x86_64 cat [2022-10-25T04:21:08.069Z] $ docker top e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:21:08.412Z] + go version [2022-10-25T04:21:08.412Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T04:21:08.423Z] $ docker stop --time=1 e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 [2022-10-25T04:21:09.668Z] $ docker rm -f e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:21:10.061Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T04:21:10.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:21:10.135Z] prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container [2022-10-25T04:21:10.166Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** ci-base-image-x86_64 cat [2022-10-25T04:21:10.521Z] $ docker top 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:21:10.864Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-10-25T04:21:11.160Z] + make test [2022-10-25T04:21:11.160Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T04:21:11.724Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T04:21:23.923Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T04:21:26.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements [2022-10-25T04:21:26.457Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T04:21:26.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.486s coverage: 86.5% of statements [2022-10-25T04:21:34.563Z] 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-10-25T04:21:34.563Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T04:21:37.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T04:21:38.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T04:21:38.108Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T04:21:38.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T04:21:38.145Z] $ docker stop --time=1 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 [2022-10-25T04:21:40.601Z] $ docker rm -f 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T04:21:41.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T04:21:41.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T04:21:41.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T04:21:41.879Z] + ls -al . [2022-10-25T04:21:41.879Z] total 244 [2022-10-25T04:21:41.879Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 04:21 . [2022-10-25T04:21:41.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 .. [2022-10-25T04:21:41.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:21 .git [2022-10-25T04:21:41.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:19 .github [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 04:19 .gitignore [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 04:19 .golangci.yml [2022-10-25T04:21:41.879Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:20 .semver [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 04:19 Attribution.txt [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 04:19 CHANGELOG.md [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 04:19 Dockerfile [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:19 GOVERNANCE.md [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 04:19 Jenkinsfile [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 04:19 LICENSE [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 04:19 Makefile [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 04:19 OWNERS.md [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 04:19 README.md [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:20 VERSION [2022-10-25T04:21:41.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:19 bin [2022-10-25T04:21:41.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:19 cmd [2022-10-25T04:21:41.879Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 04:21 coverage.out [2022-10-25T04:21:41.879Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 04:19 doc [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 04:19 go.mod [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 04:19 go.sum [2022-10-25T04:21:41.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 internal [2022-10-25T04:21:41.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 snap [2022-10-25T04:21:41.879Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:21:42.316Z] + 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=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 --label arch=amd64 --label version=0.0.0 . [2022-10-25T04:21:42.316Z] Sending build context to Docker daemon 21.62MB [2022-10-25T04:21:42.316Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:21:42.316Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T04:21:42.316Z] ---> 8078dde06510 [2022-10-25T04:21:42.316Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:21:42.576Z] ---> Running in f2fdc09bd320 [2022-10-25T04:21:42.576Z] Removing intermediate container f2fdc09bd320 [2022-10-25T04:21:42.576Z] ---> 67e5063745ba [2022-10-25T04:21:42.576Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:21:42.576Z] ---> Running in 318eedecd84a [2022-10-25T04:21:42.576Z] Removing intermediate container 318eedecd84a [2022-10-25T04:21:42.576Z] ---> a2e36ae11d8f [2022-10-25T04:21:42.576Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:21:42.835Z] ---> Running in cafb878162c9 [2022-10-25T04:21:42.835Z] Removing intermediate container cafb878162c9 [2022-10-25T04:21:42.835Z] ---> 432bf0c67fde [2022-10-25T04:21:42.835Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:21:42.835Z] ---> Running in 3d872bfd3499 [2022-10-25T04:21:42.835Z] Removing intermediate container 3d872bfd3499 [2022-10-25T04:21:42.835Z] ---> e349dcda128c [2022-10-25T04:21:42.835Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T04:21:42.835Z] ---> Running in 9d7158ed3820 [2022-10-25T04:21:43.094Z] Removing intermediate container 9d7158ed3820 [2022-10-25T04:21:43.094Z] ---> 44364a08451e [2022-10-25T04:21:43.094Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:21:43.094Z] ---> Running in fc3d4101dd25 [2022-10-25T04:21:43.660Z] Removing intermediate container fc3d4101dd25 [2022-10-25T04:21:43.660Z] ---> a0d5f076301c [2022-10-25T04:21:43.660Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:21:43.660Z] ---> Running in 67e96ff99148 [2022-10-25T04:21:43.919Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T04:21:44.857Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T04:21:45.115Z] OK: 211 MiB in 51 packages [2022-10-25T04:21:45.378Z] Removing intermediate container 67e96ff99148 [2022-10-25T04:21:45.378Z] ---> ad2a77babf07 [2022-10-25T04:21:45.378Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T04:21:45.378Z] ---> Running in 29df86ecc437 [2022-10-25T04:21:45.378Z] Removing intermediate container 29df86ecc437 [2022-10-25T04:21:45.378Z] ---> efebc0a77004 [2022-10-25T04:21:45.378Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T04:21:45.636Z] ---> 441ed771a4f6 [2022-10-25T04:21:45.636Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:21:45.636Z] ---> Running in bfae61b8ca4d [2022-10-25T04:21:46.207Z] Removing intermediate container bfae61b8ca4d [2022-10-25T04:21:46.207Z] ---> c253d257d8ac [2022-10-25T04:21:46.207Z] Step 13/27 : COPY . . [2022-10-25T04:21:47.145Z] ---> 317434d2aad7 [2022-10-25T04:21:47.145Z] Step 14/27 : RUN ${MAKE} [2022-10-25T04:21:47.145Z] ---> Running in 2ae61502bfed [2022-10-25T04:21:47.403Z] 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-10-25T04:22:13.970Z] Removing intermediate container 2ae61502bfed [2022-10-25T04:22:13.970Z] ---> b97ce268920d [2022-10-25T04:22:13.970Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T04:22:13.970Z] 3.16: Pulling from library/alpine [2022-10-25T04:22:13.970Z] 213ec9aee27d: Already exists [2022-10-25T04:22:13.970Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T04:22:13.970Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T04:22:13.970Z] ---> 9c6f07244728 [2022-10-25T04:22:13.970Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T04:22:13.970Z] ---> Running in eceef814be97 [2022-10-25T04:22:13.970Z] Removing intermediate container eceef814be97 [2022-10-25T04:22:13.970Z] ---> 4280b50c7f80 [2022-10-25T04:22:13.970Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T04:22:13.970Z] ---> Running in e3c6ae06ba76 [2022-10-25T04:22:13.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T04:22:13.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T04:22:13.970Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T04:22:13.970Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T04:22:13.970Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T04:22:13.970Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T04:22:13.970Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T04:22:13.970Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T04:22:13.970Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:22:13.970Z] OK: 8 MiB in 20 packages [2022-10-25T04:22:13.970Z] Removing intermediate container e3c6ae06ba76 [2022-10-25T04:22:13.970Z] ---> 8e55bea462e4 [2022-10-25T04:22:13.970Z] Step 18/27 : WORKDIR / [2022-10-25T04:22:13.970Z] ---> Running in 87bbda7f38b5 [2022-10-25T04:22:13.970Z] Removing intermediate container 87bbda7f38b5 [2022-10-25T04:22:13.970Z] ---> e2827cfb6c73 [2022-10-25T04:22:13.970Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T04:22:13.970Z] ---> 7db14ad29205 [2022-10-25T04:22:13.970Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T04:22:13.970Z] ---> e9abe0d2aa6d [2022-10-25T04:22:13.970Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T04:22:13.970Z] ---> d14cf2a52179 [2022-10-25T04:22:13.970Z] Step 22/27 : EXPOSE 59984 [2022-10-25T04:22:13.970Z] ---> Running in ec3f363fcdea [2022-10-25T04:22:13.970Z] Removing intermediate container ec3f363fcdea [2022-10-25T04:22:13.970Z] ---> eda9ff4cb84a [2022-10-25T04:22:13.970Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T04:22:13.970Z] ---> Running in 92518afea161 [2022-10-25T04:22:13.970Z] Removing intermediate container 92518afea161 [2022-10-25T04:22:13.970Z] ---> 6345516593c9 [2022-10-25T04:22:13.970Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T04:22:13.970Z] ---> Running in f0823f2f5482 [2022-10-25T04:22:14.229Z] Removing intermediate container f0823f2f5482 [2022-10-25T04:22:14.229Z] ---> 078b02cfad57 [2022-10-25T04:22:14.229Z] Step 25/27 : LABEL arch=amd64 [2022-10-25T04:22:14.229Z] ---> Running in 28df98238fbf [2022-10-25T04:22:14.229Z] Removing intermediate container 28df98238fbf [2022-10-25T04:22:14.229Z] ---> 6e0c4520af99 [2022-10-25T04:22:14.229Z] Step 26/27 : LABEL git_sha=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [2022-10-25T04:22:14.229Z] ---> Running in 9008cbcb46a8 [2022-10-25T04:22:14.229Z] Removing intermediate container 9008cbcb46a8 [2022-10-25T04:22:14.229Z] ---> 83e5ab791413 [2022-10-25T04:22:14.229Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T04:22:14.229Z] ---> Running in dee94bf6acfe [2022-10-25T04:22:14.487Z] Removing intermediate container dee94bf6acfe [2022-10-25T04:22:14.487Z] ---> 15a896105b63 [2022-10-25T04:22:14.487Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T04:22:14.487Z] Successfully built 15a896105b63 [2022-10-25T04:22:14.487Z] 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-10-25T04:22:14.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:22:14.885Z] [2022-10-25T04:22:14.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:22:15.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:22:15.177Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T04:22:15.177Z] 5eb5b503b376: Pulling fs layer [2022-10-25T04:22:15.177Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T04:22:15.177Z] ec43610c2a17: Pulling fs layer [2022-10-25T04:22:15.177Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T04:22:15.177Z] 33b1e0a273af: Pulling fs layer [2022-10-25T04:22:15.177Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T04:22:15.177Z] 2f39f015ded8: Pulling fs layer [2022-10-25T04:22:15.177Z] 33b1e0a273af: Waiting [2022-10-25T04:22:15.177Z] 2f39f015ded8: Waiting [2022-10-25T04:22:15.177Z] 5d3b04190fa2: Waiting [2022-10-25T04:22:15.177Z] 3a2ae6a8a46f: Waiting [2022-10-25T04:22:15.177Z] 5c69ac0246d0: Download complete [2022-10-25T04:22:15.177Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T04:22:15.177Z] 3a2ae6a8a46f: Download complete [2022-10-25T04:22:15.177Z] 33b1e0a273af: Verifying Checksum [2022-10-25T04:22:15.177Z] 33b1e0a273af: Download complete [2022-10-25T04:22:15.177Z] 5d3b04190fa2: Download complete [2022-10-25T04:22:15.436Z] ec43610c2a17: Verifying Checksum [2022-10-25T04:22:15.436Z] ec43610c2a17: Download complete [2022-10-25T04:22:15.436Z] 5eb5b503b376: Verifying Checksum [2022-10-25T04:22:15.436Z] 5eb5b503b376: Download complete [2022-10-25T04:22:16.000Z] 2f39f015ded8: Download complete [2022-10-25T04:22:16.938Z] 5eb5b503b376: Pull complete [2022-10-25T04:22:16.938Z] 5c69ac0246d0: Pull complete [2022-10-25T04:22:17.505Z] ec43610c2a17: Pull complete [2022-10-25T04:22:17.505Z] 3a2ae6a8a46f: Pull complete [2022-10-25T04:22:17.764Z] 33b1e0a273af: Pull complete [2022-10-25T04:22:17.764Z] 5d3b04190fa2: Pull complete [2022-10-25T04:22:23.092Z] 2f39f015ded8: Pull complete [2022-10-25T04:22:23.092Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T04:22:23.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:22:23.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:22:23.162Z] prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container [2022-10-25T04:22:23.191Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T04:22:25.591Z] $ docker top 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:22:25.961Z] ---> job-cost.sh [2022-10-25T04:22:25.961Z] lf-activate-venv: SKIPPING [2022-10-25T04:22:25.961Z] INFO: No Stack... [2022-10-25T04:22:26.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T04:22:26.786Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T04:22:27.071Z] + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv [2022-10-25T04:22:27.071Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T04:22:27.083Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [2022-10-25T04:22:27.090Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] did not exist. Created. [2022-10-25T04:22:27.090Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T04:22:27.389Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T04:22:27.419Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T04:22:27.425Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T04:22:27.449Z] $ docker stop --time=1 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b [2022-10-25T04:22:28.618Z] $ docker rm -f 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T08:20:42.076Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116810 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] ws [2022-10-25T08:20:42.086Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-10-25T08:20:42.124Z] The recommended git tool is: git [2022-10-25T08:20:47.840Z] using credential edgex-jenkins-ssh [2022-10-25T08:20:47.856Z] Cloning the remote Git repository [2022-10-25T08:20:47.901Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T08:20:47.973Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-10-25T08:20:48.121Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T08:20:48.122Z] > git --version # timeout=10 [2022-10-25T08:20:48.142Z] > git --version # 'git version 2.25.1' [2022-10-25T08:20:48.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:20:48.192Z] Verifying host key using known hosts file [2022-10-25T08:20:48.394Z] 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-10-25T08:20:48.409Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T08:20:49.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T08:20:49.840Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T08:20:50.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T08:20:50.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T08:20:50.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:20:50.832Z] Verifying host key using known hosts file [2022-10-25T08:20:50.840Z] 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-10-25T08:20:50.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T08:20:51.510Z] Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 [2022-10-25T08:20:52.252Z] Merge succeeded, producing a532537c8df3e6dbad09e52d76e7984388350fce [2022-10-25T08:20:52.253Z] Checking out Revision a532537c8df3e6dbad09e52d76e7984388350fce (PR-182) [2022-10-25T08:20:51.528Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T08:20:51.555Z] > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 [2022-10-25T08:20:51.820Z] > git remote # timeout=10 [2022-10-25T08:20:51.840Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T08:20:51.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:20:51.867Z] Verifying host key using known hosts file [2022-10-25T08:20:51.872Z] 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-10-25T08:20:51.888Z] > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 [2022-10-25T08:20:52.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T08:20:52.257Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T08:20:52.277Z] > git checkout -f a532537c8df3e6dbad09e52d76e7984388350fce # timeout=10 [2022-10-25T08:20:55.798Z] Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" [2022-10-25T08:20:55.830Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:20:56.712Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T08:20:56.713Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:20:56.713Z] Dload Upload Total Spent Left Speed [2022-10-25T08:20:56.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 236k [2022-10-25T08:20:55.804Z] > git rev-list --no-walk e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a # timeout=10 [Pipeline] sh [2022-10-25T08:20:57.418Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T08:20:57.760Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T08:20:57.760Z] + sudo tee /etc/docker/daemon.new [2022-10-25T08:20:57.760Z] { [2022-10-25T08:20:57.760Z] "registry-mirrors": [ [2022-10-25T08:20:57.760Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T08:20:57.760Z] ], [2022-10-25T08:20:57.761Z] "bip": "10.250.0.254/24", [2022-10-25T08:20:57.761Z] "hosts": [ [2022-10-25T08:20:57.761Z] "tcp://0.0.0.0:5555", [2022-10-25T08:20:57.761Z] "unix:///var/run/docker.sock" [2022-10-25T08:20:57.761Z] ], [2022-10-25T08:20:57.761Z] "mtu": 1458, [2022-10-25T08:20:57.761Z] "selinux-enabled": true, [2022-10-25T08:20:57.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T08:20:57.761Z] } [Pipeline] sh [2022-10-25T08:20:58.090Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T08:20:58.416Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:21:16.673Z] provisioning config files... [2022-10-25T08:21:16.698Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config14122586805345878746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:21:17.050Z] ---> docker-login.sh [2022-10-25T08:21:17.050Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:21:17.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:21:17.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:21:17.640Z] Configure a credential helper to remove this warning. See [2022-10-25T08:21:17.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:21:17.640Z] [2022-10-25T08:21:17.640Z] Login Succeeded [2022-10-25T08:21:17.640Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:21:17.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:21:18.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:21:18.181Z] Configure a credential helper to remove this warning. See [2022-10-25T08:21:18.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:21:18.181Z] [2022-10-25T08:21:18.181Z] Login Succeeded [2022-10-25T08:21:18.181Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:21:18.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:21:18.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:21:18.450Z] Configure a credential helper to remove this warning. See [2022-10-25T08:21:18.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:21:18.450Z] [2022-10-25T08:21:18.450Z] Login Succeeded [2022-10-25T08:21:18.450Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:21:18.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:21:18.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:21:18.718Z] Configure a credential helper to remove this warning. See [2022-10-25T08:21:18.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:21:18.718Z] [2022-10-25T08:21:18.718Z] Login Succeeded [2022-10-25T08:21:18.718Z] docker.io [2022-10-25T08:21:18.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:21:19.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:21:19.258Z] Configure a credential helper to remove this warning. See [2022-10-25T08:21:19.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:21:19.258Z] [2022-10-25T08:21:19.258Z] Login Succeeded [2022-10-25T08:21:19.258Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:21:19.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T08:21:19.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:21:19.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:21:19.533Z] ========================================================= [2022-10-25T08:21:19.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T08:21:19.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:21:19.983Z] + 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-10-25T08:21:20.575Z] Sending build context to Docker daemon 14.85MB [2022-10-25T08:21:20.575Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:21:20.575Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T08:21:20.575Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T08:21:20.575Z] 9b18e9b68314: Pulling fs layer [2022-10-25T08:21:20.575Z] d32db5db7311: Pulling fs layer [2022-10-25T08:21:20.575Z] d0c4b47475fc: Pulling fs layer [2022-10-25T08:21:20.575Z] 5831b945b038: Pulling fs layer [2022-10-25T08:21:20.575Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T08:21:20.575Z] e10730c5d714: Pulling fs layer [2022-10-25T08:21:20.575Z] 5dd5c2283517: Pulling fs layer [2022-10-25T08:21:20.575Z] d5ac0230b979: Pulling fs layer [2022-10-25T08:21:20.575Z] 5831b945b038: Waiting [2022-10-25T08:21:20.575Z] 86bbec2aaacd: Waiting [2022-10-25T08:21:20.575Z] e10730c5d714: Waiting [2022-10-25T08:21:20.575Z] 5dd5c2283517: Waiting [2022-10-25T08:21:20.575Z] d5ac0230b979: Waiting [2022-10-25T08:21:20.845Z] d0c4b47475fc: Download complete [2022-10-25T08:21:20.845Z] d32db5db7311: Verifying Checksum [2022-10-25T08:21:20.845Z] d32db5db7311: Download complete [2022-10-25T08:21:20.845Z] 86bbec2aaacd: Download complete [2022-10-25T08:21:20.845Z] e10730c5d714: Verifying Checksum [2022-10-25T08:21:20.845Z] e10730c5d714: Download complete [2022-10-25T08:21:20.845Z] 9b18e9b68314: Verifying Checksum [2022-10-25T08:21:20.845Z] 9b18e9b68314: Download complete [2022-10-25T08:21:21.843Z] d5ac0230b979: Verifying Checksum [2022-10-25T08:21:21.843Z] d5ac0230b979: Download complete [2022-10-25T08:21:22.126Z] 9b18e9b68314: Pull complete [2022-10-25T08:21:22.715Z] d32db5db7311: Pull complete [2022-10-25T08:21:22.985Z] d0c4b47475fc: Pull complete [2022-10-25T08:21:23.256Z] 5dd5c2283517: Download complete [2022-10-25T08:21:23.846Z] 5831b945b038: Download complete [2022-10-25T08:21:36.188Z] 5831b945b038: Pull complete [2022-10-25T08:21:36.188Z] 86bbec2aaacd: Pull complete [2022-10-25T08:21:36.188Z] e10730c5d714: Pull complete [2022-10-25T08:21:42.835Z] 5dd5c2283517: Pull complete [2022-10-25T08:21:43.799Z] d5ac0230b979: Pull complete [2022-10-25T08:21:43.799Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T08:21:44.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T08:21:44.067Z] ---> 59b3b1a385d4 [2022-10-25T08:21:44.067Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:21:46.662Z] ---> Running in bd6c8df3acfb [2022-10-25T08:21:46.662Z] Removing intermediate container bd6c8df3acfb [2022-10-25T08:21:46.662Z] ---> 515071c45466 [2022-10-25T08:21:46.662Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:21:46.930Z] ---> Running in 28ec429d6011 [2022-10-25T08:21:47.197Z] Removing intermediate container 28ec429d6011 [2022-10-25T08:21:47.197Z] ---> 5fac224b087a [2022-10-25T08:21:47.197Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:21:47.197Z] ---> Running in b23f32d53ed4 [2022-10-25T08:21:47.468Z] Removing intermediate container b23f32d53ed4 [2022-10-25T08:21:47.468Z] ---> 791b875ee3bd [2022-10-25T08:21:47.468Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:21:47.735Z] ---> Running in 2a2ef249cd29 [2022-10-25T08:21:48.005Z] Removing intermediate container 2a2ef249cd29 [2022-10-25T08:21:48.005Z] ---> f1c13d62c9c8 [2022-10-25T08:21:48.005Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T08:21:48.005Z] ---> Running in fef685f90a0c [2022-10-25T08:21:48.590Z] Removing intermediate container fef685f90a0c [2022-10-25T08:21:48.590Z] ---> 34455f7f9f96 [2022-10-25T08:21:48.590Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:21:48.590Z] ---> Running in 7d2e477bff04 [2022-10-25T08:21:50.557Z] Removing intermediate container 7d2e477bff04 [2022-10-25T08:21:50.557Z] ---> 3790e2edfb15 [2022-10-25T08:21:50.557Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:21:50.557Z] ---> Running in 2a5b34b744ac [2022-10-25T08:21:51.519Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:21:52.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:21:53.449Z] OK: 221 MiB in 51 packages [2022-10-25T08:21:54.423Z] Removing intermediate container 2a5b34b744ac [2022-10-25T08:21:54.423Z] ---> 9641a8d86d18 [2022-10-25T08:21:54.423Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T08:21:54.423Z] ---> Running in 138fd6f81a7a [2022-10-25T08:21:54.690Z] Removing intermediate container 138fd6f81a7a [2022-10-25T08:21:54.690Z] ---> fe39f1b12333 [2022-10-25T08:21:54.690Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T08:21:55.273Z] ---> c82f4f8ef36e [2022-10-25T08:21:55.273Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:21:55.273Z] ---> Running in 70b2fd459bb2 [2022-10-25T08:22:51.698Z] Removing intermediate container 70b2fd459bb2 [2022-10-25T08:22:51.698Z] ---> 4d8d81ecf30a [2022-10-25T08:22:51.698Z] Step 13/14 : COPY . . [2022-10-25T08:22:51.698Z] ---> 7d369be83106 [2022-10-25T08:22:51.698Z] Step 14/14 : RUN ${MAKE} [2022-10-25T08:22:51.698Z] ---> Running in b5fd44d8e64b [2022-10-25T08:22:52.283Z] noop [2022-10-25T08:22:52.871Z] Removing intermediate container b5fd44d8e64b [2022-10-25T08:22:52.871Z] ---> 2c0050b577e8 [2022-10-25T08:22:52.871Z] Successfully built 2c0050b577e8 [2022-10-25T08:22:52.871Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:22:53.227Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T08:22:53.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:22:53.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container [2022-10-25T08:22:53.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T08:22:54.718Z] $ docker top aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:22:55.552Z] + go version [2022-10-25T08:22:55.552Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T08:22:55.570Z] $ docker stop --time=1 aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 [2022-10-25T08:22:57.219Z] $ docker rm -f aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:22:57.792Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T08:22:57.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:22:57.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container [2022-10-25T08:22:58.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T08:22:59.388Z] $ docker top 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:23:00.258Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-10-25T08:23:00.913Z] + make test [2022-10-25T08:23:00.913Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T08:23:02.865Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T08:24:54.555Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T08:24:54.555Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.213s coverage: 29.3% of statements [2022-10-25T08:24:54.555Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T08:25:02.759Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.675s coverage: 86.5% of statements [2022-10-25T08:25:03.028Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T08:25:03.028Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T08:25:41.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T08:25:41.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T08:25:41.924Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T08:25:41.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T08:25:41.950Z] $ docker stop --time=1 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 [2022-10-25T08:25:44.014Z] $ docker rm -f 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:25:45.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T08:25:45.106Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T08:25:45.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:25:46.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T08:25:46.556Z] + ls -al . [2022-10-25T08:25:46.557Z] total 240 [2022-10-25T08:25:46.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:23 . [2022-10-25T08:25:46.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 .. [2022-10-25T08:25:46.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:20 .git [2022-10-25T08:25:46.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 .github [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 08:20 .gitignore [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:20 .golangci.yml [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 08:20 Attribution.txt [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 08:20 CHANGELOG.md [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 08:20 Dockerfile [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:20 GOVERNANCE.md [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 08:20 Jenkinsfile [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 08:20 LICENSE [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 08:20 Makefile [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 08:20 OWNERS.md [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 08:20 README.md [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:20 VERSION [2022-10-25T08:25:46.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:20 bin [2022-10-25T08:25:46.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 cmd [2022-10-25T08:25:46.557Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 08:25 coverage.out [2022-10-25T08:25:46.557Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 08:20 doc [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 08:20 go.mod [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 08:20 go.sum [2022-10-25T08:25:46.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 internal [2022-10-25T08:25:46.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 snap [2022-10-25T08:25:46.557Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 08:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:25:46.974Z] + 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=a532537c8df3e6dbad09e52d76e7984388350fce --label arch=arm64 --label version=0.0.0 . [2022-10-25T08:25:47.987Z] Sending build context to Docker daemon 14.93MB [2022-10-25T08:25:47.987Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:25:47.987Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T08:25:47.987Z] ---> 2c0050b577e8 [2022-10-25T08:25:47.987Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:25:47.987Z] ---> Running in 8a3d2e666a74 [2022-10-25T08:25:49.414Z] Removing intermediate container 8a3d2e666a74 [2022-10-25T08:25:49.414Z] ---> 65dc918fc17f [2022-10-25T08:25:49.414Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:25:49.414Z] ---> Running in d719c4c29ba1 [2022-10-25T08:25:49.682Z] Removing intermediate container d719c4c29ba1 [2022-10-25T08:25:49.683Z] ---> c92495bc14e3 [2022-10-25T08:25:49.683Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:25:49.683Z] ---> Running in fb06b852e0c9 [2022-10-25T08:25:50.272Z] Removing intermediate container fb06b852e0c9 [2022-10-25T08:25:50.272Z] ---> 59f2479d9ef6 [2022-10-25T08:25:50.272Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:25:50.272Z] ---> Running in 7cfc8cc36be6 [2022-10-25T08:25:52.243Z] Removing intermediate container 7cfc8cc36be6 [2022-10-25T08:25:52.243Z] ---> 335b032af15e [2022-10-25T08:25:52.243Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T08:25:52.243Z] ---> Running in c3a7f3ee5541 [2022-10-25T08:25:52.243Z] Removing intermediate container c3a7f3ee5541 [2022-10-25T08:25:52.243Z] ---> 64d420d69816 [2022-10-25T08:25:52.243Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:25:52.510Z] ---> Running in c5fe39d334b2 [2022-10-25T08:25:55.869Z] Removing intermediate container c5fe39d334b2 [2022-10-25T08:25:55.869Z] ---> e17fef02f06a [2022-10-25T08:25:55.869Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:25:55.869Z] ---> Running in ddc6a5d75ced [2022-10-25T08:25:57.825Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:25:58.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:25:59.774Z] OK: 221 MiB in 51 packages [2022-10-25T08:26:00.752Z] Removing intermediate container ddc6a5d75ced [2022-10-25T08:26:00.752Z] ---> a4faa2b8e1a6 [2022-10-25T08:26:00.752Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T08:26:01.022Z] ---> Running in 74faf03f396e [2022-10-25T08:26:01.302Z] Removing intermediate container 74faf03f396e [2022-10-25T08:26:01.302Z] ---> d9ef64bb769a [2022-10-25T08:26:01.302Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T08:26:01.888Z] ---> fd658f6409d4 [2022-10-25T08:26:01.888Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:26:02.157Z] ---> Running in 756976a1113f [2022-10-25T08:26:04.749Z] Removing intermediate container 756976a1113f [2022-10-25T08:26:04.749Z] ---> cc6147204c8d [2022-10-25T08:26:04.749Z] Step 13/27 : COPY . . [2022-10-25T08:26:06.700Z] ---> 93155059feb8 [2022-10-25T08:26:06.700Z] Step 14/27 : RUN ${MAKE} [2022-10-25T08:26:06.700Z] ---> Running in 8afc2c45d8d0 [2022-10-25T08:26:07.661Z] 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-10-25T08:28:44.378Z] Removing intermediate container 8afc2c45d8d0 [2022-10-25T08:28:44.378Z] ---> dd3de6cb967f [2022-10-25T08:28:44.378Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T08:28:44.378Z] 3.16: Pulling from library/alpine [2022-10-25T08:28:44.378Z] 9b18e9b68314: Already exists [2022-10-25T08:28:44.378Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T08:28:44.378Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T08:28:44.378Z] ---> a6215f271958 [2022-10-25T08:28:44.378Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T08:28:44.378Z] ---> Running in 0ab9b88ee0bb [2022-10-25T08:28:44.378Z] Removing intermediate container 0ab9b88ee0bb [2022-10-25T08:28:44.378Z] ---> ae750c8a5dce [2022-10-25T08:28:44.378Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T08:28:44.378Z] ---> Running in b03e6179eeaf [2022-10-25T08:28:44.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:28:44.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:28:44.645Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T08:28:44.645Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T08:28:44.645Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T08:28:44.645Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T08:28:44.645Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T08:28:44.645Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T08:28:44.645Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:28:44.911Z] OK: 8 MiB in 20 packages [2022-10-25T08:28:45.888Z] Removing intermediate container b03e6179eeaf [2022-10-25T08:28:45.888Z] ---> 45c05511a0ad [2022-10-25T08:28:45.888Z] Step 18/27 : WORKDIR / [2022-10-25T08:28:45.888Z] ---> Running in b4ea6cbcc576 [2022-10-25T08:28:46.156Z] Removing intermediate container b4ea6cbcc576 [2022-10-25T08:28:46.156Z] ---> b7b2ad2f1004 [2022-10-25T08:28:46.156Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T08:28:47.619Z] ---> 571451fd58b8 [2022-10-25T08:28:47.619Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T08:28:48.211Z] ---> 4611b5f8ebff [2022-10-25T08:28:48.211Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T08:28:48.794Z] ---> 3418bfcdec50 [2022-10-25T08:28:48.794Z] Step 22/27 : EXPOSE 59984 [2022-10-25T08:28:48.794Z] ---> Running in fce17fbea591 [2022-10-25T08:28:49.060Z] Removing intermediate container fce17fbea591 [2022-10-25T08:28:49.061Z] ---> da5a4a6cb5a5 [2022-10-25T08:28:49.061Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T08:28:49.330Z] ---> Running in 4a748e83556f [2022-10-25T08:28:49.596Z] Removing intermediate container 4a748e83556f [2022-10-25T08:28:49.596Z] ---> 5fbac1a1c29e [2022-10-25T08:28:49.596Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T08:28:49.596Z] ---> Running in 81446ae07b7a [2022-10-25T08:28:49.864Z] Removing intermediate container 81446ae07b7a [2022-10-25T08:28:49.864Z] ---> 6f2ed285be61 [2022-10-25T08:28:49.864Z] Step 25/27 : LABEL arch=arm64 [2022-10-25T08:28:50.133Z] ---> Running in 5fb1b932c27a [2022-10-25T08:28:50.400Z] Removing intermediate container 5fb1b932c27a [2022-10-25T08:28:50.400Z] ---> e283ebe51bf8 [2022-10-25T08:28:50.400Z] Step 26/27 : LABEL git_sha=a532537c8df3e6dbad09e52d76e7984388350fce [2022-10-25T08:28:50.400Z] ---> Running in 7cca89e18733 [2022-10-25T08:28:50.669Z] Removing intermediate container 7cca89e18733 [2022-10-25T08:28:50.669Z] ---> 75a8f5f03fed [2022-10-25T08:28:50.669Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T08:28:50.669Z] ---> Running in 5ec24fc1f0e5 [2022-10-25T08:28:50.936Z] Removing intermediate container 5ec24fc1f0e5 [2022-10-25T08:28:50.936Z] ---> 009e2f87de5c [2022-10-25T08:28:50.936Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T08:28:51.203Z] Successfully built 009e2f87de5c [2022-10-25T08:28:51.203Z] 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-10-25T08:28:51.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:28:51.691Z] [2022-10-25T08:28:51.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:28:52.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:28:52.031Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T08:28:52.031Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T08:28:52.031Z] 04944245beec: Pulling fs layer [2022-10-25T08:28:52.031Z] 699f458cf7ca: Pulling fs layer [2022-10-25T08:28:52.031Z] 765212b225bb: Pulling fs layer [2022-10-25T08:28:52.031Z] f23df028b6ca: Pulling fs layer [2022-10-25T08:28:52.031Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T08:28:52.031Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T08:28:52.031Z] 765212b225bb: Waiting [2022-10-25T08:28:52.031Z] d65c8cfc05b1: Waiting [2022-10-25T08:28:52.031Z] 2437ff75d9bd: Waiting [2022-10-25T08:28:52.031Z] f23df028b6ca: Waiting [2022-10-25T08:28:52.300Z] 04944245beec: Verifying Checksum [2022-10-25T08:28:52.300Z] 04944245beec: Download complete [2022-10-25T08:28:52.300Z] 765212b225bb: Download complete [2022-10-25T08:28:52.300Z] f23df028b6ca: Download complete [2022-10-25T08:28:52.300Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T08:28:52.300Z] d65c8cfc05b1: Download complete [2022-10-25T08:28:52.569Z] 699f458cf7ca: Verifying Checksum [2022-10-25T08:28:52.569Z] 699f458cf7ca: Download complete [2022-10-25T08:28:52.838Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T08:28:52.838Z] 8998bd30e6a1: Download complete [2022-10-25T08:28:55.431Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T08:28:55.431Z] 2437ff75d9bd: Download complete [2022-10-25T08:28:57.387Z] 8998bd30e6a1: Pull complete [2022-10-25T08:28:57.387Z] 04944245beec: Pull complete [2022-10-25T08:28:58.820Z] 699f458cf7ca: Pull complete [2022-10-25T08:28:59.090Z] 765212b225bb: Pull complete [2022-10-25T08:29:00.053Z] f23df028b6ca: Pull complete [2022-10-25T08:29:00.322Z] d65c8cfc05b1: Pull complete [2022-10-25T08:29:15.332Z] 2437ff75d9bd: Pull complete [2022-10-25T08:29:15.332Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T08:29:15.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:29:15.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:29:15.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container [2022-10-25T08:29:15.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T08:29:18.244Z] $ docker top 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:19.087Z] ---> job-cost.sh [2022-10-25T08:29:19.087Z] lf-activate-venv: SKIPPING [2022-10-25T08:29:19.087Z] INFO: No Stack... [2022-10-25T08:29:19.352Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T08:29:20.310Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T08:29:20.953Z] + cut -d, -f6 [2022-10-25T08:29:20.953Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-10-25T08:29:21.017Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [2022-10-25T08:29:21.025Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] did not exist. Created. [2022-10-25T08:29:21.025Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T08:29:21.359Z] /w/workspace/device-onvif-camera/2@tmp/durable-8b44f831/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T08:29:22.013Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T08:29:22.036Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T08:29:22.088Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T08:29:22.096Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T08:29:22.107Z] $ docker stop --time=1 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 [2022-10-25T08:29:23.624Z] $ docker rm -f 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 [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-10-25T08:29:24.022Z] provisioning config files... [2022-10-25T08:29:24.028Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config10331974962526420966tmp [Pipeline] { [Pipeline] sh [2022-10-25T08:29:24.324Z] + set +x [2022-10-25T08:29:24.324Z] + + curl -s https://codecov.io/bash [2022-10-25T08:29:24.324Z] bash -s -- [2022-10-25T08:29:24.324Z] [2022-10-25T08:29:24.324Z] _____ _ [2022-10-25T08:29:24.324Z] / ____| | | [2022-10-25T08:29:24.324Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T08:29:24.324Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T08:29:24.324Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T08:29:24.324Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T08:29:24.324Z] Bash-1.0.6 [2022-10-25T08:29:24.324Z] [2022-10-25T08:29:24.324Z] [2022-10-25T08:29:24.324Z] ==> git version 2.25.1 found [2022-10-25T08:29:24.324Z] ==> 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-10-25T08:29:24.324Z] Release-Date: 2020-01-08 [2022-10-25T08:29:24.324Z] 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-10-25T08:29:24.324Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T08:29:24.324Z] ==> Jenkins CI detected. [2022-10-25T08:29:24.324Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-25T08:29:24.324Z] project root: . [2022-10-25T08:29:24.324Z] --> token set from env [2022-10-25T08:29:24.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T08:29:24.324Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T08:29:24.324Z] ==> Python coveragepy not found [2022-10-25T08:29:24.324Z] ==> Searching for coverage reports in: [2022-10-25T08:29:24.324Z] + . [2022-10-25T08:29:24.324Z] -> Found 1 reports [2022-10-25T08:29:24.324Z] ==> Detecting git/mercurial file structure [2022-10-25T08:29:24.324Z] ==> Reading reports [2022-10-25T08:29:24.324Z] + ./coverage.out bytes=79184 [2022-10-25T08:29:24.324Z] ==> Appending adjustments [2022-10-25T08:29:24.324Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T08:29:24.584Z] + Found adjustments [2022-10-25T08:29:24.584Z] ==> Gzipping contents [2022-10-25T08:29:24.584Z] 12K /tmp/codecov.KyUw4Q.gz [2022-10-25T08:29:24.584Z] ==> Uploading reports [2022-10-25T08:29:24.584Z] url: https://codecov.io [2022-10-25T08:29:24.584Z] query: branch=PR-182&commit=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-25T08:29:24.584Z] -> Pinging Codecov [2022-10-25T08:29:24.584Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-182&commit=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-25T08:29:24.843Z] -> Uploading to [2022-10-25T08:29:24.843Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/134d258ee2bdae13520e4fd8bee1812bcbf8e9d8/872cbae9-8cb9-4430-b4a9-09dbb72d14f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T082924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6ad572081bba8bf020b9962a56695c5691e00aeb0377d654c13abb79c52bde [2022-10-25T08:29:24.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:29:24.843Z] Dload Upload Total Spent Left Speed [2022-10-25T08:29:25.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10882 0 0 100 10882 0 49018 --:--:-- --:--:-- --:--:-- 49018 [2022-10-25T08:29:25.102Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] } [2022-10-25T08:29:25.108Z] 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-10-25T08:29:25.818Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] [2022-10-25T08:29:25.818Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T08:29:25.818Z] total 16 [2022-10-25T08:29:25.818Z] drwxr-xr-x 3 root root 4096 Oct 25 04:22 . [2022-10-25T08:29:25.818Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:22 .. [2022-10-25T08:29:25.818Z] drwxr-xr-x 2 root root 4096 Oct 25 04:22 cost [2022-10-25T08:29:25.818Z] -rw-r--r-- 1 root root 91 Oct 25 04:22 cost.csv [2022-10-25T08:29:25.818Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T08:29:25.818Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-25T08:29:25.818Z] total 16 [2022-10-25T08:29:25.818Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:22 . [2022-10-25T08:29:25.818Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:22 .. [2022-10-25T08:29:25.818Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 04:22 cost [2022-10-25T08:29:25.818Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 25 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:26.107Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:26.966Z] ---> package-listing.sh [2022-10-25T08:29:26.966Z] ++ facter osfamily [2022-10-25T08:29:26.966Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T08:29:26.966Z] + OS_FAMILY=debian [2022-10-25T08:29:26.966Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-182 [2022-10-25T08:29:26.966Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T08:29:26.966Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T08:29:26.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T08:29:26.966Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T08:29:26.966Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-25T08:29:26.966Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T08:29:26.966Z] + case "${OS_FAMILY}" in [2022-10-25T08:29:26.966Z] + dpkg -l [2022-10-25T08:29:26.966Z] + grep '^ii' [2022-10-25T08:29:27.225Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T08:29:27.225Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T08:29:27.225Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T08:29:27.225Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-25T08:29:27.225Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ [2022-10-25T08:29:27.225Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-182/archives/ [Pipeline] echo [2022-10-25T08:29:27.235Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T08:29:27.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:29:28.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:29:28.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:29:28.148Z] prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container [2022-10-25T08:29:28.182Z] $ 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-182/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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T08:29:28.388Z] $ docker top 8586a2ad81948334709f00d260fec56c7a9be51b4e62d150fef266619548505d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:29:28.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T08:29:29.009Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T08:29:29.292Z] + ls /var/log/sa-host [2022-10-25T08:29:29.292Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:29:29.355Z] provisioning config files... [2022-10-25T08:29:29.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config17362335296575725424tmp [Pipeline] { [Pipeline] echo [2022-10-25T08:29:29.375Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:29.657Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T08:29:29.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:29.987Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T08:29:29.995Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:30.278Z] ---> sudo-logs.sh [2022-10-25T08:29:30.278Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T08:29:30.302Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:30.583Z] ---> job-cost.sh [2022-10-25T08:29:30.583Z] lf-activate-venv: SKIPPING [2022-10-25T08:29:30.583Z] DEBUG: total: 0.2199999988079071 [2022-10-25T08:29:30.583Z] INFO: Retrieving Stack Cost... [2022-10-25T08:29:30.842Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:29:31.410Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T08:29:31.421Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:29:31.705Z] ---> logs-deploy.sh [2022-10-25T08:29:31.705Z] lf-activate-venv: SKIPPING [2022-10-25T08:29:31.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/2 [2022-10-25T08:29:31.705Z] INFO: archiving workspace using pattern(s): [2022-10-25T08:29:32.639Z] Archives upload complete. [2022-10-25T08:29:32.639Z] INFO: archiving logs to Nexus