Pull request #84 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f98d7c4d4b6e300c244f2cb70cc735d43abe332d+78b20017cd6d168da65a59796ad356de40fef842 (f9e92cf896fc4c7cf5aeadb0caeea76d9a8509f7) 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-ssh10634621175922898599.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-ssh6070394678514663971.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-84/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-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18257109490581057389.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-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12375749242763111993.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-ssh18304143742378052390.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-84/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-84/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh775228230102203078.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 ‘prd-ubuntu20.04-docker-8c-8g-2526’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2531 in /w/workspace/oundry_device-onvif-camera_PR-84 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-84 # 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 78b20017cd6d168da65a59796ad356de40fef842 into PR head commit f98d7c4d4b6e300c244f2cb70cc735d43abe332d Merge succeeded, producing f98d7c4d4b6e300c244f2cb70cc735d43abe332d Checking out Revision f98d7c4d4b6e300c244f2cb70cc735d43abe332d (PR-84) > 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/84/head:refs/remotes/origin/PR-84 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f98d7c4d4b6e300c244f2cb70cc735d43abe332d # 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 78b20017cd6d168da65a59796ad356de40fef842 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f98d7c4d4b6e300c244f2cb70cc735d43abe332d # timeout=10 Commit message: "docs: rename device-usb-camera in comments" 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-06-17T03:11:49.832Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T03:11:50.026Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T03:11:50.124Z] ========================================================= [2022-06-17T03:11:50.124Z] EdgeX Global Pipelines Version Info [2022-06-17T03:11:50.124Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:11:50.901Z] ------------------- [2022-06-17T03:11:50.901Z] stable info: [2022-06-17T03:11:50.901Z] ------------------- [2022-06-17T03:11:50.901Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T03:11:50.901Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T03:11:50.901Z] Message: update stable to v1.0.234 [2022-06-17T03:11:51.478Z] ------------------- [2022-06-17T03:11:51.478Z] experimental info: [2022-06-17T03:11:51.478Z] ------------------- [2022-06-17T03:11:51.478Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T03:11:51.478Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T03:11:51.478Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T03:11:51.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-17T03:11:51.902Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-17T03:11:51.943Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T03:11:51.983Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T03:11:52.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T03:11:52.066Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T03:11:52.107Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T03:11:52.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T03:11:52.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T03:11:52.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T03:11:52.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T03:11:52.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-17T03:11:52.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T03:11:52.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T03:11:52.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T03:11:52.491Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T03:11:52.532Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T03:11:52.575Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T03:11:52.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T03:11:52.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T03:11:52.708Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T03:11:52.747Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T03:11:52.788Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T03:11:52.828Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T03:11:52.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T03:11:52.913Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T03:11:52.954Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T03:11:52.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-84 [Pipeline] echo [2022-06-17T03:11:53.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-84 [Pipeline] echo [2022-06-17T03:11:53.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-84 [Pipeline] echo [2022-06-17T03:11:53.117Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f98d7c4d4b6e300c244f2cb70cc735d43abe332d [Pipeline] echo [2022-06-17T03:11:53.157Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f98d7c4 [Pipeline] echo [2022-06-17T03:11:53.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:11:53.321Z] provisioning config files... [2022-06-17T03:11:53.337Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-84@tmp/config2677445758959027955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:11:53.692Z] ---> docker-login.sh [2022-06-17T03:11:53.692Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:11:53.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:11:53.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:11:53.952Z] Configure a credential helper to remove this warning. See [2022-06-17T03:11:53.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:11:53.952Z] [2022-06-17T03:11:53.952Z] Login Succeeded [2022-06-17T03:11:53.952Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:11:54.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:11:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:11:54.214Z] Configure a credential helper to remove this warning. See [2022-06-17T03:11:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:11:54.214Z] [2022-06-17T03:11:54.214Z] Login Succeeded [2022-06-17T03:11:54.214Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:11:54.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:11:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:11:54.214Z] Configure a credential helper to remove this warning. See [2022-06-17T03:11:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:11:54.214Z] [2022-06-17T03:11:54.214Z] Login Succeeded [2022-06-17T03:11:54.214Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:11:54.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:11:54.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:11:54.475Z] Configure a credential helper to remove this warning. See [2022-06-17T03:11:54.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:11:54.475Z] [2022-06-17T03:11:54.475Z] Login Succeeded [2022-06-17T03:11:54.475Z] docker.io [2022-06-17T03:11:54.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:11:55.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:11:55.059Z] Configure a credential helper to remove this warning. See [2022-06-17T03:11:55.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:11:55.059Z] [2022-06-17T03:11:55.059Z] Login Succeeded [2022-06-17T03:11:55.059Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:11:55.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T03:11:55.748Z] + git rev-list -1 --merges f98d7c4d4b6e300c244f2cb70cc735d43abe332d~1..f98d7c4d4b6e300c244f2cb70cc735d43abe332d [Pipeline] echo [2022-06-17T03:11:55.802Z] -----------> git rev-list -1 --merges f98d7c4d4b6e300c244f2cb70cc735d43abe332d~1..f98d7c4d4b6e300c244f2cb70cc735d43abe332d f98d7c4d4b6e300c244f2cb70cc735d43abe332d [false] [Pipeline] sh [2022-06-17T03:11:56.121Z] + git log --format=format:%s -1 f98d7c4d4b6e300c244f2cb70cc735d43abe332d [Pipeline] echo [2022-06-17T03:11:56.159Z] ========================================================= [2022-06-17T03:11:56.159Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T03:11:56.159Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:11:56.601Z] + git log --format=format:%s -1 f98d7c4d4b6e300c244f2cb70cc735d43abe332d [Pipeline] echo [2022-06-17T03:11:56.635Z] [semverPrep] GIT_COMMIT: f98d7c4d4b6e300c244f2cb70cc735d43abe332d, Commit Message: docs: rename device-usb-camera in comments [Pipeline] echo [2022-06-17T03:11:56.669Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T03:11:57.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T03:11:57.056Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T03:11:57.056Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T03:11:57.056Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T03:11:57.056Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T03:11:57.056Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T03:11:57.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:11:57.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:11:57.523Z] [2022-06-17T03:11:57.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:11:57.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:11:57.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T03:11:57.906Z] 42c077c10790: Pulling fs layer [2022-06-17T03:11:57.906Z] f63e77b7563a: Pulling fs layer [2022-06-17T03:11:57.906Z] bd5fdadae976: Pulling fs layer [2022-06-17T03:11:57.906Z] 205491f53016: Pulling fs layer [2022-06-17T03:11:57.906Z] df18705c85c3: Pulling fs layer [2022-06-17T03:11:57.906Z] bdb3f477010e: Pulling fs layer [2022-06-17T03:11:57.906Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T03:11:57.906Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T03:11:57.906Z] bdb8f0575790: Pulling fs layer [2022-06-17T03:11:57.906Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T03:11:57.906Z] 2343380bae48: Pulling fs layer [2022-06-17T03:11:57.906Z] 205491f53016: Waiting [2022-06-17T03:11:57.906Z] bdb3f477010e: Waiting [2022-06-17T03:11:57.906Z] c8a8fc8e1c8f: Waiting [2022-06-17T03:11:57.906Z] df18705c85c3: Waiting [2022-06-17T03:11:57.906Z] 2c6e9b1d212d: Waiting [2022-06-17T03:11:57.906Z] bdb8f0575790: Waiting [2022-06-17T03:11:57.906Z] 386e3cb2ff24: Waiting [2022-06-17T03:11:57.907Z] 2343380bae48: Waiting [2022-06-17T03:11:57.907Z] f63e77b7563a: Download complete [2022-06-17T03:11:57.907Z] 205491f53016: Verifying Checksum [2022-06-17T03:11:57.907Z] 205491f53016: Download complete [2022-06-17T03:11:58.168Z] df18705c85c3: Verifying Checksum [2022-06-17T03:11:58.168Z] df18705c85c3: Download complete [2022-06-17T03:11:58.168Z] bdb3f477010e: Verifying Checksum [2022-06-17T03:11:58.168Z] bdb3f477010e: Download complete [2022-06-17T03:11:58.168Z] bd5fdadae976: Verifying Checksum [2022-06-17T03:11:58.168Z] bd5fdadae976: Download complete [2022-06-17T03:11:58.168Z] 2c6e9b1d212d: Download complete [2022-06-17T03:11:58.168Z] bdb8f0575790: Download complete [2022-06-17T03:11:58.168Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T03:11:58.168Z] 386e3cb2ff24: Download complete [2022-06-17T03:11:58.168Z] 2343380bae48: Verifying Checksum [2022-06-17T03:11:58.168Z] 2343380bae48: Download complete [2022-06-17T03:11:58.168Z] 42c077c10790: Download complete [2022-06-17T03:11:58.428Z] c8a8fc8e1c8f: Download complete [2022-06-17T03:11:59.809Z] 42c077c10790: Pull complete [2022-06-17T03:11:59.809Z] f63e77b7563a: Pull complete [2022-06-17T03:12:00.384Z] bd5fdadae976: Pull complete [2022-06-17T03:12:00.384Z] 205491f53016: Pull complete [2022-06-17T03:12:00.646Z] df18705c85c3: Pull complete [2022-06-17T03:12:00.906Z] bdb3f477010e: Pull complete [2022-06-17T03:12:02.824Z] c8a8fc8e1c8f: Pull complete [2022-06-17T03:12:02.824Z] 2c6e9b1d212d: Pull complete [2022-06-17T03:12:03.087Z] bdb8f0575790: Pull complete [2022-06-17T03:12:03.087Z] 386e3cb2ff24: Pull complete [2022-06-17T03:12:03.087Z] 2343380bae48: Pull complete [2022-06-17T03:12:03.350Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T03:12:03.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:12:03.350Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:12:03.592Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2022-06-17T03:12:03.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-84 -v /w/workspace/oundry_device-onvif-camera_PR-84:/w/workspace/oundry_device-onvif-camera_PR-84:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-84@tmp:/w/workspace/oundry_device-onvif-camera_PR-84@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-06-17T03:12:05.037Z] $ docker top a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 -eo pid,comm [2022-06-17T03:12:05.117Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-17T03:12:05.117Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T03:12:05.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T03:12:05.258Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T03:12:05.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T03:12:05.404Z] $ docker exec a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 ssh-agent [2022-06-17T03:12:05.554Z] SSH_AUTH_SOCK=/tmp/ssh-L7Zk5eqer2ZZ/agent.34 [2022-06-17T03:12:05.554Z] SSH_AGENT_PID=40 [2022-06-17T03:12:05.561Z] Running ssh-add (command line suppressed) [2022-06-17T03:12:05.678Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-84@tmp/private_key_7578248868197539062.key (/w/workspace/oundry_device-onvif-camera_PR-84@tmp/private_key_7578248868197539062.key) [2022-06-17T03:12:05.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T03:12:06.029Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T03:12:06.058Z] $ docker exec --env ******** --env ******** a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 ssh-agent -k [2022-06-17T03:12:06.177Z] unset SSH_AUTH_SOCK; [2022-06-17T03:12:06.178Z] unset SSH_AGENT_PID; [2022-06-17T03:12:06.178Z] echo Agent pid 40 killed; [2022-06-17T03:12:06.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T03:12:06.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T03:12:06.281Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T03:12:06.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T03:12:06.428Z] $ docker exec a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 ssh-agent [2022-06-17T03:12:06.566Z] SSH_AUTH_SOCK=/tmp/ssh-AohkTj2V6JWI/agent.74 [2022-06-17T03:12:06.566Z] SSH_AGENT_PID=80 [2022-06-17T03:12:06.573Z] Running ssh-add (command line suppressed) [2022-06-17T03:12:06.697Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-84@tmp/private_key_3590965635907536576.key (/w/workspace/oundry_device-onvif-camera_PR-84@tmp/private_key_3590965635907536576.key) [2022-06-17T03:12:06.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T03:12:07.050Z] + git semver init [2022-06-17T03:12:07.314Z] 2022-06-17 03:12:07,273 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T03:12:07.314Z] 2022-06-17 03:12:07,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-84/.semver [2022-06-17T03:12:07.314Z] 2022-06-17 03:12:07,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-84/.semver [2022-06-17T03:12:07.314Z] 2022-06-17 03:12:07,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-84/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-84, universal_newlines=False, shell=None, istream=None) [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,958 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-84/.git/info/exclude [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-84/.semver/PR-84 with force:False [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,958 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-84/.semver/PR-84 [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,963 [execute] INFO git cat-file --batch-check [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-84/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,969 [execute] INFO git cat-file --batch [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-84/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T03:12:08.262Z] 2022-06-17 03:12:07,976 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-84/.semver/PR-84 [2022-06-17T03:12:08.262Z] 0.0.0 [Pipeline] } [2022-06-17T03:12:08.294Z] $ docker exec --env ******** --env ******** a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 ssh-agent -k [2022-06-17T03:12:08.418Z] unset SSH_AUTH_SOCK; [2022-06-17T03:12:08.420Z] unset SSH_AGENT_PID; [2022-06-17T03:12:08.420Z] echo Agent pid 80 killed; [2022-06-17T03:12:08.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T03:12:08.857Z] + git semver [Pipeline] } [2022-06-17T03:12:09.151Z] $ docker stop --time=1 a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 [2022-06-17T03:12:10.474Z] $ docker rm -f a32a12284b4d19c380ed859140c13d20aaad94ac0b3c9e21e48e6b365bffa024 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:12:10.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T03:12:11.243Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T03:12:11.260Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:12:11.831Z] provisioning config files... [2022-06-17T03:12:11.842Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-84@tmp/config132491005410337626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:12:12.197Z] ---> docker-login.sh [2022-06-17T03:12:12.197Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:12:12.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:12:12.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:12:12.197Z] Configure a credential helper to remove this warning. See [2022-06-17T03:12:12.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:12:12.197Z] [2022-06-17T03:12:12.197Z] Login Succeeded [2022-06-17T03:12:12.197Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:12:12.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:12:12.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:12:12.455Z] Configure a credential helper to remove this warning. See [2022-06-17T03:12:12.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:12:12.455Z] [2022-06-17T03:12:12.456Z] Login Succeeded [2022-06-17T03:12:12.456Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:12:12.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:12:12.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:12:12.456Z] Configure a credential helper to remove this warning. See [2022-06-17T03:12:12.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:12:12.456Z] [2022-06-17T03:12:12.456Z] Login Succeeded [2022-06-17T03:12:12.456Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:12:12.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:12:12.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:12:12.717Z] Configure a credential helper to remove this warning. See [2022-06-17T03:12:12.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:12:12.717Z] [2022-06-17T03:12:12.717Z] Login Succeeded [2022-06-17T03:12:12.717Z] docker.io [2022-06-17T03:12:12.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:12:12.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:12:12.979Z] Configure a credential helper to remove this warning. See [2022-06-17T03:12:12.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:12:12.979Z] [2022-06-17T03:12:12.979Z] Login Succeeded [2022-06-17T03:12:12.979Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:12:13.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T03:12:13.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:12:13.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:12:13.258Z] ========================================================= [2022-06-17T03:12:13.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T03:12:13.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:12:13.727Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T03:12:13.727Z] Sending build context to Docker daemon 8.745MB [2022-06-17T03:12:13.727Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:12:13.727Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T03:12:13.727Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T03:12:13.727Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T03:12:13.727Z] 666ba61612fd: Pulling fs layer [2022-06-17T03:12:13.727Z] 8ed8ca486205: Pulling fs layer [2022-06-17T03:12:13.727Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T03:12:13.727Z] c516ae0d96e1: Pulling fs layer [2022-06-17T03:12:13.727Z] 684cea983483: Pulling fs layer [2022-06-17T03:12:13.727Z] dd3240ac7de5: Pulling fs layer [2022-06-17T03:12:13.727Z] b1e948a4e11c: Pulling fs layer [2022-06-17T03:12:13.727Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T03:12:13.727Z] 646ad004c059: Pulling fs layer [2022-06-17T03:12:13.727Z] dd3240ac7de5: Waiting [2022-06-17T03:12:13.727Z] cc1cd167ecdc: Waiting [2022-06-17T03:12:13.727Z] c516ae0d96e1: Waiting [2022-06-17T03:12:13.727Z] 684cea983483: Waiting [2022-06-17T03:12:13.727Z] b1e948a4e11c: Waiting [2022-06-17T03:12:13.727Z] 646ad004c059: Waiting [2022-06-17T03:12:13.727Z] a8fd76ee1af6: Waiting [2022-06-17T03:12:13.727Z] 8ed8ca486205: Verifying Checksum [2022-06-17T03:12:13.727Z] 8ed8ca486205: Download complete [2022-06-17T03:12:13.727Z] 666ba61612fd: Download complete [2022-06-17T03:12:13.727Z] c516ae0d96e1: Verifying Checksum [2022-06-17T03:12:13.727Z] c516ae0d96e1: Download complete [2022-06-17T03:12:13.989Z] 684cea983483: Verifying Checksum [2022-06-17T03:12:13.989Z] 684cea983483: Download complete [2022-06-17T03:12:13.989Z] dd3240ac7de5: Download complete [2022-06-17T03:12:13.989Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T03:12:13.989Z] 59bf1c3509f3: Download complete [2022-06-17T03:12:13.989Z] b1e948a4e11c: Verifying Checksum [2022-06-17T03:12:13.989Z] b1e948a4e11c: Download complete [2022-06-17T03:12:13.989Z] 59bf1c3509f3: Pull complete [2022-06-17T03:12:14.253Z] 666ba61612fd: Pull complete [2022-06-17T03:12:14.253Z] 8ed8ca486205: Pull complete [2022-06-17T03:12:14.517Z] 646ad004c059: Verifying Checksum [2022-06-17T03:12:14.517Z] 646ad004c059: Download complete [2022-06-17T03:12:14.517Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T03:12:14.517Z] a8fd76ee1af6: Download complete [2022-06-17T03:12:14.517Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T03:12:14.517Z] cc1cd167ecdc: Download complete [2022-06-17T03:12:18.718Z] cc1cd167ecdc: Pull complete [2022-06-17T03:12:18.718Z] c516ae0d96e1: Pull complete [2022-06-17T03:12:18.718Z] 684cea983483: Pull complete [2022-06-17T03:12:18.980Z] dd3240ac7de5: Pull complete [2022-06-17T03:12:18.980Z] b1e948a4e11c: Pull complete [2022-06-17T03:12:21.512Z] a8fd76ee1af6: Pull complete [2022-06-17T03:12:22.079Z] 646ad004c059: Pull complete [2022-06-17T03:12:22.079Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T03:12:22.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T03:12:22.079Z] ---> 8f69c11f6b0c [2022-06-17T03:12:22.079Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T03:12:23.466Z] ---> Running in abe073b72fa9 [2022-06-17T03:12:23.728Z] Removing intermediate container abe073b72fa9 [2022-06-17T03:12:23.728Z] ---> 68acb6cd5f30 [2022-06-17T03:12:23.728Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T03:12:23.728Z] ---> Running in 427fb62cd102 [2022-06-17T03:12:23.728Z] Removing intermediate container 427fb62cd102 [2022-06-17T03:12:23.728Z] ---> 92747e8e29fe [2022-06-17T03:12:23.728Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T03:12:23.728Z] ---> Running in 6abf26f07f5f [2022-06-17T03:12:23.728Z] Removing intermediate container 6abf26f07f5f [2022-06-17T03:12:23.728Z] ---> 914e0cf31744 [2022-06-17T03:12:23.728Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T03:12:23.988Z] ---> Running in 021f3412ca16 [2022-06-17T03:12:23.988Z] Removing intermediate container 021f3412ca16 [2022-06-17T03:12:23.988Z] ---> 6c35d385ea2a [2022-06-17T03:12:23.988Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:12:23.988Z] ---> Running in 33475b692de6 [2022-06-17T03:12:24.559Z] Removing intermediate container 33475b692de6 [2022-06-17T03:12:24.559Z] ---> 423d00c54792 [2022-06-17T03:12:24.559Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T03:12:24.559Z] ---> Running in 327810dae06b [2022-06-17T03:12:25.132Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:12:26.077Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:12:26.648Z] OK: 221 MiB in 52 packages [2022-06-17T03:12:26.660Z] Still waiting to schedule task [2022-06-17T03:12:26.661Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2532’ is offline [2022-06-17T03:12:26.909Z] Removing intermediate container 327810dae06b [2022-06-17T03:12:26.909Z] ---> 043ec8d5a782 [2022-06-17T03:12:26.909Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T03:12:26.909Z] ---> Running in fae230977b97 [2022-06-17T03:12:27.174Z] Removing intermediate container fae230977b97 [2022-06-17T03:12:27.174Z] ---> 6e4f09b93a02 [2022-06-17T03:12:27.174Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T03:12:27.174Z] ---> 90dd2c55c269 [2022-06-17T03:12:27.174Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:12:27.433Z] ---> Running in ea1fe1e3f9d0 [2022-06-17T03:12:42.428Z] Removing intermediate container ea1fe1e3f9d0 [2022-06-17T03:12:42.428Z] ---> 90a09678b3e1 [2022-06-17T03:12:42.428Z] Step 12/13 : COPY . . [2022-06-17T03:12:42.428Z] ---> 03dbe55f7935 [2022-06-17T03:12:42.428Z] Step 13/13 : RUN ${MAKE} [2022-06-17T03:12:42.428Z] ---> Running in ef4f71f0d4f7 [2022-06-17T03:12:42.428Z] noop [2022-06-17T03:12:42.428Z] Removing intermediate container ef4f71f0d4f7 [2022-06-17T03:12:42.428Z] ---> 96e29a55eeef [2022-06-17T03:12:42.428Z] Successfully built 96e29a55eeef [2022-06-17T03:12:42.428Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:12:42.897Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T03:12:42.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:12:43.067Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2022-06-17T03:12:43.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-84 -v /w/workspace/oundry_device-onvif-camera_PR-84:/w/workspace/oundry_device-onvif-camera_PR-84:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-84@tmp:/w/workspace/oundry_device-onvif-camera_PR-84@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-06-17T03:12:43.525Z] $ docker top 4b7860a34079827aec96eef1a9cd3ddf459a2e25aecbfbfcc9470c380de5117d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:12:43.943Z] + go version [2022-06-17T03:12:43.943Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T03:12:43.981Z] $ docker stop --time=1 4b7860a34079827aec96eef1a9cd3ddf459a2e25aecbfbfcc9470c380de5117d [2022-06-17T03:12:45.262Z] $ docker rm -f 4b7860a34079827aec96eef1a9cd3ddf459a2e25aecbfbfcc9470c380de5117d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:12:46.028Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T03:12:46.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:12:46.195Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2022-06-17T03:12:46.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-84 -v /w/workspace/oundry_device-onvif-camera_PR-84:/w/workspace/oundry_device-onvif-camera_PR-84:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-84@tmp:/w/workspace/oundry_device-onvif-camera_PR-84@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-06-17T03:12:46.648Z] $ docker top 35b82f95d1a2ad2393699b68b349cf8653e1e8296db3b73195050176de731d85 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T03:12:47.115Z] + make test [2022-06-17T03:12:47.115Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T03:12:47.376Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T03:12:57.371Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T03:12:57.371Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements [2022-06-17T03:13:01.577Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.784s coverage: 13.8% of statements [2022-06-17T03:13:08.158Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T03:13:12.371Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T03:13:12.371Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T03:13:12.371Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T03:13:12.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T03:13:12.693Z] $ docker stop --time=1 35b82f95d1a2ad2393699b68b349cf8653e1e8296db3b73195050176de731d85 [2022-06-17T03:13:14.523Z] $ docker rm -f 35b82f95d1a2ad2393699b68b349cf8653e1e8296db3b73195050176de731d85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:13:15.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T03:13:15.118Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T03:13:15.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T03:13:16.083Z] + ls -al . [2022-06-17T03:13:16.083Z] total 236 [2022-06-17T03:13:16.083Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 03:13 . [2022-06-17T03:13:16.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:11 .. [2022-06-17T03:13:16.083Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:12 .git [2022-06-17T03:13:16.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:11 .github [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 03:11 .gitignore [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:11 .golangci.yml [2022-06-17T03:13:16.083Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:12 .semver [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 03:11 Attribution.txt [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 03:11 CHANGELOG.md [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 03:11 Dockerfile [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:11 GOVERNANCE.md [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 03:11 Jenkinsfile [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 03:11 LICENSE [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 03:11 Makefile [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 03:11 OWNERS.md [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 03:11 README.md [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:12 VERSION [2022-06-17T03:13:16.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:11 bin [2022-06-17T03:13:16.083Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:11 cmd [2022-06-17T03:13:16.083Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 03:13 coverage.out [2022-06-17T03:13:16.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:11 doc [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 03:11 go.mod [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 03:11 go.sum [2022-06-17T03:13:16.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:11 internal [2022-06-17T03:13:16.083Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:13:16.487Z] + 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=f98d7c4d4b6e300c244f2cb70cc735d43abe332d --label arch=amd64 --label version=0.0.0 . [2022-06-17T03:13:16.487Z] Sending build context to Docker daemon 8.806MB [2022-06-17T03:13:16.487Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:13:16.487Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T03:13:16.487Z] ---> 96e29a55eeef [2022-06-17T03:13:16.487Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T03:13:16.749Z] ---> Running in 74067934a7cc [2022-06-17T03:13:16.749Z] Removing intermediate container 74067934a7cc [2022-06-17T03:13:16.749Z] ---> ff7af60e32d4 [2022-06-17T03:13:16.749Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T03:13:16.749Z] ---> Running in 44afeed14b2d [2022-06-17T03:13:16.749Z] Removing intermediate container 44afeed14b2d [2022-06-17T03:13:16.749Z] ---> fb2d1f50376e [2022-06-17T03:13:16.749Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T03:13:17.011Z] ---> Running in e50e83c49bb0 [2022-06-17T03:13:17.011Z] Removing intermediate container e50e83c49bb0 [2022-06-17T03:13:17.011Z] ---> 25f5dfb1248b [2022-06-17T03:13:17.011Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T03:13:17.011Z] ---> Running in cfe81c4abb5b [2022-06-17T03:13:17.011Z] Removing intermediate container cfe81c4abb5b [2022-06-17T03:13:17.011Z] ---> ddaa15edd4d0 [2022-06-17T03:13:17.011Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:13:17.271Z] ---> Running in aa503e593456 [2022-06-17T03:13:17.845Z] Removing intermediate container aa503e593456 [2022-06-17T03:13:17.845Z] ---> 6d92fbc7603c [2022-06-17T03:13:17.845Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T03:13:17.845Z] ---> Running in 572a66acaf5d [2022-06-17T03:13:18.106Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:13:19.053Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:13:19.315Z] OK: 221 MiB in 52 packages [2022-06-17T03:13:19.575Z] Removing intermediate container 572a66acaf5d [2022-06-17T03:13:19.575Z] ---> 046f87792f05 [2022-06-17T03:13:19.575Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T03:13:19.575Z] ---> Running in b53a4f4b9770 [2022-06-17T03:13:19.575Z] Removing intermediate container b53a4f4b9770 [2022-06-17T03:13:19.575Z] ---> b50e72796d5e [2022-06-17T03:13:19.575Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T03:13:19.834Z] ---> 9989cea4a91c [2022-06-17T03:13:19.834Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:13:19.834Z] ---> Running in a348890a5b17 [2022-06-17T03:13:20.785Z] Removing intermediate container a348890a5b17 [2022-06-17T03:13:20.785Z] ---> 70b3913bf377 [2022-06-17T03:13:20.785Z] Step 12/26 : COPY . . [2022-06-17T03:13:20.785Z] ---> 13883570f17f [2022-06-17T03:13:20.785Z] Step 13/26 : RUN ${MAKE} [2022-06-17T03:13:21.043Z] ---> Running in 0d1f57a71bbb [2022-06-17T03:13:21.301Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-17T03:13:43.258Z] Removing intermediate container 0d1f57a71bbb [2022-06-17T03:13:43.259Z] ---> 73e6e84cf196 [2022-06-17T03:13:43.259Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T03:13:43.259Z] 3.15: Pulling from library/alpine [2022-06-17T03:13:43.259Z] df9b9388f04a: Pulling fs layer [2022-06-17T03:13:43.259Z] df9b9388f04a: Verifying Checksum [2022-06-17T03:13:43.259Z] df9b9388f04a: Download complete [2022-06-17T03:13:43.259Z] df9b9388f04a: Pull complete [2022-06-17T03:13:43.259Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T03:13:43.259Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T03:13:43.259Z] ---> 0ac33e5f5afa [2022-06-17T03:13:43.259Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T03:13:43.259Z] ---> Running in fc7af1ab6d42 [2022-06-17T03:13:43.259Z] Removing intermediate container fc7af1ab6d42 [2022-06-17T03:13:43.259Z] ---> 79e7db337c01 [2022-06-17T03:13:43.259Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T03:13:43.259Z] ---> Running in 6f6dd24e28b0 [2022-06-17T03:13:43.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:13:43.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:13:43.259Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T03:13:43.259Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T03:13:43.259Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T03:13:43.259Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T03:13:43.259Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T03:13:43.259Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T03:13:43.259Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T03:13:43.259Z] OK: 8 MiB in 20 packages [2022-06-17T03:13:43.259Z] Removing intermediate container 6f6dd24e28b0 [2022-06-17T03:13:43.259Z] ---> 8091d408144d [2022-06-17T03:13:43.259Z] Step 17/26 : WORKDIR / [2022-06-17T03:13:43.259Z] ---> Running in ff84d66c5431 [2022-06-17T03:13:43.259Z] Removing intermediate container ff84d66c5431 [2022-06-17T03:13:43.259Z] ---> 6646846e478f [2022-06-17T03:13:43.259Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T03:13:44.214Z] ---> d9f7a18d79c8 [2022-06-17T03:13:44.214Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T03:13:44.214Z] ---> 5710282214e0 [2022-06-17T03:13:44.214Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T03:13:44.214Z] ---> a94b5485a400 [2022-06-17T03:13:44.214Z] Step 21/26 : EXPOSE 59984 [2022-06-17T03:13:44.475Z] ---> Running in 7c9546ad8855 [2022-06-17T03:13:44.475Z] Removing intermediate container 7c9546ad8855 [2022-06-17T03:13:44.475Z] ---> 16926e0dabd9 [2022-06-17T03:13:44.475Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T03:13:44.475Z] ---> Running in 96e0ec6dcb55 [2022-06-17T03:13:44.736Z] Removing intermediate container 96e0ec6dcb55 [2022-06-17T03:13:44.736Z] ---> c54808fc0f9a [2022-06-17T03:13:44.736Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T03:13:44.736Z] ---> Running in 421773565f66 [2022-06-17T03:13:44.736Z] Removing intermediate container 421773565f66 [2022-06-17T03:13:44.736Z] ---> eb1f916ffa77 [2022-06-17T03:13:44.736Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T03:13:44.736Z] ---> Running in 76a32a62bb7c [2022-06-17T03:13:44.995Z] Removing intermediate container 76a32a62bb7c [2022-06-17T03:13:44.995Z] ---> 2ab8fadef570 [2022-06-17T03:13:44.995Z] Step 25/26 : LABEL git_sha=f98d7c4d4b6e300c244f2cb70cc735d43abe332d [2022-06-17T03:13:44.995Z] ---> Running in 96bfb5e6e682 [2022-06-17T03:13:44.995Z] Removing intermediate container 96bfb5e6e682 [2022-06-17T03:13:44.995Z] ---> cbbc46b425e4 [2022-06-17T03:13:44.996Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T03:13:44.996Z] ---> Running in 9a9dab0bc767 [2022-06-17T03:13:45.256Z] Removing intermediate container 9a9dab0bc767 [2022-06-17T03:13:45.256Z] ---> 3d0b799bdabe [2022-06-17T03:13:45.256Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T03:13:45.256Z] Successfully built 3d0b799bdabe [2022-06-17T03:13:45.256Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:13:46.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:13:46.180Z] [2022-06-17T03:13:46.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:13:46.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:13:46.574Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T03:13:46.574Z] 5eb5b503b376: Pulling fs layer [2022-06-17T03:13:46.574Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T03:13:46.574Z] ec43610c2a17: Pulling fs layer [2022-06-17T03:13:46.574Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T03:13:46.574Z] 33b1e0a273af: Pulling fs layer [2022-06-17T03:13:46.574Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T03:13:46.574Z] 2f39f015ded8: Pulling fs layer [2022-06-17T03:13:46.574Z] 33b1e0a273af: Waiting [2022-06-17T03:13:46.574Z] 5d3b04190fa2: Waiting [2022-06-17T03:13:46.574Z] 2f39f015ded8: Waiting [2022-06-17T03:13:46.574Z] 3a2ae6a8a46f: Waiting [2022-06-17T03:13:46.574Z] 5c69ac0246d0: Download complete [2022-06-17T03:13:46.574Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T03:13:46.574Z] 3a2ae6a8a46f: Download complete [2022-06-17T03:13:46.574Z] 33b1e0a273af: Verifying Checksum [2022-06-17T03:13:46.574Z] 33b1e0a273af: Download complete [2022-06-17T03:13:46.574Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T03:13:46.574Z] 5d3b04190fa2: Download complete [2022-06-17T03:13:46.838Z] ec43610c2a17: Verifying Checksum [2022-06-17T03:13:46.838Z] ec43610c2a17: Download complete [2022-06-17T03:13:46.838Z] 5eb5b503b376: Verifying Checksum [2022-06-17T03:13:46.838Z] 5eb5b503b376: Download complete [2022-06-17T03:13:47.407Z] 2f39f015ded8: Download complete [2022-06-17T03:13:47.978Z] 5eb5b503b376: Pull complete [2022-06-17T03:13:48.238Z] 5c69ac0246d0: Pull complete [2022-06-17T03:13:48.812Z] ec43610c2a17: Pull complete [2022-06-17T03:13:48.812Z] 3a2ae6a8a46f: Pull complete [2022-06-17T03:13:49.073Z] 33b1e0a273af: Pull complete [2022-06-17T03:13:49.073Z] 5d3b04190fa2: Pull complete [2022-06-17T03:13:53.272Z] 2f39f015ded8: Pull complete [2022-06-17T03:13:53.273Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T03:13:53.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:13:53.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:13:53.519Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2022-06-17T03:13:53.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-84 -v /w/workspace/oundry_device-onvif-camera_PR-84:/w/workspace/oundry_device-onvif-camera_PR-84:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-84@tmp:/w/workspace/oundry_device-onvif-camera_PR-84@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-06-17T03:13:55.242Z] $ docker top d18c0b6f571f87f678ab4ec8eb26592ba70d867d3019fbf78c1d963396e627a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:13:55.709Z] ---> job-cost.sh [2022-06-17T03:13:55.709Z] lf-activate-venv: SKIPPING [2022-06-17T03:13:55.709Z] INFO: No Stack... [2022-06-17T03:13:56.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T03:13:56.553Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T03:13:56.870Z] + cat /w/workspace/oundry_device-onvif-camera_PR-84/archives/cost.csv [2022-06-17T03:13:56.870Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T03:13:56.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [2022-06-17T03:13:56.914Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] did not exist. Created. [2022-06-17T03:13:56.915Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T03:13:57.415Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T03:13:57.480Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T03:13:57.516Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T03:13:57.601Z] $ docker stop --time=1 d18c0b6f571f87f678ab4ec8eb26592ba70d867d3019fbf78c1d963396e627a3 [2022-06-17T03:13:58.786Z] $ docker rm -f d18c0b6f571f87f678ab4ec8eb26592ba70d867d3019fbf78c1d963396e627a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T03:14:32.450Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2534 in /w/workspace/oundry_device-onvif-camera_PR-84 [Pipeline] { [Pipeline] ws [2022-06-17T03:14:32.492Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-17T03:14:32.580Z] Selected Git installation does not exist. Using Default [2022-06-17T03:14:32.580Z] The recommended git tool is: NONE [2022-06-17T03:14:40.261Z] using credential edgex-jenkins-ssh [2022-06-17T03:14:40.283Z] Cloning the remote Git repository [2022-06-17T03:14:40.445Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T03:14:40.618Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-17T03:14:40.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T03:14:40.860Z] > git --version # timeout=10 [2022-06-17T03:14:40.949Z] > git --version # 'git version 2.25.1' [2022-06-17T03:14:40.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:14:41.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T03:14:42.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T03:14:42.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T03:14:42.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T03:14:42.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T03:14:42.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:14:42.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/84/head:refs/remotes/origin/PR-84 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T03:14:42.730Z] Merging remotes/origin/main commit 78b20017cd6d168da65a59796ad356de40fef842 into PR head commit f98d7c4d4b6e300c244f2cb70cc735d43abe332d [2022-06-17T03:14:43.008Z] Merge succeeded, producing f98d7c4d4b6e300c244f2cb70cc735d43abe332d [2022-06-17T03:14:43.009Z] Checking out Revision f98d7c4d4b6e300c244f2cb70cc735d43abe332d (PR-84) [2022-06-17T03:14:42.759Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T03:14:42.791Z] > git checkout -f f98d7c4d4b6e300c244f2cb70cc735d43abe332d # timeout=10 [2022-06-17T03:14:42.923Z] > git remote # timeout=10 [2022-06-17T03:14:42.939Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T03:14:42.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:14:42.966Z] > git merge 78b20017cd6d168da65a59796ad356de40fef842 # timeout=10 [2022-06-17T03:14:42.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T03:14:43.022Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T03:14:43.037Z] > git checkout -f f98d7c4d4b6e300c244f2cb70cc735d43abe332d # timeout=10 [2022-06-17T03:14:47.371Z] Commit message: "docs: rename device-usb-camera in comments" [2022-06-17T03:14:47.430Z] > git --version # timeout=10 [2022-06-17T03:14:47.440Z] > git --version # 'git version 2.25.1' [2022-06-17T03:14:47.453Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:14:48.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T03:14:48.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T03:14:48.475Z] Dload Upload Total Spent Left Speed [2022-06-17T03:14:48.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-06-17T03:14:49.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T03:14:49.887Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T03:14:49.887Z] + sudo tee /etc/docker/daemon.new [2022-06-17T03:14:49.887Z] { [2022-06-17T03:14:49.887Z] "registry-mirrors": [ [2022-06-17T03:14:49.887Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T03:14:49.887Z] ], [2022-06-17T03:14:49.887Z] "bip": "10.250.0.254/24", [2022-06-17T03:14:49.887Z] "hosts": [ [2022-06-17T03:14:49.887Z] "tcp://0.0.0.0:5555", [2022-06-17T03:14:49.887Z] "unix:///var/run/docker.sock" [2022-06-17T03:14:49.887Z] ], [2022-06-17T03:14:49.887Z] "mtu": 1458, [2022-06-17T03:14:49.887Z] "selinux-enabled": true, [2022-06-17T03:14:49.887Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T03:14:49.887Z] } [Pipeline] sh [2022-06-17T03:14:50.269Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T03:14:50.645Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:15:09.078Z] provisioning config files... [2022-06-17T03:15:09.109Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8742607339136978280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:15:09.520Z] ---> docker-login.sh [2022-06-17T03:15:09.520Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:15:10.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:15:10.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:15:10.396Z] Configure a credential helper to remove this warning. See [2022-06-17T03:15:10.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:15:10.396Z] [2022-06-17T03:15:10.396Z] Login Succeeded [2022-06-17T03:15:10.396Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:15:10.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:15:10.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:15:10.946Z] Configure a credential helper to remove this warning. See [2022-06-17T03:15:10.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:15:10.946Z] [2022-06-17T03:15:10.946Z] Login Succeeded [2022-06-17T03:15:10.946Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:15:11.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:15:11.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:15:11.226Z] Configure a credential helper to remove this warning. See [2022-06-17T03:15:11.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:15:11.226Z] [2022-06-17T03:15:11.503Z] Login Succeeded [2022-06-17T03:15:11.503Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:15:11.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:15:11.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:15:11.782Z] Configure a credential helper to remove this warning. See [2022-06-17T03:15:11.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:15:11.782Z] [2022-06-17T03:15:11.782Z] Login Succeeded [2022-06-17T03:15:11.782Z] docker.io [2022-06-17T03:15:12.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:15:12.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:15:12.656Z] Configure a credential helper to remove this warning. See [2022-06-17T03:15:12.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:15:12.656Z] [2022-06-17T03:15:12.656Z] Login Succeeded [2022-06-17T03:15:12.656Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:15:12.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T03:15:13.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:15:13.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:15:13.186Z] ========================================================= [2022-06-17T03:15:13.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T03:15:13.186Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:15:13.716Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T03:15:13.996Z] Sending build context to Docker daemon 5.958MB [2022-06-17T03:15:13.996Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:15:13.996Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T03:15:14.269Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T03:15:14.269Z] 9b3977197b4f: Pulling fs layer [2022-06-17T03:15:14.269Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T03:15:14.269Z] 94645a83ff95: Pulling fs layer [2022-06-17T03:15:14.269Z] e6fb740bc735: Pulling fs layer [2022-06-17T03:15:14.269Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T03:15:14.269Z] 355e64cbe906: Pulling fs layer [2022-06-17T03:15:14.269Z] 63ab81a10011: Pulling fs layer [2022-06-17T03:15:14.269Z] 555d1d1c4555: Pulling fs layer [2022-06-17T03:15:14.269Z] 7d9057610161: Pulling fs layer [2022-06-17T03:15:14.269Z] e6fb740bc735: Waiting [2022-06-17T03:15:14.269Z] 3a77bd46dcc9: Waiting [2022-06-17T03:15:14.269Z] 555d1d1c4555: Waiting [2022-06-17T03:15:14.269Z] 355e64cbe906: Waiting [2022-06-17T03:15:14.269Z] 63ab81a10011: Waiting [2022-06-17T03:15:14.269Z] 7d9057610161: Waiting [2022-06-17T03:15:14.269Z] 94645a83ff95: Download complete [2022-06-17T03:15:14.269Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T03:15:14.269Z] 1a89e8eeedd5: Download complete [2022-06-17T03:15:14.269Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T03:15:14.269Z] 3a77bd46dcc9: Download complete [2022-06-17T03:15:14.269Z] 355e64cbe906: Verifying Checksum [2022-06-17T03:15:14.269Z] 355e64cbe906: Download complete [2022-06-17T03:15:14.269Z] 9b3977197b4f: Download complete [2022-06-17T03:15:14.269Z] 63ab81a10011: Verifying Checksum [2022-06-17T03:15:14.269Z] 63ab81a10011: Download complete [2022-06-17T03:15:15.261Z] 9b3977197b4f: Pull complete [2022-06-17T03:15:15.261Z] 7d9057610161: Verifying Checksum [2022-06-17T03:15:15.261Z] 7d9057610161: Download complete [2022-06-17T03:15:15.874Z] 1a89e8eeedd5: Pull complete [2022-06-17T03:15:16.160Z] 94645a83ff95: Pull complete [2022-06-17T03:15:16.435Z] 555d1d1c4555: Verifying Checksum [2022-06-17T03:15:16.435Z] 555d1d1c4555: Download complete [2022-06-17T03:15:17.031Z] e6fb740bc735: Verifying Checksum [2022-06-17T03:15:17.031Z] e6fb740bc735: Download complete [2022-06-17T03:15:27.187Z] e6fb740bc735: Pull complete [2022-06-17T03:15:27.459Z] 3a77bd46dcc9: Pull complete [2022-06-17T03:15:27.732Z] 355e64cbe906: Pull complete [2022-06-17T03:15:28.008Z] 63ab81a10011: Pull complete [2022-06-17T03:15:33.424Z] 555d1d1c4555: Pull complete [2022-06-17T03:15:34.861Z] 7d9057610161: Pull complete [2022-06-17T03:15:34.861Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T03:15:34.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T03:15:34.861Z] ---> 819e984ddca1 [2022-06-17T03:15:34.861Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T03:15:36.843Z] ---> Running in a9825e1ed83f [2022-06-17T03:15:36.843Z] Removing intermediate container a9825e1ed83f [2022-06-17T03:15:36.843Z] ---> aa7c19f02165 [2022-06-17T03:15:36.843Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T03:15:36.843Z] ---> Running in 985053708b17 [2022-06-17T03:15:37.116Z] Removing intermediate container 985053708b17 [2022-06-17T03:15:37.116Z] ---> d6d8801ecdfd [2022-06-17T03:15:37.116Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T03:15:37.116Z] ---> Running in 9f7eef481d7f [2022-06-17T03:15:37.394Z] Removing intermediate container 9f7eef481d7f [2022-06-17T03:15:37.394Z] ---> f3cf8f47c6e8 [2022-06-17T03:15:37.394Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T03:15:37.673Z] ---> Running in 3d6a737024fa [2022-06-17T03:15:37.946Z] Removing intermediate container 3d6a737024fa [2022-06-17T03:15:37.946Z] ---> 198674afbb77 [2022-06-17T03:15:37.946Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:15:37.946Z] ---> Running in 28bb3858e9b6 [2022-06-17T03:15:39.921Z] Removing intermediate container 28bb3858e9b6 [2022-06-17T03:15:39.921Z] ---> 430bda84c043 [2022-06-17T03:15:39.921Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T03:15:39.921Z] ---> Running in fa3c7dadc5e2 [2022-06-17T03:15:40.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:15:41.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:15:42.102Z] OK: 220 MiB in 52 packages [2022-06-17T03:15:43.102Z] Removing intermediate container fa3c7dadc5e2 [2022-06-17T03:15:43.102Z] ---> 818b93cedb10 [2022-06-17T03:15:43.102Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T03:15:43.102Z] ---> Running in 48e819a177b3 [2022-06-17T03:15:43.374Z] Removing intermediate container 48e819a177b3 [2022-06-17T03:15:43.374Z] ---> baf044b2e817 [2022-06-17T03:15:43.374Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T03:15:45.374Z] ---> 52c1cc048e27 [2022-06-17T03:15:45.374Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:15:45.374Z] ---> Running in 22e06c31aa93 [2022-06-17T03:16:32.368Z] Removing intermediate container 22e06c31aa93 [2022-06-17T03:16:32.368Z] ---> 12350c3104b6 [2022-06-17T03:16:32.368Z] Step 12/13 : COPY . . [2022-06-17T03:16:32.368Z] ---> 926fa3aa48cd [2022-06-17T03:16:32.368Z] Step 13/13 : RUN ${MAKE} [2022-06-17T03:16:32.368Z] ---> Running in 0f412b622e7e [2022-06-17T03:16:33.343Z] noop [2022-06-17T03:16:33.943Z] Removing intermediate container 0f412b622e7e [2022-06-17T03:16:33.943Z] ---> 5d148d5ca45e [2022-06-17T03:16:33.943Z] Successfully built 5d148d5ca45e [2022-06-17T03:16:33.943Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:16:34.479Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T03:16:34.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:16:34.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2022-06-17T03:16:34.884Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-17T03:16:36.098Z] $ docker top cd0b6d52a8c185d4543a82b712895a7f835201cdd016a5a389a2a2a046178fd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:16:37.034Z] + go version [2022-06-17T03:16:37.034Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T03:16:37.076Z] $ docker stop --time=1 cd0b6d52a8c185d4543a82b712895a7f835201cdd016a5a389a2a2a046178fd8 [2022-06-17T03:16:38.702Z] $ docker rm -f cd0b6d52a8c185d4543a82b712895a7f835201cdd016a5a389a2a2a046178fd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:16:39.605Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T03:16:39.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:16:39.897Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2022-06-17T03:16:39.985Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-17T03:16:41.196Z] $ docker top e50b7de4bf7aaffb094d76d5f9813577a7d58b8d763a513ea6c528bfa8cbf66e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T03:16:42.193Z] + make test [2022-06-17T03:16:42.193Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T03:16:44.206Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T03:18:21.091Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T03:18:21.091Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 1.2% of statements [2022-06-17T03:18:39.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.387s coverage: 13.8% of statements [2022-06-17T03:18:39.422Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T03:18:39.422Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T03:19:11.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T03:19:11.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T03:19:11.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T03:19:11.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T03:19:12.006Z] $ docker stop --time=1 e50b7de4bf7aaffb094d76d5f9813577a7d58b8d763a513ea6c528bfa8cbf66e [2022-06-17T03:19:13.891Z] $ docker rm -f e50b7de4bf7aaffb094d76d5f9813577a7d58b8d763a513ea6c528bfa8cbf66e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:19:15.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T03:19:15.065Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T03:19:15.648Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:19:16.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T03:19:16.610Z] + ls -al . [2022-06-17T03:19:16.611Z] total 232 [2022-06-17T03:19:16.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:19 . [2022-06-17T03:19:16.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 .. [2022-06-17T03:19:16.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:14 .git [2022-06-17T03:19:16.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 .github [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 03:14 .gitignore [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:14 .golangci.yml [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 03:14 Attribution.txt [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 03:14 CHANGELOG.md [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 03:14 Dockerfile [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:14 GOVERNANCE.md [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 03:14 Jenkinsfile [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 03:14 LICENSE [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 03:14 Makefile [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 03:14 OWNERS.md [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 03:14 README.md [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:12 VERSION [2022-06-17T03:19:16.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 bin [2022-06-17T03:19:16.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:14 cmd [2022-06-17T03:19:16.611Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 03:18 coverage.out [2022-06-17T03:19:16.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 doc [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 03:14 go.mod [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 03:14 go.sum [2022-06-17T03:19:16.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 internal [2022-06-17T03:19:16.611Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:19:17.057Z] + 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=f98d7c4d4b6e300c244f2cb70cc735d43abe332d --label arch=arm64 --label version=0.0.0 . [2022-06-17T03:19:17.666Z] Sending build context to Docker daemon 6.019MB [2022-06-17T03:19:17.666Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:19:17.666Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T03:19:17.666Z] ---> 5d148d5ca45e [2022-06-17T03:19:17.666Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T03:19:17.666Z] ---> Running in 042f4114059d [2022-06-17T03:19:17.946Z] Removing intermediate container 042f4114059d [2022-06-17T03:19:17.946Z] ---> 0c20dc03e6e6 [2022-06-17T03:19:17.946Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T03:19:17.946Z] ---> Running in ef86e6e03521 [2022-06-17T03:19:18.552Z] Removing intermediate container ef86e6e03521 [2022-06-17T03:19:18.552Z] ---> a45d14f6f60a [2022-06-17T03:19:18.552Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T03:19:18.552Z] ---> Running in 9e4047eab240 [2022-06-17T03:19:18.827Z] Removing intermediate container 9e4047eab240 [2022-06-17T03:19:18.827Z] ---> c66bb4a5b58b [2022-06-17T03:19:18.827Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T03:19:18.827Z] ---> Running in 475e11dff526 [2022-06-17T03:19:19.104Z] Removing intermediate container 475e11dff526 [2022-06-17T03:19:19.104Z] ---> 638f7ab18d94 [2022-06-17T03:19:19.105Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:19:19.105Z] ---> Running in 0c8414477a02 [2022-06-17T03:19:21.108Z] Removing intermediate container 0c8414477a02 [2022-06-17T03:19:21.108Z] ---> d3069744fb52 [2022-06-17T03:19:21.108Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T03:19:21.108Z] ---> Running in efee3a6bf529 [2022-06-17T03:19:22.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:19:23.089Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:19:24.074Z] OK: 220 MiB in 52 packages [2022-06-17T03:19:25.068Z] Removing intermediate container efee3a6bf529 [2022-06-17T03:19:25.068Z] ---> a8965666c077 [2022-06-17T03:19:25.068Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T03:19:25.068Z] ---> Running in 1ef8da04cc02 [2022-06-17T03:19:25.343Z] Removing intermediate container 1ef8da04cc02 [2022-06-17T03:19:25.343Z] ---> 7e7d0856b2a5 [2022-06-17T03:19:25.343Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T03:19:25.944Z] ---> 01d1fafffeeb [2022-06-17T03:19:25.944Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:19:25.944Z] ---> Running in cc6c4f53290f [2022-06-17T03:19:27.944Z] Removing intermediate container cc6c4f53290f [2022-06-17T03:19:27.944Z] ---> 1a717034bae2 [2022-06-17T03:19:27.944Z] Step 12/26 : COPY . . [2022-06-17T03:19:28.932Z] ---> ad564b6a42c8 [2022-06-17T03:19:28.932Z] Step 13/26 : RUN ${MAKE} [2022-06-17T03:19:29.212Z] ---> Running in d5bf7d5ecd7e [2022-06-17T03:19:30.206Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-17T03:21:52.145Z] Removing intermediate container d5bf7d5ecd7e [2022-06-17T03:21:52.145Z] ---> 7e1fbc08ddb8 [2022-06-17T03:21:52.145Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T03:21:52.145Z] 3.15: Pulling from library/alpine [2022-06-17T03:21:52.145Z] 9981e73032c8: Pulling fs layer [2022-06-17T03:21:52.145Z] 9981e73032c8: Verifying Checksum [2022-06-17T03:21:52.145Z] 9981e73032c8: Download complete [2022-06-17T03:21:52.145Z] 9981e73032c8: Pull complete [2022-06-17T03:21:52.145Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T03:21:52.145Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T03:21:52.145Z] ---> 3fb3c9af89a9 [2022-06-17T03:21:52.145Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T03:21:52.145Z] ---> Running in cf00c6b80f76 [2022-06-17T03:21:52.145Z] Removing intermediate container cf00c6b80f76 [2022-06-17T03:21:52.145Z] ---> 5f1e84d8eef0 [2022-06-17T03:21:52.145Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T03:21:52.145Z] ---> Running in 937a9e930500 [2022-06-17T03:21:52.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:21:52.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:21:52.145Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T03:21:52.145Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T03:21:52.145Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T03:21:52.145Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T03:21:52.145Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T03:21:52.145Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T03:21:52.145Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T03:21:52.145Z] OK: 8 MiB in 20 packages [2022-06-17T03:21:52.145Z] Removing intermediate container 937a9e930500 [2022-06-17T03:21:52.145Z] ---> f7a2bac2be7a [2022-06-17T03:21:52.145Z] Step 17/26 : WORKDIR / [2022-06-17T03:21:52.145Z] ---> Running in 944b0cfa9697 [2022-06-17T03:21:52.145Z] Removing intermediate container 944b0cfa9697 [2022-06-17T03:21:52.145Z] ---> cdd3a854302f [2022-06-17T03:21:52.145Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T03:21:52.145Z] ---> c37245ea8e17 [2022-06-17T03:21:52.145Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T03:21:52.145Z] ---> 8feffdbabc11 [2022-06-17T03:21:52.145Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T03:21:52.145Z] ---> 1b8f8fe4ef55 [2022-06-17T03:21:52.145Z] Step 21/26 : EXPOSE 59984 [2022-06-17T03:21:52.145Z] ---> Running in 6e691803990b [2022-06-17T03:21:52.145Z] Removing intermediate container 6e691803990b [2022-06-17T03:21:52.145Z] ---> c341e1de82e4 [2022-06-17T03:21:52.145Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T03:21:52.145Z] ---> Running in 7d1914f13d5e [2022-06-17T03:21:52.420Z] Removing intermediate container 7d1914f13d5e [2022-06-17T03:21:52.420Z] ---> 96f6fff0dc31 [2022-06-17T03:21:52.420Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T03:21:52.420Z] ---> Running in 89beb5ecb168 [2022-06-17T03:21:52.698Z] Removing intermediate container 89beb5ecb168 [2022-06-17T03:21:52.698Z] ---> 100f8eafcbd4 [2022-06-17T03:21:52.698Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T03:21:52.698Z] ---> Running in 8a558866e581 [2022-06-17T03:21:53.301Z] Removing intermediate container 8a558866e581 [2022-06-17T03:21:53.301Z] ---> 80e42861bb0b [2022-06-17T03:21:53.301Z] Step 25/26 : LABEL git_sha=f98d7c4d4b6e300c244f2cb70cc735d43abe332d [2022-06-17T03:21:53.301Z] ---> Running in 8c44c0b54c01 [2022-06-17T03:21:53.577Z] Removing intermediate container 8c44c0b54c01 [2022-06-17T03:21:53.577Z] ---> a5a75d0a614e [2022-06-17T03:21:53.577Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T03:21:53.577Z] ---> Running in 4e8363f25a9d [2022-06-17T03:21:53.852Z] Removing intermediate container 4e8363f25a9d [2022-06-17T03:21:53.852Z] ---> 6e98e757ff65 [2022-06-17T03:21:53.852Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T03:21:53.852Z] Successfully built 6e98e757ff65 [2022-06-17T03:21:53.852Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:21:54.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:21:54.650Z] [2022-06-17T03:21:54.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:21:55.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:21:55.356Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T03:21:55.356Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T03:21:55.356Z] 04944245beec: Pulling fs layer [2022-06-17T03:21:55.356Z] 699f458cf7ca: Pulling fs layer [2022-06-17T03:21:55.356Z] 765212b225bb: Pulling fs layer [2022-06-17T03:21:55.356Z] f23df028b6ca: Pulling fs layer [2022-06-17T03:21:55.356Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T03:21:55.356Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T03:21:55.356Z] 765212b225bb: Waiting [2022-06-17T03:21:55.356Z] f23df028b6ca: Waiting [2022-06-17T03:21:55.356Z] d65c8cfc05b1: Waiting [2022-06-17T03:21:55.356Z] 2437ff75d9bd: Waiting [2022-06-17T03:21:55.356Z] 04944245beec: Download complete [2022-06-17T03:21:55.356Z] 765212b225bb: Verifying Checksum [2022-06-17T03:21:55.356Z] 765212b225bb: Download complete [2022-06-17T03:21:55.356Z] f23df028b6ca: Verifying Checksum [2022-06-17T03:21:55.356Z] f23df028b6ca: Download complete [2022-06-17T03:21:55.636Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T03:21:55.636Z] d65c8cfc05b1: Download complete [2022-06-17T03:21:55.636Z] 699f458cf7ca: Verifying Checksum [2022-06-17T03:21:55.636Z] 699f458cf7ca: Download complete [2022-06-17T03:21:55.917Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T03:21:55.917Z] 8998bd30e6a1: Download complete [2022-06-17T03:21:58.556Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T03:21:58.556Z] 2437ff75d9bd: Download complete [2022-06-17T03:22:00.548Z] 8998bd30e6a1: Pull complete [2022-06-17T03:22:01.149Z] 04944245beec: Pull complete [2022-06-17T03:22:02.588Z] 699f458cf7ca: Pull complete [2022-06-17T03:22:02.863Z] 765212b225bb: Pull complete [2022-06-17T03:22:03.465Z] f23df028b6ca: Pull complete [2022-06-17T03:22:04.065Z] d65c8cfc05b1: Pull complete [2022-06-17T03:22:19.179Z] 2437ff75d9bd: Pull complete [2022-06-17T03:22:19.179Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T03:22:19.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:22:19.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:22:19.585Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2022-06-17T03:22:19.690Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T03:22:22.491Z] $ docker top 685718d403962a1705f9fc8c0a7f1598139effe2ce4c4fa0f2d1b308827637a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:23.467Z] ---> job-cost.sh [2022-06-17T03:22:23.467Z] lf-activate-venv: SKIPPING [2022-06-17T03:22:23.467Z] INFO: No Stack... [2022-06-17T03:22:24.062Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T03:22:24.659Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T03:22:25.382Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-17T03:22:25.382Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T03:22:25.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [2022-06-17T03:22:25.469Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] did not exist. Created. [2022-06-17T03:22:25.470Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T03:22:26.214Z] /w/workspace/device-onvif-camera/1@tmp/durable-7e73d552/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T03:22:26.908Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T03:22:26.945Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T03:22:26.995Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T03:22:27.013Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-84-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T03:22:27.104Z] $ docker stop --time=1 685718d403962a1705f9fc8c0a7f1598139effe2ce4c4fa0f2d1b308827637a8 [2022-06-17T03:22:28.602Z] $ docker rm -f 685718d403962a1705f9fc8c0a7f1598139effe2ce4c4fa0f2d1b308827637a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-17T03:22:29.595Z] provisioning config files... [2022-06-17T03:22:29.604Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-84@tmp/config4815860453799276522tmp [Pipeline] { [Pipeline] sh [2022-06-17T03:22:29.938Z] + set +x [2022-06-17T03:22:29.938Z] + curl -s https://codecov.io/bash [2022-06-17T03:22:29.938Z] + bash -s -- [2022-06-17T03:22:29.938Z] [2022-06-17T03:22:29.938Z] _____ _ [2022-06-17T03:22:29.938Z] / ____| | | [2022-06-17T03:22:29.938Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T03:22:29.938Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T03:22:29.938Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T03:22:29.938Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T03:22:29.938Z] Bash-1.0.6 [2022-06-17T03:22:29.938Z] [2022-06-17T03:22:29.938Z] [2022-06-17T03:22:29.938Z] ==> git version 2.25.1 found [2022-06-17T03:22:29.938Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-17T03:22:29.938Z] Release-Date: 2020-01-08 [2022-06-17T03:22:29.938Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T03:22:29.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T03:22:29.938Z] ==> Jenkins CI detected. [2022-06-17T03:22:29.938Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-84 [2022-06-17T03:22:29.938Z] project root: . [2022-06-17T03:22:29.938Z] --> token set from env [2022-06-17T03:22:29.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T03:22:29.938Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T03:22:29.938Z] ==> Python coveragepy not found [2022-06-17T03:22:29.938Z] ==> Searching for coverage reports in: [2022-06-17T03:22:29.938Z] + . [2022-06-17T03:22:29.938Z] -> Found 1 reports [2022-06-17T03:22:29.938Z] ==> Detecting git/mercurial file structure [2022-06-17T03:22:29.938Z] ==> Reading reports [2022-06-17T03:22:29.938Z] + ./coverage.out bytes=59480 [2022-06-17T03:22:29.938Z] ==> Appending adjustments [2022-06-17T03:22:29.938Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T03:22:30.202Z] + Found adjustments [2022-06-17T03:22:30.202Z] ==> Gzipping contents [2022-06-17T03:22:30.202Z] 8.0K /tmp/codecov.B1ClCr.gz [2022-06-17T03:22:30.202Z] ==> Uploading reports [2022-06-17T03:22:30.202Z] url: https://codecov.io [2022-06-17T03:22:30.202Z] query: branch=PR-84&commit=f98d7c4d4b6e300c244f2cb70cc735d43abe332d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-84%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=84&job=&cmd_args= [2022-06-17T03:22:30.202Z] -> Pinging Codecov [2022-06-17T03:22:30.202Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-84&commit=f98d7c4d4b6e300c244f2cb70cc735d43abe332d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-84%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=84&job=&cmd_args= [2022-06-17T03:22:30.463Z] -> Uploading to [2022-06-17T03:22:30.463Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/F29A59C45E3A92E06B3E522C9905F8EF/f98d7c4d4b6e300c244f2cb70cc735d43abe332d/0ecf0fa5-5823-4a79-921b-9d371274733a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T032230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60cf08b75965b14bf8f7cd91b8343c606aa55158448da5366eda1708f13041fd [2022-06-17T03:22:30.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T03:22:30.463Z] Dload Upload Total Spent Left Speed [2022-06-17T03:22:30.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7663 0 0 100 7663 0 30050 --:--:-- --:--:-- --:--:-- 30050 [2022-06-17T03:22:30.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/f98d7c4d4b6e300c244f2cb70cc735d43abe332d [Pipeline] } [2022-06-17T03:22:30.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-17T03:22:32.515Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-84/archives ] [2022-06-17T03:22:32.515Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-84/archives [2022-06-17T03:22:32.515Z] total 16 [2022-06-17T03:22:32.515Z] drwxr-xr-x 3 root root 4096 Jun 17 03:13 . [2022-06-17T03:22:32.515Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 03:13 .. [2022-06-17T03:22:32.515Z] drwxr-xr-x 2 root root 4096 Jun 17 03:13 cost [2022-06-17T03:22:32.515Z] -rw-r--r-- 1 root root 89 Jun 17 03:13 cost.csv [2022-06-17T03:22:32.515Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-84/archives [2022-06-17T03:22:32.515Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-84/archives [2022-06-17T03:22:32.515Z] total 16 [2022-06-17T03:22:32.515Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:13 . [2022-06-17T03:22:32.515Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 03:13 .. [2022-06-17T03:22:32.515Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 03:13 cost [2022-06-17T03:22:32.515Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 17 03:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:32.852Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:33.754Z] ---> package-listing.sh [2022-06-17T03:22:33.754Z] ++ facter osfamily [2022-06-17T03:22:33.754Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T03:22:34.016Z] + OS_FAMILY=debian [2022-06-17T03:22:34.016Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-84 [2022-06-17T03:22:34.016Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T03:22:34.016Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T03:22:34.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T03:22:34.016Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T03:22:34.016Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-84 ']' [2022-06-17T03:22:34.016Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T03:22:34.016Z] + case "${OS_FAMILY}" in [2022-06-17T03:22:34.016Z] + dpkg -l [2022-06-17T03:22:34.016Z] + grep '^ii' [2022-06-17T03:22:34.016Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T03:22:34.016Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T03:22:34.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T03:22:34.016Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-84 ']' [2022-06-17T03:22:34.016Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-84/archives/ [2022-06-17T03:22:34.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-84/archives/ [Pipeline] echo [2022-06-17T03:22:34.052Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-84/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T03:22:34.350Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:22:34.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:22:34.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:22:35.146Z] prd-ubuntu20.04-docker-8c-8g-2531 does not seem to be running inside a container [2022-06-17T03:22:35.182Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-84/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-84 -v /w/workspace/oundry_device-onvif-camera_PR-84:/w/workspace/oundry_device-onvif-camera_PR-84:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-84@tmp:/w/workspace/oundry_device-onvif-camera_PR-84@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-06-17T03:22:35.409Z] $ docker top 8b54285ac02dff91b9f491b728c6966d1ed3d950d27d3e1c73b0d677ffff0a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:22:35.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T03:22:36.128Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T03:22:36.451Z] + ls /var/log/sa-host [2022-06-17T03:22:36.451Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:22:36.588Z] provisioning config files... [2022-06-17T03:22:36.599Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-84@tmp/config7599429890162801838tmp [Pipeline] { [Pipeline] echo [2022-06-17T03:22:36.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:36.970Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T03:22:36.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:37.398Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T03:22:37.435Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:37.752Z] ---> sudo-logs.sh [2022-06-17T03:22:37.752Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T03:22:37.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:38.162Z] ---> job-cost.sh [2022-06-17T03:22:38.162Z] lf-activate-venv: SKIPPING [2022-06-17T03:22:38.162Z] DEBUG: total: 0.2199999988079071 [2022-06-17T03:22:38.162Z] INFO: Retrieving Stack Cost... [2022-06-17T03:22:38.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T03:22:38.997Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T03:22:39.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:22:39.352Z] ---> logs-deploy.sh [2022-06-17T03:22:39.352Z] lf-activate-venv: SKIPPING [2022-06-17T03:22:39.352Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-84/1 [2022-06-17T03:22:39.352Z] INFO: archiving workspace using pattern(s): [2022-06-17T03:22:40.296Z] Archives upload complete. [2022-06-17T03:22:40.296Z] INFO: archiving logs to Nexus