Pull request #81 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than da7854ab21232d5dbf60bcb854cc72cdbe7fb0d8 Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh10463699537419576437.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh3711361862703797902.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17745408166901069196.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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7091993875770609126.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh15980706263343200479.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-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18099196440464256771.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1557 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-81 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit da7854ab21232d5dbf60bcb854cc72cdbe7fb0d8 Merge succeeded, producing 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced Checking out Revision 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced (PR-81) > 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/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da7854ab21232d5dbf60bcb854cc72cdbe7fb0d8 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-06T23:19:06.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-06T23:19:07.146Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-06T23:19:07.226Z] ========================================================= [2022-06-06T23:19:07.226Z] EdgeX Global Pipelines Version Info [2022-06-06T23:19:07.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:19:08.019Z] ------------------- [2022-06-06T23:19:08.019Z] stable info: [2022-06-06T23:19:08.019Z] ------------------- [2022-06-06T23:19:08.019Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-06T23:19:08.019Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T23:19:08.019Z] Message: update stable to v1.0.232 [2022-06-06T23:19:08.592Z] ------------------- [2022-06-06T23:19:08.592Z] experimental info: [2022-06-06T23:19:08.592Z] ------------------- [2022-06-06T23:19:08.592Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-06T23:19:08.592Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T23:19:08.592Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-06T23:19:08.983Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-06T23:19:09.026Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-06T23:19:09.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-06T23:19:09.106Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-06T23:19:09.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-06T23:19:09.189Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-06T23:19:09.227Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-06T23:19:09.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-06T23:19:09.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-06T23:19:09.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-06T23:19:09.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-06T23:19:09.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-06T23:19:09.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-06T23:19:09.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-06T23:19:09.546Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T23:19:09.584Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T23:19:09.624Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T23:19:09.665Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T23:19:09.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-06T23:19:09.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-06T23:19:09.784Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-06T23:19:09.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-06T23:19:09.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-06T23:19:09.908Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-06T23:19:09.946Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-06T23:19:09.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-06T23:19:10.033Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-06T23:19:10.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-06T23:19:10.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-06T23:19:10.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-06T23:19:10.203Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [Pipeline] echo [2022-06-06T23:19:10.243Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf2c7a [Pipeline] echo [2022-06-06T23:19:10.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T23:19:10.405Z] provisioning config files... [2022-06-06T23:19:10.420Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4157389526955072194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:19:10.773Z] ---> docker-login.sh [2022-06-06T23:19:10.773Z] nexus3.edgexfoundry.org:10001 [2022-06-06T23:19:11.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:11.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:11.034Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:11.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:11.034Z] [2022-06-06T23:19:11.034Z] Login Succeeded [2022-06-06T23:19:11.034Z] nexus3.edgexfoundry.org:10002 [2022-06-06T23:19:11.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:11.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:11.298Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:11.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:11.298Z] [2022-06-06T23:19:11.298Z] Login Succeeded [2022-06-06T23:19:11.298Z] nexus3.edgexfoundry.org:10003 [2022-06-06T23:19:11.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:11.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:11.298Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:11.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:11.298Z] [2022-06-06T23:19:11.298Z] Login Succeeded [2022-06-06T23:19:11.298Z] nexus3.edgexfoundry.org:10004 [2022-06-06T23:19:11.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:11.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:11.560Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:11.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:11.560Z] [2022-06-06T23:19:11.560Z] Login Succeeded [2022-06-06T23:19:11.560Z] docker.io [2022-06-06T23:19:11.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:12.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:12.135Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:12.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:12.135Z] [2022-06-06T23:19:12.135Z] Login Succeeded [2022-06-06T23:19:12.135Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T23:19:12.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-06T23:19:12.789Z] + git rev-list -1 --merges 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced~1..2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [Pipeline] echo [2022-06-06T23:19:12.834Z] -----------> git rev-list -1 --merges 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced~1..2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [2022-06-06T23:19:12.834Z] 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [false] [Pipeline] sh [2022-06-06T23:19:13.147Z] + git log --format=format:%s -1 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [Pipeline] echo [2022-06-06T23:19:13.186Z] ========================================================= [2022-06-06T23:19:13.186Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-06T23:19:13.186Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T23:19:13.642Z] + git log --format=format:%s -1 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [Pipeline] echo [2022-06-06T23:19:13.678Z] [semverPrep] GIT_COMMIT: 2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-06T23:19:13.708Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-06T23:19:14.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T23:19:14.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-06T23:19:14.104Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-06T23:19:14.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-06T23:19:14.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-06T23:19:14.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-06T23:19:14.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:19:14.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T23:19:14.597Z] [2022-06-06T23:19:14.597Z] 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-06T23:19:14.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T23:19:14.966Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-06T23:19:14.966Z] 42c077c10790: Pulling fs layer [2022-06-06T23:19:14.966Z] f63e77b7563a: Pulling fs layer [2022-06-06T23:19:14.966Z] bd5fdadae976: Pulling fs layer [2022-06-06T23:19:14.966Z] 205491f53016: Pulling fs layer [2022-06-06T23:19:14.966Z] df18705c85c3: Pulling fs layer [2022-06-06T23:19:14.966Z] bdb3f477010e: Pulling fs layer [2022-06-06T23:19:14.966Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-06T23:19:14.966Z] 2c6e9b1d212d: Pulling fs layer [2022-06-06T23:19:14.967Z] bdb8f0575790: Pulling fs layer [2022-06-06T23:19:14.967Z] 386e3cb2ff24: Pulling fs layer [2022-06-06T23:19:14.967Z] 2343380bae48: Pulling fs layer [2022-06-06T23:19:14.967Z] 205491f53016: Waiting [2022-06-06T23:19:14.967Z] 2c6e9b1d212d: Waiting [2022-06-06T23:19:14.967Z] bdb8f0575790: Waiting [2022-06-06T23:19:14.967Z] 386e3cb2ff24: Waiting [2022-06-06T23:19:14.967Z] bdb3f477010e: Waiting [2022-06-06T23:19:14.967Z] c8a8fc8e1c8f: Waiting [2022-06-06T23:19:14.967Z] df18705c85c3: Waiting [2022-06-06T23:19:14.967Z] 2343380bae48: Waiting [2022-06-06T23:19:14.967Z] f63e77b7563a: Download complete [2022-06-06T23:19:14.967Z] 205491f53016: Verifying Checksum [2022-06-06T23:19:14.967Z] 205491f53016: Download complete [2022-06-06T23:19:15.227Z] df18705c85c3: Download complete [2022-06-06T23:19:15.227Z] bdb3f477010e: Download complete [2022-06-06T23:19:15.227Z] bd5fdadae976: Verifying Checksum [2022-06-06T23:19:15.227Z] bd5fdadae976: Download complete [2022-06-06T23:19:15.227Z] 2c6e9b1d212d: Verifying Checksum [2022-06-06T23:19:15.227Z] 2c6e9b1d212d: Download complete [2022-06-06T23:19:15.227Z] bdb8f0575790: Download complete [2022-06-06T23:19:15.227Z] 386e3cb2ff24: Verifying Checksum [2022-06-06T23:19:15.227Z] 386e3cb2ff24: Download complete [2022-06-06T23:19:15.227Z] 42c077c10790: Verifying Checksum [2022-06-06T23:19:15.227Z] 42c077c10790: Download complete [2022-06-06T23:19:15.488Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-06T23:19:15.488Z] c8a8fc8e1c8f: Download complete [2022-06-06T23:19:16.870Z] 42c077c10790: Pull complete [2022-06-06T23:19:16.870Z] f63e77b7563a: Pull complete [2022-06-06T23:19:17.441Z] bd5fdadae976: Pull complete [2022-06-06T23:19:17.441Z] 205491f53016: Pull complete [2022-06-06T23:19:17.703Z] df18705c85c3: Pull complete [2022-06-06T23:19:17.703Z] bdb3f477010e: Pull complete [2022-06-06T23:19:20.248Z] c8a8fc8e1c8f: Pull complete [2022-06-06T23:19:20.248Z] 2c6e9b1d212d: Pull complete [2022-06-06T23:19:20.248Z] bdb8f0575790: Pull complete [2022-06-06T23:19:20.248Z] 386e3cb2ff24: Pull complete [2022-06-06T23:19:20.248Z] 2343380bae48: Pull complete [2022-06-06T23:19:20.248Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-06T23:19:20.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T23:19:20.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:19:20.479Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2022-06-06T23:19:20.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-06T23:19:21.755Z] $ docker top 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 -eo pid,comm [2022-06-06T23:19:21.833Z] 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-06T23:19:21.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T23:19:21.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T23:19:21.951Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T23:19:22.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T23:19:22.075Z] $ docker exec 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 ssh-agent [2022-06-06T23:19:22.220Z] SSH_AUTH_SOCK=/tmp/ssh-v6adDlTtRX2Y/agent.33 [2022-06-06T23:19:22.220Z] SSH_AGENT_PID=39 [2022-06-06T23:19:22.228Z] Running ssh-add (command line suppressed) [2022-06-06T23:19:22.354Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2174262519737052951.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2174262519737052951.key) [2022-06-06T23:19:22.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T23:19:22.716Z] + git tag --points-at HEAD [Pipeline] } [2022-06-06T23:19:22.745Z] $ docker exec --env ******** --env ******** 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 ssh-agent -k [2022-06-06T23:19:22.864Z] unset SSH_AUTH_SOCK; [2022-06-06T23:19:22.865Z] unset SSH_AGENT_PID; [2022-06-06T23:19:22.865Z] echo Agent pid 39 killed; [2022-06-06T23:19:22.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-06T23:19:22.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T23:19:22.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T23:19:23.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T23:19:23.095Z] $ docker exec 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 ssh-agent [2022-06-06T23:19:23.251Z] SSH_AUTH_SOCK=/tmp/ssh-FTmqp0blgeuQ/agent.72 [2022-06-06T23:19:23.251Z] SSH_AGENT_PID=78 [2022-06-06T23:19:23.257Z] Running ssh-add (command line suppressed) [2022-06-06T23:19:23.368Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8454645065297145828.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8454645065297145828.key) [2022-06-06T23:19:23.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T23:19:23.713Z] + git semver init [2022-06-06T23:19:23.974Z] 2022-06-06 23:19:23,902 [run_init] DEBUG init version:0.0.0 force:False [2022-06-06T23:19:23.974Z] 2022-06-06 23:19:23,902 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-06T23:19:23.975Z] 2022-06-06 23:19:23,903 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-06T23:19:23.975Z] 2022-06-06 23:19:23,903 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,560 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,560 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,563 [execute] INFO git cat-file --batch-check [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,569 [execute] INFO git cat-file --batch [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-06T23:19:24.918Z] 2022-06-06 23:19:24,574 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-06T23:19:24.918Z] 0.0.0 [Pipeline] } [2022-06-06T23:19:24.945Z] $ docker exec --env ******** --env ******** 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 ssh-agent -k [2022-06-06T23:19:25.066Z] unset SSH_AUTH_SOCK; [2022-06-06T23:19:25.066Z] unset SSH_AGENT_PID; [2022-06-06T23:19:25.066Z] echo Agent pid 78 killed; [2022-06-06T23:19:25.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T23:19:25.504Z] + git semver [Pipeline] } [2022-06-06T23:19:25.790Z] $ docker stop --time=1 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 [2022-06-06T23:19:27.106Z] $ docker rm -f 473b0721a53a0ad1a8ed73dc120d5df425419156c36129d03c4969a1a59f6908 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T23:19:27.521Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-06T23:19:27.842Z] Stashed 1 file(s) [Pipeline] echo [2022-06-06T23:19:27.859Z] [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-06T23:19:28.394Z] provisioning config files... [2022-06-06T23:19:28.405Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7688568704335031168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:19:28.754Z] ---> docker-login.sh [2022-06-06T23:19:28.754Z] nexus3.edgexfoundry.org:10001 [2022-06-06T23:19:28.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:28.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:28.754Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:28.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:28.754Z] [2022-06-06T23:19:28.754Z] Login Succeeded [2022-06-06T23:19:28.754Z] nexus3.edgexfoundry.org:10002 [2022-06-06T23:19:28.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:29.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:29.015Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:29.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:29.015Z] [2022-06-06T23:19:29.015Z] Login Succeeded [2022-06-06T23:19:29.015Z] nexus3.edgexfoundry.org:10003 [2022-06-06T23:19:29.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:29.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:29.015Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:29.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:29.015Z] [2022-06-06T23:19:29.015Z] Login Succeeded [2022-06-06T23:19:29.015Z] nexus3.edgexfoundry.org:10004 [2022-06-06T23:19:29.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:29.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:29.277Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:29.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:29.277Z] [2022-06-06T23:19:29.277Z] Login Succeeded [2022-06-06T23:19:29.277Z] docker.io [2022-06-06T23:19:29.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:19:29.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:19:29.539Z] Configure a credential helper to remove this warning. See [2022-06-06T23:19:29.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:19:29.539Z] [2022-06-06T23:19:29.539Z] Login Succeeded [2022-06-06T23:19:29.539Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T23:19:29.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T23:19:29.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T23:19:29.807Z] ========================================================= [2022-06-06T23:19:29.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-06T23:19:29.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:19:30.269Z] + 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-06T23:19:30.269Z] Sending build context to Docker daemon 8.838MB [2022-06-06T23:19:30.269Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T23:19:30.269Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-06T23:19:30.269Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-06T23:19:30.269Z] 59bf1c3509f3: Pulling fs layer [2022-06-06T23:19:30.269Z] 666ba61612fd: Pulling fs layer [2022-06-06T23:19:30.269Z] 8ed8ca486205: Pulling fs layer [2022-06-06T23:19:30.269Z] cc1cd167ecdc: Pulling fs layer [2022-06-06T23:19:30.269Z] c516ae0d96e1: Pulling fs layer [2022-06-06T23:19:30.269Z] 684cea983483: Pulling fs layer [2022-06-06T23:19:30.269Z] cc1cd167ecdc: Waiting [2022-06-06T23:19:30.269Z] c516ae0d96e1: Waiting [2022-06-06T23:19:30.269Z] dd3240ac7de5: Pulling fs layer [2022-06-06T23:19:30.269Z] b1e948a4e11c: Pulling fs layer [2022-06-06T23:19:30.269Z] a8fd76ee1af6: Pulling fs layer [2022-06-06T23:19:30.269Z] 684cea983483: Waiting [2022-06-06T23:19:30.269Z] dd3240ac7de5: Waiting [2022-06-06T23:19:30.269Z] b1e948a4e11c: Waiting [2022-06-06T23:19:30.269Z] 646ad004c059: Pulling fs layer [2022-06-06T23:19:30.269Z] 646ad004c059: Waiting [2022-06-06T23:19:30.269Z] 8ed8ca486205: Download complete [2022-06-06T23:19:30.534Z] 666ba61612fd: Verifying Checksum [2022-06-06T23:19:30.534Z] 666ba61612fd: Download complete [2022-06-06T23:19:30.534Z] c516ae0d96e1: Verifying Checksum [2022-06-06T23:19:30.534Z] c516ae0d96e1: Download complete [2022-06-06T23:19:30.534Z] 684cea983483: Download complete [2022-06-06T23:19:30.534Z] dd3240ac7de5: Download complete [2022-06-06T23:19:30.534Z] 59bf1c3509f3: Verifying Checksum [2022-06-06T23:19:30.534Z] 59bf1c3509f3: Download complete [2022-06-06T23:19:30.534Z] b1e948a4e11c: Verifying Checksum [2022-06-06T23:19:30.534Z] b1e948a4e11c: Download complete [2022-06-06T23:19:30.534Z] 59bf1c3509f3: Pull complete [2022-06-06T23:19:30.794Z] 666ba61612fd: Pull complete [2022-06-06T23:19:30.794Z] 8ed8ca486205: Pull complete [2022-06-06T23:19:30.794Z] 646ad004c059: Verifying Checksum [2022-06-06T23:19:30.794Z] 646ad004c059: Download complete [2022-06-06T23:19:31.058Z] a8fd76ee1af6: Verifying Checksum [2022-06-06T23:19:31.058Z] a8fd76ee1af6: Download complete [2022-06-06T23:19:31.058Z] cc1cd167ecdc: Verifying Checksum [2022-06-06T23:19:31.058Z] cc1cd167ecdc: Download complete [2022-06-06T23:19:35.253Z] cc1cd167ecdc: Pull complete [2022-06-06T23:19:35.253Z] c516ae0d96e1: Pull complete [2022-06-06T23:19:35.253Z] 684cea983483: Pull complete [2022-06-06T23:19:35.253Z] dd3240ac7de5: Pull complete [2022-06-06T23:19:35.253Z] b1e948a4e11c: Pull complete [2022-06-06T23:19:37.175Z] a8fd76ee1af6: Pull complete [2022-06-06T23:19:38.117Z] 646ad004c059: Pull complete [2022-06-06T23:19:38.118Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-06T23:19:38.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-06T23:19:38.118Z] ---> 8f69c11f6b0c [2022-06-06T23:19:38.118Z] Step 3/13 : ARG MAKE="make build" [2022-06-06T23:19:39.510Z] ---> Running in 75bbd28dba23 [2022-06-06T23:19:39.510Z] Removing intermediate container 75bbd28dba23 [2022-06-06T23:19:39.510Z] ---> ee636cc800fb [2022-06-06T23:19:39.510Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T23:19:39.510Z] ---> Running in a1a9027c712a [2022-06-06T23:19:39.510Z] Removing intermediate container a1a9027c712a [2022-06-06T23:19:39.510Z] ---> 016a5464cb8d [2022-06-06T23:19:39.510Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T23:19:39.510Z] ---> Running in a0c8f24be6aa [2022-06-06T23:19:39.510Z] Removing intermediate container a0c8f24be6aa [2022-06-06T23:19:39.510Z] ---> 15acf8644337 [2022-06-06T23:19:39.510Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-06T23:19:39.510Z] ---> Running in 9e3ca604d403 [2022-06-06T23:19:39.772Z] Removing intermediate container 9e3ca604d403 [2022-06-06T23:19:39.772Z] ---> 5935fdcc653e [2022-06-06T23:19:39.772Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T23:19:39.772Z] ---> Running in 842b385d058e [2022-06-06T23:19:40.343Z] Removing intermediate container 842b385d058e [2022-06-06T23:19:40.343Z] ---> c64886006399 [2022-06-06T23:19:40.343Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T23:19:40.343Z] ---> Running in 574afcdc36eb [2022-06-06T23:19:40.605Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T23:19:41.550Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T23:19:41.813Z] OK: 221 MiB in 52 packages [2022-06-06T23:19:42.074Z] Removing intermediate container 574afcdc36eb [2022-06-06T23:19:42.074Z] ---> 1e90dd46878e [2022-06-06T23:19:42.074Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-06T23:19:42.074Z] ---> Running in f3b266dfb47b [2022-06-06T23:19:42.335Z] Removing intermediate container f3b266dfb47b [2022-06-06T23:19:42.335Z] ---> 2a7dd97c3757 [2022-06-06T23:19:42.335Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-06T23:19:42.335Z] ---> 395469d32299 [2022-06-06T23:19:42.335Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T23:19:42.335Z] ---> Running in 9be9d966f112 [2022-06-06T23:19:43.239Z] Still waiting to schedule task [2022-06-06T23:19:43.239Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-06T23:20:00.458Z] Removing intermediate container 9be9d966f112 [2022-06-06T23:20:00.458Z] ---> 6f345703f73e [2022-06-06T23:20:00.458Z] Step 12/13 : COPY . . [2022-06-06T23:20:00.458Z] ---> fdcd91bf2c8f [2022-06-06T23:20:00.458Z] Step 13/13 : RUN ${MAKE} [2022-06-06T23:20:00.458Z] ---> Running in ce411a5d8f60 [2022-06-06T23:20:00.458Z] noop [2022-06-06T23:20:00.459Z] Removing intermediate container ce411a5d8f60 [2022-06-06T23:20:00.459Z] ---> 25537776d32e [2022-06-06T23:20:00.459Z] Successfully built 25537776d32e [2022-06-06T23:20:00.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:20:06.741Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T23:20:06.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:20:06.897Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2022-06-06T23:20:06.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat [2022-06-06T23:20:07.359Z] $ docker top be54f9b8f2e5f2884f7620c12bd5455eae70ad8f20117feac4f47b84f4452219 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T23:20:07.759Z] + go version [2022-06-06T23:20:07.759Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-06T23:20:07.800Z] $ docker stop --time=1 be54f9b8f2e5f2884f7620c12bd5455eae70ad8f20117feac4f47b84f4452219 [2022-06-06T23:20:09.095Z] $ docker rm -f be54f9b8f2e5f2884f7620c12bd5455eae70ad8f20117feac4f47b84f4452219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:20:09.806Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T23:20:09.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:20:09.972Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2022-06-06T23:20:10.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat [2022-06-06T23:20:10.451Z] $ docker top 566e7e36f4abd579842ff5cc44bc2edcdcb56d2e379fc775a43354539fab650f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T23:20:10.930Z] + make test [2022-06-06T23:20:10.930Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T23:20:11.191Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-06T23:20:23.433Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-06T23:20:23.433Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-06T23:20:26.748Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.606s coverage: 13.8% of statements [2022-06-06T23:20:34.878Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T23:20:39.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T23:20:39.076Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T23:20:39.076Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T23:20:39.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T23:20:39.160Z] $ docker stop --time=1 566e7e36f4abd579842ff5cc44bc2edcdcb56d2e379fc775a43354539fab650f [2022-06-06T23:20:40.738Z] $ docker rm -f 566e7e36f4abd579842ff5cc44bc2edcdcb56d2e379fc775a43354539fab650f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T23:20:41.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T23:20:41.316Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-06T23:20:41.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T23:20:42.314Z] + ls -al . [2022-06-06T23:20:42.314Z] total 236 [2022-06-06T23:20:42.314Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 23:20 . [2022-06-06T23:20:42.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:19 .. [2022-06-06T23:20:42.314Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 23:19 .git [2022-06-06T23:20:42.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 23:19 .github [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 23:19 .gitignore [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 23:19 .golangci.yml [2022-06-06T23:20:42.314Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 23:19 .semver [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 23:19 Attribution.txt [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 23:19 CHANGELOG.md [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 23:19 Dockerfile [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 23:19 GOVERNANCE.md [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 23:19 Jenkinsfile [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 23:19 LICENSE [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 23:19 Makefile [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 23:19 OWNERS.md [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 6 23:19 README.md [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 23:19 VERSION [2022-06-06T23:20:42.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 23:19 bin [2022-06-06T23:20:42.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 23:19 cmd [2022-06-06T23:20:42.314Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 6 23:20 coverage.out [2022-06-06T23:20:42.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:19 doc [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 23:19 go.mod [2022-06-06T23:20:42.314Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 23:19 go.sum [2022-06-06T23:20:42.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:19 internal [2022-06-06T23:20:42.315Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:20:42.705Z] + 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=2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced --label arch=amd64 --label version=0.0.0 . [2022-06-06T23:20:42.705Z] Sending build context to Docker daemon 8.899MB [2022-06-06T23:20:42.705Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T23:20:42.705Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-06T23:20:42.705Z] ---> 25537776d32e [2022-06-06T23:20:42.705Z] Step 3/26 : ARG MAKE="make build" [2022-06-06T23:20:42.705Z] ---> Running in 2c5dee74fff5 [2022-06-06T23:20:42.964Z] Removing intermediate container 2c5dee74fff5 [2022-06-06T23:20:42.964Z] ---> 399c54cca5ba [2022-06-06T23:20:42.964Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T23:20:42.964Z] ---> Running in f8b2f6cd6514 [2022-06-06T23:20:42.964Z] Removing intermediate container f8b2f6cd6514 [2022-06-06T23:20:42.964Z] ---> 8e4b20d20d42 [2022-06-06T23:20:42.964Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T23:20:42.964Z] ---> Running in b71772de416f [2022-06-06T23:20:43.225Z] Removing intermediate container b71772de416f [2022-06-06T23:20:43.225Z] ---> 3b0503bb4d21 [2022-06-06T23:20:43.225Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-06T23:20:43.225Z] ---> Running in 0084f1b2f5db [2022-06-06T23:20:43.225Z] Removing intermediate container 0084f1b2f5db [2022-06-06T23:20:43.225Z] ---> ae380be39627 [2022-06-06T23:20:43.225Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T23:20:43.225Z] ---> Running in 23a36a757e9d [2022-06-06T23:20:43.795Z] Removing intermediate container 23a36a757e9d [2022-06-06T23:20:43.795Z] ---> 3b8e7b708325 [2022-06-06T23:20:43.795Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T23:20:43.795Z] ---> Running in 3bcf13032b8b [2022-06-06T23:20:44.055Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T23:20:45.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T23:20:45.260Z] OK: 221 MiB in 52 packages [2022-06-06T23:20:45.521Z] Removing intermediate container 3bcf13032b8b [2022-06-06T23:20:45.521Z] ---> 49def63797f7 [2022-06-06T23:20:45.521Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-06T23:20:45.521Z] ---> Running in 839a4c728c1d [2022-06-06T23:20:45.521Z] Removing intermediate container 839a4c728c1d [2022-06-06T23:20:45.521Z] ---> 1ccf2a4f7339 [2022-06-06T23:20:45.521Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-06T23:20:45.781Z] ---> 37e0cb20d7fa [2022-06-06T23:20:45.781Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T23:20:45.781Z] ---> Running in 17be86eea021 [2022-06-06T23:20:46.349Z] Removing intermediate container 17be86eea021 [2022-06-06T23:20:46.349Z] ---> 7867f3aea619 [2022-06-06T23:20:46.349Z] Step 12/26 : COPY . . [2022-06-06T23:20:46.921Z] ---> 95e36f5f1b05 [2022-06-06T23:20:46.921Z] Step 13/26 : RUN ${MAKE} [2022-06-06T23:20:46.921Z] ---> Running in f54c4f785831 [2022-06-06T23:20:47.179Z] 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-06T23:21:09.128Z] Removing intermediate container f54c4f785831 [2022-06-06T23:21:09.128Z] ---> 48b8f931c3b9 [2022-06-06T23:21:09.128Z] Step 14/26 : FROM alpine:3.15 [2022-06-06T23:21:09.128Z] 3.15: Pulling from library/alpine [2022-06-06T23:21:09.128Z] df9b9388f04a: Pulling fs layer [2022-06-06T23:21:09.128Z] df9b9388f04a: Verifying Checksum [2022-06-06T23:21:09.128Z] df9b9388f04a: Download complete [2022-06-06T23:21:09.128Z] df9b9388f04a: Pull complete [2022-06-06T23:21:09.128Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-06T23:21:09.128Z] Status: Downloaded newer image for alpine:3.15 [2022-06-06T23:21:09.128Z] ---> 0ac33e5f5afa [2022-06-06T23:21:09.128Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-06T23:21:09.128Z] ---> Running in aeaa98f1d864 [2022-06-06T23:21:09.128Z] Removing intermediate container aeaa98f1d864 [2022-06-06T23:21:09.128Z] ---> 05d418e9a596 [2022-06-06T23:21:09.128Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T23:21:09.128Z] ---> Running in 509df1e3e7f1 [2022-06-06T23:21:09.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T23:21:09.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T23:21:09.128Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T23:21:09.128Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-06T23:21:09.128Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T23:21:09.128Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-06T23:21:09.128Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T23:21:09.128Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T23:21:09.128Z] Executing busybox-1.34.1-r5.trigger [2022-06-06T23:21:09.128Z] OK: 8 MiB in 20 packages [2022-06-06T23:21:09.128Z] Removing intermediate container 509df1e3e7f1 [2022-06-06T23:21:09.128Z] ---> e8643ebd5b87 [2022-06-06T23:21:09.128Z] Step 17/26 : WORKDIR / [2022-06-06T23:21:09.128Z] ---> Running in 67dc3bf0428d [2022-06-06T23:21:09.128Z] Removing intermediate container 67dc3bf0428d [2022-06-06T23:21:09.128Z] ---> 20205c7da015 [2022-06-06T23:21:09.128Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-06T23:21:09.128Z] ---> db43af7d1557 [2022-06-06T23:21:09.128Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-06T23:21:09.394Z] ---> 00c89bbdaff3 [2022-06-06T23:21:09.394Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-06T23:21:09.394Z] ---> 27e4c7d29f67 [2022-06-06T23:21:09.394Z] Step 21/26 : EXPOSE 59984 [2022-06-06T23:21:09.654Z] ---> Running in 04e953b82b02 [2022-06-06T23:21:09.654Z] Removing intermediate container 04e953b82b02 [2022-06-06T23:21:09.654Z] ---> e8e01b208381 [2022-06-06T23:21:09.654Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-06T23:21:09.654Z] ---> Running in 2e1a78176ff6 [2022-06-06T23:21:09.654Z] Removing intermediate container 2e1a78176ff6 [2022-06-06T23:21:09.654Z] ---> 0166d5c0f699 [2022-06-06T23:21:09.654Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-06T23:21:09.654Z] ---> Running in e69ac50dd01f [2022-06-06T23:21:09.913Z] Removing intermediate container e69ac50dd01f [2022-06-06T23:21:09.913Z] ---> 36bcd55d513d [2022-06-06T23:21:09.913Z] Step 24/26 : LABEL arch=amd64 [2022-06-06T23:21:09.913Z] ---> Running in 3e0c46ce9736 [2022-06-06T23:21:09.913Z] Removing intermediate container 3e0c46ce9736 [2022-06-06T23:21:09.913Z] ---> 6aa58fce93a1 [2022-06-06T23:21:09.913Z] Step 25/26 : LABEL git_sha=2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [2022-06-06T23:21:09.913Z] ---> Running in b7db4f6d34ca [2022-06-06T23:21:10.174Z] Removing intermediate container b7db4f6d34ca [2022-06-06T23:21:10.174Z] ---> 0efb9e096978 [2022-06-06T23:21:10.174Z] Step 26/26 : LABEL version=0.0.0 [2022-06-06T23:21:10.174Z] ---> Running in 69326b88559e [2022-06-06T23:21:10.174Z] Removing intermediate container 69326b88559e [2022-06-06T23:21:10.174Z] ---> d60cb48a402e [2022-06-06T23:21:10.174Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T23:21:10.174Z] Successfully built d60cb48a402e [2022-06-06T23:21:10.174Z] 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-06T23:21:11.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T23:21:11.029Z] [2022-06-06T23:21:11.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:21:11.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T23:21:11.401Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-06T23:21:11.401Z] 5eb5b503b376: Pulling fs layer [2022-06-06T23:21:11.401Z] 5c69ac0246d0: Pulling fs layer [2022-06-06T23:21:11.401Z] ec43610c2a17: Pulling fs layer [2022-06-06T23:21:11.401Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-06T23:21:11.401Z] 33b1e0a273af: Pulling fs layer [2022-06-06T23:21:11.401Z] 5d3b04190fa2: Pulling fs layer [2022-06-06T23:21:11.401Z] 2f39f015ded8: Pulling fs layer [2022-06-06T23:21:11.401Z] 33b1e0a273af: Waiting [2022-06-06T23:21:11.401Z] 5d3b04190fa2: Waiting [2022-06-06T23:21:11.401Z] 2f39f015ded8: Waiting [2022-06-06T23:21:11.401Z] 3a2ae6a8a46f: Waiting [2022-06-06T23:21:11.401Z] 5c69ac0246d0: Verifying Checksum [2022-06-06T23:21:11.401Z] 5c69ac0246d0: Download complete [2022-06-06T23:21:11.401Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-06T23:21:11.401Z] 3a2ae6a8a46f: Download complete [2022-06-06T23:21:11.401Z] 33b1e0a273af: Verifying Checksum [2022-06-06T23:21:11.401Z] 33b1e0a273af: Download complete [2022-06-06T23:21:11.661Z] ec43610c2a17: Verifying Checksum [2022-06-06T23:21:11.661Z] ec43610c2a17: Download complete [2022-06-06T23:21:11.661Z] 5d3b04190fa2: Verifying Checksum [2022-06-06T23:21:11.661Z] 5d3b04190fa2: Download complete [2022-06-06T23:21:11.661Z] 5eb5b503b376: Verifying Checksum [2022-06-06T23:21:11.661Z] 5eb5b503b376: Download complete [2022-06-06T23:21:12.232Z] 2f39f015ded8: Download complete [2022-06-06T23:21:12.799Z] 5eb5b503b376: Pull complete [2022-06-06T23:21:13.057Z] 5c69ac0246d0: Pull complete [2022-06-06T23:21:13.625Z] ec43610c2a17: Pull complete [2022-06-06T23:21:13.625Z] 3a2ae6a8a46f: Pull complete [2022-06-06T23:21:13.885Z] 33b1e0a273af: Pull complete [2022-06-06T23:21:13.885Z] 5d3b04190fa2: Pull complete [2022-06-06T23:21:17.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1558 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-06T23:21:17.090Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-06T23:21:17.183Z] Selected Git installation does not exist. Using Default [2022-06-06T23:21:17.183Z] The recommended git tool is: NONE [2022-06-06T23:21:19.157Z] 2f39f015ded8: Pull complete [2022-06-06T23:21:19.157Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-06T23:21:19.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T23:21:19.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:21:19.392Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2022-06-06T23:21:19.437Z] $ 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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-06T23:21:20.787Z] $ docker top 23f324adc17986afe18aba8826369a9ca354ef41b1e88266c7de1dae1ec39af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:21:21.257Z] ---> job-cost.sh [2022-06-06T23:21:21.258Z] lf-activate-venv: SKIPPING [2022-06-06T23:21:21.258Z] INFO: No Stack... [2022-06-06T23:21:21.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T23:21:22.088Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T23:21:22.405Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-06T23:21:22.405Z] + cut -d, -f6 [Pipeline] lock [2022-06-06T23:21:22.445Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [2022-06-06T23:21:22.450Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] did not exist. Created. [2022-06-06T23:21:22.450Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T23:21:22.837Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-06T23:21:22.915Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T23:21:22.931Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T23:21:23.012Z] using credential edgex-jenkins-ssh [2022-06-06T23:21:23.028Z] Cloning the remote Git repository [2022-06-06T23:21:23.014Z] $ docker stop --time=1 23f324adc17986afe18aba8826369a9ca354ef41b1e88266c7de1dae1ec39af0 [2022-06-06T23:21:23.087Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-06T23:21:23.166Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-06T23:21:23.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-06T23:21:23.242Z] > git --version # timeout=10 [2022-06-06T23:21:23.267Z] > git --version # 'git version 2.25.1' [2022-06-06T23:21:23.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T23:21:23.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T23:21:24.215Z] $ docker rm -f 23f324adc17986afe18aba8826369a9ca354ef41b1e88266c7de1dae1ec39af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-06T23:21:24.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-06T23:21:24.176Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T23:21:24.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-06T23:21:24.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-06T23:21:24.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T23:21:24.251Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-06T23:21:24.721Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit da7854ab21232d5dbf60bcb854cc72cdbe7fb0d8 [2022-06-06T23:21:25.090Z] Merge succeeded, producing 831468e9e4b91b3fb5a1e37f53320066c5d8194d [2022-06-06T23:21:25.090Z] Checking out Revision 831468e9e4b91b3fb5a1e37f53320066c5d8194d (PR-81) [2022-06-06T23:21:24.746Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T23:21:24.761Z] > git checkout -f da7854ab21232d5dbf60bcb854cc72cdbe7fb0d8 # timeout=10 [2022-06-06T23:21:24.897Z] > git remote # timeout=10 [2022-06-06T23:21:24.917Z] > git config --get remote.origin.url # timeout=10 [2022-06-06T23:21:24.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T23:21:24.952Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-06T23:21:25.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-06T23:21:25.103Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T23:21:25.120Z] > git checkout -f 831468e9e4b91b3fb5a1e37f53320066c5d8194d # timeout=10 [2022-06-06T23:21:29.260Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-06T23:21:29.260Z] First time build. Skipping changelog. [2022-06-06T23:21:29.321Z] > git --version # timeout=10 [2022-06-06T23:21:29.334Z] > git --version # 'git version 2.25.1' [2022-06-06T23:21:29.348Z] fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T23:21:30.446Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-06T23:21:30.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T23:21:30.446Z] Dload Upload Total Spent Left Speed [2022-06-06T23:21:30.446Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh [2022-06-06T23:21:31.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-06T23:21:31.513Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-06T23:21:31.513Z] + sudo tee /etc/docker/daemon.new [2022-06-06T23:21:31.513Z] { [2022-06-06T23:21:31.513Z] "registry-mirrors": [ [2022-06-06T23:21:31.513Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-06T23:21:31.513Z] ], [2022-06-06T23:21:31.513Z] "bip": "10.250.0.254/24", [2022-06-06T23:21:31.513Z] "hosts": [ [2022-06-06T23:21:31.513Z] "tcp://0.0.0.0:5555", [2022-06-06T23:21:31.513Z] "unix:///var/run/docker.sock" [2022-06-06T23:21:31.513Z] ], [2022-06-06T23:21:31.513Z] "mtu": 1458, [2022-06-06T23:21:31.513Z] "selinux-enabled": true, [2022-06-06T23:21:31.513Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-06T23:21:31.513Z] } [Pipeline] sh [2022-06-06T23:21:31.882Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-06T23:21:32.234Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T23:21:50.785Z] provisioning config files... [2022-06-06T23:21:50.812Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config800224545849248313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:21:51.221Z] ---> docker-login.sh [2022-06-06T23:21:51.221Z] nexus3.edgexfoundry.org:10001 [2022-06-06T23:21:51.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:21:52.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:21:52.100Z] Configure a credential helper to remove this warning. See [2022-06-06T23:21:52.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:21:52.100Z] [2022-06-06T23:21:52.100Z] Login Succeeded [2022-06-06T23:21:52.100Z] nexus3.edgexfoundry.org:10002 [2022-06-06T23:21:52.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:21:52.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:21:52.649Z] Configure a credential helper to remove this warning. See [2022-06-06T23:21:52.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:21:52.649Z] [2022-06-06T23:21:52.649Z] Login Succeeded [2022-06-06T23:21:52.649Z] nexus3.edgexfoundry.org:10003 [2022-06-06T23:21:52.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:21:52.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:21:52.926Z] Configure a credential helper to remove this warning. See [2022-06-06T23:21:52.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:21:52.926Z] [2022-06-06T23:21:52.926Z] Login Succeeded [2022-06-06T23:21:52.926Z] nexus3.edgexfoundry.org:10004 [2022-06-06T23:21:53.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:21:53.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:21:53.529Z] Configure a credential helper to remove this warning. See [2022-06-06T23:21:53.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:21:53.529Z] [2022-06-06T23:21:53.529Z] Login Succeeded [2022-06-06T23:21:53.529Z] docker.io [2022-06-06T23:21:53.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T23:21:54.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T23:21:54.076Z] Configure a credential helper to remove this warning. See [2022-06-06T23:21:54.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T23:21:54.076Z] [2022-06-06T23:21:54.076Z] Login Succeeded [2022-06-06T23:21:54.076Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T23:21:54.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T23:21:54.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T23:21:54.529Z] ========================================================= [2022-06-06T23:21:54.529Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-06T23:21:54.529Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:21:55.047Z] + 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-06T23:21:55.323Z] Sending build context to Docker daemon 6.061MB [2022-06-06T23:21:55.323Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T23:21:55.323Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-06T23:21:55.599Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-06T23:21:55.599Z] 9b3977197b4f: Pulling fs layer [2022-06-06T23:21:55.599Z] 1a89e8eeedd5: Pulling fs layer [2022-06-06T23:21:55.599Z] 94645a83ff95: Pulling fs layer [2022-06-06T23:21:55.599Z] e6fb740bc735: Pulling fs layer [2022-06-06T23:21:55.599Z] 3a77bd46dcc9: Pulling fs layer [2022-06-06T23:21:55.599Z] 355e64cbe906: Pulling fs layer [2022-06-06T23:21:55.599Z] 63ab81a10011: Pulling fs layer [2022-06-06T23:21:55.599Z] 555d1d1c4555: Pulling fs layer [2022-06-06T23:21:55.599Z] 7d9057610161: Pulling fs layer [2022-06-06T23:21:55.599Z] 3a77bd46dcc9: Waiting [2022-06-06T23:21:55.599Z] 355e64cbe906: Waiting [2022-06-06T23:21:55.599Z] 63ab81a10011: Waiting [2022-06-06T23:21:55.599Z] 555d1d1c4555: Waiting [2022-06-06T23:21:55.599Z] 7d9057610161: Waiting [2022-06-06T23:21:55.599Z] e6fb740bc735: Waiting [2022-06-06T23:21:55.599Z] 94645a83ff95: Verifying Checksum [2022-06-06T23:21:55.599Z] 94645a83ff95: Download complete [2022-06-06T23:21:55.599Z] 1a89e8eeedd5: Download complete [2022-06-06T23:21:55.599Z] 3a77bd46dcc9: Verifying Checksum [2022-06-06T23:21:55.599Z] 3a77bd46dcc9: Download complete [2022-06-06T23:21:55.599Z] 355e64cbe906: Verifying Checksum [2022-06-06T23:21:55.599Z] 355e64cbe906: Download complete [2022-06-06T23:21:55.599Z] 9b3977197b4f: Verifying Checksum [2022-06-06T23:21:55.599Z] 9b3977197b4f: Download complete [2022-06-06T23:21:55.599Z] 63ab81a10011: Verifying Checksum [2022-06-06T23:21:55.879Z] 63ab81a10011: Download complete [2022-06-06T23:21:56.886Z] 7d9057610161: Verifying Checksum [2022-06-06T23:21:56.886Z] 7d9057610161: Download complete [2022-06-06T23:21:56.886Z] 9b3977197b4f: Pull complete [2022-06-06T23:21:57.490Z] 1a89e8eeedd5: Pull complete [2022-06-06T23:21:57.761Z] 94645a83ff95: Pull complete [2022-06-06T23:21:57.761Z] 555d1d1c4555: Verifying Checksum [2022-06-06T23:21:57.762Z] 555d1d1c4555: Download complete [2022-06-06T23:21:58.743Z] e6fb740bc735: Verifying Checksum [2022-06-06T23:21:58.743Z] e6fb740bc735: Download complete [2022-06-06T23:22:11.168Z] e6fb740bc735: Pull complete [2022-06-06T23:22:11.168Z] 3a77bd46dcc9: Pull complete [2022-06-06T23:22:11.168Z] 355e64cbe906: Pull complete [2022-06-06T23:22:11.168Z] 63ab81a10011: Pull complete [2022-06-06T23:22:17.893Z] 555d1d1c4555: Pull complete [2022-06-06T23:22:19.879Z] 7d9057610161: Pull complete [2022-06-06T23:22:19.879Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-06T23:22:19.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-06T23:22:19.879Z] ---> 819e984ddca1 [2022-06-06T23:22:19.879Z] Step 3/13 : ARG MAKE="make build" [2022-06-06T23:22:20.481Z] ---> Running in 0dbd8eed8060 [2022-06-06T23:22:20.763Z] Removing intermediate container 0dbd8eed8060 [2022-06-06T23:22:20.763Z] ---> 945930d2ea92 [2022-06-06T23:22:20.763Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T23:22:20.763Z] ---> Running in 15b01bc176b6 [2022-06-06T23:22:21.041Z] Removing intermediate container 15b01bc176b6 [2022-06-06T23:22:21.041Z] ---> 414b188b73a0 [2022-06-06T23:22:21.041Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T23:22:21.319Z] ---> Running in 1baa8f6a36b5 [2022-06-06T23:22:21.603Z] Removing intermediate container 1baa8f6a36b5 [2022-06-06T23:22:21.603Z] ---> 6632c769abf5 [2022-06-06T23:22:21.603Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-06T23:22:21.603Z] ---> Running in 325f4748395a [2022-06-06T23:22:21.884Z] Removing intermediate container 325f4748395a [2022-06-06T23:22:21.884Z] ---> 8b66d48e2061 [2022-06-06T23:22:21.884Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T23:22:22.164Z] ---> Running in 707c62a66a40 [2022-06-06T23:22:25.576Z] Removing intermediate container 707c62a66a40 [2022-06-06T23:22:25.576Z] ---> 316a28c24a51 [2022-06-06T23:22:25.576Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T23:22:25.576Z] ---> Running in 8f7f3df34e9d [2022-06-06T23:22:26.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T23:22:27.168Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T23:22:27.767Z] OK: 220 MiB in 52 packages [2022-06-06T23:22:28.754Z] Removing intermediate container 8f7f3df34e9d [2022-06-06T23:22:28.754Z] ---> 8e9c753fb7af [2022-06-06T23:22:28.754Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-06T23:22:28.754Z] ---> Running in 18bbfdf1470a [2022-06-06T23:22:28.754Z] Removing intermediate container 18bbfdf1470a [2022-06-06T23:22:28.754Z] ---> a12b278b6111 [2022-06-06T23:22:28.754Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-06T23:22:29.366Z] ---> 547f6a731244 [2022-06-06T23:22:29.366Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T23:22:29.643Z] ---> Running in 39191cb539b7 [2022-06-06T23:23:16.655Z] Removing intermediate container 39191cb539b7 [2022-06-06T23:23:16.655Z] ---> 2c28f91c8408 [2022-06-06T23:23:16.655Z] Step 12/13 : COPY . . [2022-06-06T23:23:16.655Z] ---> 8438de432040 [2022-06-06T23:23:16.655Z] Step 13/13 : RUN ${MAKE} [2022-06-06T23:23:16.655Z] ---> Running in 11b2b4b036ed [2022-06-06T23:23:16.655Z] noop [2022-06-06T23:23:17.253Z] Removing intermediate container 11b2b4b036ed [2022-06-06T23:23:17.253Z] ---> ca73d769199a [2022-06-06T23:23:17.253Z] Successfully built ca73d769199a [2022-06-06T23:23:17.253Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:23:18.003Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T23:23:18.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:23:18.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2022-06-06T23:23:18.385Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-06T23:23:19.596Z] $ docker top 0fbc65773cb03a0ff88f7b8b39eebebf5ad2e074fa23f64f90864a86e907b97a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T23:23:20.552Z] + go version [2022-06-06T23:23:20.552Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-06T23:23:20.590Z] $ docker stop --time=1 0fbc65773cb03a0ff88f7b8b39eebebf5ad2e074fa23f64f90864a86e907b97a [2022-06-06T23:23:22.219Z] $ docker rm -f 0fbc65773cb03a0ff88f7b8b39eebebf5ad2e074fa23f64f90864a86e907b97a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:23:23.149Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T23:23:23.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:23:23.437Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2022-06-06T23:23:23.523Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-06T23:23:24.688Z] $ docker top 0311847eba4d17a41dd08f328939c43116a2201ce1ea1f1e9ec5be4a9ac7a39b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T23:23:25.678Z] + make test [2022-06-06T23:23:25.678Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T23:23:27.123Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-06T23:25:03.995Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-06T23:25:03.995Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.077s coverage: 1.2% of statements [2022-06-06T23:25:12.271Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.905s coverage: 13.8% of statements [2022-06-06T23:25:12.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-06T23:25:12.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T23:25:39.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T23:25:39.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T23:25:39.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-06T23:25:42.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-06T23:25:42.564Z] $ docker stop --time=1 0311847eba4d17a41dd08f328939c43116a2201ce1ea1f1e9ec5be4a9ac7a39b [2022-06-06T23:25:44.331Z] $ docker rm -f 0311847eba4d17a41dd08f328939c43116a2201ce1ea1f1e9ec5be4a9ac7a39b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T23:25:45.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-06T23:25:45.386Z] Warning: overwriting stash ‘coverage-report’ [2022-06-06T23:25:45.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T23:25:46.498Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-06T23:25:46.844Z] + ls -al . [2022-06-06T23:25:46.844Z] total 232 [2022-06-06T23:25:46.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 23:25 . [2022-06-06T23:25:46.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:21 .. [2022-06-06T23:25:46.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 23:21 .git [2022-06-06T23:25:46.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 23:21 .github [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 23:21 .gitignore [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 23:21 .golangci.yml [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 23:21 Attribution.txt [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 23:21 CHANGELOG.md [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 23:21 Dockerfile [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 23:21 GOVERNANCE.md [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 23:21 Jenkinsfile [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 23:21 LICENSE [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 23:21 Makefile [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 23:21 OWNERS.md [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 6 23:21 README.md [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 23:19 VERSION [2022-06-06T23:25:46.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 23:21 bin [2022-06-06T23:25:46.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 23:21 cmd [2022-06-06T23:25:46.844Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 6 23:25 coverage.out [2022-06-06T23:25:46.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:21 doc [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 23:21 go.mod [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 23:21 go.sum [2022-06-06T23:25:46.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 23:21 internal [2022-06-06T23:25:46.844Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:25:47.269Z] + 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=831468e9e4b91b3fb5a1e37f53320066c5d8194d --label arch=arm64 --label version=0.0.0 . [2022-06-06T23:25:47.868Z] Sending build context to Docker daemon 6.121MB [2022-06-06T23:25:47.868Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T23:25:47.868Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-06T23:25:47.868Z] ---> ca73d769199a [2022-06-06T23:25:47.868Z] Step 3/26 : ARG MAKE="make build" [2022-06-06T23:25:47.868Z] ---> Running in 4ec4ea56ba21 [2022-06-06T23:25:48.143Z] Removing intermediate container 4ec4ea56ba21 [2022-06-06T23:25:48.143Z] ---> d04ca48c2490 [2022-06-06T23:25:48.143Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T23:25:48.143Z] ---> Running in 1cafd4e5d046 [2022-06-06T23:25:48.420Z] Removing intermediate container 1cafd4e5d046 [2022-06-06T23:25:48.420Z] ---> 8481a4a07eb3 [2022-06-06T23:25:48.420Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T23:25:48.695Z] ---> Running in 2ddeed67f661 [2022-06-06T23:25:48.966Z] Removing intermediate container 2ddeed67f661 [2022-06-06T23:25:48.966Z] ---> 4a4fc54f7132 [2022-06-06T23:25:48.966Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-06T23:25:48.966Z] ---> Running in d0f778355d2f [2022-06-06T23:25:49.242Z] Removing intermediate container d0f778355d2f [2022-06-06T23:25:49.242Z] ---> 463f6d6f74bc [2022-06-06T23:25:49.242Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T23:25:49.242Z] ---> Running in 1bbaf11dd7d7 [2022-06-06T23:25:51.218Z] Removing intermediate container 1bbaf11dd7d7 [2022-06-06T23:25:51.218Z] ---> fc0bfb21063d [2022-06-06T23:25:51.218Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T23:25:51.218Z] ---> Running in dabb1af04f9f [2022-06-06T23:25:52.203Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T23:25:52.796Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T23:25:53.774Z] OK: 220 MiB in 52 packages [2022-06-06T23:25:54.754Z] Removing intermediate container dabb1af04f9f [2022-06-06T23:25:54.754Z] ---> 4bc153541c7f [2022-06-06T23:25:54.754Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-06T23:25:54.754Z] ---> Running in 92069d982e23 [2022-06-06T23:25:55.031Z] Removing intermediate container 92069d982e23 [2022-06-06T23:25:55.031Z] ---> cf30b3080f0f [2022-06-06T23:25:55.031Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-06T23:25:55.314Z] ---> 4fce22f0739b [2022-06-06T23:25:55.314Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T23:25:55.595Z] ---> Running in 2415d102877a [2022-06-06T23:25:57.585Z] Removing intermediate container 2415d102877a [2022-06-06T23:25:57.585Z] ---> 88f5b24536ca [2022-06-06T23:25:57.585Z] Step 12/26 : COPY . . [2022-06-06T23:25:58.567Z] ---> f9034a425200 [2022-06-06T23:25:58.567Z] Step 13/26 : RUN ${MAKE} [2022-06-06T23:25:58.567Z] ---> Running in 6baff6b5529f [2022-06-06T23:25:59.571Z] 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-06T23:28:06.505Z] Removing intermediate container 6baff6b5529f [2022-06-06T23:28:06.505Z] ---> f46e6b89c821 [2022-06-06T23:28:06.505Z] Step 14/26 : FROM alpine:3.15 [2022-06-06T23:28:06.505Z] 3.15: Pulling from library/alpine [2022-06-06T23:28:06.505Z] 9981e73032c8: Pulling fs layer [2022-06-06T23:28:06.505Z] 9981e73032c8: Verifying Checksum [2022-06-06T23:28:06.505Z] 9981e73032c8: Download complete [2022-06-06T23:28:06.505Z] 9981e73032c8: Pull complete [2022-06-06T23:28:06.505Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-06T23:28:06.505Z] Status: Downloaded newer image for alpine:3.15 [2022-06-06T23:28:06.505Z] ---> 3fb3c9af89a9 [2022-06-06T23:28:06.505Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-06T23:28:06.505Z] ---> Running in 855d1bf52278 [2022-06-06T23:28:06.505Z] Removing intermediate container 855d1bf52278 [2022-06-06T23:28:06.505Z] ---> 1771f9162b29 [2022-06-06T23:28:06.505Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-06T23:28:06.505Z] ---> Running in b927dc930546 [2022-06-06T23:28:06.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T23:28:06.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T23:28:06.505Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-06T23:28:06.505Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-06T23:28:06.505Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-06T23:28:06.505Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-06T23:28:06.505Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-06T23:28:06.505Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-06T23:28:06.505Z] Executing busybox-1.34.1-r5.trigger [2022-06-06T23:28:06.505Z] OK: 8 MiB in 20 packages [2022-06-06T23:28:06.505Z] Removing intermediate container b927dc930546 [2022-06-06T23:28:06.505Z] ---> 8056872d737e [2022-06-06T23:28:06.505Z] Step 17/26 : WORKDIR / [2022-06-06T23:28:06.505Z] ---> Running in e4cd212c0954 [2022-06-06T23:28:06.505Z] Removing intermediate container e4cd212c0954 [2022-06-06T23:28:06.505Z] ---> 9f32cb8f987b [2022-06-06T23:28:06.505Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-06T23:28:06.505Z] ---> 322dcfac5eaa [2022-06-06T23:28:06.505Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-06T23:28:06.505Z] ---> fdb5ca0ce21d [2022-06-06T23:28:06.505Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-06T23:28:07.110Z] ---> 09bc814a9b5f [2022-06-06T23:28:07.110Z] Step 21/26 : EXPOSE 59984 [2022-06-06T23:28:07.393Z] ---> Running in 12a1e737722f [2022-06-06T23:28:07.667Z] Removing intermediate container 12a1e737722f [2022-06-06T23:28:07.667Z] ---> f901a8c30a28 [2022-06-06T23:28:07.667Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-06T23:28:07.667Z] ---> Running in 6edcd3d7ae54 [2022-06-06T23:28:07.942Z] Removing intermediate container 6edcd3d7ae54 [2022-06-06T23:28:07.942Z] ---> 4c3ea32fd967 [2022-06-06T23:28:07.942Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-06T23:28:07.942Z] ---> Running in 611068f5f6f6 [2022-06-06T23:28:08.217Z] Removing intermediate container 611068f5f6f6 [2022-06-06T23:28:08.217Z] ---> 0d6abb05f2fd [2022-06-06T23:28:08.217Z] Step 24/26 : LABEL arch=arm64 [2022-06-06T23:28:08.217Z] ---> Running in b5e3ce10a238 [2022-06-06T23:28:08.815Z] Removing intermediate container b5e3ce10a238 [2022-06-06T23:28:08.815Z] ---> e7d695e98fe1 [2022-06-06T23:28:08.815Z] Step 25/26 : LABEL git_sha=831468e9e4b91b3fb5a1e37f53320066c5d8194d [2022-06-06T23:28:08.815Z] ---> Running in 519b301efd5b [2022-06-06T23:28:09.089Z] Removing intermediate container 519b301efd5b [2022-06-06T23:28:09.089Z] ---> 7e80212435b8 [2022-06-06T23:28:09.089Z] Step 26/26 : LABEL version=0.0.0 [2022-06-06T23:28:09.089Z] ---> Running in 064422f500c6 [2022-06-06T23:28:09.364Z] Removing intermediate container 064422f500c6 [2022-06-06T23:28:09.364Z] ---> 85c6e414c52c [2022-06-06T23:28:09.364Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-06T23:28:09.364Z] Successfully built 85c6e414c52c [2022-06-06T23:28:09.364Z] 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-06T23:28:10.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T23:28:10.143Z] [2022-06-06T23:28:10.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:28:10.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T23:28:10.836Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-06T23:28:10.836Z] 8998bd30e6a1: Pulling fs layer [2022-06-06T23:28:10.836Z] 04944245beec: Pulling fs layer [2022-06-06T23:28:10.836Z] 699f458cf7ca: Pulling fs layer [2022-06-06T23:28:10.836Z] 765212b225bb: Pulling fs layer [2022-06-06T23:28:10.836Z] f23df028b6ca: Pulling fs layer [2022-06-06T23:28:10.836Z] d65c8cfc05b1: Pulling fs layer [2022-06-06T23:28:10.836Z] 2437ff75d9bd: Pulling fs layer [2022-06-06T23:28:10.836Z] f23df028b6ca: Waiting [2022-06-06T23:28:10.836Z] d65c8cfc05b1: Waiting [2022-06-06T23:28:10.836Z] 765212b225bb: Waiting [2022-06-06T23:28:10.836Z] 2437ff75d9bd: Waiting [2022-06-06T23:28:10.836Z] 04944245beec: Verifying Checksum [2022-06-06T23:28:10.836Z] 04944245beec: Download complete [2022-06-06T23:28:10.836Z] 765212b225bb: Verifying Checksum [2022-06-06T23:28:10.836Z] 765212b225bb: Download complete [2022-06-06T23:28:10.836Z] f23df028b6ca: Verifying Checksum [2022-06-06T23:28:10.836Z] f23df028b6ca: Download complete [2022-06-06T23:28:10.836Z] d65c8cfc05b1: Verifying Checksum [2022-06-06T23:28:10.836Z] d65c8cfc05b1: Download complete [2022-06-06T23:28:11.113Z] 699f458cf7ca: Verifying Checksum [2022-06-06T23:28:11.113Z] 699f458cf7ca: Download complete [2022-06-06T23:28:11.389Z] 8998bd30e6a1: Verifying Checksum [2022-06-06T23:28:11.389Z] 8998bd30e6a1: Download complete [2022-06-06T23:28:14.015Z] 2437ff75d9bd: Verifying Checksum [2022-06-06T23:28:14.015Z] 2437ff75d9bd: Download complete [2022-06-06T23:28:15.996Z] 8998bd30e6a1: Pull complete [2022-06-06T23:28:16.271Z] 04944245beec: Pull complete [2022-06-06T23:28:17.716Z] 699f458cf7ca: Pull complete [2022-06-06T23:28:17.991Z] 765212b225bb: Pull complete [2022-06-06T23:28:18.594Z] f23df028b6ca: Pull complete [2022-06-06T23:28:18.866Z] d65c8cfc05b1: Pull complete [2022-06-06T23:28:33.967Z] 2437ff75d9bd: Pull complete [2022-06-06T23:28:33.967Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-06T23:28:33.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T23:28:33.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:28:34.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2022-06-06T23:28:34.441Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-06T23:28:36.973Z] $ docker top 1997e81a82c3b0431e244485cf38ca6ff7b50733fcc14ba0bd71f26372618704 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:37.983Z] ---> job-cost.sh [2022-06-06T23:28:37.983Z] lf-activate-venv: SKIPPING [2022-06-06T23:28:37.983Z] INFO: No Stack... [2022-06-06T23:28:38.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-06T23:28:39.230Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T23:28:39.910Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-06T23:28:39.910Z] + cut -d, -f6 [Pipeline] lock [2022-06-06T23:28:40.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [2022-06-06T23:28:40.007Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] did not exist. Created. [2022-06-06T23:28:40.007Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T23:28:40.768Z] /w/workspace/device-onvif-camera/1@tmp/durable-60c190f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-06T23:28:41.487Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-06T23:28:41.524Z] Warning: overwriting stash ‘stack-cost’ [2022-06-06T23:28:41.569Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T23:28:41.585Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T23:28:41.665Z] $ docker stop --time=1 1997e81a82c3b0431e244485cf38ca6ff7b50733fcc14ba0bd71f26372618704 [2022-06-06T23:28:43.163Z] $ docker rm -f 1997e81a82c3b0431e244485cf38ca6ff7b50733fcc14ba0bd71f26372618704 [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-06T23:28:44.157Z] provisioning config files... [2022-06-06T23:28:44.166Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config5967190920303149787tmp [Pipeline] { [Pipeline] sh [2022-06-06T23:28:44.499Z] + set +x [2022-06-06T23:28:44.499Z] + curl -s https://codecov.io/bash [2022-06-06T23:28:44.499Z] + bash -s -- [2022-06-06T23:28:44.499Z] [2022-06-06T23:28:44.499Z] _____ _ [2022-06-06T23:28:44.499Z] / ____| | | [2022-06-06T23:28:44.499Z] | | ___ __| | ___ ___ _____ __ [2022-06-06T23:28:44.499Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-06T23:28:44.499Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-06T23:28:44.499Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-06T23:28:44.499Z] Bash-1.0.6 [2022-06-06T23:28:44.499Z] [2022-06-06T23:28:44.499Z] [2022-06-06T23:28:44.499Z] ==> git version 2.25.1 found [2022-06-06T23:28:44.499Z] ==> 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-06T23:28:44.499Z] Release-Date: 2020-01-08 [2022-06-06T23:28:44.499Z] 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-06T23:28:44.499Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-06T23:28:44.499Z] ==> Jenkins CI detected. [2022-06-06T23:28:44.499Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-06T23:28:44.499Z] project root: . [2022-06-06T23:28:44.499Z] --> token set from env [2022-06-06T23:28:44.499Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-06T23:28:44.499Z] ==> Running gcov in . (disable via -X gcov) [2022-06-06T23:28:44.499Z] ==> Python coveragepy not found [2022-06-06T23:28:44.499Z] ==> Searching for coverage reports in: [2022-06-06T23:28:44.499Z] + . [2022-06-06T23:28:44.499Z] -> Found 1 reports [2022-06-06T23:28:44.499Z] ==> Detecting git/mercurial file structure [2022-06-06T23:28:44.761Z] ==> Reading reports [2022-06-06T23:28:44.761Z] + ./coverage.out bytes=59966 [2022-06-06T23:28:44.761Z] ==> Appending adjustments [2022-06-06T23:28:44.761Z] https://docs.codecov.io/docs/fixing-reports [2022-06-06T23:28:44.761Z] + Found adjustments [2022-06-06T23:28:44.761Z] ==> Gzipping contents [2022-06-06T23:28:44.761Z] 8.0K /tmp/codecov.9GpE0M.gz [2022-06-06T23:28:44.761Z] ==> Uploading reports [2022-06-06T23:28:44.761Z] url: https://codecov.io [2022-06-06T23:28:44.761Z] query: branch=PR-81&commit=2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-06T23:28:44.761Z] -> Pinging Codecov [2022-06-06T23:28:44.761Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-81&commit=2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-06T23:28:45.022Z] -> Uploading to [2022-06-06T23:28:45.022Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-06/F29A59C45E3A92E06B3E522C9905F8EF/2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced/d116898c-4b08-4738-bda7-4f0e4e46da8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T232844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0937326ee043cc2588caf03b4788478ee72a0071299cf39a4f5aaae8f6ab4aba [2022-06-06T23:28:45.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T23:28:45.022Z] Dload Upload Total Spent Left Speed [2022-06-06T23:28:45.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7588 0 0 100 7588 0 33135 --:--:-- --:--:-- --:--:-- 33135 [2022-06-06T23:28:45.282Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2bf2c7a6cdab9605b5829b4a7caf5d010dc31ced [Pipeline] } [2022-06-06T23:28:45.310Z] 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-06T23:28:46.923Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-06T23:28:46.923Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-06T23:28:46.923Z] total 16 [2022-06-06T23:28:46.923Z] drwxr-xr-x 3 root root 4096 Jun 6 23:21 . [2022-06-06T23:28:46.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 23:21 .. [2022-06-06T23:28:46.923Z] drwxr-xr-x 2 root root 4096 Jun 6 23:21 cost [2022-06-06T23:28:46.923Z] -rw-r--r-- 1 root root 89 Jun 6 23:21 cost.csv [2022-06-06T23:28:46.923Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-06T23:28:46.923Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-06T23:28:46.923Z] total 16 [2022-06-06T23:28:46.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 23:21 . [2022-06-06T23:28:46.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 23:21 .. [2022-06-06T23:28:46.923Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 23:21 cost [2022-06-06T23:28:46.923Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 6 23:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:47.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:48.140Z] ---> package-listing.sh [2022-06-06T23:28:48.140Z] ++ facter osfamily [2022-06-06T23:28:48.140Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-06T23:28:48.401Z] + OS_FAMILY=debian [2022-06-06T23:28:48.401Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-06T23:28:48.401Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-06T23:28:48.401Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-06T23:28:48.401Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-06T23:28:48.401Z] + PACKAGES=/tmp/packages_start.txt [2022-06-06T23:28:48.401Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-06T23:28:48.401Z] + PACKAGES=/tmp/packages_end.txt [2022-06-06T23:28:48.401Z] + case "${OS_FAMILY}" in [2022-06-06T23:28:48.401Z] + dpkg -l [2022-06-06T23:28:48.401Z] + grep '^ii' [2022-06-06T23:28:48.401Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-06T23:28:48.401Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-06T23:28:48.401Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-06T23:28:48.401Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-06T23:28:48.401Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-06T23:28:48.401Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-06T23:28:48.434Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-06T23:28:48.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T23:28:49.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T23:28:49.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T23:28:49.503Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2022-06-06T23:28:49.548Z] $ 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-81/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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-06T23:28:49.773Z] $ docker top f951a494c932ba48810b6cf09d0d6084ba8c501a9f35f6b2559ce5f783a0feb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T23:28:50.175Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-06T23:28:50.481Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-06T23:28:50.806Z] + ls /var/log/sa-host [2022-06-06T23:28:50.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T23:28:50.991Z] provisioning config files... [2022-06-06T23:28:51.000Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config5219171072844487912tmp [Pipeline] { [Pipeline] echo [2022-06-06T23:28:51.045Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:51.359Z] ---> create-netrc.sh [Pipeline] } [2022-06-06T23:28:51.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:51.799Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-06T23:28:51.835Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:52.150Z] ---> sudo-logs.sh [2022-06-06T23:28:52.150Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-06T23:28:52.231Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:52.548Z] ---> job-cost.sh [2022-06-06T23:28:52.548Z] lf-activate-venv: SKIPPING [2022-06-06T23:28:52.548Z] DEBUG: total: 0.2199999988079071 [2022-06-06T23:28:52.548Z] INFO: Retrieving Stack Cost... [2022-06-06T23:28:53.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T23:28:53.382Z] INFO: Archiving Costs [Pipeline] echo [2022-06-06T23:28:53.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T23:28:53.730Z] ---> logs-deploy.sh [2022-06-06T23:28:53.730Z] lf-activate-venv: SKIPPING [2022-06-06T23:28:53.730Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/1 [2022-06-06T23:28:53.730Z] INFO: archiving workspace using pattern(s): [2022-06-06T23:28:54.672Z] Archives upload complete. [2022-06-06T23:28:54.672Z] INFO: archiving logs to Nexus