Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b04bfaa3f7c90cec0972aba86e0cd13724293b2a+dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 (0664ca76481626716e531107cc44ac7574f2dee9) 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-ssh15203911033943492850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3575733420534552631.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/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-139/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12814827534322414527.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6076624870125778597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-139/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-139/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17958572679760686722.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24185 in /w/workspace/undry_device-onvif-camera_PR-139 [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-139 # 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 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b04bfaa3f7c90cec0972aba86e0cd13724293b2a Merge succeeded, producing 892f84e150d159d4896aab00c46130e581924e84 Checking out Revision 892f84e150d159d4896aab00c46130e581924e84 (PR-139) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b04bfaa3f7c90cec0972aba86e0cd13724293b2a # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 892f84e150d159d4896aab00c46130e581924e84 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" > git rev-list --no-walk b04bfaa3f7c90cec0972aba86e0cd13724293b2a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T10:10:55.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T10:10:55.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T10:10:55.736Z] ========================================================= [2022-08-31T10:10:55.737Z] EdgeX Global Pipelines Version Info [2022-08-31T10:10:55.737Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:10:56.506Z] ------------------- [2022-08-31T10:10:56.506Z] stable info: [2022-08-31T10:10:56.506Z] ------------------- [2022-08-31T10:10:56.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T10:10:56.506Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T10:10:56.506Z] Message: update stable to v1.0.239 [2022-08-31T10:10:57.084Z] ------------------- [2022-08-31T10:10:57.084Z] experimental info: [2022-08-31T10:10:57.084Z] ------------------- [2022-08-31T10:10:57.084Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T10:10:57.084Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T10:10:57.084Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T10:10:57.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T10:10:57.379Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T10:10:57.387Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T10:10:57.395Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T10:10:57.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T10:10:57.412Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T10:10:57.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T10:10:57.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T10:10:57.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T10:10:57.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T10:10:57.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T10:10:57.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T10:10:57.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T10:10:57.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T10:10:57.492Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T10:10:57.500Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T10:10:57.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T10:10:57.517Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T10:10:57.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T10:10:57.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T10:10:57.544Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T10:10:57.552Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T10:10:57.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T10:10:57.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T10:10:57.576Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T10:10:57.584Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T10:10:57.592Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T10:10:57.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo [2022-08-31T10:10:57.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo [2022-08-31T10:10:57.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo [2022-08-31T10:10:57.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 892f84e150d159d4896aab00c46130e581924e84 [Pipeline] echo [2022-08-31T10:10:57.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 892f84e [Pipeline] echo [2022-08-31T10:10:57.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:10:57.706Z] provisioning config files... [2022-08-31T10:10:57.721Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config2263546681644524851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:10:58.041Z] ---> docker-login.sh [2022-08-31T10:10:58.041Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:10:58.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:58.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:58.304Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:58.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:58.304Z] [2022-08-31T10:10:58.304Z] Login Succeeded [2022-08-31T10:10:58.304Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:10:58.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:58.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:58.566Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:58.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:58.566Z] [2022-08-31T10:10:58.566Z] Login Succeeded [2022-08-31T10:10:58.566Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:10:58.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:58.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:58.566Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:58.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:58.566Z] [2022-08-31T10:10:58.566Z] Login Succeeded [2022-08-31T10:10:58.566Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:10:58.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:58.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:58.830Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:58.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:58.830Z] [2022-08-31T10:10:58.830Z] Login Succeeded [2022-08-31T10:10:58.830Z] docker.io [2022-08-31T10:10:58.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:10:59.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:10:59.092Z] Configure a credential helper to remove this warning. See [2022-08-31T10:10:59.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:10:59.092Z] [2022-08-31T10:10:59.092Z] Login Succeeded [2022-08-31T10:10:59.367Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:10:59.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T10:10:59.752Z] + git rev-list -1 --merges 892f84e150d159d4896aab00c46130e581924e84~1..892f84e150d159d4896aab00c46130e581924e84 [Pipeline] echo [2022-08-31T10:10:59.783Z] -----------> git rev-list -1 --merges 892f84e150d159d4896aab00c46130e581924e84~1..892f84e150d159d4896aab00c46130e581924e84 892f84e150d159d4896aab00c46130e581924e84 [2022-08-31T10:10:59.783Z] 892f84e150d159d4896aab00c46130e581924e84 [false] [Pipeline] sh [2022-08-31T10:11:00.075Z] + git log --format=format:%s -1 892f84e150d159d4896aab00c46130e581924e84 [Pipeline] echo [2022-08-31T10:11:00.092Z] ========================================================= [2022-08-31T10:11:00.092Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T10:11:00.092Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:11:00.429Z] + git log --format=format:%s -1 892f84e150d159d4896aab00c46130e581924e84 [Pipeline] echo [2022-08-31T10:11:00.442Z] [semverPrep] GIT_COMMIT: 892f84e150d159d4896aab00c46130e581924e84, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T10:11:00.451Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T10:11:00.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T10:11:00.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T10:11:00.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T10:11:00.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T10:11:00.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T10:11:00.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T10:11:00.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:01.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:11:01.182Z] [2022-08-31T10:11:01.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:01.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:11:01.488Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T10:11:01.488Z] b85a868b505f: Pulling fs layer [2022-08-31T10:11:01.488Z] e2be974225ed: Pulling fs layer [2022-08-31T10:11:01.488Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T10:11:01.488Z] 988bab9f4d93: Pulling fs layer [2022-08-31T10:11:01.488Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T10:11:01.488Z] eaf3925da568: Pulling fs layer [2022-08-31T10:11:01.488Z] bab4dde63d76: Pulling fs layer [2022-08-31T10:11:01.488Z] bde34c3a00c8: Pulling fs layer [2022-08-31T10:11:01.488Z] b352a97aabf1: Pulling fs layer [2022-08-31T10:11:01.488Z] 4872d77fe225: Pulling fs layer [2022-08-31T10:11:01.488Z] 5851b861e8e6: Pulling fs layer [2022-08-31T10:11:01.488Z] bde34c3a00c8: Waiting [2022-08-31T10:11:01.488Z] b352a97aabf1: Waiting [2022-08-31T10:11:01.488Z] 5851b861e8e6: Waiting [2022-08-31T10:11:01.488Z] 988bab9f4d93: Waiting [2022-08-31T10:11:01.488Z] 4872d77fe225: Waiting [2022-08-31T10:11:01.488Z] 1469e6f7b9e6: Waiting [2022-08-31T10:11:01.488Z] eaf3925da568: Waiting [2022-08-31T10:11:01.488Z] e2be974225ed: Download complete [2022-08-31T10:11:01.488Z] 988bab9f4d93: Download complete [2022-08-31T10:11:01.747Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T10:11:01.747Z] 1469e6f7b9e6: Download complete [2022-08-31T10:11:01.747Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T10:11:01.747Z] 339a4e72a1f5: Download complete [2022-08-31T10:11:01.747Z] eaf3925da568: Verifying Checksum [2022-08-31T10:11:01.747Z] eaf3925da568: Download complete [2022-08-31T10:11:01.747Z] bde34c3a00c8: Download complete [2022-08-31T10:11:01.747Z] b352a97aabf1: Verifying Checksum [2022-08-31T10:11:01.747Z] b352a97aabf1: Download complete [2022-08-31T10:11:01.747Z] 4872d77fe225: Download complete [2022-08-31T10:11:01.747Z] 5851b861e8e6: Verifying Checksum [2022-08-31T10:11:01.747Z] 5851b861e8e6: Download complete [2022-08-31T10:11:01.747Z] b85a868b505f: Verifying Checksum [2022-08-31T10:11:01.747Z] b85a868b505f: Download complete [2022-08-31T10:11:02.011Z] bab4dde63d76: Verifying Checksum [2022-08-31T10:11:02.011Z] bab4dde63d76: Download complete [2022-08-31T10:11:02.958Z] b85a868b505f: Pull complete [2022-08-31T10:11:03.219Z] e2be974225ed: Pull complete [2022-08-31T10:11:03.787Z] 339a4e72a1f5: Pull complete [2022-08-31T10:11:03.787Z] 988bab9f4d93: Pull complete [2022-08-31T10:11:04.049Z] 1469e6f7b9e6: Pull complete [2022-08-31T10:11:04.049Z] eaf3925da568: Pull complete [2022-08-31T10:11:05.966Z] bab4dde63d76: Pull complete [2022-08-31T10:11:06.226Z] bde34c3a00c8: Pull complete [2022-08-31T10:11:06.226Z] b352a97aabf1: Pull complete [2022-08-31T10:11:06.226Z] 4872d77fe225: Pull complete [2022-08-31T10:11:06.487Z] 5851b861e8e6: Pull complete [2022-08-31T10:11:06.487Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T10:11:06.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T10:11:06.487Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:11:06.607Z] prd-ubuntu20.04-docker-8c-8g-24185 does not seem to be running inside a container [2022-08-31T10:11:06.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T10:11:07.777Z] $ docker top f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 -eo pid,comm [2022-08-31T10:11:07.846Z] 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-08-31T10:11:07.846Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T10:11:07.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T10:11:07.881Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T10:11:08.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T10:11:08.023Z] $ docker exec f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 ssh-agent [2022-08-31T10:11:08.169Z] SSH_AUTH_SOCK=/tmp/ssh-lBsWLbFPy0Fb/agent.32 [2022-08-31T10:11:08.169Z] SSH_AGENT_PID=38 [2022-08-31T10:11:08.176Z] Running ssh-add (command line suppressed) [2022-08-31T10:11:08.302Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_8094408092892712834.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_8094408092892712834.key) [2022-08-31T10:11:08.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T10:11:08.611Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T10:11:08.637Z] $ docker exec --env ******** --env ******** f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 ssh-agent -k [2022-08-31T10:11:08.754Z] unset SSH_AUTH_SOCK; [2022-08-31T10:11:08.755Z] unset SSH_AGENT_PID; [2022-08-31T10:11:08.755Z] echo Agent pid 38 killed; [2022-08-31T10:11:08.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T10:11:08.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T10:11:08.791Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T10:11:08.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T10:11:08.926Z] $ docker exec f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 ssh-agent [2022-08-31T10:11:09.048Z] SSH_AUTH_SOCK=/tmp/ssh-dFhUTDG0Dlah/agent.71 [2022-08-31T10:11:09.048Z] SSH_AGENT_PID=77 [2022-08-31T10:11:09.054Z] Running ssh-add (command line suppressed) [2022-08-31T10:11:09.187Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_7028512971850650257.key (/w/workspace/undry_device-onvif-camera_PR-139@tmp/private_key_7028512971850650257.key) [2022-08-31T10:11:09.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T10:11:09.495Z] + git semver init [2022-08-31T10:11:09.756Z] 2022-08-31 10:11:09,704 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T10:11:09.756Z] 2022-08-31 10:11:09,705 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-139/.semver [2022-08-31T10:11:09.756Z] 2022-08-31 10:11:09,706 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-139/.semver [2022-08-31T10:11:09.756Z] 2022-08-31 10:11:09,706 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-139/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-139, universal_newlines=False, shell=None, istream=None) [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,474 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-139/.git/info/exclude [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,475 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 with force:False [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,475 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,479 [execute] INFO git cat-file --batch-check [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,487 [execute] INFO git cat-file --batch [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-139/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T10:11:10.702Z] 2022-08-31 10:11:10,493 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-139/.semver/PR-139 [2022-08-31T10:11:10.702Z] 0.0.0 [Pipeline] } [2022-08-31T10:11:10.716Z] $ docker exec --env ******** --env ******** f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 ssh-agent -k [2022-08-31T10:11:10.823Z] unset SSH_AUTH_SOCK; [2022-08-31T10:11:10.823Z] unset SSH_AGENT_PID; [2022-08-31T10:11:10.823Z] echo Agent pid 77 killed; [2022-08-31T10:11:10.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T10:11:11.151Z] + git semver [Pipeline] } [2022-08-31T10:11:11.432Z] $ docker stop --time=1 f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 [2022-08-31T10:11:12.750Z] $ docker rm -f f960970b31d2e1066082b6dabdb0df1c34affa8a654a9898a158e5a9fde18c07 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:11:13.108Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T10:11:13.577Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T10:11:13.580Z] [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-08-31T10:11:13.717Z] provisioning config files... [2022-08-31T10:11:13.727Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config2218578811937837330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:11:14.035Z] ---> docker-login.sh [2022-08-31T10:11:14.035Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:11:14.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:11:14.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:11:14.036Z] Configure a credential helper to remove this warning. See [2022-08-31T10:11:14.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:11:14.036Z] [2022-08-31T10:11:14.036Z] Login Succeeded [2022-08-31T10:11:14.036Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:11:14.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:11:14.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:11:14.296Z] Configure a credential helper to remove this warning. See [2022-08-31T10:11:14.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:11:14.296Z] [2022-08-31T10:11:14.296Z] Login Succeeded [2022-08-31T10:11:14.296Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:11:14.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:11:14.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:11:14.296Z] Configure a credential helper to remove this warning. See [2022-08-31T10:11:14.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:11:14.296Z] [2022-08-31T10:11:14.296Z] Login Succeeded [2022-08-31T10:11:14.296Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:11:14.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:11:14.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:11:14.557Z] Configure a credential helper to remove this warning. See [2022-08-31T10:11:14.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:11:14.557Z] [2022-08-31T10:11:14.557Z] Login Succeeded [2022-08-31T10:11:14.557Z] docker.io [2022-08-31T10:11:14.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:11:14.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:11:14.817Z] Configure a credential helper to remove this warning. See [2022-08-31T10:11:14.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:11:14.817Z] [2022-08-31T10:11:14.817Z] Login Succeeded [2022-08-31T10:11:14.817Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:11:14.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T10:11:14.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:11:14.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:11:14.911Z] ========================================================= [2022-08-31T10:11:14.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T10:11:14.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:15.227Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T10:11:15.227Z] Sending build context to Docker daemon 20.56MB [2022-08-31T10:11:15.227Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:11:15.227Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T10:11:15.488Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T10:11:15.488Z] 2408cc74d12b: Pulling fs layer [2022-08-31T10:11:15.488Z] ea60b727a1ce: Pulling fs layer [2022-08-31T10:11:15.488Z] 30c4a7721957: Pulling fs layer [2022-08-31T10:11:15.488Z] 370296b7ddb6: Pulling fs layer [2022-08-31T10:11:15.488Z] 7c6cee850709: Pulling fs layer [2022-08-31T10:11:15.489Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T10:11:15.489Z] d94ebbe4e438: Pulling fs layer [2022-08-31T10:11:15.489Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T10:11:15.489Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T10:11:15.489Z] 370296b7ddb6: Waiting [2022-08-31T10:11:15.489Z] 7c6cee850709: Waiting [2022-08-31T10:11:15.489Z] 39a5fcdaea64: Waiting [2022-08-31T10:11:15.489Z] d94ebbe4e438: Waiting [2022-08-31T10:11:15.489Z] bcfd1f05c69d: Waiting [2022-08-31T10:11:15.489Z] 59ccb84bbe0f: Waiting [2022-08-31T10:11:15.489Z] 30c4a7721957: Verifying Checksum [2022-08-31T10:11:15.489Z] 30c4a7721957: Download complete [2022-08-31T10:11:15.489Z] ea60b727a1ce: Download complete [2022-08-31T10:11:15.489Z] 7c6cee850709: Verifying Checksum [2022-08-31T10:11:15.489Z] 7c6cee850709: Download complete [2022-08-31T10:11:15.489Z] 39a5fcdaea64: Verifying Checksum [2022-08-31T10:11:15.489Z] 39a5fcdaea64: Download complete [2022-08-31T10:11:15.489Z] 2408cc74d12b: Verifying Checksum [2022-08-31T10:11:15.489Z] 2408cc74d12b: Download complete [2022-08-31T10:11:15.489Z] d94ebbe4e438: Verifying Checksum [2022-08-31T10:11:15.489Z] d94ebbe4e438: Download complete [2022-08-31T10:11:15.489Z] 2408cc74d12b: Pull complete [2022-08-31T10:11:15.750Z] ea60b727a1ce: Pull complete [2022-08-31T10:11:15.750Z] 30c4a7721957: Pull complete [2022-08-31T10:11:16.014Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T10:11:16.014Z] 59ccb84bbe0f: Download complete [2022-08-31T10:11:16.014Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T10:11:16.014Z] bcfd1f05c69d: Download complete [2022-08-31T10:11:16.275Z] 370296b7ddb6: Verifying Checksum [2022-08-31T10:11:16.275Z] 370296b7ddb6: Download complete [2022-08-31T10:11:20.482Z] 370296b7ddb6: Pull complete [2022-08-31T10:11:20.743Z] 7c6cee850709: Pull complete [2022-08-31T10:11:20.743Z] 39a5fcdaea64: Pull complete [2022-08-31T10:11:20.743Z] d94ebbe4e438: Pull complete [2022-08-31T10:11:23.301Z] bcfd1f05c69d: Pull complete [2022-08-31T10:11:23.874Z] 59ccb84bbe0f: Pull complete [2022-08-31T10:11:23.874Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T10:11:23.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T10:11:23.874Z] ---> a4fb48ad2a94 [2022-08-31T10:11:23.874Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T10:11:25.261Z] ---> Running in 06e71202d0f0 [2022-08-31T10:11:25.261Z] Removing intermediate container 06e71202d0f0 [2022-08-31T10:11:25.261Z] ---> 2f8b990e5935 [2022-08-31T10:11:25.261Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:11:25.261Z] ---> Running in a252c59e1b42 [2022-08-31T10:11:25.261Z] Removing intermediate container a252c59e1b42 [2022-08-31T10:11:25.261Z] ---> bd4d3b91bf10 [2022-08-31T10:11:25.261Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:11:25.261Z] ---> Running in 97fdfd5f5c6f [2022-08-31T10:11:25.261Z] Removing intermediate container 97fdfd5f5c6f [2022-08-31T10:11:25.261Z] ---> 773c9a80ce75 [2022-08-31T10:11:25.261Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:11:25.261Z] ---> Running in 922daa891d4c [2022-08-31T10:11:25.261Z] Removing intermediate container 922daa891d4c [2022-08-31T10:11:25.261Z] ---> bc0a005e5af5 [2022-08-31T10:11:25.261Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:11:25.261Z] ---> Running in 3eaf1b9f9e97 [2022-08-31T10:11:25.836Z] Removing intermediate container 3eaf1b9f9e97 [2022-08-31T10:11:25.836Z] ---> a4d8cbaf378f [2022-08-31T10:11:25.836Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:11:25.836Z] ---> Running in c07a3943251c [2022-08-31T10:11:26.098Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:27.037Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:11:27.296Z] OK: 211 MiB in 51 packages [2022-08-31T10:11:27.868Z] Removing intermediate container c07a3943251c [2022-08-31T10:11:27.868Z] ---> e9541238c57d [2022-08-31T10:11:27.868Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T10:11:27.868Z] ---> Running in 401b1f3e486a [2022-08-31T10:11:27.868Z] Removing intermediate container 401b1f3e486a [2022-08-31T10:11:27.868Z] ---> a5be3d8a261f [2022-08-31T10:11:27.868Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T10:11:27.868Z] ---> 7ffa72ecc0e1 [2022-08-31T10:11:27.868Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:11:27.868Z] ---> Running in a04adf3ab5f9 [2022-08-31T10:11:28.664Z] Still waiting to schedule task [2022-08-31T10:11:28.665Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-31T10:11:42.790Z] Removing intermediate container a04adf3ab5f9 [2022-08-31T10:11:42.790Z] ---> 82d03b679b94 [2022-08-31T10:11:42.790Z] Step 12/13 : COPY . . [2022-08-31T10:11:42.790Z] ---> c32c8727e557 [2022-08-31T10:11:42.790Z] Step 13/13 : RUN ${MAKE} [2022-08-31T10:11:42.790Z] ---> Running in 551255605b42 [2022-08-31T10:11:43.051Z] noop [2022-08-31T10:11:43.313Z] Removing intermediate container 551255605b42 [2022-08-31T10:11:43.313Z] ---> 0472580d961d [2022-08-31T10:11:43.313Z] Successfully built 0472580d961d [2022-08-31T10:11:43.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:43.624Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T10:11:43.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:11:43.714Z] prd-ubuntu20.04-docker-8c-8g-24185 does not seem to be running inside a container [2022-08-31T10:11:43.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T10:11:44.129Z] $ docker top f70f35d770e59eaf802f5233d44ec3deb219640e4bb7b4ef5c4d0e4afeb54a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:11:44.501Z] + go version [2022-08-31T10:11:44.501Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T10:11:44.517Z] $ docker stop --time=1 f70f35d770e59eaf802f5233d44ec3deb219640e4bb7b4ef5c4d0e4afeb54a8d [2022-08-31T10:11:45.815Z] $ docker rm -f f70f35d770e59eaf802f5233d44ec3deb219640e4bb7b4ef5c4d0e4afeb54a8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:11:46.253Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T10:11:46.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:11:46.343Z] prd-ubuntu20.04-docker-8c-8g-24185 does not seem to be running inside a container [2022-08-31T10:11:46.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T10:11:46.744Z] $ docker top 0d0151032fa066119379bf81c6387b27795ba91e4941eb69b521bc26fb7e5d12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:11:47.108Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] fileExists [Pipeline] sh [2022-08-31T10:11:47.418Z] + make test [2022-08-31T10:11:47.418Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T10:11:47.677Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T10:11:57.663Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T10:11:59.046Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.5% of statements [2022-08-31T10:11:59.046Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T10:12:04.339Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.216s coverage: 13.8% of statements [2022-08-31T10:12:12.481Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-31T10:12:12.481Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T10:12:15.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T10:12:15.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T10:12:15.019Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T10:12:15.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T10:12:15.053Z] $ docker stop --time=1 0d0151032fa066119379bf81c6387b27795ba91e4941eb69b521bc26fb7e5d12 [2022-08-31T10:12:16.664Z] $ docker rm -f 0d0151032fa066119379bf81c6387b27795ba91e4941eb69b521bc26fb7e5d12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:12:17.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T10:12:17.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T10:12:17.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T10:12:17.921Z] + ls -al . [2022-08-31T10:12:17.921Z] total 232 [2022-08-31T10:12:17.921Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 10:11 . [2022-08-31T10:12:17.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 .. [2022-08-31T10:12:17.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 10:12 .git [2022-08-31T10:12:17.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:10 .github [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 10:10 .gitignore [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 10:10 .golangci.yml [2022-08-31T10:12:17.921Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 10:11 .semver [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 10:10 Attribution.txt [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 10:10 CHANGELOG.md [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 10:10 Dockerfile [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 10:10 GOVERNANCE.md [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 10:10 Jenkinsfile [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 10:10 LICENSE [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 10:10 Makefile [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 10:10 OWNERS.md [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 10:10 README.md [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 10:11 VERSION [2022-08-31T10:12:17.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 10:10 bin [2022-08-31T10:12:17.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:10 cmd [2022-08-31T10:12:17.921Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 31 10:12 coverage.out [2022-08-31T10:12:17.921Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 10:10 doc [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 10:10 go.mod [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 10:10 go.sum [2022-08-31T10:12:17.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 internal [2022-08-31T10:12:17.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:10 snap [2022-08-31T10:12:17.921Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:12:18.242Z] + 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=892f84e150d159d4896aab00c46130e581924e84 --label arch=amd64 --label version=0.0.0 . [2022-08-31T10:12:18.242Z] Sending build context to Docker daemon 20.64MB [2022-08-31T10:12:18.242Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:12:18.242Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T10:12:18.242Z] ---> 0472580d961d [2022-08-31T10:12:18.242Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T10:12:18.503Z] ---> Running in d17aaf4afa75 [2022-08-31T10:12:18.504Z] Removing intermediate container d17aaf4afa75 [2022-08-31T10:12:18.504Z] ---> 943287ef737d [2022-08-31T10:12:18.504Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:12:18.504Z] ---> Running in 129df7c33aef [2022-08-31T10:12:18.504Z] Removing intermediate container 129df7c33aef [2022-08-31T10:12:18.504Z] ---> feac164b6523 [2022-08-31T10:12:18.504Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:12:18.504Z] ---> Running in 5f383204b16a [2022-08-31T10:12:18.765Z] Removing intermediate container 5f383204b16a [2022-08-31T10:12:18.765Z] ---> 0672a69df151 [2022-08-31T10:12:18.765Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:12:18.765Z] ---> Running in f14ddaed3275 [2022-08-31T10:12:18.765Z] Removing intermediate container f14ddaed3275 [2022-08-31T10:12:18.765Z] ---> 164d3efd92be [2022-08-31T10:12:18.765Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:12:18.765Z] ---> Running in 61186ab9c74b [2022-08-31T10:12:19.336Z] Removing intermediate container 61186ab9c74b [2022-08-31T10:12:19.336Z] ---> ca9894afa32e [2022-08-31T10:12:19.336Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:12:19.336Z] ---> Running in b4853068bc21 [2022-08-31T10:12:19.598Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:20.543Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:20.804Z] OK: 211 MiB in 51 packages [2022-08-31T10:12:21.066Z] Removing intermediate container b4853068bc21 [2022-08-31T10:12:21.066Z] ---> 5418ecd3c235 [2022-08-31T10:12:21.066Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T10:12:21.066Z] ---> Running in a832463b331d [2022-08-31T10:12:21.066Z] Removing intermediate container a832463b331d [2022-08-31T10:12:21.066Z] ---> 1b7920ffa283 [2022-08-31T10:12:21.066Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T10:12:21.328Z] ---> e81192251543 [2022-08-31T10:12:21.328Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:12:21.328Z] ---> Running in 83f14ebe552a [2022-08-31T10:12:21.898Z] Removing intermediate container 83f14ebe552a [2022-08-31T10:12:21.898Z] ---> 8d832861fe71 [2022-08-31T10:12:21.898Z] Step 12/26 : COPY . . [2022-08-31T10:12:22.468Z] ---> c471c07fbd41 [2022-08-31T10:12:22.468Z] Step 13/26 : RUN ${MAKE} [2022-08-31T10:12:22.468Z] ---> Running in f5ef37a1b55e [2022-08-31T10:12:22.728Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T10:12:44.686Z] Removing intermediate container f5ef37a1b55e [2022-08-31T10:12:44.686Z] ---> 079ef7c535a2 [2022-08-31T10:12:44.686Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T10:12:44.686Z] 3.16: Pulling from library/alpine [2022-08-31T10:12:44.686Z] 213ec9aee27d: Pulling fs layer [2022-08-31T10:12:44.686Z] 213ec9aee27d: Verifying Checksum [2022-08-31T10:12:44.686Z] 213ec9aee27d: Download complete [2022-08-31T10:12:44.686Z] 213ec9aee27d: Pull complete [2022-08-31T10:12:44.686Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T10:12:44.686Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T10:12:44.686Z] ---> 9c6f07244728 [2022-08-31T10:12:44.686Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T10:12:44.686Z] ---> Running in 93139a030ba3 [2022-08-31T10:12:44.686Z] Removing intermediate container 93139a030ba3 [2022-08-31T10:12:44.686Z] ---> d91502127424 [2022-08-31T10:12:44.686Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T10:12:44.686Z] ---> Running in 2f4f8710afd1 [2022-08-31T10:12:44.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:44.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T10:12:44.947Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T10:12:44.947Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T10:12:44.947Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T10:12:44.947Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T10:12:44.947Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T10:12:44.947Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T10:12:44.947Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T10:12:44.947Z] OK: 8 MiB in 20 packages [2022-08-31T10:12:45.517Z] Removing intermediate container 2f4f8710afd1 [2022-08-31T10:12:45.517Z] ---> 4ddd9d6ccdb4 [2022-08-31T10:12:45.517Z] Step 17/26 : WORKDIR / [2022-08-31T10:12:45.517Z] ---> Running in 7d5b63256897 [2022-08-31T10:12:45.517Z] Removing intermediate container 7d5b63256897 [2022-08-31T10:12:45.517Z] ---> 53b1e9d3e241 [2022-08-31T10:12:45.517Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T10:12:46.089Z] ---> 0afe955d56ed [2022-08-31T10:12:46.089Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T10:12:46.089Z] ---> 83f4a10e2fd7 [2022-08-31T10:12:46.089Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T10:12:46.089Z] ---> 7bc2336ce0d2 [2022-08-31T10:12:46.089Z] Step 21/26 : EXPOSE 59984 [2022-08-31T10:12:46.352Z] ---> Running in 5b83f45d5f8f [2022-08-31T10:12:46.352Z] Removing intermediate container 5b83f45d5f8f [2022-08-31T10:12:46.352Z] ---> fd84f444dbc9 [2022-08-31T10:12:46.352Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T10:12:46.352Z] ---> Running in b0db5472c388 [2022-08-31T10:12:46.352Z] Removing intermediate container b0db5472c388 [2022-08-31T10:12:46.352Z] ---> 4ff80b2b4e89 [2022-08-31T10:12:46.352Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T10:12:46.352Z] ---> Running in 8e078b6fbaa2 [2022-08-31T10:12:46.613Z] Removing intermediate container 8e078b6fbaa2 [2022-08-31T10:12:46.613Z] ---> d3fbb2c28c55 [2022-08-31T10:12:46.613Z] Step 24/26 : LABEL arch=amd64 [2022-08-31T10:12:46.613Z] ---> Running in 40061863bdd4 [2022-08-31T10:12:46.613Z] Removing intermediate container 40061863bdd4 [2022-08-31T10:12:46.613Z] ---> 728cddfa1011 [2022-08-31T10:12:46.613Z] Step 25/26 : LABEL git_sha=892f84e150d159d4896aab00c46130e581924e84 [2022-08-31T10:12:46.613Z] ---> Running in d08110990a19 [2022-08-31T10:12:46.613Z] Removing intermediate container d08110990a19 [2022-08-31T10:12:46.613Z] ---> b3794d046731 [2022-08-31T10:12:46.613Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T10:12:46.613Z] ---> Running in 59e7cff840e3 [2022-08-31T10:12:46.876Z] Removing intermediate container 59e7cff840e3 [2022-08-31T10:12:46.876Z] ---> 5836656c43e9 [2022-08-31T10:12:46.876Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T10:12:46.876Z] Successfully built 5836656c43e9 [2022-08-31T10:12:46.876Z] 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-08-31T10:12:47.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:47.346Z] [2022-08-31T10:12:47.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:12:47.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:47.657Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T10:12:47.657Z] 5eb5b503b376: Pulling fs layer [2022-08-31T10:12:47.657Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T10:12:47.657Z] ec43610c2a17: Pulling fs layer [2022-08-31T10:12:47.657Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T10:12:47.657Z] 33b1e0a273af: Pulling fs layer [2022-08-31T10:12:47.657Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T10:12:47.657Z] 2f39f015ded8: Pulling fs layer [2022-08-31T10:12:47.657Z] 33b1e0a273af: Waiting [2022-08-31T10:12:47.657Z] 5d3b04190fa2: Waiting [2022-08-31T10:12:47.657Z] 2f39f015ded8: Waiting [2022-08-31T10:12:47.657Z] 3a2ae6a8a46f: Waiting [2022-08-31T10:12:47.657Z] 5c69ac0246d0: Download complete [2022-08-31T10:12:47.657Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T10:12:47.657Z] 3a2ae6a8a46f: Download complete [2022-08-31T10:12:47.657Z] 33b1e0a273af: Verifying Checksum [2022-08-31T10:12:47.657Z] 33b1e0a273af: Download complete [2022-08-31T10:12:47.657Z] ec43610c2a17: Verifying Checksum [2022-08-31T10:12:47.657Z] ec43610c2a17: Download complete [2022-08-31T10:12:47.917Z] 5d3b04190fa2: Download complete [2022-08-31T10:12:47.917Z] 5eb5b503b376: Download complete [2022-08-31T10:12:48.487Z] 2f39f015ded8: Download complete [2022-08-31T10:12:49.058Z] 5eb5b503b376: Pull complete [2022-08-31T10:12:49.319Z] 5c69ac0246d0: Pull complete [2022-08-31T10:12:49.889Z] ec43610c2a17: Pull complete [2022-08-31T10:12:49.889Z] 3a2ae6a8a46f: Pull complete [2022-08-31T10:12:50.151Z] 33b1e0a273af: Pull complete [2022-08-31T10:12:50.151Z] 5d3b04190fa2: Pull complete [2022-08-31T10:12:55.432Z] 2f39f015ded8: Pull complete [2022-08-31T10:12:55.432Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T10:12:55.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:12:55.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:12:55.523Z] prd-ubuntu20.04-docker-8c-8g-24185 does not seem to be running inside a container [2022-08-31T10:12:55.562Z] $ 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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T10:12:56.575Z] $ docker top a601a63e0aa663905221ebd2f554dd46a8eb976bd3fd01d7acf1fd5913627bba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:12:56.966Z] ---> job-cost.sh [2022-08-31T10:12:56.966Z] lf-activate-venv: SKIPPING [2022-08-31T10:12:56.966Z] INFO: No Stack... [2022-08-31T10:12:57.227Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T10:12:57.799Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T10:12:58.098Z] + cat /w/workspace/undry_device-onvif-camera_PR-139/archives/cost.csv [2022-08-31T10:12:58.099Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T10:12:58.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [2022-08-31T10:12:58.121Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] did not exist. Created. [2022-08-31T10:12:58.121Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T10:12:58.435Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T10:12:58.471Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T10:12:58.477Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T10:12:58.498Z] $ docker stop --time=1 a601a63e0aa663905221ebd2f554dd46a8eb976bd3fd01d7acf1fd5913627bba [2022-08-31T10:12:59.657Z] $ docker rm -f a601a63e0aa663905221ebd2f554dd46a8eb976bd3fd01d7acf1fd5913627bba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T10:14:12.272Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24187 in /w/workspace/undry_device-onvif-camera_PR-139 [Pipeline] { [Pipeline] ws [2022-08-31T10:14:12.284Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-08-31T10:14:12.338Z] Selected Git installation does not exist. Using Default [2022-08-31T10:14:12.338Z] The recommended git tool is: NONE [2022-08-31T10:14:19.700Z] using credential edgex-jenkins-ssh [2022-08-31T10:14:19.731Z] Cloning the remote Git repository [2022-08-31T10:14:19.794Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:14:19.877Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-08-31T10:14:19.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:14:19.988Z] > git --version # timeout=10 [2022-08-31T10:14:20.017Z] > git --version # 'git version 2.25.1' [2022-08-31T10:14:20.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:14:20.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T10:14:21.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T10:14:21.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T10:14:21.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T10:14:21.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T10:14:21.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:14:21.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T10:14:21.955Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b04bfaa3f7c90cec0972aba86e0cd13724293b2a [2022-08-31T10:14:22.740Z] Merge succeeded, producing 4d2466b12cbd1d54fc527e3634ad3b2c28e71448 [2022-08-31T10:14:22.740Z] Checking out Revision 4d2466b12cbd1d54fc527e3634ad3b2c28e71448 (PR-139) [2022-08-31T10:14:21.983Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T10:14:22.011Z] > git checkout -f b04bfaa3f7c90cec0972aba86e0cd13724293b2a # timeout=10 [2022-08-31T10:14:22.238Z] > git remote # timeout=10 [2022-08-31T10:14:22.263Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T10:14:22.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T10:14:22.296Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T10:14:22.720Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T10:14:22.751Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T10:14:22.767Z] > git checkout -f 4d2466b12cbd1d54fc527e3634ad3b2c28e71448 # timeout=10 [2022-08-31T10:14:27.226Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T10:14:27.238Z] > git rev-list --no-walk b04bfaa3f7c90cec0972aba86e0cd13724293b2a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:14:28.202Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T10:14:28.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T10:14:28.202Z] Dload Upload Total Spent Left Speed [2022-08-31T10:14:28.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-08-31T10:14:28.944Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T10:14:29.299Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-08-31T10:14:29.299Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T10:14:29.299Z] { [2022-08-31T10:14:29.299Z] "registry-mirrors": [ [2022-08-31T10:14:29.299Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T10:14:29.299Z] ], [2022-08-31T10:14:29.299Z] "bip": "10.250.0.254/24", [2022-08-31T10:14:29.299Z] "hosts": [ [2022-08-31T10:14:29.300Z] "tcp://0.0.0.0:5555", [2022-08-31T10:14:29.300Z] "unix:///var/run/docker.sock" [2022-08-31T10:14:29.300Z] ], [2022-08-31T10:14:29.300Z] "mtu": 1458, [2022-08-31T10:14:29.300Z] "selinux-enabled": true, [2022-08-31T10:14:29.300Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T10:14:29.300Z] } [Pipeline] sh [2022-08-31T10:14:29.710Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T10:14:30.097Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:14:48.466Z] provisioning config files... [2022-08-31T10:14:48.490Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config6340615586882552997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:14:48.846Z] ---> docker-login.sh [2022-08-31T10:14:48.847Z] nexus3.edgexfoundry.org:10001 [2022-08-31T10:14:49.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:14:49.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:14:49.722Z] Configure a credential helper to remove this warning. See [2022-08-31T10:14:49.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:14:49.722Z] [2022-08-31T10:14:49.722Z] Login Succeeded [2022-08-31T10:14:49.722Z] nexus3.edgexfoundry.org:10002 [2022-08-31T10:14:49.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:14:50.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:14:50.274Z] Configure a credential helper to remove this warning. See [2022-08-31T10:14:50.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:14:50.274Z] [2022-08-31T10:14:50.274Z] Login Succeeded [2022-08-31T10:14:50.274Z] nexus3.edgexfoundry.org:10003 [2022-08-31T10:14:50.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:14:50.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:14:50.547Z] Configure a credential helper to remove this warning. See [2022-08-31T10:14:50.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:14:50.547Z] [2022-08-31T10:14:50.547Z] Login Succeeded [2022-08-31T10:14:50.547Z] nexus3.edgexfoundry.org:10004 [2022-08-31T10:14:51.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:14:51.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:14:51.151Z] Configure a credential helper to remove this warning. See [2022-08-31T10:14:51.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:14:51.151Z] [2022-08-31T10:14:51.151Z] Login Succeeded [2022-08-31T10:14:51.151Z] docker.io [2022-08-31T10:14:51.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T10:14:52.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T10:14:52.024Z] Configure a credential helper to remove this warning. See [2022-08-31T10:14:52.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T10:14:52.024Z] [2022-08-31T10:14:52.024Z] Login Succeeded [2022-08-31T10:14:52.024Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T10:14:52.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T10:14:52.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:14:52.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T10:14:52.348Z] ========================================================= [2022-08-31T10:14:52.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T10:14:52.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:14:52.718Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T10:14:53.325Z] Sending build context to Docker daemon 14.07MB [2022-08-31T10:14:53.325Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:14:53.325Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T10:14:53.325Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T10:14:53.325Z] b3c136eddcbf: Pulling fs layer [2022-08-31T10:14:53.325Z] c0a3192eca97: Pulling fs layer [2022-08-31T10:14:53.325Z] a050256f5b6f: Pulling fs layer [2022-08-31T10:14:53.325Z] 656be50a0ddc: Pulling fs layer [2022-08-31T10:14:53.325Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T10:14:53.325Z] 46d945488cbd: Pulling fs layer [2022-08-31T10:14:53.325Z] 8a5474983e97: Pulling fs layer [2022-08-31T10:14:53.325Z] 329c88fbcd65: Pulling fs layer [2022-08-31T10:14:53.325Z] 656be50a0ddc: Waiting [2022-08-31T10:14:53.325Z] 2bbca73fdf42: Waiting [2022-08-31T10:14:53.325Z] 46d945488cbd: Waiting [2022-08-31T10:14:53.325Z] 8a5474983e97: Waiting [2022-08-31T10:14:53.325Z] 329c88fbcd65: Waiting [2022-08-31T10:14:53.325Z] a050256f5b6f: Verifying Checksum [2022-08-31T10:14:53.325Z] a050256f5b6f: Download complete [2022-08-31T10:14:53.325Z] c0a3192eca97: Download complete [2022-08-31T10:14:53.606Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T10:14:53.606Z] 2bbca73fdf42: Download complete [2022-08-31T10:14:53.606Z] 46d945488cbd: Download complete [2022-08-31T10:14:53.606Z] b3c136eddcbf: Verifying Checksum [2022-08-31T10:14:53.606Z] b3c136eddcbf: Download complete [2022-08-31T10:14:54.608Z] b3c136eddcbf: Pull complete [2022-08-31T10:14:54.608Z] 329c88fbcd65: Verifying Checksum [2022-08-31T10:14:54.608Z] 329c88fbcd65: Download complete [2022-08-31T10:14:55.222Z] c0a3192eca97: Pull complete [2022-08-31T10:14:55.498Z] a050256f5b6f: Pull complete [2022-08-31T10:14:56.102Z] 8a5474983e97: Verifying Checksum [2022-08-31T10:14:56.102Z] 8a5474983e97: Download complete [2022-08-31T10:14:56.702Z] 656be50a0ddc: Verifying Checksum [2022-08-31T10:14:56.702Z] 656be50a0ddc: Download complete [2022-08-31T10:15:09.145Z] 656be50a0ddc: Pull complete [2022-08-31T10:15:09.419Z] 2bbca73fdf42: Pull complete [2022-08-31T10:15:09.692Z] 46d945488cbd: Pull complete [2022-08-31T10:15:16.430Z] 8a5474983e97: Pull complete [2022-08-31T10:15:17.872Z] 329c88fbcd65: Pull complete [2022-08-31T10:15:17.872Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T10:15:17.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T10:15:17.872Z] ---> ff4287adb874 [2022-08-31T10:15:17.872Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T10:15:19.326Z] ---> Running in 9924317847bb [2022-08-31T10:15:19.938Z] Removing intermediate container 9924317847bb [2022-08-31T10:15:19.938Z] ---> 0e6bb0907a72 [2022-08-31T10:15:19.938Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:15:19.938Z] ---> Running in a061d73c965a [2022-08-31T10:15:20.213Z] Removing intermediate container a061d73c965a [2022-08-31T10:15:20.213Z] ---> f6229cdeb42b [2022-08-31T10:15:20.213Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:15:20.213Z] ---> Running in fb6b5983d191 [2022-08-31T10:15:22.212Z] Removing intermediate container fb6b5983d191 [2022-08-31T10:15:22.212Z] ---> d1a91766f73e [2022-08-31T10:15:22.212Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:15:22.212Z] ---> Running in c4d5a3e6858e [2022-08-31T10:15:22.212Z] Removing intermediate container c4d5a3e6858e [2022-08-31T10:15:22.212Z] ---> 759ba3ee71c1 [2022-08-31T10:15:22.212Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:15:22.487Z] ---> Running in 211a64b34ac6 [2022-08-31T10:15:24.488Z] Removing intermediate container 211a64b34ac6 [2022-08-31T10:15:24.488Z] ---> ef65e675ab1d [2022-08-31T10:15:24.488Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:15:24.488Z] ---> Running in ed2b7f229af3 [2022-08-31T10:15:25.473Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:15:26.071Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:15:27.061Z] OK: 221 MiB in 51 packages [2022-08-31T10:15:28.057Z] Removing intermediate container ed2b7f229af3 [2022-08-31T10:15:28.057Z] ---> f8659b52367c [2022-08-31T10:15:28.057Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T10:15:28.057Z] ---> Running in 4caa42e604e0 [2022-08-31T10:15:28.332Z] Removing intermediate container 4caa42e604e0 [2022-08-31T10:15:28.332Z] ---> ecbffc4a78ab [2022-08-31T10:15:28.332Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T10:15:28.937Z] ---> d9ae515aad90 [2022-08-31T10:15:28.937Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:15:28.937Z] ---> Running in 829f53afa95a [2022-08-31T10:16:25.512Z] Removing intermediate container 829f53afa95a [2022-08-31T10:16:25.512Z] ---> 439b820011f2 [2022-08-31T10:16:25.512Z] Step 12/13 : COPY . . [2022-08-31T10:16:25.512Z] ---> 1ad490dcce3d [2022-08-31T10:16:25.512Z] Step 13/13 : RUN ${MAKE} [2022-08-31T10:16:25.512Z] ---> Running in 5b4f689bc81d [2022-08-31T10:16:25.512Z] noop [2022-08-31T10:16:25.512Z] Removing intermediate container 5b4f689bc81d [2022-08-31T10:16:25.512Z] ---> 59e9486da44a [2022-08-31T10:16:25.512Z] Successfully built 59e9486da44a [2022-08-31T10:16:25.512Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:16:25.894Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T10:16:25.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:16:26.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-24187 does not seem to be running inside a container [2022-08-31T10:16:26.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T10:16:27.469Z] $ docker top 4deae1cfc281f4d1d1a2f510c8a5d2894759fd394ea32ee06d81a893250bccb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:16:28.362Z] + go version [2022-08-31T10:16:28.362Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T10:16:28.388Z] $ docker stop --time=1 4deae1cfc281f4d1d1a2f510c8a5d2894759fd394ea32ee06d81a893250bccb9 [2022-08-31T10:16:29.999Z] $ docker rm -f 4deae1cfc281f4d1d1a2f510c8a5d2894759fd394ea32ee06d81a893250bccb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:16:30.589Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T10:16:30.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:16:30.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-24187 does not seem to be running inside a container [2022-08-31T10:16:30.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T10:16:32.137Z] $ docker top 6553aadd9bac716da15d407550bc8717406a6803941cb1cb94db44834530f515 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:16:33.036Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-08-31T10:16:33.715Z] + make test [2022-08-31T10:16:33.715Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T10:16:35.157Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T10:18:12.047Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T10:18:12.047Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.125s coverage: 10.5% of statements [2022-08-31T10:18:12.047Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T10:18:30.383Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.102s coverage: 13.8% of statements [2022-08-31T10:18:30.383Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T10:18:30.383Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T10:18:52.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T10:18:52.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T10:18:52.617Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T10:18:52.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T10:18:52.660Z] $ docker stop --time=1 6553aadd9bac716da15d407550bc8717406a6803941cb1cb94db44834530f515 [2022-08-31T10:18:54.495Z] $ docker rm -f 6553aadd9bac716da15d407550bc8717406a6803941cb1cb94db44834530f515 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T10:18:55.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T10:18:55.585Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T10:18:56.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T10:18:56.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T10:18:56.944Z] + ls -al . [2022-08-31T10:18:56.944Z] total 228 [2022-08-31T10:18:56.944Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 10:16 . [2022-08-31T10:18:56.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:14 .. [2022-08-31T10:18:56.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 10:14 .git [2022-08-31T10:18:56.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:14 .github [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 10:14 .gitignore [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 10:14 .golangci.yml [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 10:14 Attribution.txt [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 10:14 CHANGELOG.md [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 10:14 Dockerfile [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 10:14 GOVERNANCE.md [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 10:14 Jenkinsfile [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 10:14 LICENSE [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 10:14 Makefile [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 10:14 OWNERS.md [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 10:14 README.md [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 10:11 VERSION [2022-08-31T10:18:56.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 10:14 bin [2022-08-31T10:18:56.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 10:14 cmd [2022-08-31T10:18:56.944Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 31 10:18 coverage.out [2022-08-31T10:18:56.944Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 10:14 doc [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 10:14 go.mod [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 10:14 go.sum [2022-08-31T10:18:56.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:14 internal [2022-08-31T10:18:56.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 10:14 snap [2022-08-31T10:18:56.944Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:18:57.311Z] + 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=4d2466b12cbd1d54fc527e3634ad3b2c28e71448 --label arch=arm64 --label version=0.0.0 . [2022-08-31T10:18:57.916Z] Sending build context to Docker daemon 14.15MB [2022-08-31T10:18:57.916Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T10:18:57.916Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T10:18:57.916Z] ---> 59e9486da44a [2022-08-31T10:18:57.916Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T10:18:58.192Z] ---> Running in cb1e0f4a4d21 [2022-08-31T10:18:58.471Z] Removing intermediate container cb1e0f4a4d21 [2022-08-31T10:18:58.471Z] ---> ab6d4c6958bd [2022-08-31T10:18:58.471Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T10:18:58.471Z] ---> Running in 633815e68404 [2022-08-31T10:18:58.745Z] Removing intermediate container 633815e68404 [2022-08-31T10:18:58.745Z] ---> 6b6cc873a5bf [2022-08-31T10:18:58.745Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T10:18:59.025Z] ---> Running in 55d1c1e05428 [2022-08-31T10:18:59.300Z] Removing intermediate container 55d1c1e05428 [2022-08-31T10:18:59.300Z] ---> 1281084ee0bd [2022-08-31T10:18:59.300Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T10:18:59.300Z] ---> Running in 67e43fde2b11 [2022-08-31T10:18:59.581Z] Removing intermediate container 67e43fde2b11 [2022-08-31T10:18:59.581Z] ---> 9817d5615504 [2022-08-31T10:18:59.581Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T10:18:59.581Z] ---> Running in 2e2522585fe5 [2022-08-31T10:19:01.573Z] Removing intermediate container 2e2522585fe5 [2022-08-31T10:19:01.573Z] ---> e2ed912ca7fa [2022-08-31T10:19:01.573Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T10:19:01.573Z] ---> Running in 1d2bb05c5ce9 [2022-08-31T10:19:02.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:19:03.562Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:19:04.543Z] OK: 221 MiB in 51 packages [2022-08-31T10:19:05.537Z] Removing intermediate container 1d2bb05c5ce9 [2022-08-31T10:19:05.537Z] ---> b7cb92f35a5e [2022-08-31T10:19:05.537Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T10:19:05.537Z] ---> Running in 0ac72f50f62e [2022-08-31T10:19:05.824Z] Removing intermediate container 0ac72f50f62e [2022-08-31T10:19:05.824Z] ---> 11eb9e6bd874 [2022-08-31T10:19:05.824Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T10:19:06.424Z] ---> cd385ededac9 [2022-08-31T10:19:06.424Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T10:19:06.424Z] ---> Running in 19dc04f59f79 [2022-08-31T10:19:08.427Z] Removing intermediate container 19dc04f59f79 [2022-08-31T10:19:08.427Z] ---> 2ede8824b0b7 [2022-08-31T10:19:08.427Z] Step 12/26 : COPY . . [2022-08-31T10:19:10.417Z] ---> 92c24bdee0ad [2022-08-31T10:19:10.417Z] Step 13/26 : RUN ${MAKE} [2022-08-31T10:19:10.417Z] ---> Running in caa1a782a0b1 [2022-08-31T10:19:11.424Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T10:21:33.381Z] Removing intermediate container caa1a782a0b1 [2022-08-31T10:21:33.381Z] ---> 31af532aed58 [2022-08-31T10:21:33.381Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T10:21:33.381Z] 3.16: Pulling from library/alpine [2022-08-31T10:21:33.381Z] 9b18e9b68314: Pulling fs layer [2022-08-31T10:21:33.381Z] 9b18e9b68314: Verifying Checksum [2022-08-31T10:21:33.381Z] 9b18e9b68314: Download complete [2022-08-31T10:21:33.381Z] 9b18e9b68314: Pull complete [2022-08-31T10:21:33.381Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T10:21:33.381Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T10:21:33.381Z] ---> a6215f271958 [2022-08-31T10:21:33.381Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T10:21:33.381Z] ---> Running in ef46a5f218b7 [2022-08-31T10:21:33.381Z] Removing intermediate container ef46a5f218b7 [2022-08-31T10:21:33.381Z] ---> 39d9edd06157 [2022-08-31T10:21:33.381Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T10:21:33.381Z] ---> Running in 4a3731d5073e [2022-08-31T10:21:33.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T10:21:33.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T10:21:33.381Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T10:21:33.381Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T10:21:33.381Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T10:21:33.381Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T10:21:33.381Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T10:21:33.381Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T10:21:33.381Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T10:21:33.381Z] OK: 8 MiB in 20 packages [2022-08-31T10:21:33.381Z] Removing intermediate container 4a3731d5073e [2022-08-31T10:21:33.381Z] ---> 95497a7c193e [2022-08-31T10:21:33.381Z] Step 17/26 : WORKDIR / [2022-08-31T10:21:33.381Z] ---> Running in 1f8838dde9f2 [2022-08-31T10:21:33.381Z] Removing intermediate container 1f8838dde9f2 [2022-08-31T10:21:33.381Z] ---> e84ccde8be0c [2022-08-31T10:21:33.381Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T10:21:33.381Z] ---> e7f603f08554 [2022-08-31T10:21:33.381Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T10:21:33.655Z] ---> e18374680789 [2022-08-31T10:21:33.655Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T10:21:34.257Z] ---> 9ff0fe4e0c28 [2022-08-31T10:21:34.257Z] Step 21/26 : EXPOSE 59984 [2022-08-31T10:21:34.257Z] ---> Running in 680f32dda799 [2022-08-31T10:21:34.532Z] Removing intermediate container 680f32dda799 [2022-08-31T10:21:34.532Z] ---> ed14745b844a [2022-08-31T10:21:34.532Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T10:21:34.532Z] ---> Running in 436f0a35a0fb [2022-08-31T10:21:34.807Z] Removing intermediate container 436f0a35a0fb [2022-08-31T10:21:34.807Z] ---> e8b437cb55a6 [2022-08-31T10:21:34.807Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T10:21:34.807Z] ---> Running in 8a7be30f6fd6 [2022-08-31T10:21:35.086Z] Removing intermediate container 8a7be30f6fd6 [2022-08-31T10:21:35.086Z] ---> ec18993be3f7 [2022-08-31T10:21:35.086Z] Step 24/26 : LABEL arch=arm64 [2022-08-31T10:21:35.361Z] ---> Running in 6940fcd04271 [2022-08-31T10:21:35.637Z] Removing intermediate container 6940fcd04271 [2022-08-31T10:21:35.637Z] ---> 0e6635cbcde4 [2022-08-31T10:21:35.637Z] Step 25/26 : LABEL git_sha=4d2466b12cbd1d54fc527e3634ad3b2c28e71448 [2022-08-31T10:21:35.637Z] ---> Running in 6ca07e65cf08 [2022-08-31T10:21:35.917Z] Removing intermediate container 6ca07e65cf08 [2022-08-31T10:21:35.917Z] ---> 4fec5f142ab2 [2022-08-31T10:21:35.917Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T10:21:35.917Z] ---> Running in d2ce3de7e19a [2022-08-31T10:21:36.192Z] Removing intermediate container d2ce3de7e19a [2022-08-31T10:21:36.192Z] ---> 2671e87f0512 [2022-08-31T10:21:36.192Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T10:21:36.469Z] Successfully built 2671e87f0512 [2022-08-31T10:21:36.469Z] 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-08-31T10:21:36.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:21:36.946Z] [2022-08-31T10:21:36.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:21:37.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:21:37.579Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T10:21:37.579Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T10:21:37.579Z] 04944245beec: Pulling fs layer [2022-08-31T10:21:37.579Z] 699f458cf7ca: Pulling fs layer [2022-08-31T10:21:37.579Z] 765212b225bb: Pulling fs layer [2022-08-31T10:21:37.579Z] f23df028b6ca: Pulling fs layer [2022-08-31T10:21:37.579Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T10:21:37.579Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T10:21:37.579Z] f23df028b6ca: Waiting [2022-08-31T10:21:37.579Z] d65c8cfc05b1: Waiting [2022-08-31T10:21:37.579Z] 2437ff75d9bd: Waiting [2022-08-31T10:21:37.579Z] 765212b225bb: Waiting [2022-08-31T10:21:37.579Z] 04944245beec: Verifying Checksum [2022-08-31T10:21:37.579Z] 04944245beec: Download complete [2022-08-31T10:21:37.579Z] 765212b225bb: Verifying Checksum [2022-08-31T10:21:37.579Z] 765212b225bb: Download complete [2022-08-31T10:21:37.579Z] f23df028b6ca: Download complete [2022-08-31T10:21:37.579Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T10:21:37.579Z] d65c8cfc05b1: Download complete [2022-08-31T10:21:37.854Z] 699f458cf7ca: Verifying Checksum [2022-08-31T10:21:37.855Z] 699f458cf7ca: Download complete [2022-08-31T10:21:38.132Z] 8998bd30e6a1: Download complete [2022-08-31T10:21:40.787Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T10:21:40.787Z] 2437ff75d9bd: Download complete [2022-08-31T10:21:42.772Z] 8998bd30e6a1: Pull complete [2022-08-31T10:21:43.046Z] 04944245beec: Pull complete [2022-08-31T10:21:44.486Z] 699f458cf7ca: Pull complete [2022-08-31T10:21:44.764Z] 765212b225bb: Pull complete [2022-08-31T10:21:45.369Z] f23df028b6ca: Pull complete [2022-08-31T10:21:45.646Z] d65c8cfc05b1: Pull complete [2022-08-31T10:22:00.763Z] 2437ff75d9bd: Pull complete [2022-08-31T10:22:00.763Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T10:22:00.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T10:22:00.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:22:01.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-24187 does not seem to be running inside a container [2022-08-31T10:22:01.126Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T10:22:03.617Z] $ docker top bf1b9040837a71feaf6c7777c74d9723892d91c282d67e31fe6b1ba9eae3584b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:04.573Z] ---> job-cost.sh [2022-08-31T10:22:04.573Z] lf-activate-venv: SKIPPING [2022-08-31T10:22:04.573Z] INFO: No Stack... [2022-08-31T10:22:05.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T10:22:05.766Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T10:22:06.442Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-08-31T10:22:06.443Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T10:22:06.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [2022-08-31T10:22:06.517Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] did not exist. Created. [2022-08-31T10:22:06.517Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T10:22:07.202Z] /w/workspace/device-onvif-camera/5@tmp/durable-cfaea88c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T10:22:07.890Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T10:22:07.921Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T10:22:07.982Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T10:22:07.989Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-139-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T10:22:08.011Z] $ docker stop --time=1 bf1b9040837a71feaf6c7777c74d9723892d91c282d67e31fe6b1ba9eae3584b [2022-08-31T10:22:09.520Z] $ docker rm -f bf1b9040837a71feaf6c7777c74d9723892d91c282d67e31fe6b1ba9eae3584b [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-08-31T10:22:10.002Z] provisioning config files... [2022-08-31T10:22:10.023Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config1121679492817613376tmp [Pipeline] { [Pipeline] sh [2022-08-31T10:22:10.345Z] + set +x [2022-08-31T10:22:10.345Z] + + curl -s https://codecov.io/bash [2022-08-31T10:22:10.345Z] bash -s -- [2022-08-31T10:22:10.345Z] [2022-08-31T10:22:10.345Z] _____ _ [2022-08-31T10:22:10.345Z] / ____| | | [2022-08-31T10:22:10.345Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T10:22:10.345Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T10:22:10.345Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T10:22:10.345Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T10:22:10.345Z] Bash-1.0.6 [2022-08-31T10:22:10.345Z] [2022-08-31T10:22:10.345Z] [2022-08-31T10:22:10.345Z] ==> git version 2.25.1 found [2022-08-31T10:22:10.345Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-31T10:22:10.345Z] Release-Date: 2020-01-08 [2022-08-31T10:22:10.345Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-31T10:22:10.345Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T10:22:10.345Z] ==> Jenkins CI detected. [2022-08-31T10:22:10.345Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-139 [2022-08-31T10:22:10.345Z] project root: . [2022-08-31T10:22:10.345Z] --> token set from env [2022-08-31T10:22:10.345Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T10:22:10.345Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T10:22:10.345Z] ==> Python coveragepy not found [2022-08-31T10:22:10.345Z] ==> Searching for coverage reports in: [2022-08-31T10:22:10.345Z] + . [2022-08-31T10:22:10.345Z] -> Found 1 reports [2022-08-31T10:22:10.345Z] ==> Detecting git/mercurial file structure [2022-08-31T10:22:10.345Z] ==> Reading reports [2022-08-31T10:22:10.345Z] + ./coverage.out bytes=77822 [2022-08-31T10:22:10.345Z] ==> Appending adjustments [2022-08-31T10:22:10.345Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T10:22:10.669Z] + Found adjustments [2022-08-31T10:22:10.669Z] ==> Gzipping contents [2022-08-31T10:22:10.669Z] 12K /tmp/codecov.hIx8Bm.gz [2022-08-31T10:22:10.669Z] ==> Uploading reports [2022-08-31T10:22:10.669Z] url: https://codecov.io [2022-08-31T10:22:10.669Z] query: branch=PR-139&commit=892f84e150d159d4896aab00c46130e581924e84&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= [2022-08-31T10:22:10.669Z] -> Pinging Codecov [2022-08-31T10:22:10.669Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-139&commit=892f84e150d159d4896aab00c46130e581924e84&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-139%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=139&job=&cmd_args= [2022-08-31T10:22:10.963Z] -> Uploading to [2022-08-31T10:22:10.963Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/F29A59C45E3A92E06B3E522C9905F8EF/892f84e150d159d4896aab00c46130e581924e84/aba6f322-a963-4458-bdc5-26c961104cae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T102210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0897e47794e99ef54a722fa3b25a26b6fc5fa7a5e63e0992d13bf9da02a19fbc [2022-08-31T10:22:10.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T10:22:10.963Z] Dload Upload Total Spent Left Speed [2022-08-31T10:22:11.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10440 0 0 100 10440 0 45991 --:--:-- --:--:-- --:--:-- 45991 [2022-08-31T10:22:11.232Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/892f84e150d159d4896aab00c46130e581924e84 [Pipeline] } [2022-08-31T10:22:11.260Z] 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-08-31T10:22:11.964Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-139/archives ] [2022-08-31T10:22:11.964Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives [2022-08-31T10:22:11.964Z] total 16 [2022-08-31T10:22:11.964Z] drwxr-xr-x 3 root root 4096 Aug 31 10:12 . [2022-08-31T10:22:11.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 10:12 .. [2022-08-31T10:22:11.964Z] drwxr-xr-x 2 root root 4096 Aug 31 10:12 cost [2022-08-31T10:22:11.964Z] -rw-r--r-- 1 root root 91 Aug 31 10:12 cost.csv [2022-08-31T10:22:11.964Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-139/archives [2022-08-31T10:22:11.964Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-139/archives [2022-08-31T10:22:11.964Z] total 16 [2022-08-31T10:22:11.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 10:12 . [2022-08-31T10:22:11.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 10:12 .. [2022-08-31T10:22:11.964Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 10:12 cost [2022-08-31T10:22:11.964Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 31 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:12.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:13.134Z] ---> package-listing.sh [2022-08-31T10:22:13.134Z] ++ facter osfamily [2022-08-31T10:22:13.134Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T10:22:13.394Z] + OS_FAMILY=debian [2022-08-31T10:22:13.395Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-139 [2022-08-31T10:22:13.395Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T10:22:13.395Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T10:22:13.395Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T10:22:13.395Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T10:22:13.395Z] + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' [2022-08-31T10:22:13.395Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T10:22:13.395Z] + case "${OS_FAMILY}" in [2022-08-31T10:22:13.395Z] + dpkg -l [2022-08-31T10:22:13.395Z] + grep '^ii' [2022-08-31T10:22:13.395Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T10:22:13.395Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T10:22:13.395Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T10:22:13.395Z] + '[' /w/workspace/undry_device-onvif-camera_PR-139 ']' [2022-08-31T10:22:13.395Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-139/archives/ [2022-08-31T10:22:13.395Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-139/archives/ [Pipeline] echo [2022-08-31T10:22:13.407Z] 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-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T10:22:13.687Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T10:22:14.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T10:22:14.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T10:22:14.345Z] prd-ubuntu20.04-docker-8c-8g-24185 does not seem to be running inside a container [2022-08-31T10:22:14.385Z] $ 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-139/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-139 -v /w/workspace/undry_device-onvif-camera_PR-139:/w/workspace/undry_device-onvif-camera_PR-139:rw,z -v /w/workspace/undry_device-onvif-camera_PR-139@tmp:/w/workspace/undry_device-onvif-camera_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T10:22:14.595Z] $ docker top 35985182633edfa520b64ab7787c283304a9f0c1058ea00378d360b5ec07ce95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T10:22:14.949Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T10:22:15.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T10:22:15.532Z] + ls /var/log/sa-host [2022-08-31T10:22:15.532Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T10:22:15.603Z] provisioning config files... [2022-08-31T10:22:15.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-139@tmp/config513843314385529065tmp [Pipeline] { [Pipeline] echo [2022-08-31T10:22:15.627Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:15.912Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T10:22:15.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:16.256Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T10:22:16.266Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:16.561Z] ---> sudo-logs.sh [2022-08-31T10:22:16.561Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T10:22:16.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:16.882Z] ---> job-cost.sh [2022-08-31T10:22:16.882Z] lf-activate-venv: SKIPPING [2022-08-31T10:22:16.882Z] DEBUG: total: 0.2199999988079071 [2022-08-31T10:22:16.882Z] INFO: Retrieving Stack Cost... [2022-08-31T10:22:17.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T10:22:17.716Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T10:22:17.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T10:22:18.016Z] ---> logs-deploy.sh [2022-08-31T10:22:18.016Z] lf-activate-venv: SKIPPING [2022-08-31T10:22:18.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-139/5 [2022-08-31T10:22:18.016Z] INFO: archiving workspace using pattern(s): [2022-08-31T10:22:18.958Z] Archives upload complete. [2022-08-31T10:22:18.958Z] INFO: archiving logs to Nexus