Pull request #217 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 farshidtz for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 790c3525d751ebef70c4aab1d4e97a6f88325827+916f6b3a329f57eb75e5307752edff55e76e784f (caea1c569a66cd8c8c1d18874e78c34424153bac) 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-ssh1570319118478623323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15973186835058942952.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1174940347158299792.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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6531170112697747139.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2831945395596891200.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9249035010158449487.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2601 in /w/workspace/undry_device-onvif-camera_PR-217 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-217 # 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 > 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/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit 790c3525d751ebef70c4aab1d4e97a6f88325827 Merge succeeded, producing 790c3525d751ebef70c4aab1d4e97a6f88325827 Checking out Revision 790c3525d751ebef70c4aab1d4e97a6f88325827 (PR-217) > git config core.sparsecheckout # timeout=10 > git checkout -f 790c3525d751ebef70c4aab1d4e97a6f88325827 # 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 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 790c3525d751ebef70c4aab1d4e97a6f88325827 # timeout=10 Commit message: "refactor(snap): Upgrade to snap hooks v3 - Remove enabling of app options since it is enabled by default in the library - Other code refactoring" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T17:40:10.691Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T17:40:10.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T17:40:10.978Z] ========================================================= [2023-01-16T17:40:10.978Z] EdgeX Global Pipelines Version Info [2023-01-16T17:40:10.978Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:40:11.737Z] ------------------- [2023-01-16T17:40:11.737Z] stable info: [2023-01-16T17:40:11.737Z] ------------------- [2023-01-16T17:40:11.737Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T17:40:11.737Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T17:40:11.737Z] Message: update stable to v1.0.244 [2023-01-16T17:40:12.308Z] ------------------- [2023-01-16T17:40:12.308Z] experimental info: [2023-01-16T17:40:12.308Z] ------------------- [2023-01-16T17:40:12.308Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T17:40:12.308Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T17:40:12.308Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T17:40:12.587Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-16T17:40:12.628Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-16T17:40:12.672Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T17:40:12.709Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T17:40:12.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T17:40:12.780Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T17:40:12.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T17:40:12.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-16T17:40:12.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T17:40:12.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T17:40:12.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T17:40:13.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-16T17:40:13.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T17:40:13.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T17:40:13.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T17:40:13.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T17:40:13.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T17:40:13.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T17:40:13.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T17:40:13.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T17:40:13.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T17:40:13.458Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-16T17:40:13.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T17:40:13.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T17:40:13.769Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T17:40:13.819Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T17:40:13.859Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T17:40:13.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2023-01-16T17:40:13.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2023-01-16T17:40:13.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2023-01-16T17:40:14.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 790c3525d751ebef70c4aab1d4e97a6f88325827 [Pipeline] echo [2023-01-16T17:40:14.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 790c352 [Pipeline] echo [2023-01-16T17:40:14.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T17:40:14.223Z] provisioning config files... [2023-01-16T17:40:14.236Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-217@tmp/config9361166874049886362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:40:14.578Z] ---> docker-login.sh [2023-01-16T17:40:14.579Z] nexus3.edgexfoundry.org:10001 [2023-01-16T17:40:14.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:14.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:14.837Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:14.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:14.837Z] [2023-01-16T17:40:14.837Z] Login Succeeded [2023-01-16T17:40:14.837Z] nexus3.edgexfoundry.org:10002 [2023-01-16T17:40:14.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:14.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:14.837Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:14.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:14.837Z] [2023-01-16T17:40:14.837Z] Login Succeeded [2023-01-16T17:40:14.837Z] nexus3.edgexfoundry.org:10003 [2023-01-16T17:40:14.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:15.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:15.096Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:15.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:15.096Z] [2023-01-16T17:40:15.096Z] Login Succeeded [2023-01-16T17:40:15.096Z] nexus3.edgexfoundry.org:10004 [2023-01-16T17:40:15.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:15.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:15.096Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:15.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:15.096Z] [2023-01-16T17:40:15.096Z] Login Succeeded [2023-01-16T17:40:15.096Z] docker.io [2023-01-16T17:40:15.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:15.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:15.356Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:15.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:15.356Z] [2023-01-16T17:40:15.356Z] Login Succeeded [2023-01-16T17:40:15.356Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T17:40:15.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T17:40:16.010Z] + git rev-list -1 --merges 790c3525d751ebef70c4aab1d4e97a6f88325827~1..790c3525d751ebef70c4aab1d4e97a6f88325827 [Pipeline] echo [2023-01-16T17:40:16.078Z] -----------> git rev-list -1 --merges 790c3525d751ebef70c4aab1d4e97a6f88325827~1..790c3525d751ebef70c4aab1d4e97a6f88325827 790c3525d751ebef70c4aab1d4e97a6f88325827 [false] [Pipeline] sh [2023-01-16T17:40:16.394Z] + git log --format=format:%s -1 790c3525d751ebef70c4aab1d4e97a6f88325827 [Pipeline] echo [2023-01-16T17:40:16.430Z] ========================================================= [2023-01-16T17:40:16.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T17:40:16.430Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T17:40:16.860Z] + git log --format=format:%s -1 790c3525d751ebef70c4aab1d4e97a6f88325827 [Pipeline] echo [2023-01-16T17:40:16.893Z] [semverPrep] GIT_COMMIT: 790c3525d751ebef70c4aab1d4e97a6f88325827, Commit Message: refactor(snap): Upgrade to snap hooks v3 - Remove enabling of app options since it is enabled by default in the library - Other code refactoring [Pipeline] echo [2023-01-16T17:40:16.922Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T17:40:17.359Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T17:40:17.359Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T17:40:17.359Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T17:40:17.359Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T17:40:17.359Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T17:40:17.359Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T17:40:17.359Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:40:17.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T17:40:17.786Z] [2023-01-16T17:40:17.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:40:18.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T17:40:18.160Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T17:40:18.160Z] b85a868b505f: Pulling fs layer [2023-01-16T17:40:18.160Z] e2be974225ed: Pulling fs layer [2023-01-16T17:40:18.160Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T17:40:18.160Z] 988bab9f4d93: Pulling fs layer [2023-01-16T17:40:18.160Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T17:40:18.160Z] 988bab9f4d93: Waiting [2023-01-16T17:40:18.160Z] eaf3925da568: Pulling fs layer [2023-01-16T17:40:18.160Z] bab4dde63d76: Pulling fs layer [2023-01-16T17:40:18.160Z] 1469e6f7b9e6: Waiting [2023-01-16T17:40:18.160Z] bab4dde63d76: Waiting [2023-01-16T17:40:18.160Z] eaf3925da568: Waiting [2023-01-16T17:40:18.160Z] bde34c3a00c8: Pulling fs layer [2023-01-16T17:40:18.160Z] b352a97aabf1: Pulling fs layer [2023-01-16T17:40:18.160Z] 4872d77fe225: Pulling fs layer [2023-01-16T17:40:18.160Z] 5851b861e8e6: Pulling fs layer [2023-01-16T17:40:18.160Z] 4872d77fe225: Waiting [2023-01-16T17:40:18.160Z] 5851b861e8e6: Waiting [2023-01-16T17:40:18.160Z] e2be974225ed: Verifying Checksum [2023-01-16T17:40:18.160Z] e2be974225ed: Download complete [2023-01-16T17:40:18.160Z] 988bab9f4d93: Verifying Checksum [2023-01-16T17:40:18.160Z] 988bab9f4d93: Download complete [2023-01-16T17:40:18.429Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T17:40:18.429Z] 1469e6f7b9e6: Download complete [2023-01-16T17:40:18.429Z] eaf3925da568: Download complete [2023-01-16T17:40:18.691Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T17:40:18.691Z] 339a4e72a1f5: Download complete [2023-01-16T17:40:18.691Z] bde34c3a00c8: Download complete [2023-01-16T17:40:18.691Z] b352a97aabf1: Download complete [2023-01-16T17:40:18.691Z] 4872d77fe225: Verifying Checksum [2023-01-16T17:40:18.691Z] 4872d77fe225: Download complete [2023-01-16T17:40:18.691Z] 5851b861e8e6: Verifying Checksum [2023-01-16T17:40:18.691Z] 5851b861e8e6: Download complete [2023-01-16T17:40:18.974Z] b85a868b505f: Verifying Checksum [2023-01-16T17:40:18.974Z] b85a868b505f: Download complete [2023-01-16T17:40:19.910Z] bab4dde63d76: Verifying Checksum [2023-01-16T17:40:19.910Z] bab4dde63d76: Download complete [2023-01-16T17:40:20.210Z] b85a868b505f: Pull complete [2023-01-16T17:40:20.210Z] e2be974225ed: Pull complete [2023-01-16T17:40:20.800Z] 339a4e72a1f5: Pull complete [2023-01-16T17:40:20.800Z] 988bab9f4d93: Pull complete [2023-01-16T17:40:21.060Z] 1469e6f7b9e6: Pull complete [2023-01-16T17:40:21.060Z] eaf3925da568: Pull complete [2023-01-16T17:40:22.962Z] bab4dde63d76: Pull complete [2023-01-16T17:40:22.962Z] bde34c3a00c8: Pull complete [2023-01-16T17:40:22.962Z] b352a97aabf1: Pull complete [2023-01-16T17:40:22.962Z] 4872d77fe225: Pull complete [2023-01-16T17:40:22.962Z] 5851b861e8e6: Pull complete [2023-01-16T17:40:22.962Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T17:40:22.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T17:40:22.962Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:40:23.162Z] prd-ubuntu20.04-docker-8c-8g-2601 does not seem to be running inside a container [2023-01-16T17:40:23.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-217 -v /w/workspace/undry_device-onvif-camera_PR-217:/w/workspace/undry_device-onvif-camera_PR-217:rw,z -v /w/workspace/undry_device-onvif-camera_PR-217@tmp:/w/workspace/undry_device-onvif-camera_PR-217@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 [2023-01-16T17:40:24.457Z] $ docker top 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd -eo pid,comm [2023-01-16T17:40:24.518Z] 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). [2023-01-16T17:40:24.519Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T17:40:24.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T17:40:24.658Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T17:40:24.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T17:40:24.768Z] $ docker exec 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd ssh-agent [2023-01-16T17:40:24.870Z] SSH_AUTH_SOCK=/tmp/ssh-DCoGPVhab5ad/agent.32 [2023-01-16T17:40:24.870Z] SSH_AGENT_PID=38 [2023-01-16T17:40:24.875Z] Running ssh-add (command line suppressed) [2023-01-16T17:40:24.976Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-217@tmp/private_key_17668536796092032291.key (/w/workspace/undry_device-onvif-camera_PR-217@tmp/private_key_17668536796092032291.key) [2023-01-16T17:40:24.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T17:40:25.317Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T17:40:25.346Z] $ docker exec --env ******** --env ******** 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd ssh-agent -k [2023-01-16T17:40:25.434Z] unset SSH_AUTH_SOCK; [2023-01-16T17:40:25.435Z] unset SSH_AGENT_PID; [2023-01-16T17:40:25.435Z] echo Agent pid 38 killed; [2023-01-16T17:40:25.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T17:40:25.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T17:40:25.530Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T17:40:25.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T17:40:25.642Z] $ docker exec 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd ssh-agent [2023-01-16T17:40:25.745Z] SSH_AUTH_SOCK=/tmp/ssh-VqXTihE6icsA/agent.70 [2023-01-16T17:40:25.745Z] SSH_AGENT_PID=76 [2023-01-16T17:40:25.750Z] Running ssh-add (command line suppressed) [2023-01-16T17:40:25.843Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-217@tmp/private_key_13153622978610815934.key (/w/workspace/undry_device-onvif-camera_PR-217@tmp/private_key_13153622978610815934.key) [2023-01-16T17:40:25.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T17:40:26.277Z] + git semver init [2023-01-16T17:40:26.536Z] 2023-01-16 17:40:26,453 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T17:40:26.536Z] 2023-01-16 17:40:26,454 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-217/.semver [2023-01-16T17:40:26.536Z] 2023-01-16 17:40:26,455 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-217/.semver [2023-01-16T17:40:26.536Z] 2023-01-16 17:40:26,455 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-217/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-217, universal_newlines=False, shell=None, istream=None) [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,356 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-217/.git/info/exclude [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-217/.semver/PR-217 with force:False [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,357 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-217/.semver/PR-217 [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,361 [execute] INFO git cat-file --batch-check [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,369 [execute] INFO git cat-file --batch [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T17:40:27.481Z] 2023-01-16 17:40:27,375 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-217/.semver/PR-217 [2023-01-16T17:40:27.481Z] 0.0.0 [Pipeline] } [2023-01-16T17:40:27.513Z] $ docker exec --env ******** --env ******** 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd ssh-agent -k [2023-01-16T17:40:27.615Z] unset SSH_AUTH_SOCK; [2023-01-16T17:40:27.615Z] unset SSH_AGENT_PID; [2023-01-16T17:40:27.615Z] echo Agent pid 76 killed; [2023-01-16T17:40:27.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T17:40:28.037Z] + git semver [Pipeline] } [2023-01-16T17:40:28.328Z] $ docker stop --time=1 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd [2023-01-16T17:40:29.641Z] $ docker rm -f --volumes 1845d63b25da1bac2ed742eb6824c632f1b467fc46f45c996717ffd9a9ae55bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T17:40:30.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T17:40:30.361Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T17:40:30.380Z] [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 [2023-01-16T17:40:30.986Z] provisioning config files... [2023-01-16T17:40:30.995Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-217@tmp/config4623006440005137212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:40:31.336Z] ---> docker-login.sh [2023-01-16T17:40:31.336Z] nexus3.edgexfoundry.org:10001 [2023-01-16T17:40:31.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:31.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:31.336Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:31.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:31.336Z] [2023-01-16T17:40:31.336Z] Login Succeeded [2023-01-16T17:40:31.336Z] nexus3.edgexfoundry.org:10002 [2023-01-16T17:40:31.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:31.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:31.336Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:31.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:31.336Z] [2023-01-16T17:40:31.336Z] Login Succeeded [2023-01-16T17:40:31.336Z] nexus3.edgexfoundry.org:10003 [2023-01-16T17:40:31.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:31.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:31.598Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:31.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:31.598Z] [2023-01-16T17:40:31.598Z] Login Succeeded [2023-01-16T17:40:31.598Z] nexus3.edgexfoundry.org:10004 [2023-01-16T17:40:31.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:31.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:31.598Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:31.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:31.598Z] [2023-01-16T17:40:31.598Z] Login Succeeded [2023-01-16T17:40:31.598Z] docker.io [2023-01-16T17:40:31.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:40:31.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:40:31.857Z] Configure a credential helper to remove this warning. See [2023-01-16T17:40:31.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:40:31.857Z] [2023-01-16T17:40:31.857Z] Login Succeeded [2023-01-16T17:40:31.857Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T17:40:31.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T17:40:32.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T17:40:32.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T17:40:32.273Z] ========================================================= [2023-01-16T17:40:32.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T17:40:32.273Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:40:32.719Z] + 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 . [2023-01-16T17:40:32.720Z] Sending build context to Docker daemon 27.69MB [2023-01-16T17:40:32.720Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T17:40:32.720Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T17:40:32.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T17:40:32.979Z] 213ec9aee27d: Pulling fs layer [2023-01-16T17:40:32.979Z] 4583459ba037: Pulling fs layer [2023-01-16T17:40:32.979Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T17:40:32.979Z] 53926ce57604: Pulling fs layer [2023-01-16T17:40:32.979Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T17:40:32.979Z] 22ff95d597cd: Pulling fs layer [2023-01-16T17:40:32.979Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T17:40:32.979Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T17:40:32.979Z] a7acece74701: Pulling fs layer [2023-01-16T17:40:32.979Z] 22ff95d597cd: Waiting [2023-01-16T17:40:32.979Z] 12d6caf4c0d1: Waiting [2023-01-16T17:40:32.979Z] 53926ce57604: Waiting [2023-01-16T17:40:32.979Z] 96b7cbca73a9: Waiting [2023-01-16T17:40:32.979Z] a7acece74701: Waiting [2023-01-16T17:40:32.979Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T17:40:32.979Z] 93c1e223e6f2: Download complete [2023-01-16T17:40:32.979Z] 4583459ba037: Download complete [2023-01-16T17:40:32.979Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T17:40:32.979Z] 21b2b0c7a3f4: Download complete [2023-01-16T17:40:32.979Z] 22ff95d597cd: Download complete [2023-01-16T17:40:32.979Z] 213ec9aee27d: Verifying Checksum [2023-01-16T17:40:32.979Z] 12d6caf4c0d1: Verifying Checksum [2023-01-16T17:40:32.979Z] 12d6caf4c0d1: Download complete [2023-01-16T17:40:33.241Z] 213ec9aee27d: Pull complete [2023-01-16T17:40:33.241Z] 4583459ba037: Pull complete [2023-01-16T17:40:33.507Z] 93c1e223e6f2: Pull complete [2023-01-16T17:40:35.012Z] a7acece74701: Verifying Checksum [2023-01-16T17:40:35.012Z] a7acece74701: Download complete [2023-01-16T17:40:36.963Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T17:40:36.963Z] 96b7cbca73a9: Download complete [2023-01-16T17:40:36.963Z] 53926ce57604: Verifying Checksum [2023-01-16T17:40:36.963Z] 53926ce57604: Download complete [2023-01-16T17:40:40.273Z] 53926ce57604: Pull complete [2023-01-16T17:40:40.273Z] 21b2b0c7a3f4: Pull complete [2023-01-16T17:40:40.273Z] 22ff95d597cd: Pull complete [2023-01-16T17:40:40.532Z] 12d6caf4c0d1: Pull complete [2023-01-16T17:40:42.432Z] 96b7cbca73a9: Pull complete [2023-01-16T17:40:42.998Z] a7acece74701: Pull complete [2023-01-16T17:40:42.998Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T17:40:42.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T17:40:42.998Z] ---> db6d94c90886 [2023-01-16T17:40:42.998Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T17:40:44.905Z] ---> Running in f5e7e43d72bb [2023-01-16T17:40:44.905Z] Removing intermediate container f5e7e43d72bb [2023-01-16T17:40:44.905Z] ---> f09343e3a294 [2023-01-16T17:40:44.905Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T17:40:44.905Z] ---> Running in 893e4b0036c7 [2023-01-16T17:40:44.905Z] Removing intermediate container 893e4b0036c7 [2023-01-16T17:40:44.905Z] ---> da12189d398a [2023-01-16T17:40:44.905Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T17:40:45.164Z] ---> Running in a99dc9ab13fb [2023-01-16T17:40:45.164Z] Removing intermediate container a99dc9ab13fb [2023-01-16T17:40:45.164Z] ---> cee1775a62f3 [2023-01-16T17:40:45.164Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T17:40:45.164Z] ---> Running in 54adf1d0627c [2023-01-16T17:40:45.422Z] Removing intermediate container 54adf1d0627c [2023-01-16T17:40:45.422Z] ---> 30ca3807c3e9 [2023-01-16T17:40:45.422Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T17:40:45.422Z] ---> Running in 28d7101f17f8 [2023-01-16T17:40:45.422Z] Removing intermediate container 28d7101f17f8 [2023-01-16T17:40:45.422Z] ---> 526f61100237 [2023-01-16T17:40:45.422Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T17:40:45.422Z] ---> Running in ad32d88c2d8c [2023-01-16T17:40:45.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T17:40:45.786Z] Still waiting to schedule task [2023-01-16T17:40:45.786Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-16T17:40:45.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T17:40:46.198Z] OK: 211 MiB in 51 packages [2023-01-16T17:40:46.464Z] Removing intermediate container ad32d88c2d8c [2023-01-16T17:40:46.464Z] ---> 2e7bd42c32a7 [2023-01-16T17:40:46.464Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T17:40:46.722Z] ---> Running in 69cc79f50d98 [2023-01-16T17:40:46.722Z] Removing intermediate container 69cc79f50d98 [2023-01-16T17:40:46.722Z] ---> fd7cee6e9c96 [2023-01-16T17:40:46.722Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T17:40:46.722Z] ---> 9d2af61b54c6 [2023-01-16T17:40:46.722Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T17:40:46.722Z] ---> Running in 03a3dca87a7a [2023-01-16T17:41:08.675Z] Removing intermediate container 03a3dca87a7a [2023-01-16T17:41:08.675Z] ---> cf1deaeaa5f3 [2023-01-16T17:41:08.675Z] Step 12/13 : COPY . . [2023-01-16T17:41:08.943Z] ---> 88068106f668 [2023-01-16T17:41:08.943Z] Step 13/13 : RUN ${MAKE} [2023-01-16T17:41:08.943Z] ---> Running in 449ddf45ad92 [2023-01-16T17:41:09.203Z] noop [2023-01-16T17:41:09.771Z] Removing intermediate container 449ddf45ad92 [2023-01-16T17:41:09.771Z] ---> c2298de67ba6 [2023-01-16T17:41:09.771Z] Successfully built c2298de67ba6 [2023-01-16T17:41:09.771Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:41:10.214Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T17:41:10.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:41:10.359Z] prd-ubuntu20.04-docker-8c-8g-2601 does not seem to be running inside a container [2023-01-16T17:41:10.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-217 -v /w/workspace/undry_device-onvif-camera_PR-217:/w/workspace/undry_device-onvif-camera_PR-217:rw,z -v /w/workspace/undry_device-onvif-camera_PR-217@tmp:/w/workspace/undry_device-onvif-camera_PR-217@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 [2023-01-16T17:41:10.752Z] $ docker top 3c8a13bcb125c1c58d05fd084a890ad4ed67d1e2d5f4cfb7348ab954aedd914c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T17:41:11.147Z] + go version [2023-01-16T17:41:11.147Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T17:41:11.178Z] $ docker stop --time=1 3c8a13bcb125c1c58d05fd084a890ad4ed67d1e2d5f4cfb7348ab954aedd914c [2023-01-16T17:41:12.477Z] $ docker rm -f --volumes 3c8a13bcb125c1c58d05fd084a890ad4ed67d1e2d5f4cfb7348ab954aedd914c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:41:13.203Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T17:41:13.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:41:13.353Z] prd-ubuntu20.04-docker-8c-8g-2601 does not seem to be running inside a container [2023-01-16T17:41:13.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-217 -v /w/workspace/undry_device-onvif-camera_PR-217:/w/workspace/undry_device-onvif-camera_PR-217:rw,z -v /w/workspace/undry_device-onvif-camera_PR-217@tmp:/w/workspace/undry_device-onvif-camera_PR-217@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 [2023-01-16T17:41:13.770Z] $ docker top fcb37142f1e8faa2cbb70f7a9b62bfae3f8af963fe52898386437261cd671f2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T17:41:14.180Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-217 [Pipeline] fileExists [Pipeline] sh [2023-01-16T17:41:14.535Z] + make test [2023-01-16T17:41:14.535Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T17:41:14.793Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T17:41:24.762Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-16T17:41:28.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2023-01-16T17:41:28.048Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-16T17:41:28.049Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.355s coverage: 86.5% of statements [2023-01-16T17:41:34.607Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-16T17:41:34.607Z] go vet ./... [2023-01-16T17:41:37.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T17:41:37.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T17:41:37.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T17:41:37.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T17:41:37.955Z] $ docker stop --time=1 fcb37142f1e8faa2cbb70f7a9b62bfae3f8af963fe52898386437261cd671f2b [2023-01-16T17:41:39.707Z] $ docker rm -f --volumes fcb37142f1e8faa2cbb70f7a9b62bfae3f8af963fe52898386437261cd671f2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T17:41:40.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T17:41:40.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-16T17:41:40.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T17:41:41.275Z] + ls -al . [2023-01-16T17:41:41.275Z] total 248 [2023-01-16T17:41:41.275Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 17:41 . [2023-01-16T17:41:41.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:40 .. [2023-01-16T17:41:41.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 17:41 .git [2023-01-16T17:41:41.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 17:40 .github [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 16 17:40 .gitignore [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 17:40 .golangci.yml [2023-01-16T17:41:41.275Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 17:40 .semver [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 16 17:40 Attribution.txt [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 16 17:40 CHANGELOG.md [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 16 17:40 Dockerfile [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 17:40 GOVERNANCE.md [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 16 17:40 Jenkinsfile [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 16 17:40 LICENSE [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 16 17:40 Makefile [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 16 17:40 OWNERS.md [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 16 17:40 README.md [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 17:40 VERSION [2023-01-16T17:41:41.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 17:40 bin [2023-01-16T17:41:41.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 17:40 cmd [2023-01-16T17:41:41.275Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 16 17:41 coverage.out [2023-01-16T17:41:41.275Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 17:40 doc [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 16 17:40 go.mod [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 16 17:40 go.sum [2023-01-16T17:41:41.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:40 internal [2023-01-16T17:41:41.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:40 snap [2023-01-16T17:41:41.275Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 16 17:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:41:41.669Z] + 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=790c3525d751ebef70c4aab1d4e97a6f88325827 --label arch=amd64 --label version=0.0.0 . [2023-01-16T17:41:41.669Z] Sending build context to Docker daemon 27.77MB [2023-01-16T17:41:41.669Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T17:41:41.669Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-16T17:41:41.669Z] ---> c2298de67ba6 [2023-01-16T17:41:41.669Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-16T17:41:41.929Z] ---> Running in ca3c910dc5a6 [2023-01-16T17:41:41.929Z] Removing intermediate container ca3c910dc5a6 [2023-01-16T17:41:41.929Z] ---> bb9356ff09a4 [2023-01-16T17:41:41.929Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T17:41:41.929Z] ---> Running in c7fcba9d739b [2023-01-16T17:41:42.189Z] Removing intermediate container c7fcba9d739b [2023-01-16T17:41:42.189Z] ---> d74df34a6790 [2023-01-16T17:41:42.189Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T17:41:42.189Z] ---> Running in 5437d69d735e [2023-01-16T17:41:42.189Z] Removing intermediate container 5437d69d735e [2023-01-16T17:41:42.189Z] ---> fe8ffdaf91e3 [2023-01-16T17:41:42.189Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T17:41:42.189Z] ---> Running in 3b6c31d9fa02 [2023-01-16T17:41:42.448Z] Removing intermediate container 3b6c31d9fa02 [2023-01-16T17:41:42.448Z] ---> d260e492d970 [2023-01-16T17:41:42.448Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-16T17:41:42.448Z] ---> Running in b5bff49bf531 [2023-01-16T17:41:42.448Z] Removing intermediate container b5bff49bf531 [2023-01-16T17:41:42.448Z] ---> 1ee549a886b5 [2023-01-16T17:41:42.448Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T17:41:42.448Z] ---> Running in b7898ec89f97 [2023-01-16T17:41:42.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T17:41:42.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T17:41:43.226Z] OK: 211 MiB in 51 packages [2023-01-16T17:41:43.484Z] Removing intermediate container b7898ec89f97 [2023-01-16T17:41:43.484Z] ---> f0f62091e32d [2023-01-16T17:41:43.484Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-16T17:41:43.484Z] ---> Running in d8195e7ba25d [2023-01-16T17:41:43.744Z] Removing intermediate container d8195e7ba25d [2023-01-16T17:41:43.744Z] ---> b39376249b1a [2023-01-16T17:41:43.744Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-16T17:41:43.744Z] ---> a5fd7630bd55 [2023-01-16T17:41:43.744Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T17:41:43.744Z] ---> Running in 10d8696df812 [2023-01-16T17:41:44.677Z] Removing intermediate container 10d8696df812 [2023-01-16T17:41:44.677Z] ---> 6e49550e5237 [2023-01-16T17:41:44.677Z] Step 12/26 : COPY . . [2023-01-16T17:41:45.245Z] ---> f4234dd5f591 [2023-01-16T17:41:45.245Z] Step 13/26 : RUN ${MAKE} [2023-01-16T17:41:45.245Z] ---> Running in 83bd72e23b4e [2023-01-16T17:41:45.503Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-16T17:42:03.580Z] Removing intermediate container 83bd72e23b4e [2023-01-16T17:42:03.580Z] ---> d36ddf6706cf [2023-01-16T17:42:03.580Z] Step 14/26 : FROM alpine:3.16 [2023-01-16T17:42:03.580Z] 3.16: Pulling from library/alpine [2023-01-16T17:42:03.580Z] ca7dd9ec2225: Pulling fs layer [2023-01-16T17:42:03.875Z] ca7dd9ec2225: Verifying Checksum [2023-01-16T17:42:03.875Z] ca7dd9ec2225: Download complete [2023-01-16T17:42:03.875Z] ca7dd9ec2225: Pull complete [2023-01-16T17:42:03.875Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T17:42:03.875Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T17:42:03.875Z] ---> bfe296a52501 [2023-01-16T17:42:03.875Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-16T17:42:04.133Z] ---> Running in 8e43302310ba [2023-01-16T17:42:04.133Z] Removing intermediate container 8e43302310ba [2023-01-16T17:42:04.133Z] ---> 6e00f3167655 [2023-01-16T17:42:04.133Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-16T17:42:04.133Z] ---> Running in fe67820af969 [2023-01-16T17:42:04.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T17:42:04.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T17:42:04.911Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-16T17:42:04.911Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T17:42:04.911Z] OK: 6 MiB in 15 packages [2023-01-16T17:42:05.170Z] Removing intermediate container fe67820af969 [2023-01-16T17:42:05.170Z] ---> f605bb2c4616 [2023-01-16T17:42:05.170Z] Step 17/26 : WORKDIR / [2023-01-16T17:42:05.170Z] ---> Running in c8374a46be9d [2023-01-16T17:42:05.170Z] Removing intermediate container c8374a46be9d [2023-01-16T17:42:05.170Z] ---> 09d6af0f2468 [2023-01-16T17:42:05.170Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-16T17:42:05.741Z] ---> 8a559ea947bf [2023-01-16T17:42:05.741Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-16T17:42:06.000Z] ---> 9f58d179806d [2023-01-16T17:42:06.000Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-16T17:42:06.000Z] ---> d6c1f96d2beb [2023-01-16T17:42:06.000Z] Step 21/26 : EXPOSE 59984 [2023-01-16T17:42:06.000Z] ---> Running in fef112c8f8cd [2023-01-16T17:42:06.262Z] Removing intermediate container fef112c8f8cd [2023-01-16T17:42:06.262Z] ---> 56612487cdb5 [2023-01-16T17:42:06.262Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-16T17:42:06.262Z] ---> Running in 183d4adf4eba [2023-01-16T17:42:06.262Z] Removing intermediate container 183d4adf4eba [2023-01-16T17:42:06.262Z] ---> 3a84836ebf42 [2023-01-16T17:42:06.262Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T17:42:06.262Z] ---> Running in 51b0dbf552ed [2023-01-16T17:42:06.262Z] Removing intermediate container 51b0dbf552ed [2023-01-16T17:42:06.262Z] ---> b2b17db9b131 [2023-01-16T17:42:06.262Z] Step 24/26 : LABEL arch=amd64 [2023-01-16T17:42:06.520Z] ---> Running in ee9307824cce [2023-01-16T17:42:06.520Z] Removing intermediate container ee9307824cce [2023-01-16T17:42:06.520Z] ---> 0014d6692beb [2023-01-16T17:42:06.520Z] Step 25/26 : LABEL git_sha=790c3525d751ebef70c4aab1d4e97a6f88325827 [2023-01-16T17:42:06.520Z] ---> Running in c48f7b9026ef [2023-01-16T17:42:06.520Z] Removing intermediate container c48f7b9026ef [2023-01-16T17:42:06.520Z] ---> 025ea1e876d2 [2023-01-16T17:42:06.520Z] Step 26/26 : LABEL version=0.0.0 [2023-01-16T17:42:06.520Z] ---> Running in 58ba94bc8a38 [2023-01-16T17:42:06.780Z] Removing intermediate container 58ba94bc8a38 [2023-01-16T17:42:06.780Z] ---> ac75607e446c [2023-01-16T17:42:06.780Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T17:42:06.780Z] Successfully built ac75607e446c [2023-01-16T17:42:06.780Z] 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 [2023-01-16T17:42:07.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T17:42:07.633Z] [2023-01-16T17:42:07.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:42:08.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T17:42:08.017Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T17:42:08.017Z] 5eb5b503b376: Pulling fs layer [2023-01-16T17:42:08.017Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T17:42:08.017Z] ec43610c2a17: Pulling fs layer [2023-01-16T17:42:08.017Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T17:42:08.017Z] 33b1e0a273af: Pulling fs layer [2023-01-16T17:42:08.017Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T17:42:08.017Z] 2f39f015ded8: Pulling fs layer [2023-01-16T17:42:08.017Z] 33b1e0a273af: Waiting [2023-01-16T17:42:08.017Z] 3a2ae6a8a46f: Waiting [2023-01-16T17:42:08.017Z] 5d3b04190fa2: Waiting [2023-01-16T17:42:08.017Z] 5c69ac0246d0: Download complete [2023-01-16T17:42:08.017Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T17:42:08.017Z] 3a2ae6a8a46f: Download complete [2023-01-16T17:42:08.284Z] 33b1e0a273af: Verifying Checksum [2023-01-16T17:42:08.284Z] 33b1e0a273af: Download complete [2023-01-16T17:42:08.284Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T17:42:08.284Z] 5d3b04190fa2: Download complete [2023-01-16T17:42:08.284Z] ec43610c2a17: Download complete [2023-01-16T17:42:08.855Z] 5eb5b503b376: Verifying Checksum [2023-01-16T17:42:08.855Z] 5eb5b503b376: Download complete [2023-01-16T17:42:10.253Z] 5eb5b503b376: Pull complete [2023-01-16T17:42:10.253Z] 5c69ac0246d0: Pull complete [2023-01-16T17:42:10.253Z] 2f39f015ded8: Download complete [2023-01-16T17:42:10.514Z] ec43610c2a17: Pull complete [2023-01-16T17:42:10.514Z] 3a2ae6a8a46f: Pull complete [2023-01-16T17:42:10.776Z] 33b1e0a273af: Pull complete [2023-01-16T17:42:10.776Z] 5d3b04190fa2: Pull complete [2023-01-16T17:42:16.048Z] 2f39f015ded8: Pull complete [2023-01-16T17:42:16.048Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T17:42:16.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T17:42:16.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:42:16.274Z] prd-ubuntu20.04-docker-8c-8g-2601 does not seem to be running inside a container [2023-01-16T17:42:16.307Z] $ 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-217 -v /w/workspace/undry_device-onvif-camera_PR-217:/w/workspace/undry_device-onvif-camera_PR-217:rw,z -v /w/workspace/undry_device-onvif-camera_PR-217@tmp:/w/workspace/undry_device-onvif-camera_PR-217@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 [2023-01-16T17:42:17.874Z] $ docker top df0dbd83580d09ff3ff02392b5b4af89c3134c871dad387baa42cfd324b3ccb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:42:18.330Z] ---> job-cost.sh [2023-01-16T17:42:18.330Z] lf-activate-venv: SKIPPING [2023-01-16T17:42:18.330Z] INFO: No Stack... [2023-01-16T17:42:18.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T17:42:19.160Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T17:42:19.476Z] + cat /w/workspace/undry_device-onvif-camera_PR-217/archives/cost.csv [2023-01-16T17:42:19.476Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T17:42:19.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [2023-01-16T17:42:19.516Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] did not exist. Created. [2023-01-16T17:42:19.516Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T17:42:19.900Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T17:42:19.946Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T17:42:19.970Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T17:42:20.045Z] $ docker stop --time=1 df0dbd83580d09ff3ff02392b5b4af89c3134c871dad387baa42cfd324b3ccb6 [2023-01-16T17:42:21.209Z] $ docker rm -f --volumes df0dbd83580d09ff3ff02392b5b4af89c3134c871dad387baa42cfd324b3ccb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T17:44:10.325Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2602 in /w/workspace/undry_device-onvif-camera_PR-217 [Pipeline] { [Pipeline] ws [2023-01-16T17:44:10.381Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-16T17:44:10.457Z] The recommended git tool is: git [2023-01-16T17:44:16.329Z] using credential edgex-jenkins-ssh [2023-01-16T17:44:16.345Z] Cloning the remote Git repository [2023-01-16T17:44:16.393Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T17:44:16.461Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-16T17:44:16.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T17:44:16.616Z] > git --version # timeout=10 [2023-01-16T17:44:16.637Z] > git --version # 'git version 2.25.1' [2023-01-16T17:44:16.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T17:44:16.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T17:44:18.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T17:44:18.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T17:44:18.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-16T17:44:18.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-16T17:44:18.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T17:44:18.916Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T17:44:19.503Z] Merging remotes/origin/main commit 916f6b3a329f57eb75e5307752edff55e76e784f into PR head commit 790c3525d751ebef70c4aab1d4e97a6f88325827 [2023-01-16T17:44:19.945Z] Merge succeeded, producing 790c3525d751ebef70c4aab1d4e97a6f88325827 [2023-01-16T17:44:19.945Z] Checking out Revision 790c3525d751ebef70c4aab1d4e97a6f88325827 (PR-217) [2023-01-16T17:44:19.525Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T17:44:19.548Z] > git checkout -f 790c3525d751ebef70c4aab1d4e97a6f88325827 # timeout=10 [2023-01-16T17:44:19.857Z] > git remote # timeout=10 [2023-01-16T17:44:19.874Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T17:44:19.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T17:44:19.903Z] > git merge 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 [2023-01-16T17:44:19.928Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T17:44:19.952Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T17:44:19.968Z] > git checkout -f 790c3525d751ebef70c4aab1d4e97a6f88325827 # timeout=10 [2023-01-16T17:44:23.779Z] Commit message: "refactor(snap): Upgrade to snap hooks v3 - Remove enabling of app options since it is enabled by default in the library - Other code refactoring" [2023-01-16T17:44:23.824Z] > git --version # timeout=10 [2023-01-16T17:44:23.833Z] > git --version # 'git version 2.25.1' [2023-01-16T17:44:23.847Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T17:44:24.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T17:44:24.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T17:44:24.920Z] Dload Upload Total Spent Left Speed [2023-01-16T17:44:24.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-01-16T17:44:25.695Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T17:44:26.043Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T17:44:26.043Z] + sudo tee /etc/docker/daemon.new [2023-01-16T17:44:26.043Z] { [2023-01-16T17:44:26.043Z] "registry-mirrors": [ [2023-01-16T17:44:26.043Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T17:44:26.043Z] ], [2023-01-16T17:44:26.043Z] "bip": "10.250.0.254/24", [2023-01-16T17:44:26.043Z] "hosts": [ [2023-01-16T17:44:26.043Z] "tcp://0.0.0.0:5555", [2023-01-16T17:44:26.043Z] "unix:///var/run/docker.sock" [2023-01-16T17:44:26.043Z] ], [2023-01-16T17:44:26.043Z] "mtu": 1458, [2023-01-16T17:44:26.043Z] "selinux-enabled": true, [2023-01-16T17:44:26.043Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T17:44:26.043Z] } [Pipeline] sh [2023-01-16T17:44:26.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T17:44:26.743Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T17:44:45.043Z] provisioning config files... [2023-01-16T17:44:45.069Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2748966578047708853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:44:45.455Z] ---> docker-login.sh [2023-01-16T17:44:45.455Z] nexus3.edgexfoundry.org:10001 [2023-01-16T17:44:45.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:44:46.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:44:46.004Z] Configure a credential helper to remove this warning. See [2023-01-16T17:44:46.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:44:46.004Z] [2023-01-16T17:44:46.004Z] Login Succeeded [2023-01-16T17:44:46.275Z] nexus3.edgexfoundry.org:10002 [2023-01-16T17:44:46.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:44:46.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:44:46.544Z] Configure a credential helper to remove this warning. See [2023-01-16T17:44:46.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:44:46.544Z] [2023-01-16T17:44:46.544Z] Login Succeeded [2023-01-16T17:44:46.544Z] nexus3.edgexfoundry.org:10003 [2023-01-16T17:44:46.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:44:46.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:44:46.813Z] Configure a credential helper to remove this warning. See [2023-01-16T17:44:46.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:44:46.813Z] [2023-01-16T17:44:46.813Z] Login Succeeded [2023-01-16T17:44:46.813Z] nexus3.edgexfoundry.org:10004 [2023-01-16T17:44:47.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:44:47.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:44:47.083Z] Configure a credential helper to remove this warning. See [2023-01-16T17:44:47.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:44:47.083Z] [2023-01-16T17:44:47.083Z] Login Succeeded [2023-01-16T17:44:47.083Z] docker.io [2023-01-16T17:44:47.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T17:44:47.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T17:44:47.622Z] Configure a credential helper to remove this warning. See [2023-01-16T17:44:47.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T17:44:47.622Z] [2023-01-16T17:44:47.622Z] Login Succeeded [2023-01-16T17:44:47.622Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T17:44:47.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T17:44:47.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T17:44:48.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T17:44:48.066Z] ========================================================= [2023-01-16T17:44:48.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T17:44:48.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:44:48.553Z] + 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 . [2023-01-16T17:44:49.139Z] Sending build context to Docker daemon 20.55MB [2023-01-16T17:44:49.139Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T17:44:49.139Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-16T17:44:49.139Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T17:44:49.139Z] 9b18e9b68314: Pulling fs layer [2023-01-16T17:44:49.139Z] 35d82f9e3411: Pulling fs layer [2023-01-16T17:44:49.139Z] e16973657156: Pulling fs layer [2023-01-16T17:44:49.139Z] fc693d55d65f: Pulling fs layer [2023-01-16T17:44:49.139Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T17:44:49.139Z] dda99020689f: Pulling fs layer [2023-01-16T17:44:49.139Z] db1c61fa0a46: Pulling fs layer [2023-01-16T17:44:49.139Z] 891c053d2c06: Pulling fs layer [2023-01-16T17:44:49.139Z] dda99020689f: Waiting [2023-01-16T17:44:49.139Z] 7e9fc2657dce: Waiting [2023-01-16T17:44:49.139Z] 891c053d2c06: Waiting [2023-01-16T17:44:49.139Z] e16973657156: Verifying Checksum [2023-01-16T17:44:49.139Z] e16973657156: Download complete [2023-01-16T17:44:49.414Z] 35d82f9e3411: Verifying Checksum [2023-01-16T17:44:49.414Z] 35d82f9e3411: Download complete [2023-01-16T17:44:49.414Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T17:44:49.414Z] 7e9fc2657dce: Download complete [2023-01-16T17:44:49.414Z] dda99020689f: Verifying Checksum [2023-01-16T17:44:49.414Z] dda99020689f: Download complete [2023-01-16T17:44:49.414Z] 9b18e9b68314: Verifying Checksum [2023-01-16T17:44:49.414Z] 9b18e9b68314: Download complete [2023-01-16T17:44:50.008Z] 9b18e9b68314: Pull complete [2023-01-16T17:44:50.616Z] 35d82f9e3411: Pull complete [2023-01-16T17:44:50.902Z] e16973657156: Pull complete [2023-01-16T17:44:51.896Z] 891c053d2c06: Verifying Checksum [2023-01-16T17:44:51.896Z] 891c053d2c06: Download complete [2023-01-16T17:44:52.522Z] db1c61fa0a46: Verifying Checksum [2023-01-16T17:44:52.522Z] db1c61fa0a46: Download complete [2023-01-16T17:44:52.793Z] fc693d55d65f: Verifying Checksum [2023-01-16T17:44:52.793Z] fc693d55d65f: Download complete [2023-01-16T17:45:05.118Z] fc693d55d65f: Pull complete [2023-01-16T17:45:05.118Z] 7e9fc2657dce: Pull complete [2023-01-16T17:45:05.118Z] dda99020689f: Pull complete [2023-01-16T17:45:08.476Z] db1c61fa0a46: Pull complete [2023-01-16T17:45:10.418Z] 891c053d2c06: Pull complete [2023-01-16T17:45:10.418Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T17:45:10.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T17:45:10.418Z] ---> f96f9c87975a [2023-01-16T17:45:10.418Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-16T17:45:12.362Z] ---> Running in 89dad017b92e [2023-01-16T17:45:12.631Z] Removing intermediate container 89dad017b92e [2023-01-16T17:45:12.631Z] ---> 0290c75001af [2023-01-16T17:45:12.631Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T17:45:12.631Z] ---> Running in a663087c0ce4 [2023-01-16T17:45:12.900Z] Removing intermediate container a663087c0ce4 [2023-01-16T17:45:12.900Z] ---> 93b6d47c8e52 [2023-01-16T17:45:12.900Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T17:45:13.166Z] ---> Running in 7afbee8693de [2023-01-16T17:45:13.432Z] Removing intermediate container 7afbee8693de [2023-01-16T17:45:13.432Z] ---> b2a43e7be521 [2023-01-16T17:45:13.432Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T17:45:13.432Z] ---> Running in c514894ebcdb [2023-01-16T17:45:13.697Z] Removing intermediate container c514894ebcdb [2023-01-16T17:45:13.697Z] ---> f300b74615dd [2023-01-16T17:45:13.697Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-16T17:45:13.697Z] ---> Running in 511e92727073 [2023-01-16T17:45:13.985Z] Removing intermediate container 511e92727073 [2023-01-16T17:45:13.985Z] ---> dec1681edbea [2023-01-16T17:45:13.985Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T17:45:13.985Z] ---> Running in 01adb74dcd9c [2023-01-16T17:45:15.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T17:45:48.529Z] Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-2602: java.lang.InterruptedException [2023-01-16T17:47:36.974Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: network error (check Internet connection and firewall) [2023-01-16T17:47:36.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T17:47:36.974Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) [2023-01-16T17:47:36.974Z] OK: 221 MiB in 51 packages [2023-01-16T17:47:36.974Z] Removing intermediate container 01adb74dcd9c [2023-01-16T17:47:36.974Z] ---> 748ab0a289a2 [2023-01-16T17:47:36.974Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-16T17:47:36.974Z] ---> Running in 65bfeb6a71d9 [2023-01-16T17:47:36.974Z] Removing intermediate container 65bfeb6a71d9 [2023-01-16T17:47:36.974Z] ---> 7b4e4fafed4f [2023-01-16T17:47:36.974Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-16T17:47:36.974Z] ---> 2677e5ba1482 [2023-01-16T17:47:36.974Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T17:47:36.974Z] ---> Running in 83be3d098589 [2023-01-16T17:48:45.185Z] Removing intermediate container 83be3d098589 [2023-01-16T17:48:45.185Z] ---> 9f71d070e757 [2023-01-16T17:48:45.185Z] Step 12/13 : COPY . . [2023-01-16T17:48:45.185Z] ---> e00196c44fa8 [2023-01-16T17:48:45.185Z] Step 13/13 : RUN ${MAKE} [2023-01-16T17:48:45.185Z] ---> Running in 04a5f5513fa0 [2023-01-16T17:48:45.185Z] noop [2023-01-16T17:48:45.185Z] Removing intermediate container 04a5f5513fa0 [2023-01-16T17:48:45.185Z] ---> 05a01d5109f8 [2023-01-16T17:48:45.185Z] Successfully built 05a01d5109f8 [2023-01-16T17:48:45.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:48:45.678Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T17:48:45.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:48:46.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-2602 does not seem to be running inside a container [2023-01-16T17:48:46.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T17:48:48.050Z] $ docker top 70c9ce528fd536b5f5ab52d0a2ce258c3e58fcb474c941b82dcd608b7579fb92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T17:48:48.937Z] + go version [2023-01-16T17:48:48.937Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T17:48:48.984Z] $ docker stop --time=1 70c9ce528fd536b5f5ab52d0a2ce258c3e58fcb474c941b82dcd608b7579fb92 [2023-01-16T17:48:50.654Z] $ docker rm -f --volumes 70c9ce528fd536b5f5ab52d0a2ce258c3e58fcb474c941b82dcd608b7579fb92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:48:51.500Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T17:48:51.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:48:51.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-2602 does not seem to be running inside a container [2023-01-16T17:48:51.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T17:48:53.128Z] $ docker top 2912c5c98aef53df14d41c36ffbb2254291a1102309bcc50416e60e398470917 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T17:48:54.006Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T17:48:54.709Z] + make test [2023-01-16T17:48:54.709Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T17:48:56.653Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-16T17:50:33.305Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-16T17:50:36.663Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 29.3% of statements [2023-01-16T17:50:36.663Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-16T17:50:54.992Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.306s coverage: 86.5% of statements [2023-01-16T17:50:54.992Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-16T17:50:54.992Z] go vet ./... [2023-01-16T17:51:17.064Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T17:51:17.064Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T17:51:17.064Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T17:51:17.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T17:51:17.139Z] $ docker stop --time=1 2912c5c98aef53df14d41c36ffbb2254291a1102309bcc50416e60e398470917 [2023-01-16T17:51:18.874Z] $ docker rm -f --volumes 2912c5c98aef53df14d41c36ffbb2254291a1102309bcc50416e60e398470917 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T17:51:19.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T17:51:19.910Z] Warning: overwriting stash ‘coverage-report’ [2023-01-16T17:51:20.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T17:51:21.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T17:51:21.383Z] + ls -al . [2023-01-16T17:51:21.383Z] total 244 [2023-01-16T17:51:21.383Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 17:48 . [2023-01-16T17:51:21.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:44 .. [2023-01-16T17:51:21.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 17:44 .git [2023-01-16T17:51:21.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 17:44 .github [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 16 17:44 .gitignore [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 17:44 .golangci.yml [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 16 17:44 Attribution.txt [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 16 17:44 CHANGELOG.md [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 16 17:44 Dockerfile [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 17:44 GOVERNANCE.md [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 16 17:44 Jenkinsfile [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 16 17:44 LICENSE [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 16 17:44 Makefile [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 16 17:44 OWNERS.md [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 16 17:44 README.md [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 17:40 VERSION [2023-01-16T17:51:21.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 17:44 bin [2023-01-16T17:51:21.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 17:44 cmd [2023-01-16T17:51:21.383Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 16 17:50 coverage.out [2023-01-16T17:51:21.383Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 17:44 doc [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 16 17:44 go.mod [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 16 17:44 go.sum [2023-01-16T17:51:21.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:44 internal [2023-01-16T17:51:21.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 17:44 snap [2023-01-16T17:51:21.383Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 16 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:51:21.802Z] + 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=790c3525d751ebef70c4aab1d4e97a6f88325827 --label arch=arm64 --label version=0.0.0 . [2023-01-16T17:51:22.397Z] Sending build context to Docker daemon 20.63MB [2023-01-16T17:51:22.397Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T17:51:22.397Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-16T17:51:22.397Z] ---> 05a01d5109f8 [2023-01-16T17:51:22.397Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-16T17:51:22.669Z] ---> Running in ed852a2507d0 [2023-01-16T17:51:22.943Z] Removing intermediate container ed852a2507d0 [2023-01-16T17:51:22.943Z] ---> ad11cad99f75 [2023-01-16T17:51:22.943Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T17:51:22.943Z] ---> Running in 583aa71cbde7 [2023-01-16T17:51:23.216Z] Removing intermediate container 583aa71cbde7 [2023-01-16T17:51:23.216Z] ---> 4e1b46e3f2e6 [2023-01-16T17:51:23.216Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T17:51:23.216Z] ---> Running in bdb3041f61f4 [2023-01-16T17:51:23.490Z] Removing intermediate container bdb3041f61f4 [2023-01-16T17:51:23.490Z] ---> ae451f03056b [2023-01-16T17:51:23.490Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T17:51:23.756Z] ---> Running in ebb669f97d27 [2023-01-16T17:51:24.026Z] Removing intermediate container ebb669f97d27 [2023-01-16T17:51:24.026Z] ---> c1fcd5b9d4c5 [2023-01-16T17:51:24.026Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-16T17:51:24.026Z] ---> Running in fbb5ef451228 [2023-01-16T17:51:24.295Z] Removing intermediate container fbb5ef451228 [2023-01-16T17:51:24.295Z] ---> 2deb011441dc [2023-01-16T17:51:24.295Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T17:51:24.295Z] ---> Running in 9096c9b9822e [2023-01-16T17:51:25.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T17:51:25.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T17:51:26.495Z] OK: 221 MiB in 51 packages [2023-01-16T17:51:27.461Z] Removing intermediate container 9096c9b9822e [2023-01-16T17:51:27.461Z] ---> e471d1bf64a5 [2023-01-16T17:51:27.461Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-16T17:51:27.461Z] ---> Running in b3bd79f4cd6f [2023-01-16T17:51:27.731Z] Removing intermediate container b3bd79f4cd6f [2023-01-16T17:51:27.731Z] ---> 710fb717e9ed [2023-01-16T17:51:27.731Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-16T17:51:28.317Z] ---> 0b4f900b80db [2023-01-16T17:51:28.317Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T17:51:28.317Z] ---> Running in 8a4f9f9cf171 [2023-01-16T17:51:30.266Z] Removing intermediate container 8a4f9f9cf171 [2023-01-16T17:51:30.266Z] ---> 4b1bdc2a6d3d [2023-01-16T17:51:30.266Z] Step 12/26 : COPY . . [2023-01-16T17:51:31.675Z] ---> 4f1ee1e79783 [2023-01-16T17:51:31.676Z] Step 13/26 : RUN ${MAKE} [2023-01-16T17:51:31.944Z] ---> Running in f810c6729755 [2023-01-16T17:51:32.909Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-16T17:53:39.620Z] Removing intermediate container f810c6729755 [2023-01-16T17:53:39.620Z] ---> 1748cb1fa44a [2023-01-16T17:53:39.620Z] Step 14/26 : FROM alpine:3.16 [2023-01-16T17:53:39.620Z] 3.16: Pulling from library/alpine [2023-01-16T17:53:39.620Z] 6875df1f5354: Pulling fs layer [2023-01-16T17:53:39.620Z] 6875df1f5354: Verifying Checksum [2023-01-16T17:53:39.620Z] 6875df1f5354: Download complete [2023-01-16T17:53:39.620Z] 6875df1f5354: Pull complete [2023-01-16T17:53:39.620Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T17:53:39.620Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T17:53:39.620Z] ---> 2b4661558fb8 [2023-01-16T17:53:39.620Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-16T17:53:39.620Z] ---> Running in 38ae12591b5e [2023-01-16T17:53:39.620Z] Removing intermediate container 38ae12591b5e [2023-01-16T17:53:39.620Z] ---> 65b161e834f6 [2023-01-16T17:53:39.620Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-16T17:53:39.620Z] ---> Running in bc99a49e938a [2023-01-16T17:53:39.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T17:53:39.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T17:53:39.620Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-16T17:53:39.620Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T17:53:39.620Z] OK: 5 MiB in 15 packages [2023-01-16T17:53:39.620Z] Removing intermediate container bc99a49e938a [2023-01-16T17:53:39.620Z] ---> 353dfc040d60 [2023-01-16T17:53:39.620Z] Step 17/26 : WORKDIR / [2023-01-16T17:53:39.620Z] ---> Running in 911439fb932b [2023-01-16T17:53:39.620Z] Removing intermediate container 911439fb932b [2023-01-16T17:53:39.620Z] ---> 7928c0fdda6b [2023-01-16T17:53:39.620Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-16T17:53:39.890Z] ---> 419147570e67 [2023-01-16T17:53:39.890Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-16T17:53:40.474Z] ---> 81414b24a117 [2023-01-16T17:53:40.474Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-16T17:53:40.743Z] ---> 503beec66dc6 [2023-01-16T17:53:40.743Z] Step 21/26 : EXPOSE 59984 [2023-01-16T17:53:41.012Z] ---> Running in 5aa320228f39 [2023-01-16T17:53:41.280Z] Removing intermediate container 5aa320228f39 [2023-01-16T17:53:41.280Z] ---> 47b3716c63d0 [2023-01-16T17:53:41.280Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-16T17:53:41.280Z] ---> Running in a5ca51c512fe [2023-01-16T17:53:41.546Z] Removing intermediate container a5ca51c512fe [2023-01-16T17:53:41.546Z] ---> bccf93b13e29 [2023-01-16T17:53:41.546Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T17:53:41.546Z] ---> Running in 884f60199018 [2023-01-16T17:53:41.812Z] Removing intermediate container 884f60199018 [2023-01-16T17:53:41.812Z] ---> e43918fd4ba9 [2023-01-16T17:53:41.812Z] Step 24/26 : LABEL arch=arm64 [2023-01-16T17:53:42.080Z] ---> Running in 1c275fed1ba5 [2023-01-16T17:53:42.347Z] Removing intermediate container 1c275fed1ba5 [2023-01-16T17:53:42.347Z] ---> 42309ec5cbce [2023-01-16T17:53:42.347Z] Step 25/26 : LABEL git_sha=790c3525d751ebef70c4aab1d4e97a6f88325827 [2023-01-16T17:53:42.347Z] ---> Running in 99a777fb1fea [2023-01-16T17:53:42.615Z] Removing intermediate container 99a777fb1fea [2023-01-16T17:53:42.615Z] ---> 53c079f55e37 [2023-01-16T17:53:42.615Z] Step 26/26 : LABEL version=0.0.0 [2023-01-16T17:53:42.615Z] ---> Running in 351d549a2d47 [2023-01-16T17:53:42.881Z] Removing intermediate container 351d549a2d47 [2023-01-16T17:53:42.881Z] ---> 0eb6755888ec [2023-01-16T17:53:42.881Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T17:53:43.148Z] Successfully built 0eb6755888ec [2023-01-16T17:53:43.148Z] 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 [2023-01-16T17:53:43.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T17:53:43.979Z] [2023-01-16T17:53:43.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:53:44.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T17:53:44.378Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T17:53:44.378Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T17:53:44.378Z] 04944245beec: Pulling fs layer [2023-01-16T17:53:44.378Z] 699f458cf7ca: Pulling fs layer [2023-01-16T17:53:44.378Z] 765212b225bb: Pulling fs layer [2023-01-16T17:53:44.378Z] f23df028b6ca: Pulling fs layer [2023-01-16T17:53:44.378Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T17:53:44.378Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T17:53:44.378Z] 765212b225bb: Waiting [2023-01-16T17:53:44.378Z] f23df028b6ca: Waiting [2023-01-16T17:53:44.378Z] d65c8cfc05b1: Waiting [2023-01-16T17:53:44.378Z] 2437ff75d9bd: Waiting [2023-01-16T17:53:44.646Z] 04944245beec: Verifying Checksum [2023-01-16T17:53:44.646Z] 04944245beec: Download complete [2023-01-16T17:53:44.646Z] 765212b225bb: Verifying Checksum [2023-01-16T17:53:44.646Z] 765212b225bb: Download complete [2023-01-16T17:53:44.913Z] f23df028b6ca: Verifying Checksum [2023-01-16T17:53:44.913Z] f23df028b6ca: Download complete [2023-01-16T17:53:44.913Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T17:53:44.913Z] d65c8cfc05b1: Download complete [2023-01-16T17:53:44.913Z] 699f458cf7ca: Verifying Checksum [2023-01-16T17:53:44.913Z] 699f458cf7ca: Download complete [2023-01-16T17:53:45.181Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T17:53:45.181Z] 8998bd30e6a1: Download complete [2023-01-16T17:53:47.795Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T17:53:48.754Z] 8998bd30e6a1: Pull complete [2023-01-16T17:53:49.338Z] 04944245beec: Pull complete [2023-01-16T17:53:50.745Z] 699f458cf7ca: Pull complete [2023-01-16T17:53:50.745Z] 765212b225bb: Pull complete [2023-01-16T17:53:51.325Z] f23df028b6ca: Pull complete [2023-01-16T17:53:51.592Z] d65c8cfc05b1: Pull complete [2023-01-16T17:54:06.580Z] 2437ff75d9bd: Pull complete [2023-01-16T17:54:06.580Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T17:54:06.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T17:54:06.580Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:54:06.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-2602 does not seem to be running inside a container [2023-01-16T17:54:06.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-16T17:54:09.461Z] $ docker top 58224676f02f6abacc3e72137f3749bcde8211b8203252d295e063b9e0574cbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:10.363Z] ---> job-cost.sh [2023-01-16T17:54:10.363Z] lf-activate-venv: SKIPPING [2023-01-16T17:54:10.363Z] INFO: No Stack... [2023-01-16T17:54:10.941Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T17:54:11.895Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T17:54:12.232Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-16T17:54:12.232Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T17:54:12.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [2023-01-16T17:54:12.582Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] did not exist. Created. [2023-01-16T17:54:12.582Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T17:54:12.983Z] /w/workspace/device-onvif-camera/1@tmp/durable-b8f6b9f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T17:54:13.330Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T17:54:13.364Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T17:54:13.424Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T17:54:13.439Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T17:54:13.518Z] $ docker stop --time=1 58224676f02f6abacc3e72137f3749bcde8211b8203252d295e063b9e0574cbf [2023-01-16T17:54:14.995Z] $ docker rm -f --volumes 58224676f02f6abacc3e72137f3749bcde8211b8203252d295e063b9e0574cbf [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 [2023-01-16T17:54:16.034Z] provisioning config files... [2023-01-16T17:54:16.046Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-217@tmp/config3951856305310120452tmp [Pipeline] { [Pipeline] sh [2023-01-16T17:54:16.374Z] + set +x [2023-01-16T17:54:16.374Z] + + bash -s -- [2023-01-16T17:54:16.374Z] curl -s https://codecov.io/bash [2023-01-16T17:54:16.374Z] [2023-01-16T17:54:16.374Z] _____ _ [2023-01-16T17:54:16.374Z] / ____| | | [2023-01-16T17:54:16.374Z] | | ___ __| | ___ ___ _____ __ [2023-01-16T17:54:16.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-16T17:54:16.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-16T17:54:16.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-16T17:54:16.374Z] Bash-1.0.6 [2023-01-16T17:54:16.374Z] [2023-01-16T17:54:16.374Z] [2023-01-16T17:54:16.374Z] ==> git version 2.25.1 found [2023-01-16T17:54:16.374Z] ==> 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 [2023-01-16T17:54:16.374Z] Release-Date: 2020-01-08 [2023-01-16T17:54:16.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-16T17:54:16.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-16T17:54:16.374Z] ==> Jenkins CI detected. [2023-01-16T17:54:16.374Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-217 [2023-01-16T17:54:16.374Z] project root: . [2023-01-16T17:54:16.374Z] --> token set from env [2023-01-16T17:54:16.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-16T17:54:16.374Z] ==> Running gcov in . (disable via -X gcov) [2023-01-16T17:54:16.374Z] ==> Python coveragepy not found [2023-01-16T17:54:16.374Z] ==> Searching for coverage reports in: [2023-01-16T17:54:16.374Z] + . [2023-01-16T17:54:16.374Z] -> Found 1 reports [2023-01-16T17:54:16.374Z] ==> Detecting git/mercurial file structure [2023-01-16T17:54:16.374Z] ==> Reading reports [2023-01-16T17:54:16.374Z] + ./coverage.out bytes=79184 [2023-01-16T17:54:16.633Z] ==> Appending adjustments [2023-01-16T17:54:16.633Z] https://docs.codecov.io/docs/fixing-reports [2023-01-16T17:54:16.633Z] + Found adjustments [2023-01-16T17:54:16.633Z] ==> Gzipping contents [2023-01-16T17:54:16.633Z] 12K /tmp/codecov.p90Xay.gz [2023-01-16T17:54:16.633Z] ==> Uploading reports [2023-01-16T17:54:16.633Z] url: https://codecov.io [2023-01-16T17:54:16.633Z] query: branch=PR-217&commit=790c3525d751ebef70c4aab1d4e97a6f88325827&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-01-16T17:54:16.633Z] -> Pinging Codecov [2023-01-16T17:54:16.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-217&commit=790c3525d751ebef70c4aab1d4e97a6f88325827&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-01-16T17:54:17.200Z] -> Uploading to [2023-01-16T17:54:17.200Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-16/F29A59C45E3A92E06B3E522C9905F8EF/790c3525d751ebef70c4aab1d4e97a6f88325827/312b1428-7c01-4526-a115-51e01065728d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230116T175416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ed4b4959a268ea55d05396be7aa9c103d0f434ffa3018f2481d1b4ee30adb1e [2023-01-16T17:54:17.200Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T17:54:17.201Z] Dload Upload Total Spent Left Speed [2023-01-16T17:54:17.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10808 0 0 100 10808 0 38056 --:--:-- --:--:-- --:--:-- 38056 [2023-01-16T17:54:17.463Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/790c3525d751ebef70c4aab1d4e97a6f88325827 [Pipeline] } [2023-01-16T17:54:17.491Z] 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 [2023-01-16T17:54:19.356Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-217/archives ] [2023-01-16T17:54:19.356Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-217/archives [2023-01-16T17:54:19.356Z] total 16 [2023-01-16T17:54:19.356Z] drwxr-xr-x 3 root root 4096 Jan 16 17:42 . [2023-01-16T17:54:19.356Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 17:42 .. [2023-01-16T17:54:19.356Z] drwxr-xr-x 2 root root 4096 Jan 16 17:42 cost [2023-01-16T17:54:19.356Z] -rw-r--r-- 1 root root 91 Jan 16 17:42 cost.csv [2023-01-16T17:54:19.356Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-217/archives [2023-01-16T17:54:19.356Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-217/archives [2023-01-16T17:54:19.356Z] total 16 [2023-01-16T17:54:19.356Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 17:42 . [2023-01-16T17:54:19.356Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 17:42 .. [2023-01-16T17:54:19.356Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 17:42 cost [2023-01-16T17:54:19.356Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 16 17:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:19.717Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:20.598Z] ---> package-listing.sh [2023-01-16T17:54:20.598Z] ++ facter osfamily [2023-01-16T17:54:20.598Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T17:54:20.858Z] + OS_FAMILY=debian [2023-01-16T17:54:20.858Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-217 [2023-01-16T17:54:20.858Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T17:54:20.858Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T17:54:20.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T17:54:20.858Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T17:54:20.858Z] + '[' /w/workspace/undry_device-onvif-camera_PR-217 ']' [2023-01-16T17:54:20.858Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T17:54:20.858Z] + case "${OS_FAMILY}" in [2023-01-16T17:54:20.858Z] + dpkg -l [2023-01-16T17:54:20.858Z] + grep '^ii' [2023-01-16T17:54:20.858Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T17:54:20.858Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T17:54:20.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T17:54:20.858Z] + '[' /w/workspace/undry_device-onvif-camera_PR-217 ']' [2023-01-16T17:54:20.858Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-217/archives/ [2023-01-16T17:54:20.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-217/archives/ [Pipeline] echo [2023-01-16T17:54:20.895Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T17:54:21.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T17:54:22.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T17:54:22.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T17:54:22.197Z] prd-ubuntu20.04-docker-8c-8g-2601 does not seem to be running inside a container [2023-01-16T17:54:22.226Z] $ 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-217/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-217 -v /w/workspace/undry_device-onvif-camera_PR-217:/w/workspace/undry_device-onvif-camera_PR-217:rw,z -v /w/workspace/undry_device-onvif-camera_PR-217@tmp:/w/workspace/undry_device-onvif-camera_PR-217@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 [2023-01-16T17:54:22.445Z] $ docker top 32eda1cf63e034889e0f63698fb0d1d04e8f25c3f9d91937d1ef1538055e9ea0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T17:54:22.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T17:54:23.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T17:54:23.448Z] + ls /var/log/sa-host [2023-01-16T17:54:23.448Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T17:54:23.657Z] provisioning config files... [2023-01-16T17:54:23.666Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-217@tmp/config2561886965950868835tmp [Pipeline] { [Pipeline] echo [2023-01-16T17:54:23.711Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:24.017Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T17:54:24.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:24.429Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T17:54:24.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:24.774Z] ---> sudo-logs.sh [2023-01-16T17:54:24.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T17:54:24.850Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:25.162Z] ---> job-cost.sh [2023-01-16T17:54:25.162Z] lf-activate-venv: SKIPPING [2023-01-16T17:54:25.162Z] DEBUG: total: 0.2199999988079071 [2023-01-16T17:54:25.162Z] INFO: Retrieving Stack Cost... [2023-01-16T17:54:25.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T17:54:25.987Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T17:54:26.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T17:54:26.330Z] ---> logs-deploy.sh [2023-01-16T17:54:26.331Z] lf-activate-venv: SKIPPING [2023-01-16T17:54:26.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-217/1 [2023-01-16T17:54:26.331Z] INFO: archiving workspace using pattern(s): [2023-01-16T17:54:27.265Z] Archives upload complete. [2023-01-16T17:54:27.265Z] INFO: archiving logs to Nexus