MonicaisHer commented: recheck 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 MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 82843687bcf82fd8ddbc6870f1be613a828c9679 rather than 1194f4c37254434fbe91228c6fb68d2a7544bc72 Obtained Jenkinsfile from 82843687bcf82fd8ddbc6870f1be613a828c9679 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-ssh1729788864476163509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh15815021672256570970.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18153594881141101504.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh2909908614901363360.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5074113179775733175.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17120 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 1194f4c37254434fbe91228c6fb68d2a7544bc72 Merge succeeded, producing 1ecd3b8b97d690817c6baab8461d80927bacec05 Checking out Revision 1ecd3b8b97d690817c6baab8461d80927bacec05 (PR-103) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1194f4c37254434fbe91228c6fb68d2a7544bc72 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ecd3b8b97d690817c6baab8461d80927bacec05 # timeout=10 Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T08:44:49.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T08:44:49.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T08:44:49.643Z] ========================================================= [2022-07-07T08:44:49.643Z] EdgeX Global Pipelines Version Info [2022-07-07T08:44:49.643Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c9dbbe6636513659bc94b370cb5d05b50b3f1f8f # timeout=10 [2022-07-07T08:44:50.415Z] ------------------- [2022-07-07T08:44:50.415Z] stable info: [2022-07-07T08:44:50.415Z] ------------------- [2022-07-07T08:44:50.415Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T08:44:50.415Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T08:44:50.415Z] Message: update stable to v1.0.234 [2022-07-07T08:44:50.989Z] ------------------- [2022-07-07T08:44:50.989Z] experimental info: [2022-07-07T08:44:50.989Z] ------------------- [2022-07-07T08:44:50.989Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T08:44:50.989Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T08:44:50.989Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T08:44:51.167Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-07T08:44:51.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-07T08:44:51.191Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T08:44:51.204Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T08:44:51.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T08:44:51.228Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T08:44:51.239Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T08:44:51.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T08:44:51.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T08:44:51.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T08:44:51.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T08:44:51.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-07T08:44:51.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T08:44:51.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T08:44:51.342Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T08:44:51.355Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T08:44:51.370Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T08:44:51.379Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T08:44:51.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T08:44:51.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T08:44:51.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T08:44:51.430Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T08:44:51.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T08:44:51.457Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T08:44:51.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T08:44:51.487Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T08:44:51.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T08:44:51.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2022-07-07T08:44:51.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2022-07-07T08:44:51.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2022-07-07T08:44:51.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ecd3b8b97d690817c6baab8461d80927bacec05 [Pipeline] echo [2022-07-07T08:44:51.539Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ecd3b8 [Pipeline] echo [2022-07-07T08:44:51.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T08:44:51.578Z] provisioning config files... [2022-07-07T08:44:51.594Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config1514293341755196356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:44:51.910Z] ---> docker-login.sh [2022-07-07T08:44:51.910Z] nexus3.edgexfoundry.org:10001 [2022-07-07T08:44:52.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:44:52.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:44:52.430Z] Configure a credential helper to remove this warning. See [2022-07-07T08:44:52.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:44:52.430Z] [2022-07-07T08:44:52.430Z] Login Succeeded [2022-07-07T08:44:52.430Z] nexus3.edgexfoundry.org:10002 [2022-07-07T08:44:52.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:44:52.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:44:52.430Z] Configure a credential helper to remove this warning. See [2022-07-07T08:44:52.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:44:52.430Z] [2022-07-07T08:44:52.430Z] Login Succeeded [2022-07-07T08:44:52.691Z] nexus3.edgexfoundry.org:10003 [2022-07-07T08:44:52.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:44:52.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:44:52.691Z] Configure a credential helper to remove this warning. See [2022-07-07T08:44:52.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:44:52.691Z] [2022-07-07T08:44:52.691Z] Login Succeeded [2022-07-07T08:44:52.691Z] nexus3.edgexfoundry.org:10004 [2022-07-07T08:44:52.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:44:52.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:44:52.952Z] Configure a credential helper to remove this warning. See [2022-07-07T08:44:52.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:44:52.952Z] [2022-07-07T08:44:52.952Z] Login Succeeded [2022-07-07T08:44:52.952Z] docker.io [2022-07-07T08:44:52.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:44:53.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:44:53.214Z] Configure a credential helper to remove this warning. See [2022-07-07T08:44:53.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:44:53.214Z] [2022-07-07T08:44:53.214Z] Login Succeeded [2022-07-07T08:44:53.214Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T08:44:53.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T08:44:53.607Z] + git rev-list -1 --merges 1ecd3b8b97d690817c6baab8461d80927bacec05~1..1ecd3b8b97d690817c6baab8461d80927bacec05 [Pipeline] echo [2022-07-07T08:44:53.637Z] -----------> git rev-list -1 --merges 1ecd3b8b97d690817c6baab8461d80927bacec05~1..1ecd3b8b97d690817c6baab8461d80927bacec05 1ecd3b8b97d690817c6baab8461d80927bacec05 [2022-07-07T08:44:53.637Z] 1ecd3b8b97d690817c6baab8461d80927bacec05 [false] [Pipeline] sh [2022-07-07T08:44:53.927Z] + git log --format=format:%s -1 1ecd3b8b97d690817c6baab8461d80927bacec05 [Pipeline] echo [2022-07-07T08:44:53.945Z] ========================================================= [2022-07-07T08:44:53.945Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T08:44:53.945Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T08:44:54.288Z] + git log --format=format:%s -1 1ecd3b8b97d690817c6baab8461d80927bacec05 [Pipeline] echo [2022-07-07T08:44:54.299Z] [semverPrep] GIT_COMMIT: 1ecd3b8b97d690817c6baab8461d80927bacec05, Commit Message: Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD [Pipeline] echo [2022-07-07T08:44:54.310Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T08:44:54.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T08:44:54.677Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T08:44:54.677Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T08:44:54.677Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T08:44:54.677Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-07-07T08:44:54.677Z] tee -a /etc/ssh/ssh_known_hosts [2022-07-07T08:44:54.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:44:55.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T08:44:55.129Z] [2022-07-07T08:44:55.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:44:55.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T08:44:55.433Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T08:44:55.433Z] 42c077c10790: Pulling fs layer [2022-07-07T08:44:55.433Z] f63e77b7563a: Pulling fs layer [2022-07-07T08:44:55.433Z] bd5fdadae976: Pulling fs layer [2022-07-07T08:44:55.433Z] 205491f53016: Pulling fs layer [2022-07-07T08:44:55.433Z] df18705c85c3: Pulling fs layer [2022-07-07T08:44:55.433Z] bdb3f477010e: Pulling fs layer [2022-07-07T08:44:55.433Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T08:44:55.433Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T08:44:55.433Z] bdb8f0575790: Pulling fs layer [2022-07-07T08:44:55.433Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T08:44:55.433Z] 2343380bae48: Pulling fs layer [2022-07-07T08:44:55.433Z] c8a8fc8e1c8f: Waiting [2022-07-07T08:44:55.433Z] 2c6e9b1d212d: Waiting [2022-07-07T08:44:55.433Z] df18705c85c3: Waiting [2022-07-07T08:44:55.433Z] bdb8f0575790: Waiting [2022-07-07T08:44:55.433Z] bdb3f477010e: Waiting [2022-07-07T08:44:55.433Z] 386e3cb2ff24: Waiting [2022-07-07T08:44:55.433Z] 205491f53016: Waiting [2022-07-07T08:44:55.433Z] f63e77b7563a: Verifying Checksum [2022-07-07T08:44:55.433Z] f63e77b7563a: Download complete [2022-07-07T08:44:55.433Z] 205491f53016: Verifying Checksum [2022-07-07T08:44:55.433Z] 205491f53016: Download complete [2022-07-07T08:44:55.694Z] df18705c85c3: Verifying Checksum [2022-07-07T08:44:55.694Z] df18705c85c3: Download complete [2022-07-07T08:44:55.694Z] bd5fdadae976: Verifying Checksum [2022-07-07T08:44:55.694Z] bd5fdadae976: Download complete [2022-07-07T08:44:55.694Z] bdb3f477010e: Download complete [2022-07-07T08:44:55.694Z] 2c6e9b1d212d: Verifying Checksum [2022-07-07T08:44:55.694Z] 2c6e9b1d212d: Download complete [2022-07-07T08:44:55.694Z] bdb8f0575790: Verifying Checksum [2022-07-07T08:44:55.694Z] bdb8f0575790: Download complete [2022-07-07T08:44:55.694Z] 386e3cb2ff24: Verifying Checksum [2022-07-07T08:44:55.694Z] 386e3cb2ff24: Download complete [2022-07-07T08:44:55.694Z] 2343380bae48: Verifying Checksum [2022-07-07T08:44:55.694Z] 2343380bae48: Download complete [2022-07-07T08:44:55.694Z] 42c077c10790: Verifying Checksum [2022-07-07T08:44:55.694Z] 42c077c10790: Download complete [2022-07-07T08:44:55.955Z] c8a8fc8e1c8f: Download complete [2022-07-07T08:44:57.339Z] 42c077c10790: Pull complete [2022-07-07T08:44:57.339Z] f63e77b7563a: Pull complete [2022-07-07T08:44:57.599Z] bd5fdadae976: Pull complete [2022-07-07T08:44:57.860Z] 205491f53016: Pull complete [2022-07-07T08:44:58.121Z] df18705c85c3: Pull complete [2022-07-07T08:44:58.121Z] bdb3f477010e: Pull complete [2022-07-07T08:45:00.039Z] c8a8fc8e1c8f: Pull complete [2022-07-07T08:45:00.039Z] 2c6e9b1d212d: Pull complete [2022-07-07T08:45:00.300Z] bdb8f0575790: Pull complete [2022-07-07T08:45:00.300Z] 386e3cb2ff24: Pull complete [2022-07-07T08:45:00.300Z] 2343380bae48: Pull complete [2022-07-07T08:45:00.300Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T08:45:00.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T08:45:00.300Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:45:00.393Z] prd-ubuntu20.04-docker-8c-8g-17120 does not seem to be running inside a container [2022-07-07T08:45:00.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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-devops/py-git-semver:0.1.4 cat [2022-07-07T08:45:02.115Z] $ docker top d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 -eo pid,comm [2022-07-07T08:45:02.186Z] 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-07-07T08:45:02.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T08:45:02.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T08:45:02.224Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T08:45:02.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T08:45:02.334Z] $ docker exec d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 ssh-agent [2022-07-07T08:45:02.469Z] SSH_AUTH_SOCK=/tmp/ssh-8R6dX4QFKbhI/agent.34 [2022-07-07T08:45:02.469Z] SSH_AGENT_PID=40 [2022-07-07T08:45:02.474Z] Running ssh-add (command line suppressed) [2022-07-07T08:45:02.585Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_7293131141399709100.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_7293131141399709100.key) [2022-07-07T08:45:02.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T08:45:02.902Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T08:45:02.911Z] $ docker exec --env ******** --env ******** d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 ssh-agent -k [2022-07-07T08:45:03.032Z] unset SSH_AUTH_SOCK; [2022-07-07T08:45:03.033Z] unset SSH_AGENT_PID; [2022-07-07T08:45:03.033Z] echo Agent pid 40 killed; [2022-07-07T08:45:03.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T08:45:03.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T08:45:03.076Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T08:45:03.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T08:45:03.218Z] $ docker exec d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 ssh-agent [2022-07-07T08:45:03.340Z] SSH_AUTH_SOCK=/tmp/ssh-PLsqJ9wA0VTb/agent.72 [2022-07-07T08:45:03.340Z] SSH_AGENT_PID=78 [2022-07-07T08:45:03.345Z] Running ssh-add (command line suppressed) [2022-07-07T08:45:03.467Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1194816802580347165.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1194816802580347165.key) [2022-07-07T08:45:03.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T08:45:03.775Z] + git semver init [2022-07-07T08:45:04.035Z] 2022-07-07 08:45:03,998 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T08:45:04.035Z] 2022-07-07 08:45:04,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-07T08:45:04.035Z] 2022-07-07 08:45:04,001 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-07T08:45:04.035Z] 2022-07-07 08:45:04,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,691 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,692 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,696 [execute] INFO git cat-file --batch-check [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,702 [execute] INFO git cat-file --batch [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T08:45:04.976Z] 2022-07-07 08:45:04,707 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-07T08:45:04.976Z] 0.0.0 [Pipeline] } [2022-07-07T08:45:04.979Z] $ docker exec --env ******** --env ******** d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 ssh-agent -k [2022-07-07T08:45:05.080Z] unset SSH_AUTH_SOCK; [2022-07-07T08:45:05.081Z] unset SSH_AGENT_PID; [2022-07-07T08:45:05.081Z] echo Agent pid 78 killed; [2022-07-07T08:45:05.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T08:45:05.402Z] + git semver [Pipeline] } [2022-07-07T08:45:05.672Z] $ docker stop --time=1 d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 [2022-07-07T08:45:07.025Z] $ docker rm -f d3c59cb7415cd3c4b72b2661ba0cec1375a3853f8aa9ee3510804ae031c397a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T08:45:07.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T08:45:07.639Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T08:45:07.640Z] [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-07-07T08:45:07.761Z] provisioning config files... [2022-07-07T08:45:07.769Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config3545279784061634939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:45:08.071Z] ---> docker-login.sh [2022-07-07T08:45:08.071Z] nexus3.edgexfoundry.org:10001 [2022-07-07T08:45:08.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:45:08.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:45:08.071Z] Configure a credential helper to remove this warning. See [2022-07-07T08:45:08.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:45:08.071Z] [2022-07-07T08:45:08.071Z] Login Succeeded [2022-07-07T08:45:08.071Z] nexus3.edgexfoundry.org:10002 [2022-07-07T08:45:08.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:45:08.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:45:08.334Z] Configure a credential helper to remove this warning. See [2022-07-07T08:45:08.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:45:08.334Z] [2022-07-07T08:45:08.334Z] Login Succeeded [2022-07-07T08:45:08.334Z] nexus3.edgexfoundry.org:10003 [2022-07-07T08:45:08.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:45:08.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:45:08.334Z] Configure a credential helper to remove this warning. See [2022-07-07T08:45:08.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:45:08.334Z] [2022-07-07T08:45:08.334Z] Login Succeeded [2022-07-07T08:45:08.334Z] nexus3.edgexfoundry.org:10004 [2022-07-07T08:45:08.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:45:08.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:45:08.595Z] Configure a credential helper to remove this warning. See [2022-07-07T08:45:08.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:45:08.595Z] [2022-07-07T08:45:08.595Z] Login Succeeded [2022-07-07T08:45:08.595Z] docker.io [2022-07-07T08:45:08.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:45:08.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:45:08.857Z] Configure a credential helper to remove this warning. See [2022-07-07T08:45:08.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:45:08.857Z] [2022-07-07T08:45:08.857Z] Login Succeeded [2022-07-07T08:45:08.857Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T08:45:08.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T08:45:08.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T08:45:08.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T08:45:08.952Z] ========================================================= [2022-07-07T08:45:08.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T08:45:08.952Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:45:09.265Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T08:45:09.266Z] Sending build context to Docker daemon 9.383MB [2022-07-07T08:45:09.266Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T08:45:09.266Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-07T08:45:09.266Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T08:45:09.266Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T08:45:09.266Z] 666ba61612fd: Pulling fs layer [2022-07-07T08:45:09.266Z] 8ed8ca486205: Pulling fs layer [2022-07-07T08:45:09.266Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T08:45:09.266Z] c516ae0d96e1: Pulling fs layer [2022-07-07T08:45:09.266Z] 684cea983483: Pulling fs layer [2022-07-07T08:45:09.266Z] dd3240ac7de5: Pulling fs layer [2022-07-07T08:45:09.266Z] b1e948a4e11c: Pulling fs layer [2022-07-07T08:45:09.266Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T08:45:09.266Z] 646ad004c059: Pulling fs layer [2022-07-07T08:45:09.266Z] 684cea983483: Waiting [2022-07-07T08:45:09.266Z] dd3240ac7de5: Waiting [2022-07-07T08:45:09.266Z] cc1cd167ecdc: Waiting [2022-07-07T08:45:09.266Z] b1e948a4e11c: Waiting [2022-07-07T08:45:09.266Z] c516ae0d96e1: Waiting [2022-07-07T08:45:09.266Z] a8fd76ee1af6: Waiting [2022-07-07T08:45:09.266Z] 646ad004c059: Waiting [2022-07-07T08:45:09.528Z] 8ed8ca486205: Verifying Checksum [2022-07-07T08:45:09.528Z] 8ed8ca486205: Download complete [2022-07-07T08:45:09.528Z] 666ba61612fd: Verifying Checksum [2022-07-07T08:45:09.528Z] 666ba61612fd: Download complete [2022-07-07T08:45:09.528Z] c516ae0d96e1: Verifying Checksum [2022-07-07T08:45:09.528Z] c516ae0d96e1: Download complete [2022-07-07T08:45:09.528Z] 684cea983483: Verifying Checksum [2022-07-07T08:45:09.528Z] 684cea983483: Download complete [2022-07-07T08:45:09.528Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T08:45:09.528Z] 59bf1c3509f3: Download complete [2022-07-07T08:45:09.528Z] dd3240ac7de5: Verifying Checksum [2022-07-07T08:45:09.528Z] dd3240ac7de5: Download complete [2022-07-07T08:45:09.528Z] b1e948a4e11c: Verifying Checksum [2022-07-07T08:45:09.528Z] b1e948a4e11c: Download complete [2022-07-07T08:45:09.528Z] 59bf1c3509f3: Pull complete [2022-07-07T08:45:09.793Z] 666ba61612fd: Pull complete [2022-07-07T08:45:09.793Z] 8ed8ca486205: Pull complete [2022-07-07T08:45:10.054Z] 646ad004c059: Verifying Checksum [2022-07-07T08:45:10.054Z] 646ad004c059: Download complete [2022-07-07T08:45:10.054Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T08:45:10.054Z] a8fd76ee1af6: Download complete [2022-07-07T08:45:10.315Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T08:45:10.315Z] cc1cd167ecdc: Download complete [2022-07-07T08:45:14.512Z] cc1cd167ecdc: Pull complete [2022-07-07T08:45:14.512Z] c516ae0d96e1: Pull complete [2022-07-07T08:45:14.512Z] 684cea983483: Pull complete [2022-07-07T08:45:14.512Z] dd3240ac7de5: Pull complete [2022-07-07T08:45:14.512Z] b1e948a4e11c: Pull complete [2022-07-07T08:45:16.417Z] a8fd76ee1af6: Pull complete [2022-07-07T08:45:16.985Z] 646ad004c059: Pull complete [2022-07-07T08:45:16.985Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T08:45:16.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T08:45:16.985Z] ---> 8f69c11f6b0c [2022-07-07T08:45:16.985Z] Step 3/13 : ARG MAKE="make build" [2022-07-07T08:45:18.370Z] ---> Running in 23ee457b98a7 [2022-07-07T08:45:18.370Z] Removing intermediate container 23ee457b98a7 [2022-07-07T08:45:18.370Z] ---> ca2da3ee4164 [2022-07-07T08:45:18.370Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T08:45:18.370Z] ---> Running in a80596d9cca7 [2022-07-07T08:45:18.630Z] Removing intermediate container a80596d9cca7 [2022-07-07T08:45:18.630Z] ---> 6930f546c6da [2022-07-07T08:45:18.630Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T08:45:18.630Z] ---> Running in 015cd4d225c6 [2022-07-07T08:45:18.630Z] Removing intermediate container 015cd4d225c6 [2022-07-07T08:45:18.630Z] ---> e9754bab464f [2022-07-07T08:45:18.630Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-07T08:45:18.630Z] ---> Running in a7505524f52c [2022-07-07T08:45:18.890Z] Removing intermediate container a7505524f52c [2022-07-07T08:45:18.890Z] ---> 7c283d293255 [2022-07-07T08:45:18.890Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T08:45:18.890Z] ---> Running in 945b9ea26553 [2022-07-07T08:45:19.464Z] Removing intermediate container 945b9ea26553 [2022-07-07T08:45:19.464Z] ---> a7a558ef36b5 [2022-07-07T08:45:19.464Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T08:45:19.464Z] ---> Running in 6023fae22dfb [2022-07-07T08:45:19.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T08:45:20.668Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T08:45:20.929Z] OK: 221 MiB in 52 packages [2022-07-07T08:45:21.502Z] Removing intermediate container 6023fae22dfb [2022-07-07T08:45:21.502Z] ---> fabd95187be0 [2022-07-07T08:45:21.502Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-07T08:45:21.502Z] ---> Running in 5179e65f110e [2022-07-07T08:45:21.502Z] Removing intermediate container 5179e65f110e [2022-07-07T08:45:21.502Z] ---> 26ba9849ca90 [2022-07-07T08:45:21.502Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-07T08:45:21.762Z] ---> 3bcc0a0f9bcd [2022-07-07T08:45:21.762Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T08:45:21.762Z] ---> Running in 5952f091c123 [2022-07-07T08:45:22.718Z] Still waiting to schedule task [2022-07-07T08:45:22.719Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-07T08:45:39.889Z] Removing intermediate container 5952f091c123 [2022-07-07T08:45:39.889Z] ---> 5fdb5b8031e3 [2022-07-07T08:45:39.889Z] Step 12/13 : COPY . . [2022-07-07T08:45:39.889Z] ---> ce25549b9501 [2022-07-07T08:45:39.889Z] Step 13/13 : RUN ${MAKE} [2022-07-07T08:45:39.889Z] ---> Running in b46896c5706c [2022-07-07T08:45:39.889Z] noop [2022-07-07T08:45:39.889Z] Removing intermediate container b46896c5706c [2022-07-07T08:45:39.889Z] ---> db92d3b0df8c [2022-07-07T08:45:39.889Z] Successfully built db92d3b0df8c [2022-07-07T08:45:39.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:45:40.201Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T08:45:40.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:45:40.279Z] prd-ubuntu20.04-docker-8c-8g-17120 does not seem to be running inside a container [2022-07-07T08:45:40.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T08:45:40.721Z] $ docker top f1749eec082c065a264f9d431dd9534a75b4c518855de19b704f2187ca379c6f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T08:45:41.068Z] + go version [2022-07-07T08:45:41.069Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T08:45:41.088Z] $ docker stop --time=1 f1749eec082c065a264f9d431dd9534a75b4c518855de19b704f2187ca379c6f [2022-07-07T08:45:42.395Z] $ docker rm -f f1749eec082c065a264f9d431dd9534a75b4c518855de19b704f2187ca379c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:45:42.824Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T08:45:42.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:45:42.911Z] prd-ubuntu20.04-docker-8c-8g-17120 does not seem to be running inside a container [2022-07-07T08:45:42.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T08:45:43.368Z] $ docker top ba201ae3a2ad3400db6f3aa129489190481ed5768577778263414ab37d47ef17 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T08:45:43.800Z] + make test [2022-07-07T08:45:43.800Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T08:45:44.059Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-07T08:45:54.049Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-07T08:45:54.308Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 7.0% of statements [2022-07-07T08:45:54.308Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-07T08:45:58.509Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.792s coverage: 13.8% of statements [2022-07-07T08:46:06.642Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T08:46:09.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T08:46:09.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T08:46:09.936Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T08:46:10.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T08:46:10.546Z] $ docker stop --time=1 ba201ae3a2ad3400db6f3aa129489190481ed5768577778263414ab37d47ef17 [2022-07-07T08:46:12.469Z] $ docker rm -f ba201ae3a2ad3400db6f3aa129489190481ed5768577778263414ab37d47ef17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T08:46:12.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T08:46:12.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T08:46:13.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T08:46:13.754Z] + ls -al . [2022-07-07T08:46:13.754Z] total 252 [2022-07-07T08:46:13.754Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 08:46 . [2022-07-07T08:46:13.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:44 .. [2022-07-07T08:46:13.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 08:45 .git [2022-07-07T08:46:13.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 08:44 .github [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 08:44 .gitignore [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 08:44 .golangci.yml [2022-07-07T08:46:13.754Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 08:45 .semver [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 08:44 Attribution.txt [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 08:44 CHANGELOG.md [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 08:44 Dockerfile [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 08:44 GOVERNANCE.md [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 08:44 Jenkinsfile [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 08:44 LICENSE [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 08:44 Makefile [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 08:44 OWNERS.md [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 08:44 README.md [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 08:45 VERSION [2022-07-07T08:46:13.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 08:44 bin [2022-07-07T08:46:13.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 08:44 cmd [2022-07-07T08:46:13.754Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 08:45 coverage.out [2022-07-07T08:46:13.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:44 doc [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 08:44 go.mod [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 08:44 go.sum [2022-07-07T08:46:13.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:44 internal [2022-07-07T08:46:13.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:44 snap [2022-07-07T08:46:13.754Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 08:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:46:14.065Z] + 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=1ecd3b8b97d690817c6baab8461d80927bacec05 --label arch=amd64 --label version=0.0.0 . [2022-07-07T08:46:14.065Z] Sending build context to Docker daemon 9.455MB [2022-07-07T08:46:14.065Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T08:46:14.065Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-07T08:46:14.065Z] ---> db92d3b0df8c [2022-07-07T08:46:14.065Z] Step 3/26 : ARG MAKE="make build" [2022-07-07T08:46:14.065Z] ---> Running in ce2b97eb4ba5 [2022-07-07T08:46:14.325Z] Removing intermediate container ce2b97eb4ba5 [2022-07-07T08:46:14.325Z] ---> b5b17771ee88 [2022-07-07T08:46:14.325Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T08:46:14.325Z] ---> Running in a65b0e462097 [2022-07-07T08:46:14.325Z] Removing intermediate container a65b0e462097 [2022-07-07T08:46:14.325Z] ---> 4615f1f7368d [2022-07-07T08:46:14.325Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T08:46:14.325Z] ---> Running in a96a626ac9ce [2022-07-07T08:46:14.585Z] Removing intermediate container a96a626ac9ce [2022-07-07T08:46:14.585Z] ---> 46794e6ae036 [2022-07-07T08:46:14.585Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-07T08:46:14.585Z] ---> Running in 97ba486e493e [2022-07-07T08:46:14.585Z] Removing intermediate container 97ba486e493e [2022-07-07T08:46:14.585Z] ---> a81f49c89df3 [2022-07-07T08:46:14.585Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T08:46:14.585Z] ---> Running in cfead289a597 [2022-07-07T08:46:15.156Z] Removing intermediate container cfead289a597 [2022-07-07T08:46:15.156Z] ---> caf60a688d03 [2022-07-07T08:46:15.156Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T08:46:15.416Z] ---> Running in 4f0fea740059 [2022-07-07T08:46:15.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T08:46:16.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T08:46:16.816Z] OK: 221 MiB in 52 packages [2022-07-07T08:46:17.076Z] Removing intermediate container 4f0fea740059 [2022-07-07T08:46:17.076Z] ---> 8b04744cc91c [2022-07-07T08:46:17.076Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-07T08:46:17.076Z] ---> Running in 00b3294cdf27 [2022-07-07T08:46:17.336Z] Removing intermediate container 00b3294cdf27 [2022-07-07T08:46:17.336Z] ---> e11e18f67b97 [2022-07-07T08:46:17.336Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-07T08:46:17.336Z] ---> 2c349f879c60 [2022-07-07T08:46:17.336Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T08:46:17.596Z] ---> Running in 698ecf55d0ad [2022-07-07T08:46:18.165Z] Removing intermediate container 698ecf55d0ad [2022-07-07T08:46:18.165Z] ---> f44a8d5cda4b [2022-07-07T08:46:18.165Z] Step 12/26 : COPY . . [2022-07-07T08:46:18.425Z] ---> e6653f795bb8 [2022-07-07T08:46:18.425Z] Step 13/26 : RUN ${MAKE} [2022-07-07T08:46:18.425Z] ---> Running in 68e9b42f9f61 [2022-07-07T08:46:18.686Z] CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-07T08:46:40.633Z] Removing intermediate container 68e9b42f9f61 [2022-07-07T08:46:40.633Z] ---> f55e4c1411ca [2022-07-07T08:46:40.633Z] Step 14/26 : FROM alpine:3.15 [2022-07-07T08:46:40.633Z] 3.15: Pulling from library/alpine [2022-07-07T08:46:40.633Z] df9b9388f04a: Pulling fs layer [2022-07-07T08:46:40.633Z] df9b9388f04a: Verifying Checksum [2022-07-07T08:46:40.633Z] df9b9388f04a: Download complete [2022-07-07T08:46:40.633Z] df9b9388f04a: Pull complete [2022-07-07T08:46:40.633Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T08:46:40.633Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T08:46:40.633Z] ---> 0ac33e5f5afa [2022-07-07T08:46:40.633Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T08:46:40.633Z] ---> Running in e35a10a241ca [2022-07-07T08:46:40.633Z] Removing intermediate container e35a10a241ca [2022-07-07T08:46:40.633Z] ---> 575e395f3cf5 [2022-07-07T08:46:40.633Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T08:46:40.633Z] ---> Running in 91eb431a4dc0 [2022-07-07T08:46:40.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T08:46:40.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T08:46:40.633Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T08:46:40.633Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T08:46:40.633Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T08:46:40.633Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T08:46:40.633Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T08:46:40.633Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T08:46:40.633Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T08:46:40.633Z] OK: 8 MiB in 20 packages [2022-07-07T08:46:40.633Z] Removing intermediate container 91eb431a4dc0 [2022-07-07T08:46:40.633Z] ---> 71c558cacb98 [2022-07-07T08:46:40.633Z] Step 17/26 : WORKDIR / [2022-07-07T08:46:40.633Z] ---> Running in 7c00573fe8c4 [2022-07-07T08:46:40.633Z] Removing intermediate container 7c00573fe8c4 [2022-07-07T08:46:40.633Z] ---> 374c10d4632e [2022-07-07T08:46:40.633Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-07T08:46:41.204Z] ---> 6bb98538ac2b [2022-07-07T08:46:41.204Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-07T08:46:41.204Z] ---> a1eb01fd0e3a [2022-07-07T08:46:41.204Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-07T08:46:41.463Z] ---> c8e8be0c54b1 [2022-07-07T08:46:41.463Z] Step 21/26 : EXPOSE 59984 [2022-07-07T08:46:41.463Z] ---> Running in 4cee3cb41e53 [2022-07-07T08:46:41.463Z] Removing intermediate container 4cee3cb41e53 [2022-07-07T08:46:41.463Z] ---> a7bf9061807f [2022-07-07T08:46:41.463Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-07T08:46:41.725Z] ---> Running in 30188db0fea6 [2022-07-07T08:46:41.725Z] Removing intermediate container 30188db0fea6 [2022-07-07T08:46:41.725Z] ---> a5da5ee9a077 [2022-07-07T08:46:41.725Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-07T08:46:41.725Z] ---> Running in 2f4e76946009 [2022-07-07T08:46:41.725Z] Removing intermediate container 2f4e76946009 [2022-07-07T08:46:41.725Z] ---> 3fd19e1518e6 [2022-07-07T08:46:41.725Z] Step 24/26 : LABEL arch=amd64 [2022-07-07T08:46:41.987Z] ---> Running in 8197ec2538ad [2022-07-07T08:46:41.987Z] Removing intermediate container 8197ec2538ad [2022-07-07T08:46:41.987Z] ---> fbaef70ccbb8 [2022-07-07T08:46:41.987Z] Step 25/26 : LABEL git_sha=1ecd3b8b97d690817c6baab8461d80927bacec05 [2022-07-07T08:46:41.987Z] ---> Running in e23b1723a5aa [2022-07-07T08:46:41.987Z] Removing intermediate container e23b1723a5aa [2022-07-07T08:46:41.987Z] ---> 2be7ed10ee9e [2022-07-07T08:46:41.987Z] Step 26/26 : LABEL version=0.0.0 [2022-07-07T08:46:42.249Z] ---> Running in 5b420d87aa70 [2022-07-07T08:46:42.249Z] Removing intermediate container 5b420d87aa70 [2022-07-07T08:46:42.249Z] ---> 4bde5558e6c9 [2022-07-07T08:46:42.249Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T08:46:42.249Z] Successfully built 4bde5558e6c9 [2022-07-07T08:46:42.249Z] 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-07-07T08:46:42.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T08:46:42.716Z] [2022-07-07T08:46:42.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:46:43.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T08:46:43.026Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T08:46:43.026Z] 5eb5b503b376: Pulling fs layer [2022-07-07T08:46:43.026Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T08:46:43.026Z] ec43610c2a17: Pulling fs layer [2022-07-07T08:46:43.026Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T08:46:43.026Z] 33b1e0a273af: Pulling fs layer [2022-07-07T08:46:43.026Z] 3a2ae6a8a46f: Waiting [2022-07-07T08:46:43.026Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T08:46:43.026Z] 2f39f015ded8: Pulling fs layer [2022-07-07T08:46:43.026Z] 33b1e0a273af: Waiting [2022-07-07T08:46:43.026Z] 2f39f015ded8: Waiting [2022-07-07T08:46:43.026Z] 5c69ac0246d0: Download complete [2022-07-07T08:46:43.026Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T08:46:43.026Z] 3a2ae6a8a46f: Download complete [2022-07-07T08:46:43.286Z] 33b1e0a273af: Verifying Checksum [2022-07-07T08:46:43.286Z] 33b1e0a273af: Download complete [2022-07-07T08:46:43.286Z] ec43610c2a17: Verifying Checksum [2022-07-07T08:46:43.286Z] ec43610c2a17: Download complete [2022-07-07T08:46:43.286Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T08:46:43.286Z] 5d3b04190fa2: Download complete [2022-07-07T08:46:43.286Z] 5eb5b503b376: Verifying Checksum [2022-07-07T08:46:43.286Z] 5eb5b503b376: Download complete [2022-07-07T08:46:43.856Z] 2f39f015ded8: Verifying Checksum [2022-07-07T08:46:43.856Z] 2f39f015ded8: Download complete [2022-07-07T08:46:44.796Z] 5eb5b503b376: Pull complete [2022-07-07T08:46:44.796Z] 5c69ac0246d0: Pull complete [2022-07-07T08:46:45.365Z] ec43610c2a17: Pull complete [2022-07-07T08:46:45.365Z] 3a2ae6a8a46f: Pull complete [2022-07-07T08:46:45.625Z] 33b1e0a273af: Pull complete [2022-07-07T08:46:45.625Z] 5d3b04190fa2: Pull complete [2022-07-07T08:46:49.822Z] 2f39f015ded8: Pull complete [2022-07-07T08:46:50.083Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T08:46:50.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T08:46:50.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:46:50.183Z] prd-ubuntu20.04-docker-8c-8g-17120 does not seem to be running inside a container [2022-07-07T08:46:50.228Z] $ 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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T08:46:52.008Z] $ docker top e811248730ba7a1674bd1fb5b8396653cf12360da7378c387e1937625a748693 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:46:52.407Z] ---> job-cost.sh [2022-07-07T08:46:52.407Z] lf-activate-venv: SKIPPING [2022-07-07T08:46:52.407Z] INFO: No Stack... [2022-07-07T08:46:52.979Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T08:46:53.239Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T08:46:53.530Z] + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv [2022-07-07T08:46:53.531Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T08:46:53.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [2022-07-07T08:46:53.553Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] did not exist. Created. [2022-07-07T08:46:53.553Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T08:46:53.863Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T08:46:53.897Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T08:46:53.904Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T08:46:53.932Z] $ docker stop --time=1 e811248730ba7a1674bd1fb5b8396653cf12360da7378c387e1937625a748693 [2022-07-07T08:46:55.089Z] $ docker rm -f e811248730ba7a1674bd1fb5b8396653cf12360da7378c387e1937625a748693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T08:46:58.047Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17121 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws [2022-07-07T08:46:58.060Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-07-07T08:46:58.099Z] Selected Git installation does not exist. Using Default [2022-07-07T08:46:58.099Z] The recommended git tool is: NONE [2022-07-07T08:47:03.274Z] using credential edgex-jenkins-ssh [2022-07-07T08:47:03.306Z] Cloning the remote Git repository [2022-07-07T08:47:03.382Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T08:47:03.454Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-07-07T08:47:03.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T08:47:03.536Z] > git --version # timeout=10 [2022-07-07T08:47:03.553Z] > git --version # 'git version 2.25.1' [2022-07-07T08:47:03.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T08:47:03.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T08:47:04.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-07T08:47:04.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T08:47:04.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-07T08:47:04.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T08:47:04.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T08:47:04.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T08:47:05.013Z] Merging remotes/origin/main commit 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 1194f4c37254434fbe91228c6fb68d2a7544bc72 [2022-07-07T08:47:05.470Z] Merge succeeded, producing e3e5aed58f6ea574c589db6419f9187c43430bcf [2022-07-07T08:47:05.470Z] Checking out Revision e3e5aed58f6ea574c589db6419f9187c43430bcf (PR-103) [2022-07-07T08:47:05.035Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T08:47:05.071Z] > git checkout -f 1194f4c37254434fbe91228c6fb68d2a7544bc72 # timeout=10 [2022-07-07T08:47:05.225Z] > git remote # timeout=10 [2022-07-07T08:47:05.245Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T08:47:05.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T08:47:05.267Z] > git merge 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 [2022-07-07T08:47:05.450Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T08:47:05.482Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T08:47:05.502Z] > git checkout -f e3e5aed58f6ea574c589db6419f9187c43430bcf # timeout=10 [2022-07-07T08:47:09.795Z] Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" [2022-07-07T08:47:09.823Z] First time build. Skipping changelog. [2022-07-07T08:47:09.809Z] > git rev-list --no-walk c9dbbe6636513659bc94b370cb5d05b50b3f1f8f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T08:47:10.714Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T08:47:10.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T08:47:10.715Z] Dload Upload Total Spent Left Speed [2022-07-07T08:47:10.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82790 0 --:--:-- --:--:-- --:--:-- 82790 [Pipeline] sh [2022-07-07T08:47:11.585Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T08:47:11.931Z] + sudo tee /etc/docker/daemon.new [2022-07-07T08:47:11.932Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T08:47:11.932Z] { [2022-07-07T08:47:11.932Z] "registry-mirrors": [ [2022-07-07T08:47:11.932Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T08:47:11.932Z] ], [2022-07-07T08:47:11.932Z] "bip": "10.250.0.254/24", [2022-07-07T08:47:11.932Z] "hosts": [ [2022-07-07T08:47:11.932Z] "tcp://0.0.0.0:5555", [2022-07-07T08:47:11.932Z] "unix:///var/run/docker.sock" [2022-07-07T08:47:11.932Z] ], [2022-07-07T08:47:11.932Z] "mtu": 1458, [2022-07-07T08:47:11.932Z] "selinux-enabled": true, [2022-07-07T08:47:11.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T08:47:11.932Z] } [Pipeline] sh [2022-07-07T08:47:12.292Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T08:47:12.634Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T08:47:30.975Z] provisioning config files... [2022-07-07T08:47:30.998Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config1813784212241394490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:47:31.351Z] ---> docker-login.sh [2022-07-07T08:47:31.352Z] nexus3.edgexfoundry.org:10001 [2022-07-07T08:47:31.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:47:32.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:47:32.230Z] Configure a credential helper to remove this warning. See [2022-07-07T08:47:32.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:47:32.230Z] [2022-07-07T08:47:32.230Z] Login Succeeded [2022-07-07T08:47:32.230Z] nexus3.edgexfoundry.org:10002 [2022-07-07T08:47:32.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:47:32.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:47:32.779Z] Configure a credential helper to remove this warning. See [2022-07-07T08:47:32.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:47:32.779Z] [2022-07-07T08:47:32.779Z] Login Succeeded [2022-07-07T08:47:32.779Z] nexus3.edgexfoundry.org:10003 [2022-07-07T08:47:33.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:47:33.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:47:33.053Z] Configure a credential helper to remove this warning. See [2022-07-07T08:47:33.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:47:33.053Z] [2022-07-07T08:47:33.053Z] Login Succeeded [2022-07-07T08:47:33.053Z] nexus3.edgexfoundry.org:10004 [2022-07-07T08:47:33.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:47:33.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:47:33.655Z] Configure a credential helper to remove this warning. See [2022-07-07T08:47:33.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:47:33.655Z] [2022-07-07T08:47:33.655Z] Login Succeeded [2022-07-07T08:47:33.655Z] docker.io [2022-07-07T08:47:33.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T08:47:34.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T08:47:34.524Z] Configure a credential helper to remove this warning. See [2022-07-07T08:47:34.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T08:47:34.524Z] [2022-07-07T08:47:34.524Z] Login Succeeded [2022-07-07T08:47:34.524Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T08:47:34.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T08:47:35.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T08:47:35.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T08:47:35.066Z] ========================================================= [2022-07-07T08:47:35.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T08:47:35.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:47:35.458Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T08:47:35.734Z] Sending build context to Docker daemon 6.457MB [2022-07-07T08:47:36.016Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T08:47:36.016Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-07T08:47:36.016Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T08:47:36.016Z] 9b3977197b4f: Pulling fs layer [2022-07-07T08:47:36.016Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T08:47:36.016Z] 94645a83ff95: Pulling fs layer [2022-07-07T08:47:36.016Z] e6fb740bc735: Pulling fs layer [2022-07-07T08:47:36.016Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T08:47:36.016Z] 355e64cbe906: Pulling fs layer [2022-07-07T08:47:36.016Z] 63ab81a10011: Pulling fs layer [2022-07-07T08:47:36.016Z] 555d1d1c4555: Pulling fs layer [2022-07-07T08:47:36.016Z] 7d9057610161: Pulling fs layer [2022-07-07T08:47:36.016Z] e6fb740bc735: Waiting [2022-07-07T08:47:36.016Z] 555d1d1c4555: Waiting [2022-07-07T08:47:36.016Z] 3a77bd46dcc9: Waiting [2022-07-07T08:47:36.016Z] 355e64cbe906: Waiting [2022-07-07T08:47:36.016Z] 7d9057610161: Waiting [2022-07-07T08:47:36.016Z] 63ab81a10011: Waiting [2022-07-07T08:47:36.016Z] 94645a83ff95: Verifying Checksum [2022-07-07T08:47:36.016Z] 94645a83ff95: Download complete [2022-07-07T08:47:36.016Z] 1a89e8eeedd5: Verifying Checksum [2022-07-07T08:47:36.016Z] 1a89e8eeedd5: Download complete [2022-07-07T08:47:36.016Z] 3a77bd46dcc9: Download complete [2022-07-07T08:47:36.016Z] 355e64cbe906: Verifying Checksum [2022-07-07T08:47:36.016Z] 355e64cbe906: Download complete [2022-07-07T08:47:36.311Z] 9b3977197b4f: Verifying Checksum [2022-07-07T08:47:36.311Z] 9b3977197b4f: Download complete [2022-07-07T08:47:36.311Z] 63ab81a10011: Verifying Checksum [2022-07-07T08:47:36.311Z] 63ab81a10011: Download complete [2022-07-07T08:47:37.310Z] 7d9057610161: Verifying Checksum [2022-07-07T08:47:37.310Z] 7d9057610161: Download complete [2022-07-07T08:47:37.310Z] 9b3977197b4f: Pull complete [2022-07-07T08:47:37.920Z] 1a89e8eeedd5: Pull complete [2022-07-07T08:47:38.199Z] 94645a83ff95: Pull complete [2022-07-07T08:47:38.476Z] 555d1d1c4555: Verifying Checksum [2022-07-07T08:47:38.476Z] 555d1d1c4555: Download complete [2022-07-07T08:47:39.073Z] e6fb740bc735: Verifying Checksum [2022-07-07T08:47:39.073Z] e6fb740bc735: Download complete [2022-07-07T08:47:51.486Z] e6fb740bc735: Pull complete [2022-07-07T08:47:51.486Z] 3a77bd46dcc9: Pull complete [2022-07-07T08:47:51.486Z] 355e64cbe906: Pull complete [2022-07-07T08:47:51.486Z] 63ab81a10011: Pull complete [2022-07-07T08:47:58.218Z] 555d1d1c4555: Pull complete [2022-07-07T08:47:59.677Z] 7d9057610161: Pull complete [2022-07-07T08:47:59.677Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T08:47:59.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T08:47:59.677Z] ---> 819e984ddca1 [2022-07-07T08:47:59.677Z] Step 3/13 : ARG MAKE="make build" [2022-07-07T08:48:01.659Z] ---> Running in 6ad60296ed17 [2022-07-07T08:48:01.659Z] Removing intermediate container 6ad60296ed17 [2022-07-07T08:48:01.659Z] ---> 0934a4d7dc57 [2022-07-07T08:48:01.659Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T08:48:01.659Z] ---> Running in c770ecc4b5f8 [2022-07-07T08:48:01.932Z] Removing intermediate container c770ecc4b5f8 [2022-07-07T08:48:01.932Z] ---> e85f0767cc33 [2022-07-07T08:48:01.932Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T08:48:02.208Z] ---> Running in c37c6437c11a [2022-07-07T08:48:02.482Z] Removing intermediate container c37c6437c11a [2022-07-07T08:48:02.482Z] ---> 91e49c0d2b23 [2022-07-07T08:48:02.482Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-07T08:48:02.482Z] ---> Running in 0a623cdd9d03 [2022-07-07T08:48:03.091Z] Removing intermediate container 0a623cdd9d03 [2022-07-07T08:48:03.091Z] ---> e1019b260b3d [2022-07-07T08:48:03.091Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T08:48:03.091Z] ---> Running in 3ee91552d6b8 [2022-07-07T08:48:05.086Z] Removing intermediate container 3ee91552d6b8 [2022-07-07T08:48:05.086Z] ---> ff0ac12a0f92 [2022-07-07T08:48:05.086Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T08:48:05.086Z] ---> Running in 549fa2d2e4b7 [2022-07-07T08:48:05.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T08:48:06.667Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T08:48:07.641Z] OK: 220 MiB in 52 packages [2022-07-07T08:48:08.241Z] Removing intermediate container 549fa2d2e4b7 [2022-07-07T08:48:08.241Z] ---> 53d2d4352cb7 [2022-07-07T08:48:08.241Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-07T08:48:08.241Z] ---> Running in 50f4ce13af26 [2022-07-07T08:48:08.515Z] Removing intermediate container 50f4ce13af26 [2022-07-07T08:48:08.515Z] ---> 838888234bd0 [2022-07-07T08:48:08.515Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-07T08:48:09.111Z] ---> 602a9f2dbc8e [2022-07-07T08:48:09.111Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T08:48:09.111Z] ---> Running in a95c596c0915 [2022-07-07T08:48:56.119Z] Removing intermediate container a95c596c0915 [2022-07-07T08:48:56.119Z] ---> 2818d1e280ed [2022-07-07T08:48:56.119Z] Step 12/13 : COPY . . [2022-07-07T08:48:56.119Z] ---> 98e2e3a2a89d [2022-07-07T08:48:56.119Z] Step 13/13 : RUN ${MAKE} [2022-07-07T08:48:56.119Z] ---> Running in ce2df74d675b [2022-07-07T08:48:56.119Z] noop [2022-07-07T08:48:56.717Z] Removing intermediate container ce2df74d675b [2022-07-07T08:48:56.718Z] ---> 4bcffe221863 [2022-07-07T08:48:56.718Z] Successfully built 4bcffe221863 [2022-07-07T08:48:56.718Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:48:57.087Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T08:48:57.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:48:57.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-17121 does not seem to be running inside a container [2022-07-07T08:48:57.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T08:48:58.709Z] $ docker top c99c1bc522a4535477b2f84f5292d34333c5159910b8afed5f762f91842e04a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T08:48:59.631Z] + go version [2022-07-07T08:48:59.631Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T08:48:59.661Z] $ docker stop --time=1 c99c1bc522a4535477b2f84f5292d34333c5159910b8afed5f762f91842e04a4 [2022-07-07T08:49:01.311Z] $ docker rm -f c99c1bc522a4535477b2f84f5292d34333c5159910b8afed5f762f91842e04a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:49:01.943Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T08:49:01.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:49:02.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-17121 does not seem to be running inside a container [2022-07-07T08:49:02.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T08:49:03.593Z] $ docker top 7cbe17383fdbbe4b73792f50bf2136cd51a82a16d2a1d80c1b9436f5f3df0450 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T08:49:04.534Z] + make test [2022-07-07T08:49:04.534Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T08:49:06.533Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-07T08:50:28.395Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-07T08:50:30.392Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements [2022-07-07T08:50:30.392Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-07T08:50:57.190Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.397s coverage: 13.8% of statements [2022-07-07T08:50:57.190Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T08:50:57.190Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T08:51:24.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T08:51:24.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T08:51:24.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T08:51:24.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T08:51:24.189Z] $ docker stop --time=1 7cbe17383fdbbe4b73792f50bf2136cd51a82a16d2a1d80c1b9436f5f3df0450 [2022-07-07T08:51:25.959Z] $ docker rm -f 7cbe17383fdbbe4b73792f50bf2136cd51a82a16d2a1d80c1b9436f5f3df0450 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T08:51:27.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T08:51:27.073Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T08:51:28.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T08:51:28.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T08:51:28.858Z] + ls -al . [2022-07-07T08:51:28.858Z] total 248 [2022-07-07T08:51:28.858Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 08:51 . [2022-07-07T08:51:28.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:47 .. [2022-07-07T08:51:28.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 08:47 .git [2022-07-07T08:51:28.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 08:47 .github [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 08:47 .gitignore [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 08:47 .golangci.yml [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 08:47 Attribution.txt [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 08:47 CHANGELOG.md [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 08:47 Dockerfile [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 08:47 GOVERNANCE.md [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 08:47 Jenkinsfile [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 08:47 LICENSE [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 08:47 Makefile [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 08:47 OWNERS.md [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 08:47 README.md [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 08:45 VERSION [2022-07-07T08:51:28.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 08:47 bin [2022-07-07T08:51:28.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 08:47 cmd [2022-07-07T08:51:28.859Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 08:50 coverage.out [2022-07-07T08:51:28.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:47 doc [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 08:47 go.mod [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 08:47 go.sum [2022-07-07T08:51:28.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:47 internal [2022-07-07T08:51:28.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 08:47 snap [2022-07-07T08:51:28.859Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 08:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:51:29.210Z] + 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=e3e5aed58f6ea574c589db6419f9187c43430bcf --label arch=arm64 --label version=0.0.0 . [2022-07-07T08:51:29.817Z] Sending build context to Docker daemon 6.528MB [2022-07-07T08:51:29.817Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T08:51:29.817Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-07T08:51:29.817Z] ---> 4bcffe221863 [2022-07-07T08:51:29.817Z] Step 3/26 : ARG MAKE="make build" [2022-07-07T08:51:29.817Z] ---> Running in 7cbc3f1cb43f [2022-07-07T08:51:30.091Z] Removing intermediate container 7cbc3f1cb43f [2022-07-07T08:51:30.091Z] ---> 65bd893058bf [2022-07-07T08:51:30.091Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T08:51:30.091Z] ---> Running in 882cc8f49dea [2022-07-07T08:51:30.371Z] Removing intermediate container 882cc8f49dea [2022-07-07T08:51:30.371Z] ---> 55f36d59f251 [2022-07-07T08:51:30.371Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T08:51:30.649Z] ---> Running in 003e9b55684a [2022-07-07T08:51:30.923Z] Removing intermediate container 003e9b55684a [2022-07-07T08:51:30.923Z] ---> ed69dcc05468 [2022-07-07T08:51:30.923Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-07T08:51:30.923Z] ---> Running in 86c469ee3d18 [2022-07-07T08:51:31.205Z] Removing intermediate container 86c469ee3d18 [2022-07-07T08:51:31.205Z] ---> 210cd33fd825 [2022-07-07T08:51:31.205Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T08:51:31.205Z] ---> Running in 627ea2fa266d [2022-07-07T08:51:33.182Z] Removing intermediate container 627ea2fa266d [2022-07-07T08:51:33.182Z] ---> f9ad2c8a76c4 [2022-07-07T08:51:33.182Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T08:51:33.182Z] ---> Running in 406ece59d2bc [2022-07-07T08:51:34.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T08:51:35.143Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T08:51:35.741Z] OK: 220 MiB in 52 packages [2022-07-07T08:51:36.737Z] Removing intermediate container 406ece59d2bc [2022-07-07T08:51:36.737Z] ---> 63f1edc173b6 [2022-07-07T08:51:36.737Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-07T08:51:36.737Z] ---> Running in 58af5dd954ea [2022-07-07T08:51:37.012Z] Removing intermediate container 58af5dd954ea [2022-07-07T08:51:37.012Z] ---> 036ef0cfca7f [2022-07-07T08:51:37.012Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-07T08:51:37.612Z] ---> 41aa58d5a216 [2022-07-07T08:51:37.612Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T08:51:37.612Z] ---> Running in 3347f2cae8aa [2022-07-07T08:51:39.587Z] Removing intermediate container 3347f2cae8aa [2022-07-07T08:51:39.587Z] ---> 57ef7df1ed56 [2022-07-07T08:51:39.587Z] Step 12/26 : COPY . . [2022-07-07T08:51:40.570Z] ---> bca60f2d4e41 [2022-07-07T08:51:40.570Z] Step 13/26 : RUN ${MAKE} [2022-07-07T08:51:40.570Z] ---> Running in 9dce19029bcf [2022-07-07T08:51:41.569Z] CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-07T08:53:48.448Z] Removing intermediate container 9dce19029bcf [2022-07-07T08:53:48.448Z] ---> ee4ef3491197 [2022-07-07T08:53:48.448Z] Step 14/26 : FROM alpine:3.15 [2022-07-07T08:53:48.448Z] 3.15: Pulling from library/alpine [2022-07-07T08:53:48.448Z] 9981e73032c8: Pulling fs layer [2022-07-07T08:53:48.448Z] 9981e73032c8: Download complete [2022-07-07T08:53:48.448Z] 9981e73032c8: Pull complete [2022-07-07T08:53:48.448Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T08:53:48.448Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T08:53:48.448Z] ---> 3fb3c9af89a9 [2022-07-07T08:53:48.448Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T08:53:48.448Z] ---> Running in 4833753ad89e [2022-07-07T08:53:48.448Z] Removing intermediate container 4833753ad89e [2022-07-07T08:53:48.448Z] ---> e2a7e3866638 [2022-07-07T08:53:48.448Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T08:53:48.448Z] ---> Running in 581f283e0ead [2022-07-07T08:53:48.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T08:53:48.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T08:53:48.448Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T08:53:48.448Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T08:53:48.448Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T08:53:48.448Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T08:53:48.448Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T08:53:48.448Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T08:53:48.448Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T08:53:48.448Z] OK: 8 MiB in 20 packages [2022-07-07T08:53:48.448Z] Removing intermediate container 581f283e0ead [2022-07-07T08:53:48.448Z] ---> 6bf5768a26cd [2022-07-07T08:53:48.448Z] Step 17/26 : WORKDIR / [2022-07-07T08:53:48.448Z] ---> Running in a6f73624f906 [2022-07-07T08:53:48.448Z] Removing intermediate container a6f73624f906 [2022-07-07T08:53:48.448Z] ---> e60e5de32ab6 [2022-07-07T08:53:48.448Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-07T08:53:48.448Z] ---> c6b4c2c18b3f [2022-07-07T08:53:48.448Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-07T08:53:48.448Z] ---> 1f94d3e7a1a7 [2022-07-07T08:53:48.448Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-07T08:53:48.722Z] ---> f6d54b613566 [2022-07-07T08:53:48.722Z] Step 21/26 : EXPOSE 59984 [2022-07-07T08:53:48.722Z] ---> Running in 5b57d156c398 [2022-07-07T08:53:48.994Z] Removing intermediate container 5b57d156c398 [2022-07-07T08:53:48.994Z] ---> 51927f0f6ab8 [2022-07-07T08:53:48.994Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-07T08:53:49.284Z] ---> Running in 29a227351ec1 [2022-07-07T08:53:49.556Z] Removing intermediate container 29a227351ec1 [2022-07-07T08:53:49.556Z] ---> a71eb8f7d140 [2022-07-07T08:53:49.556Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-07T08:53:49.556Z] ---> Running in 74f380208a9a [2022-07-07T08:53:49.830Z] Removing intermediate container 74f380208a9a [2022-07-07T08:53:49.830Z] ---> 5f30a6ad13ec [2022-07-07T08:53:49.830Z] Step 24/26 : LABEL arch=arm64 [2022-07-07T08:53:49.830Z] ---> Running in 967ee6d3ce45 [2022-07-07T08:53:50.102Z] Removing intermediate container 967ee6d3ce45 [2022-07-07T08:53:50.102Z] ---> 4282d92d1444 [2022-07-07T08:53:50.102Z] Step 25/26 : LABEL git_sha=e3e5aed58f6ea574c589db6419f9187c43430bcf [2022-07-07T08:53:50.102Z] ---> Running in 2ae3b21eed7c [2022-07-07T08:53:50.699Z] Removing intermediate container 2ae3b21eed7c [2022-07-07T08:53:50.699Z] ---> 388aed3cbdcd [2022-07-07T08:53:50.699Z] Step 26/26 : LABEL version=0.0.0 [2022-07-07T08:53:50.699Z] ---> Running in 235f4457f917 [2022-07-07T08:53:50.971Z] Removing intermediate container 235f4457f917 [2022-07-07T08:53:50.971Z] ---> 2588dada43eb [2022-07-07T08:53:50.971Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T08:53:50.971Z] Successfully built 2588dada43eb [2022-07-07T08:53:50.971Z] 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-07-07T08:53:51.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T08:53:51.422Z] [2022-07-07T08:53:51.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:53:51.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T08:53:52.047Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T08:53:52.047Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T08:53:52.047Z] 04944245beec: Pulling fs layer [2022-07-07T08:53:52.047Z] 699f458cf7ca: Pulling fs layer [2022-07-07T08:53:52.047Z] 765212b225bb: Pulling fs layer [2022-07-07T08:53:52.047Z] f23df028b6ca: Pulling fs layer [2022-07-07T08:53:52.047Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T08:53:52.047Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T08:53:52.047Z] f23df028b6ca: Waiting [2022-07-07T08:53:52.047Z] d65c8cfc05b1: Waiting [2022-07-07T08:53:52.047Z] 765212b225bb: Waiting [2022-07-07T08:53:52.047Z] 2437ff75d9bd: Waiting [2022-07-07T08:53:52.047Z] 04944245beec: Verifying Checksum [2022-07-07T08:53:52.047Z] 04944245beec: Download complete [2022-07-07T08:53:52.047Z] 765212b225bb: Verifying Checksum [2022-07-07T08:53:52.047Z] 765212b225bb: Download complete [2022-07-07T08:53:52.047Z] f23df028b6ca: Verifying Checksum [2022-07-07T08:53:52.047Z] f23df028b6ca: Download complete [2022-07-07T08:53:52.047Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T08:53:52.047Z] d65c8cfc05b1: Download complete [2022-07-07T08:53:52.330Z] 699f458cf7ca: Verifying Checksum [2022-07-07T08:53:52.330Z] 699f458cf7ca: Download complete [2022-07-07T08:53:52.602Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T08:53:52.602Z] 8998bd30e6a1: Download complete [2022-07-07T08:53:55.220Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T08:53:55.220Z] 2437ff75d9bd: Download complete [2022-07-07T08:53:56.658Z] 8998bd30e6a1: Pull complete [2022-07-07T08:53:57.256Z] 04944245beec: Pull complete [2022-07-07T08:53:58.693Z] 699f458cf7ca: Pull complete [2022-07-07T08:53:58.969Z] 765212b225bb: Pull complete [2022-07-07T08:53:59.949Z] f23df028b6ca: Pull complete [2022-07-07T08:53:59.949Z] d65c8cfc05b1: Pull complete [2022-07-07T08:54:15.031Z] 2437ff75d9bd: Pull complete [2022-07-07T08:54:15.031Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T08:54:15.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T08:54:15.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:54:15.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-17121 does not seem to be running inside a container [2022-07-07T08:54:15.351Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T08:54:17.862Z] $ docker top b6fa0f2979c7c340380df6091947f724eb12b76b8ac41ff96169a55080b6315f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:18.786Z] ---> job-cost.sh [2022-07-07T08:54:18.787Z] lf-activate-venv: SKIPPING [2022-07-07T08:54:18.787Z] INFO: No Stack... [2022-07-07T08:54:19.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T08:54:20.038Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T08:54:20.696Z] + cut -d, -f6 [2022-07-07T08:54:20.696Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-07-07T08:54:20.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [2022-07-07T08:54:20.827Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] did not exist. Created. [2022-07-07T08:54:20.827Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T08:54:21.546Z] /w/workspace/device-onvif-camera/3@tmp/durable-4f60d504/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T08:54:22.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T08:54:22.298Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T08:54:22.354Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T08:54:22.360Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T08:54:22.379Z] $ docker stop --time=1 b6fa0f2979c7c340380df6091947f724eb12b76b8ac41ff96169a55080b6315f [2022-07-07T08:54:23.868Z] $ docker rm -f b6fa0f2979c7c340380df6091947f724eb12b76b8ac41ff96169a55080b6315f [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-07-07T08:54:24.349Z] provisioning config files... [2022-07-07T08:54:24.384Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config3875169363222510529tmp [Pipeline] { [Pipeline] sh [2022-07-07T08:54:24.695Z] + set +x [2022-07-07T08:54:24.696Z] + curl -s https://codecov.io/bash [2022-07-07T08:54:24.696Z] + bash -s -- [2022-07-07T08:54:24.696Z] [2022-07-07T08:54:24.696Z] _____ _ [2022-07-07T08:54:24.696Z] / ____| | | [2022-07-07T08:54:24.696Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T08:54:24.696Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T08:54:24.696Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T08:54:24.696Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T08:54:24.696Z] Bash-1.0.6 [2022-07-07T08:54:24.696Z] [2022-07-07T08:54:24.696Z] [2022-07-07T08:54:24.696Z] ==> git version 2.25.1 found [2022-07-07T08:54:24.696Z] ==> 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-07-07T08:54:24.696Z] Release-Date: 2020-01-08 [2022-07-07T08:54:24.696Z] 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-07-07T08:54:24.696Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T08:54:24.696Z] ==> Jenkins CI detected. [2022-07-07T08:54:24.696Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-07T08:54:24.696Z] project root: . [2022-07-07T08:54:24.696Z] --> token set from env [2022-07-07T08:54:24.696Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T08:54:24.696Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T08:54:24.696Z] ==> Python coveragepy not found [2022-07-07T08:54:24.696Z] ==> Searching for coverage reports in: [2022-07-07T08:54:24.696Z] + . [2022-07-07T08:54:24.956Z] -> Found 1 reports [2022-07-07T08:54:24.956Z] ==> Detecting git/mercurial file structure [2022-07-07T08:54:24.956Z] ==> Reading reports [2022-07-07T08:54:24.956Z] + ./coverage.out bytes=70262 [2022-07-07T08:54:24.956Z] ==> Appending adjustments [2022-07-07T08:54:24.956Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T08:54:24.956Z] + Found adjustments [2022-07-07T08:54:24.956Z] ==> Gzipping contents [2022-07-07T08:54:24.956Z] 12K /tmp/codecov.Z83c6p.gz [2022-07-07T08:54:24.956Z] ==> Uploading reports [2022-07-07T08:54:24.956Z] url: https://codecov.io [2022-07-07T08:54:24.956Z] query: branch=PR-103&commit=1ecd3b8b97d690817c6baab8461d80927bacec05&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-07T08:54:24.956Z] -> Pinging Codecov [2022-07-07T08:54:24.956Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=1ecd3b8b97d690817c6baab8461d80927bacec05&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-07T08:54:25.215Z] -> Uploading to [2022-07-07T08:54:25.216Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/F29A59C45E3A92E06B3E522C9905F8EF/1ecd3b8b97d690817c6baab8461d80927bacec05/6afaaae3-4a52-448c-9b6f-49b3a23412fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T085425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de38aa13376c5ea64c3e7b03d8364c501657c8919b4adebc0d9f9cb6b3f6be73 [2022-07-07T08:54:25.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T08:54:25.216Z] Dload Upload Total Spent Left Speed [2022-07-07T08:54:25.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9507 0 0 100 9507 0 40455 --:--:-- --:--:-- --:--:-- 40455 [2022-07-07T08:54:25.476Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/1ecd3b8b97d690817c6baab8461d80927bacec05 [Pipeline] } [2022-07-07T08:54:25.484Z] 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-07-07T08:54:26.183Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] [2022-07-07T08:54:26.183Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-07T08:54:26.183Z] total 16 [2022-07-07T08:54:26.183Z] drwxr-xr-x 3 root root 4096 Jul 7 08:46 . [2022-07-07T08:54:26.183Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 7 08:46 .. [2022-07-07T08:54:26.183Z] drwxr-xr-x 2 root root 4096 Jul 7 08:46 cost [2022-07-07T08:54:26.183Z] -rw-r--r-- 1 root root 90 Jul 7 08:46 cost.csv [2022-07-07T08:54:26.183Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-07T08:54:26.183Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-07T08:54:26.183Z] total 16 [2022-07-07T08:54:26.183Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 08:46 . [2022-07-07T08:54:26.183Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 7 08:46 .. [2022-07-07T08:54:26.183Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 08:46 cost [2022-07-07T08:54:26.183Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 7 08:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:26.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:27.340Z] ---> package-listing.sh [2022-07-07T08:54:27.340Z] ++ facter osfamily [2022-07-07T08:54:27.340Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T08:54:27.600Z] + OS_FAMILY=debian [2022-07-07T08:54:27.600Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-103 [2022-07-07T08:54:27.600Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T08:54:27.600Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T08:54:27.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T08:54:27.600Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T08:54:27.600Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-07T08:54:27.600Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T08:54:27.600Z] + case "${OS_FAMILY}" in [2022-07-07T08:54:27.600Z] + dpkg -l [2022-07-07T08:54:27.600Z] + grep '^ii' [2022-07-07T08:54:27.600Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T08:54:27.600Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T08:54:27.600Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T08:54:27.600Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-07T08:54:27.600Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ [2022-07-07T08:54:27.600Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo [2022-07-07T08:54:27.610Z] 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T08:54:27.889Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T08:54:28.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T08:54:28.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T08:54:28.532Z] prd-ubuntu20.04-docker-8c-8g-17120 does not seem to be running inside a container [2022-07-07T08:54:28.579Z] $ 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-103/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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T08:54:28.836Z] $ docker top 12c9c745e445d9c2c1fd42634e784768e1628ed54fe38b6794e4aa8b92d4de70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T08:54:29.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T08:54:29.470Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T08:54:29.756Z] + ls /var/log/sa-host [2022-07-07T08:54:29.756Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T08:54:29.821Z] provisioning config files... [2022-07-07T08:54:29.831Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config7218942366687569193tmp [Pipeline] { [Pipeline] echo [2022-07-07T08:54:29.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:30.133Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T08:54:30.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:30.469Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T08:54:30.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:30.762Z] ---> sudo-logs.sh [2022-07-07T08:54:30.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T08:54:30.793Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:31.077Z] ---> job-cost.sh [2022-07-07T08:54:31.077Z] lf-activate-venv: SKIPPING [2022-07-07T08:54:31.077Z] DEBUG: total: 0.2199999988079071 [2022-07-07T08:54:31.077Z] INFO: Retrieving Stack Cost... [2022-07-07T08:54:31.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T08:54:31.906Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T08:54:31.918Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T08:54:32.202Z] ---> logs-deploy.sh [2022-07-07T08:54:32.202Z] lf-activate-venv: SKIPPING [2022-07-07T08:54:32.202Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/3 [2022-07-07T08:54:32.202Z] INFO: archiving workspace using pattern(s): [2022-07-07T08:54:33.146Z] Archives upload complete. [2022-07-07T08:54:33.146Z] INFO: archiving logs to Nexus