Pull request #123 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 05e696a048ef8259bab02eb1831af29872241b30 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh15426280326673614915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2547673081953262243.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-123/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-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13011178255408468809.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-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1658734043597797716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh4547741611289931120.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-123/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-123/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12346981746389870149.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 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21980 in /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-123 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 05e696a048ef8259bab02eb1831af29872241b30 Merge succeeded, producing 51efc5ccc94ee12395d5568a425ee5aeaabe5871 Checking out Revision 51efc5ccc94ee12395d5568a425ee5aeaabe5871 (PR-123) > 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/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05e696a048ef8259bab02eb1831af29872241b30 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51efc5ccc94ee12395d5568a425ee5aeaabe5871 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-05T04:19:03.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-05T04:19:03.462Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-05T04:19:03.547Z] ========================================================= [2022-08-05T04:19:03.547Z] EdgeX Global Pipelines Version Info [2022-08-05T04:19:03.547Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:19:04.334Z] ------------------- [2022-08-05T04:19:04.334Z] stable info: [2022-08-05T04:19:04.334Z] ------------------- [2022-08-05T04:19:04.334Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T04:19:04.334Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T04:19:04.334Z] Message: update stable to v1.0.238 [2022-08-05T04:19:04.908Z] ------------------- [2022-08-05T04:19:04.908Z] experimental info: [2022-08-05T04:19:04.908Z] ------------------- [2022-08-05T04:19:04.908Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-05T04:19:04.908Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-05T04:19:04.908Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-05T04:19:05.336Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-05T04:19:05.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-05T04:19:05.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-05T04:19:05.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-05T04:19:05.498Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-05T04:19:05.539Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-05T04:19:05.582Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-05T04:19:05.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-05T04:19:05.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-05T04:19:05.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-05T04:19:05.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-05T04:19:05.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-05T04:19:05.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-05T04:19:05.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-05T04:19:05.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T04:19:05.957Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-05T04:19:06.001Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T04:19:06.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-05T04:19:06.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-05T04:19:06.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-05T04:19:06.162Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-05T04:19:06.201Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-05T04:19:06.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-05T04:19:06.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-05T04:19:06.319Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-05T04:19:06.359Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-05T04:19:06.402Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-05T04:19:06.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2022-08-05T04:19:06.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2022-08-05T04:19:06.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2022-08-05T04:19:06.575Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo [2022-08-05T04:19:06.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51efc5c [Pipeline] echo [2022-08-05T04:19:06.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T04:19:06.775Z] provisioning config files... [2022-08-05T04:19:06.791Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config6509867786998806969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:19:07.140Z] ---> docker-login.sh [2022-08-05T04:19:07.140Z] nexus3.edgexfoundry.org:10001 [2022-08-05T04:19:07.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:07.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:07.977Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:07.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:07.977Z] [2022-08-05T04:19:07.977Z] Login Succeeded [2022-08-05T04:19:07.977Z] nexus3.edgexfoundry.org:10002 [2022-08-05T04:19:07.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:07.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:07.977Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:07.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:07.977Z] [2022-08-05T04:19:07.977Z] Login Succeeded [2022-08-05T04:19:07.977Z] nexus3.edgexfoundry.org:10003 [2022-08-05T04:19:08.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:08.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:08.240Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:08.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:08.240Z] [2022-08-05T04:19:08.240Z] Login Succeeded [2022-08-05T04:19:08.240Z] nexus3.edgexfoundry.org:10004 [2022-08-05T04:19:08.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:08.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:08.240Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:08.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:08.240Z] [2022-08-05T04:19:08.240Z] Login Succeeded [2022-08-05T04:19:08.240Z] docker.io [2022-08-05T04:19:08.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:08.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:08.765Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:08.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:08.765Z] [2022-08-05T04:19:08.765Z] Login Succeeded [2022-08-05T04:19:08.765Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T04:19:08.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-05T04:19:09.449Z] + git rev-list -1 --merges 51efc5ccc94ee12395d5568a425ee5aeaabe5871~1..51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo [2022-08-05T04:19:09.497Z] -----------> git rev-list -1 --merges 51efc5ccc94ee12395d5568a425ee5aeaabe5871~1..51efc5ccc94ee12395d5568a425ee5aeaabe5871 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [2022-08-05T04:19:09.497Z] 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [false] [Pipeline] sh [2022-08-05T04:19:09.815Z] + git log --format=format:%s -1 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo [2022-08-05T04:19:09.852Z] ========================================================= [2022-08-05T04:19:09.852Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-05T04:19:09.852Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T04:19:10.299Z] + git log --format=format:%s -1 51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] echo [2022-08-05T04:19:10.336Z] [semverPrep] GIT_COMMIT: 51efc5ccc94ee12395d5568a425ee5aeaabe5871, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo [2022-08-05T04:19:10.369Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-05T04:19:10.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-05T04:19:10.785Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-05T04:19:10.785Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-05T04:19:10.785Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-05T04:19:10.785Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-05T04:19:10.785Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-05T04:19:10.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:19:11.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T04:19:11.301Z] [2022-08-05T04:19:11.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:19:11.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T04:19:11.676Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-05T04:19:11.676Z] b85a868b505f: Pulling fs layer [2022-08-05T04:19:11.676Z] e2be974225ed: Pulling fs layer [2022-08-05T04:19:11.676Z] 339a4e72a1f5: Pulling fs layer [2022-08-05T04:19:11.676Z] 988bab9f4d93: Pulling fs layer [2022-08-05T04:19:11.676Z] 1469e6f7b9e6: Pulling fs layer [2022-08-05T04:19:11.676Z] eaf3925da568: Pulling fs layer [2022-08-05T04:19:11.676Z] bab4dde63d76: Pulling fs layer [2022-08-05T04:19:11.676Z] bde34c3a00c8: Pulling fs layer [2022-08-05T04:19:11.676Z] b352a97aabf1: Pulling fs layer [2022-08-05T04:19:11.676Z] 4872d77fe225: Pulling fs layer [2022-08-05T04:19:11.676Z] 5851b861e8e6: Pulling fs layer [2022-08-05T04:19:11.676Z] 1469e6f7b9e6: Waiting [2022-08-05T04:19:11.676Z] eaf3925da568: Waiting [2022-08-05T04:19:11.676Z] bab4dde63d76: Waiting [2022-08-05T04:19:11.676Z] bde34c3a00c8: Waiting [2022-08-05T04:19:11.676Z] b352a97aabf1: Waiting [2022-08-05T04:19:11.676Z] 4872d77fe225: Waiting [2022-08-05T04:19:11.676Z] 5851b861e8e6: Waiting [2022-08-05T04:19:11.676Z] 988bab9f4d93: Waiting [2022-08-05T04:19:11.676Z] e2be974225ed: Verifying Checksum [2022-08-05T04:19:11.676Z] e2be974225ed: Download complete [2022-08-05T04:19:11.676Z] 988bab9f4d93: Verifying Checksum [2022-08-05T04:19:11.676Z] 988bab9f4d93: Download complete [2022-08-05T04:19:11.938Z] 1469e6f7b9e6: Verifying Checksum [2022-08-05T04:19:11.938Z] 1469e6f7b9e6: Download complete [2022-08-05T04:19:11.938Z] 339a4e72a1f5: Verifying Checksum [2022-08-05T04:19:11.938Z] 339a4e72a1f5: Download complete [2022-08-05T04:19:11.938Z] eaf3925da568: Verifying Checksum [2022-08-05T04:19:11.938Z] eaf3925da568: Download complete [2022-08-05T04:19:11.938Z] bde34c3a00c8: Verifying Checksum [2022-08-05T04:19:11.938Z] bde34c3a00c8: Download complete [2022-08-05T04:19:11.938Z] b352a97aabf1: Download complete [2022-08-05T04:19:11.938Z] 4872d77fe225: Download complete [2022-08-05T04:19:11.938Z] 5851b861e8e6: Verifying Checksum [2022-08-05T04:19:11.938Z] 5851b861e8e6: Download complete [2022-08-05T04:19:11.938Z] b85a868b505f: Download complete [2022-08-05T04:19:12.198Z] bab4dde63d76: Verifying Checksum [2022-08-05T04:19:12.198Z] bab4dde63d76: Download complete [2022-08-05T04:19:13.584Z] b85a868b505f: Pull complete [2022-08-05T04:19:13.584Z] e2be974225ed: Pull complete [2022-08-05T04:19:13.844Z] 339a4e72a1f5: Pull complete [2022-08-05T04:19:14.105Z] 988bab9f4d93: Pull complete [2022-08-05T04:19:14.364Z] 1469e6f7b9e6: Pull complete [2022-08-05T04:19:14.365Z] eaf3925da568: Pull complete [2022-08-05T04:19:16.275Z] bab4dde63d76: Pull complete [2022-08-05T04:19:16.275Z] bde34c3a00c8: Pull complete [2022-08-05T04:19:16.275Z] b352a97aabf1: Pull complete [2022-08-05T04:19:16.275Z] 4872d77fe225: Pull complete [2022-08-05T04:19:16.539Z] 5851b861e8e6: Pull complete [2022-08-05T04:19:16.539Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-05T04:19:16.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-05T04:19:16.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:19:16.768Z] prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container [2022-08-05T04:19:16.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-05T04:19:19.240Z] $ docker top 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad -eo pid,comm [2022-08-05T04:19:19.305Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-05T04:19:19.305Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-05T04:19:19.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T04:19:19.430Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T04:19:19.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T04:19:19.563Z] $ docker exec 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent [2022-08-05T04:19:19.686Z] SSH_AUTH_SOCK=/tmp/ssh-UFkFhvi5HOpY/agent.33 [2022-08-05T04:19:19.686Z] SSH_AGENT_PID=40 [2022-08-05T04:19:19.691Z] Running ssh-add (command line suppressed) [2022-08-05T04:19:19.818Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_3611853595128323501.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_3611853595128323501.key) [2022-08-05T04:19:19.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T04:19:20.168Z] + git tag --points-at HEAD [Pipeline] } [2022-08-05T04:19:20.199Z] $ docker exec --env ******** --env ******** 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent -k [2022-08-05T04:19:20.310Z] unset SSH_AUTH_SOCK; [2022-08-05T04:19:20.310Z] unset SSH_AGENT_PID; [2022-08-05T04:19:20.310Z] echo Agent pid 40 killed; [2022-08-05T04:19:20.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-05T04:19:20.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-05T04:19:20.410Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-05T04:19:20.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-05T04:19:20.552Z] $ docker exec 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent [2022-08-05T04:19:20.663Z] SSH_AUTH_SOCK=/tmp/ssh-CEdKIe0RUHZE/agent.74 [2022-08-05T04:19:20.663Z] SSH_AGENT_PID=80 [2022-08-05T04:19:20.668Z] Running ssh-add (command line suppressed) [2022-08-05T04:19:20.790Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_4950019741479853612.key (/w/workspace/undry_device-onvif-camera_PR-123@tmp/private_key_4950019741479853612.key) [2022-08-05T04:19:20.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-05T04:19:21.139Z] + git semver init [2022-08-05T04:19:21.400Z] 2022-08-05 04:19:21,314 [run_init] DEBUG init version:0.0.0 force:False [2022-08-05T04:19:21.400Z] 2022-08-05 04:19:21,315 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-123/.semver [2022-08-05T04:19:21.400Z] 2022-08-05 04:19:21,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-123/.semver [2022-08-05T04:19:21.400Z] 2022-08-05 04:19:21,315 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-123/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-123, universal_newlines=False, shell=None, istream=None) [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,119 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-123/.git/info/exclude [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 with force:False [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,119 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,123 [execute] INFO git cat-file --batch-check [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,129 [execute] INFO git cat-file --batch [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-123/.semver, universal_newlines=False, shell=None, istream=) [2022-08-05T04:19:22.339Z] 2022-08-05 04:19:22,133 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-123/.semver/PR-123 [2022-08-05T04:19:22.339Z] 0.0.0 [Pipeline] } [2022-08-05T04:19:22.370Z] $ docker exec --env ******** --env ******** 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad ssh-agent -k [2022-08-05T04:19:22.471Z] unset SSH_AUTH_SOCK; [2022-08-05T04:19:22.472Z] unset SSH_AGENT_PID; [2022-08-05T04:19:22.472Z] echo Agent pid 80 killed; [2022-08-05T04:19:22.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-05T04:19:22.894Z] + git semver [Pipeline] } [2022-08-05T04:19:23.184Z] $ docker stop --time=1 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad [2022-08-05T04:19:24.475Z] $ docker rm -f 68491f3922d783ae1770451c43f131a04780cac76a21bcdaf4b80bfb6f5e9cad [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T04:19:24.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-05T04:19:25.200Z] Stashed 1 file(s) [Pipeline] echo [2022-08-05T04:19:25.220Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T04:19:25.808Z] provisioning config files... [2022-08-05T04:19:25.821Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config1964294054572911746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:19:26.164Z] ---> docker-login.sh [2022-08-05T04:19:26.164Z] nexus3.edgexfoundry.org:10001 [2022-08-05T04:19:26.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:26.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:26.164Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:26.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:26.164Z] [2022-08-05T04:19:26.164Z] Login Succeeded [2022-08-05T04:19:26.164Z] nexus3.edgexfoundry.org:10002 [2022-08-05T04:19:26.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:26.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:26.164Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:26.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:26.164Z] [2022-08-05T04:19:26.164Z] Login Succeeded [2022-08-05T04:19:26.164Z] nexus3.edgexfoundry.org:10003 [2022-08-05T04:19:26.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:26.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:26.426Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:26.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:26.426Z] [2022-08-05T04:19:26.426Z] Login Succeeded [2022-08-05T04:19:26.426Z] nexus3.edgexfoundry.org:10004 [2022-08-05T04:19:26.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:26.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:26.426Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:26.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:26.426Z] [2022-08-05T04:19:26.426Z] Login Succeeded [2022-08-05T04:19:26.426Z] docker.io [2022-08-05T04:19:26.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:19:26.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:19:26.952Z] Configure a credential helper to remove this warning. See [2022-08-05T04:19:26.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:19:26.952Z] [2022-08-05T04:19:26.952Z] Login Succeeded [2022-08-05T04:19:26.952Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T04:19:26.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T04:19:27.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T04:19:27.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T04:19:27.238Z] ========================================================= [2022-08-05T04:19:27.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-05T04:19:27.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:19:27.703Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-05T04:19:27.703Z] Sending build context to Docker daemon 20.33MB [2022-08-05T04:19:27.703Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T04:19:27.703Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T04:19:27.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-05T04:19:27.966Z] 2408cc74d12b: Pulling fs layer [2022-08-05T04:19:27.966Z] ea60b727a1ce: Pulling fs layer [2022-08-05T04:19:27.966Z] 30c4a7721957: Pulling fs layer [2022-08-05T04:19:27.966Z] 370296b7ddb6: Pulling fs layer [2022-08-05T04:19:27.966Z] 7c6cee850709: Pulling fs layer [2022-08-05T04:19:27.966Z] 39a5fcdaea64: Pulling fs layer [2022-08-05T04:19:27.966Z] d94ebbe4e438: Pulling fs layer [2022-08-05T04:19:27.966Z] bcfd1f05c69d: Pulling fs layer [2022-08-05T04:19:27.966Z] 59ccb84bbe0f: Pulling fs layer [2022-08-05T04:19:27.966Z] 370296b7ddb6: Waiting [2022-08-05T04:19:27.966Z] 7c6cee850709: Waiting [2022-08-05T04:19:27.966Z] 39a5fcdaea64: Waiting [2022-08-05T04:19:27.966Z] d94ebbe4e438: Waiting [2022-08-05T04:19:27.966Z] bcfd1f05c69d: Waiting [2022-08-05T04:19:27.966Z] 59ccb84bbe0f: Waiting [2022-08-05T04:19:27.966Z] 30c4a7721957: Verifying Checksum [2022-08-05T04:19:27.966Z] 30c4a7721957: Download complete [2022-08-05T04:19:27.966Z] ea60b727a1ce: Download complete [2022-08-05T04:19:27.966Z] 7c6cee850709: Verifying Checksum [2022-08-05T04:19:27.966Z] 7c6cee850709: Download complete [2022-08-05T04:19:27.966Z] 39a5fcdaea64: Verifying Checksum [2022-08-05T04:19:27.966Z] 39a5fcdaea64: Download complete [2022-08-05T04:19:27.966Z] 2408cc74d12b: Verifying Checksum [2022-08-05T04:19:27.966Z] 2408cc74d12b: Download complete [2022-08-05T04:19:27.966Z] d94ebbe4e438: Download complete [2022-08-05T04:19:28.248Z] 2408cc74d12b: Pull complete [2022-08-05T04:19:28.514Z] ea60b727a1ce: Pull complete [2022-08-05T04:19:28.514Z] 30c4a7721957: Pull complete [2022-08-05T04:19:28.514Z] 59ccb84bbe0f: Verifying Checksum [2022-08-05T04:19:28.514Z] 59ccb84bbe0f: Download complete [2022-08-05T04:19:28.774Z] bcfd1f05c69d: Verifying Checksum [2022-08-05T04:19:28.774Z] bcfd1f05c69d: Download complete [2022-08-05T04:19:28.774Z] 370296b7ddb6: Verifying Checksum [2022-08-05T04:19:28.774Z] 370296b7ddb6: Download complete [2022-08-05T04:19:32.976Z] 370296b7ddb6: Pull complete [2022-08-05T04:19:32.976Z] 7c6cee850709: Pull complete [2022-08-05T04:19:32.976Z] 39a5fcdaea64: Pull complete [2022-08-05T04:19:32.976Z] d94ebbe4e438: Pull complete [2022-08-05T04:19:34.904Z] bcfd1f05c69d: Pull complete [2022-08-05T04:19:35.473Z] 59ccb84bbe0f: Pull complete [2022-08-05T04:19:35.473Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-05T04:19:35.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-05T04:19:35.473Z] ---> a4fb48ad2a94 [2022-08-05T04:19:35.473Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T04:19:40.635Z] Still waiting to schedule task [2022-08-05T04:19:40.636Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-05T04:19:40.783Z] ---> Running in 9d1f984300a9 [2022-08-05T04:19:40.783Z] Removing intermediate container 9d1f984300a9 [2022-08-05T04:19:40.783Z] ---> 838e20689de8 [2022-08-05T04:19:40.783Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T04:19:40.783Z] ---> Running in 36e22c82345b [2022-08-05T04:19:40.783Z] Removing intermediate container 36e22c82345b [2022-08-05T04:19:40.783Z] ---> 006be7b19ab9 [2022-08-05T04:19:40.783Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T04:19:40.783Z] ---> Running in f00487fa47f0 [2022-08-05T04:19:40.783Z] Removing intermediate container f00487fa47f0 [2022-08-05T04:19:40.783Z] ---> b21ae8d1dc13 [2022-08-05T04:19:40.783Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T04:19:40.783Z] ---> Running in 3eea491395d8 [2022-08-05T04:19:40.783Z] Removing intermediate container 3eea491395d8 [2022-08-05T04:19:40.783Z] ---> 670cca2b305d [2022-08-05T04:19:40.783Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T04:19:40.783Z] ---> Running in 8d996d5f58b8 [2022-08-05T04:19:41.354Z] Removing intermediate container 8d996d5f58b8 [2022-08-05T04:19:41.354Z] ---> c10ecaf6d9bb [2022-08-05T04:19:41.354Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T04:19:41.354Z] ---> Running in 22b43716b5dd [2022-08-05T04:19:41.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T04:19:42.558Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T04:19:42.820Z] OK: 211 MiB in 51 packages [2022-08-05T04:19:43.082Z] Removing intermediate container 22b43716b5dd [2022-08-05T04:19:43.082Z] ---> 3890a76e3180 [2022-08-05T04:19:43.082Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T04:19:43.082Z] ---> Running in 90dd1a82f7db [2022-08-05T04:19:43.343Z] Removing intermediate container 90dd1a82f7db [2022-08-05T04:19:43.343Z] ---> d975d1454247 [2022-08-05T04:19:43.343Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T04:19:43.604Z] ---> 86153ed058cb [2022-08-05T04:19:43.604Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T04:19:43.604Z] ---> Running in 0d6459c0ed5c [2022-08-05T04:20:05.569Z] Removing intermediate container 0d6459c0ed5c [2022-08-05T04:20:05.569Z] ---> f23d95113ec5 [2022-08-05T04:20:05.569Z] Step 12/13 : COPY . . [2022-08-05T04:20:05.569Z] ---> 0b42e79966ae [2022-08-05T04:20:05.569Z] Step 13/13 : RUN ${MAKE} [2022-08-05T04:20:05.569Z] ---> Running in 3569cedd5265 [2022-08-05T04:20:05.569Z] noop [2022-08-05T04:20:05.830Z] Removing intermediate container 3569cedd5265 [2022-08-05T04:20:05.830Z] ---> f325dd9b66e3 [2022-08-05T04:20:05.830Z] Successfully built f325dd9b66e3 [2022-08-05T04:20:05.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:20:06.279Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T04:20:06.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:20:06.459Z] prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container [2022-08-05T04:20:06.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T04:20:06.836Z] $ docker top ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T04:20:07.243Z] + go version [2022-08-05T04:20:07.243Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-05T04:20:07.283Z] $ docker stop --time=1 ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a [2022-08-05T04:20:08.530Z] $ docker rm -f ec59bdbeb1896f905d1777f552539281b17bd5cc6ff17d998acef441ec51529a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:20:09.282Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-05T04:20:09.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:20:09.465Z] prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container [2022-08-05T04:20:09.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-05T04:20:09.857Z] $ docker top 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T04:20:10.297Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] fileExists [Pipeline] sh [2022-08-05T04:20:10.653Z] + make test [2022-08-05T04:20:10.654Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T04:20:10.913Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T04:20:20.904Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T04:20:21.475Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 10.6% of statements [2022-08-05T04:20:21.475Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T04:20:24.016Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.155s coverage: 13.8% of statements [2022-08-05T04:20:32.153Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T04:20:34.692Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T04:20:34.692Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T04:20:34.692Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T04:20:35.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T04:20:35.331Z] $ docker stop --time=1 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 [2022-08-05T04:20:37.804Z] $ docker rm -f 5fa08acf274aa5b1f0ed842ec936a5c35a14ea11b88a09e51b8f10f322cdeb45 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T04:20:38.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T04:20:38.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-05T04:20:39.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T04:20:39.424Z] + ls -al . [2022-08-05T04:20:39.424Z] total 232 [2022-08-05T04:20:39.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 5 04:20 . [2022-08-05T04:20:39.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 .. [2022-08-05T04:20:39.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 04:20 .git [2022-08-05T04:20:39.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:18 .github [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 04:18 .gitignore [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 04:18 .golangci.yml [2022-08-05T04:20:39.424Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 04:19 .semver [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 04:18 Attribution.txt [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 04:18 CHANGELOG.md [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 04:18 Dockerfile [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 04:18 GOVERNANCE.md [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 04:18 Jenkinsfile [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 04:18 LICENSE [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 04:18 Makefile [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 04:18 OWNERS.md [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 04:18 README.md [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 04:19 VERSION [2022-08-05T04:20:39.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 04:18 bin [2022-08-05T04:20:39.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:18 cmd [2022-08-05T04:20:39.424Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 04:20 coverage.out [2022-08-05T04:20:39.424Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 04:18 doc [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 04:18 go.mod [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 04:18 go.sum [2022-08-05T04:20:39.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 internal [2022-08-05T04:20:39.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:18 snap [2022-08-05T04:20:39.424Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:20:39.817Z] + 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=51efc5ccc94ee12395d5568a425ee5aeaabe5871 --label arch=amd64 --label version=0.0.0 . [2022-08-05T04:20:39.817Z] Sending build context to Docker daemon 20.41MB [2022-08-05T04:20:39.817Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T04:20:39.817Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-05T04:20:39.817Z] ---> f325dd9b66e3 [2022-08-05T04:20:39.817Z] Step 3/26 : ARG MAKE="make build" [2022-08-05T04:20:40.077Z] ---> Running in 83df5b1d30ec [2022-08-05T04:20:40.077Z] Removing intermediate container 83df5b1d30ec [2022-08-05T04:20:40.077Z] ---> 915a0662c1c2 [2022-08-05T04:20:40.077Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T04:20:40.077Z] ---> Running in c161610d5b15 [2022-08-05T04:20:40.077Z] Removing intermediate container c161610d5b15 [2022-08-05T04:20:40.077Z] ---> e39406bd54fc [2022-08-05T04:20:40.077Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T04:20:40.338Z] ---> Running in 46a79ce13fcb [2022-08-05T04:20:40.338Z] Removing intermediate container 46a79ce13fcb [2022-08-05T04:20:40.338Z] ---> 00d0a1e31f88 [2022-08-05T04:20:40.338Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-05T04:20:40.338Z] ---> Running in 5d1c0560ece3 [2022-08-05T04:20:40.338Z] Removing intermediate container 5d1c0560ece3 [2022-08-05T04:20:40.338Z] ---> e003d8d36252 [2022-08-05T04:20:40.338Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T04:20:40.338Z] ---> Running in ccf968f52689 [2022-08-05T04:20:40.908Z] Removing intermediate container ccf968f52689 [2022-08-05T04:20:40.908Z] ---> 5240fc98acee [2022-08-05T04:20:40.908Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T04:20:40.908Z] ---> Running in 379fc510fd7a [2022-08-05T04:20:41.168Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-05T04:20:42.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-05T04:20:42.368Z] OK: 211 MiB in 51 packages [2022-08-05T04:20:42.628Z] Removing intermediate container 379fc510fd7a [2022-08-05T04:20:42.628Z] ---> 442f17b0f6c6 [2022-08-05T04:20:42.628Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-05T04:20:42.628Z] ---> Running in e3418856168a [2022-08-05T04:20:42.887Z] Removing intermediate container e3418856168a [2022-08-05T04:20:42.887Z] ---> c4c5d362bb88 [2022-08-05T04:20:42.887Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-05T04:20:42.887Z] ---> e1fa47da7862 [2022-08-05T04:20:42.887Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T04:20:42.887Z] ---> Running in 05a2e6823686 [2022-08-05T04:20:43.457Z] Removing intermediate container 05a2e6823686 [2022-08-05T04:20:43.457Z] ---> d3d81d6c8bc4 [2022-08-05T04:20:43.457Z] Step 12/26 : COPY . . [2022-08-05T04:20:44.082Z] ---> 0f674c3c0c01 [2022-08-05T04:20:44.082Z] Step 13/26 : RUN ${MAKE} [2022-08-05T04:20:44.082Z] ---> Running in 34f38be004ef [2022-08-05T04:20:44.341Z] 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-08-05T04:21:06.289Z] Removing intermediate container 34f38be004ef [2022-08-05T04:21:06.289Z] ---> 9a1749adc34f [2022-08-05T04:21:06.289Z] Step 14/26 : FROM alpine:3.15 [2022-08-05T04:21:06.289Z] 3.15: Pulling from library/alpine [2022-08-05T04:21:06.548Z] ab6db1bc80d0: Pulling fs layer [2022-08-05T04:21:06.807Z] ab6db1bc80d0: Verifying Checksum [2022-08-05T04:21:06.807Z] ab6db1bc80d0: Download complete [2022-08-05T04:21:06.807Z] ab6db1bc80d0: Pull complete [2022-08-05T04:21:06.807Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T04:21:06.807Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T04:21:06.807Z] ---> 2720e26172a0 [2022-08-05T04:21:06.807Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T04:21:07.066Z] ---> Running in 80d70cd93d99 [2022-08-05T04:21:07.066Z] Removing intermediate container 80d70cd93d99 [2022-08-05T04:21:07.066Z] ---> c9bc4c392100 [2022-08-05T04:21:07.066Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-05T04:21:07.066Z] ---> Running in 10f1f291bfdc [2022-08-05T04:21:07.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-05T04:21:07.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-05T04:21:07.585Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-05T04:21:07.585Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T04:21:07.585Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-05T04:21:07.585Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T04:21:07.585Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-05T04:21:07.585Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-05T04:21:07.585Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T04:21:07.585Z] OK: 8 MiB in 20 packages [2022-08-05T04:21:08.152Z] Removing intermediate container 10f1f291bfdc [2022-08-05T04:21:08.152Z] ---> 3e908a76d04f [2022-08-05T04:21:08.152Z] Step 17/26 : WORKDIR / [2022-08-05T04:21:08.152Z] ---> Running in 35121fb7d8bd [2022-08-05T04:21:08.152Z] Removing intermediate container 35121fb7d8bd [2022-08-05T04:21:08.152Z] ---> 9d66afaa07d6 [2022-08-05T04:21:08.152Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T04:21:09.090Z] ---> 3699e4e63433 [2022-08-05T04:21:09.090Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T04:21:09.349Z] ---> 568f70ec5d62 [2022-08-05T04:21:09.349Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T04:21:09.349Z] ---> a398158f5dad [2022-08-05T04:21:09.349Z] Step 21/26 : EXPOSE 59984 [2022-08-05T04:21:09.349Z] ---> Running in 625e0d19c6e6 [2022-08-05T04:21:09.608Z] Removing intermediate container 625e0d19c6e6 [2022-08-05T04:21:09.608Z] ---> 22dfbb94a679 [2022-08-05T04:21:09.608Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T04:21:09.608Z] ---> Running in 9a2d78797545 [2022-08-05T04:21:09.608Z] Removing intermediate container 9a2d78797545 [2022-08-05T04:21:09.608Z] ---> ac1cc78156e8 [2022-08-05T04:21:09.608Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T04:21:09.608Z] ---> Running in d72b291fde59 [2022-08-05T04:21:09.869Z] Removing intermediate container d72b291fde59 [2022-08-05T04:21:09.869Z] ---> 71b66697e50f [2022-08-05T04:21:09.869Z] Step 24/26 : LABEL arch=amd64 [2022-08-05T04:21:09.869Z] ---> Running in b5e1c82055be [2022-08-05T04:21:09.869Z] Removing intermediate container b5e1c82055be [2022-08-05T04:21:09.869Z] ---> 7a950ead390f [2022-08-05T04:21:09.869Z] Step 25/26 : LABEL git_sha=51efc5ccc94ee12395d5568a425ee5aeaabe5871 [2022-08-05T04:21:09.869Z] ---> Running in 21e51e0e4faa [2022-08-05T04:21:09.869Z] Removing intermediate container 21e51e0e4faa [2022-08-05T04:21:09.869Z] ---> 5ff593c588a0 [2022-08-05T04:21:09.869Z] Step 26/26 : LABEL version=0.0.0 [2022-08-05T04:21:09.869Z] ---> Running in 4e461403e1a2 [2022-08-05T04:21:10.129Z] Removing intermediate container 4e461403e1a2 [2022-08-05T04:21:10.129Z] ---> 2730f53e4bc5 [2022-08-05T04:21:10.129Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T04:21:10.129Z] Successfully built 2730f53e4bc5 [2022-08-05T04:21:10.129Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:21:11.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T04:21:11.012Z] [2022-08-05T04:21:11.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:21:11.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T04:21:11.393Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-05T04:21:11.393Z] 5eb5b503b376: Pulling fs layer [2022-08-05T04:21:11.393Z] 5c69ac0246d0: Pulling fs layer [2022-08-05T04:21:11.393Z] ec43610c2a17: Pulling fs layer [2022-08-05T04:21:11.393Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-05T04:21:11.393Z] 33b1e0a273af: Pulling fs layer [2022-08-05T04:21:11.393Z] 5d3b04190fa2: Pulling fs layer [2022-08-05T04:21:11.393Z] 2f39f015ded8: Pulling fs layer [2022-08-05T04:21:11.393Z] 33b1e0a273af: Waiting [2022-08-05T04:21:11.393Z] 5d3b04190fa2: Waiting [2022-08-05T04:21:11.393Z] 2f39f015ded8: Waiting [2022-08-05T04:21:11.393Z] 3a2ae6a8a46f: Waiting [2022-08-05T04:21:11.393Z] 5c69ac0246d0: Download complete [2022-08-05T04:21:11.393Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-05T04:21:11.393Z] 3a2ae6a8a46f: Download complete [2022-08-05T04:21:11.393Z] 33b1e0a273af: Verifying Checksum [2022-08-05T04:21:11.393Z] 33b1e0a273af: Download complete [2022-08-05T04:21:11.393Z] ec43610c2a17: Download complete [2022-08-05T04:21:11.653Z] 5d3b04190fa2: Verifying Checksum [2022-08-05T04:21:11.653Z] 5d3b04190fa2: Download complete [2022-08-05T04:21:11.653Z] 5eb5b503b376: Verifying Checksum [2022-08-05T04:21:11.653Z] 5eb5b503b376: Download complete [2022-08-05T04:21:12.223Z] 2f39f015ded8: Download complete [2022-08-05T04:21:12.791Z] 5eb5b503b376: Pull complete [2022-08-05T04:21:13.050Z] 5c69ac0246d0: Pull complete [2022-08-05T04:21:13.620Z] ec43610c2a17: Pull complete [2022-08-05T04:21:13.620Z] 3a2ae6a8a46f: Pull complete [2022-08-05T04:21:13.881Z] 33b1e0a273af: Pull complete [2022-08-05T04:21:13.881Z] 5d3b04190fa2: Pull complete [2022-08-05T04:21:17.468Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21981 in /w/workspace/undry_device-onvif-camera_PR-123 [Pipeline] { [Pipeline] ws [2022-08-05T04:21:17.515Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-05T04:21:17.604Z] Selected Git installation does not exist. Using Default [2022-08-05T04:21:17.604Z] The recommended git tool is: NONE [2022-08-05T04:21:19.162Z] 2f39f015ded8: Pull complete [2022-08-05T04:21:19.162Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-05T04:21:19.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T04:21:19.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:21:19.401Z] prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container [2022-08-05T04:21:19.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-05T04:21:22.447Z] $ docker top 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:21:22.918Z] ---> job-cost.sh [2022-08-05T04:21:22.918Z] lf-activate-venv: SKIPPING [2022-08-05T04:21:22.918Z] INFO: No Stack... [2022-08-05T04:21:23.488Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T04:21:23.658Z] using credential edgex-jenkins-ssh [2022-08-05T04:21:23.674Z] Cloning the remote Git repository [2022-08-05T04:21:23.749Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T04:21:24.062Z] + cat /w/workspace/undry_device-onvif-camera_PR-123/archives/cost.csv [2022-08-05T04:21:24.062Z] + cut -d, -f6 [2022-08-05T04:21:23.734Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T04:21:23.811Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-05T04:21:23.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T04:21:23.882Z] > git --version # timeout=10 [2022-08-05T04:21:23.902Z] > git --version # 'git version 2.25.1' [2022-08-05T04:21:23.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T04:21:23.978Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] lock [2022-08-05T04:21:24.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [2022-08-05T04:21:24.104Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] did not exist. Created. [2022-08-05T04:21:24.104Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T04:21:24.495Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-05T04:21:24.545Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T04:21:24.571Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T04:21:24.657Z] $ docker stop --time=1 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 [2022-08-05T04:21:25.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T04:21:25.320Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-05T04:21:25.353Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-05T04:21:25.807Z] $ docker rm -f 924e6b3a4b188dbb356c483b482832aaa10c6a14438c039f279c47c4f92bb5a0 [2022-08-05T04:21:25.891Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 05e696a048ef8259bab02eb1831af29872241b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-05T04:21:26.475Z] Merge succeeded, producing 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 [2022-08-05T04:21:26.475Z] Checking out Revision 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 (PR-123) [2022-08-05T04:21:25.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-05T04:21:25.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T04:21:25.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-05T04:21:25.915Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T04:21:25.941Z] > git checkout -f 05e696a048ef8259bab02eb1831af29872241b30 # timeout=10 [2022-08-05T04:21:26.161Z] > git remote # timeout=10 [2022-08-05T04:21:26.180Z] > git config --get remote.origin.url # timeout=10 [2022-08-05T04:21:26.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-05T04:21:26.206Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-05T04:21:26.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-05T04:21:26.486Z] > git config core.sparsecheckout # timeout=10 [2022-08-05T04:21:26.497Z] > git checkout -f 72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 # timeout=10 [2022-08-05T04:21:30.741Z] Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" [2022-08-05T04:21:30.741Z] First time build. Skipping changelog. [2022-08-05T04:21:30.799Z] > git --version # timeout=10 [2022-08-05T04:21:30.811Z] > git --version # 'git version 2.25.1' [2022-08-05T04:21:30.825Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T04:21:31.919Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-05T04:21:31.919Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T04:21:31.919Z] Dload Upload Total Spent Left Speed [2022-08-05T04:21:31.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-08-05T04:21:32.810Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-05T04:21:33.168Z] + sudo tee /etc/docker/daemon.new [2022-08-05T04:21:33.169Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-05T04:21:33.169Z] { [2022-08-05T04:21:33.169Z] "registry-mirrors": [ [2022-08-05T04:21:33.169Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-05T04:21:33.169Z] ], [2022-08-05T04:21:33.169Z] "bip": "10.250.0.254/24", [2022-08-05T04:21:33.169Z] "hosts": [ [2022-08-05T04:21:33.169Z] "tcp://0.0.0.0:5555", [2022-08-05T04:21:33.169Z] "unix:///var/run/docker.sock" [2022-08-05T04:21:33.169Z] ], [2022-08-05T04:21:33.169Z] "mtu": 1458, [2022-08-05T04:21:33.169Z] "selinux-enabled": true, [2022-08-05T04:21:33.169Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-05T04:21:33.169Z] } [Pipeline] sh [2022-08-05T04:21:33.528Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-05T04:21:33.887Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T04:21:52.496Z] provisioning config files... [2022-08-05T04:21:52.522Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7573619404784159637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:21:52.930Z] ---> docker-login.sh [2022-08-05T04:21:52.930Z] nexus3.edgexfoundry.org:10001 [2022-08-05T04:21:53.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:21:53.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:21:53.807Z] Configure a credential helper to remove this warning. See [2022-08-05T04:21:53.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:21:53.807Z] [2022-08-05T04:21:53.807Z] Login Succeeded [2022-08-05T04:21:53.807Z] nexus3.edgexfoundry.org:10002 [2022-08-05T04:21:54.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:21:54.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:21:54.083Z] Configure a credential helper to remove this warning. See [2022-08-05T04:21:54.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:21:54.083Z] [2022-08-05T04:21:54.083Z] Login Succeeded [2022-08-05T04:21:54.083Z] nexus3.edgexfoundry.org:10003 [2022-08-05T04:21:54.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:21:54.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:21:54.682Z] Configure a credential helper to remove this warning. See [2022-08-05T04:21:54.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:21:54.682Z] [2022-08-05T04:21:54.682Z] Login Succeeded [2022-08-05T04:21:54.682Z] nexus3.edgexfoundry.org:10004 [2022-08-05T04:21:54.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:21:55.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:21:55.233Z] Configure a credential helper to remove this warning. See [2022-08-05T04:21:55.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:21:55.233Z] [2022-08-05T04:21:55.233Z] Login Succeeded [2022-08-05T04:21:55.233Z] docker.io [2022-08-05T04:21:55.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-05T04:21:55.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-05T04:21:55.779Z] Configure a credential helper to remove this warning. See [2022-08-05T04:21:55.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-05T04:21:55.779Z] [2022-08-05T04:21:55.779Z] Login Succeeded [2022-08-05T04:21:55.798Z] ---> docker-login.sh ends [Pipeline] } [2022-08-05T04:21:55.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-05T04:21:56.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T04:21:56.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-05T04:21:56.289Z] ========================================================= [2022-08-05T04:21:56.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-05T04:21:56.289Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:21:56.787Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-05T04:21:57.404Z] Sending build context to Docker daemon 13.96MB [2022-08-05T04:21:57.404Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T04:21:57.404Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-05T04:21:57.404Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-05T04:21:57.404Z] b3c136eddcbf: Pulling fs layer [2022-08-05T04:21:57.404Z] c0a3192eca97: Pulling fs layer [2022-08-05T04:21:57.404Z] a050256f5b6f: Pulling fs layer [2022-08-05T04:21:57.404Z] 656be50a0ddc: Pulling fs layer [2022-08-05T04:21:57.404Z] 2bbca73fdf42: Pulling fs layer [2022-08-05T04:21:57.404Z] 46d945488cbd: Pulling fs layer [2022-08-05T04:21:57.404Z] 8a5474983e97: Pulling fs layer [2022-08-05T04:21:57.404Z] 329c88fbcd65: Pulling fs layer [2022-08-05T04:21:57.404Z] 656be50a0ddc: Waiting [2022-08-05T04:21:57.404Z] 2bbca73fdf42: Waiting [2022-08-05T04:21:57.404Z] 46d945488cbd: Waiting [2022-08-05T04:21:57.404Z] 8a5474983e97: Waiting [2022-08-05T04:21:57.404Z] 329c88fbcd65: Waiting [2022-08-05T04:21:57.404Z] a050256f5b6f: Download complete [2022-08-05T04:21:57.404Z] c0a3192eca97: Download complete [2022-08-05T04:21:57.679Z] 2bbca73fdf42: Download complete [2022-08-05T04:21:57.679Z] 46d945488cbd: Verifying Checksum [2022-08-05T04:21:57.679Z] 46d945488cbd: Download complete [2022-08-05T04:21:57.679Z] b3c136eddcbf: Download complete [2022-08-05T04:21:58.674Z] b3c136eddcbf: Pull complete [2022-08-05T04:21:58.674Z] 329c88fbcd65: Verifying Checksum [2022-08-05T04:21:58.674Z] 329c88fbcd65: Download complete [2022-08-05T04:21:59.276Z] c0a3192eca97: Pull complete [2022-08-05T04:21:59.550Z] a050256f5b6f: Pull complete [2022-08-05T04:21:59.824Z] 8a5474983e97: Verifying Checksum [2022-08-05T04:21:59.824Z] 8a5474983e97: Download complete [2022-08-05T04:22:00.420Z] 656be50a0ddc: Verifying Checksum [2022-08-05T04:22:00.420Z] 656be50a0ddc: Download complete [2022-08-05T04:22:12.836Z] 656be50a0ddc: Pull complete [2022-08-05T04:22:13.112Z] 2bbca73fdf42: Pull complete [2022-08-05T04:22:13.387Z] 46d945488cbd: Pull complete [2022-08-05T04:22:20.103Z] 8a5474983e97: Pull complete [2022-08-05T04:22:22.084Z] 329c88fbcd65: Pull complete [2022-08-05T04:22:22.084Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-05T04:22:22.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-05T04:22:22.084Z] ---> ff4287adb874 [2022-08-05T04:22:22.084Z] Step 3/13 : ARG MAKE="make build" [2022-08-05T04:22:23.107Z] ---> Running in 7292b7a65641 [2022-08-05T04:22:23.379Z] Removing intermediate container 7292b7a65641 [2022-08-05T04:22:23.379Z] ---> 0b4d2d4bf4f1 [2022-08-05T04:22:23.379Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T04:22:23.379Z] ---> Running in 24d5bdade56b [2022-08-05T04:22:23.659Z] Removing intermediate container 24d5bdade56b [2022-08-05T04:22:23.659Z] ---> 8c116987fea2 [2022-08-05T04:22:23.659Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T04:22:23.659Z] ---> Running in f9b28749088b [2022-08-05T04:22:25.101Z] Removing intermediate container f9b28749088b [2022-08-05T04:22:25.101Z] ---> 30e69a8f18ee [2022-08-05T04:22:25.101Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-05T04:22:25.101Z] ---> Running in f9f965b3a879 [2022-08-05T04:22:25.389Z] Removing intermediate container f9f965b3a879 [2022-08-05T04:22:25.389Z] ---> 60bd1fbc4301 [2022-08-05T04:22:25.389Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T04:22:25.389Z] ---> Running in 90742b3f494c [2022-08-05T04:22:27.378Z] Removing intermediate container 90742b3f494c [2022-08-05T04:22:27.378Z] ---> b5867b1c5b1b [2022-08-05T04:22:27.378Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T04:22:27.378Z] ---> Running in 0ecf89ba538e [2022-08-05T04:22:28.372Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T04:22:29.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T04:22:30.335Z] OK: 221 MiB in 51 packages [2022-08-05T04:22:30.959Z] Removing intermediate container 0ecf89ba538e [2022-08-05T04:22:30.959Z] ---> 272345b36b84 [2022-08-05T04:22:30.959Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-05T04:22:30.959Z] ---> Running in 65a2d85290e7 [2022-08-05T04:22:31.236Z] Removing intermediate container 65a2d85290e7 [2022-08-05T04:22:31.236Z] ---> dcfcc77a9955 [2022-08-05T04:22:31.236Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-05T04:22:31.844Z] ---> 9cf34b8df4f1 [2022-08-05T04:22:31.844Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T04:22:31.844Z] ---> Running in a107b74e1c96 [2022-08-05T04:23:18.838Z] Removing intermediate container a107b74e1c96 [2022-08-05T04:23:18.838Z] ---> 8a102deb9ffd [2022-08-05T04:23:18.838Z] Step 12/13 : COPY . . [2022-08-05T04:23:18.838Z] ---> 3dea79b1113b [2022-08-05T04:23:18.838Z] Step 13/13 : RUN ${MAKE} [2022-08-05T04:23:18.838Z] ---> Running in cc0af19b5b81 [2022-08-05T04:23:18.838Z] noop [2022-08-05T04:23:18.838Z] Removing intermediate container cc0af19b5b81 [2022-08-05T04:23:18.838Z] ---> 625cb9ff54ef [2022-08-05T04:23:18.838Z] Successfully built 625cb9ff54ef [2022-08-05T04:23:18.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:23:19.327Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T04:23:19.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:23:19.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container [2022-08-05T04:23:19.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-05T04:23:21.052Z] $ docker top d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T04:23:22.032Z] + go version [2022-08-05T04:23:22.032Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-05T04:23:22.070Z] $ docker stop --time=1 d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 [2022-08-05T04:23:23.694Z] $ docker rm -f d26368732dd8318e001c2eb725598078e3456e20b638dc41825fb2bb901a6be8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:23:24.626Z] + docker inspect -f . ci-base-image-arm64 [2022-08-05T04:23:24.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:23:24.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container [2022-08-05T04:23:25.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-05T04:23:26.295Z] $ docker top adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T04:23:27.265Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-05T04:23:27.989Z] + make test [2022-08-05T04:23:27.989Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-05T04:23:29.430Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-05T04:24:51.293Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-05T04:24:56.736Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.115s coverage: 10.6% of statements [2022-08-05T04:24:56.736Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-05T04:25:23.934Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.499s coverage: 13.8% of statements [2022-08-05T04:25:23.934Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-05T04:25:23.934Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-05T04:25:42.312Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-05T04:25:42.312Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-05T04:25:42.312Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-05T04:25:44.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-05T04:25:44.381Z] $ docker stop --time=1 adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 [2022-08-05T04:25:46.184Z] $ docker rm -f adc86f0796bd6c2d7813cdc9f36eaf3b50e17793be6fd2c767e70bdb8ca69c43 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-05T04:25:47.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-05T04:25:47.299Z] Warning: overwriting stash ‘coverage-report’ [2022-08-05T04:25:47.836Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-05T04:25:48.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-05T04:25:48.827Z] + ls -al . [2022-08-05T04:25:48.827Z] total 228 [2022-08-05T04:25:48.827Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 5 04:25 . [2022-08-05T04:25:48.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 .. [2022-08-05T04:25:48.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 04:21 .git [2022-08-05T04:25:48.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:21 .github [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 5 04:21 .gitignore [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 5 04:21 .golangci.yml [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 5 04:21 Attribution.txt [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 5 04:21 CHANGELOG.md [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 5 04:21 Dockerfile [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 5 04:21 GOVERNANCE.md [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 5 04:21 Jenkinsfile [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 5 04:21 LICENSE [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 2519 Aug 5 04:21 Makefile [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 5 04:21 OWNERS.md [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 5 04:21 README.md [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 5 04:19 VERSION [2022-08-05T04:25:48.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 04:21 bin [2022-08-05T04:25:48.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 5 04:21 cmd [2022-08-05T04:25:48.827Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 5 04:25 coverage.out [2022-08-05T04:25:48.827Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 5 04:21 doc [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 5 04:21 go.mod [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 5 04:21 go.sum [2022-08-05T04:25:48.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 internal [2022-08-05T04:25:48.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 04:21 snap [2022-08-05T04:25:48.827Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 5 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:25:49.265Z] + 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=72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 --label arch=arm64 --label version=0.0.0 . [2022-08-05T04:25:49.868Z] Sending build context to Docker daemon 14.04MB [2022-08-05T04:25:49.868Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-05T04:25:49.868Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-05T04:25:49.868Z] ---> 625cb9ff54ef [2022-08-05T04:25:49.868Z] Step 3/26 : ARG MAKE="make build" [2022-08-05T04:25:49.868Z] ---> Running in 2833571084fb [2022-08-05T04:25:50.469Z] Removing intermediate container 2833571084fb [2022-08-05T04:25:50.469Z] ---> f1ef206f07f3 [2022-08-05T04:25:50.469Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-05T04:25:50.469Z] ---> Running in 0d0ca0a106a9 [2022-08-05T04:25:50.744Z] Removing intermediate container 0d0ca0a106a9 [2022-08-05T04:25:50.744Z] ---> 723514248a58 [2022-08-05T04:25:50.744Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-05T04:25:50.744Z] ---> Running in bae482a6d622 [2022-08-05T04:25:51.026Z] Removing intermediate container bae482a6d622 [2022-08-05T04:25:51.026Z] ---> ab6ac9086010 [2022-08-05T04:25:51.026Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-05T04:25:51.026Z] ---> Running in 797427af4758 [2022-08-05T04:25:51.626Z] Removing intermediate container 797427af4758 [2022-08-05T04:25:51.626Z] ---> 1fa84cdc300d [2022-08-05T04:25:51.626Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-05T04:25:51.626Z] ---> Running in 22de5a66eee5 [2022-08-05T04:25:53.115Z] Removing intermediate container 22de5a66eee5 [2022-08-05T04:25:53.115Z] ---> a416ee7961dd [2022-08-05T04:25:53.115Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-05T04:25:53.115Z] ---> Running in 94dfe7769f27 [2022-08-05T04:25:54.102Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-05T04:25:55.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-05T04:25:56.068Z] OK: 221 MiB in 51 packages [2022-08-05T04:25:56.661Z] Removing intermediate container 94dfe7769f27 [2022-08-05T04:25:56.661Z] ---> 2a0974856d2b [2022-08-05T04:25:56.661Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-05T04:25:56.661Z] ---> Running in 9befd5719001 [2022-08-05T04:25:56.937Z] Removing intermediate container 9befd5719001 [2022-08-05T04:25:56.937Z] ---> 3d95c447f558 [2022-08-05T04:25:56.937Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-05T04:25:57.558Z] ---> 6fc283e5c0ec [2022-08-05T04:25:57.558Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-05T04:25:57.558Z] ---> Running in 9948028364eb [2022-08-05T04:25:59.545Z] Removing intermediate container 9948028364eb [2022-08-05T04:25:59.545Z] ---> d91e158798f1 [2022-08-05T04:25:59.545Z] Step 12/26 : COPY . . [2022-08-05T04:26:00.986Z] ---> c5ee07889c40 [2022-08-05T04:26:00.987Z] Step 13/26 : RUN ${MAKE} [2022-08-05T04:26:00.987Z] ---> Running in fc6e57864c3d [2022-08-05T04:26:01.969Z] 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-08-05T04:28:08.932Z] Removing intermediate container fc6e57864c3d [2022-08-05T04:28:08.932Z] ---> 982dc909a845 [2022-08-05T04:28:08.932Z] Step 14/26 : FROM alpine:3.15 [2022-08-05T04:28:08.932Z] 3.15: Pulling from library/alpine [2022-08-05T04:28:08.932Z] e0295fd11fe2: Pulling fs layer [2022-08-05T04:28:08.932Z] e0295fd11fe2: Verifying Checksum [2022-08-05T04:28:08.932Z] e0295fd11fe2: Download complete [2022-08-05T04:28:08.932Z] e0295fd11fe2: Pull complete [2022-08-05T04:28:08.932Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-05T04:28:08.932Z] Status: Downloaded newer image for alpine:3.15 [2022-08-05T04:28:08.932Z] ---> 60f2846fe774 [2022-08-05T04:28:08.932Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-05T04:28:08.932Z] ---> Running in 38e5f39a3b0b [2022-08-05T04:28:08.932Z] Removing intermediate container 38e5f39a3b0b [2022-08-05T04:28:08.932Z] ---> 313599a762ca [2022-08-05T04:28:08.932Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-05T04:28:09.212Z] ---> Running in af3ba0b29b7b [2022-08-05T04:28:10.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-05T04:28:10.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-05T04:28:11.072Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-05T04:28:11.072Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-05T04:28:11.072Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-05T04:28:11.072Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-05T04:28:11.359Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-05T04:28:11.359Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-05T04:28:11.359Z] Executing busybox-1.34.1-r7.trigger [2022-08-05T04:28:11.359Z] OK: 8 MiB in 20 packages [2022-08-05T04:28:12.346Z] Removing intermediate container af3ba0b29b7b [2022-08-05T04:28:12.346Z] ---> 3317ab3021cf [2022-08-05T04:28:12.346Z] Step 17/26 : WORKDIR / [2022-08-05T04:28:12.346Z] ---> Running in e89b85487dcb [2022-08-05T04:28:12.620Z] Removing intermediate container e89b85487dcb [2022-08-05T04:28:12.620Z] ---> d930031d2418 [2022-08-05T04:28:12.620Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-05T04:28:14.057Z] ---> 8cd5ee4fad97 [2022-08-05T04:28:14.057Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-05T04:28:14.659Z] ---> 46655421cfec [2022-08-05T04:28:14.659Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-05T04:28:15.261Z] ---> aeefa1ed07b2 [2022-08-05T04:28:15.261Z] Step 21/26 : EXPOSE 59984 [2022-08-05T04:28:15.261Z] ---> Running in 511ff6b27d39 [2022-08-05T04:28:15.537Z] Removing intermediate container 511ff6b27d39 [2022-08-05T04:28:15.537Z] ---> 676f192b6091 [2022-08-05T04:28:15.537Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-05T04:28:15.537Z] ---> Running in b6f47b511cfd [2022-08-05T04:28:15.819Z] Removing intermediate container b6f47b511cfd [2022-08-05T04:28:15.819Z] ---> 12a081bc5577 [2022-08-05T04:28:15.819Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-05T04:28:15.819Z] ---> Running in 7de1a7afe846 [2022-08-05T04:28:16.424Z] Removing intermediate container 7de1a7afe846 [2022-08-05T04:28:16.424Z] ---> 449b346fc330 [2022-08-05T04:28:16.424Z] Step 24/26 : LABEL arch=arm64 [2022-08-05T04:28:16.424Z] ---> Running in ef74743aec4b [2022-08-05T04:28:16.700Z] Removing intermediate container ef74743aec4b [2022-08-05T04:28:16.700Z] ---> 6b6c92ca05d8 [2022-08-05T04:28:16.700Z] Step 25/26 : LABEL git_sha=72b6b9fd3c5a577f82098a5a9ed26e6ed2d74b95 [2022-08-05T04:28:16.700Z] ---> Running in 7f1a2611e59d [2022-08-05T04:28:16.977Z] Removing intermediate container 7f1a2611e59d [2022-08-05T04:28:16.977Z] ---> fd910bde7ca2 [2022-08-05T04:28:16.977Z] Step 26/26 : LABEL version=0.0.0 [2022-08-05T04:28:16.977Z] ---> Running in e977cb579083 [2022-08-05T04:28:17.252Z] Removing intermediate container e977cb579083 [2022-08-05T04:28:17.252Z] ---> f479900a3f59 [2022-08-05T04:28:17.252Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-05T04:28:17.525Z] Successfully built f479900a3f59 [2022-08-05T04:28:17.525Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:28:18.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T04:28:18.359Z] [2022-08-05T04:28:18.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:28:18.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T04:28:19.064Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-05T04:28:19.064Z] 8998bd30e6a1: Pulling fs layer [2022-08-05T04:28:19.064Z] 04944245beec: Pulling fs layer [2022-08-05T04:28:19.064Z] 699f458cf7ca: Pulling fs layer [2022-08-05T04:28:19.064Z] 765212b225bb: Pulling fs layer [2022-08-05T04:28:19.064Z] f23df028b6ca: Pulling fs layer [2022-08-05T04:28:19.064Z] d65c8cfc05b1: Pulling fs layer [2022-08-05T04:28:19.064Z] 2437ff75d9bd: Pulling fs layer [2022-08-05T04:28:19.064Z] f23df028b6ca: Waiting [2022-08-05T04:28:19.064Z] d65c8cfc05b1: Waiting [2022-08-05T04:28:19.064Z] 2437ff75d9bd: Waiting [2022-08-05T04:28:19.064Z] 765212b225bb: Waiting [2022-08-05T04:28:19.064Z] 04944245beec: Verifying Checksum [2022-08-05T04:28:19.064Z] 04944245beec: Download complete [2022-08-05T04:28:19.064Z] 765212b225bb: Verifying Checksum [2022-08-05T04:28:19.064Z] 765212b225bb: Download complete [2022-08-05T04:28:19.064Z] f23df028b6ca: Verifying Checksum [2022-08-05T04:28:19.064Z] f23df028b6ca: Download complete [2022-08-05T04:28:19.064Z] d65c8cfc05b1: Verifying Checksum [2022-08-05T04:28:19.064Z] d65c8cfc05b1: Download complete [2022-08-05T04:28:19.345Z] 699f458cf7ca: Verifying Checksum [2022-08-05T04:28:19.345Z] 699f458cf7ca: Download complete [2022-08-05T04:28:19.621Z] 8998bd30e6a1: Verifying Checksum [2022-08-05T04:28:19.621Z] 8998bd30e6a1: Download complete [2022-08-05T04:28:22.274Z] 2437ff75d9bd: Verifying Checksum [2022-08-05T04:28:22.274Z] 2437ff75d9bd: Download complete [2022-08-05T04:28:24.259Z] 8998bd30e6a1: Pull complete [2022-08-05T04:28:24.535Z] 04944245beec: Pull complete [2022-08-05T04:28:25.981Z] 699f458cf7ca: Pull complete [2022-08-05T04:28:26.256Z] 765212b225bb: Pull complete [2022-08-05T04:28:26.856Z] f23df028b6ca: Pull complete [2022-08-05T04:28:27.131Z] d65c8cfc05b1: Pull complete [2022-08-05T04:28:42.249Z] 2437ff75d9bd: Pull complete [2022-08-05T04:28:42.249Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-05T04:28:42.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-05T04:28:42.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:28:42.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-21981 does not seem to be running inside a container [2022-08-05T04:28:42.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-05T04:28:45.260Z] $ docker top b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:28:46.257Z] ---> job-cost.sh [2022-08-05T04:28:46.257Z] lf-activate-venv: SKIPPING [2022-08-05T04:28:46.257Z] INFO: No Stack... [2022-08-05T04:28:46.855Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-05T04:28:47.833Z] INFO: Archiving Costs [Pipeline] sh [2022-08-05T04:28:48.518Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-05T04:28:48.518Z] + cut -d, -f6 [Pipeline] lock [2022-08-05T04:28:48.567Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [2022-08-05T04:28:48.572Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] did not exist. Created. [2022-08-05T04:28:48.572Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-05T04:28:49.381Z] /w/workspace/device-onvif-camera/1@tmp/durable-a99196bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-05T04:28:50.151Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-05T04:28:50.190Z] Warning: overwriting stash ‘stack-cost’ [2022-08-05T04:28:50.261Z] Stashed 1 file(s) [Pipeline] } [2022-08-05T04:28:50.275Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-05T04:28:50.350Z] $ docker stop --time=1 b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 [2022-08-05T04:28:51.858Z] $ docker rm -f b1d137eaa2c9bd7004d940949f9286ae9b40523827fab391bb7629ad6b1685a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-05T04:28:52.901Z] provisioning config files... [2022-08-05T04:28:52.910Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config8546524100354777191tmp [Pipeline] { [Pipeline] sh [2022-08-05T04:28:53.235Z] + set +x [2022-08-05T04:28:53.235Z] + + curl -s https://codecov.io/bash [2022-08-05T04:28:53.235Z] bash -s -- [2022-08-05T04:28:53.235Z] [2022-08-05T04:28:53.235Z] _____ _ [2022-08-05T04:28:53.235Z] / ____| | | [2022-08-05T04:28:53.235Z] | | ___ __| | ___ ___ _____ __ [2022-08-05T04:28:53.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-05T04:28:53.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-05T04:28:53.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-05T04:28:53.235Z] Bash-1.0.6 [2022-08-05T04:28:53.235Z] [2022-08-05T04:28:53.235Z] [2022-08-05T04:28:53.235Z] ==> git version 2.25.1 found [2022-08-05T04:28:53.235Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-05T04:28:53.235Z] Release-Date: 2020-01-08 [2022-08-05T04:28:53.235Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-05T04:28:53.235Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-05T04:28:53.235Z] ==> Jenkins CI detected. [2022-08-05T04:28:53.235Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-123 [2022-08-05T04:28:53.235Z] project root: . [2022-08-05T04:28:53.235Z] --> token set from env [2022-08-05T04:28:53.235Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-05T04:28:53.235Z] ==> Running gcov in . (disable via -X gcov) [2022-08-05T04:28:53.235Z] ==> Python coveragepy not found [2022-08-05T04:28:53.235Z] ==> Searching for coverage reports in: [2022-08-05T04:28:53.235Z] + . [2022-08-05T04:28:53.235Z] -> Found 1 reports [2022-08-05T04:28:53.235Z] ==> Detecting git/mercurial file structure [2022-08-05T04:28:53.235Z] ==> Reading reports [2022-08-05T04:28:53.235Z] + ./coverage.out bytes=76856 [2022-08-05T04:28:53.499Z] ==> Appending adjustments [2022-08-05T04:28:53.499Z] https://docs.codecov.io/docs/fixing-reports [2022-08-05T04:28:53.499Z] + Found adjustments [2022-08-05T04:28:53.499Z] ==> Gzipping contents [2022-08-05T04:28:53.499Z] 12K /tmp/codecov.prHbqV.gz [2022-08-05T04:28:53.499Z] ==> Uploading reports [2022-08-05T04:28:53.499Z] url: https://codecov.io [2022-08-05T04:28:53.499Z] query: branch=PR-123&commit=51efc5ccc94ee12395d5568a425ee5aeaabe5871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= [2022-08-05T04:28:53.499Z] -> Pinging Codecov [2022-08-05T04:28:53.499Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-123&commit=51efc5ccc94ee12395d5568a425ee5aeaabe5871&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-123%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=123&job=&cmd_args= [2022-08-05T04:28:53.760Z] -> Uploading to [2022-08-05T04:28:53.760Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-05/F29A59C45E3A92E06B3E522C9905F8EF/51efc5ccc94ee12395d5568a425ee5aeaabe5871/df7b231f-68cf-4ee3-bd32-d16d1b500fec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220805%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220805T042853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=819093a66a554f9a18ac6d80d8e33a228caebe8154e7e1b069e5628ec33af557 [2022-08-05T04:28:53.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-05T04:28:53.760Z] Dload Upload Total Spent Left Speed [2022-08-05T04:28:54.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10366 0 0 100 10366 0 38535 --:--:-- --:--:-- --:--:-- 38535 [2022-08-05T04:28:54.021Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/51efc5ccc94ee12395d5568a425ee5aeaabe5871 [Pipeline] } [2022-08-05T04:28:54.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-05T04:28:55.943Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-123/archives ] [2022-08-05T04:28:55.943Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T04:28:55.943Z] total 16 [2022-08-05T04:28:55.943Z] drwxr-xr-x 3 root root 4096 Aug 5 04:21 . [2022-08-05T04:28:55.943Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 04:21 .. [2022-08-05T04:28:55.943Z] drwxr-xr-x 2 root root 4096 Aug 5 04:21 cost [2022-08-05T04:28:55.943Z] -rw-r--r-- 1 root root 91 Aug 5 04:21 cost.csv [2022-08-05T04:28:55.943Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T04:28:55.943Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-123/archives [2022-08-05T04:28:55.943Z] total 16 [2022-08-05T04:28:55.943Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 5 04:21 . [2022-08-05T04:28:55.943Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 5 04:21 .. [2022-08-05T04:28:55.943Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 5 04:21 cost [2022-08-05T04:28:55.943Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 5 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:28:56.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:28:57.178Z] ---> package-listing.sh [2022-08-05T04:28:57.178Z] ++ facter osfamily [2022-08-05T04:28:57.178Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-05T04:28:57.441Z] + OS_FAMILY=debian [2022-08-05T04:28:57.441Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-123 [2022-08-05T04:28:57.441Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-05T04:28:57.441Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-05T04:28:57.441Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-05T04:28:57.441Z] + PACKAGES=/tmp/packages_start.txt [2022-08-05T04:28:57.441Z] + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' [2022-08-05T04:28:57.441Z] + PACKAGES=/tmp/packages_end.txt [2022-08-05T04:28:57.441Z] + case "${OS_FAMILY}" in [2022-08-05T04:28:57.441Z] + dpkg -l [2022-08-05T04:28:57.441Z] + grep '^ii' [2022-08-05T04:28:57.441Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-05T04:28:57.441Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-05T04:28:57.441Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-05T04:28:57.441Z] + '[' /w/workspace/undry_device-onvif-camera_PR-123 ']' [2022-08-05T04:28:57.441Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-123/archives/ [2022-08-05T04:28:57.441Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-123/archives/ [Pipeline] echo [2022-08-05T04:28:57.473Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-05T04:28:57.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-05T04:28:58.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-05T04:28:58.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-05T04:28:58.296Z] prd-ubuntu20.04-docker-8c-8g-21980 does not seem to be running inside a container [2022-08-05T04:28:58.334Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-123 -v /w/workspace/undry_device-onvif-camera_PR-123:/w/workspace/undry_device-onvif-camera_PR-123:rw,z -v /w/workspace/undry_device-onvif-camera_PR-123@tmp:/w/workspace/undry_device-onvif-camera_PR-123@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-08-05T04:28:58.528Z] $ docker top 636088f20598283e54f3684ea60d08ce3b47dafbefbecccde357302be416f497 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-05T04:28:58.931Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-05T04:28:59.242Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-05T04:28:59.548Z] + ls /var/log/sa-host [2022-08-05T04:28:59.548Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-05T04:28:59.740Z] provisioning config files... [2022-08-05T04:28:59.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-123@tmp/config1117277418213563811tmp [Pipeline] { [Pipeline] echo [2022-08-05T04:28:59.801Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:29:00.115Z] ---> create-netrc.sh [Pipeline] } [2022-08-05T04:29:00.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:29:00.554Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-05T04:29:00.595Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:29:00.911Z] ---> sudo-logs.sh [2022-08-05T04:29:00.911Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-05T04:29:00.997Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:29:01.310Z] ---> job-cost.sh [2022-08-05T04:29:01.310Z] lf-activate-venv: SKIPPING [2022-08-05T04:29:01.310Z] DEBUG: total: 0.2199999988079071 [2022-08-05T04:29:01.310Z] INFO: Retrieving Stack Cost... [2022-08-05T04:29:01.880Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-05T04:29:02.450Z] INFO: Archiving Costs [Pipeline] echo [2022-08-05T04:29:02.488Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-05T04:29:02.803Z] ---> logs-deploy.sh [2022-08-05T04:29:02.803Z] lf-activate-venv: SKIPPING [2022-08-05T04:29:02.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-123/1 [2022-08-05T04:29:02.803Z] INFO: archiving workspace using pattern(s): [2022-08-05T04:29:03.744Z] Archives upload complete. [2022-08-05T04:29:03.744Z] INFO: archiving logs to Nexus