Pull request #93 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c728d94b8906458d21c0846246b95a6713abadc7+6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 (94aa01eaad7c526615eee494f415063004531575) 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-ssh9674396049169632640.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1369466767882351432.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-93/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-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh41785835434865307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13312514141697425147.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-93/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-93/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4663521127133917900.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16280’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16282 in /w/workspace/oundry_device-onvif-camera_PR-93 [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/oundry_device-onvif-camera_PR-93 # 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 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 into PR head commit c728d94b8906458d21c0846246b95a6713abadc7 Merge succeeded, producing c728d94b8906458d21c0846246b95a6713abadc7 Checking out Revision c728d94b8906458d21c0846246b95a6713abadc7 (PR-93) > 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/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c728d94b8906458d21c0846246b95a6713abadc7 # 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 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c728d94b8906458d21c0846246b95a6713abadc7 # timeout=10 Commit message: "fix: use format style logging" > git rev-list --no-walk f47295c1fc12a4f9f2edce23698280e900c2f582 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T22:53:58.517Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T22:53:58.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T22:53:58.593Z] ========================================================= [2022-06-28T22:53:58.593Z] EdgeX Global Pipelines Version Info [2022-06-28T22:53:58.593Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:53:59.329Z] ------------------- [2022-06-28T22:53:59.329Z] stable info: [2022-06-28T22:53:59.329Z] ------------------- [2022-06-28T22:53:59.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T22:53:59.329Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:53:59.329Z] Message: update stable to v1.0.234 [2022-06-28T22:53:59.900Z] ------------------- [2022-06-28T22:53:59.900Z] experimental info: [2022-06-28T22:53:59.900Z] ------------------- [2022-06-28T22:53:59.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T22:53:59.901Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:53:59.901Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T22:54:00.179Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T22:54:00.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T22:54:00.207Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T22:54:00.218Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T22:54:00.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T22:54:00.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T22:54:00.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T22:54:00.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T22:54:00.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T22:54:00.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T22:54:00.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T22:54:00.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T22:54:00.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T22:54:00.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T22:54:00.349Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:54:00.363Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:54:00.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:54:00.391Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:54:00.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T22:54:00.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T22:54:00.429Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T22:54:00.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T22:54:00.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T22:54:00.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T22:54:00.473Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T22:54:00.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T22:54:00.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T22:54:00.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2022-06-28T22:54:00.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2022-06-28T22:54:00.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2022-06-28T22:54:00.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c728d94b8906458d21c0846246b95a6713abadc7 [Pipeline] echo [2022-06-28T22:54:00.548Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c728d94 [Pipeline] echo [2022-06-28T22:54:00.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:54:00.603Z] provisioning config files... [2022-06-28T22:54:00.616Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config4224110177201010976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:54:00.912Z] ---> docker-login.sh [2022-06-28T22:54:00.912Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:54:01.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:01.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:01.175Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:01.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:01.175Z] [2022-06-28T22:54:01.175Z] Login Succeeded [2022-06-28T22:54:01.175Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:54:01.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:01.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:01.437Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:01.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:01.437Z] [2022-06-28T22:54:01.437Z] Login Succeeded [2022-06-28T22:54:01.437Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:54:01.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:01.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:01.437Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:01.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:01.437Z] [2022-06-28T22:54:01.437Z] Login Succeeded [2022-06-28T22:54:01.437Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:54:01.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:01.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:01.698Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:01.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:01.698Z] [2022-06-28T22:54:01.698Z] Login Succeeded [2022-06-28T22:54:01.698Z] docker.io [2022-06-28T22:54:01.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:01.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:01.959Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:01.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:01.959Z] [2022-06-28T22:54:01.959Z] Login Succeeded [2022-06-28T22:54:01.959Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:54:01.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T22:54:02.328Z] + git rev-list -1 --merges c728d94b8906458d21c0846246b95a6713abadc7~1..c728d94b8906458d21c0846246b95a6713abadc7 [Pipeline] echo [2022-06-28T22:54:02.365Z] -----------> git rev-list -1 --merges c728d94b8906458d21c0846246b95a6713abadc7~1..c728d94b8906458d21c0846246b95a6713abadc7 c728d94b8906458d21c0846246b95a6713abadc7 [false] [Pipeline] sh [2022-06-28T22:54:02.664Z] + git log --format=format:%s -1 c728d94b8906458d21c0846246b95a6713abadc7 [Pipeline] echo [2022-06-28T22:54:02.679Z] ========================================================= [2022-06-28T22:54:02.679Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T22:54:02.679Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:54:03.010Z] + git log --format=format:%s -1 c728d94b8906458d21c0846246b95a6713abadc7 [Pipeline] echo [2022-06-28T22:54:03.023Z] [semverPrep] GIT_COMMIT: c728d94b8906458d21c0846246b95a6713abadc7, Commit Message: fix: use format style logging [Pipeline] echo [2022-06-28T22:54:03.033Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T22:54:03.378Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:54:03.378Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T22:54:03.378Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T22:54:03.378Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T22:54:03.378Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T22:54:03.378Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T22:54:03.378Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:54:03.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:54:03.734Z] [2022-06-28T22:54:03.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:54:04.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:54:04.039Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T22:54:04.039Z] 42c077c10790: Pulling fs layer [2022-06-28T22:54:04.039Z] f63e77b7563a: Pulling fs layer [2022-06-28T22:54:04.039Z] bd5fdadae976: Pulling fs layer [2022-06-28T22:54:04.039Z] 205491f53016: Pulling fs layer [2022-06-28T22:54:04.039Z] df18705c85c3: Pulling fs layer [2022-06-28T22:54:04.039Z] bdb3f477010e: Pulling fs layer [2022-06-28T22:54:04.039Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T22:54:04.039Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T22:54:04.039Z] bdb8f0575790: Pulling fs layer [2022-06-28T22:54:04.039Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T22:54:04.039Z] 2343380bae48: Pulling fs layer [2022-06-28T22:54:04.039Z] 205491f53016: Waiting [2022-06-28T22:54:04.039Z] df18705c85c3: Waiting [2022-06-28T22:54:04.039Z] bdb3f477010e: Waiting [2022-06-28T22:54:04.039Z] c8a8fc8e1c8f: Waiting [2022-06-28T22:54:04.039Z] 386e3cb2ff24: Waiting [2022-06-28T22:54:04.039Z] 2c6e9b1d212d: Waiting [2022-06-28T22:54:04.039Z] 2343380bae48: Waiting [2022-06-28T22:54:04.039Z] f63e77b7563a: Download complete [2022-06-28T22:54:04.039Z] 205491f53016: Download complete [2022-06-28T22:54:04.039Z] df18705c85c3: Verifying Checksum [2022-06-28T22:54:04.039Z] df18705c85c3: Download complete [2022-06-28T22:54:04.300Z] bdb3f477010e: Verifying Checksum [2022-06-28T22:54:04.300Z] bdb3f477010e: Download complete [2022-06-28T22:54:04.300Z] bd5fdadae976: Verifying Checksum [2022-06-28T22:54:04.300Z] bd5fdadae976: Download complete [2022-06-28T22:54:04.300Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T22:54:04.300Z] 2c6e9b1d212d: Download complete [2022-06-28T22:54:04.300Z] bdb8f0575790: Verifying Checksum [2022-06-28T22:54:04.300Z] bdb8f0575790: Download complete [2022-06-28T22:54:04.300Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T22:54:04.300Z] 386e3cb2ff24: Download complete [2022-06-28T22:54:04.300Z] 2343380bae48: Verifying Checksum [2022-06-28T22:54:04.300Z] 2343380bae48: Download complete [2022-06-28T22:54:04.300Z] 42c077c10790: Verifying Checksum [2022-06-28T22:54:04.300Z] 42c077c10790: Download complete [2022-06-28T22:54:04.558Z] c8a8fc8e1c8f: Download complete [2022-06-28T22:54:05.504Z] 42c077c10790: Pull complete [2022-06-28T22:54:05.766Z] f63e77b7563a: Pull complete [2022-06-28T22:54:06.339Z] bd5fdadae976: Pull complete [2022-06-28T22:54:06.339Z] 205491f53016: Pull complete [2022-06-28T22:54:06.600Z] df18705c85c3: Pull complete [2022-06-28T22:54:06.600Z] bdb3f477010e: Pull complete [2022-06-28T22:54:08.509Z] c8a8fc8e1c8f: Pull complete [2022-06-28T22:54:08.509Z] 2c6e9b1d212d: Pull complete [2022-06-28T22:54:08.509Z] bdb8f0575790: Pull complete [2022-06-28T22:54:08.509Z] 386e3cb2ff24: Pull complete [2022-06-28T22:54:08.772Z] 2343380bae48: Pull complete [2022-06-28T22:54:08.772Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T22:54:08.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:54:08.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:54:08.885Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2022-06-28T22:54:08.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:54:10.237Z] $ docker top 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b -eo pid,comm [2022-06-28T22:54:10.305Z] 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-06-28T22:54:10.305Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:54:10.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:54:10.341Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:54:10.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:54:10.480Z] $ docker exec 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b ssh-agent [2022-06-28T22:54:10.595Z] SSH_AUTH_SOCK=/tmp/ssh-pQAITxLqsPsL/agent.33 [2022-06-28T22:54:10.595Z] SSH_AGENT_PID=40 [2022-06-28T22:54:10.602Z] Running ssh-add (command line suppressed) [2022-06-28T22:54:10.736Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_7892610245742791912.key (/w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_7892610245742791912.key) [2022-06-28T22:54:10.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:54:11.035Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T22:54:11.048Z] $ docker exec --env ******** --env ******** 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b ssh-agent -k [2022-06-28T22:54:11.154Z] unset SSH_AUTH_SOCK; [2022-06-28T22:54:11.154Z] unset SSH_AGENT_PID; [2022-06-28T22:54:11.155Z] echo Agent pid 40 killed; [2022-06-28T22:54:11.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T22:54:11.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:54:11.189Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:54:11.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:54:11.318Z] $ docker exec 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b ssh-agent [2022-06-28T22:54:11.441Z] SSH_AUTH_SOCK=/tmp/ssh-mm6NM77te1DG/agent.72 [2022-06-28T22:54:11.441Z] SSH_AGENT_PID=79 [2022-06-28T22:54:11.446Z] Running ssh-add (command line suppressed) [2022-06-28T22:54:11.562Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_5542541782123579827.key (/w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_5542541782123579827.key) [2022-06-28T22:54:11.576Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:54:11.865Z] + git semver init [2022-06-28T22:54:12.125Z] 2022-06-28 22:54:12,048 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T22:54:12.126Z] 2022-06-28 22:54:12,049 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-93/.semver [2022-06-28T22:54:12.126Z] 2022-06-28 22:54:12,049 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-93/.semver [2022-06-28T22:54:12.126Z] 2022-06-28 22:54:12,049 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-93/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93, universal_newlines=False, shell=None, istream=None) [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,736 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-93/.git/info/exclude [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 with force:False [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,737 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,742 [execute] INFO git cat-file --batch-check [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,750 [execute] INFO git cat-file --batch [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:54:13.067Z] 2022-06-28 22:54:12,756 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 [2022-06-28T22:54:13.067Z] 0.0.0 [Pipeline] } [2022-06-28T22:54:13.077Z] $ docker exec --env ******** --env ******** 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b ssh-agent -k [2022-06-28T22:54:13.186Z] unset SSH_AUTH_SOCK; [2022-06-28T22:54:13.186Z] unset SSH_AGENT_PID; [2022-06-28T22:54:13.186Z] echo Agent pid 79 killed; [2022-06-28T22:54:13.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:54:13.514Z] + git semver [Pipeline] } [2022-06-28T22:54:13.788Z] $ docker stop --time=1 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b [2022-06-28T22:54:15.143Z] $ docker rm -f 7f3977869c36fd5f94599c6dfda89fd677cdc1b0fb538366fd4f9ab04c2ed27b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:54:15.496Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T22:54:15.717Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T22:54:15.720Z] [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-06-28T22:54:15.912Z] provisioning config files... [2022-06-28T22:54:15.921Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config8686068024154589679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:54:16.222Z] ---> docker-login.sh [2022-06-28T22:54:16.222Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:54:16.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:16.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:16.222Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:16.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:16.222Z] [2022-06-28T22:54:16.222Z] Login Succeeded [2022-06-28T22:54:16.222Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:54:16.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:16.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:16.481Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:16.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:16.481Z] [2022-06-28T22:54:16.481Z] Login Succeeded [2022-06-28T22:54:16.481Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:54:16.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:16.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:16.481Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:16.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:16.481Z] [2022-06-28T22:54:16.481Z] Login Succeeded [2022-06-28T22:54:16.481Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:54:16.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:16.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:16.741Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:16.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:16.741Z] [2022-06-28T22:54:16.741Z] Login Succeeded [2022-06-28T22:54:16.741Z] docker.io [2022-06-28T22:54:16.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:54:17.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:54:17.001Z] Configure a credential helper to remove this warning. See [2022-06-28T22:54:17.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:54:17.001Z] [2022-06-28T22:54:17.001Z] Login Succeeded [2022-06-28T22:54:17.001Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:54:17.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:54:17.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:54:17.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:54:17.099Z] ========================================================= [2022-06-28T22:54:17.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T22:54:17.099Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:54:17.416Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T22:54:17.416Z] Sending build context to Docker daemon 9.125MB [2022-06-28T22:54:17.416Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:54:17.416Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:54:17.416Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T22:54:17.416Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T22:54:17.416Z] 666ba61612fd: Pulling fs layer [2022-06-28T22:54:17.416Z] 8ed8ca486205: Pulling fs layer [2022-06-28T22:54:17.416Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T22:54:17.416Z] c516ae0d96e1: Pulling fs layer [2022-06-28T22:54:17.416Z] 684cea983483: Pulling fs layer [2022-06-28T22:54:17.416Z] dd3240ac7de5: Pulling fs layer [2022-06-28T22:54:17.416Z] b1e948a4e11c: Pulling fs layer [2022-06-28T22:54:17.416Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T22:54:17.416Z] 646ad004c059: Pulling fs layer [2022-06-28T22:54:17.416Z] 684cea983483: Waiting [2022-06-28T22:54:17.416Z] dd3240ac7de5: Waiting [2022-06-28T22:54:17.416Z] b1e948a4e11c: Waiting [2022-06-28T22:54:17.416Z] a8fd76ee1af6: Waiting [2022-06-28T22:54:17.416Z] 646ad004c059: Waiting [2022-06-28T22:54:17.416Z] cc1cd167ecdc: Waiting [2022-06-28T22:54:17.416Z] c516ae0d96e1: Waiting [2022-06-28T22:54:17.416Z] 8ed8ca486205: Download complete [2022-06-28T22:54:17.675Z] 666ba61612fd: Download complete [2022-06-28T22:54:17.675Z] c516ae0d96e1: Verifying Checksum [2022-06-28T22:54:17.675Z] c516ae0d96e1: Download complete [2022-06-28T22:54:17.675Z] 684cea983483: Download complete [2022-06-28T22:54:17.675Z] dd3240ac7de5: Verifying Checksum [2022-06-28T22:54:17.675Z] dd3240ac7de5: Download complete [2022-06-28T22:54:17.675Z] 59bf1c3509f3: Download complete [2022-06-28T22:54:17.675Z] b1e948a4e11c: Download complete [2022-06-28T22:54:17.675Z] 59bf1c3509f3: Pull complete [2022-06-28T22:54:17.936Z] 666ba61612fd: Pull complete [2022-06-28T22:54:17.936Z] 8ed8ca486205: Pull complete [2022-06-28T22:54:18.195Z] 646ad004c059: Verifying Checksum [2022-06-28T22:54:18.195Z] 646ad004c059: Download complete [2022-06-28T22:54:18.195Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T22:54:18.195Z] a8fd76ee1af6: Download complete [2022-06-28T22:54:18.195Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T22:54:18.195Z] cc1cd167ecdc: Download complete [2022-06-28T22:54:22.381Z] cc1cd167ecdc: Pull complete [2022-06-28T22:54:22.381Z] c516ae0d96e1: Pull complete [2022-06-28T22:54:22.381Z] 684cea983483: Pull complete [2022-06-28T22:54:22.381Z] dd3240ac7de5: Pull complete [2022-06-28T22:54:22.381Z] b1e948a4e11c: Pull complete [2022-06-28T22:54:24.288Z] a8fd76ee1af6: Pull complete [2022-06-28T22:54:24.856Z] 646ad004c059: Pull complete [2022-06-28T22:54:24.856Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T22:54:24.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T22:54:24.856Z] ---> 8f69c11f6b0c [2022-06-28T22:54:24.856Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:54:26.240Z] ---> Running in 7d5537b90bb4 [2022-06-28T22:54:26.500Z] Removing intermediate container 7d5537b90bb4 [2022-06-28T22:54:26.500Z] ---> b6da09c13315 [2022-06-28T22:54:26.500Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:54:26.500Z] ---> Running in b8d81dde47f4 [2022-06-28T22:54:26.500Z] Removing intermediate container b8d81dde47f4 [2022-06-28T22:54:26.500Z] ---> 5eacc5395584 [2022-06-28T22:54:26.500Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:54:26.500Z] ---> Running in 91fa3a6c3ecd [2022-06-28T22:54:26.760Z] Removing intermediate container 91fa3a6c3ecd [2022-06-28T22:54:26.760Z] ---> 87af5ec90402 [2022-06-28T22:54:26.760Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:54:26.760Z] ---> Running in b1c53cb27f15 [2022-06-28T22:54:26.760Z] Removing intermediate container b1c53cb27f15 [2022-06-28T22:54:26.760Z] ---> 00bc6cf2d9c9 [2022-06-28T22:54:26.760Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:54:26.760Z] ---> Running in ab108568313b [2022-06-28T22:54:27.330Z] Removing intermediate container ab108568313b [2022-06-28T22:54:27.330Z] ---> d8495b17a71f [2022-06-28T22:54:27.330Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:54:27.330Z] ---> Running in d7a48d973e54 [2022-06-28T22:54:27.590Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:54:28.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:54:28.795Z] OK: 221 MiB in 52 packages [2022-06-28T22:54:29.054Z] Removing intermediate container d7a48d973e54 [2022-06-28T22:54:29.054Z] ---> 50dbd28d6253 [2022-06-28T22:54:29.054Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:54:29.054Z] ---> Running in 5913499d195f [2022-06-28T22:54:29.315Z] Removing intermediate container 5913499d195f [2022-06-28T22:54:29.315Z] ---> 622de516e47f [2022-06-28T22:54:29.315Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:54:29.315Z] ---> 4e36cb16c2a4 [2022-06-28T22:54:29.315Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:54:29.315Z] ---> Running in 05c165598e44 [2022-06-28T22:54:30.877Z] Still waiting to schedule task [2022-06-28T22:54:30.877Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16281’ is offline [2022-06-28T22:54:44.227Z] Removing intermediate container 05c165598e44 [2022-06-28T22:54:44.227Z] ---> 943f6690e04c [2022-06-28T22:54:44.227Z] Step 12/13 : COPY . . [2022-06-28T22:54:44.227Z] ---> 331a276950b9 [2022-06-28T22:54:44.227Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:54:44.227Z] ---> Running in 9648c795ec73 [2022-06-28T22:54:44.227Z] noop [2022-06-28T22:54:44.227Z] Removing intermediate container 9648c795ec73 [2022-06-28T22:54:44.227Z] ---> c0ef9d49858f [2022-06-28T22:54:44.227Z] Successfully built c0ef9d49858f [2022-06-28T22:54:44.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:54:44.550Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:54:44.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:54:44.627Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2022-06-28T22:54:44.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T22:54:45.088Z] $ docker top 7a89f60c6913141d5dc23397fe164d58b46bc795f9a436f2d8ae6365d9c28096 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:54:45.497Z] + go version [2022-06-28T22:54:45.497Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T22:54:45.507Z] $ docker stop --time=1 7a89f60c6913141d5dc23397fe164d58b46bc795f9a436f2d8ae6365d9c28096 [2022-06-28T22:54:46.804Z] $ docker rm -f 7a89f60c6913141d5dc23397fe164d58b46bc795f9a436f2d8ae6365d9c28096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:54:47.207Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:54:47.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:54:47.291Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2022-06-28T22:54:47.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T22:54:47.704Z] $ docker top 7673f83961ed3983ef3d6598b79f9f88e70c52ae7b0fb9509a1aa23ca9b95c1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:54:48.065Z] + make test [2022-06-28T22:54:48.065Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:54:48.324Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:54:58.308Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:54:58.308Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-06-28T22:54:58.308Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-28T22:55:02.504Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.857s coverage: 13.8% of statements [2022-06-28T22:55:10.629Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T22:55:13.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T22:55:13.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T22:55:13.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T22:55:14.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T22:55:14.516Z] $ docker stop --time=1 7673f83961ed3983ef3d6598b79f9f88e70c52ae7b0fb9509a1aa23ca9b95c1e [2022-06-28T22:55:16.389Z] $ docker rm -f 7673f83961ed3983ef3d6598b79f9f88e70c52ae7b0fb9509a1aa23ca9b95c1e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:55:16.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T22:55:16.889Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T22:55:17.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T22:55:17.595Z] + ls -al . [2022-06-28T22:55:17.595Z] total 248 [2022-06-28T22:55:17.595Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 22:55 . [2022-06-28T22:55:17.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:53 .. [2022-06-28T22:55:17.595Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:54 .git [2022-06-28T22:55:17.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:53 .github [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:53 .gitignore [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:53 .golangci.yml [2022-06-28T22:55:17.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:54 .semver [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 28 22:53 Attribution.txt [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:53 CHANGELOG.md [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:53 Dockerfile [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:53 GOVERNANCE.md [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:53 Jenkinsfile [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:53 LICENSE [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:53 Makefile [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:53 OWNERS.md [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:53 README.md [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 22:54 VERSION [2022-06-28T22:55:17.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:53 bin [2022-06-28T22:55:17.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:53 cmd [2022-06-28T22:55:17.595Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 28 22:55 coverage.out [2022-06-28T22:55:17.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:53 doc [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 28 22:53 go.mod [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:53 go.sum [2022-06-28T22:55:17.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:53 internal [2022-06-28T22:55:17.595Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:55:17.912Z] + 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=c728d94b8906458d21c0846246b95a6713abadc7 --label arch=amd64 --label version=0.0.0 . [2022-06-28T22:55:17.912Z] Sending build context to Docker daemon 9.196MB [2022-06-28T22:55:17.912Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:55:17.912Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T22:55:17.912Z] ---> c0ef9d49858f [2022-06-28T22:55:17.912Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T22:55:18.173Z] ---> Running in d4da5ed9efb4 [2022-06-28T22:55:18.173Z] Removing intermediate container d4da5ed9efb4 [2022-06-28T22:55:18.173Z] ---> 2515505f7ed8 [2022-06-28T22:55:18.173Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:55:18.173Z] ---> Running in 825c0b7ddddd [2022-06-28T22:55:18.434Z] Removing intermediate container 825c0b7ddddd [2022-06-28T22:55:18.434Z] ---> 68ddefbbb415 [2022-06-28T22:55:18.434Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:55:18.434Z] ---> Running in d75a03ca261e [2022-06-28T22:55:18.434Z] Removing intermediate container d75a03ca261e [2022-06-28T22:55:18.434Z] ---> e97d1902471d [2022-06-28T22:55:18.434Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:55:18.434Z] ---> Running in 2b563695efb2 [2022-06-28T22:55:18.694Z] Removing intermediate container 2b563695efb2 [2022-06-28T22:55:18.694Z] ---> 34b2ec39841e [2022-06-28T22:55:18.694Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:55:18.694Z] ---> Running in 243d31c346f6 [2022-06-28T22:55:19.264Z] Removing intermediate container 243d31c346f6 [2022-06-28T22:55:19.264Z] ---> f9f46a3b79eb [2022-06-28T22:55:19.264Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:55:19.264Z] ---> Running in 3545d7eee33d [2022-06-28T22:55:19.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:55:20.465Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:55:20.726Z] OK: 221 MiB in 52 packages [2022-06-28T22:55:20.989Z] Removing intermediate container 3545d7eee33d [2022-06-28T22:55:20.989Z] ---> 5a668ea56ed3 [2022-06-28T22:55:20.989Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T22:55:20.989Z] ---> Running in 95003e21a81a [2022-06-28T22:55:20.989Z] Removing intermediate container 95003e21a81a [2022-06-28T22:55:20.989Z] ---> 2357df3c70c8 [2022-06-28T22:55:20.989Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T22:55:21.250Z] ---> 7d66c6b63d46 [2022-06-28T22:55:21.250Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:55:21.250Z] ---> Running in 991420a54f0e [2022-06-28T22:55:21.822Z] Removing intermediate container 991420a54f0e [2022-06-28T22:55:21.822Z] ---> 0194e22f092b [2022-06-28T22:55:21.822Z] Step 12/26 : COPY . . [2022-06-28T22:55:22.395Z] ---> 679d1698007b [2022-06-28T22:55:22.395Z] Step 13/26 : RUN ${MAKE} [2022-06-28T22:55:22.395Z] ---> Running in 50ff62975d39 [2022-06-28T22:55:22.657Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T22:55:44.596Z] Removing intermediate container 50ff62975d39 [2022-06-28T22:55:44.596Z] ---> 109728169006 [2022-06-28T22:55:44.596Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T22:55:44.596Z] 3.15: Pulling from library/alpine [2022-06-28T22:55:44.596Z] df9b9388f04a: Pulling fs layer [2022-06-28T22:55:44.596Z] df9b9388f04a: Verifying Checksum [2022-06-28T22:55:44.596Z] df9b9388f04a: Download complete [2022-06-28T22:55:44.596Z] df9b9388f04a: Pull complete [2022-06-28T22:55:44.596Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T22:55:44.596Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T22:55:44.596Z] ---> 0ac33e5f5afa [2022-06-28T22:55:44.596Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T22:55:44.596Z] ---> Running in a8d71a200d82 [2022-06-28T22:55:44.596Z] Removing intermediate container a8d71a200d82 [2022-06-28T22:55:44.596Z] ---> 296bf14b92d3 [2022-06-28T22:55:44.596Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T22:55:44.596Z] ---> Running in 307ebd5ee0b9 [2022-06-28T22:55:44.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:55:44.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:55:44.596Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T22:55:44.596Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T22:55:44.596Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T22:55:44.596Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T22:55:44.596Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T22:55:44.596Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T22:55:44.596Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T22:55:44.596Z] OK: 8 MiB in 20 packages [2022-06-28T22:55:44.596Z] Removing intermediate container 307ebd5ee0b9 [2022-06-28T22:55:44.596Z] ---> 223a51557202 [2022-06-28T22:55:44.596Z] Step 17/26 : WORKDIR / [2022-06-28T22:55:44.596Z] ---> Running in 00f096fe6a2d [2022-06-28T22:55:44.597Z] Removing intermediate container 00f096fe6a2d [2022-06-28T22:55:44.597Z] ---> 8923f90bcbf6 [2022-06-28T22:55:44.597Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T22:55:45.166Z] ---> 8d08b33cf2f4 [2022-06-28T22:55:45.166Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T22:55:45.166Z] ---> f97268900736 [2022-06-28T22:55:45.166Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T22:55:45.425Z] ---> b57d0a5de64e [2022-06-28T22:55:45.425Z] Step 21/26 : EXPOSE 59984 [2022-06-28T22:55:45.425Z] ---> Running in 1856cae75c29 [2022-06-28T22:55:45.425Z] Removing intermediate container 1856cae75c29 [2022-06-28T22:55:45.425Z] ---> f8dacb1b5c55 [2022-06-28T22:55:45.425Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T22:55:45.425Z] ---> Running in 282dfe854179 [2022-06-28T22:55:45.684Z] Removing intermediate container 282dfe854179 [2022-06-28T22:55:45.684Z] ---> c2544b6cabb5 [2022-06-28T22:55:45.684Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T22:55:45.684Z] ---> Running in 6d789cb76935 [2022-06-28T22:55:45.684Z] Removing intermediate container 6d789cb76935 [2022-06-28T22:55:45.684Z] ---> 607022d37c91 [2022-06-28T22:55:45.684Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T22:55:45.945Z] ---> Running in cd0da3e43495 [2022-06-28T22:55:45.945Z] Removing intermediate container cd0da3e43495 [2022-06-28T22:55:45.945Z] ---> 10349b2c71f8 [2022-06-28T22:55:45.945Z] Step 25/26 : LABEL git_sha=c728d94b8906458d21c0846246b95a6713abadc7 [2022-06-28T22:55:45.945Z] ---> Running in a8a8f88fd0aa [2022-06-28T22:55:45.945Z] Removing intermediate container a8a8f88fd0aa [2022-06-28T22:55:45.945Z] ---> 2e2a27c45e26 [2022-06-28T22:55:45.945Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T22:55:46.207Z] ---> Running in 1ad0b04b05c1 [2022-06-28T22:55:46.207Z] Removing intermediate container 1ad0b04b05c1 [2022-06-28T22:55:46.207Z] ---> b961373fc450 [2022-06-28T22:55:46.207Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T22:55:46.207Z] Successfully built b961373fc450 [2022-06-28T22:55:46.207Z] 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-06-28T22:55:46.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:55:46.632Z] [2022-06-28T22:55:46.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:55:46.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:55:46.939Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T22:55:46.939Z] 5eb5b503b376: Pulling fs layer [2022-06-28T22:55:46.939Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T22:55:46.939Z] ec43610c2a17: Pulling fs layer [2022-06-28T22:55:46.939Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T22:55:46.939Z] 33b1e0a273af: Pulling fs layer [2022-06-28T22:55:46.939Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T22:55:46.939Z] 2f39f015ded8: Pulling fs layer [2022-06-28T22:55:46.939Z] 5d3b04190fa2: Waiting [2022-06-28T22:55:46.939Z] 2f39f015ded8: Waiting [2022-06-28T22:55:46.939Z] 33b1e0a273af: Waiting [2022-06-28T22:55:46.939Z] 3a2ae6a8a46f: Waiting [2022-06-28T22:55:46.939Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T22:55:46.939Z] 5c69ac0246d0: Download complete [2022-06-28T22:55:46.939Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T22:55:46.939Z] 3a2ae6a8a46f: Download complete [2022-06-28T22:55:46.939Z] ec43610c2a17: Verifying Checksum [2022-06-28T22:55:46.939Z] ec43610c2a17: Download complete [2022-06-28T22:55:46.939Z] 33b1e0a273af: Verifying Checksum [2022-06-28T22:55:46.939Z] 33b1e0a273af: Download complete [2022-06-28T22:55:46.939Z] 5d3b04190fa2: Download complete [2022-06-28T22:55:47.199Z] 5eb5b503b376: Verifying Checksum [2022-06-28T22:55:47.199Z] 5eb5b503b376: Download complete [2022-06-28T22:55:47.769Z] 2f39f015ded8: Download complete [2022-06-28T22:55:48.708Z] 5eb5b503b376: Pull complete [2022-06-28T22:55:48.708Z] 5c69ac0246d0: Pull complete [2022-06-28T22:55:48.968Z] ec43610c2a17: Pull complete [2022-06-28T22:55:49.226Z] 3a2ae6a8a46f: Pull complete [2022-06-28T22:55:49.486Z] 33b1e0a273af: Pull complete [2022-06-28T22:55:49.486Z] 5d3b04190fa2: Pull complete [2022-06-28T22:55:53.683Z] 2f39f015ded8: Pull complete [2022-06-28T22:55:53.683Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T22:55:53.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:55:53.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:55:53.778Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2022-06-28T22:55:53.810Z] $ 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/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T22:55:55.535Z] $ docker top 1f6b8675ce0d95a6723860a58ccefcad01255b4143d968478bfeebfb6c4af7d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:55:55.911Z] ---> job-cost.sh [2022-06-28T22:55:55.911Z] lf-activate-venv: SKIPPING [2022-06-28T22:55:55.911Z] INFO: No Stack... [2022-06-28T22:55:56.483Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T22:55:56.744Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T22:55:57.034Z] + cat /w/workspace/oundry_device-onvif-camera_PR-93/archives/cost.csv [2022-06-28T22:55:57.034Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T22:55:57.051Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [2022-06-28T22:55:57.057Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] did not exist. Created. [2022-06-28T22:55:57.057Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:55:57.363Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T22:55:57.394Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T22:55:57.401Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T22:55:57.416Z] $ docker stop --time=1 1f6b8675ce0d95a6723860a58ccefcad01255b4143d968478bfeebfb6c4af7d0 [2022-06-28T22:55:58.589Z] $ docker rm -f 1f6b8675ce0d95a6723860a58ccefcad01255b4143d968478bfeebfb6c4af7d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T22:56:09.184Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16283 in /w/workspace/oundry_device-onvif-camera_PR-93 [Pipeline] { [Pipeline] ws [2022-06-28T22:56:09.197Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-06-28T22:56:09.238Z] Selected Git installation does not exist. Using Default [2022-06-28T22:56:09.238Z] The recommended git tool is: NONE [2022-06-28T22:56:15.755Z] using credential edgex-jenkins-ssh [2022-06-28T22:56:15.776Z] Cloning the remote Git repository [2022-06-28T22:56:15.826Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:56:15.907Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-06-28T22:56:16.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:56:16.004Z] > git --version # timeout=10 [2022-06-28T22:56:16.023Z] > git --version # 'git version 2.25.1' [2022-06-28T22:56:16.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:56:16.112Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:56:16.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T22:56:16.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:56:16.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T22:56:17.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:56:17.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:56:17.061Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-28T22:56:17.648Z] Merging remotes/origin/main commit 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 into PR head commit c728d94b8906458d21c0846246b95a6713abadc7 [2022-06-28T22:56:17.934Z] Merge succeeded, producing c728d94b8906458d21c0846246b95a6713abadc7 [2022-06-28T22:56:17.934Z] Checking out Revision c728d94b8906458d21c0846246b95a6713abadc7 (PR-93) [2022-06-28T22:56:17.667Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T22:56:17.684Z] > git checkout -f c728d94b8906458d21c0846246b95a6713abadc7 # timeout=10 [2022-06-28T22:56:17.834Z] > git remote # timeout=10 [2022-06-28T22:56:17.855Z] > git config --get remote.origin.url # timeout=10 [2022-06-28T22:56:17.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:56:17.885Z] > git merge 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 [2022-06-28T22:56:17.911Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-28T22:56:17.939Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T22:56:17.952Z] > git checkout -f c728d94b8906458d21c0846246b95a6713abadc7 # timeout=10 [2022-06-28T22:56:22.240Z] Commit message: "fix: use format style logging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:56:23.048Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T22:56:23.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T22:56:23.049Z] Dload Upload Total Spent Left Speed [2022-06-28T22:56:23.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98024 0 --:--:-- --:--:-- --:--:-- 98024 [Pipeline] sh [2022-06-28T22:56:23.744Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T22:56:24.134Z] + sudo tee /etc/docker/daemon.new [2022-06-28T22:56:24.134Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T22:56:24.134Z] { [2022-06-28T22:56:24.134Z] "registry-mirrors": [ [2022-06-28T22:56:24.134Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T22:56:24.134Z] ], [2022-06-28T22:56:24.134Z] "bip": "10.250.0.254/24", [2022-06-28T22:56:24.134Z] "hosts": [ [2022-06-28T22:56:24.134Z] "tcp://0.0.0.0:5555", [2022-06-28T22:56:24.134Z] "unix:///var/run/docker.sock" [2022-06-28T22:56:24.134Z] ], [2022-06-28T22:56:24.134Z] "mtu": 1458, [2022-06-28T22:56:24.134Z] "selinux-enabled": true, [2022-06-28T22:56:24.134Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T22:56:24.134Z] } [Pipeline] sh [2022-06-28T22:56:24.484Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T22:56:24.825Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:56:43.158Z] provisioning config files... [2022-06-28T22:56:43.192Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config3433964487136338740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:56:43.540Z] ---> docker-login.sh [2022-06-28T22:56:43.540Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:56:44.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:56:44.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:56:44.408Z] Configure a credential helper to remove this warning. See [2022-06-28T22:56:44.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:56:44.408Z] [2022-06-28T22:56:44.408Z] Login Succeeded [2022-06-28T22:56:44.408Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:56:44.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:56:44.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:56:44.679Z] Configure a credential helper to remove this warning. See [2022-06-28T22:56:44.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:56:44.679Z] [2022-06-28T22:56:44.679Z] Login Succeeded [2022-06-28T22:56:44.679Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:56:44.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:56:45.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:56:45.222Z] Configure a credential helper to remove this warning. See [2022-06-28T22:56:45.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:56:45.222Z] [2022-06-28T22:56:45.222Z] Login Succeeded [2022-06-28T22:56:45.222Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:56:45.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:56:45.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:56:45.495Z] Configure a credential helper to remove this warning. See [2022-06-28T22:56:45.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:56:45.495Z] [2022-06-28T22:56:45.495Z] Login Succeeded [2022-06-28T22:56:45.495Z] docker.io [2022-06-28T22:56:45.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:56:46.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:56:46.357Z] Configure a credential helper to remove this warning. See [2022-06-28T22:56:46.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:56:46.357Z] [2022-06-28T22:56:46.357Z] Login Succeeded [2022-06-28T22:56:46.357Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:56:46.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:56:46.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:56:46.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:56:46.901Z] ========================================================= [2022-06-28T22:56:46.901Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T22:56:46.901Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:56:47.268Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T22:56:47.538Z] Sending build context to Docker daemon 6.253MB [2022-06-28T22:56:47.811Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:56:47.811Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:56:47.811Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T22:56:47.811Z] 9b3977197b4f: Pulling fs layer [2022-06-28T22:56:47.811Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T22:56:47.811Z] 94645a83ff95: Pulling fs layer [2022-06-28T22:56:47.811Z] e6fb740bc735: Pulling fs layer [2022-06-28T22:56:47.811Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T22:56:47.811Z] 355e64cbe906: Pulling fs layer [2022-06-28T22:56:47.811Z] 63ab81a10011: Pulling fs layer [2022-06-28T22:56:47.811Z] 555d1d1c4555: Pulling fs layer [2022-06-28T22:56:47.811Z] 7d9057610161: Pulling fs layer [2022-06-28T22:56:47.811Z] 3a77bd46dcc9: Waiting [2022-06-28T22:56:47.811Z] 355e64cbe906: Waiting [2022-06-28T22:56:47.811Z] 63ab81a10011: Waiting [2022-06-28T22:56:47.811Z] 555d1d1c4555: Waiting [2022-06-28T22:56:47.811Z] 7d9057610161: Waiting [2022-06-28T22:56:47.811Z] e6fb740bc735: Waiting [2022-06-28T22:56:47.811Z] 94645a83ff95: Verifying Checksum [2022-06-28T22:56:47.811Z] 94645a83ff95: Download complete [2022-06-28T22:56:47.811Z] 1a89e8eeedd5: Download complete [2022-06-28T22:56:47.811Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T22:56:47.811Z] 3a77bd46dcc9: Download complete [2022-06-28T22:56:47.811Z] 355e64cbe906: Verifying Checksum [2022-06-28T22:56:47.811Z] 355e64cbe906: Download complete [2022-06-28T22:56:48.090Z] 63ab81a10011: Verifying Checksum [2022-06-28T22:56:48.090Z] 63ab81a10011: Download complete [2022-06-28T22:56:48.090Z] 9b3977197b4f: Verifying Checksum [2022-06-28T22:56:48.090Z] 9b3977197b4f: Download complete [2022-06-28T22:56:48.699Z] 9b3977197b4f: Pull complete [2022-06-28T22:56:48.975Z] 7d9057610161: Verifying Checksum [2022-06-28T22:56:48.975Z] 7d9057610161: Download complete [2022-06-28T22:56:49.576Z] 1a89e8eeedd5: Pull complete [2022-06-28T22:56:49.852Z] 94645a83ff95: Pull complete [2022-06-28T22:56:50.126Z] 555d1d1c4555: Verifying Checksum [2022-06-28T22:56:50.126Z] 555d1d1c4555: Download complete [2022-06-28T22:56:50.726Z] e6fb740bc735: Verifying Checksum [2022-06-28T22:56:50.726Z] e6fb740bc735: Download complete [2022-06-28T22:57:03.141Z] e6fb740bc735: Pull complete [2022-06-28T22:57:03.141Z] 3a77bd46dcc9: Pull complete [2022-06-28T22:57:03.141Z] 355e64cbe906: Pull complete [2022-06-28T22:57:03.414Z] 63ab81a10011: Pull complete [2022-06-28T22:57:10.136Z] 555d1d1c4555: Pull complete [2022-06-28T22:57:11.581Z] 7d9057610161: Pull complete [2022-06-28T22:57:11.581Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T22:57:11.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T22:57:11.581Z] ---> 819e984ddca1 [2022-06-28T22:57:11.582Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:57:13.568Z] ---> Running in 2b5e1c759625 [2022-06-28T22:57:13.568Z] Removing intermediate container 2b5e1c759625 [2022-06-28T22:57:13.568Z] ---> 07e07b67d76b [2022-06-28T22:57:13.568Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:57:13.568Z] ---> Running in 4ec8d5baab86 [2022-06-28T22:57:13.840Z] Removing intermediate container 4ec8d5baab86 [2022-06-28T22:57:13.840Z] ---> e384d7436dd0 [2022-06-28T22:57:13.840Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:57:13.840Z] ---> Running in 2dc309bbd525 [2022-06-28T22:57:14.436Z] Removing intermediate container 2dc309bbd525 [2022-06-28T22:57:14.436Z] ---> de1d84c85746 [2022-06-28T22:57:14.436Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:57:14.436Z] ---> Running in 41a8b57006c9 [2022-06-28T22:57:14.707Z] Removing intermediate container 41a8b57006c9 [2022-06-28T22:57:14.707Z] ---> 8e01b9f47623 [2022-06-28T22:57:14.707Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:57:14.707Z] ---> Running in 94c46125c99e [2022-06-28T22:57:16.692Z] Removing intermediate container 94c46125c99e [2022-06-28T22:57:16.692Z] ---> af1d5bb7f638 [2022-06-28T22:57:16.692Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:57:16.692Z] ---> Running in ad251f4d193d [2022-06-28T22:57:18.132Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:57:19.110Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:57:20.091Z] OK: 220 MiB in 52 packages [2022-06-28T22:57:20.687Z] Removing intermediate container ad251f4d193d [2022-06-28T22:57:20.687Z] ---> 336b7aef2f03 [2022-06-28T22:57:20.687Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:57:20.687Z] ---> Running in 113436c3070b [2022-06-28T22:57:20.962Z] Removing intermediate container 113436c3070b [2022-06-28T22:57:20.962Z] ---> 5de57fa5e6d6 [2022-06-28T22:57:20.962Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:57:21.574Z] ---> 2694b226f90b [2022-06-28T22:57:21.574Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:57:21.574Z] ---> Running in a58dbb3d56d6 [2022-06-28T22:58:08.563Z] Removing intermediate container a58dbb3d56d6 [2022-06-28T22:58:08.563Z] ---> c0ff57e33cc4 [2022-06-28T22:58:08.563Z] Step 12/13 : COPY . . [2022-06-28T22:58:08.563Z] ---> 34b47552e259 [2022-06-28T22:58:08.563Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:58:08.563Z] ---> Running in 230cdf3b8182 [2022-06-28T22:58:08.563Z] noop [2022-06-28T22:58:09.160Z] Removing intermediate container 230cdf3b8182 [2022-06-28T22:58:09.160Z] ---> 22ab6d9561a9 [2022-06-28T22:58:09.160Z] Successfully built 22ab6d9561a9 [2022-06-28T22:58:09.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:58:09.524Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:58:09.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:58:09.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-16283 does not seem to be running inside a container [2022-06-28T22:58:09.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T22:58:11.051Z] $ docker top 4a3de39fd8cc2dc447611ed3e0b071e8e6c6b3b41a870d2df4b14824bdfe3f90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:58:11.947Z] + go version [2022-06-28T22:58:11.947Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T22:58:11.977Z] $ docker stop --time=1 4a3de39fd8cc2dc447611ed3e0b071e8e6c6b3b41a870d2df4b14824bdfe3f90 [2022-06-28T22:58:13.600Z] $ docker rm -f 4a3de39fd8cc2dc447611ed3e0b071e8e6c6b3b41a870d2df4b14824bdfe3f90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:58:14.187Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:58:14.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:58:14.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-16283 does not seem to be running inside a container [2022-06-28T22:58:14.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T22:58:15.709Z] $ docker top 228c0c1708cbff2f3dc94357e6a1786fde904aae3672db03c1c12152a158e903 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:58:16.595Z] + make test [2022-06-28T22:58:16.595Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:58:18.577Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:59:40.448Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:59:43.095Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.107s coverage: 7.0% of statements [2022-06-28T22:59:43.095Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-28T23:00:09.908Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 32.725s coverage: 13.8% of statements [2022-06-28T23:00:10.504Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T23:00:10.504Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T23:00:37.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T23:00:37.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T23:00:37.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T23:00:41.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T23:00:41.036Z] $ docker stop --time=1 228c0c1708cbff2f3dc94357e6a1786fde904aae3672db03c1c12152a158e903 [2022-06-28T23:00:42.829Z] $ docker rm -f 228c0c1708cbff2f3dc94357e6a1786fde904aae3672db03c1c12152a158e903 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T23:00:43.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T23:00:43.800Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T23:00:44.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T23:00:44.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T23:00:45.047Z] + ls -al . [2022-06-28T23:00:45.048Z] total 244 [2022-06-28T23:00:45.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 23:00 . [2022-06-28T23:00:45.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:56 .. [2022-06-28T23:00:45.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:56 .git [2022-06-28T23:00:45.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:56 .github [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:56 .gitignore [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:56 .golangci.yml [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 28 22:56 Attribution.txt [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:56 CHANGELOG.md [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:56 Dockerfile [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:56 GOVERNANCE.md [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:56 Jenkinsfile [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:56 LICENSE [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:56 Makefile [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:56 OWNERS.md [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:56 README.md [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 22:54 VERSION [2022-06-28T23:00:45.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:56 bin [2022-06-28T23:00:45.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:56 cmd [2022-06-28T23:00:45.048Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 28 23:00 coverage.out [2022-06-28T23:00:45.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:56 doc [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 28 22:56 go.mod [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:56 go.sum [2022-06-28T23:00:45.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:56 internal [2022-06-28T23:00:45.048Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T23:00:45.404Z] + 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=c728d94b8906458d21c0846246b95a6713abadc7 --label arch=arm64 --label version=0.0.0 . [2022-06-28T23:00:45.999Z] Sending build context to Docker daemon 6.324MB [2022-06-28T23:00:45.999Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T23:00:45.999Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T23:00:45.999Z] ---> 22ab6d9561a9 [2022-06-28T23:00:45.999Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T23:00:45.999Z] ---> Running in a2490770e6a6 [2022-06-28T23:00:46.274Z] Removing intermediate container a2490770e6a6 [2022-06-28T23:00:46.274Z] ---> 302e0fe8cde3 [2022-06-28T23:00:46.274Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T23:00:46.274Z] ---> Running in 2619c0cae002 [2022-06-28T23:00:46.881Z] Removing intermediate container 2619c0cae002 [2022-06-28T23:00:46.881Z] ---> b32345210615 [2022-06-28T23:00:46.881Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T23:00:46.881Z] ---> Running in f48d8d66e0be [2022-06-28T23:00:47.156Z] Removing intermediate container f48d8d66e0be [2022-06-28T23:00:47.156Z] ---> e089ab24c16c [2022-06-28T23:00:47.156Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T23:00:47.156Z] ---> Running in 574b66ae092d [2022-06-28T23:00:47.432Z] Removing intermediate container 574b66ae092d [2022-06-28T23:00:47.432Z] ---> a4d5ab2fd50a [2022-06-28T23:00:47.432Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T23:00:47.725Z] ---> Running in 5b33c2291d65 [2022-06-28T23:00:49.177Z] Removing intermediate container 5b33c2291d65 [2022-06-28T23:00:49.177Z] ---> 1a0d6f32fbff [2022-06-28T23:00:49.177Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T23:00:49.177Z] ---> Running in 7b9ea080bcdc [2022-06-28T23:00:50.155Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T23:00:51.131Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T23:00:52.110Z] OK: 220 MiB in 52 packages [2022-06-28T23:00:52.708Z] Removing intermediate container 7b9ea080bcdc [2022-06-28T23:00:52.708Z] ---> 89e4c90b1f06 [2022-06-28T23:00:52.708Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T23:00:52.708Z] ---> Running in 735f73bd962a [2022-06-28T23:00:52.982Z] Removing intermediate container 735f73bd962a [2022-06-28T23:00:52.982Z] ---> bfe3566c93a3 [2022-06-28T23:00:52.982Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T23:00:53.595Z] ---> 60a33a006a3f [2022-06-28T23:00:53.595Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T23:00:53.595Z] ---> Running in c9f1acecc72e [2022-06-28T23:00:55.599Z] Removing intermediate container c9f1acecc72e [2022-06-28T23:00:55.599Z] ---> bb99f1c6e4ac [2022-06-28T23:00:55.599Z] Step 12/26 : COPY . . [2022-06-28T23:00:57.042Z] ---> 71a374cbbc02 [2022-06-28T23:00:57.042Z] Step 13/26 : RUN ${MAKE} [2022-06-28T23:00:57.042Z] ---> Running in d5e2d794077e [2022-06-28T23:00:58.038Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T23:03:04.917Z] Removing intermediate container d5e2d794077e [2022-06-28T23:03:04.917Z] ---> f381d6e51cbe [2022-06-28T23:03:04.917Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T23:03:04.917Z] 3.15: Pulling from library/alpine [2022-06-28T23:03:04.917Z] 9981e73032c8: Pulling fs layer [2022-06-28T23:03:04.917Z] 9981e73032c8: Verifying Checksum [2022-06-28T23:03:04.917Z] 9981e73032c8: Download complete [2022-06-28T23:03:04.917Z] 9981e73032c8: Pull complete [2022-06-28T23:03:04.917Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T23:03:04.917Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T23:03:04.917Z] ---> 3fb3c9af89a9 [2022-06-28T23:03:04.917Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T23:03:04.917Z] ---> Running in aeca721520c1 [2022-06-28T23:03:04.917Z] Removing intermediate container aeca721520c1 [2022-06-28T23:03:04.917Z] ---> 74f10cebbe9d [2022-06-28T23:03:04.917Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T23:03:04.917Z] ---> Running in 5a94b32385f2 [2022-06-28T23:03:04.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T23:03:04.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T23:03:04.917Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T23:03:04.917Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T23:03:04.917Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T23:03:04.917Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T23:03:04.917Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T23:03:04.917Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T23:03:04.917Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T23:03:04.917Z] OK: 8 MiB in 20 packages [2022-06-28T23:03:04.917Z] Removing intermediate container 5a94b32385f2 [2022-06-28T23:03:04.917Z] ---> 45556885e37e [2022-06-28T23:03:04.917Z] Step 17/26 : WORKDIR / [2022-06-28T23:03:04.917Z] ---> Running in 56f6635d3d01 [2022-06-28T23:03:04.917Z] Removing intermediate container 56f6635d3d01 [2022-06-28T23:03:04.917Z] ---> 12459528a1d0 [2022-06-28T23:03:04.917Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T23:03:04.917Z] ---> 3aa92dc5abb8 [2022-06-28T23:03:04.917Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T23:03:05.194Z] ---> 27367e2db4aa [2022-06-28T23:03:05.194Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T23:03:05.793Z] ---> 93d6de2bc680 [2022-06-28T23:03:05.793Z] Step 21/26 : EXPOSE 59984 [2022-06-28T23:03:05.793Z] ---> Running in 78934d3772ba [2022-06-28T23:03:06.393Z] Removing intermediate container 78934d3772ba [2022-06-28T23:03:06.393Z] ---> 32bfa1b1c324 [2022-06-28T23:03:06.393Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T23:03:06.393Z] ---> Running in 5ce1443a57e7 [2022-06-28T23:03:06.668Z] Removing intermediate container 5ce1443a57e7 [2022-06-28T23:03:06.668Z] ---> 0390ec61b2f7 [2022-06-28T23:03:06.668Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T23:03:06.668Z] ---> Running in 4ac5c8b04015 [2022-06-28T23:03:06.941Z] Removing intermediate container 4ac5c8b04015 [2022-06-28T23:03:06.941Z] ---> b75b92d5d7e0 [2022-06-28T23:03:06.941Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T23:03:06.941Z] ---> Running in f4d50bad780a [2022-06-28T23:03:07.216Z] Removing intermediate container f4d50bad780a [2022-06-28T23:03:07.216Z] ---> 1d114276fa10 [2022-06-28T23:03:07.216Z] Step 25/26 : LABEL git_sha=c728d94b8906458d21c0846246b95a6713abadc7 [2022-06-28T23:03:07.492Z] ---> Running in dce569ea1a8c [2022-06-28T23:03:07.767Z] Removing intermediate container dce569ea1a8c [2022-06-28T23:03:07.767Z] ---> c8dfe6d9e497 [2022-06-28T23:03:07.767Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T23:03:07.767Z] ---> Running in d820b3d39a48 [2022-06-28T23:03:08.040Z] Removing intermediate container d820b3d39a48 [2022-06-28T23:03:08.040Z] ---> 898dc95555b6 [2022-06-28T23:03:08.040Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T23:03:08.040Z] Successfully built 898dc95555b6 [2022-06-28T23:03:08.040Z] 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-06-28T23:03:08.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T23:03:08.510Z] [2022-06-28T23:03:08.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T23:03:08.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T23:03:09.137Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T23:03:09.137Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T23:03:09.137Z] 04944245beec: Pulling fs layer [2022-06-28T23:03:09.137Z] 699f458cf7ca: Pulling fs layer [2022-06-28T23:03:09.137Z] 765212b225bb: Pulling fs layer [2022-06-28T23:03:09.137Z] f23df028b6ca: Pulling fs layer [2022-06-28T23:03:09.137Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T23:03:09.137Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T23:03:09.137Z] 765212b225bb: Waiting [2022-06-28T23:03:09.137Z] f23df028b6ca: Waiting [2022-06-28T23:03:09.137Z] d65c8cfc05b1: Waiting [2022-06-28T23:03:09.137Z] 2437ff75d9bd: Waiting [2022-06-28T23:03:09.137Z] 04944245beec: Download complete [2022-06-28T23:03:09.137Z] 765212b225bb: Download complete [2022-06-28T23:03:09.137Z] f23df028b6ca: Verifying Checksum [2022-06-28T23:03:09.137Z] f23df028b6ca: Download complete [2022-06-28T23:03:09.137Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T23:03:09.137Z] d65c8cfc05b1: Download complete [2022-06-28T23:03:09.416Z] 699f458cf7ca: Verifying Checksum [2022-06-28T23:03:09.416Z] 699f458cf7ca: Download complete [2022-06-28T23:03:09.691Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T23:03:09.691Z] 8998bd30e6a1: Download complete [2022-06-28T23:03:12.321Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T23:03:12.321Z] 2437ff75d9bd: Download complete [2022-06-28T23:03:14.305Z] 8998bd30e6a1: Pull complete [2022-06-28T23:03:14.579Z] 04944245beec: Pull complete [2022-06-28T23:03:16.016Z] 699f458cf7ca: Pull complete [2022-06-28T23:03:16.292Z] 765212b225bb: Pull complete [2022-06-28T23:03:16.889Z] f23df028b6ca: Pull complete [2022-06-28T23:03:17.163Z] d65c8cfc05b1: Pull complete [2022-06-28T23:03:32.262Z] 2437ff75d9bd: Pull complete [2022-06-28T23:03:32.262Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T23:03:32.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T23:03:32.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T23:03:32.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-16283 does not seem to be running inside a container [2022-06-28T23:03:32.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-28T23:03:35.224Z] $ docker top 3d2e0fd7e1a632685d7e1b2fc7764d2c30d83b483ee9dec13cb78c5abd817f9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:36.162Z] ---> job-cost.sh [2022-06-28T23:03:36.162Z] lf-activate-venv: SKIPPING [2022-06-28T23:03:36.162Z] INFO: No Stack... [2022-06-28T23:03:36.436Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T23:03:37.413Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T23:03:38.081Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-06-28T23:03:38.081Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T23:03:38.146Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [2022-06-28T23:03:38.152Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] did not exist. Created. [2022-06-28T23:03:38.153Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T23:03:38.835Z] /w/workspace/device-onvif-camera/4@tmp/durable-cf232c2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T23:03:39.520Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T23:03:39.540Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T23:03:39.587Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T23:03:39.597Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T23:03:39.622Z] $ docker stop --time=1 3d2e0fd7e1a632685d7e1b2fc7764d2c30d83b483ee9dec13cb78c5abd817f9c [2022-06-28T23:03:41.149Z] $ docker rm -f 3d2e0fd7e1a632685d7e1b2fc7764d2c30d83b483ee9dec13cb78c5abd817f9c [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-06-28T23:03:41.630Z] provisioning config files... [2022-06-28T23:03:41.670Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config7572864645944843018tmp [Pipeline] { [Pipeline] sh [2022-06-28T23:03:41.963Z] + set +x [2022-06-28T23:03:41.963Z] + curl -s https://codecov.io/bash [2022-06-28T23:03:41.963Z] + bash -s -- [2022-06-28T23:03:41.963Z] [2022-06-28T23:03:41.963Z] _____ _ [2022-06-28T23:03:41.963Z] / ____| | | [2022-06-28T23:03:41.963Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T23:03:41.963Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T23:03:41.963Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T23:03:41.963Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T23:03:41.963Z] Bash-1.0.6 [2022-06-28T23:03:41.963Z] [2022-06-28T23:03:41.963Z] [2022-06-28T23:03:41.963Z] ==> git version 2.25.1 found [2022-06-28T23:03:41.963Z] ==> 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-06-28T23:03:41.963Z] Release-Date: 2020-01-08 [2022-06-28T23:03:41.963Z] 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-06-28T23:03:41.963Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T23:03:41.963Z] ==> Jenkins CI detected. [2022-06-28T23:03:41.963Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-93 [2022-06-28T23:03:41.963Z] project root: . [2022-06-28T23:03:41.963Z] --> token set from env [2022-06-28T23:03:41.963Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T23:03:41.963Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T23:03:41.963Z] ==> Python coveragepy not found [2022-06-28T23:03:41.963Z] ==> Searching for coverage reports in: [2022-06-28T23:03:41.963Z] + . [2022-06-28T23:03:41.963Z] -> Found 1 reports [2022-06-28T23:03:41.963Z] ==> Detecting git/mercurial file structure [2022-06-28T23:03:41.963Z] ==> Reading reports [2022-06-28T23:03:42.223Z] + ./coverage.out bytes=70262 [2022-06-28T23:03:42.223Z] ==> Appending adjustments [2022-06-28T23:03:42.223Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T23:03:42.223Z] + Found adjustments [2022-06-28T23:03:42.223Z] ==> Gzipping contents [2022-06-28T23:03:42.223Z] 12K /tmp/codecov.gkaKBW.gz [2022-06-28T23:03:42.223Z] ==> Uploading reports [2022-06-28T23:03:42.223Z] url: https://codecov.io [2022-06-28T23:03:42.223Z] query: branch=PR-93&commit=c728d94b8906458d21c0846246b95a6713abadc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-93%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=93&job=&cmd_args= [2022-06-28T23:03:42.223Z] -> Pinging Codecov [2022-06-28T23:03:42.223Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-93&commit=c728d94b8906458d21c0846246b95a6713abadc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-93%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=93&job=&cmd_args= [2022-06-28T23:03:42.484Z] -> Uploading to [2022-06-28T23:03:42.484Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/c728d94b8906458d21c0846246b95a6713abadc7/c91c93a3-d16a-4d8b-867c-8a6f5ace409c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T230342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59c94aad36ac92e784a5a256e018c91db374cafdee1d2425bb04d308623c4258 [2022-06-28T23:03:42.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T23:03:42.484Z] Dload Upload Total Spent Left Speed [2022-06-28T23:03:42.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9242 0 0 100 9242 0 35409 --:--:-- --:--:-- --:--:-- 35409 [2022-06-28T23:03:42.743Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/c728d94b8906458d21c0846246b95a6713abadc7 [Pipeline] } [2022-06-28T23:03:42.751Z] 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-06-28T23:03:43.426Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-93/archives ] [2022-06-28T23:03:43.426Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T23:03:43.426Z] total 16 [2022-06-28T23:03:43.426Z] drwxr-xr-x 3 root root 4096 Jun 28 22:55 . [2022-06-28T23:03:43.426Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:55 .. [2022-06-28T23:03:43.426Z] drwxr-xr-x 2 root root 4096 Jun 28 22:55 cost [2022-06-28T23:03:43.426Z] -rw-r--r-- 1 root root 89 Jun 28 22:55 cost.csv [2022-06-28T23:03:43.426Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T23:03:43.426Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T23:03:43.426Z] total 16 [2022-06-28T23:03:43.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:55 . [2022-06-28T23:03:43.426Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:55 .. [2022-06-28T23:03:43.426Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 22:55 cost [2022-06-28T23:03:43.426Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 28 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:43.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:44.583Z] ---> package-listing.sh [2022-06-28T23:03:44.584Z] ++ facter osfamily [2022-06-28T23:03:44.584Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T23:03:44.845Z] + OS_FAMILY=debian [2022-06-28T23:03:44.845Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-93 [2022-06-28T23:03:44.845Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T23:03:44.845Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T23:03:44.845Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T23:03:44.845Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T23:03:44.845Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-93 ']' [2022-06-28T23:03:44.845Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T23:03:44.845Z] + case "${OS_FAMILY}" in [2022-06-28T23:03:44.845Z] + dpkg -l [2022-06-28T23:03:44.845Z] + grep '^ii' [2022-06-28T23:03:44.845Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T23:03:44.845Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T23:03:44.845Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T23:03:44.845Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-93 ']' [2022-06-28T23:03:44.845Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-93/archives/ [2022-06-28T23:03:44.845Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-93/archives/ [Pipeline] echo [2022-06-28T23:03:44.857Z] 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/oundry_device-onvif-camera_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-28T23:03:45.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T23:03:45.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T23:03:45.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T23:03:45.789Z] prd-ubuntu20.04-docker-8c-8g-16282 does not seem to be running inside a container [2022-06-28T23:03:45.819Z] $ 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/oundry_device-onvif-camera_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T23:03:46.044Z] $ docker top 17c9e484e1c419f058c1367c36a53b20fa2add6cd693ffe4b68b0c3a32e94ce0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T23:03:46.402Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T23:03:46.692Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T23:03:46.977Z] + ls /var/log/sa-host [2022-06-28T23:03:46.977Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T23:03:47.046Z] provisioning config files... [2022-06-28T23:03:47.056Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config440846606203352656tmp [Pipeline] { [Pipeline] echo [2022-06-28T23:03:47.068Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:47.352Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T23:03:47.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:47.686Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T23:03:47.695Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:47.979Z] ---> sudo-logs.sh [2022-06-28T23:03:47.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T23:03:48.010Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:48.294Z] ---> job-cost.sh [2022-06-28T23:03:48.294Z] lf-activate-venv: SKIPPING [2022-06-28T23:03:48.294Z] DEBUG: total: 0.2199999988079071 [2022-06-28T23:03:48.294Z] INFO: Retrieving Stack Cost... [2022-06-28T23:03:48.554Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T23:03:49.123Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T23:03:49.134Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T23:03:49.420Z] ---> logs-deploy.sh [2022-06-28T23:03:49.421Z] lf-activate-venv: SKIPPING [2022-06-28T23:03:49.421Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-93/4 [2022-06-28T23:03:49.421Z] INFO: archiving workspace using pattern(s): [2022-06-28T23:03:50.363Z] Archives upload complete. [2022-06-28T23:03:50.363Z] INFO: archiving logs to Nexus