Pull request #87 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than b016b81a6906e938c18aaa5beffcde7de8fd922b Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh9351531861779944890.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3797450649848231465.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11642111229746823247.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh15364250551412217273.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3367931462154045214.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16097 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit b016b81a6906e938c18aaa5beffcde7de8fd922b Merge succeeded, producing 12c5e8c6732386621b195cf37778ce51145ef7c9 Checking out Revision 12c5e8c6732386621b195cf37778ce51145ef7c9 (PR-87) > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b016b81a6906e938c18aaa5beffcde7de8fd922b # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12c5e8c6732386621b195cf37778ce51145ef7c9 # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T14:41:09.667Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T14:41:09.718Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T14:41:09.731Z] ========================================================= [2022-06-27T14:41:09.731Z] EdgeX Global Pipelines Version Info [2022-06-27T14:41:09.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1114b7cdae2e2fa6194224d253d7ff7e54e24b3c # timeout=10 [2022-06-27T14:41:10.461Z] ------------------- [2022-06-27T14:41:10.461Z] stable info: [2022-06-27T14:41:10.461Z] ------------------- [2022-06-27T14:41:10.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T14:41:10.461Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T14:41:10.461Z] Message: update stable to v1.0.234 [2022-06-27T14:41:11.032Z] ------------------- [2022-06-27T14:41:11.032Z] experimental info: [2022-06-27T14:41:11.032Z] ------------------- [2022-06-27T14:41:11.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T14:41:11.032Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T14:41:11.032Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T14:41:11.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T14:41:11.255Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T14:41:11.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T14:41:11.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T14:41:11.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T14:41:11.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T14:41:11.329Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T14:41:11.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T14:41:11.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T14:41:11.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T14:41:11.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T14:41:11.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T14:41:11.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T14:41:11.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T14:41:11.443Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T14:41:11.454Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T14:41:11.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T14:41:11.474Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T14:41:11.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T14:41:11.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T14:41:11.520Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T14:41:11.537Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T14:41:11.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T14:41:11.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T14:41:11.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T14:41:11.610Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T14:41:11.621Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T14:41:11.632Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-27T14:41:11.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-27T14:41:11.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-27T14:41:11.672Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12c5e8c6732386621b195cf37778ce51145ef7c9 [Pipeline] echo [2022-06-27T14:41:11.686Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12c5e8c [Pipeline] echo [2022-06-27T14:41:11.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T14:41:11.752Z] provisioning config files... [2022-06-27T14:41:11.764Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5115993849688000116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:41:12.071Z] ---> docker-login.sh [2022-06-27T14:41:12.071Z] nexus3.edgexfoundry.org:10001 [2022-06-27T14:41:12.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:12.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:12.331Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:12.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:12.331Z] [2022-06-27T14:41:12.331Z] Login Succeeded [2022-06-27T14:41:12.331Z] nexus3.edgexfoundry.org:10002 [2022-06-27T14:41:12.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:12.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:12.593Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:12.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:12.593Z] [2022-06-27T14:41:12.593Z] Login Succeeded [2022-06-27T14:41:12.593Z] nexus3.edgexfoundry.org:10003 [2022-06-27T14:41:12.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:12.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:12.593Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:12.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:12.593Z] [2022-06-27T14:41:12.593Z] Login Succeeded [2022-06-27T14:41:12.853Z] nexus3.edgexfoundry.org:10004 [2022-06-27T14:41:12.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:12.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:12.853Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:12.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:12.853Z] [2022-06-27T14:41:12.853Z] Login Succeeded [2022-06-27T14:41:12.853Z] docker.io [2022-06-27T14:41:12.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:13.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:13.118Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:13.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:13.118Z] [2022-06-27T14:41:13.118Z] Login Succeeded [2022-06-27T14:41:13.378Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T14:41:13.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T14:41:13.764Z] + git rev-list -1 --merges 12c5e8c6732386621b195cf37778ce51145ef7c9~1..12c5e8c6732386621b195cf37778ce51145ef7c9 [Pipeline] echo [2022-06-27T14:41:13.791Z] -----------> git rev-list -1 --merges 12c5e8c6732386621b195cf37778ce51145ef7c9~1..12c5e8c6732386621b195cf37778ce51145ef7c9 12c5e8c6732386621b195cf37778ce51145ef7c9 [2022-06-27T14:41:13.791Z] 12c5e8c6732386621b195cf37778ce51145ef7c9 [false] [Pipeline] sh [2022-06-27T14:41:14.083Z] + git log --format=format:%s -1 12c5e8c6732386621b195cf37778ce51145ef7c9 [Pipeline] echo [2022-06-27T14:41:14.099Z] ========================================================= [2022-06-27T14:41:14.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T14:41:14.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T14:41:14.433Z] + git log --format=format:%s -1 12c5e8c6732386621b195cf37778ce51145ef7c9 [Pipeline] echo [2022-06-27T14:41:14.444Z] [semverPrep] GIT_COMMIT: 12c5e8c6732386621b195cf37778ce51145ef7c9, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T14:41:14.453Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T14:41:14.821Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T14:41:14.821Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T14:41:14.821Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T14:41:14.821Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T14:41:14.821Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T14:41:14.821Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T14:41:14.821Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:41:15.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T14:41:15.239Z] [2022-06-27T14:41:15.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:41:15.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T14:41:15.542Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T14:41:15.542Z] 42c077c10790: Pulling fs layer [2022-06-27T14:41:15.542Z] f63e77b7563a: Pulling fs layer [2022-06-27T14:41:15.542Z] bd5fdadae976: Pulling fs layer [2022-06-27T14:41:15.542Z] 205491f53016: Pulling fs layer [2022-06-27T14:41:15.542Z] df18705c85c3: Pulling fs layer [2022-06-27T14:41:15.542Z] bdb3f477010e: Pulling fs layer [2022-06-27T14:41:15.542Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T14:41:15.542Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T14:41:15.542Z] bdb8f0575790: Pulling fs layer [2022-06-27T14:41:15.542Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T14:41:15.542Z] 2343380bae48: Pulling fs layer [2022-06-27T14:41:15.542Z] df18705c85c3: Waiting [2022-06-27T14:41:15.542Z] bdb3f477010e: Waiting [2022-06-27T14:41:15.542Z] c8a8fc8e1c8f: Waiting [2022-06-27T14:41:15.542Z] 2c6e9b1d212d: Waiting [2022-06-27T14:41:15.542Z] bdb8f0575790: Waiting [2022-06-27T14:41:15.542Z] 386e3cb2ff24: Waiting [2022-06-27T14:41:15.542Z] 2343380bae48: Waiting [2022-06-27T14:41:15.542Z] 205491f53016: Waiting [2022-06-27T14:41:15.542Z] f63e77b7563a: Verifying Checksum [2022-06-27T14:41:15.542Z] f63e77b7563a: Download complete [2022-06-27T14:41:15.542Z] 205491f53016: Verifying Checksum [2022-06-27T14:41:15.542Z] 205491f53016: Download complete [2022-06-27T14:41:15.802Z] df18705c85c3: Verifying Checksum [2022-06-27T14:41:15.802Z] df18705c85c3: Download complete [2022-06-27T14:41:15.802Z] bd5fdadae976: Verifying Checksum [2022-06-27T14:41:15.802Z] bd5fdadae976: Download complete [2022-06-27T14:41:15.802Z] bdb3f477010e: Verifying Checksum [2022-06-27T14:41:15.802Z] bdb3f477010e: Download complete [2022-06-27T14:41:15.802Z] 2c6e9b1d212d: Download complete [2022-06-27T14:41:15.802Z] bdb8f0575790: Verifying Checksum [2022-06-27T14:41:15.802Z] bdb8f0575790: Download complete [2022-06-27T14:41:15.802Z] 386e3cb2ff24: Download complete [2022-06-27T14:41:15.802Z] 2343380bae48: Verifying Checksum [2022-06-27T14:41:15.802Z] 2343380bae48: Download complete [2022-06-27T14:41:15.802Z] 42c077c10790: Download complete [2022-06-27T14:41:16.064Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T14:41:16.064Z] c8a8fc8e1c8f: Download complete [2022-06-27T14:41:17.441Z] 42c077c10790: Pull complete [2022-06-27T14:41:17.442Z] f63e77b7563a: Pull complete [2022-06-27T14:41:17.701Z] bd5fdadae976: Pull complete [2022-06-27T14:41:17.959Z] 205491f53016: Pull complete [2022-06-27T14:41:18.218Z] df18705c85c3: Pull complete [2022-06-27T14:41:18.218Z] bdb3f477010e: Pull complete [2022-06-27T14:41:20.127Z] c8a8fc8e1c8f: Pull complete [2022-06-27T14:41:20.127Z] 2c6e9b1d212d: Pull complete [2022-06-27T14:41:20.127Z] bdb8f0575790: Pull complete [2022-06-27T14:41:20.127Z] 386e3cb2ff24: Pull complete [2022-06-27T14:41:20.387Z] 2343380bae48: Pull complete [2022-06-27T14:41:20.387Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T14:41:20.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T14:41:20.387Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:41:20.491Z] prd-ubuntu20.04-docker-8c-8g-16097 does not seem to be running inside a container [2022-06-27T14:41:20.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T14:41:21.700Z] $ docker top 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 -eo pid,comm [2022-06-27T14:41:21.758Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-27T14:41:21.758Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T14:41:21.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T14:41:21.802Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T14:41:21.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T14:41:21.924Z] $ docker exec 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 ssh-agent [2022-06-27T14:41:22.040Z] SSH_AUTH_SOCK=/tmp/ssh-BrASV0MN3sfB/agent.35 [2022-06-27T14:41:22.040Z] SSH_AGENT_PID=42 [2022-06-27T14:41:22.047Z] Running ssh-add (command line suppressed) [2022-06-27T14:41:22.172Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_1530894958510794721.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_1530894958510794721.key) [2022-06-27T14:41:22.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T14:41:22.477Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T14:41:22.503Z] $ docker exec --env ******** --env ******** 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 ssh-agent -k [2022-06-27T14:41:22.618Z] unset SSH_AUTH_SOCK; [2022-06-27T14:41:22.618Z] unset SSH_AGENT_PID; [2022-06-27T14:41:22.619Z] echo Agent pid 42 killed; [2022-06-27T14:41:22.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T14:41:22.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T14:41:22.656Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T14:41:22.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T14:41:22.788Z] $ docker exec 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 ssh-agent [2022-06-27T14:41:22.921Z] SSH_AUTH_SOCK=/tmp/ssh-ibEv1Cvd3UJ4/agent.75 [2022-06-27T14:41:22.921Z] SSH_AGENT_PID=81 [2022-06-27T14:41:22.927Z] Running ssh-add (command line suppressed) [2022-06-27T14:41:23.063Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2087764934387660676.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2087764934387660676.key) [2022-06-27T14:41:23.084Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T14:41:23.377Z] + git semver init [2022-06-27T14:41:23.640Z] 2022-06-27 14:41:23,587 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T14:41:23.640Z] 2022-06-27 14:41:23,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-27T14:41:23.640Z] 2022-06-27 14:41:23,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-27T14:41:23.640Z] 2022-06-27 14:41:23,590 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,261 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,261 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,266 [execute] INFO git cat-file --batch-check [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,273 [execute] INFO git cat-file --batch [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T14:41:24.585Z] 2022-06-27 14:41:24,278 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-27T14:41:24.585Z] 0.0.0 [Pipeline] } [2022-06-27T14:41:24.600Z] $ docker exec --env ******** --env ******** 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 ssh-agent -k [2022-06-27T14:41:24.716Z] unset SSH_AUTH_SOCK; [2022-06-27T14:41:24.717Z] unset SSH_AGENT_PID; [2022-06-27T14:41:24.717Z] echo Agent pid 81 killed; [2022-06-27T14:41:24.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T14:41:25.036Z] + git semver [Pipeline] } [2022-06-27T14:41:25.315Z] $ docker stop --time=1 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 [2022-06-27T14:41:26.626Z] $ docker rm -f 356e531f3aeace4425d803bf53369e373446c61318678e0c09122438c57f4e67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T14:41:26.976Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T14:41:27.236Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T14:41:27.239Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T14:41:27.349Z] provisioning config files... [2022-06-27T14:41:27.359Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8049805739632677521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:41:27.654Z] ---> docker-login.sh [2022-06-27T14:41:27.654Z] nexus3.edgexfoundry.org:10001 [2022-06-27T14:41:27.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:27.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:27.655Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:27.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:27.655Z] [2022-06-27T14:41:27.655Z] Login Succeeded [2022-06-27T14:41:27.655Z] nexus3.edgexfoundry.org:10002 [2022-06-27T14:41:27.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:27.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:27.914Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:27.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:27.914Z] [2022-06-27T14:41:27.914Z] Login Succeeded [2022-06-27T14:41:27.914Z] nexus3.edgexfoundry.org:10003 [2022-06-27T14:41:27.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:27.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:27.914Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:27.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:27.914Z] [2022-06-27T14:41:27.914Z] Login Succeeded [2022-06-27T14:41:27.914Z] nexus3.edgexfoundry.org:10004 [2022-06-27T14:41:28.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:28.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:28.174Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:28.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:28.174Z] [2022-06-27T14:41:28.174Z] Login Succeeded [2022-06-27T14:41:28.174Z] docker.io [2022-06-27T14:41:28.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:41:28.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:41:28.435Z] Configure a credential helper to remove this warning. See [2022-06-27T14:41:28.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:41:28.435Z] [2022-06-27T14:41:28.435Z] Login Succeeded [2022-06-27T14:41:28.435Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T14:41:28.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T14:41:28.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T14:41:28.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T14:41:28.535Z] ========================================================= [2022-06-27T14:41:28.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T14:41:28.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:41:28.857Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T14:41:28.858Z] Sending build context to Docker daemon 8.851MB [2022-06-27T14:41:28.858Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T14:41:28.858Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T14:41:28.858Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T14:41:28.858Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T14:41:28.858Z] 666ba61612fd: Pulling fs layer [2022-06-27T14:41:28.858Z] 8ed8ca486205: Pulling fs layer [2022-06-27T14:41:28.858Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T14:41:28.858Z] c516ae0d96e1: Pulling fs layer [2022-06-27T14:41:28.858Z] 684cea983483: Pulling fs layer [2022-06-27T14:41:28.858Z] dd3240ac7de5: Pulling fs layer [2022-06-27T14:41:28.858Z] cc1cd167ecdc: Waiting [2022-06-27T14:41:28.858Z] c516ae0d96e1: Waiting [2022-06-27T14:41:28.858Z] b1e948a4e11c: Pulling fs layer [2022-06-27T14:41:28.858Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T14:41:28.858Z] 646ad004c059: Pulling fs layer [2022-06-27T14:41:28.858Z] dd3240ac7de5: Waiting [2022-06-27T14:41:28.858Z] b1e948a4e11c: Waiting [2022-06-27T14:41:28.858Z] a8fd76ee1af6: Waiting [2022-06-27T14:41:28.858Z] 646ad004c059: Waiting [2022-06-27T14:41:28.858Z] 8ed8ca486205: Download complete [2022-06-27T14:41:28.858Z] 666ba61612fd: Verifying Checksum [2022-06-27T14:41:28.858Z] 666ba61612fd: Download complete [2022-06-27T14:41:29.119Z] c516ae0d96e1: Verifying Checksum [2022-06-27T14:41:29.119Z] c516ae0d96e1: Download complete [2022-06-27T14:41:29.119Z] 684cea983483: Verifying Checksum [2022-06-27T14:41:29.119Z] 684cea983483: Download complete [2022-06-27T14:41:29.119Z] 59bf1c3509f3: Download complete [2022-06-27T14:41:29.119Z] dd3240ac7de5: Verifying Checksum [2022-06-27T14:41:29.119Z] dd3240ac7de5: Download complete [2022-06-27T14:41:29.119Z] b1e948a4e11c: Verifying Checksum [2022-06-27T14:41:29.119Z] b1e948a4e11c: Download complete [2022-06-27T14:41:29.119Z] 59bf1c3509f3: Pull complete [2022-06-27T14:41:29.386Z] 666ba61612fd: Pull complete [2022-06-27T14:41:29.386Z] 8ed8ca486205: Pull complete [2022-06-27T14:41:29.386Z] 646ad004c059: Verifying Checksum [2022-06-27T14:41:29.386Z] 646ad004c059: Download complete [2022-06-27T14:41:29.647Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T14:41:29.647Z] a8fd76ee1af6: Download complete [2022-06-27T14:41:29.647Z] cc1cd167ecdc: Download complete [2022-06-27T14:41:33.840Z] cc1cd167ecdc: Pull complete [2022-06-27T14:41:33.840Z] c516ae0d96e1: Pull complete [2022-06-27T14:41:33.840Z] 684cea983483: Pull complete [2022-06-27T14:41:33.840Z] dd3240ac7de5: Pull complete [2022-06-27T14:41:33.840Z] b1e948a4e11c: Pull complete [2022-06-27T14:41:35.747Z] a8fd76ee1af6: Pull complete [2022-06-27T14:41:36.314Z] 646ad004c059: Pull complete [2022-06-27T14:41:36.314Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T14:41:36.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T14:41:36.314Z] ---> 8f69c11f6b0c [2022-06-27T14:41:36.314Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T14:41:38.227Z] ---> Running in 85259b143a8f [2022-06-27T14:41:38.227Z] Removing intermediate container 85259b143a8f [2022-06-27T14:41:38.227Z] ---> 7f14220fc558 [2022-06-27T14:41:38.227Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T14:41:38.227Z] ---> Running in 8d31fc38c761 [2022-06-27T14:41:38.227Z] Removing intermediate container 8d31fc38c761 [2022-06-27T14:41:38.227Z] ---> 1179f37c2797 [2022-06-27T14:41:38.227Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T14:41:38.227Z] ---> Running in 4c667a6f15c2 [2022-06-27T14:41:38.227Z] Removing intermediate container 4c667a6f15c2 [2022-06-27T14:41:38.227Z] ---> fa661c998432 [2022-06-27T14:41:38.227Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T14:41:38.227Z] ---> Running in 978205c24d12 [2022-06-27T14:41:38.487Z] Removing intermediate container 978205c24d12 [2022-06-27T14:41:38.487Z] ---> 94ac81f9c342 [2022-06-27T14:41:38.487Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T14:41:38.487Z] ---> Running in 974a9bf2fd95 [2022-06-27T14:41:39.060Z] Removing intermediate container 974a9bf2fd95 [2022-06-27T14:41:39.060Z] ---> ab09536301d0 [2022-06-27T14:41:39.060Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T14:41:39.060Z] ---> Running in 753c4615f544 [2022-06-27T14:41:39.320Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T14:41:40.260Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T14:41:40.521Z] OK: 221 MiB in 52 packages [2022-06-27T14:41:40.780Z] Removing intermediate container 753c4615f544 [2022-06-27T14:41:40.780Z] ---> d038e7d09464 [2022-06-27T14:41:40.780Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T14:41:40.780Z] ---> Running in 53ea0df4fd0f [2022-06-27T14:41:41.040Z] Removing intermediate container 53ea0df4fd0f [2022-06-27T14:41:41.040Z] ---> aab1e357f4dc [2022-06-27T14:41:41.040Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T14:41:41.040Z] ---> 6bb2ebfdfa65 [2022-06-27T14:41:41.040Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T14:41:41.040Z] ---> Running in e341cf3f0326 [2022-06-27T14:41:42.324Z] Still waiting to schedule task [2022-06-27T14:41:42.324Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T14:41:55.939Z] Removing intermediate container e341cf3f0326 [2022-06-27T14:41:55.939Z] ---> d8dbd262efb5 [2022-06-27T14:41:55.939Z] Step 12/13 : COPY . . [2022-06-27T14:41:55.939Z] ---> a4efdf83b7f9 [2022-06-27T14:41:55.939Z] Step 13/13 : RUN ${MAKE} [2022-06-27T14:41:55.939Z] ---> Running in c5a6c72a78b9 [2022-06-27T14:41:56.200Z] noop [2022-06-27T14:41:56.461Z] Removing intermediate container c5a6c72a78b9 [2022-06-27T14:41:56.461Z] ---> 0e1c873a7aa7 [2022-06-27T14:41:56.461Z] Successfully built 0e1c873a7aa7 [2022-06-27T14:41:56.461Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:41:56.781Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T14:41:56.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:41:56.865Z] prd-ubuntu20.04-docker-8c-8g-16097 does not seem to be running inside a container [2022-06-27T14:41:56.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 ******** ci-base-image-x86_64 cat [2022-06-27T14:41:57.289Z] $ docker top 10bba2f880634e6751adaffb5695842cfa5adc7fc8d2c56c3a49013539d27b93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T14:41:57.640Z] + go version [2022-06-27T14:41:57.640Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T14:41:57.654Z] $ docker stop --time=1 10bba2f880634e6751adaffb5695842cfa5adc7fc8d2c56c3a49013539d27b93 [2022-06-27T14:41:58.929Z] $ docker rm -f 10bba2f880634e6751adaffb5695842cfa5adc7fc8d2c56c3a49013539d27b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:41:59.351Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T14:41:59.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:41:59.422Z] prd-ubuntu20.04-docker-8c-8g-16097 does not seem to be running inside a container [2022-06-27T14:41:59.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 ******** ci-base-image-x86_64 cat [2022-06-27T14:41:59.870Z] $ docker top 6112660670d0410974cfd01cdebe7e0235c09146da623a347d2119fcf2a25c64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T14:42:00.259Z] + make test [2022-06-27T14:42:00.259Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T14:42:00.520Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T14:42:10.505Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T14:42:10.505Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 6.2% of statements [2022-06-27T14:42:14.709Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.835s coverage: 13.8% of statements [2022-06-27T14:42:21.285Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T14:42:25.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T14:42:25.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T14:42:25.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T14:42:25.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T14:42:25.793Z] $ docker stop --time=1 6112660670d0410974cfd01cdebe7e0235c09146da623a347d2119fcf2a25c64 [2022-06-27T14:42:27.511Z] $ docker rm -f 6112660670d0410974cfd01cdebe7e0235c09146da623a347d2119fcf2a25c64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T14:42:27.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T14:42:28.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T14:42:28.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T14:42:28.785Z] + ls -al . [2022-06-27T14:42:28.785Z] total 240 [2022-06-27T14:42:28.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 14:42 . [2022-06-27T14:42:28.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:41 .. [2022-06-27T14:42:28.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 14:41 .git [2022-06-27T14:42:28.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 14:41 .github [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 27 14:41 .gitignore [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 27 14:41 .golangci.yml [2022-06-27T14:42:28.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 14:41 .semver [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 27 14:41 Attribution.txt [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 27 14:41 CHANGELOG.md [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 27 14:41 Dockerfile [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 14:41 GOVERNANCE.md [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 14:41 Jenkinsfile [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 27 14:41 LICENSE [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 27 14:41 Makefile [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 27 14:41 OWNERS.md [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 27 14:41 README.md [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 14:41 VERSION [2022-06-27T14:42:28.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 14:41 bin [2022-06-27T14:42:28.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 14:41 cmd [2022-06-27T14:42:28.785Z] -rw-r--r-- 1 jenkins jenkins 64705 Jun 27 14:42 coverage.out [2022-06-27T14:42:28.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:41 doc [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 27 14:41 go.mod [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 27 14:41 go.sum [2022-06-27T14:42:28.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:41 internal [2022-06-27T14:42:28.785Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 27 14:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:42:29.109Z] + 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=12c5e8c6732386621b195cf37778ce51145ef7c9 --label arch=amd64 --label version=0.0.0 . [2022-06-27T14:42:29.109Z] Sending build context to Docker daemon 8.916MB [2022-06-27T14:42:29.109Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T14:42:29.109Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T14:42:29.109Z] ---> 0e1c873a7aa7 [2022-06-27T14:42:29.109Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T14:42:29.109Z] ---> Running in 2224c3009b0c [2022-06-27T14:42:29.369Z] Removing intermediate container 2224c3009b0c [2022-06-27T14:42:29.369Z] ---> 6b67e552b686 [2022-06-27T14:42:29.369Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T14:42:29.369Z] ---> Running in 6bf52db63ab1 [2022-06-27T14:42:29.369Z] Removing intermediate container 6bf52db63ab1 [2022-06-27T14:42:29.369Z] ---> 26eb4003affd [2022-06-27T14:42:29.369Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T14:42:29.369Z] ---> Running in e3f98b19dc73 [2022-06-27T14:42:29.630Z] Removing intermediate container e3f98b19dc73 [2022-06-27T14:42:29.630Z] ---> 0e7acbe01a9c [2022-06-27T14:42:29.630Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-27T14:42:29.630Z] ---> Running in 0f8cc268dfc9 [2022-06-27T14:42:29.630Z] Removing intermediate container 0f8cc268dfc9 [2022-06-27T14:42:29.630Z] ---> 083a559bfe72 [2022-06-27T14:42:29.630Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T14:42:29.630Z] ---> Running in 5441c6e7c6d7 [2022-06-27T14:42:30.200Z] Removing intermediate container 5441c6e7c6d7 [2022-06-27T14:42:30.200Z] ---> 57721b924bae [2022-06-27T14:42:30.200Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T14:42:30.461Z] ---> Running in 539d32d97741 [2022-06-27T14:42:30.722Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T14:42:31.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T14:42:31.868Z] OK: 221 MiB in 52 packages [2022-06-27T14:42:31.868Z] Removing intermediate container 539d32d97741 [2022-06-27T14:42:31.868Z] ---> d3d11174225e [2022-06-27T14:42:31.868Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-27T14:42:32.127Z] ---> Running in 5033370a4c7a [2022-06-27T14:42:32.127Z] Removing intermediate container 5033370a4c7a [2022-06-27T14:42:32.127Z] ---> dbee430384f6 [2022-06-27T14:42:32.127Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-27T14:42:32.127Z] ---> afa772739f05 [2022-06-27T14:42:32.127Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T14:42:32.387Z] ---> Running in 4fc9ee3e9011 [2022-06-27T14:42:32.958Z] Removing intermediate container 4fc9ee3e9011 [2022-06-27T14:42:32.958Z] ---> 9b964238d406 [2022-06-27T14:42:32.958Z] Step 12/26 : COPY . . [2022-06-27T14:42:33.218Z] ---> 9eb939ff7e65 [2022-06-27T14:42:33.218Z] Step 13/26 : RUN ${MAKE} [2022-06-27T14:42:33.218Z] ---> Running in a8a530d79175 [2022-06-27T14:42:33.479Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-27T14:42:55.436Z] Removing intermediate container a8a530d79175 [2022-06-27T14:42:55.436Z] ---> c15465168b20 [2022-06-27T14:42:55.436Z] Step 14/26 : FROM alpine:3.15 [2022-06-27T14:42:55.436Z] 3.15: Pulling from library/alpine [2022-06-27T14:42:55.436Z] df9b9388f04a: Pulling fs layer [2022-06-27T14:42:55.436Z] df9b9388f04a: Verifying Checksum [2022-06-27T14:42:55.436Z] df9b9388f04a: Download complete [2022-06-27T14:42:55.436Z] df9b9388f04a: Pull complete [2022-06-27T14:42:55.436Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T14:42:55.436Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T14:42:55.436Z] ---> 0ac33e5f5afa [2022-06-27T14:42:55.436Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-27T14:42:55.436Z] ---> Running in abdaaf90098b [2022-06-27T14:42:55.436Z] Removing intermediate container abdaaf90098b [2022-06-27T14:42:55.436Z] ---> e5ff653d0a98 [2022-06-27T14:42:55.436Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T14:42:55.436Z] ---> Running in fc136a52314f [2022-06-27T14:42:55.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T14:42:55.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T14:42:55.436Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T14:42:55.436Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T14:42:55.436Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T14:42:55.436Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T14:42:55.436Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T14:42:55.436Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T14:42:55.436Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T14:42:55.436Z] OK: 8 MiB in 20 packages [2022-06-27T14:42:55.436Z] Removing intermediate container fc136a52314f [2022-06-27T14:42:55.436Z] ---> 1c4ca3f8ed18 [2022-06-27T14:42:55.436Z] Step 17/26 : WORKDIR / [2022-06-27T14:42:55.436Z] ---> Running in e2eee42764b8 [2022-06-27T14:42:55.436Z] Removing intermediate container e2eee42764b8 [2022-06-27T14:42:55.436Z] ---> c72a62391411 [2022-06-27T14:42:55.436Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-27T14:42:55.436Z] ---> 769c33e79a3e [2022-06-27T14:42:55.436Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-27T14:42:55.436Z] ---> 84a36d553d22 [2022-06-27T14:42:55.436Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-27T14:42:55.436Z] ---> aacf01a54b7a [2022-06-27T14:42:55.436Z] Step 21/26 : EXPOSE 59984 [2022-06-27T14:42:55.696Z] ---> Running in 503faf2f96d3 [2022-06-27T14:42:55.696Z] Removing intermediate container 503faf2f96d3 [2022-06-27T14:42:55.696Z] ---> 8ef6c84105b6 [2022-06-27T14:42:55.696Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-27T14:42:55.696Z] ---> Running in 2ec0cd1bd942 [2022-06-27T14:42:55.696Z] Removing intermediate container 2ec0cd1bd942 [2022-06-27T14:42:55.696Z] ---> afaae1786dea [2022-06-27T14:42:55.696Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T14:42:55.696Z] ---> Running in 3af8752705e0 [2022-06-27T14:42:55.956Z] Removing intermediate container 3af8752705e0 [2022-06-27T14:42:55.956Z] ---> 1866750142da [2022-06-27T14:42:55.956Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T14:42:55.956Z] ---> Running in 204a7c7f6598 [2022-06-27T14:42:55.956Z] Removing intermediate container 204a7c7f6598 [2022-06-27T14:42:55.956Z] ---> ed67702295c1 [2022-06-27T14:42:55.956Z] Step 25/26 : LABEL git_sha=12c5e8c6732386621b195cf37778ce51145ef7c9 [2022-06-27T14:42:55.956Z] ---> Running in 0d0262291451 [2022-06-27T14:42:56.215Z] Removing intermediate container 0d0262291451 [2022-06-27T14:42:56.215Z] ---> 8f7dc7579e58 [2022-06-27T14:42:56.215Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T14:42:56.215Z] ---> Running in ee4358db6dec [2022-06-27T14:42:56.215Z] Removing intermediate container ee4358db6dec [2022-06-27T14:42:56.215Z] ---> 6ea38705d2cb [2022-06-27T14:42:56.215Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T14:42:56.216Z] Successfully built 6ea38705d2cb [2022-06-27T14:42:56.216Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:42:56.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T14:42:56.643Z] [2022-06-27T14:42:56.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:42:56.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T14:42:56.947Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T14:42:56.947Z] 5eb5b503b376: Pulling fs layer [2022-06-27T14:42:56.947Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T14:42:56.947Z] ec43610c2a17: Pulling fs layer [2022-06-27T14:42:56.947Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T14:42:56.947Z] 33b1e0a273af: Pulling fs layer [2022-06-27T14:42:56.947Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T14:42:56.947Z] 2f39f015ded8: Pulling fs layer [2022-06-27T14:42:56.947Z] 3a2ae6a8a46f: Waiting [2022-06-27T14:42:56.947Z] 33b1e0a273af: Waiting [2022-06-27T14:42:56.947Z] 5d3b04190fa2: Waiting [2022-06-27T14:42:56.947Z] 2f39f015ded8: Waiting [2022-06-27T14:42:56.947Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T14:42:56.947Z] 5c69ac0246d0: Download complete [2022-06-27T14:42:56.947Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T14:42:56.947Z] 3a2ae6a8a46f: Download complete [2022-06-27T14:42:56.947Z] 33b1e0a273af: Verifying Checksum [2022-06-27T14:42:56.947Z] 33b1e0a273af: Download complete [2022-06-27T14:42:56.947Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T14:42:56.947Z] 5d3b04190fa2: Download complete [2022-06-27T14:42:56.947Z] ec43610c2a17: Verifying Checksum [2022-06-27T14:42:56.947Z] ec43610c2a17: Download complete [2022-06-27T14:42:57.206Z] 5eb5b503b376: Verifying Checksum [2022-06-27T14:42:57.206Z] 5eb5b503b376: Download complete [2022-06-27T14:42:57.773Z] 2f39f015ded8: Download complete [2022-06-27T14:42:58.343Z] 5eb5b503b376: Pull complete [2022-06-27T14:42:58.601Z] 5c69ac0246d0: Pull complete [2022-06-27T14:42:58.860Z] ec43610c2a17: Pull complete [2022-06-27T14:42:58.860Z] 3a2ae6a8a46f: Pull complete [2022-06-27T14:42:59.122Z] 33b1e0a273af: Pull complete [2022-06-27T14:42:59.122Z] 5d3b04190fa2: Pull complete [2022-06-27T14:43:03.311Z] 2f39f015ded8: Pull complete [2022-06-27T14:43:03.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T14:43:03.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T14:43:03.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:43:03.406Z] prd-ubuntu20.04-docker-8c-8g-16097 does not seem to be running inside a container [2022-06-27T14:43:03.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-06-27T14:43:05.006Z] $ docker top d1c92dce446b75db0174c35dd643d5ac92e97a5c8764dde5f6cbc9183e6bd87c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:43:05.408Z] ---> job-cost.sh [2022-06-27T14:43:05.408Z] lf-activate-venv: SKIPPING [2022-06-27T14:43:05.408Z] INFO: No Stack... [2022-06-27T14:43:05.668Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T14:43:06.247Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T14:43:06.538Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-27T14:43:06.538Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T14:43:06.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [2022-06-27T14:43:06.559Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] did not exist. Created. [2022-06-27T14:43:06.559Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T14:43:06.864Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T14:43:06.888Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T14:43:06.894Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T14:43:06.919Z] $ docker stop --time=1 d1c92dce446b75db0174c35dd643d5ac92e97a5c8764dde5f6cbc9183e6bd87c [2022-06-27T14:43:08.079Z] $ docker rm -f d1c92dce446b75db0174c35dd643d5ac92e97a5c8764dde5f6cbc9183e6bd87c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T14:43:18.811Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16098 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-27T14:43:18.823Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-06-27T14:43:18.866Z] Selected Git installation does not exist. Using Default [2022-06-27T14:43:18.866Z] The recommended git tool is: NONE [2022-06-27T14:43:25.612Z] using credential edgex-jenkins-ssh [2022-06-27T14:43:25.637Z] Cloning the remote Git repository [2022-06-27T14:43:25.738Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T14:43:25.818Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-06-27T14:43:25.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T14:43:25.895Z] > git --version # timeout=10 [2022-06-27T14:43:25.913Z] > git --version # 'git version 2.25.1' [2022-06-27T14:43:25.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T14:43:26.009Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T14:43:27.574Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit b016b81a6906e938c18aaa5beffcde7de8fd922b [2022-06-27T14:43:26.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T14:43:26.874Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T14:43:26.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T14:43:26.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T14:43:26.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T14:43:27.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T14:43:27.592Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T14:43:27.614Z] > git checkout -f b016b81a6906e938c18aaa5beffcde7de8fd922b # timeout=10 [2022-06-27T14:43:27.761Z] > git remote # timeout=10 [2022-06-27T14:43:27.783Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T14:43:27.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T14:43:27.825Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T14:43:28.018Z] Merge succeeded, producing 74c4d0fc612c00852679f10633c9a53d7ea561c0 [2022-06-27T14:43:28.019Z] Checking out Revision 74c4d0fc612c00852679f10633c9a53d7ea561c0 (PR-87) [2022-06-27T14:43:28.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T14:43:28.025Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T14:43:28.050Z] > git checkout -f 74c4d0fc612c00852679f10633c9a53d7ea561c0 # timeout=10 [2022-06-27T14:43:32.256Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T14:43:32.264Z] > git rev-list --no-walk 1114b7cdae2e2fa6194224d253d7ff7e54e24b3c # timeout=10 [2022-06-27T14:43:32.281Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T14:43:33.175Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T14:43:33.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T14:43:33.175Z] Dload Upload Total Spent Left Speed [2022-06-27T14:43:33.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10503 0 0 75021 0 --:--:-- --:--:-- --:--:-- 74489 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 85685 [Pipeline] sh [2022-06-27T14:43:33.838Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T14:43:34.239Z] + + sudosudo tee /etc/docker/daemon.new [2022-06-27T14:43:34.239Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T14:43:34.239Z] { [2022-06-27T14:43:34.239Z] "registry-mirrors": [ [2022-06-27T14:43:34.239Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T14:43:34.239Z] ], [2022-06-27T14:43:34.239Z] "bip": "10.250.0.254/24", [2022-06-27T14:43:34.239Z] "hosts": [ [2022-06-27T14:43:34.239Z] "tcp://0.0.0.0:5555", [2022-06-27T14:43:34.239Z] "unix:///var/run/docker.sock" [2022-06-27T14:43:34.239Z] ], [2022-06-27T14:43:34.239Z] "mtu": 1458, [2022-06-27T14:43:34.239Z] "selinux-enabled": true, [2022-06-27T14:43:34.239Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T14:43:34.239Z] } [Pipeline] sh [2022-06-27T14:43:34.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T14:43:34.922Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T14:43:53.254Z] provisioning config files... [2022-06-27T14:43:53.277Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config7506090822075280415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:43:53.650Z] ---> docker-login.sh [2022-06-27T14:43:53.650Z] nexus3.edgexfoundry.org:10001 [2022-06-27T14:43:54.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:43:54.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:43:54.525Z] Configure a credential helper to remove this warning. See [2022-06-27T14:43:54.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:43:54.525Z] [2022-06-27T14:43:54.525Z] Login Succeeded [2022-06-27T14:43:54.525Z] nexus3.edgexfoundry.org:10002 [2022-06-27T14:43:54.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:43:54.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:43:54.798Z] Configure a credential helper to remove this warning. See [2022-06-27T14:43:54.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:43:54.798Z] [2022-06-27T14:43:54.798Z] Login Succeeded [2022-06-27T14:43:55.073Z] nexus3.edgexfoundry.org:10003 [2022-06-27T14:43:55.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:43:55.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:43:55.346Z] Configure a credential helper to remove this warning. See [2022-06-27T14:43:55.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:43:55.346Z] [2022-06-27T14:43:55.346Z] Login Succeeded [2022-06-27T14:43:55.346Z] nexus3.edgexfoundry.org:10004 [2022-06-27T14:43:55.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:43:55.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:43:55.897Z] Configure a credential helper to remove this warning. See [2022-06-27T14:43:55.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:43:55.897Z] [2022-06-27T14:43:55.897Z] Login Succeeded [2022-06-27T14:43:55.897Z] docker.io [2022-06-27T14:43:56.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T14:43:56.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T14:43:56.443Z] Configure a credential helper to remove this warning. See [2022-06-27T14:43:56.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T14:43:56.443Z] [2022-06-27T14:43:56.443Z] Login Succeeded [2022-06-27T14:43:56.443Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T14:43:56.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T14:43:57.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T14:43:57.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T14:43:57.053Z] ========================================================= [2022-06-27T14:43:57.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T14:43:57.053Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:43:57.436Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T14:43:57.709Z] Sending build context to Docker daemon 6.052MB [2022-06-27T14:43:57.709Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T14:43:57.709Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T14:43:57.986Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T14:43:57.986Z] 9b3977197b4f: Pulling fs layer [2022-06-27T14:43:57.986Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T14:43:57.986Z] 94645a83ff95: Pulling fs layer [2022-06-27T14:43:57.986Z] e6fb740bc735: Pulling fs layer [2022-06-27T14:43:57.986Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T14:43:57.986Z] 355e64cbe906: Pulling fs layer [2022-06-27T14:43:57.986Z] 63ab81a10011: Pulling fs layer [2022-06-27T14:43:57.986Z] 555d1d1c4555: Pulling fs layer [2022-06-27T14:43:57.986Z] 7d9057610161: Pulling fs layer [2022-06-27T14:43:57.986Z] e6fb740bc735: Waiting [2022-06-27T14:43:57.986Z] 3a77bd46dcc9: Waiting [2022-06-27T14:43:57.986Z] 355e64cbe906: Waiting [2022-06-27T14:43:57.986Z] 63ab81a10011: Waiting [2022-06-27T14:43:57.986Z] 555d1d1c4555: Waiting [2022-06-27T14:43:57.986Z] 7d9057610161: Waiting [2022-06-27T14:43:57.986Z] 94645a83ff95: Download complete [2022-06-27T14:43:57.986Z] 1a89e8eeedd5: Download complete [2022-06-27T14:43:57.986Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T14:43:57.986Z] 3a77bd46dcc9: Download complete [2022-06-27T14:43:57.986Z] 355e64cbe906: Verifying Checksum [2022-06-27T14:43:57.986Z] 355e64cbe906: Download complete [2022-06-27T14:43:57.986Z] 9b3977197b4f: Verifying Checksum [2022-06-27T14:43:57.986Z] 63ab81a10011: Verifying Checksum [2022-06-27T14:43:57.986Z] 63ab81a10011: Download complete [2022-06-27T14:43:58.985Z] 9b3977197b4f: Pull complete [2022-06-27T14:43:59.262Z] 7d9057610161: Verifying Checksum [2022-06-27T14:43:59.262Z] 7d9057610161: Download complete [2022-06-27T14:43:59.549Z] 1a89e8eeedd5: Pull complete [2022-06-27T14:44:00.156Z] 94645a83ff95: Pull complete [2022-06-27T14:44:00.156Z] 555d1d1c4555: Verifying Checksum [2022-06-27T14:44:00.156Z] 555d1d1c4555: Download complete [2022-06-27T14:44:00.755Z] e6fb740bc735: Verifying Checksum [2022-06-27T14:44:00.755Z] e6fb740bc735: Download complete [2022-06-27T14:44:13.171Z] e6fb740bc735: Pull complete [2022-06-27T14:44:13.171Z] 3a77bd46dcc9: Pull complete [2022-06-27T14:44:13.171Z] 355e64cbe906: Pull complete [2022-06-27T14:44:13.444Z] 63ab81a10011: Pull complete [2022-06-27T14:44:20.161Z] 555d1d1c4555: Pull complete [2022-06-27T14:44:21.603Z] 7d9057610161: Pull complete [2022-06-27T14:44:21.603Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T14:44:21.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T14:44:21.603Z] ---> 819e984ddca1 [2022-06-27T14:44:21.603Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T14:44:23.045Z] ---> Running in cd01ab16c0f2 [2022-06-27T14:44:23.320Z] Removing intermediate container cd01ab16c0f2 [2022-06-27T14:44:23.320Z] ---> 6dc47351d40b [2022-06-27T14:44:23.320Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T14:44:23.603Z] ---> Running in 6fc9abcc0730 [2022-06-27T14:44:23.882Z] Removing intermediate container 6fc9abcc0730 [2022-06-27T14:44:23.882Z] ---> cc22e4373027 [2022-06-27T14:44:23.882Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T14:44:23.882Z] ---> Running in 182c729afccc [2022-06-27T14:44:24.157Z] Removing intermediate container 182c729afccc [2022-06-27T14:44:24.157Z] ---> 96c23c63c51f [2022-06-27T14:44:24.157Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T14:44:24.157Z] ---> Running in 0a2c427a6e9b [2022-06-27T14:44:24.759Z] Removing intermediate container 0a2c427a6e9b [2022-06-27T14:44:24.759Z] ---> 1181e0aad6ea [2022-06-27T14:44:24.759Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T14:44:24.759Z] ---> Running in 65aa74af12a9 [2022-06-27T14:44:28.150Z] Removing intermediate container 65aa74af12a9 [2022-06-27T14:44:28.150Z] ---> 7ced4e924958 [2022-06-27T14:44:28.150Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T14:44:28.150Z] ---> Running in 26fe5620d639 [2022-06-27T14:44:28.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T14:44:29.400Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T14:44:30.383Z] OK: 220 MiB in 52 packages [2022-06-27T14:44:30.994Z] Removing intermediate container 26fe5620d639 [2022-06-27T14:44:30.994Z] ---> 5e909cf3bc09 [2022-06-27T14:44:30.994Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T14:44:30.994Z] ---> Running in 6ac4773f9936 [2022-06-27T14:44:31.596Z] Removing intermediate container 6ac4773f9936 [2022-06-27T14:44:31.596Z] ---> fae1f391d36e [2022-06-27T14:44:31.596Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T14:44:31.880Z] ---> 67e3e04df9f8 [2022-06-27T14:44:31.880Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T14:44:32.155Z] ---> Running in 737d6b477c0d [2022-06-27T14:45:19.161Z] Removing intermediate container 737d6b477c0d [2022-06-27T14:45:19.161Z] ---> c1dec417a848 [2022-06-27T14:45:19.161Z] Step 12/13 : COPY . . [2022-06-27T14:45:19.161Z] ---> 0e4b0f5ac6c8 [2022-06-27T14:45:19.161Z] Step 13/13 : RUN ${MAKE} [2022-06-27T14:45:19.161Z] ---> Running in b1e4509b376b [2022-06-27T14:45:19.438Z] noop [2022-06-27T14:45:20.036Z] Removing intermediate container b1e4509b376b [2022-06-27T14:45:20.037Z] ---> 447f93294a48 [2022-06-27T14:45:20.037Z] Successfully built 447f93294a48 [2022-06-27T14:45:20.037Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:45:20.408Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T14:45:20.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:45:20.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-16098 does not seem to be running inside a container [2022-06-27T14:45:20.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** ci-base-image-arm64 cat [2022-06-27T14:45:22.035Z] $ docker top 23c2973dc7a2c2e02932f1bea0aa81b09fd95ff3a1b99a5fe9d2464d8d026c65 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T14:45:22.951Z] + go version [2022-06-27T14:45:22.951Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T14:45:22.981Z] $ docker stop --time=1 23c2973dc7a2c2e02932f1bea0aa81b09fd95ff3a1b99a5fe9d2464d8d026c65 [2022-06-27T14:45:24.585Z] $ docker rm -f 23c2973dc7a2c2e02932f1bea0aa81b09fd95ff3a1b99a5fe9d2464d8d026c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:45:25.187Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T14:45:25.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:45:25.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-16098 does not seem to be running inside a container [2022-06-27T14:45:25.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** ci-base-image-arm64 cat [2022-06-27T14:45:26.775Z] $ docker top 9805fc952518d4f0a8f42530351ed2601dbec6392e58d9f4d524872d24b1a9fa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T14:45:27.679Z] + make test [2022-06-27T14:45:27.679Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T14:45:29.663Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T14:46:51.507Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T14:46:51.783Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.103s coverage: 6.2% of statements [2022-06-27T14:47:30.812Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 37.918s coverage: 13.8% of statements [2022-06-27T14:47:30.812Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T14:47:30.812Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T14:47:57.621Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T14:47:57.621Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T14:47:57.621Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T14:47:57.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T14:47:57.663Z] $ docker stop --time=1 9805fc952518d4f0a8f42530351ed2601dbec6392e58d9f4d524872d24b1a9fa [2022-06-27T14:47:59.366Z] $ docker rm -f 9805fc952518d4f0a8f42530351ed2601dbec6392e58d9f4d524872d24b1a9fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T14:48:00.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T14:48:00.328Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T14:48:00.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T14:48:01.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T14:48:01.686Z] + ls -al . [2022-06-27T14:48:01.686Z] total 236 [2022-06-27T14:48:01.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 14:47 . [2022-06-27T14:48:01.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:43 .. [2022-06-27T14:48:01.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 14:43 .git [2022-06-27T14:48:01.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 14:43 .github [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 27 14:43 .gitignore [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 27 14:43 .golangci.yml [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 27 14:43 Attribution.txt [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 27 14:43 CHANGELOG.md [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 27 14:43 Dockerfile [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 14:43 GOVERNANCE.md [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 14:43 Jenkinsfile [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 27 14:43 LICENSE [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 27 14:43 Makefile [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 27 14:43 OWNERS.md [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 27 14:43 README.md [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 14:41 VERSION [2022-06-27T14:48:01.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 14:43 bin [2022-06-27T14:48:01.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 14:43 cmd [2022-06-27T14:48:01.686Z] -rw-r--r-- 1 jenkins jenkins 64705 Jun 27 14:47 coverage.out [2022-06-27T14:48:01.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:43 doc [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 27 14:43 go.mod [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 27 14:43 go.sum [2022-06-27T14:48:01.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 14:43 internal [2022-06-27T14:48:01.686Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 27 14:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:48:02.380Z] + 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=74c4d0fc612c00852679f10633c9a53d7ea561c0 --label arch=arm64 --label version=0.0.0 . [2022-06-27T14:48:03.029Z] Sending build context to Docker daemon 6.117MB [2022-06-27T14:48:03.029Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T14:48:03.029Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T14:48:03.029Z] ---> 447f93294a48 [2022-06-27T14:48:03.029Z] Step 3/26 : ARG MAKE="make build" [2022-06-27T14:48:03.029Z] ---> Running in 814c2e7d8c1d [2022-06-27T14:48:03.307Z] Removing intermediate container 814c2e7d8c1d [2022-06-27T14:48:03.307Z] ---> 371c881f39bd [2022-06-27T14:48:03.307Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T14:48:03.585Z] ---> Running in 8d2c14a0e74b [2022-06-27T14:48:03.871Z] Removing intermediate container 8d2c14a0e74b [2022-06-27T14:48:03.871Z] ---> ea35bbe8f94e [2022-06-27T14:48:03.871Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T14:48:03.871Z] ---> Running in f6d5e396b35d [2022-06-27T14:48:04.150Z] Removing intermediate container f6d5e396b35d [2022-06-27T14:48:04.150Z] ---> f7ecf265c78a [2022-06-27T14:48:04.150Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-27T14:48:04.429Z] ---> Running in 8dd7634498ec [2022-06-27T14:48:04.703Z] Removing intermediate container 8dd7634498ec [2022-06-27T14:48:04.703Z] ---> 0836e77b1517 [2022-06-27T14:48:04.703Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T14:48:04.703Z] ---> Running in 1d33c1693fca [2022-06-27T14:48:06.681Z] Removing intermediate container 1d33c1693fca [2022-06-27T14:48:06.681Z] ---> fe424dfa7835 [2022-06-27T14:48:06.681Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T14:48:06.681Z] ---> Running in 3e35529bbaf4 [2022-06-27T14:48:07.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T14:48:08.253Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T14:48:09.227Z] OK: 220 MiB in 52 packages [2022-06-27T14:48:09.821Z] Removing intermediate container 3e35529bbaf4 [2022-06-27T14:48:09.821Z] ---> 712eea99e9c9 [2022-06-27T14:48:09.821Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-27T14:48:10.100Z] ---> Running in 31edc8c4355d [2022-06-27T14:48:10.373Z] Removing intermediate container 31edc8c4355d [2022-06-27T14:48:10.374Z] ---> 97fe1bc2930f [2022-06-27T14:48:10.374Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-27T14:48:10.970Z] ---> b3fcecd8a2e7 [2022-06-27T14:48:10.970Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T14:48:10.970Z] ---> Running in 5034bc6f1dbe [2022-06-27T14:48:12.951Z] Removing intermediate container 5034bc6f1dbe [2022-06-27T14:48:12.951Z] ---> c0bb8c4c78bf [2022-06-27T14:48:12.951Z] Step 12/26 : COPY . . [2022-06-27T14:48:13.931Z] ---> a57e2e3ac0d2 [2022-06-27T14:48:13.932Z] Step 13/26 : RUN ${MAKE} [2022-06-27T14:48:13.932Z] ---> Running in f17c89da947a [2022-06-27T14:48:15.367Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-27T14:50:22.246Z] Removing intermediate container f17c89da947a [2022-06-27T14:50:22.246Z] ---> 81999c68a925 [2022-06-27T14:50:22.246Z] Step 14/26 : FROM alpine:3.15 [2022-06-27T14:50:22.246Z] 3.15: Pulling from library/alpine [2022-06-27T14:50:22.246Z] 9981e73032c8: Pulling fs layer [2022-06-27T14:50:22.246Z] 9981e73032c8: Verifying Checksum [2022-06-27T14:50:22.246Z] 9981e73032c8: Download complete [2022-06-27T14:50:22.246Z] 9981e73032c8: Pull complete [2022-06-27T14:50:22.246Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-27T14:50:22.246Z] Status: Downloaded newer image for alpine:3.15 [2022-06-27T14:50:22.246Z] ---> 3fb3c9af89a9 [2022-06-27T14:50:22.246Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-27T14:50:22.246Z] ---> Running in 78495c375a5c [2022-06-27T14:50:22.246Z] Removing intermediate container 78495c375a5c [2022-06-27T14:50:22.246Z] ---> 6e4ebd298dd2 [2022-06-27T14:50:22.246Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T14:50:22.246Z] ---> Running in 00b60e05a46d [2022-06-27T14:50:22.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T14:50:22.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T14:50:22.246Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T14:50:22.246Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-27T14:50:22.246Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T14:50:22.246Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-27T14:50:22.246Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T14:50:22.246Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T14:50:22.246Z] Executing busybox-1.34.1-r5.trigger [2022-06-27T14:50:22.246Z] OK: 8 MiB in 20 packages [2022-06-27T14:50:22.246Z] Removing intermediate container 00b60e05a46d [2022-06-27T14:50:22.246Z] ---> 9d552878b903 [2022-06-27T14:50:22.246Z] Step 17/26 : WORKDIR / [2022-06-27T14:50:22.246Z] ---> Running in e8bc896af6e1 [2022-06-27T14:50:22.246Z] Removing intermediate container e8bc896af6e1 [2022-06-27T14:50:22.246Z] ---> 1aa6a0e16fac [2022-06-27T14:50:22.246Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-27T14:50:22.246Z] ---> b59c827d358a [2022-06-27T14:50:22.246Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-27T14:50:22.246Z] ---> 68c9b6583787 [2022-06-27T14:50:22.246Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-27T14:50:22.842Z] ---> 1feaa3cd7b31 [2022-06-27T14:50:22.842Z] Step 21/26 : EXPOSE 59984 [2022-06-27T14:50:22.842Z] ---> Running in 1e855bbb38f4 [2022-06-27T14:50:23.122Z] Removing intermediate container 1e855bbb38f4 [2022-06-27T14:50:23.122Z] ---> 6b59ddd4c891 [2022-06-27T14:50:23.122Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-27T14:50:23.395Z] ---> Running in 34a8e31628e0 [2022-06-27T14:50:23.668Z] Removing intermediate container 34a8e31628e0 [2022-06-27T14:50:23.668Z] ---> 3c20a43cdf4a [2022-06-27T14:50:23.668Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T14:50:23.668Z] ---> Running in b235b4d50bc7 [2022-06-27T14:50:23.941Z] Removing intermediate container b235b4d50bc7 [2022-06-27T14:50:23.941Z] ---> bc2a4dad6fd1 [2022-06-27T14:50:23.941Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T14:50:23.941Z] ---> Running in c2637e72e92d [2022-06-27T14:50:24.214Z] Removing intermediate container c2637e72e92d [2022-06-27T14:50:24.214Z] ---> 7a6196a4c8a5 [2022-06-27T14:50:24.214Z] Step 25/26 : LABEL git_sha=74c4d0fc612c00852679f10633c9a53d7ea561c0 [2022-06-27T14:50:24.490Z] ---> Running in 780ab7e1bb92 [2022-06-27T14:50:24.764Z] Removing intermediate container 780ab7e1bb92 [2022-06-27T14:50:24.764Z] ---> 4b2336759704 [2022-06-27T14:50:24.764Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T14:50:24.764Z] ---> Running in b4e003dafad0 [2022-06-27T14:50:25.037Z] Removing intermediate container b4e003dafad0 [2022-06-27T14:50:25.037Z] ---> d7b2ef07c682 [2022-06-27T14:50:25.037Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T14:50:25.037Z] Successfully built d7b2ef07c682 [2022-06-27T14:50:25.037Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:50:25.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T14:50:25.497Z] [2022-06-27T14:50:25.497Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:50:25.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T14:50:25.848Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T14:50:25.848Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T14:50:25.848Z] 04944245beec: Pulling fs layer [2022-06-27T14:50:25.848Z] 699f458cf7ca: Pulling fs layer [2022-06-27T14:50:25.848Z] 765212b225bb: Pulling fs layer [2022-06-27T14:50:25.848Z] f23df028b6ca: Pulling fs layer [2022-06-27T14:50:25.848Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T14:50:25.848Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T14:50:25.848Z] d65c8cfc05b1: Waiting [2022-06-27T14:50:25.848Z] 765212b225bb: Waiting [2022-06-27T14:50:25.848Z] 2437ff75d9bd: Waiting [2022-06-27T14:50:26.121Z] 04944245beec: Verifying Checksum [2022-06-27T14:50:26.121Z] 04944245beec: Download complete [2022-06-27T14:50:26.121Z] 765212b225bb: Verifying Checksum [2022-06-27T14:50:26.121Z] 765212b225bb: Download complete [2022-06-27T14:50:26.121Z] f23df028b6ca: Verifying Checksum [2022-06-27T14:50:26.121Z] f23df028b6ca: Download complete [2022-06-27T14:50:26.121Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T14:50:26.121Z] d65c8cfc05b1: Download complete [2022-06-27T14:50:26.399Z] 699f458cf7ca: Verifying Checksum [2022-06-27T14:50:26.680Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T14:50:26.680Z] 8998bd30e6a1: Download complete [2022-06-27T14:50:28.663Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T14:50:28.664Z] 2437ff75d9bd: Download complete [2022-06-27T14:50:30.650Z] 8998bd30e6a1: Pull complete [2022-06-27T14:50:31.244Z] 04944245beec: Pull complete [2022-06-27T14:50:32.676Z] 699f458cf7ca: Pull complete [2022-06-27T14:50:32.947Z] 765212b225bb: Pull complete [2022-06-27T14:50:33.544Z] f23df028b6ca: Pull complete [2022-06-27T14:50:33.816Z] d65c8cfc05b1: Pull complete [2022-06-27T14:50:48.895Z] 2437ff75d9bd: Pull complete [2022-06-27T14:50:48.895Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T14:50:48.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T14:50:48.895Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:50:49.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-16098 does not seem to be running inside a container [2022-06-27T14:50:49.248Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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:arm64 cat [2022-06-27T14:50:51.851Z] $ docker top 97ec3533c1b0fc00a3969d42953ada42b3fde52c9699b0095497494c22af2a3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:50:52.792Z] ---> job-cost.sh [2022-06-27T14:50:52.792Z] lf-activate-venv: SKIPPING [2022-06-27T14:50:52.792Z] INFO: No Stack... [2022-06-27T14:50:53.384Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T14:50:54.363Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T14:50:55.044Z] + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2022-06-27T14:50:55.044Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T14:50:55.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [2022-06-27T14:50:55.129Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] did not exist. Created. [2022-06-27T14:50:55.129Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T14:50:55.846Z] /w/workspace/device-onvif-camera/12@tmp/durable-857122b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T14:50:56.561Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T14:50:56.592Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T14:50:56.648Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T14:50:56.654Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T14:50:56.680Z] $ docker stop --time=1 97ec3533c1b0fc00a3969d42953ada42b3fde52c9699b0095497494c22af2a3c [2022-06-27T14:50:58.190Z] $ docker rm -f 97ec3533c1b0fc00a3969d42953ada42b3fde52c9699b0095497494c22af2a3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-27T14:50:58.620Z] provisioning config files... [2022-06-27T14:50:58.646Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config6284467125055096909tmp [Pipeline] { [Pipeline] sh [2022-06-27T14:50:58.961Z] + set +x [2022-06-27T14:50:58.961Z] + curl -s https://codecov.io/bash [2022-06-27T14:50:58.961Z] + bash -s -- [2022-06-27T14:50:58.962Z] [2022-06-27T14:50:58.962Z] _____ _ [2022-06-27T14:50:58.962Z] / ____| | | [2022-06-27T14:50:58.962Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T14:50:58.962Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T14:50:58.962Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T14:50:58.962Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T14:50:58.962Z] Bash-1.0.6 [2022-06-27T14:50:58.962Z] [2022-06-27T14:50:58.962Z] [2022-06-27T14:50:58.962Z] ==> git version 2.25.1 found [2022-06-27T14:50:58.962Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-27T14:50:58.962Z] Release-Date: 2020-01-08 [2022-06-27T14:50:58.962Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T14:50:58.962Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T14:50:58.962Z] ==> Jenkins CI detected. [2022-06-27T14:50:58.962Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-27T14:50:58.962Z] project root: . [2022-06-27T14:50:58.962Z] --> token set from env [2022-06-27T14:50:58.962Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T14:50:58.962Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T14:50:58.962Z] ==> Python coveragepy not found [2022-06-27T14:50:58.962Z] ==> Searching for coverage reports in: [2022-06-27T14:50:58.962Z] + . [2022-06-27T14:50:58.962Z] -> Found 1 reports [2022-06-27T14:50:58.962Z] ==> Detecting git/mercurial file structure [2022-06-27T14:50:58.962Z] ==> Reading reports [2022-06-27T14:50:59.223Z] + ./coverage.out bytes=64705 [2022-06-27T14:50:59.223Z] ==> Appending adjustments [2022-06-27T14:50:59.223Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T14:50:59.223Z] + Found adjustments [2022-06-27T14:50:59.223Z] ==> Gzipping contents [2022-06-27T14:50:59.223Z] 12K /tmp/codecov.0BWviJ.gz [2022-06-27T14:50:59.223Z] ==> Uploading reports [2022-06-27T14:50:59.223Z] url: https://codecov.io [2022-06-27T14:50:59.223Z] query: branch=PR-87&commit=12c5e8c6732386621b195cf37778ce51145ef7c9&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-27T14:50:59.223Z] -> Pinging Codecov [2022-06-27T14:50:59.223Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=12c5e8c6732386621b195cf37778ce51145ef7c9&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-27T14:50:59.795Z] -> Uploading to [2022-06-27T14:50:59.795Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/F29A59C45E3A92E06B3E522C9905F8EF/12c5e8c6732386621b195cf37778ce51145ef7c9/5584123b-7483-4735-82be-f7712b04ec88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T145059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84703b7c89ee77155d2b0c6c59a4c4d15c0fe6d521f9ba70ffa711ba9dd212cc [2022-06-27T14:50:59.795Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T14:50:59.795Z] Dload Upload Total Spent Left Speed [2022-06-27T14:50:59.795Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8217 0 0 100 8217 0 38397 --:--:-- --:--:-- --:--:-- 38397 [2022-06-27T14:50:59.795Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/12c5e8c6732386621b195cf37778ce51145ef7c9 [Pipeline] } [2022-06-27T14:50:59.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-27T14:51:00.532Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-27T14:51:00.532Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-27T14:51:00.532Z] total 16 [2022-06-27T14:51:00.532Z] drwxr-xr-x 3 root root 4096 Jun 27 14:43 . [2022-06-27T14:51:00.532Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 14:43 .. [2022-06-27T14:51:00.532Z] drwxr-xr-x 2 root root 4096 Jun 27 14:43 cost [2022-06-27T14:51:00.532Z] -rw-r--r-- 1 root root 90 Jun 27 14:43 cost.csv [2022-06-27T14:51:00.532Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-27T14:51:00.532Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-27T14:51:00.532Z] total 16 [2022-06-27T14:51:00.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 14:43 . [2022-06-27T14:51:00.532Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 14:43 .. [2022-06-27T14:51:00.532Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 14:43 cost [2022-06-27T14:51:00.532Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 14:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:00.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:01.687Z] ---> package-listing.sh [2022-06-27T14:51:01.687Z] ++ facter osfamily [2022-06-27T14:51:01.687Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T14:51:01.946Z] + OS_FAMILY=debian [2022-06-27T14:51:01.946Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-27T14:51:01.946Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T14:51:01.946Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T14:51:01.946Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T14:51:01.946Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T14:51:01.946Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-27T14:51:01.946Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T14:51:01.946Z] + case "${OS_FAMILY}" in [2022-06-27T14:51:01.946Z] + dpkg -l [2022-06-27T14:51:01.946Z] + grep '^ii' [2022-06-27T14:51:01.946Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T14:51:01.946Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T14:51:01.946Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T14:51:01.946Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-27T14:51:01.946Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-27T14:51:01.946Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-27T14:51:01.958Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T14:51:02.237Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T14:51:02.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T14:51:02.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T14:51:02.897Z] prd-ubuntu20.04-docker-8c-8g-16097 does not seem to be running inside a container [2022-06-27T14:51:02.928Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T14:51:03.154Z] $ docker top 75897e4cf52354c63e1d798a7b56777d765265f6b4b8e9ecd46f9804d4a76198 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T14:51:03.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T14:51:03.810Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T14:51:04.101Z] + ls /var/log/sa-host [2022-06-27T14:51:04.101Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T14:51:04.233Z] provisioning config files... [2022-06-27T14:51:04.241Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config7749073609254080061tmp [Pipeline] { [Pipeline] echo [2022-06-27T14:51:04.256Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:04.541Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T14:51:04.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:04.888Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T14:51:04.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:05.181Z] ---> sudo-logs.sh [2022-06-27T14:51:05.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T14:51:05.213Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:05.498Z] ---> job-cost.sh [2022-06-27T14:51:05.498Z] lf-activate-venv: SKIPPING [2022-06-27T14:51:05.498Z] DEBUG: total: 0.2199999988079071 [2022-06-27T14:51:05.498Z] INFO: Retrieving Stack Cost... [2022-06-27T14:51:06.068Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T14:51:06.328Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T14:51:06.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T14:51:06.627Z] ---> logs-deploy.sh [2022-06-27T14:51:06.627Z] lf-activate-venv: SKIPPING [2022-06-27T14:51:06.627Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/12 [2022-06-27T14:51:06.627Z] INFO: archiving workspace using pattern(s): [2022-06-27T14:51:07.567Z] Archives upload complete. [2022-06-27T14:51:07.567Z] INFO: archiving logs to Nexus