Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 88753853dd15dc813abf6fe949f278b33fe89c26 rather than dbef601de6e365aeaaecb8eb41c6fb53742b5f21 Obtained Jenkinsfile from 88753853dd15dc813abf6fe949f278b33fe89c26 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-ssh5495305833106241487.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7364263332752443965.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7168488106661260461.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11620572867240195168.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-114/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-114/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13860401893468718826.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20666 in /w/workspace/undry_device-onvif-camera_PR-114 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-114 # 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/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit dbef601de6e365aeaaecb8eb41c6fb53742b5f21 Merge succeeded, producing b1aae0c15fff79d96259054e49925e5cc5da3195 Checking out Revision b1aae0c15fff79d96259054e49925e5cc5da3195 (PR-114) > git config core.sparsecheckout # timeout=10 > git checkout -f dbef601de6e365aeaaecb8eb41c6fb53742b5f21 # 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 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1aae0c15fff79d96259054e49925e5cc5da3195 # timeout=10 Commit message: "Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD" > git rev-list --no-walk dbef601de6e365aeaaecb8eb41c6fb53742b5f21 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-21T10:10:19.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T10:10:19.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T10:10:19.366Z] ========================================================= [2022-07-21T10:10:19.366Z] EdgeX Global Pipelines Version Info [2022-07-21T10:10:19.366Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:10:20.147Z] ------------------- [2022-07-21T10:10:20.147Z] stable info: [2022-07-21T10:10:20.147Z] ------------------- [2022-07-21T10:10:20.147Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T10:10:20.147Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T10:10:20.147Z] Message: update stable to v1.0.238 [2022-07-21T10:10:20.725Z] ------------------- [2022-07-21T10:10:20.725Z] experimental info: [2022-07-21T10:10:20.725Z] ------------------- [2022-07-21T10:10:20.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T10:10:20.725Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T10:10:20.725Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T10:10:20.908Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-21T10:10:20.923Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-21T10:10:20.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T10:10:20.948Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T10:10:20.958Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T10:10:20.969Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T10:10:20.981Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T10:10:20.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T10:10:21.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T10:10:21.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T10:10:21.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T10:10:21.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-21T10:10:21.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T10:10:21.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T10:10:21.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T10:10:21.097Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T10:10:21.107Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T10:10:21.125Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T10:10:21.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T10:10:21.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T10:10:21.167Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T10:10:21.180Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T10:10:21.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T10:10:21.203Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T10:10:21.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T10:10:21.228Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T10:10:21.238Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T10:10:21.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo [2022-07-21T10:10:21.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo [2022-07-21T10:10:21.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo [2022-07-21T10:10:21.294Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1aae0c15fff79d96259054e49925e5cc5da3195 [Pipeline] echo [2022-07-21T10:10:21.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1aae0c [Pipeline] echo [2022-07-21T10:10:21.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:10:21.357Z] provisioning config files... [2022-07-21T10:10:21.371Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config8313904030291719949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:10:21.677Z] ---> docker-login.sh [2022-07-21T10:10:21.677Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:10:21.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:22.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:22.204Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:22.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:22.204Z] [2022-07-21T10:10:22.204Z] Login Succeeded [2022-07-21T10:10:22.204Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:10:22.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:22.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:22.465Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:22.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:22.465Z] [2022-07-21T10:10:22.465Z] Login Succeeded [2022-07-21T10:10:22.465Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:10:22.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:22.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:22.465Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:22.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:22.465Z] [2022-07-21T10:10:22.465Z] Login Succeeded [2022-07-21T10:10:22.465Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:10:22.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:22.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:22.726Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:22.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:22.726Z] [2022-07-21T10:10:22.726Z] Login Succeeded [2022-07-21T10:10:22.726Z] docker.io [2022-07-21T10:10:22.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:22.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:22.989Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:22.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:22.989Z] [2022-07-21T10:10:22.989Z] Login Succeeded [2022-07-21T10:10:22.989Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:10:22.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T10:10:23.380Z] + git rev-list -1 --merges b1aae0c15fff79d96259054e49925e5cc5da3195~1..b1aae0c15fff79d96259054e49925e5cc5da3195 [Pipeline] echo [2022-07-21T10:10:23.410Z] -----------> git rev-list -1 --merges b1aae0c15fff79d96259054e49925e5cc5da3195~1..b1aae0c15fff79d96259054e49925e5cc5da3195 b1aae0c15fff79d96259054e49925e5cc5da3195 [2022-07-21T10:10:23.410Z] b1aae0c15fff79d96259054e49925e5cc5da3195 [false] [Pipeline] sh [2022-07-21T10:10:23.702Z] + git log --format=format:%s -1 b1aae0c15fff79d96259054e49925e5cc5da3195 [Pipeline] echo [2022-07-21T10:10:23.719Z] ========================================================= [2022-07-21T10:10:23.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T10:10:23.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:10:24.060Z] + git log --format=format:%s -1 b1aae0c15fff79d96259054e49925e5cc5da3195 [Pipeline] echo [2022-07-21T10:10:24.072Z] [semverPrep] GIT_COMMIT: b1aae0c15fff79d96259054e49925e5cc5da3195, Commit Message: Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD [Pipeline] echo [2022-07-21T10:10:24.081Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T10:10:24.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T10:10:24.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T10:10:24.455Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T10:10:24.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T10:10:24.455Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T10:10:24.455Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T10:10:24.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:10:24.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:10:24.877Z] [2022-07-21T10:10:24.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:10:25.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:10:25.186Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T10:10:25.186Z] b85a868b505f: Pulling fs layer [2022-07-21T10:10:25.186Z] e2be974225ed: Pulling fs layer [2022-07-21T10:10:25.186Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T10:10:25.186Z] 988bab9f4d93: Pulling fs layer [2022-07-21T10:10:25.186Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T10:10:25.186Z] eaf3925da568: Pulling fs layer [2022-07-21T10:10:25.186Z] bab4dde63d76: Pulling fs layer [2022-07-21T10:10:25.186Z] bde34c3a00c8: Pulling fs layer [2022-07-21T10:10:25.186Z] b352a97aabf1: Pulling fs layer [2022-07-21T10:10:25.186Z] 4872d77fe225: Pulling fs layer [2022-07-21T10:10:25.186Z] 5851b861e8e6: Pulling fs layer [2022-07-21T10:10:25.186Z] eaf3925da568: Waiting [2022-07-21T10:10:25.186Z] bde34c3a00c8: Waiting [2022-07-21T10:10:25.186Z] bab4dde63d76: Waiting [2022-07-21T10:10:25.186Z] b352a97aabf1: Waiting [2022-07-21T10:10:25.186Z] 4872d77fe225: Waiting [2022-07-21T10:10:25.186Z] 5851b861e8e6: Waiting [2022-07-21T10:10:25.186Z] 988bab9f4d93: Waiting [2022-07-21T10:10:25.186Z] 1469e6f7b9e6: Waiting [2022-07-21T10:10:25.186Z] e2be974225ed: Verifying Checksum [2022-07-21T10:10:25.186Z] e2be974225ed: Download complete [2022-07-21T10:10:25.186Z] 988bab9f4d93: Verifying Checksum [2022-07-21T10:10:25.186Z] 988bab9f4d93: Download complete [2022-07-21T10:10:25.446Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T10:10:25.446Z] 1469e6f7b9e6: Download complete [2022-07-21T10:10:25.446Z] eaf3925da568: Download complete [2022-07-21T10:10:25.446Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T10:10:25.446Z] 339a4e72a1f5: Download complete [2022-07-21T10:10:25.446Z] bde34c3a00c8: Download complete [2022-07-21T10:10:25.446Z] b352a97aabf1: Verifying Checksum [2022-07-21T10:10:25.446Z] b352a97aabf1: Download complete [2022-07-21T10:10:25.446Z] 4872d77fe225: Download complete [2022-07-21T10:10:25.446Z] b85a868b505f: Verifying Checksum [2022-07-21T10:10:25.446Z] b85a868b505f: Download complete [2022-07-21T10:10:25.713Z] bab4dde63d76: Verifying Checksum [2022-07-21T10:10:25.713Z] bab4dde63d76: Download complete [2022-07-21T10:10:27.098Z] b85a868b505f: Pull complete [2022-07-21T10:10:27.098Z] e2be974225ed: Pull complete [2022-07-21T10:10:27.358Z] 339a4e72a1f5: Pull complete [2022-07-21T10:10:27.617Z] 988bab9f4d93: Pull complete [2022-07-21T10:10:27.881Z] 1469e6f7b9e6: Pull complete [2022-07-21T10:10:27.881Z] eaf3925da568: Pull complete [2022-07-21T10:10:30.447Z] bab4dde63d76: Pull complete [2022-07-21T10:10:30.447Z] bde34c3a00c8: Pull complete [2022-07-21T10:10:30.447Z] b352a97aabf1: Pull complete [2022-07-21T10:10:30.447Z] 4872d77fe225: Pull complete [2022-07-21T10:10:30.447Z] 5851b861e8e6: Pull complete [2022-07-21T10:10:30.447Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T10:10:30.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T10:10:30.447Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:10:30.553Z] prd-ubuntu20.04-docker-8c-8g-20666 does not seem to be running inside a container [2022-07-21T10:10:30.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@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-devops/py-git-semver:0.1.4 cat [2022-07-21T10:10:32.382Z] $ docker top 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 -eo pid,comm [2022-07-21T10:10:32.462Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-21T10:10:32.462Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T10:10:32.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T10:10:32.499Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T10:10:32.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T10:10:32.656Z] $ docker exec 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 ssh-agent [2022-07-21T10:10:32.798Z] SSH_AUTH_SOCK=/tmp/ssh-CXlm7ant2ZRS/agent.15 [2022-07-21T10:10:32.798Z] SSH_AGENT_PID=22 [2022-07-21T10:10:32.805Z] Running ssh-add (command line suppressed) [2022-07-21T10:10:32.970Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_8216718411063455861.key (/w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_8216718411063455861.key) [2022-07-21T10:10:32.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T10:10:33.285Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T10:10:33.309Z] $ docker exec --env ******** --env ******** 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 ssh-agent -k [2022-07-21T10:10:33.433Z] unset SSH_AUTH_SOCK; [2022-07-21T10:10:33.433Z] unset SSH_AGENT_PID; [2022-07-21T10:10:33.434Z] echo Agent pid 22 killed; [2022-07-21T10:10:33.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T10:10:33.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T10:10:33.464Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T10:10:33.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T10:10:33.638Z] $ docker exec 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 ssh-agent [2022-07-21T10:10:33.756Z] SSH_AUTH_SOCK=/tmp/ssh-UHXsueumLlsW/agent.76 [2022-07-21T10:10:33.756Z] SSH_AGENT_PID=83 [2022-07-21T10:10:33.761Z] Running ssh-add (command line suppressed) [2022-07-21T10:10:33.894Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_428883230741758106.key (/w/workspace/undry_device-onvif-camera_PR-114@tmp/private_key_428883230741758106.key) [2022-07-21T10:10:33.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T10:10:34.196Z] + git semver init [2022-07-21T10:10:34.457Z] 2022-07-21 10:10:34,389 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T10:10:34.457Z] 2022-07-21 10:10:34,390 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-114/.semver [2022-07-21T10:10:34.457Z] 2022-07-21 10:10:34,390 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-114/.semver [2022-07-21T10:10:34.457Z] 2022-07-21 10:10:34,390 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-114/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-114, universal_newlines=False, shell=None, istream=None) [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,165 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-114/.git/info/exclude [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 with force:False [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,166 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,170 [execute] INFO git cat-file --batch-check [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,176 [execute] INFO git cat-file --batch [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T10:10:35.404Z] 2022-07-21 10:10:35,181 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-114/.semver/PR-114 [2022-07-21T10:10:35.404Z] 0.0.0 [Pipeline] } [2022-07-21T10:10:35.420Z] $ docker exec --env ******** --env ******** 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 ssh-agent -k [2022-07-21T10:10:35.548Z] unset SSH_AUTH_SOCK; [2022-07-21T10:10:35.549Z] unset SSH_AGENT_PID; [2022-07-21T10:10:35.549Z] echo Agent pid 83 killed; [2022-07-21T10:10:35.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T10:10:35.881Z] + git semver [Pipeline] } [2022-07-21T10:10:36.162Z] $ docker stop --time=1 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 [2022-07-21T10:10:37.477Z] $ docker rm -f 7d7212971e4c685b6d57363008ac31675cbad82da71269d560376be735c12212 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:10:37.834Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T10:10:38.097Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T10:10:38.100Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:10:38.263Z] provisioning config files... [2022-07-21T10:10:38.273Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config6130496752240107707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:10:38.577Z] ---> docker-login.sh [2022-07-21T10:10:38.577Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:10:38.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:38.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:38.577Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:38.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:38.577Z] [2022-07-21T10:10:38.577Z] Login Succeeded [2022-07-21T10:10:38.577Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:10:38.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:38.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:38.838Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:38.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:38.838Z] [2022-07-21T10:10:38.838Z] Login Succeeded [2022-07-21T10:10:38.839Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:10:38.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:38.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:38.839Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:38.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:38.839Z] [2022-07-21T10:10:38.839Z] Login Succeeded [2022-07-21T10:10:38.839Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:10:39.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:39.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:39.100Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:39.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:39.100Z] [2022-07-21T10:10:39.100Z] Login Succeeded [2022-07-21T10:10:39.100Z] docker.io [2022-07-21T10:10:39.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:10:39.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:10:39.360Z] Configure a credential helper to remove this warning. See [2022-07-21T10:10:39.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:10:39.360Z] [2022-07-21T10:10:39.360Z] Login Succeeded [2022-07-21T10:10:39.360Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:10:39.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T10:10:39.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:10:39.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:10:39.458Z] ========================================================= [2022-07-21T10:10:39.458Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T10:10:39.458Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:10:39.782Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-21T10:10:39.782Z] Sending build context to Docker daemon 19.98MB [2022-07-21T10:10:39.782Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:10:39.782Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T10:10:40.045Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T10:10:40.045Z] 2408cc74d12b: Pulling fs layer [2022-07-21T10:10:40.046Z] ea60b727a1ce: Pulling fs layer [2022-07-21T10:10:40.046Z] 30c4a7721957: Pulling fs layer [2022-07-21T10:10:40.046Z] 370296b7ddb6: Pulling fs layer [2022-07-21T10:10:40.046Z] 7c6cee850709: Pulling fs layer [2022-07-21T10:10:40.046Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T10:10:40.046Z] d94ebbe4e438: Pulling fs layer [2022-07-21T10:10:40.046Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T10:10:40.046Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T10:10:40.046Z] 7c6cee850709: Waiting [2022-07-21T10:10:40.046Z] d94ebbe4e438: Waiting [2022-07-21T10:10:40.046Z] bcfd1f05c69d: Waiting [2022-07-21T10:10:40.046Z] 39a5fcdaea64: Waiting [2022-07-21T10:10:40.046Z] 370296b7ddb6: Waiting [2022-07-21T10:10:40.046Z] 30c4a7721957: Verifying Checksum [2022-07-21T10:10:40.046Z] 30c4a7721957: Download complete [2022-07-21T10:10:40.046Z] ea60b727a1ce: Download complete [2022-07-21T10:10:40.046Z] 7c6cee850709: Verifying Checksum [2022-07-21T10:10:40.046Z] 7c6cee850709: Download complete [2022-07-21T10:10:40.046Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T10:10:40.046Z] 39a5fcdaea64: Download complete [2022-07-21T10:10:40.046Z] 2408cc74d12b: Verifying Checksum [2022-07-21T10:10:40.046Z] 2408cc74d12b: Download complete [2022-07-21T10:10:40.046Z] d94ebbe4e438: Download complete [2022-07-21T10:10:40.046Z] 2408cc74d12b: Pull complete [2022-07-21T10:10:40.309Z] ea60b727a1ce: Pull complete [2022-07-21T10:10:40.309Z] 30c4a7721957: Pull complete [2022-07-21T10:10:40.571Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T10:10:40.571Z] 59ccb84bbe0f: Download complete [2022-07-21T10:10:40.571Z] bcfd1f05c69d: Verifying Checksum [2022-07-21T10:10:40.571Z] bcfd1f05c69d: Download complete [2022-07-21T10:10:40.835Z] 370296b7ddb6: Verifying Checksum [2022-07-21T10:10:40.835Z] 370296b7ddb6: Download complete [2022-07-21T10:10:45.034Z] 370296b7ddb6: Pull complete [2022-07-21T10:10:45.034Z] 7c6cee850709: Pull complete [2022-07-21T10:10:45.034Z] 39a5fcdaea64: Pull complete [2022-07-21T10:10:45.296Z] d94ebbe4e438: Pull complete [2022-07-21T10:10:47.836Z] bcfd1f05c69d: Pull complete [2022-07-21T10:10:48.412Z] 59ccb84bbe0f: Pull complete [2022-07-21T10:10:48.412Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T10:10:48.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T10:10:48.412Z] ---> a4fb48ad2a94 [2022-07-21T10:10:48.412Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T10:10:50.339Z] ---> Running in 45f108a453c0 [2022-07-21T10:10:50.604Z] Removing intermediate container 45f108a453c0 [2022-07-21T10:10:50.604Z] ---> 404c5a449f89 [2022-07-21T10:10:50.604Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:10:50.604Z] ---> Running in 593fd42d2a93 [2022-07-21T10:10:50.864Z] Removing intermediate container 593fd42d2a93 [2022-07-21T10:10:50.864Z] ---> 3e35a3cfde8e [2022-07-21T10:10:50.864Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:10:50.864Z] ---> Running in 08008159765a [2022-07-21T10:10:50.864Z] Removing intermediate container 08008159765a [2022-07-21T10:10:50.864Z] ---> 0134bc04b1c0 [2022-07-21T10:10:50.864Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:10:50.864Z] ---> Running in 0d2d3ea9214e [2022-07-21T10:10:51.124Z] Removing intermediate container 0d2d3ea9214e [2022-07-21T10:10:51.124Z] ---> f70218c2fe6f [2022-07-21T10:10:51.124Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:10:51.124Z] ---> Running in c856aed0ec25 [2022-07-21T10:10:51.695Z] Removing intermediate container c856aed0ec25 [2022-07-21T10:10:51.695Z] ---> 37578c413be7 [2022-07-21T10:10:51.695Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:10:51.695Z] ---> Running in 8bda9e43eee5 [2022-07-21T10:10:51.959Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:10:52.906Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:10:53.168Z] OK: 211 MiB in 51 packages [2022-07-21T10:10:53.229Z] Still waiting to schedule task [2022-07-21T10:10:53.229Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T10:10:53.747Z] Removing intermediate container 8bda9e43eee5 [2022-07-21T10:10:53.748Z] ---> 905014529eec [2022-07-21T10:10:53.748Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T10:10:53.748Z] ---> Running in d88168cbeb63 [2022-07-21T10:10:53.748Z] Removing intermediate container d88168cbeb63 [2022-07-21T10:10:53.748Z] ---> 9ab6cd4d0fab [2022-07-21T10:10:53.748Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T10:10:54.008Z] ---> ca189079dfa9 [2022-07-21T10:10:54.008Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:10:54.008Z] ---> Running in 5c7c13a8af4a [2022-07-21T10:11:15.999Z] Removing intermediate container 5c7c13a8af4a [2022-07-21T10:11:15.999Z] ---> a1698f10848e [2022-07-21T10:11:15.999Z] Step 12/13 : COPY . . [2022-07-21T10:11:15.999Z] ---> dbcd743293f5 [2022-07-21T10:11:15.999Z] Step 13/13 : RUN ${MAKE} [2022-07-21T10:11:15.999Z] ---> Running in d408b9e7d316 [2022-07-21T10:11:15.999Z] noop [2022-07-21T10:11:15.999Z] Removing intermediate container d408b9e7d316 [2022-07-21T10:11:15.999Z] ---> d51bdf2dbb6c [2022-07-21T10:11:15.999Z] Successfully built d51bdf2dbb6c [2022-07-21T10:11:15.999Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:16.314Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T10:11:16.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:11:16.412Z] prd-ubuntu20.04-docker-8c-8g-20666 does not seem to be running inside a container [2022-07-21T10:11:16.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T10:11:16.870Z] $ docker top 63aca24c66d1c5f0ad832f16d7058d97618cf898cedd547398e176b7b7bb9577 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:11:17.230Z] + go version [2022-07-21T10:11:17.230Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T10:11:17.245Z] $ docker stop --time=1 63aca24c66d1c5f0ad832f16d7058d97618cf898cedd547398e176b7b7bb9577 [2022-07-21T10:11:18.697Z] $ docker rm -f 63aca24c66d1c5f0ad832f16d7058d97618cf898cedd547398e176b7b7bb9577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:19.143Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T10:11:19.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:11:19.258Z] prd-ubuntu20.04-docker-8c-8g-20666 does not seem to be running inside a container [2022-07-21T10:11:19.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T10:11:19.962Z] $ docker top 1e55e870d1310de223b2f81f74aa0917e0362f9d0b1d1c168cfa182090ef1801 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:11:20.350Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-114 [Pipeline] fileExists [Pipeline] sh [2022-07-21T10:11:20.650Z] + make test [2022-07-21T10:11:20.650Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T10:11:20.908Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T10:11:30.902Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T10:11:31.841Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 10.9% of statements [2022-07-21T10:11:31.841Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T10:11:36.038Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.964s coverage: 13.8% of statements [2022-07-21T10:11:42.610Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T10:11:45.907Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T10:11:45.907Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T10:11:45.907Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T10:11:46.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T10:11:46.200Z] $ docker stop --time=1 1e55e870d1310de223b2f81f74aa0917e0362f9d0b1d1c168cfa182090ef1801 [2022-07-21T10:11:48.117Z] $ docker rm -f 1e55e870d1310de223b2f81f74aa0917e0362f9d0b1d1c168cfa182090ef1801 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:11:48.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T10:11:48.629Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T10:11:49.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T10:11:49.418Z] + ls -al . [2022-07-21T10:11:49.418Z] total 236 [2022-07-21T10:11:49.418Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 10:11 . [2022-07-21T10:11:49.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:10 .. [2022-07-21T10:11:49.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 10:11 .git [2022-07-21T10:11:49.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:10 .github [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 10:10 .gitignore [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 10:10 .golangci.yml [2022-07-21T10:11:49.418Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 10:10 .semver [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 10:10 Attribution.txt [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 10:10 CHANGELOG.md [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 10:10 Dockerfile [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 10:10 GOVERNANCE.md [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 10:10 Jenkinsfile [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 10:10 LICENSE [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 10:10 Makefile [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 10:10 OWNERS.md [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 10:10 README.md [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 10:10 VERSION [2022-07-21T10:11:49.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 10:10 bin [2022-07-21T10:11:49.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:10 cmd [2022-07-21T10:11:49.418Z] -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 10:11 coverage.out [2022-07-21T10:11:49.418Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 10:10 doc [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 10:10 go.mod [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 10:10 go.sum [2022-07-21T10:11:49.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:10 internal [2022-07-21T10:11:49.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:10 snap [2022-07-21T10:11:49.418Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:11:49.743Z] + 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=b1aae0c15fff79d96259054e49925e5cc5da3195 --label arch=amd64 --label version=0.0.0 . [2022-07-21T10:11:49.743Z] Sending build context to Docker daemon 20.06MB [2022-07-21T10:11:49.743Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:11:49.743Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T10:11:49.743Z] ---> d51bdf2dbb6c [2022-07-21T10:11:49.743Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T10:11:50.002Z] ---> Running in 8884269bd366 [2022-07-21T10:11:50.002Z] Removing intermediate container 8884269bd366 [2022-07-21T10:11:50.002Z] ---> bad5a4b7d84c [2022-07-21T10:11:50.002Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:11:50.002Z] ---> Running in 4725a1ad3e7b [2022-07-21T10:11:50.262Z] Removing intermediate container 4725a1ad3e7b [2022-07-21T10:11:50.262Z] ---> 2d9ada2d653c [2022-07-21T10:11:50.262Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:11:50.263Z] ---> Running in 504710f05cfb [2022-07-21T10:11:50.263Z] Removing intermediate container 504710f05cfb [2022-07-21T10:11:50.263Z] ---> ac8ce3231d69 [2022-07-21T10:11:50.263Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:11:50.263Z] ---> Running in 93694f71d569 [2022-07-21T10:11:50.522Z] Removing intermediate container 93694f71d569 [2022-07-21T10:11:50.522Z] ---> 1ceab7555b1a [2022-07-21T10:11:50.522Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:11:50.522Z] ---> Running in da1296eed688 [2022-07-21T10:11:51.092Z] Removing intermediate container da1296eed688 [2022-07-21T10:11:51.092Z] ---> fa2a9ee414f2 [2022-07-21T10:11:51.092Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:11:51.092Z] ---> Running in 39ae4cd92eee [2022-07-21T10:11:51.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:11:52.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:11:52.555Z] OK: 211 MiB in 51 packages [2022-07-21T10:11:52.815Z] Removing intermediate container 39ae4cd92eee [2022-07-21T10:11:52.815Z] ---> 6658808e21aa [2022-07-21T10:11:52.815Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T10:11:52.815Z] ---> Running in 8f0fbf8d16b6 [2022-07-21T10:11:53.075Z] Removing intermediate container 8f0fbf8d16b6 [2022-07-21T10:11:53.075Z] ---> d4f8c1ca62e2 [2022-07-21T10:11:53.075Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T10:11:53.075Z] ---> fbd9edf2113f [2022-07-21T10:11:53.075Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:11:53.075Z] ---> Running in 114ac9a9a2ad [2022-07-21T10:11:54.013Z] Removing intermediate container 114ac9a9a2ad [2022-07-21T10:11:54.013Z] ---> 074910b0be79 [2022-07-21T10:11:54.013Z] Step 12/26 : COPY . . [2022-07-21T10:11:54.273Z] ---> b9d402b004ee [2022-07-21T10:11:54.273Z] Step 13/26 : RUN ${MAKE} [2022-07-21T10:11:54.535Z] ---> Running in 5022107d85ab [2022-07-21T10:11:54.823Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-21T10:12:16.757Z] Removing intermediate container 5022107d85ab [2022-07-21T10:12:16.757Z] ---> b890bfd1caab [2022-07-21T10:12:16.757Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T10:12:16.757Z] 3.15: Pulling from library/alpine [2022-07-21T10:12:16.757Z] ab6db1bc80d0: Pulling fs layer [2022-07-21T10:12:16.757Z] ab6db1bc80d0: Verifying Checksum [2022-07-21T10:12:16.757Z] ab6db1bc80d0: Download complete [2022-07-21T10:12:16.757Z] ab6db1bc80d0: Pull complete [2022-07-21T10:12:16.757Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T10:12:16.757Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T10:12:16.757Z] ---> 2720e26172a0 [2022-07-21T10:12:16.757Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T10:12:16.757Z] ---> Running in 0f809f011240 [2022-07-21T10:12:16.757Z] Removing intermediate container 0f809f011240 [2022-07-21T10:12:16.757Z] ---> 40c16cf29f1a [2022-07-21T10:12:16.757Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T10:12:16.757Z] ---> Running in 728e565bb6d4 [2022-07-21T10:12:16.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T10:12:16.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T10:12:16.757Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T10:12:16.757Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T10:12:16.757Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T10:12:16.757Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T10:12:16.757Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T10:12:16.757Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T10:12:16.757Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T10:12:16.757Z] OK: 8 MiB in 20 packages [2022-07-21T10:12:16.757Z] Removing intermediate container 728e565bb6d4 [2022-07-21T10:12:16.757Z] ---> cb2f81ea8913 [2022-07-21T10:12:16.757Z] Step 17/26 : WORKDIR / [2022-07-21T10:12:16.757Z] ---> Running in 8fe091d0f300 [2022-07-21T10:12:16.757Z] Removing intermediate container 8fe091d0f300 [2022-07-21T10:12:16.757Z] ---> caf77c29a3d4 [2022-07-21T10:12:16.757Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T10:12:17.327Z] ---> 9a05b9e3ce72 [2022-07-21T10:12:17.327Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T10:12:17.327Z] ---> 0da787e231a9 [2022-07-21T10:12:17.327Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T10:12:17.593Z] ---> cdf01b8cd7e2 [2022-07-21T10:12:17.593Z] Step 21/26 : EXPOSE 59984 [2022-07-21T10:12:17.593Z] ---> Running in bc99d6083978 [2022-07-21T10:12:17.593Z] Removing intermediate container bc99d6083978 [2022-07-21T10:12:17.593Z] ---> 84dc30b447be [2022-07-21T10:12:17.593Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T10:12:17.854Z] ---> Running in e90831621762 [2022-07-21T10:12:17.854Z] Removing intermediate container e90831621762 [2022-07-21T10:12:17.854Z] ---> b8263d935e13 [2022-07-21T10:12:17.854Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T10:12:17.854Z] ---> Running in fb83cbf960c7 [2022-07-21T10:12:17.854Z] Removing intermediate container fb83cbf960c7 [2022-07-21T10:12:17.854Z] ---> 6c0dbd43efb5 [2022-07-21T10:12:17.854Z] Step 24/26 : LABEL arch=amd64 [2022-07-21T10:12:18.114Z] ---> Running in d5f8822e5ea7 [2022-07-21T10:12:18.115Z] Removing intermediate container d5f8822e5ea7 [2022-07-21T10:12:18.115Z] ---> 17073f01bb35 [2022-07-21T10:12:18.115Z] Step 25/26 : LABEL git_sha=b1aae0c15fff79d96259054e49925e5cc5da3195 [2022-07-21T10:12:18.115Z] ---> Running in 27e029acea98 [2022-07-21T10:12:18.115Z] Removing intermediate container 27e029acea98 [2022-07-21T10:12:18.115Z] ---> 0a83e8c6bf5d [2022-07-21T10:12:18.115Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T10:12:18.374Z] ---> Running in ee2d0dc3b5b6 [2022-07-21T10:12:18.374Z] Removing intermediate container ee2d0dc3b5b6 [2022-07-21T10:12:18.374Z] ---> b8d58afbdd5d [2022-07-21T10:12:18.374Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T10:12:18.374Z] Successfully built b8d58afbdd5d [2022-07-21T10:12:18.374Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:12:18.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:12:18.823Z] [2022-07-21T10:12:18.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:12:19.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:12:19.131Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T10:12:19.131Z] 5eb5b503b376: Pulling fs layer [2022-07-21T10:12:19.131Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T10:12:19.131Z] ec43610c2a17: Pulling fs layer [2022-07-21T10:12:19.131Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T10:12:19.131Z] 33b1e0a273af: Pulling fs layer [2022-07-21T10:12:19.131Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T10:12:19.131Z] 2f39f015ded8: Pulling fs layer [2022-07-21T10:12:19.131Z] 3a2ae6a8a46f: Waiting [2022-07-21T10:12:19.131Z] 33b1e0a273af: Waiting [2022-07-21T10:12:19.131Z] 5d3b04190fa2: Waiting [2022-07-21T10:12:19.131Z] 2f39f015ded8: Waiting [2022-07-21T10:12:19.131Z] 5c69ac0246d0: Download complete [2022-07-21T10:12:19.131Z] 3a2ae6a8a46f: Download complete [2022-07-21T10:12:19.393Z] ec43610c2a17: Verifying Checksum [2022-07-21T10:12:19.393Z] ec43610c2a17: Download complete [2022-07-21T10:12:19.393Z] 33b1e0a273af: Verifying Checksum [2022-07-21T10:12:19.393Z] 33b1e0a273af: Download complete [2022-07-21T10:12:19.393Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T10:12:19.393Z] 5d3b04190fa2: Download complete [2022-07-21T10:12:19.393Z] 5eb5b503b376: Verifying Checksum [2022-07-21T10:12:19.393Z] 5eb5b503b376: Download complete [2022-07-21T10:12:19.961Z] 2f39f015ded8: Download complete [2022-07-21T10:12:20.898Z] 5eb5b503b376: Pull complete [2022-07-21T10:12:20.898Z] 5c69ac0246d0: Pull complete [2022-07-21T10:12:21.466Z] ec43610c2a17: Pull complete [2022-07-21T10:12:21.466Z] 3a2ae6a8a46f: Pull complete [2022-07-21T10:12:21.725Z] 33b1e0a273af: Pull complete [2022-07-21T10:12:21.725Z] 5d3b04190fa2: Pull complete [2022-07-21T10:12:24.468Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20669 in /w/workspace/undry_device-onvif-camera_PR-114 [Pipeline] { [Pipeline] ws [2022-07-21T10:12:24.482Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-07-21T10:12:24.535Z] Selected Git installation does not exist. Using Default [2022-07-21T10:12:24.535Z] The recommended git tool is: NONE [2022-07-21T10:12:27.003Z] 2f39f015ded8: Pull complete [2022-07-21T10:12:27.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T10:12:27.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:12:27.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:12:27.102Z] prd-ubuntu20.04-docker-8c-8g-20666 does not seem to be running inside a container [2022-07-21T10:12:27.143Z] $ 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-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T10:12:29.538Z] $ docker top 63fd4caf7d872e78d2a0f383871c396c73d1071c381f7a28626712f586d68dca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:12:30.030Z] ---> job-cost.sh [2022-07-21T10:12:30.030Z] lf-activate-venv: SKIPPING [2022-07-21T10:12:30.030Z] INFO: No Stack... [2022-07-21T10:12:30.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T10:12:30.885Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T10:12:30.937Z] using credential edgex-jenkins-ssh [2022-07-21T10:12:30.965Z] Cloning the remote Git repository [2022-07-21T10:12:31.179Z] + cat /w/workspace/undry_device-onvif-camera_PR-114/archives/cost.csv [2022-07-21T10:12:31.179Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T10:12:31.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [2022-07-21T10:12:31.201Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] did not exist. Created. [2022-07-21T10:12:31.201Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T10:12:31.507Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T10:12:31.534Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T10:12:31.541Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T10:12:31.563Z] $ docker stop --time=1 63fd4caf7d872e78d2a0f383871c396c73d1071c381f7a28626712f586d68dca [2022-07-21T10:12:31.052Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:12:31.144Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-07-21T10:12:31.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:12:31.260Z] > git --version # timeout=10 [2022-07-21T10:12:31.302Z] > git --version # 'git version 2.25.1' [2022-07-21T10:12:31.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:12:31.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T10:12:32.754Z] $ docker rm -f 63fd4caf7d872e78d2a0f383871c396c73d1071c381f7a28626712f586d68dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T10:12:33.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T10:12:33.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T10:12:33.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-21T10:12:33.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-21T10:12:33.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:12:33.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T10:12:34.195Z] Merging remotes/origin/main commit 88753853dd15dc813abf6fe949f278b33fe89c26 into PR head commit dbef601de6e365aeaaecb8eb41c6fb53742b5f21 [2022-07-21T10:12:34.220Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T10:12:34.308Z] > git checkout -f dbef601de6e365aeaaecb8eb41c6fb53742b5f21 # timeout=10 [2022-07-21T10:12:34.574Z] > git remote # timeout=10 [2022-07-21T10:12:34.655Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T10:12:34.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T10:12:34.729Z] > git merge 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 [2022-07-21T10:12:35.076Z] Merge succeeded, producing d7b27fd185d5925b693d67f115570e4ef16a5fa5 [2022-07-21T10:12:35.077Z] Checking out Revision d7b27fd185d5925b693d67f115570e4ef16a5fa5 (PR-114) [2022-07-21T10:12:35.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T10:12:35.086Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T10:12:35.115Z] > git checkout -f d7b27fd185d5925b693d67f115570e4ef16a5fa5 # timeout=10 [2022-07-21T10:12:39.518Z] Commit message: "Merge commit '88753853dd15dc813abf6fe949f278b33fe89c26' into HEAD" [2022-07-21T10:12:39.529Z] > git rev-list --no-walk dbef601de6e365aeaaecb8eb41c6fb53742b5f21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:12:40.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T10:12:40.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T10:12:40.543Z] Dload Upload Total Spent Left Speed [2022-07-21T10:12:40.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 71283 0 --:--:-- --:--:-- --:--:-- 71697 [Pipeline] sh [2022-07-21T10:12:41.260Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T10:12:41.622Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T10:12:41.622Z] + sudo tee /etc/docker/daemon.new [2022-07-21T10:12:41.622Z] { [2022-07-21T10:12:41.622Z] "registry-mirrors": [ [2022-07-21T10:12:41.622Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T10:12:41.622Z] ], [2022-07-21T10:12:41.622Z] "bip": "10.250.0.254/24", [2022-07-21T10:12:41.622Z] "hosts": [ [2022-07-21T10:12:41.622Z] "tcp://0.0.0.0:5555", [2022-07-21T10:12:41.622Z] "unix:///var/run/docker.sock" [2022-07-21T10:12:41.622Z] ], [2022-07-21T10:12:41.622Z] "mtu": 1458, [2022-07-21T10:12:41.622Z] "selinux-enabled": true, [2022-07-21T10:12:41.622Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T10:12:41.622Z] } [Pipeline] sh [2022-07-21T10:12:42.090Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T10:12:42.452Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:13:00.959Z] provisioning config files... [2022-07-21T10:13:00.984Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config8755507577270875961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:13:01.345Z] ---> docker-login.sh [2022-07-21T10:13:01.345Z] nexus3.edgexfoundry.org:10001 [2022-07-21T10:13:01.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:13:02.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:13:02.229Z] Configure a credential helper to remove this warning. See [2022-07-21T10:13:02.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:13:02.230Z] [2022-07-21T10:13:02.230Z] Login Succeeded [2022-07-21T10:13:02.230Z] nexus3.edgexfoundry.org:10002 [2022-07-21T10:13:02.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:13:02.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:13:02.793Z] Configure a credential helper to remove this warning. See [2022-07-21T10:13:02.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:13:02.793Z] [2022-07-21T10:13:02.793Z] Login Succeeded [2022-07-21T10:13:02.793Z] nexus3.edgexfoundry.org:10003 [2022-07-21T10:13:03.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:13:03.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:13:03.351Z] Configure a credential helper to remove this warning. See [2022-07-21T10:13:03.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:13:03.351Z] [2022-07-21T10:13:03.351Z] Login Succeeded [2022-07-21T10:13:03.351Z] nexus3.edgexfoundry.org:10004 [2022-07-21T10:13:03.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:13:03.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:13:03.902Z] Configure a credential helper to remove this warning. See [2022-07-21T10:13:03.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:13:03.902Z] [2022-07-21T10:13:03.902Z] Login Succeeded [2022-07-21T10:13:03.902Z] docker.io [2022-07-21T10:13:04.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T10:13:04.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T10:13:04.452Z] Configure a credential helper to remove this warning. See [2022-07-21T10:13:04.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T10:13:04.452Z] [2022-07-21T10:13:04.452Z] Login Succeeded [2022-07-21T10:13:04.452Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T10:13:04.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T10:13:04.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:13:04.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T10:13:04.781Z] ========================================================= [2022-07-21T10:13:04.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T10:13:04.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:13:05.141Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-21T10:13:05.743Z] Sending build context to Docker daemon 13.63MB [2022-07-21T10:13:05.743Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:13:05.743Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-21T10:13:06.022Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T10:13:06.022Z] b3c136eddcbf: Pulling fs layer [2022-07-21T10:13:06.022Z] c0a3192eca97: Pulling fs layer [2022-07-21T10:13:06.022Z] a050256f5b6f: Pulling fs layer [2022-07-21T10:13:06.022Z] 656be50a0ddc: Pulling fs layer [2022-07-21T10:13:06.022Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T10:13:06.022Z] 46d945488cbd: Pulling fs layer [2022-07-21T10:13:06.022Z] 8a5474983e97: Pulling fs layer [2022-07-21T10:13:06.022Z] 329c88fbcd65: Pulling fs layer [2022-07-21T10:13:06.022Z] 656be50a0ddc: Waiting [2022-07-21T10:13:06.022Z] 46d945488cbd: Waiting [2022-07-21T10:13:06.022Z] 2bbca73fdf42: Waiting [2022-07-21T10:13:06.022Z] 8a5474983e97: Waiting [2022-07-21T10:13:06.022Z] 329c88fbcd65: Waiting [2022-07-21T10:13:06.022Z] a050256f5b6f: Verifying Checksum [2022-07-21T10:13:06.022Z] a050256f5b6f: Download complete [2022-07-21T10:13:06.022Z] c0a3192eca97: Download complete [2022-07-21T10:13:06.022Z] 2bbca73fdf42: Verifying Checksum [2022-07-21T10:13:06.022Z] 2bbca73fdf42: Download complete [2022-07-21T10:13:06.022Z] 46d945488cbd: Verifying Checksum [2022-07-21T10:13:06.022Z] 46d945488cbd: Download complete [2022-07-21T10:13:06.022Z] b3c136eddcbf: Verifying Checksum [2022-07-21T10:13:06.022Z] b3c136eddcbf: Download complete [2022-07-21T10:13:07.016Z] b3c136eddcbf: Pull complete [2022-07-21T10:13:07.295Z] 329c88fbcd65: Verifying Checksum [2022-07-21T10:13:07.295Z] 329c88fbcd65: Download complete [2022-07-21T10:13:07.902Z] c0a3192eca97: Pull complete [2022-07-21T10:13:08.179Z] a050256f5b6f: Pull complete [2022-07-21T10:13:08.456Z] 8a5474983e97: Verifying Checksum [2022-07-21T10:13:08.456Z] 8a5474983e97: Download complete [2022-07-21T10:13:09.059Z] 656be50a0ddc: Verifying Checksum [2022-07-21T10:13:09.059Z] 656be50a0ddc: Download complete [2022-07-21T10:13:24.155Z] 656be50a0ddc: Pull complete [2022-07-21T10:13:24.155Z] 2bbca73fdf42: Pull complete [2022-07-21T10:13:24.155Z] 46d945488cbd: Pull complete [2022-07-21T10:13:28.679Z] 8a5474983e97: Pull complete [2022-07-21T10:13:30.674Z] 329c88fbcd65: Pull complete [2022-07-21T10:13:30.674Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T10:13:30.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T10:13:30.674Z] ---> ff4287adb874 [2022-07-21T10:13:30.674Z] Step 3/13 : ARG MAKE="make build" [2022-07-21T10:13:32.680Z] ---> Running in dc913a6e60e8 [2022-07-21T10:13:32.680Z] Removing intermediate container dc913a6e60e8 [2022-07-21T10:13:32.680Z] ---> 63058e24e73f [2022-07-21T10:13:32.680Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:13:32.956Z] ---> Running in 2b9dba5e18e1 [2022-07-21T10:13:33.230Z] Removing intermediate container 2b9dba5e18e1 [2022-07-21T10:13:33.230Z] ---> 98676a8579da [2022-07-21T10:13:33.230Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:13:33.230Z] ---> Running in a6b5ca41e76d [2022-07-21T10:13:33.513Z] Removing intermediate container a6b5ca41e76d [2022-07-21T10:13:33.513Z] ---> 43c9abf77639 [2022-07-21T10:13:33.513Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:13:33.787Z] ---> Running in f66bec73b723 [2022-07-21T10:13:34.062Z] Removing intermediate container f66bec73b723 [2022-07-21T10:13:34.062Z] ---> 40952c7aa808 [2022-07-21T10:13:34.062Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:13:34.062Z] ---> Running in 210fbb8711ce [2022-07-21T10:13:36.054Z] Removing intermediate container 210fbb8711ce [2022-07-21T10:13:36.054Z] ---> 470c1e919f6d [2022-07-21T10:13:36.054Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:13:36.054Z] ---> Running in 0f8a574c6b6d [2022-07-21T10:13:37.039Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:13:38.025Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:13:39.011Z] OK: 221 MiB in 51 packages [2022-07-21T10:13:39.613Z] Removing intermediate container 0f8a574c6b6d [2022-07-21T10:13:39.613Z] ---> f81d3ebd5ba7 [2022-07-21T10:13:39.613Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-21T10:13:39.892Z] ---> Running in 7f25e935dce5 [2022-07-21T10:13:40.181Z] Removing intermediate container 7f25e935dce5 [2022-07-21T10:13:40.181Z] ---> 3037c63565a0 [2022-07-21T10:13:40.181Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-21T10:13:40.780Z] ---> 9b3053d7806c [2022-07-21T10:13:40.780Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:13:40.780Z] ---> Running in 11f44abced7a [2022-07-21T10:14:27.783Z] Removing intermediate container 11f44abced7a [2022-07-21T10:14:27.783Z] ---> 28e720eaf130 [2022-07-21T10:14:27.783Z] Step 12/13 : COPY . . [2022-07-21T10:14:29.230Z] ---> 54fa5a25ca08 [2022-07-21T10:14:29.230Z] Step 13/13 : RUN ${MAKE} [2022-07-21T10:14:29.512Z] ---> Running in 1a5463654892 [2022-07-21T10:14:30.504Z] noop [2022-07-21T10:14:31.117Z] Removing intermediate container 1a5463654892 [2022-07-21T10:14:31.117Z] ---> aacf67ab52e9 [2022-07-21T10:14:31.117Z] Successfully built aacf67ab52e9 [2022-07-21T10:14:31.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:14:31.495Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T10:14:31.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:14:31.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-20669 does not seem to be running inside a container [2022-07-21T10:14:31.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-21T10:14:33.371Z] $ docker top 3f2f653f687bc81c814b83a54bc767fb7b6eae9624ebb8d9b188f414b936dfb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:14:34.341Z] + go version [2022-07-21T10:14:34.341Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T10:14:34.375Z] $ docker stop --time=1 3f2f653f687bc81c814b83a54bc767fb7b6eae9624ebb8d9b188f414b936dfb5 [2022-07-21T10:14:36.084Z] $ docker rm -f 3f2f653f687bc81c814b83a54bc767fb7b6eae9624ebb8d9b188f414b936dfb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:14:36.740Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T10:14:36.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:14:37.016Z] prd-ubuntu20.04-docker-arm64-4c-16g-20669 does not seem to be running inside a container [2022-07-21T10:14:37.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-21T10:14:38.538Z] $ docker top cbe42b5f8e44ebee66cceed83521c679630cc5fad06c508c42b766a4970d31d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:14:39.477Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-07-21T10:14:40.157Z] + make test [2022-07-21T10:14:40.157Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-21T10:14:42.173Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-21T10:16:19.086Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-21T10:16:21.736Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.111s coverage: 10.9% of statements [2022-07-21T10:16:21.736Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-21T10:16:48.532Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.027s coverage: 13.8% of statements [2022-07-21T10:16:48.532Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T10:16:48.532Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T10:17:10.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T10:17:10.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T10:17:10.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T10:17:13.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T10:17:13.438Z] $ docker stop --time=1 cbe42b5f8e44ebee66cceed83521c679630cc5fad06c508c42b766a4970d31d6 [2022-07-21T10:17:15.308Z] $ docker rm -f cbe42b5f8e44ebee66cceed83521c679630cc5fad06c508c42b766a4970d31d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T10:17:16.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T10:17:16.434Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T10:17:17.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T10:17:17.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T10:17:17.838Z] + ls -al . [2022-07-21T10:17:17.838Z] total 232 [2022-07-21T10:17:17.838Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 10:17 . [2022-07-21T10:17:17.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:12 .. [2022-07-21T10:17:17.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 10:12 .git [2022-07-21T10:17:17.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:12 .github [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 21 10:12 .gitignore [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 10:12 .golangci.yml [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 21 10:12 Attribution.txt [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 21 10:12 CHANGELOG.md [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 21 10:12 Dockerfile [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 10:12 GOVERNANCE.md [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 21 10:12 Jenkinsfile [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 10:12 LICENSE [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 21 10:12 Makefile [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 21 10:12 OWNERS.md [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 21 10:12 README.md [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 10:10 VERSION [2022-07-21T10:17:17.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 10:12 bin [2022-07-21T10:17:17.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 10:12 cmd [2022-07-21T10:17:17.838Z] -rw-r--r-- 1 jenkins jenkins 78637 Jul 21 10:16 coverage.out [2022-07-21T10:17:17.838Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 21 10:12 doc [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 21 10:12 go.mod [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 21 10:12 go.sum [2022-07-21T10:17:17.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:12 internal [2022-07-21T10:17:17.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 10:12 snap [2022-07-21T10:17:17.838Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 21 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:17:18.207Z] + 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=d7b27fd185d5925b693d67f115570e4ef16a5fa5 --label arch=arm64 --label version=0.0.0 . [2022-07-21T10:17:18.816Z] Sending build context to Docker daemon 13.71MB [2022-07-21T10:17:18.816Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-21T10:17:18.816Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-21T10:17:18.816Z] ---> aacf67ab52e9 [2022-07-21T10:17:18.816Z] Step 3/26 : ARG MAKE="make build" [2022-07-21T10:17:19.089Z] ---> Running in 91e10f4cd32d [2022-07-21T10:17:19.364Z] Removing intermediate container 91e10f4cd32d [2022-07-21T10:17:19.364Z] ---> 8b484673f1be [2022-07-21T10:17:19.364Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T10:17:19.364Z] ---> Running in 98e0af296738 [2022-07-21T10:17:19.637Z] Removing intermediate container 98e0af296738 [2022-07-21T10:17:19.637Z] ---> f9380c32ce36 [2022-07-21T10:17:19.637Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T10:17:19.910Z] ---> Running in 65b4a3feab5a [2022-07-21T10:17:20.185Z] Removing intermediate container 65b4a3feab5a [2022-07-21T10:17:20.185Z] ---> 25bb3649425e [2022-07-21T10:17:20.185Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-21T10:17:20.185Z] ---> Running in 284535ce9492 [2022-07-21T10:17:20.794Z] Removing intermediate container 284535ce9492 [2022-07-21T10:17:20.794Z] ---> af4239de365b [2022-07-21T10:17:20.794Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T10:17:20.794Z] ---> Running in afc4f8bbfba6 [2022-07-21T10:17:22.797Z] Removing intermediate container afc4f8bbfba6 [2022-07-21T10:17:22.797Z] ---> 0e1577b78c87 [2022-07-21T10:17:22.797Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T10:17:22.797Z] ---> Running in 761c19c78511 [2022-07-21T10:17:23.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:17:24.755Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:17:25.745Z] OK: 221 MiB in 51 packages [2022-07-21T10:17:26.732Z] Removing intermediate container 761c19c78511 [2022-07-21T10:17:26.732Z] ---> 69eeae514592 [2022-07-21T10:17:26.732Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-21T10:17:26.732Z] ---> Running in 70ad3e206815 [2022-07-21T10:17:27.006Z] Removing intermediate container 70ad3e206815 [2022-07-21T10:17:27.006Z] ---> f8d32c0a6bcf [2022-07-21T10:17:27.006Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-21T10:17:27.604Z] ---> 0e8cd388f615 [2022-07-21T10:17:27.604Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T10:17:27.604Z] ---> Running in 266ef7f02ff6 [2022-07-21T10:17:30.238Z] Removing intermediate container 266ef7f02ff6 [2022-07-21T10:17:30.238Z] ---> 3f067eb9db68 [2022-07-21T10:17:30.238Z] Step 12/26 : COPY . . [2022-07-21T10:17:31.688Z] ---> 0ba94f648095 [2022-07-21T10:17:31.689Z] Step 13/26 : RUN ${MAKE} [2022-07-21T10:17:31.689Z] ---> Running in a35390cf35d5 [2022-07-21T10:17:32.673Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-21T10:20:09.682Z] Removing intermediate container a35390cf35d5 [2022-07-21T10:20:09.682Z] ---> f3ee55778fbd [2022-07-21T10:20:09.682Z] Step 14/26 : FROM alpine:3.15 [2022-07-21T10:20:09.682Z] 3.15: Pulling from library/alpine [2022-07-21T10:20:09.682Z] e0295fd11fe2: Pulling fs layer [2022-07-21T10:20:09.682Z] e0295fd11fe2: Verifying Checksum [2022-07-21T10:20:09.682Z] e0295fd11fe2: Download complete [2022-07-21T10:20:09.682Z] e0295fd11fe2: Pull complete [2022-07-21T10:20:09.682Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-21T10:20:09.682Z] Status: Downloaded newer image for alpine:3.15 [2022-07-21T10:20:09.682Z] ---> 60f2846fe774 [2022-07-21T10:20:09.682Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-21T10:20:09.682Z] ---> Running in 567da1e70781 [2022-07-21T10:20:09.682Z] Removing intermediate container 567da1e70781 [2022-07-21T10:20:09.682Z] ---> 082914bc9a5e [2022-07-21T10:20:09.682Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T10:20:09.682Z] ---> Running in 2c503f8d83dc [2022-07-21T10:20:09.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T10:20:09.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T10:20:09.682Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T10:20:09.682Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-21T10:20:09.682Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T10:20:09.682Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-21T10:20:09.682Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T10:20:09.682Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T10:20:09.682Z] Executing busybox-1.34.1-r7.trigger [2022-07-21T10:20:09.682Z] OK: 8 MiB in 20 packages [2022-07-21T10:20:09.682Z] Removing intermediate container 2c503f8d83dc [2022-07-21T10:20:09.682Z] ---> a171cd5c606f [2022-07-21T10:20:09.682Z] Step 17/26 : WORKDIR / [2022-07-21T10:20:09.682Z] ---> Running in 0709f9b3cee5 [2022-07-21T10:20:09.682Z] Removing intermediate container 0709f9b3cee5 [2022-07-21T10:20:09.682Z] ---> 8e41354263db [2022-07-21T10:20:09.682Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-21T10:20:09.682Z] ---> 6e8d0b800819 [2022-07-21T10:20:09.682Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-21T10:20:09.682Z] ---> a230749f12e9 [2022-07-21T10:20:09.682Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-21T10:20:09.682Z] ---> 2ca2c6824436 [2022-07-21T10:20:09.682Z] Step 21/26 : EXPOSE 59984 [2022-07-21T10:20:09.682Z] ---> Running in 730b063a805c [2022-07-21T10:20:09.682Z] Removing intermediate container 730b063a805c [2022-07-21T10:20:09.682Z] ---> d0d669733e03 [2022-07-21T10:20:09.682Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-21T10:20:09.682Z] ---> Running in fe430ec6b84e [2022-07-21T10:20:09.682Z] Removing intermediate container fe430ec6b84e [2022-07-21T10:20:09.682Z] ---> c4e4db805813 [2022-07-21T10:20:09.682Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-21T10:20:09.682Z] ---> Running in 41fbdbf79c49 [2022-07-21T10:20:09.682Z] Removing intermediate container 41fbdbf79c49 [2022-07-21T10:20:09.682Z] ---> 206ce609c861 [2022-07-21T10:20:09.682Z] Step 24/26 : LABEL arch=arm64 [2022-07-21T10:20:09.682Z] ---> Running in f3ae791283e4 [2022-07-21T10:20:09.682Z] Removing intermediate container f3ae791283e4 [2022-07-21T10:20:09.682Z] ---> 947043dc268a [2022-07-21T10:20:09.682Z] Step 25/26 : LABEL git_sha=d7b27fd185d5925b693d67f115570e4ef16a5fa5 [2022-07-21T10:20:09.682Z] ---> Running in 29f292e6f3d4 [2022-07-21T10:20:09.682Z] Removing intermediate container 29f292e6f3d4 [2022-07-21T10:20:09.682Z] ---> acfc78613d81 [2022-07-21T10:20:09.682Z] Step 26/26 : LABEL version=0.0.0 [2022-07-21T10:20:09.955Z] ---> Running in 36880759ad90 [2022-07-21T10:20:10.229Z] Removing intermediate container 36880759ad90 [2022-07-21T10:20:10.229Z] ---> 6955cfe7bf6b [2022-07-21T10:20:10.229Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T10:20:10.229Z] Successfully built 6955cfe7bf6b [2022-07-21T10:20:10.229Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:20:10.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:20:10.706Z] [2022-07-21T10:20:10.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:20:11.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:20:11.345Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T10:20:11.345Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T10:20:11.345Z] 04944245beec: Pulling fs layer [2022-07-21T10:20:11.345Z] 699f458cf7ca: Pulling fs layer [2022-07-21T10:20:11.345Z] 765212b225bb: Pulling fs layer [2022-07-21T10:20:11.345Z] f23df028b6ca: Pulling fs layer [2022-07-21T10:20:11.345Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T10:20:11.345Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T10:20:11.345Z] f23df028b6ca: Waiting [2022-07-21T10:20:11.345Z] d65c8cfc05b1: Waiting [2022-07-21T10:20:11.345Z] 2437ff75d9bd: Waiting [2022-07-21T10:20:11.345Z] 765212b225bb: Waiting [2022-07-21T10:20:11.345Z] 04944245beec: Verifying Checksum [2022-07-21T10:20:11.345Z] 04944245beec: Download complete [2022-07-21T10:20:11.345Z] 765212b225bb: Verifying Checksum [2022-07-21T10:20:11.345Z] f23df028b6ca: Download complete [2022-07-21T10:20:11.345Z] d65c8cfc05b1: Download complete [2022-07-21T10:20:11.624Z] 699f458cf7ca: Verifying Checksum [2022-07-21T10:20:11.624Z] 699f458cf7ca: Download complete [2022-07-21T10:20:11.901Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T10:20:11.901Z] 8998bd30e6a1: Download complete [2022-07-21T10:20:14.541Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T10:20:14.541Z] 2437ff75d9bd: Download complete [2022-07-21T10:20:16.539Z] 8998bd30e6a1: Pull complete [2022-07-21T10:20:17.143Z] 04944245beec: Pull complete [2022-07-21T10:20:18.587Z] 699f458cf7ca: Pull complete [2022-07-21T10:20:18.871Z] 765212b225bb: Pull complete [2022-07-21T10:20:19.858Z] f23df028b6ca: Pull complete [2022-07-21T10:20:20.134Z] d65c8cfc05b1: Pull complete [2022-07-21T10:20:35.249Z] 2437ff75d9bd: Pull complete [2022-07-21T10:20:35.249Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T10:20:35.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T10:20:35.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:20:35.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-20669 does not seem to be running inside a container [2022-07-21T10:20:35.609Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-21T10:20:38.388Z] $ docker top f15f4e5c3c0ad871e4af0547e16230088fb8e60aeff7cd34c83d9f92e0dc5135 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:39.301Z] ---> job-cost.sh [2022-07-21T10:20:39.301Z] lf-activate-venv: SKIPPING [2022-07-21T10:20:39.301Z] INFO: No Stack... [2022-07-21T10:20:39.573Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T10:20:40.553Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T10:20:41.231Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-07-21T10:20:41.231Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T10:20:41.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [2022-07-21T10:20:41.306Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] did not exist. Created. [2022-07-21T10:20:41.306Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T10:20:41.999Z] /w/workspace/device-onvif-camera/4@tmp/durable-20a61ceb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T10:20:42.700Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T10:20:42.729Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T10:20:42.798Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T10:20:42.805Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-114-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T10:20:42.833Z] $ docker stop --time=1 f15f4e5c3c0ad871e4af0547e16230088fb8e60aeff7cd34c83d9f92e0dc5135 [2022-07-21T10:20:44.358Z] $ docker rm -f f15f4e5c3c0ad871e4af0547e16230088fb8e60aeff7cd34c83d9f92e0dc5135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-21T10:20:44.859Z] provisioning config files... [2022-07-21T10:20:44.870Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config7642818867305185610tmp [Pipeline] { [Pipeline] sh [2022-07-21T10:20:45.166Z] + set +x [2022-07-21T10:20:45.166Z] + curl -s https://codecov.io/bash [2022-07-21T10:20:45.166Z] + bash -s -- [2022-07-21T10:20:45.166Z] [2022-07-21T10:20:45.166Z] _____ _ [2022-07-21T10:20:45.166Z] / ____| | | [2022-07-21T10:20:45.166Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T10:20:45.166Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T10:20:45.166Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T10:20:45.166Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T10:20:45.166Z] Bash-1.0.6 [2022-07-21T10:20:45.166Z] [2022-07-21T10:20:45.166Z] [2022-07-21T10:20:45.166Z] ==> git version 2.25.1 found [2022-07-21T10:20:45.166Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-21T10:20:45.166Z] Release-Date: 2020-01-08 [2022-07-21T10:20:45.166Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-21T10:20:45.166Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T10:20:45.166Z] ==> Jenkins CI detected. [2022-07-21T10:20:45.166Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-114 [2022-07-21T10:20:45.166Z] project root: . [2022-07-21T10:20:45.166Z] --> token set from env [2022-07-21T10:20:45.166Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T10:20:45.166Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T10:20:45.166Z] ==> Python coveragepy not found [2022-07-21T10:20:45.166Z] ==> Searching for coverage reports in: [2022-07-21T10:20:45.166Z] + . [2022-07-21T10:20:45.166Z] -> Found 1 reports [2022-07-21T10:20:45.166Z] ==> Detecting git/mercurial file structure [2022-07-21T10:20:45.166Z] ==> Reading reports [2022-07-21T10:20:45.166Z] + ./coverage.out bytes=78637 [2022-07-21T10:20:45.166Z] ==> Appending adjustments [2022-07-21T10:20:45.166Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T10:20:45.426Z] + Found adjustments [2022-07-21T10:20:45.426Z] ==> Gzipping contents [2022-07-21T10:20:45.426Z] 12K /tmp/codecov.pVO91g.gz [2022-07-21T10:20:45.426Z] ==> Uploading reports [2022-07-21T10:20:45.426Z] url: https://codecov.io [2022-07-21T10:20:45.426Z] query: branch=PR-114&commit=b1aae0c15fff79d96259054e49925e5cc5da3195&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-114%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-07-21T10:20:45.426Z] -> Pinging Codecov [2022-07-21T10:20:45.426Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-114&commit=b1aae0c15fff79d96259054e49925e5cc5da3195&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-114%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-07-21T10:20:45.687Z] -> Uploading to [2022-07-21T10:20:45.687Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/F29A59C45E3A92E06B3E522C9905F8EF/b1aae0c15fff79d96259054e49925e5cc5da3195/ea86a830-72b4-41fa-8479-f514513ee80b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T102045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48295cda00edcc9364076d0d83c635510712e113bf4e8682071eb6a2942a8ebe [2022-07-21T10:20:45.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T10:20:45.687Z] Dload Upload Total Spent Left Speed [2022-07-21T10:20:45.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10533 0 0 100 10533 0 44256 --:--:-- --:--:-- --:--:-- 44256 [2022-07-21T10:20:45.948Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b1aae0c15fff79d96259054e49925e5cc5da3195 [Pipeline] } [2022-07-21T10:20:45.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-21T10:20:46.711Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-114/archives ] [2022-07-21T10:20:46.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-21T10:20:46.711Z] total 16 [2022-07-21T10:20:46.711Z] drwxr-xr-x 3 root root 4096 Jul 21 10:12 . [2022-07-21T10:20:46.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 10:12 .. [2022-07-21T10:20:46.711Z] drwxr-xr-x 2 root root 4096 Jul 21 10:12 cost [2022-07-21T10:20:46.711Z] -rw-r--r-- 1 root root 90 Jul 21 10:12 cost.csv [2022-07-21T10:20:46.711Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-21T10:20:46.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-114/archives [2022-07-21T10:20:46.711Z] total 16 [2022-07-21T10:20:46.711Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 10:12 . [2022-07-21T10:20:46.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 10:12 .. [2022-07-21T10:20:46.711Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 10:12 cost [2022-07-21T10:20:46.711Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 21 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:47.009Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:47.882Z] ---> package-listing.sh [2022-07-21T10:20:47.882Z] ++ facter osfamily [2022-07-21T10:20:47.882Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T10:20:48.144Z] + OS_FAMILY=debian [2022-07-21T10:20:48.144Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-114 [2022-07-21T10:20:48.144Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T10:20:48.144Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T10:20:48.144Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T10:20:48.144Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T10:20:48.144Z] + '[' /w/workspace/undry_device-onvif-camera_PR-114 ']' [2022-07-21T10:20:48.144Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T10:20:48.144Z] + case "${OS_FAMILY}" in [2022-07-21T10:20:48.144Z] + dpkg -l [2022-07-21T10:20:48.144Z] + grep '^ii' [2022-07-21T10:20:48.144Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T10:20:48.144Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T10:20:48.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T10:20:48.144Z] + '[' /w/workspace/undry_device-onvif-camera_PR-114 ']' [2022-07-21T10:20:48.144Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-114/archives/ [2022-07-21T10:20:48.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-114/archives/ [Pipeline] echo [2022-07-21T10:20:48.154Z] 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-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T10:20:48.439Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T10:20:49.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T10:20:49.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T10:20:49.105Z] prd-ubuntu20.04-docker-8c-8g-20666 does not seem to be running inside a container [2022-07-21T10:20:49.148Z] $ 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-114/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-114 -v /w/workspace/undry_device-onvif-camera_PR-114:/w/workspace/undry_device-onvif-camera_PR-114:rw,z -v /w/workspace/undry_device-onvif-camera_PR-114@tmp:/w/workspace/undry_device-onvif-camera_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T10:20:49.421Z] $ docker top 39089a48c4037d49c5a71ca2c9b41efd33469bd547a5c800ca17edee6d0eb3bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T10:20:49.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T10:20:50.081Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T10:20:50.373Z] + ls /var/log/sa-host [2022-07-21T10:20:50.373Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T10:20:50.502Z] provisioning config files... [2022-07-21T10:20:50.513Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-114@tmp/config8667735819817964279tmp [Pipeline] { [Pipeline] echo [2022-07-21T10:20:50.529Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:50.813Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T10:20:50.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:51.155Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T10:20:51.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:51.455Z] ---> sudo-logs.sh [2022-07-21T10:20:51.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T10:20:51.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:51.769Z] ---> job-cost.sh [2022-07-21T10:20:51.769Z] lf-activate-venv: SKIPPING [2022-07-21T10:20:51.769Z] DEBUG: total: 0.2199999988079071 [2022-07-21T10:20:51.769Z] INFO: Retrieving Stack Cost... [2022-07-21T10:20:52.342Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T10:20:52.603Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T10:20:52.616Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T10:20:52.905Z] ---> logs-deploy.sh [2022-07-21T10:20:52.905Z] lf-activate-venv: SKIPPING [2022-07-21T10:20:52.905Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-114/4 [2022-07-21T10:20:52.905Z] INFO: archiving workspace using pattern(s): [2022-07-21T10:20:53.845Z] Archives upload complete. [2022-07-21T10:20:54.106Z] INFO: archiving logs to Nexus