Pull request #103 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 84f2c4fd4e35f46928256df416a01a34dc7a6192 rather than 8fd1eb8e119afba84cf05c6f785267df9cb916e1 Obtained Jenkinsfile from 84f2c4fd4e35f46928256df416a01a34dc7a6192 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-ssh14537804927082816925.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-ssh7008628101864095434.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18327677924636982429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3663910494588247603.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11149308907287090480.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11739891241140576324.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17016 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 84f2c4fd4e35f46928256df416a01a34dc7a6192 into PR head commit 8fd1eb8e119afba84cf05c6f785267df9cb916e1 Merge succeeded, producing 9a5d76658793c623aa551356dcf51756ea7f92c6 Checking out Revision 9a5d76658793c623aa551356dcf51756ea7f92c6 (PR-103) > 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/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fd1eb8e119afba84cf05c6f785267df9cb916e1 # 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 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5d76658793c623aa551356dcf51756ea7f92c6 # timeout=10 Commit message: "Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-06T14:43:04.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-06T14:43:05.114Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-06T14:43:05.218Z] ========================================================= [2022-07-06T14:43:05.218Z] EdgeX Global Pipelines Version Info [2022-07-06T14:43:05.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:43:05.990Z] ------------------- [2022-07-06T14:43:05.990Z] stable info: [2022-07-06T14:43:05.990Z] ------------------- [2022-07-06T14:43:05.990Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-06T14:43:05.990Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-06T14:43:05.990Z] Message: update stable to v1.0.234 [2022-07-06T14:43:06.563Z] ------------------- [2022-07-06T14:43:06.563Z] experimental info: [2022-07-06T14:43:06.563Z] ------------------- [2022-07-06T14:43:06.563Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-06T14:43:06.563Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-06T14:43:06.563Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-06T14:43:06.955Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-06T14:43:06.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-06T14:43:07.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-06T14:43:07.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-06T14:43:07.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-06T14:43:07.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-06T14:43:07.189Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-06T14:43:07.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-06T14:43:07.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-06T14:43:07.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-06T14:43:07.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-06T14:43:07.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-06T14:43:07.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-06T14:43:07.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-06T14:43:07.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-06T14:43:07.553Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-06T14:43:07.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T14:43:07.624Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-06T14:43:07.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-06T14:43:07.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-06T14:43:07.757Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-06T14:43:07.803Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-06T14:43:07.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-06T14:43:07.888Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-06T14:43:07.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-06T14:43:07.968Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-06T14:43:08.009Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-06T14:43:08.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2022-07-06T14:43:08.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2022-07-06T14:43:08.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2022-07-06T14:43:08.181Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a5d76658793c623aa551356dcf51756ea7f92c6 [Pipeline] echo [2022-07-06T14:43:08.226Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a5d766 [Pipeline] echo [2022-07-06T14:43:08.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T14:43:08.396Z] provisioning config files... [2022-07-06T14:43:08.411Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config8192342901702665465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:43:08.790Z] ---> docker-login.sh [2022-07-06T14:43:08.791Z] nexus3.edgexfoundry.org:10001 [2022-07-06T14:43:09.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:09.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:09.322Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:09.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:09.322Z] [2022-07-06T14:43:09.322Z] Login Succeeded [2022-07-06T14:43:09.322Z] nexus3.edgexfoundry.org:10002 [2022-07-06T14:43:09.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:09.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:09.584Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:09.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:09.584Z] [2022-07-06T14:43:09.584Z] Login Succeeded [2022-07-06T14:43:09.584Z] nexus3.edgexfoundry.org:10003 [2022-07-06T14:43:09.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:09.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:09.584Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:09.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:09.584Z] [2022-07-06T14:43:09.584Z] Login Succeeded [2022-07-06T14:43:09.584Z] nexus3.edgexfoundry.org:10004 [2022-07-06T14:43:09.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:09.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:09.846Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:09.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:09.846Z] [2022-07-06T14:43:09.846Z] Login Succeeded [2022-07-06T14:43:09.846Z] docker.io [2022-07-06T14:43:09.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:10.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:10.108Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:10.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:10.108Z] [2022-07-06T14:43:10.108Z] Login Succeeded [2022-07-06T14:43:10.108Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T14:43:10.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-06T14:43:10.770Z] + git rev-list -1 --merges 9a5d76658793c623aa551356dcf51756ea7f92c6~1..9a5d76658793c623aa551356dcf51756ea7f92c6 [Pipeline] echo [2022-07-06T14:43:10.811Z] -----------> git rev-list -1 --merges 9a5d76658793c623aa551356dcf51756ea7f92c6~1..9a5d76658793c623aa551356dcf51756ea7f92c6 9a5d76658793c623aa551356dcf51756ea7f92c6 [2022-07-06T14:43:10.811Z] 9a5d76658793c623aa551356dcf51756ea7f92c6 [false] [Pipeline] sh [2022-07-06T14:43:11.120Z] + git log --format=format:%s -1 9a5d76658793c623aa551356dcf51756ea7f92c6 [Pipeline] echo [2022-07-06T14:43:11.155Z] ========================================================= [2022-07-06T14:43:11.155Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-06T14:43:11.155Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T14:43:11.591Z] + git log --format=format:%s -1 9a5d76658793c623aa551356dcf51756ea7f92c6 [Pipeline] echo [2022-07-06T14:43:11.622Z] [semverPrep] GIT_COMMIT: 9a5d76658793c623aa551356dcf51756ea7f92c6, Commit Message: Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD [Pipeline] echo [2022-07-06T14:43:11.653Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-06T14:43:12.055Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-06T14:43:12.056Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-06T14:43:12.056Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-06T14:43:12.056Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-06T14:43:12.056Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-06T14:43:12.056Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-06T14:43:12.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:43:12.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T14:43:12.545Z] [2022-07-06T14:43:12.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:43:12.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T14:43:12.921Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-06T14:43:12.921Z] 42c077c10790: Pulling fs layer [2022-07-06T14:43:12.921Z] f63e77b7563a: Pulling fs layer [2022-07-06T14:43:12.921Z] bd5fdadae976: Pulling fs layer [2022-07-06T14:43:12.921Z] 205491f53016: Pulling fs layer [2022-07-06T14:43:12.921Z] df18705c85c3: Pulling fs layer [2022-07-06T14:43:12.921Z] bdb3f477010e: Pulling fs layer [2022-07-06T14:43:12.921Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-06T14:43:12.921Z] 2c6e9b1d212d: Pulling fs layer [2022-07-06T14:43:12.921Z] bdb8f0575790: Pulling fs layer [2022-07-06T14:43:12.921Z] 386e3cb2ff24: Pulling fs layer [2022-07-06T14:43:12.921Z] 2343380bae48: Pulling fs layer [2022-07-06T14:43:12.921Z] 205491f53016: Waiting [2022-07-06T14:43:12.921Z] df18705c85c3: Waiting [2022-07-06T14:43:12.921Z] bdb3f477010e: Waiting [2022-07-06T14:43:12.921Z] c8a8fc8e1c8f: Waiting [2022-07-06T14:43:12.921Z] 2c6e9b1d212d: Waiting [2022-07-06T14:43:12.921Z] f63e77b7563a: Download complete [2022-07-06T14:43:12.921Z] 205491f53016: Verifying Checksum [2022-07-06T14:43:12.921Z] 205491f53016: Download complete [2022-07-06T14:43:13.194Z] df18705c85c3: Verifying Checksum [2022-07-06T14:43:13.194Z] df18705c85c3: Download complete [2022-07-06T14:43:13.194Z] bd5fdadae976: Verifying Checksum [2022-07-06T14:43:13.194Z] bd5fdadae976: Download complete [2022-07-06T14:43:13.194Z] bdb3f477010e: Verifying Checksum [2022-07-06T14:43:13.194Z] bdb3f477010e: Download complete [2022-07-06T14:43:13.194Z] 2c6e9b1d212d: Download complete [2022-07-06T14:43:13.194Z] bdb8f0575790: Download complete [2022-07-06T14:43:13.194Z] 386e3cb2ff24: Verifying Checksum [2022-07-06T14:43:13.194Z] 386e3cb2ff24: Download complete [2022-07-06T14:43:13.194Z] 2343380bae48: Verifying Checksum [2022-07-06T14:43:13.194Z] 2343380bae48: Download complete [2022-07-06T14:43:13.194Z] 42c077c10790: Verifying Checksum [2022-07-06T14:43:13.194Z] 42c077c10790: Download complete [2022-07-06T14:43:13.453Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-06T14:43:13.453Z] c8a8fc8e1c8f: Download complete [2022-07-06T14:43:14.836Z] 42c077c10790: Pull complete [2022-07-06T14:43:14.836Z] f63e77b7563a: Pull complete [2022-07-06T14:43:15.407Z] bd5fdadae976: Pull complete [2022-07-06T14:43:15.407Z] 205491f53016: Pull complete [2022-07-06T14:43:15.669Z] df18705c85c3: Pull complete [2022-07-06T14:43:15.927Z] bdb3f477010e: Pull complete [2022-07-06T14:43:17.839Z] c8a8fc8e1c8f: Pull complete [2022-07-06T14:43:17.839Z] 2c6e9b1d212d: Pull complete [2022-07-06T14:43:18.101Z] bdb8f0575790: Pull complete [2022-07-06T14:43:18.101Z] 386e3cb2ff24: Pull complete [2022-07-06T14:43:18.364Z] 2343380bae48: Pull complete [2022-07-06T14:43:18.364Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-06T14:43:18.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-06T14:43:18.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:43:18.620Z] prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container [2022-07-06T14:43:18.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-06T14:43:20.125Z] $ docker top bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 -eo pid,comm [2022-07-06T14:43:20.195Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-06T14:43:20.195Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-06T14:43:20.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T14:43:20.316Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T14:43:20.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T14:43:20.476Z] $ docker exec bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 ssh-agent [2022-07-06T14:43:20.615Z] SSH_AUTH_SOCK=/tmp/ssh-s16jar8f5vFd/agent.33 [2022-07-06T14:43:20.615Z] SSH_AGENT_PID=40 [2022-07-06T14:43:20.622Z] Running ssh-add (command line suppressed) [2022-07-06T14:43:20.753Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_5323410760612408880.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_5323410760612408880.key) [2022-07-06T14:43:20.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T14:43:21.104Z] + git tag --points-at HEAD [Pipeline] } [2022-07-06T14:43:21.130Z] $ docker exec --env ******** --env ******** bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 ssh-agent -k [2022-07-06T14:43:21.244Z] unset SSH_AUTH_SOCK; [2022-07-06T14:43:21.245Z] unset SSH_AGENT_PID; [2022-07-06T14:43:21.245Z] echo Agent pid 40 killed; [2022-07-06T14:43:21.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-06T14:43:21.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-06T14:43:21.338Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-06T14:43:21.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-06T14:43:21.504Z] $ docker exec bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 ssh-agent [2022-07-06T14:43:21.647Z] SSH_AUTH_SOCK=/tmp/ssh-ZkpvRFLFJ6FL/agent.72 [2022-07-06T14:43:21.647Z] SSH_AGENT_PID=78 [2022-07-06T14:43:21.653Z] Running ssh-add (command line suppressed) [2022-07-06T14:43:21.783Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_5676150103485409084.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_5676150103485409084.key) [2022-07-06T14:43:21.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-06T14:43:22.139Z] + git semver init [2022-07-06T14:43:22.404Z] 2022-07-06 14:43:22,355 [run_init] DEBUG init version:0.0.0 force:False [2022-07-06T14:43:22.404Z] 2022-07-06 14:43:22,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-06T14:43:22.404Z] 2022-07-06 14:43:22,356 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-06T14:43:22.404Z] 2022-07-06 14:43:22,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) [2022-07-06T14:43:23.350Z] 2022-07-06 14:43:23,042 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,043 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,043 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,046 [execute] INFO git cat-file --batch-check [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,055 [execute] INFO git cat-file --batch [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-06T14:43:23.351Z] 2022-07-06 14:43:23,063 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-06T14:43:23.351Z] 0.0.0 [Pipeline] } [2022-07-06T14:43:23.377Z] $ docker exec --env ******** --env ******** bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 ssh-agent -k [2022-07-06T14:43:23.493Z] unset SSH_AUTH_SOCK; [2022-07-06T14:43:23.493Z] unset SSH_AGENT_PID; [2022-07-06T14:43:23.493Z] echo Agent pid 78 killed; [2022-07-06T14:43:23.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-06T14:43:23.933Z] + git semver [Pipeline] } [2022-07-06T14:43:24.229Z] $ docker stop --time=1 bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 [2022-07-06T14:43:25.705Z] $ docker rm -f bda27ae1d3752850a1b01a172e9af42cc0cdcfd9e7c88a5700204c2b146fdb49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T14:43:26.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-06T14:43:26.409Z] Stashed 1 file(s) [Pipeline] echo [2022-07-06T14:43:26.426Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T14:43:26.986Z] provisioning config files... [2022-07-06T14:43:26.996Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config1372609257958940116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:43:27.343Z] ---> docker-login.sh [2022-07-06T14:43:27.343Z] nexus3.edgexfoundry.org:10001 [2022-07-06T14:43:27.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:27.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:27.343Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:27.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:27.343Z] [2022-07-06T14:43:27.343Z] Login Succeeded [2022-07-06T14:43:27.343Z] nexus3.edgexfoundry.org:10002 [2022-07-06T14:43:27.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:27.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:27.605Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:27.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:27.605Z] [2022-07-06T14:43:27.605Z] Login Succeeded [2022-07-06T14:43:27.605Z] nexus3.edgexfoundry.org:10003 [2022-07-06T14:43:27.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:27.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:27.605Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:27.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:27.605Z] [2022-07-06T14:43:27.605Z] Login Succeeded [2022-07-06T14:43:27.605Z] nexus3.edgexfoundry.org:10004 [2022-07-06T14:43:27.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:27.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:27.867Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:27.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:27.867Z] [2022-07-06T14:43:27.867Z] Login Succeeded [2022-07-06T14:43:27.867Z] docker.io [2022-07-06T14:43:27.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:43:28.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:43:28.130Z] Configure a credential helper to remove this warning. See [2022-07-06T14:43:28.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:43:28.130Z] [2022-07-06T14:43:28.130Z] Login Succeeded [2022-07-06T14:43:28.130Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T14:43:28.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-06T14:43:28.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T14:43:28.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T14:43:28.413Z] ========================================================= [2022-07-06T14:43:28.414Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-06T14:43:28.414Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:43:28.883Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-06T14:43:28.883Z] Sending build context to Docker daemon 9.414MB [2022-07-06T14:43:28.883Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T14:43:28.883Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-06T14:43:29.150Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-06T14:43:29.150Z] 59bf1c3509f3: Pulling fs layer [2022-07-06T14:43:29.150Z] 666ba61612fd: Pulling fs layer [2022-07-06T14:43:29.150Z] 8ed8ca486205: Pulling fs layer [2022-07-06T14:43:29.150Z] cc1cd167ecdc: Pulling fs layer [2022-07-06T14:43:29.150Z] c516ae0d96e1: Pulling fs layer [2022-07-06T14:43:29.150Z] cc1cd167ecdc: Waiting [2022-07-06T14:43:29.150Z] c516ae0d96e1: Waiting [2022-07-06T14:43:29.150Z] 684cea983483: Pulling fs layer [2022-07-06T14:43:29.150Z] dd3240ac7de5: Pulling fs layer [2022-07-06T14:43:29.150Z] 684cea983483: Waiting [2022-07-06T14:43:29.150Z] b1e948a4e11c: Pulling fs layer [2022-07-06T14:43:29.150Z] a8fd76ee1af6: Pulling fs layer [2022-07-06T14:43:29.150Z] 646ad004c059: Pulling fs layer [2022-07-06T14:43:29.150Z] b1e948a4e11c: Waiting [2022-07-06T14:43:29.150Z] a8fd76ee1af6: Waiting [2022-07-06T14:43:29.150Z] 646ad004c059: Waiting [2022-07-06T14:43:29.150Z] 8ed8ca486205: Verifying Checksum [2022-07-06T14:43:29.150Z] 8ed8ca486205: Download complete [2022-07-06T14:43:29.150Z] 666ba61612fd: Verifying Checksum [2022-07-06T14:43:29.150Z] 666ba61612fd: Download complete [2022-07-06T14:43:29.150Z] c516ae0d96e1: Verifying Checksum [2022-07-06T14:43:29.150Z] c516ae0d96e1: Download complete [2022-07-06T14:43:29.150Z] 684cea983483: Verifying Checksum [2022-07-06T14:43:29.150Z] dd3240ac7de5: Verifying Checksum [2022-07-06T14:43:29.150Z] dd3240ac7de5: Download complete [2022-07-06T14:43:29.150Z] 59bf1c3509f3: Verifying Checksum [2022-07-06T14:43:29.150Z] 59bf1c3509f3: Download complete [2022-07-06T14:43:29.150Z] b1e948a4e11c: Verifying Checksum [2022-07-06T14:43:29.150Z] b1e948a4e11c: Download complete [2022-07-06T14:43:29.415Z] 59bf1c3509f3: Pull complete [2022-07-06T14:43:29.415Z] 666ba61612fd: Pull complete [2022-07-06T14:43:29.677Z] 8ed8ca486205: Pull complete [2022-07-06T14:43:29.677Z] 646ad004c059: Verifying Checksum [2022-07-06T14:43:29.677Z] 646ad004c059: Download complete [2022-07-06T14:43:29.677Z] a8fd76ee1af6: Verifying Checksum [2022-07-06T14:43:29.677Z] a8fd76ee1af6: Download complete [2022-07-06T14:43:29.937Z] cc1cd167ecdc: Verifying Checksum [2022-07-06T14:43:29.937Z] cc1cd167ecdc: Download complete [2022-07-06T14:43:34.145Z] cc1cd167ecdc: Pull complete [2022-07-06T14:43:34.145Z] c516ae0d96e1: Pull complete [2022-07-06T14:43:34.145Z] 684cea983483: Pull complete [2022-07-06T14:43:34.405Z] dd3240ac7de5: Pull complete [2022-07-06T14:43:34.405Z] b1e948a4e11c: Pull complete [2022-07-06T14:43:36.947Z] a8fd76ee1af6: Pull complete [2022-07-06T14:43:37.522Z] 646ad004c059: Pull complete [2022-07-06T14:43:37.786Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-06T14:43:37.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-06T14:43:37.786Z] ---> 8f69c11f6b0c [2022-07-06T14:43:37.786Z] Step 3/13 : ARG MAKE="make build" [2022-07-06T14:43:39.705Z] ---> Running in 826313c40526 [2022-07-06T14:43:39.705Z] Removing intermediate container 826313c40526 [2022-07-06T14:43:39.705Z] ---> 05016ce45565 [2022-07-06T14:43:39.705Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T14:43:39.705Z] ---> Running in bd9cc95760ae [2022-07-06T14:43:39.705Z] Removing intermediate container bd9cc95760ae [2022-07-06T14:43:39.705Z] ---> 54e7a5d438d5 [2022-07-06T14:43:39.705Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-06T14:43:39.705Z] ---> Running in 94ff67d2e0cf [2022-07-06T14:43:39.966Z] Removing intermediate container 94ff67d2e0cf [2022-07-06T14:43:39.966Z] ---> fcd4b6f9e2eb [2022-07-06T14:43:39.966Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-06T14:43:39.966Z] ---> Running in ea99aa618126 [2022-07-06T14:43:40.226Z] Removing intermediate container ea99aa618126 [2022-07-06T14:43:40.226Z] ---> c8a4575a53ee [2022-07-06T14:43:40.226Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T14:43:40.226Z] ---> Running in b98eb84f1bf7 [2022-07-06T14:43:40.799Z] Removing intermediate container b98eb84f1bf7 [2022-07-06T14:43:40.799Z] ---> 313893481751 [2022-07-06T14:43:40.799Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T14:43:40.799Z] ---> Running in d12e00ec445f [2022-07-06T14:43:41.061Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T14:43:41.826Z] Still waiting to schedule task [2022-07-06T14:43:41.826Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-06T14:43:42.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T14:43:42.268Z] OK: 221 MiB in 52 packages [2022-07-06T14:43:42.848Z] Removing intermediate container d12e00ec445f [2022-07-06T14:43:42.848Z] ---> a28972a0edfb [2022-07-06T14:43:42.848Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-06T14:43:42.848Z] ---> Running in cd568ec2af5b [2022-07-06T14:43:42.848Z] Removing intermediate container cd568ec2af5b [2022-07-06T14:43:42.848Z] ---> 6361bb0dba42 [2022-07-06T14:43:42.848Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-06T14:43:43.110Z] ---> 6de4125dfb27 [2022-07-06T14:43:43.110Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T14:43:43.110Z] ---> Running in 9c62c3fc07d3 [2022-07-06T14:44:01.247Z] Removing intermediate container 9c62c3fc07d3 [2022-07-06T14:44:01.247Z] ---> 62eb28d571a4 [2022-07-06T14:44:01.247Z] Step 12/13 : COPY . . [2022-07-06T14:44:01.247Z] ---> e4f2e6a0c65d [2022-07-06T14:44:01.247Z] Step 13/13 : RUN ${MAKE} [2022-07-06T14:44:01.247Z] ---> Running in 8efbc35a56a3 [2022-07-06T14:44:01.247Z] noop [2022-07-06T14:44:01.247Z] Removing intermediate container 8efbc35a56a3 [2022-07-06T14:44:01.247Z] ---> 12caa1eb80ac [2022-07-06T14:44:01.247Z] Successfully built 12caa1eb80ac [2022-07-06T14:44:01.247Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:44:01.692Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T14:44:01.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:44:01.851Z] prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container [2022-07-06T14:44:01.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-06T14:44:02.328Z] $ docker top 3553b741eb9f9b966f6f4c82143188405fef28df0b5c19ffcdee535e78e9d41f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T14:44:02.745Z] + go version [2022-07-06T14:44:02.745Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-06T14:44:02.786Z] $ docker stop --time=1 3553b741eb9f9b966f6f4c82143188405fef28df0b5c19ffcdee535e78e9d41f [2022-07-06T14:44:04.295Z] $ docker rm -f 3553b741eb9f9b966f6f4c82143188405fef28df0b5c19ffcdee535e78e9d41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:44:05.064Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-06T14:44:05.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:44:05.274Z] prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container [2022-07-06T14:44:05.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-06T14:44:05.782Z] $ docker top 876c574d0257ec680df0998b3ac9829440692ca22a0f814c32cf314560356b61 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T14:44:06.233Z] + make test [2022-07-06T14:44:06.233Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-06T14:44:06.491Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-06T14:44:18.704Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-06T14:44:18.704Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.021s coverage: 7.0% of statements [2022-07-06T14:44:18.704Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-06T14:44:22.008Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.331s coverage: 13.8% of statements [2022-07-06T14:44:30.146Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-06T14:44:34.349Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-06T14:44:34.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-06T14:44:34.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-06T14:44:34.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-06T14:44:34.987Z] $ docker stop --time=1 876c574d0257ec680df0998b3ac9829440692ca22a0f814c32cf314560356b61 [2022-07-06T14:44:36.823Z] $ docker rm -f 876c574d0257ec680df0998b3ac9829440692ca22a0f814c32cf314560356b61 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T14:44:37.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-06T14:44:37.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-06T14:44:38.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-06T14:44:38.416Z] + ls -al . [2022-07-06T14:44:38.417Z] total 252 [2022-07-06T14:44:38.417Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 14:44 . [2022-07-06T14:44:38.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:42 .. [2022-07-06T14:44:38.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 14:43 .git [2022-07-06T14:44:38.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 14:43 .github [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 6 14:43 .gitignore [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 6 14:43 .golangci.yml [2022-07-06T14:44:38.417Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 14:43 .semver [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 6 14:43 Attribution.txt [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 6 14:43 CHANGELOG.md [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 6 14:43 Dockerfile [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 14:43 GOVERNANCE.md [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 6 14:43 Jenkinsfile [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 6 14:43 LICENSE [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 6 14:43 Makefile [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 6 14:43 OWNERS.md [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 6 14:43 README.md [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 14:43 VERSION [2022-07-06T14:44:38.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 14:43 bin [2022-07-06T14:44:38.417Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 14:43 cmd [2022-07-06T14:44:38.417Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 6 14:44 coverage.out [2022-07-06T14:44:38.417Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 6 14:43 doc [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 6 14:43 go.mod [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 6 14:43 go.sum [2022-07-06T14:44:38.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:43 internal [2022-07-06T14:44:38.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:43 snap [2022-07-06T14:44:38.417Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 6 14:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:44:38.813Z] + 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=9a5d76658793c623aa551356dcf51756ea7f92c6 --label arch=amd64 --label version=0.0.0 . [2022-07-06T14:44:38.813Z] Sending build context to Docker daemon 9.485MB [2022-07-06T14:44:38.813Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T14:44:38.813Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-06T14:44:38.813Z] ---> 12caa1eb80ac [2022-07-06T14:44:38.813Z] Step 3/26 : ARG MAKE="make build" [2022-07-06T14:44:39.079Z] ---> Running in 7e0fb237e65a [2022-07-06T14:44:39.079Z] Removing intermediate container 7e0fb237e65a [2022-07-06T14:44:39.079Z] ---> ab85689c0e1c [2022-07-06T14:44:39.079Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T14:44:39.079Z] ---> Running in b13c1f4fe413 [2022-07-06T14:44:39.079Z] Removing intermediate container b13c1f4fe413 [2022-07-06T14:44:39.079Z] ---> 5564a7014b15 [2022-07-06T14:44:39.079Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-06T14:44:39.343Z] ---> Running in 7cf125ce1358 [2022-07-06T14:44:39.343Z] Removing intermediate container 7cf125ce1358 [2022-07-06T14:44:39.343Z] ---> 10ae483fb5a3 [2022-07-06T14:44:39.343Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-06T14:44:39.343Z] ---> Running in a75fb0e9dab1 [2022-07-06T14:44:39.343Z] Removing intermediate container a75fb0e9dab1 [2022-07-06T14:44:39.343Z] ---> 4ae7e1a41c21 [2022-07-06T14:44:39.343Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T14:44:39.605Z] ---> Running in 8e540920a93d [2022-07-06T14:44:40.178Z] Removing intermediate container 8e540920a93d [2022-07-06T14:44:40.178Z] ---> 5b4e74e02f4e [2022-07-06T14:44:40.178Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T14:44:40.178Z] ---> Running in 770a7170d43f [2022-07-06T14:44:40.438Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T14:44:41.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T14:44:41.642Z] OK: 221 MiB in 52 packages [2022-07-06T14:44:41.904Z] Removing intermediate container 770a7170d43f [2022-07-06T14:44:41.904Z] ---> 3ba3689b7311 [2022-07-06T14:44:41.904Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-06T14:44:41.904Z] ---> Running in 1dbec3d3f9ad [2022-07-06T14:44:42.165Z] Removing intermediate container 1dbec3d3f9ad [2022-07-06T14:44:42.165Z] ---> 2d3e7b12ba98 [2022-07-06T14:44:42.165Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-06T14:44:42.165Z] ---> b0c208d1cf7d [2022-07-06T14:44:42.165Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T14:44:42.425Z] ---> Running in d36c50c524c9 [2022-07-06T14:44:42.996Z] Removing intermediate container d36c50c524c9 [2022-07-06T14:44:42.996Z] ---> 8e669691f525 [2022-07-06T14:44:42.996Z] Step 12/26 : COPY . . [2022-07-06T14:44:43.567Z] ---> 4b70b6c39b16 [2022-07-06T14:44:43.567Z] Step 13/26 : RUN ${MAKE} [2022-07-06T14:44:43.567Z] ---> Running in e0e6c83029b9 [2022-07-06T14:44:43.829Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-06T14:45:05.858Z] Removing intermediate container e0e6c83029b9 [2022-07-06T14:45:05.858Z] ---> d9ee5e6475b5 [2022-07-06T14:45:05.858Z] Step 14/26 : FROM alpine:3.15 [2022-07-06T14:45:06.119Z] 3.15: Pulling from library/alpine [2022-07-06T14:45:06.380Z] df9b9388f04a: Pulling fs layer [2022-07-06T14:45:06.682Z] df9b9388f04a: Verifying Checksum [2022-07-06T14:45:06.682Z] df9b9388f04a: Download complete [2022-07-06T14:45:06.682Z] df9b9388f04a: Pull complete [2022-07-06T14:45:06.682Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-06T14:45:06.682Z] Status: Downloaded newer image for alpine:3.15 [2022-07-06T14:45:06.682Z] ---> 0ac33e5f5afa [2022-07-06T14:45:06.682Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-06T14:45:06.944Z] ---> Running in 69298e72a962 [2022-07-06T14:45:06.944Z] Removing intermediate container 69298e72a962 [2022-07-06T14:45:06.944Z] ---> 70c5f438610c [2022-07-06T14:45:06.944Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-06T14:45:06.944Z] ---> Running in f114653d15f9 [2022-07-06T14:45:07.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-06T14:45:07.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-06T14:45:07.725Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-06T14:45:07.725Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-06T14:45:07.725Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-06T14:45:07.725Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-06T14:45:07.725Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-06T14:45:07.725Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-06T14:45:07.725Z] Executing busybox-1.34.1-r5.trigger [2022-07-06T14:45:07.725Z] OK: 8 MiB in 20 packages [2022-07-06T14:45:07.986Z] Removing intermediate container f114653d15f9 [2022-07-06T14:45:07.986Z] ---> 668d29f3beeb [2022-07-06T14:45:07.986Z] Step 17/26 : WORKDIR / [2022-07-06T14:45:08.247Z] ---> Running in acfddb16682a [2022-07-06T14:45:08.247Z] Removing intermediate container acfddb16682a [2022-07-06T14:45:08.247Z] ---> 561eca394073 [2022-07-06T14:45:08.247Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-06T14:45:09.192Z] ---> 11c6cebf1d1b [2022-07-06T14:45:09.192Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-06T14:45:09.192Z] ---> 36d65cb949de [2022-07-06T14:45:09.192Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-06T14:45:09.452Z] ---> 8fc058b735c2 [2022-07-06T14:45:09.452Z] Step 21/26 : EXPOSE 59984 [2022-07-06T14:45:09.452Z] ---> Running in 5d692f9cf21a [2022-07-06T14:45:09.452Z] Removing intermediate container 5d692f9cf21a [2022-07-06T14:45:09.452Z] ---> 891db51ebb5a [2022-07-06T14:45:09.452Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-06T14:45:09.452Z] ---> Running in 55b56bd32175 [2022-07-06T14:45:09.712Z] Removing intermediate container 55b56bd32175 [2022-07-06T14:45:09.712Z] ---> f851715d8ffe [2022-07-06T14:45:09.712Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-06T14:45:09.712Z] ---> Running in 493704fa8ac0 [2022-07-06T14:45:09.712Z] Removing intermediate container 493704fa8ac0 [2022-07-06T14:45:09.712Z] ---> 0bd046091d15 [2022-07-06T14:45:09.712Z] Step 24/26 : LABEL arch=amd64 [2022-07-06T14:45:09.712Z] ---> Running in 7a137393540d [2022-07-06T14:45:09.971Z] Removing intermediate container 7a137393540d [2022-07-06T14:45:09.971Z] ---> 69ae35380df9 [2022-07-06T14:45:09.971Z] Step 25/26 : LABEL git_sha=9a5d76658793c623aa551356dcf51756ea7f92c6 [2022-07-06T14:45:09.971Z] ---> Running in 3978bf2f51bf [2022-07-06T14:45:09.971Z] Removing intermediate container 3978bf2f51bf [2022-07-06T14:45:09.971Z] ---> bd84a631de13 [2022-07-06T14:45:09.971Z] Step 26/26 : LABEL version=0.0.0 [2022-07-06T14:45:10.232Z] ---> Running in 8510067129af [2022-07-06T14:45:10.232Z] Removing intermediate container 8510067129af [2022-07-06T14:45:10.232Z] ---> 2b9abd09e641 [2022-07-06T14:45:10.232Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-06T14:45:10.232Z] Successfully built 2b9abd09e641 [2022-07-06T14:45:10.232Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:45:11.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T14:45:11.085Z] [2022-07-06T14:45:11.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:45:11.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T14:45:11.472Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-06T14:45:11.472Z] 5eb5b503b376: Pulling fs layer [2022-07-06T14:45:11.472Z] 5c69ac0246d0: Pulling fs layer [2022-07-06T14:45:11.472Z] ec43610c2a17: Pulling fs layer [2022-07-06T14:45:11.472Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-06T14:45:11.472Z] 33b1e0a273af: Pulling fs layer [2022-07-06T14:45:11.472Z] 5d3b04190fa2: Pulling fs layer [2022-07-06T14:45:11.472Z] 2f39f015ded8: Pulling fs layer [2022-07-06T14:45:11.472Z] 33b1e0a273af: Waiting [2022-07-06T14:45:11.472Z] 3a2ae6a8a46f: Waiting [2022-07-06T14:45:11.472Z] 5d3b04190fa2: Waiting [2022-07-06T14:45:11.472Z] 2f39f015ded8: Waiting [2022-07-06T14:45:11.472Z] 5c69ac0246d0: Download complete [2022-07-06T14:45:11.472Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-06T14:45:11.472Z] 33b1e0a273af: Verifying Checksum [2022-07-06T14:45:11.472Z] 33b1e0a273af: Download complete [2022-07-06T14:45:11.732Z] ec43610c2a17: Verifying Checksum [2022-07-06T14:45:11.733Z] ec43610c2a17: Download complete [2022-07-06T14:45:11.733Z] 5d3b04190fa2: Verifying Checksum [2022-07-06T14:45:11.733Z] 5d3b04190fa2: Download complete [2022-07-06T14:45:11.733Z] 5eb5b503b376: Verifying Checksum [2022-07-06T14:45:11.733Z] 5eb5b503b376: Download complete [2022-07-06T14:45:12.301Z] 2f39f015ded8: Download complete [2022-07-06T14:45:13.239Z] 5eb5b503b376: Pull complete [2022-07-06T14:45:13.239Z] 5c69ac0246d0: Pull complete [2022-07-06T14:45:13.807Z] ec43610c2a17: Pull complete [2022-07-06T14:45:13.807Z] 3a2ae6a8a46f: Pull complete [2022-07-06T14:45:14.067Z] 33b1e0a273af: Pull complete [2022-07-06T14:45:14.067Z] 5d3b04190fa2: Pull complete [2022-07-06T14:45:18.259Z] 2f39f015ded8: Pull complete [2022-07-06T14:45:18.259Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-06T14:45:18.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T14:45:18.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:45:18.485Z] prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container [2022-07-06T14:45:18.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-06T14:45:19.080Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17017 in /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-06T14:45:20.388Z] $ docker top 63b737e92afe6844a33bd69d4ad8851530b063fdbddb67f1279d24b3fd68cd60 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-07-06T14:45:20.640Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-06T14:45:20.717Z] Selected Git installation does not exist. Using Default [2022-07-06T14:45:20.717Z] The recommended git tool is: NONE [2022-07-06T14:45:20.874Z] ---> job-cost.sh [2022-07-06T14:45:20.874Z] lf-activate-venv: SKIPPING [2022-07-06T14:45:20.874Z] INFO: No Stack... [2022-07-06T14:45:21.141Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T14:45:21.712Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T14:45:22.081Z] + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv [2022-07-06T14:45:22.082Z] + cut -d, -f6 [Pipeline] lock [2022-07-06T14:45:22.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [2022-07-06T14:45:22.181Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] did not exist. Created. [2022-07-06T14:45:22.181Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T14:45:22.611Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-06T14:45:22.662Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T14:45:22.689Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T14:45:22.775Z] $ docker stop --time=1 63b737e92afe6844a33bd69d4ad8851530b063fdbddb67f1279d24b3fd68cd60 [2022-07-06T14:45:23.984Z] $ docker rm -f 63b737e92afe6844a33bd69d4ad8851530b063fdbddb67f1279d24b3fd68cd60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-06T14:45:25.269Z] using credential edgex-jenkins-ssh [2022-07-06T14:45:25.287Z] Cloning the remote Git repository [2022-07-06T14:45:25.339Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-06T14:45:25.416Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-06T14:45:25.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-06T14:45:25.503Z] > git --version # timeout=10 [2022-07-06T14:45:25.534Z] > git --version # 'git version 2.25.1' [2022-07-06T14:45:25.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T14:45:25.611Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T14:45:26.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-06T14:45:26.475Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-06T14:45:26.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-06T14:45:26.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-06T14:45:26.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T14:45:26.561Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-06T14:45:27.029Z] Merging remotes/origin/main commit 84f2c4fd4e35f46928256df416a01a34dc7a6192 into PR head commit 8fd1eb8e119afba84cf05c6f785267df9cb916e1 [2022-07-06T14:45:27.502Z] Merge succeeded, producing 41c002565c28dfadf28a39baf357f28a58325385 [2022-07-06T14:45:27.503Z] Checking out Revision 41c002565c28dfadf28a39baf357f28a58325385 (PR-103) [2022-07-06T14:45:27.050Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T14:45:27.073Z] > git checkout -f 8fd1eb8e119afba84cf05c6f785267df9cb916e1 # timeout=10 [2022-07-06T14:45:27.224Z] > git remote # timeout=10 [2022-07-06T14:45:27.253Z] > git config --get remote.origin.url # timeout=10 [2022-07-06T14:45:27.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-06T14:45:27.287Z] > git merge 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 [2022-07-06T14:45:27.477Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-06T14:45:27.512Z] > git config core.sparsecheckout # timeout=10 [2022-07-06T14:45:27.529Z] > git checkout -f 41c002565c28dfadf28a39baf357f28a58325385 # timeout=10 [2022-07-06T14:45:31.796Z] Commit message: "Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD" [2022-07-06T14:45:31.796Z] First time build. Skipping changelog. [2022-07-06T14:45:31.858Z] > git --version # timeout=10 [2022-07-06T14:45:31.872Z] > git --version # 'git version 2.25.1' [2022-07-06T14:45:31.886Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T14:45:33.023Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-06T14:45:33.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-06T14:45:33.023Z] Dload Upload Total Spent Left Speed [2022-07-06T14:45:33.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 65524 0 --:--:-- --:--:-- --:--:-- 65876 [Pipeline] sh [2022-07-06T14:45:33.838Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-06T14:45:34.202Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-07-06T14:45:34.202Z] sudo tee /etc/docker/daemon.new [2022-07-06T14:45:34.202Z] { [2022-07-06T14:45:34.202Z] "registry-mirrors": [ [2022-07-06T14:45:34.202Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-06T14:45:34.202Z] ], [2022-07-06T14:45:34.202Z] "bip": "10.250.0.254/24", [2022-07-06T14:45:34.202Z] "hosts": [ [2022-07-06T14:45:34.202Z] "tcp://0.0.0.0:5555", [2022-07-06T14:45:34.202Z] "unix:///var/run/docker.sock" [2022-07-06T14:45:34.202Z] ], [2022-07-06T14:45:34.202Z] "mtu": 1458, [2022-07-06T14:45:34.202Z] "selinux-enabled": true, [2022-07-06T14:45:34.202Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-06T14:45:34.202Z] } [Pipeline] sh [2022-07-06T14:45:34.571Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-06T14:45:34.933Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T14:45:53.497Z] provisioning config files... [2022-07-06T14:45:53.523Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2814127419495934420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:45:53.928Z] ---> docker-login.sh [2022-07-06T14:45:53.928Z] nexus3.edgexfoundry.org:10001 [2022-07-06T14:45:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:45:54.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:45:54.809Z] Configure a credential helper to remove this warning. See [2022-07-06T14:45:54.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:45:54.809Z] [2022-07-06T14:45:54.809Z] Login Succeeded [2022-07-06T14:45:54.809Z] nexus3.edgexfoundry.org:10002 [2022-07-06T14:45:55.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:45:55.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:45:55.359Z] Configure a credential helper to remove this warning. See [2022-07-06T14:45:55.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:45:55.359Z] [2022-07-06T14:45:55.359Z] Login Succeeded [2022-07-06T14:45:55.359Z] nexus3.edgexfoundry.org:10003 [2022-07-06T14:45:55.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:45:55.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:45:55.639Z] Configure a credential helper to remove this warning. See [2022-07-06T14:45:55.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:45:55.639Z] [2022-07-06T14:45:55.639Z] Login Succeeded [2022-07-06T14:45:55.639Z] nexus3.edgexfoundry.org:10004 [2022-07-06T14:45:56.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:45:56.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:45:56.240Z] Configure a credential helper to remove this warning. See [2022-07-06T14:45:56.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:45:56.240Z] [2022-07-06T14:45:56.240Z] Login Succeeded [2022-07-06T14:45:56.240Z] docker.io [2022-07-06T14:45:56.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-06T14:45:56.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-06T14:45:56.788Z] Configure a credential helper to remove this warning. See [2022-07-06T14:45:56.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-06T14:45:56.788Z] [2022-07-06T14:45:56.788Z] Login Succeeded [2022-07-06T14:45:56.788Z] ---> docker-login.sh ends [Pipeline] } [2022-07-06T14:45:56.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-06T14:45:57.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T14:45:57.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-06T14:45:57.288Z] ========================================================= [2022-07-06T14:45:57.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-06T14:45:57.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:45:57.803Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-06T14:45:58.080Z] Sending build context to Docker daemon 6.493MB [2022-07-06T14:45:58.080Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T14:45:58.080Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-06T14:45:58.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-06T14:45:58.368Z] 9b3977197b4f: Pulling fs layer [2022-07-06T14:45:58.368Z] 1a89e8eeedd5: Pulling fs layer [2022-07-06T14:45:58.368Z] 94645a83ff95: Pulling fs layer [2022-07-06T14:45:58.368Z] e6fb740bc735: Pulling fs layer [2022-07-06T14:45:58.368Z] 3a77bd46dcc9: Pulling fs layer [2022-07-06T14:45:58.368Z] 355e64cbe906: Pulling fs layer [2022-07-06T14:45:58.368Z] 63ab81a10011: Pulling fs layer [2022-07-06T14:45:58.368Z] e6fb740bc735: Waiting [2022-07-06T14:45:58.368Z] 3a77bd46dcc9: Waiting [2022-07-06T14:45:58.368Z] 355e64cbe906: Waiting [2022-07-06T14:45:58.368Z] 555d1d1c4555: Pulling fs layer [2022-07-06T14:45:58.368Z] 7d9057610161: Pulling fs layer [2022-07-06T14:45:58.368Z] 63ab81a10011: Waiting [2022-07-06T14:45:58.368Z] 7d9057610161: Waiting [2022-07-06T14:45:58.368Z] 94645a83ff95: Verifying Checksum [2022-07-06T14:45:58.368Z] 94645a83ff95: Download complete [2022-07-06T14:45:58.368Z] 1a89e8eeedd5: Verifying Checksum [2022-07-06T14:45:58.368Z] 1a89e8eeedd5: Download complete [2022-07-06T14:45:58.368Z] 3a77bd46dcc9: Verifying Checksum [2022-07-06T14:45:58.368Z] 3a77bd46dcc9: Download complete [2022-07-06T14:45:58.368Z] 355e64cbe906: Verifying Checksum [2022-07-06T14:45:58.368Z] 355e64cbe906: Download complete [2022-07-06T14:45:58.368Z] 9b3977197b4f: Download complete [2022-07-06T14:45:58.368Z] 63ab81a10011: Verifying Checksum [2022-07-06T14:45:58.368Z] 63ab81a10011: Download complete [2022-07-06T14:45:59.366Z] 7d9057610161: Verifying Checksum [2022-07-06T14:45:59.366Z] 7d9057610161: Download complete [2022-07-06T14:45:59.366Z] 9b3977197b4f: Pull complete [2022-07-06T14:46:00.360Z] 1a89e8eeedd5: Pull complete [2022-07-06T14:46:00.360Z] 94645a83ff95: Pull complete [2022-07-06T14:46:00.634Z] 555d1d1c4555: Verifying Checksum [2022-07-06T14:46:00.634Z] 555d1d1c4555: Download complete [2022-07-06T14:46:01.233Z] e6fb740bc735: Download complete [2022-07-06T14:46:13.643Z] e6fb740bc735: Pull complete [2022-07-06T14:46:13.643Z] 3a77bd46dcc9: Pull complete [2022-07-06T14:46:13.643Z] 355e64cbe906: Pull complete [2022-07-06T14:46:13.920Z] 63ab81a10011: Pull complete [2022-07-06T14:46:20.653Z] 555d1d1c4555: Pull complete [2022-07-06T14:46:22.096Z] 7d9057610161: Pull complete [2022-07-06T14:46:22.096Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-06T14:46:22.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-06T14:46:22.096Z] ---> 819e984ddca1 [2022-07-06T14:46:22.096Z] Step 3/13 : ARG MAKE="make build" [2022-07-06T14:46:24.087Z] ---> Running in 3d7fc705dfb2 [2022-07-06T14:46:24.088Z] Removing intermediate container 3d7fc705dfb2 [2022-07-06T14:46:24.088Z] ---> 44a337dcd54f [2022-07-06T14:46:24.088Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T14:46:24.088Z] ---> Running in 1cbe880530ac [2022-07-06T14:46:24.363Z] Removing intermediate container 1cbe880530ac [2022-07-06T14:46:24.363Z] ---> c645f2039ec2 [2022-07-06T14:46:24.363Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-06T14:46:24.643Z] ---> Running in b2a0418866f2 [2022-07-06T14:46:24.920Z] Removing intermediate container b2a0418866f2 [2022-07-06T14:46:24.920Z] ---> 0e5d8d16acdd [2022-07-06T14:46:24.920Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-06T14:46:24.920Z] ---> Running in 052a35c21d2c [2022-07-06T14:46:25.199Z] Removing intermediate container 052a35c21d2c [2022-07-06T14:46:25.199Z] ---> 22ce9e4065ce [2022-07-06T14:46:25.199Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T14:46:25.199Z] ---> Running in 51c239f97a4d [2022-07-06T14:46:27.189Z] Removing intermediate container 51c239f97a4d [2022-07-06T14:46:27.189Z] ---> bf6f189526f2 [2022-07-06T14:46:27.189Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T14:46:27.189Z] ---> Running in 0262bd228486 [2022-07-06T14:46:28.189Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T14:46:29.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T14:46:29.778Z] OK: 220 MiB in 52 packages [2022-07-06T14:46:30.773Z] Removing intermediate container 0262bd228486 [2022-07-06T14:46:30.773Z] ---> 00ea20ee4ca8 [2022-07-06T14:46:30.773Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-06T14:46:30.773Z] ---> Running in f6d729ab1f87 [2022-07-06T14:46:31.048Z] Removing intermediate container f6d729ab1f87 [2022-07-06T14:46:31.048Z] ---> f9a9aea0d7fd [2022-07-06T14:46:31.048Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-06T14:46:31.659Z] ---> 40ec240ef42b [2022-07-06T14:46:31.659Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T14:46:31.659Z] ---> Running in f833f4a9d785 [2022-07-06T14:47:18.679Z] Removing intermediate container f833f4a9d785 [2022-07-06T14:47:18.679Z] ---> 0ed798ae9275 [2022-07-06T14:47:18.679Z] Step 12/13 : COPY . . [2022-07-06T14:47:18.679Z] ---> 723e4720cdb9 [2022-07-06T14:47:18.679Z] Step 13/13 : RUN ${MAKE} [2022-07-06T14:47:18.679Z] ---> Running in a93af06cb8c6 [2022-07-06T14:47:18.954Z] noop [2022-07-06T14:47:19.556Z] Removing intermediate container a93af06cb8c6 [2022-07-06T14:47:19.556Z] ---> 795175c4a7d5 [2022-07-06T14:47:19.556Z] Successfully built 795175c4a7d5 [2022-07-06T14:47:19.556Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:47:20.296Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T14:47:20.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:47:20.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-17017 does not seem to be running inside a container [2022-07-06T14:47:20.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-06T14:47:21.839Z] $ docker top d8e056ee49f84cbeb7f624f8e4d355fa90838783b485ccead8bdb31e223629f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T14:47:22.749Z] + go version [2022-07-06T14:47:22.749Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-06T14:47:22.788Z] $ docker stop --time=1 d8e056ee49f84cbeb7f624f8e4d355fa90838783b485ccead8bdb31e223629f3 [2022-07-06T14:47:24.363Z] $ docker rm -f d8e056ee49f84cbeb7f624f8e4d355fa90838783b485ccead8bdb31e223629f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:47:25.209Z] + docker inspect -f . ci-base-image-arm64 [2022-07-06T14:47:25.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:47:25.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-17017 does not seem to be running inside a container [2022-07-06T14:47:25.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-06T14:47:26.788Z] $ docker top bb6824e32574b7fc0a105a15c0844388e378b73aca78812b8f4d7420837baa33 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-06T14:47:27.753Z] + make test [2022-07-06T14:47:27.753Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-06T14:47:29.211Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-06T14:48:51.036Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-06T14:48:53.031Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 7.0% of statements [2022-07-06T14:48:53.031Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-06T14:49:19.820Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.166s coverage: 13.8% of statements [2022-07-06T14:49:20.092Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-06T14:49:20.093Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-06T14:49:52.464Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-06T14:49:52.464Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-06T14:49:52.464Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-06T14:49:52.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-06T14:49:52.541Z] $ docker stop --time=1 bb6824e32574b7fc0a105a15c0844388e378b73aca78812b8f4d7420837baa33 [2022-07-06T14:49:54.231Z] $ docker rm -f bb6824e32574b7fc0a105a15c0844388e378b73aca78812b8f4d7420837baa33 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-06T14:49:55.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-06T14:49:55.295Z] Warning: overwriting stash ‘coverage-report’ [2022-07-06T14:49:55.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-06T14:49:56.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-06T14:49:56.971Z] + ls -al . [2022-07-06T14:49:56.971Z] total 248 [2022-07-06T14:49:56.971Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 6 14:49 . [2022-07-06T14:49:56.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:45 .. [2022-07-06T14:49:56.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 14:45 .git [2022-07-06T14:49:56.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 14:45 .github [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 6 14:45 .gitignore [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 6 14:45 .golangci.yml [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 6 14:45 Attribution.txt [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 6 14:45 CHANGELOG.md [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 6 14:45 Dockerfile [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 14:45 GOVERNANCE.md [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 6 14:45 Jenkinsfile [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 6 14:45 LICENSE [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 6 14:45 Makefile [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 6 14:45 OWNERS.md [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 6 14:45 README.md [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 6 14:43 VERSION [2022-07-06T14:49:56.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 14:45 bin [2022-07-06T14:49:56.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 14:45 cmd [2022-07-06T14:49:56.971Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 6 14:49 coverage.out [2022-07-06T14:49:56.971Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 6 14:45 doc [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 6 14:45 go.mod [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 6 14:45 go.sum [2022-07-06T14:49:56.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:45 internal [2022-07-06T14:49:56.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 14:45 snap [2022-07-06T14:49:56.971Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 6 14:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:49:57.468Z] + 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=41c002565c28dfadf28a39baf357f28a58325385 --label arch=arm64 --label version=0.0.0 . [2022-07-06T14:49:58.113Z] Sending build context to Docker daemon 6.564MB [2022-07-06T14:49:58.113Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-06T14:49:58.113Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-06T14:49:58.113Z] ---> 795175c4a7d5 [2022-07-06T14:49:58.113Z] Step 3/26 : ARG MAKE="make build" [2022-07-06T14:49:58.386Z] ---> Running in f2dfcc676839 [2022-07-06T14:49:58.661Z] Removing intermediate container f2dfcc676839 [2022-07-06T14:49:58.661Z] ---> 58dbe362259c [2022-07-06T14:49:58.661Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-06T14:49:58.661Z] ---> Running in 5fefc9319526 [2022-07-06T14:49:58.937Z] Removing intermediate container 5fefc9319526 [2022-07-06T14:49:58.937Z] ---> 1a880907dd14 [2022-07-06T14:49:58.937Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-06T14:49:59.213Z] ---> Running in a15bcb5fe4cc [2022-07-06T14:49:59.489Z] Removing intermediate container a15bcb5fe4cc [2022-07-06T14:49:59.489Z] ---> 100d3f31f317 [2022-07-06T14:49:59.489Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-06T14:49:59.489Z] ---> Running in 1b235e443ad2 [2022-07-06T14:49:59.765Z] Removing intermediate container 1b235e443ad2 [2022-07-06T14:49:59.765Z] ---> c0510fed37f4 [2022-07-06T14:49:59.765Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-06T14:49:59.765Z] ---> Running in 6d293a558238 [2022-07-06T14:50:01.747Z] Removing intermediate container 6d293a558238 [2022-07-06T14:50:01.747Z] ---> be1220b06bc4 [2022-07-06T14:50:01.747Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-06T14:50:01.747Z] ---> Running in d5482429ef65 [2022-07-06T14:50:02.731Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T14:50:03.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T14:50:04.303Z] OK: 220 MiB in 52 packages [2022-07-06T14:50:05.284Z] Removing intermediate container d5482429ef65 [2022-07-06T14:50:05.284Z] ---> 432ffd16ff28 [2022-07-06T14:50:05.284Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-06T14:50:05.284Z] ---> Running in ef82d84085bb [2022-07-06T14:50:05.557Z] Removing intermediate container ef82d84085bb [2022-07-06T14:50:05.557Z] ---> 669ff10408b0 [2022-07-06T14:50:05.557Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-06T14:50:06.150Z] ---> 035cb7f272a9 [2022-07-06T14:50:06.150Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-06T14:50:06.150Z] ---> Running in 44712ff6355a [2022-07-06T14:50:08.128Z] Removing intermediate container 44712ff6355a [2022-07-06T14:50:08.128Z] ---> 5e3b2608e96b [2022-07-06T14:50:08.128Z] Step 12/26 : COPY . . [2022-07-06T14:50:09.575Z] ---> ea85ae99a42a [2022-07-06T14:50:09.575Z] Step 13/26 : RUN ${MAKE} [2022-07-06T14:50:09.575Z] ---> Running in 9faa57922a2c [2022-07-06T14:50:10.555Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-06T14:52:17.406Z] Removing intermediate container 9faa57922a2c [2022-07-06T14:52:17.406Z] ---> e39c2ec37bce [2022-07-06T14:52:17.407Z] Step 14/26 : FROM alpine:3.15 [2022-07-06T14:52:17.407Z] 3.15: Pulling from library/alpine [2022-07-06T14:52:17.407Z] 9981e73032c8: Pulling fs layer [2022-07-06T14:52:17.407Z] 9981e73032c8: Verifying Checksum [2022-07-06T14:52:17.407Z] 9981e73032c8: Download complete [2022-07-06T14:52:17.407Z] 9981e73032c8: Pull complete [2022-07-06T14:52:17.407Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-06T14:52:17.407Z] Status: Downloaded newer image for alpine:3.15 [2022-07-06T14:52:17.407Z] ---> 3fb3c9af89a9 [2022-07-06T14:52:17.407Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-06T14:52:17.407Z] ---> Running in a56d21bf7ffa [2022-07-06T14:52:17.407Z] Removing intermediate container a56d21bf7ffa [2022-07-06T14:52:17.407Z] ---> cbfbbdaba9de [2022-07-06T14:52:17.407Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-06T14:52:17.407Z] ---> Running in 327f7156785c [2022-07-06T14:52:17.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-06T14:52:17.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-06T14:52:17.407Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-06T14:52:17.407Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-06T14:52:17.407Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-06T14:52:17.407Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-06T14:52:17.407Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-06T14:52:17.407Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-06T14:52:17.407Z] Executing busybox-1.34.1-r5.trigger [2022-07-06T14:52:17.407Z] OK: 8 MiB in 20 packages [2022-07-06T14:52:17.407Z] Removing intermediate container 327f7156785c [2022-07-06T14:52:17.407Z] ---> 8f4e24097093 [2022-07-06T14:52:17.407Z] Step 17/26 : WORKDIR / [2022-07-06T14:52:17.407Z] ---> Running in f2b74eb61614 [2022-07-06T14:52:17.407Z] Removing intermediate container f2b74eb61614 [2022-07-06T14:52:17.407Z] ---> 6a2e5744c7db [2022-07-06T14:52:17.407Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-06T14:52:17.407Z] ---> 0fe537dcc8de [2022-07-06T14:52:17.407Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-06T14:52:18.001Z] ---> 7cd8f7dc21e5 [2022-07-06T14:52:18.001Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-06T14:52:18.597Z] ---> 1b52cbd67070 [2022-07-06T14:52:18.597Z] Step 21/26 : EXPOSE 59984 [2022-07-06T14:52:18.597Z] ---> Running in 56d68b1c6f37 [2022-07-06T14:52:18.871Z] Removing intermediate container 56d68b1c6f37 [2022-07-06T14:52:18.871Z] ---> f2b46503ba43 [2022-07-06T14:52:18.871Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-06T14:52:18.871Z] ---> Running in 313bec7729b3 [2022-07-06T14:52:19.147Z] Removing intermediate container 313bec7729b3 [2022-07-06T14:52:19.147Z] ---> a86eff602094 [2022-07-06T14:52:19.147Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-06T14:52:19.430Z] ---> Running in a125fff14db1 [2022-07-06T14:52:19.702Z] Removing intermediate container a125fff14db1 [2022-07-06T14:52:19.702Z] ---> a7b85e2eab9a [2022-07-06T14:52:19.702Z] Step 24/26 : LABEL arch=arm64 [2022-07-06T14:52:19.702Z] ---> Running in e52d7e766098 [2022-07-06T14:52:19.975Z] Removing intermediate container e52d7e766098 [2022-07-06T14:52:19.975Z] ---> 31f5a8b8219f [2022-07-06T14:52:19.975Z] Step 25/26 : LABEL git_sha=41c002565c28dfadf28a39baf357f28a58325385 [2022-07-06T14:52:19.975Z] ---> Running in 60e93f13774b [2022-07-06T14:52:20.248Z] Removing intermediate container 60e93f13774b [2022-07-06T14:52:20.248Z] ---> bfee7802e1ac [2022-07-06T14:52:20.248Z] Step 26/26 : LABEL version=0.0.0 [2022-07-06T14:52:20.248Z] ---> Running in 11f77067789e [2022-07-06T14:52:20.519Z] Removing intermediate container 11f77067789e [2022-07-06T14:52:20.519Z] ---> ed63266b4647 [2022-07-06T14:52:20.519Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-06T14:52:20.793Z] Successfully built ed63266b4647 [2022-07-06T14:52:20.794Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:52:21.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T14:52:21.577Z] [2022-07-06T14:52:21.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:52:21.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T14:52:22.266Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-06T14:52:22.266Z] 8998bd30e6a1: Pulling fs layer [2022-07-06T14:52:22.266Z] 04944245beec: Pulling fs layer [2022-07-06T14:52:22.266Z] 699f458cf7ca: Pulling fs layer [2022-07-06T14:52:22.266Z] 765212b225bb: Pulling fs layer [2022-07-06T14:52:22.266Z] f23df028b6ca: Pulling fs layer [2022-07-06T14:52:22.266Z] d65c8cfc05b1: Pulling fs layer [2022-07-06T14:52:22.266Z] 2437ff75d9bd: Pulling fs layer [2022-07-06T14:52:22.266Z] f23df028b6ca: Waiting [2022-07-06T14:52:22.266Z] d65c8cfc05b1: Waiting [2022-07-06T14:52:22.266Z] 2437ff75d9bd: Waiting [2022-07-06T14:52:22.266Z] 765212b225bb: Waiting [2022-07-06T14:52:22.266Z] 04944245beec: Verifying Checksum [2022-07-06T14:52:22.266Z] 04944245beec: Download complete [2022-07-06T14:52:22.266Z] 765212b225bb: Verifying Checksum [2022-07-06T14:52:22.266Z] 765212b225bb: Download complete [2022-07-06T14:52:22.266Z] f23df028b6ca: Verifying Checksum [2022-07-06T14:52:22.266Z] f23df028b6ca: Download complete [2022-07-06T14:52:22.266Z] d65c8cfc05b1: Verifying Checksum [2022-07-06T14:52:22.266Z] d65c8cfc05b1: Download complete [2022-07-06T14:52:22.541Z] 699f458cf7ca: Verifying Checksum [2022-07-06T14:52:22.541Z] 699f458cf7ca: Download complete [2022-07-06T14:52:22.815Z] 8998bd30e6a1: Verifying Checksum [2022-07-06T14:52:22.815Z] 8998bd30e6a1: Download complete [2022-07-06T14:52:25.434Z] 2437ff75d9bd: Verifying Checksum [2022-07-06T14:52:25.434Z] 2437ff75d9bd: Download complete [2022-07-06T14:52:27.418Z] 8998bd30e6a1: Pull complete [2022-07-06T14:52:27.690Z] 04944245beec: Pull complete [2022-07-06T14:52:29.129Z] 699f458cf7ca: Pull complete [2022-07-06T14:52:29.404Z] 765212b225bb: Pull complete [2022-07-06T14:52:30.003Z] f23df028b6ca: Pull complete [2022-07-06T14:52:30.276Z] d65c8cfc05b1: Pull complete [2022-07-06T14:52:45.353Z] 2437ff75d9bd: Pull complete [2022-07-06T14:52:45.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-06T14:52:45.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-06T14:52:45.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:52:45.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-17017 does not seem to be running inside a container [2022-07-06T14:52:45.830Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-06T14:52:48.332Z] $ docker top 9f4e56445a31ba0e2e4f9db30ffc55e3dc4632fe80e907eb0e977c0a171b9d31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:52:49.290Z] ---> job-cost.sh [2022-07-06T14:52:49.291Z] lf-activate-venv: SKIPPING [2022-07-06T14:52:49.291Z] INFO: No Stack... [2022-07-06T14:52:49.562Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-06T14:52:50.539Z] INFO: Archiving Costs [Pipeline] sh [2022-07-06T14:52:51.228Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-06T14:52:51.228Z] + cut -d, -f6 [Pipeline] lock [2022-07-06T14:52:51.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [2022-07-06T14:52:51.320Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] did not exist. Created. [2022-07-06T14:52:51.320Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-06T14:52:52.078Z] /w/workspace/device-onvif-camera/1@tmp/durable-5809e3e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-06T14:52:52.776Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-06T14:52:52.811Z] Warning: overwriting stash ‘stack-cost’ [2022-07-06T14:52:52.868Z] Stashed 1 file(s) [Pipeline] } [2022-07-06T14:52:52.886Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-06T14:52:52.979Z] $ docker stop --time=1 9f4e56445a31ba0e2e4f9db30ffc55e3dc4632fe80e907eb0e977c0a171b9d31 [2022-07-06T14:52:54.475Z] $ docker rm -f 9f4e56445a31ba0e2e4f9db30ffc55e3dc4632fe80e907eb0e977c0a171b9d31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-06T14:52:55.467Z] provisioning config files... [2022-07-06T14:52:55.477Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5324424257737737761tmp [Pipeline] { [Pipeline] sh [2022-07-06T14:52:55.812Z] + set +x [2022-07-06T14:52:55.812Z] + curl -s https://codecov.io/bash [2022-07-06T14:52:55.812Z] + bash -s -- [2022-07-06T14:52:55.812Z] [2022-07-06T14:52:55.812Z] _____ _ [2022-07-06T14:52:55.812Z] / ____| | | [2022-07-06T14:52:55.812Z] | | ___ __| | ___ ___ _____ __ [2022-07-06T14:52:55.812Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-06T14:52:55.812Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-06T14:52:55.812Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-06T14:52:55.812Z] Bash-1.0.6 [2022-07-06T14:52:55.812Z] [2022-07-06T14:52:55.812Z] [2022-07-06T14:52:55.812Z] ==> git version 2.25.1 found [2022-07-06T14:52:55.812Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-06T14:52:55.812Z] Release-Date: 2020-01-08 [2022-07-06T14:52:55.812Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-06T14:52:55.812Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-06T14:52:55.812Z] ==> Jenkins CI detected. [2022-07-06T14:52:55.812Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-06T14:52:55.812Z] project root: . [2022-07-06T14:52:55.812Z] --> token set from env [2022-07-06T14:52:55.812Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-06T14:52:55.812Z] ==> Running gcov in . (disable via -X gcov) [2022-07-06T14:52:55.812Z] ==> Python coveragepy not found [2022-07-06T14:52:55.812Z] ==> Searching for coverage reports in: [2022-07-06T14:52:55.812Z] + . [2022-07-06T14:52:55.812Z] -> Found 1 reports [2022-07-06T14:52:55.812Z] ==> Detecting git/mercurial file structure [2022-07-06T14:52:55.812Z] ==> Reading reports [2022-07-06T14:52:56.073Z] + ./coverage.out bytes=70262 [2022-07-06T14:52:56.073Z] ==> Appending adjustments [2022-07-06T14:52:56.073Z] https://docs.codecov.io/docs/fixing-reports [2022-07-06T14:52:56.073Z] + Found adjustments [2022-07-06T14:52:56.073Z] ==> Gzipping contents [2022-07-06T14:52:56.073Z] 12K /tmp/codecov.hOIxYV.gz [2022-07-06T14:52:56.073Z] ==> Uploading reports [2022-07-06T14:52:56.073Z] url: https://codecov.io [2022-07-06T14:52:56.073Z] query: branch=PR-103&commit=9a5d76658793c623aa551356dcf51756ea7f92c6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-06T14:52:56.073Z] -> Pinging Codecov [2022-07-06T14:52:56.073Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=9a5d76658793c623aa551356dcf51756ea7f92c6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-06T14:52:56.335Z] -> Uploading to [2022-07-06T14:52:56.335Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-06/F29A59C45E3A92E06B3E522C9905F8EF/9a5d76658793c623aa551356dcf51756ea7f92c6/74c05634-8f90-43df-b05c-2fc95489528a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220706T145256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1efda60d23aff7c7c1c0e78b97ea0d5b6727aaf2a6eef78575ea674406aa1491 [2022-07-06T14:52:56.335Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-06T14:52:56.335Z] Dload Upload Total Spent Left Speed [2022-07-06T14:52:56.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9516 0 0 100 9516 0 46419 --:--:-- --:--:-- --:--:-- 46419 100 9516 0 0 100 9516 0 41554 --:--:-- --:--:-- --:--:-- 41373 [2022-07-06T14:52:56.596Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/9a5d76658793c623aa551356dcf51756ea7f92c6 [Pipeline] } [2022-07-06T14:52:56.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-06T14:52:58.409Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] [2022-07-06T14:52:58.409Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-06T14:52:58.409Z] total 16 [2022-07-06T14:52:58.409Z] drwxr-xr-x 3 root root 4096 Jul 6 14:45 . [2022-07-06T14:52:58.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 14:45 .. [2022-07-06T14:52:58.409Z] drwxr-xr-x 2 root root 4096 Jul 6 14:45 cost [2022-07-06T14:52:58.409Z] -rw-r--r-- 1 root root 90 Jul 6 14:45 cost.csv [2022-07-06T14:52:58.409Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-06T14:52:58.409Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-06T14:52:58.409Z] total 16 [2022-07-06T14:52:58.409Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 6 14:45 . [2022-07-06T14:52:58.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 6 14:45 .. [2022-07-06T14:52:58.409Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 6 14:45 cost [2022-07-06T14:52:58.409Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 6 14:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:52:58.731Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:52:59.625Z] ---> package-listing.sh [2022-07-06T14:52:59.625Z] ++ facter osfamily [2022-07-06T14:52:59.625Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-06T14:52:59.885Z] + OS_FAMILY=debian [2022-07-06T14:52:59.885Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-103 [2022-07-06T14:52:59.885Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-06T14:52:59.885Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-06T14:52:59.885Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-06T14:52:59.885Z] + PACKAGES=/tmp/packages_start.txt [2022-07-06T14:52:59.885Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-06T14:52:59.885Z] + PACKAGES=/tmp/packages_end.txt [2022-07-06T14:52:59.885Z] + case "${OS_FAMILY}" in [2022-07-06T14:52:59.885Z] + dpkg -l [2022-07-06T14:52:59.885Z] + grep '^ii' [2022-07-06T14:52:59.885Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-06T14:52:59.885Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-06T14:52:59.885Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-06T14:52:59.885Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-06T14:52:59.885Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ [2022-07-06T14:52:59.885Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo [2022-07-06T14:52:59.914Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-06T14:53:00.210Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-06T14:53:00.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-06T14:53:00.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-06T14:53:01.012Z] prd-ubuntu20.04-docker-8c-8g-17016 does not seem to be running inside a container [2022-07-06T14:53:01.053Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-06T14:53:01.323Z] $ docker top 892861f63153041b148c42256118efb91591a233d8519ac5cf5d954921bb91b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-06T14:53:01.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-06T14:53:02.029Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-06T14:53:02.342Z] + ls /var/log/sa-host [2022-07-06T14:53:02.342Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-06T14:53:02.536Z] provisioning config files... [2022-07-06T14:53:02.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config1673003355168452565tmp [Pipeline] { [Pipeline] echo [2022-07-06T14:53:02.597Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:53:02.910Z] ---> create-netrc.sh [Pipeline] } [2022-07-06T14:53:02.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:53:03.345Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-06T14:53:03.378Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:53:03.691Z] ---> sudo-logs.sh [2022-07-06T14:53:03.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-06T14:53:03.780Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:53:04.094Z] ---> job-cost.sh [2022-07-06T14:53:04.094Z] lf-activate-venv: SKIPPING [2022-07-06T14:53:04.094Z] DEBUG: total: 0.2199999988079071 [2022-07-06T14:53:04.094Z] INFO: Retrieving Stack Cost... [2022-07-06T14:53:04.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-06T14:53:04.926Z] INFO: Archiving Costs [Pipeline] echo [2022-07-06T14:53:04.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-06T14:53:05.274Z] ---> logs-deploy.sh [2022-07-06T14:53:05.274Z] lf-activate-venv: SKIPPING [2022-07-06T14:53:05.274Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/1 [2022-07-06T14:53:05.274Z] INFO: archiving workspace using pattern(s): [2022-07-06T14:53:06.216Z] Archives upload complete. [2022-07-06T14:53:06.477Z] INFO: archiving logs to Nexus