Pull request #124 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than 564107068003f49ae422debcfca097231971bd7f Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15582743431758466128.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11243037741899206922.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/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-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh37262374446390256.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11786288396515484133.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-124/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-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6916277056027131210.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22219 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 564107068003f49ae422debcfca097231971bd7f > 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/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 564107068003f49ae422debcfca097231971bd7f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 Merge succeeded, producing e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 Checking out Revision e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 (PR-124) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3078a75336cd841bf194ec860dcba546ea5b599d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T15:08:24.441Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T15:08:24.489Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T15:08:24.502Z] ========================================================= [2022-08-09T15:08:24.502Z] EdgeX Global Pipelines Version Info [2022-08-09T15:08:24.502Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:08:25.716Z] ------------------- [2022-08-09T15:08:25.716Z] stable info: [2022-08-09T15:08:25.716Z] ------------------- [2022-08-09T15:08:25.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T15:08:25.716Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T15:08:25.716Z] Message: update stable to v1.0.238 [2022-08-09T15:08:25.979Z] ------------------- [2022-08-09T15:08:25.979Z] experimental info: [2022-08-09T15:08:25.979Z] ------------------- [2022-08-09T15:08:25.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T15:08:25.979Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T15:08:25.979Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T15:08:26.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-09T15:08:26.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-09T15:08:26.198Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T15:08:26.214Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T15:08:26.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T15:08:26.238Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T15:08:26.248Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T15:08:26.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T15:08:26.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T15:08:26.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T15:08:26.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T15:08:26.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-09T15:08:26.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T15:08:26.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T15:08:26.344Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T15:08:26.358Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T15:08:26.372Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T15:08:26.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T15:08:26.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T15:08:26.406Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T15:08:26.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T15:08:26.424Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T15:08:26.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T15:08:26.452Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T15:08:26.465Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T15:08:26.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T15:08:26.491Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T15:08:26.502Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2022-08-09T15:08:26.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2022-08-09T15:08:26.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2022-08-09T15:08:26.539Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [Pipeline] echo [2022-08-09T15:08:26.550Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e43a1bb [Pipeline] echo [2022-08-09T15:08:26.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T15:08:26.600Z] provisioning config files... [2022-08-09T15:08:26.614Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config4162194893598432877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:08:26.918Z] ---> docker-login.sh [2022-08-09T15:08:26.918Z] nexus3.edgexfoundry.org:10001 [2022-08-09T15:08:27.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:27.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:27.443Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:27.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:27.443Z] [2022-08-09T15:08:27.443Z] Login Succeeded [2022-08-09T15:08:27.443Z] nexus3.edgexfoundry.org:10002 [2022-08-09T15:08:27.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:27.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:27.443Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:27.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:27.443Z] [2022-08-09T15:08:27.443Z] Login Succeeded [2022-08-09T15:08:27.443Z] nexus3.edgexfoundry.org:10003 [2022-08-09T15:08:27.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:27.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:27.709Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:27.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:27.709Z] [2022-08-09T15:08:27.709Z] Login Succeeded [2022-08-09T15:08:27.709Z] nexus3.edgexfoundry.org:10004 [2022-08-09T15:08:27.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:27.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:27.710Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:27.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:27.710Z] [2022-08-09T15:08:27.710Z] Login Succeeded [2022-08-09T15:08:27.710Z] docker.io [2022-08-09T15:08:27.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:28.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:28.232Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:28.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:28.232Z] [2022-08-09T15:08:28.232Z] Login Succeeded [2022-08-09T15:08:28.232Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T15:08:28.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T15:08:28.612Z] + git rev-list -1 --merges e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5~1..e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [Pipeline] echo [2022-08-09T15:08:28.639Z] -----------> git rev-list -1 --merges e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5~1..e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [2022-08-09T15:08:28.639Z] e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [false] [Pipeline] sh [2022-08-09T15:08:28.928Z] + git log --format=format:%s -1 e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [Pipeline] echo [2022-08-09T15:08:28.944Z] ========================================================= [2022-08-09T15:08:28.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T15:08:28.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T15:08:29.288Z] + git log --format=format:%s -1 e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [Pipeline] echo [2022-08-09T15:08:29.300Z] [semverPrep] GIT_COMMIT: e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo [2022-08-09T15:08:29.308Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T15:08:29.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T15:08:29.675Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T15:08:29.675Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T15:08:29.675Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T15:08:29.675Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T15:08:29.675Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T15:08:29.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:08:30.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T15:08:30.110Z] [2022-08-09T15:08:30.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:08:30.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T15:08:30.418Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T15:08:30.418Z] b85a868b505f: Pulling fs layer [2022-08-09T15:08:30.418Z] e2be974225ed: Pulling fs layer [2022-08-09T15:08:30.418Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T15:08:30.418Z] 988bab9f4d93: Pulling fs layer [2022-08-09T15:08:30.418Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T15:08:30.419Z] eaf3925da568: Pulling fs layer [2022-08-09T15:08:30.419Z] bab4dde63d76: Pulling fs layer [2022-08-09T15:08:30.419Z] bde34c3a00c8: Pulling fs layer [2022-08-09T15:08:30.419Z] b352a97aabf1: Pulling fs layer [2022-08-09T15:08:30.419Z] 1469e6f7b9e6: Waiting [2022-08-09T15:08:30.419Z] eaf3925da568: Waiting [2022-08-09T15:08:30.419Z] bab4dde63d76: Waiting [2022-08-09T15:08:30.419Z] 988bab9f4d93: Waiting [2022-08-09T15:08:30.419Z] b352a97aabf1: Waiting [2022-08-09T15:08:30.419Z] 4872d77fe225: Pulling fs layer [2022-08-09T15:08:30.419Z] 5851b861e8e6: Pulling fs layer [2022-08-09T15:08:30.419Z] 5851b861e8e6: Waiting [2022-08-09T15:08:30.419Z] e2be974225ed: Download complete [2022-08-09T15:08:30.419Z] 988bab9f4d93: Verifying Checksum [2022-08-09T15:08:30.419Z] 988bab9f4d93: Download complete [2022-08-09T15:08:30.678Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T15:08:30.678Z] 1469e6f7b9e6: Download complete [2022-08-09T15:08:30.678Z] eaf3925da568: Verifying Checksum [2022-08-09T15:08:30.678Z] eaf3925da568: Download complete [2022-08-09T15:08:30.678Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T15:08:30.678Z] 339a4e72a1f5: Download complete [2022-08-09T15:08:30.678Z] bde34c3a00c8: Download complete [2022-08-09T15:08:30.678Z] b352a97aabf1: Verifying Checksum [2022-08-09T15:08:30.678Z] b352a97aabf1: Download complete [2022-08-09T15:08:30.678Z] 4872d77fe225: Verifying Checksum [2022-08-09T15:08:30.678Z] 4872d77fe225: Download complete [2022-08-09T15:08:30.678Z] 5851b861e8e6: Download complete [2022-08-09T15:08:30.678Z] b85a868b505f: Verifying Checksum [2022-08-09T15:08:30.678Z] b85a868b505f: Download complete [2022-08-09T15:08:30.937Z] bab4dde63d76: Verifying Checksum [2022-08-09T15:08:30.938Z] bab4dde63d76: Download complete [2022-08-09T15:08:31.877Z] b85a868b505f: Pull complete [2022-08-09T15:08:32.138Z] e2be974225ed: Pull complete [2022-08-09T15:08:32.706Z] 339a4e72a1f5: Pull complete [2022-08-09T15:08:32.706Z] 988bab9f4d93: Pull complete [2022-08-09T15:08:32.966Z] 1469e6f7b9e6: Pull complete [2022-08-09T15:08:32.966Z] eaf3925da568: Pull complete [2022-08-09T15:08:34.876Z] bab4dde63d76: Pull complete [2022-08-09T15:08:34.876Z] bde34c3a00c8: Pull complete [2022-08-09T15:08:35.137Z] b352a97aabf1: Pull complete [2022-08-09T15:08:35.137Z] 4872d77fe225: Pull complete [2022-08-09T15:08:35.137Z] 5851b861e8e6: Pull complete [2022-08-09T15:08:35.398Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T15:08:35.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T15:08:35.398Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:08:35.503Z] prd-ubuntu20.04-docker-8c-8g-22219 does not seem to be running inside a container [2022-08-09T15:08:35.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-08-09T15:08:38.222Z] $ docker top 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d -eo pid,comm [2022-08-09T15:08:38.291Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-09T15:08:38.291Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T15:08:38.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T15:08:38.333Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T15:08:38.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T15:08:38.453Z] $ docker exec 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d ssh-agent [2022-08-09T15:08:38.597Z] SSH_AUTH_SOCK=/tmp/ssh-wFUuTQTZdIgx/agent.33 [2022-08-09T15:08:38.597Z] SSH_AGENT_PID=40 [2022-08-09T15:08:38.603Z] Running ssh-add (command line suppressed) [2022-08-09T15:08:38.709Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_1411442385040673911.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_1411442385040673911.key) [2022-08-09T15:08:38.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T15:08:39.024Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T15:08:39.042Z] $ docker exec --env ******** --env ******** 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d ssh-agent -k [2022-08-09T15:08:39.165Z] unset SSH_AUTH_SOCK; [2022-08-09T15:08:39.166Z] unset SSH_AGENT_PID; [2022-08-09T15:08:39.166Z] echo Agent pid 40 killed; [2022-08-09T15:08:39.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T15:08:39.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T15:08:39.213Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T15:08:39.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T15:08:39.341Z] $ docker exec 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d ssh-agent [2022-08-09T15:08:39.474Z] SSH_AUTH_SOCK=/tmp/ssh-UPVKl27HD2Nq/agent.73 [2022-08-09T15:08:39.475Z] SSH_AGENT_PID=80 [2022-08-09T15:08:39.480Z] Running ssh-add (command line suppressed) [2022-08-09T15:08:39.617Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_2938917358811561267.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_2938917358811561267.key) [2022-08-09T15:08:39.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T15:08:39.932Z] + git semver init [2022-08-09T15:08:40.193Z] 2022-08-09 15:08:40,160 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T15:08:40.193Z] 2022-08-09 15:08:40,161 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T15:08:40.193Z] 2022-08-09 15:08:40,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T15:08:40.193Z] 2022-08-09 15:08:40,162 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-124/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-124, universal_newlines=False, shell=None, istream=None) [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,033 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-124/.git/info/exclude [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 with force:False [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,034 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,038 [execute] INFO git cat-file --batch-check [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,045 [execute] INFO git cat-file --batch [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T15:08:41.137Z] 2022-08-09 15:08:41,050 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T15:08:41.137Z] 0.0.0 [Pipeline] } [2022-08-09T15:08:41.147Z] $ docker exec --env ******** --env ******** 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d ssh-agent -k [2022-08-09T15:08:41.249Z] unset SSH_AUTH_SOCK; [2022-08-09T15:08:41.249Z] unset SSH_AGENT_PID; [2022-08-09T15:08:41.249Z] echo Agent pid 80 killed; [2022-08-09T15:08:41.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T15:08:41.566Z] + git semver [Pipeline] } [2022-08-09T15:08:41.839Z] $ docker stop --time=1 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d [2022-08-09T15:08:43.137Z] $ docker rm -f 7d15e83204cb1bb37de6723ed4242fbfaae0303d2110ab556ed7c3d4013bd45d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T15:08:43.502Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T15:08:43.764Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T15:08:43.766Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T15:08:43.893Z] provisioning config files... [2022-08-09T15:08:43.905Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config8493131326515616052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:08:44.222Z] ---> docker-login.sh [2022-08-09T15:08:44.222Z] nexus3.edgexfoundry.org:10001 [2022-08-09T15:08:44.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:44.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:44.222Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:44.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:44.222Z] [2022-08-09T15:08:44.222Z] Login Succeeded [2022-08-09T15:08:44.222Z] nexus3.edgexfoundry.org:10002 [2022-08-09T15:08:44.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:44.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:44.484Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:44.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:44.484Z] [2022-08-09T15:08:44.484Z] Login Succeeded [2022-08-09T15:08:44.484Z] nexus3.edgexfoundry.org:10003 [2022-08-09T15:08:44.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:44.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:44.484Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:44.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:44.484Z] [2022-08-09T15:08:44.484Z] Login Succeeded [2022-08-09T15:08:44.484Z] nexus3.edgexfoundry.org:10004 [2022-08-09T15:08:44.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:44.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:44.745Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:44.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:44.745Z] [2022-08-09T15:08:44.745Z] Login Succeeded [2022-08-09T15:08:44.745Z] docker.io [2022-08-09T15:08:44.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:08:45.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:08:45.006Z] Configure a credential helper to remove this warning. See [2022-08-09T15:08:45.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:08:45.006Z] [2022-08-09T15:08:45.006Z] Login Succeeded [2022-08-09T15:08:45.006Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T15:08:45.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T15:08:45.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T15:08:45.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T15:08:45.107Z] ========================================================= [2022-08-09T15:08:45.107Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T15:08:45.107Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:08:45.436Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T15:08:45.436Z] Sending build context to Docker daemon 20.24MB [2022-08-09T15:08:45.436Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T15:08:45.436Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T15:08:45.697Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T15:08:45.698Z] 2408cc74d12b: Pulling fs layer [2022-08-09T15:08:45.698Z] ea60b727a1ce: Pulling fs layer [2022-08-09T15:08:45.698Z] 30c4a7721957: Pulling fs layer [2022-08-09T15:08:45.698Z] 370296b7ddb6: Pulling fs layer [2022-08-09T15:08:45.698Z] 7c6cee850709: Pulling fs layer [2022-08-09T15:08:45.698Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T15:08:45.698Z] 370296b7ddb6: Waiting [2022-08-09T15:08:45.698Z] 7c6cee850709: Waiting [2022-08-09T15:08:45.698Z] d94ebbe4e438: Pulling fs layer [2022-08-09T15:08:45.698Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T15:08:45.698Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T15:08:45.698Z] d94ebbe4e438: Waiting [2022-08-09T15:08:45.698Z] 39a5fcdaea64: Waiting [2022-08-09T15:08:45.698Z] bcfd1f05c69d: Waiting [2022-08-09T15:08:45.698Z] 59ccb84bbe0f: Waiting [2022-08-09T15:08:45.698Z] 30c4a7721957: Verifying Checksum [2022-08-09T15:08:45.698Z] 30c4a7721957: Download complete [2022-08-09T15:08:45.698Z] ea60b727a1ce: Verifying Checksum [2022-08-09T15:08:45.698Z] ea60b727a1ce: Download complete [2022-08-09T15:08:45.698Z] 7c6cee850709: Verifying Checksum [2022-08-09T15:08:45.698Z] 7c6cee850709: Download complete [2022-08-09T15:08:45.698Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T15:08:45.698Z] 39a5fcdaea64: Download complete [2022-08-09T15:08:45.698Z] 2408cc74d12b: Verifying Checksum [2022-08-09T15:08:45.698Z] 2408cc74d12b: Download complete [2022-08-09T15:08:45.698Z] d94ebbe4e438: Verifying Checksum [2022-08-09T15:08:45.698Z] d94ebbe4e438: Download complete [2022-08-09T15:08:45.698Z] 2408cc74d12b: Pull complete [2022-08-09T15:08:45.958Z] ea60b727a1ce: Pull complete [2022-08-09T15:08:45.958Z] 30c4a7721957: Pull complete [2022-08-09T15:08:45.958Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T15:08:45.958Z] 59ccb84bbe0f: Download complete [2022-08-09T15:08:46.530Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T15:08:46.530Z] bcfd1f05c69d: Download complete [2022-08-09T15:08:46.531Z] 370296b7ddb6: Verifying Checksum [2022-08-09T15:08:46.531Z] 370296b7ddb6: Download complete [2022-08-09T15:08:50.726Z] 370296b7ddb6: Pull complete [2022-08-09T15:08:50.726Z] 7c6cee850709: Pull complete [2022-08-09T15:08:50.726Z] 39a5fcdaea64: Pull complete [2022-08-09T15:08:50.726Z] d94ebbe4e438: Pull complete [2022-08-09T15:08:52.637Z] bcfd1f05c69d: Pull complete [2022-08-09T15:08:53.575Z] 59ccb84bbe0f: Pull complete [2022-08-09T15:08:53.575Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T15:08:53.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T15:08:53.575Z] ---> a4fb48ad2a94 [2022-08-09T15:08:53.575Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T15:08:57.793Z] ---> Running in 1e68a117103b [2022-08-09T15:08:58.053Z] Removing intermediate container 1e68a117103b [2022-08-09T15:08:58.053Z] ---> b7b3f3c181f5 [2022-08-09T15:08:58.053Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T15:08:58.053Z] ---> Running in 89af7e5dce4c [2022-08-09T15:08:58.053Z] Removing intermediate container 89af7e5dce4c [2022-08-09T15:08:58.053Z] ---> 6caff011eee3 [2022-08-09T15:08:58.053Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T15:08:58.053Z] ---> Running in 8889e05153d6 [2022-08-09T15:08:58.053Z] Removing intermediate container 8889e05153d6 [2022-08-09T15:08:58.053Z] ---> a4c9d83f3c91 [2022-08-09T15:08:58.053Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T15:08:58.315Z] ---> Running in 124c034a3e6c [2022-08-09T15:08:58.315Z] Removing intermediate container 124c034a3e6c [2022-08-09T15:08:58.315Z] ---> d8dcbacd88b2 [2022-08-09T15:08:58.315Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T15:08:58.315Z] ---> Running in bd33641da420 [2022-08-09T15:08:58.862Z] Still waiting to schedule task [2022-08-09T15:08:58.863Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-09T15:08:58.886Z] Removing intermediate container bd33641da420 [2022-08-09T15:08:58.887Z] ---> 45af9f53fedd [2022-08-09T15:08:58.887Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T15:08:58.887Z] ---> Running in 4bf7c2db5cc9 [2022-08-09T15:08:59.148Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T15:09:00.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T15:09:00.355Z] OK: 211 MiB in 51 packages [2022-08-09T15:09:00.926Z] Removing intermediate container 4bf7c2db5cc9 [2022-08-09T15:09:00.926Z] ---> 5ba26c3bc99c [2022-08-09T15:09:00.926Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T15:09:00.926Z] ---> Running in 050ed8185daa [2022-08-09T15:09:00.926Z] Removing intermediate container 050ed8185daa [2022-08-09T15:09:00.926Z] ---> 528775e3f2a7 [2022-08-09T15:09:00.926Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T15:09:00.926Z] ---> a24417cdeec7 [2022-08-09T15:09:00.926Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T15:09:00.926Z] ---> Running in b064a83f75c3 [2022-08-09T15:09:22.899Z] Removing intermediate container b064a83f75c3 [2022-08-09T15:09:22.899Z] ---> 95901ba7db68 [2022-08-09T15:09:22.899Z] Step 12/13 : COPY . . [2022-08-09T15:09:22.899Z] ---> cb71e922c528 [2022-08-09T15:09:22.899Z] Step 13/13 : RUN ${MAKE} [2022-08-09T15:09:22.899Z] ---> Running in efab46cdf52e [2022-08-09T15:09:22.899Z] noop [2022-08-09T15:09:22.899Z] Removing intermediate container efab46cdf52e [2022-08-09T15:09:22.899Z] ---> c888ddef2d57 [2022-08-09T15:09:22.899Z] Successfully built c888ddef2d57 [2022-08-09T15:09:22.899Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:09:23.218Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T15:09:23.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:09:23.295Z] prd-ubuntu20.04-docker-8c-8g-22219 does not seem to be running inside a container [2022-08-09T15:09:23.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-08-09T15:09:23.700Z] $ docker top 35f68510200b34bb62c438f262beabb70c492085c0e365f01efe8f53024cefd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T15:09:24.039Z] + go version [2022-08-09T15:09:24.039Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T15:09:24.063Z] $ docker stop --time=1 35f68510200b34bb62c438f262beabb70c492085c0e365f01efe8f53024cefd4 [2022-08-09T15:09:25.308Z] $ docker rm -f 35f68510200b34bb62c438f262beabb70c492085c0e365f01efe8f53024cefd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:09:25.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T15:09:25.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:09:25.895Z] prd-ubuntu20.04-docker-8c-8g-22219 does not seem to be running inside a container [2022-08-09T15:09:25.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-08-09T15:09:26.317Z] $ docker top 547e9ceb5362567e1ea1dab9e2172db3ce497107ac5bae0fda42026e37e8d551 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T15:09:26.674Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] fileExists [Pipeline] sh [2022-08-09T15:09:26.977Z] + make test [2022-08-09T15:09:26.977Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T15:09:27.236Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T15:09:37.222Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T15:09:37.222Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.6% of statements [2022-08-09T15:09:37.222Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T15:09:40.518Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.038s coverage: 13.8% of statements [2022-08-09T15:09:47.093Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T15:09:50.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T15:09:50.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T15:09:50.388Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T15:09:50.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T15:09:50.427Z] $ docker stop --time=1 547e9ceb5362567e1ea1dab9e2172db3ce497107ac5bae0fda42026e37e8d551 [2022-08-09T15:09:52.767Z] $ docker rm -f 547e9ceb5362567e1ea1dab9e2172db3ce497107ac5bae0fda42026e37e8d551 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T15:09:53.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T15:09:53.347Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T15:09:53.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T15:09:54.131Z] + ls -al . [2022-08-09T15:09:54.131Z] total 232 [2022-08-09T15:09:54.131Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 15:09 . [2022-08-09T15:09:54.131Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:08 .. [2022-08-09T15:09:54.131Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 15:09 .git [2022-08-09T15:09:54.132Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 15:08 .github [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 15:08 .gitignore [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 15:08 .golangci.yml [2022-08-09T15:09:54.132Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 15:08 .semver [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 15:08 Attribution.txt [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 15:08 CHANGELOG.md [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 15:08 Dockerfile [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 15:08 GOVERNANCE.md [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 15:08 Jenkinsfile [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 15:08 LICENSE [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 2615 Aug 9 15:08 Makefile [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 15:08 OWNERS.md [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 15:08 README.md [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 15:08 VERSION [2022-08-09T15:09:54.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 15:08 bin [2022-08-09T15:09:54.132Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 15:08 cmd [2022-08-09T15:09:54.132Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 15:09 coverage.out [2022-08-09T15:09:54.132Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 15:08 doc [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 15:08 go.mod [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 15:08 go.sum [2022-08-09T15:09:54.132Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:08 internal [2022-08-09T15:09:54.132Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:08 snap [2022-08-09T15:09:54.132Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 15:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:09:54.518Z] + 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=e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 --label arch=amd64 --label version=0.0.0 . [2022-08-09T15:09:54.518Z] Sending build context to Docker daemon 20.32MB [2022-08-09T15:09:54.518Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T15:09:54.518Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T15:09:54.518Z] ---> c888ddef2d57 [2022-08-09T15:09:54.518Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T15:09:54.779Z] ---> Running in 2c795c12058c [2022-08-09T15:09:54.779Z] Removing intermediate container 2c795c12058c [2022-08-09T15:09:54.779Z] ---> c1aea0cb2958 [2022-08-09T15:09:54.779Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T15:09:54.779Z] ---> Running in 290b3db852bf [2022-08-09T15:09:54.779Z] Removing intermediate container 290b3db852bf [2022-08-09T15:09:54.779Z] ---> 39842705ac59 [2022-08-09T15:09:54.779Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T15:09:54.779Z] ---> Running in 3e7df42ba0e3 [2022-08-09T15:09:55.039Z] Removing intermediate container 3e7df42ba0e3 [2022-08-09T15:09:55.039Z] ---> 80812b90f9f3 [2022-08-09T15:09:55.039Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T15:09:55.039Z] ---> Running in 84a08a0ed790 [2022-08-09T15:09:55.039Z] Removing intermediate container 84a08a0ed790 [2022-08-09T15:09:55.039Z] ---> 13993491e504 [2022-08-09T15:09:55.039Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T15:09:55.039Z] ---> Running in b47c6f9c7286 [2022-08-09T15:09:55.609Z] Removing intermediate container b47c6f9c7286 [2022-08-09T15:09:55.609Z] ---> dd483a8d0f92 [2022-08-09T15:09:55.609Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T15:09:55.609Z] ---> Running in 605cc10f3661 [2022-08-09T15:09:55.868Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T15:09:56.811Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T15:09:57.071Z] OK: 211 MiB in 51 packages [2022-08-09T15:09:57.330Z] Removing intermediate container 605cc10f3661 [2022-08-09T15:09:57.331Z] ---> 85a00d4b580a [2022-08-09T15:09:57.331Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T15:09:57.331Z] ---> Running in d4ab2a5ee012 [2022-08-09T15:09:57.590Z] Removing intermediate container d4ab2a5ee012 [2022-08-09T15:09:57.590Z] ---> 7b4cabe8c7e3 [2022-08-09T15:09:57.590Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T15:09:57.590Z] ---> c242254dd854 [2022-08-09T15:09:57.590Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T15:09:57.590Z] ---> Running in 1aa0c7d56dbc [2022-08-09T15:09:58.160Z] Removing intermediate container 1aa0c7d56dbc [2022-08-09T15:09:58.160Z] ---> 141d4146f74e [2022-08-09T15:09:58.160Z] Step 12/26 : COPY . . [2022-08-09T15:09:59.099Z] ---> 7bf889cf5e42 [2022-08-09T15:09:59.099Z] Step 13/26 : RUN ${MAKE} [2022-08-09T15:09:59.099Z] ---> Running in e00ce6280d87 [2022-08-09T15:09:59.359Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T15:10:21.309Z] Removing intermediate container e00ce6280d87 [2022-08-09T15:10:21.309Z] ---> e746a2c32c23 [2022-08-09T15:10:21.309Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T15:10:21.309Z] 3.15: Pulling from library/alpine [2022-08-09T15:10:21.309Z] ab6db1bc80d0: Pulling fs layer [2022-08-09T15:10:21.309Z] ab6db1bc80d0: Verifying Checksum [2022-08-09T15:10:21.309Z] ab6db1bc80d0: Download complete [2022-08-09T15:10:21.309Z] ab6db1bc80d0: Pull complete [2022-08-09T15:10:21.309Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-09T15:10:21.309Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T15:10:21.309Z] ---> 2720e26172a0 [2022-08-09T15:10:21.309Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T15:10:21.309Z] ---> Running in a9686e530159 [2022-08-09T15:10:21.309Z] Removing intermediate container a9686e530159 [2022-08-09T15:10:21.309Z] ---> ea25016b1e89 [2022-08-09T15:10:21.309Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T15:10:21.309Z] ---> Running in 9284a1588155 [2022-08-09T15:10:21.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-09T15:10:21.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-09T15:10:22.145Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T15:10:22.145Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T15:10:22.145Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T15:10:22.145Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T15:10:22.145Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T15:10:22.145Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T15:10:22.145Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T15:10:22.145Z] OK: 8 MiB in 20 packages [2022-08-09T15:10:22.716Z] Removing intermediate container 9284a1588155 [2022-08-09T15:10:22.716Z] ---> c16f06d94a09 [2022-08-09T15:10:22.716Z] Step 17/26 : WORKDIR / [2022-08-09T15:10:22.716Z] ---> Running in 8f88806a4603 [2022-08-09T15:10:22.716Z] Removing intermediate container 8f88806a4603 [2022-08-09T15:10:22.716Z] ---> d0abe8821330 [2022-08-09T15:10:22.716Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T15:10:23.287Z] ---> 1083396c4469 [2022-08-09T15:10:23.287Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T15:10:23.547Z] ---> 7a960a19c4f4 [2022-08-09T15:10:23.547Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T15:10:23.547Z] ---> ae605bddc61d [2022-08-09T15:10:23.547Z] Step 21/26 : EXPOSE 59984 [2022-08-09T15:10:23.547Z] ---> Running in d92ca9171765 [2022-08-09T15:10:23.808Z] Removing intermediate container d92ca9171765 [2022-08-09T15:10:23.808Z] ---> 7ce120fe42f2 [2022-08-09T15:10:23.808Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T15:10:23.808Z] ---> Running in 126b47b1e9da [2022-08-09T15:10:23.808Z] Removing intermediate container 126b47b1e9da [2022-08-09T15:10:23.808Z] ---> fb58f08a64ee [2022-08-09T15:10:23.808Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T15:10:23.808Z] ---> Running in ba0b605c2981 [2022-08-09T15:10:23.808Z] Removing intermediate container ba0b605c2981 [2022-08-09T15:10:23.808Z] ---> 7f5b6c2a30d6 [2022-08-09T15:10:23.808Z] Step 24/26 : LABEL arch=amd64 [2022-08-09T15:10:23.808Z] ---> Running in c5d51f709af5 [2022-08-09T15:10:24.069Z] Removing intermediate container c5d51f709af5 [2022-08-09T15:10:24.069Z] ---> 1173cf37b7a0 [2022-08-09T15:10:24.069Z] Step 25/26 : LABEL git_sha=e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [2022-08-09T15:10:24.069Z] ---> Running in 5f53369b7ca6 [2022-08-09T15:10:24.069Z] Removing intermediate container 5f53369b7ca6 [2022-08-09T15:10:24.069Z] ---> 69823bb461ee [2022-08-09T15:10:24.069Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T15:10:24.069Z] ---> Running in 560db42347d2 [2022-08-09T15:10:24.330Z] Removing intermediate container 560db42347d2 [2022-08-09T15:10:24.330Z] ---> ce28b9927613 [2022-08-09T15:10:24.330Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T15:10:24.330Z] Successfully built ce28b9927613 [2022-08-09T15:10:24.330Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:10:24.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T15:10:24.803Z] [2022-08-09T15:10:24.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:10:25.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T15:10:25.112Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T15:10:25.112Z] 5eb5b503b376: Pulling fs layer [2022-08-09T15:10:25.112Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T15:10:25.112Z] ec43610c2a17: Pulling fs layer [2022-08-09T15:10:25.112Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T15:10:25.112Z] 33b1e0a273af: Pulling fs layer [2022-08-09T15:10:25.112Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T15:10:25.112Z] 2f39f015ded8: Pulling fs layer [2022-08-09T15:10:25.112Z] 33b1e0a273af: Waiting [2022-08-09T15:10:25.112Z] 5d3b04190fa2: Waiting [2022-08-09T15:10:25.112Z] 2f39f015ded8: Waiting [2022-08-09T15:10:25.112Z] 3a2ae6a8a46f: Waiting [2022-08-09T15:10:25.112Z] 5c69ac0246d0: Download complete [2022-08-09T15:10:25.112Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T15:10:25.112Z] 3a2ae6a8a46f: Download complete [2022-08-09T15:10:25.112Z] 33b1e0a273af: Verifying Checksum [2022-08-09T15:10:25.112Z] 33b1e0a273af: Download complete [2022-08-09T15:10:25.112Z] 5d3b04190fa2: Download complete [2022-08-09T15:10:25.112Z] ec43610c2a17: Verifying Checksum [2022-08-09T15:10:25.112Z] ec43610c2a17: Download complete [2022-08-09T15:10:25.373Z] 5eb5b503b376: Verifying Checksum [2022-08-09T15:10:25.373Z] 5eb5b503b376: Download complete [2022-08-09T15:10:25.951Z] 2f39f015ded8: Download complete [2022-08-09T15:10:26.526Z] 5eb5b503b376: Pull complete [2022-08-09T15:10:26.785Z] 5c69ac0246d0: Pull complete [2022-08-09T15:10:27.044Z] ec43610c2a17: Pull complete [2022-08-09T15:10:27.303Z] 3a2ae6a8a46f: Pull complete [2022-08-09T15:10:27.303Z] 33b1e0a273af: Pull complete [2022-08-09T15:10:27.564Z] 5d3b04190fa2: Pull complete [2022-08-09T15:10:31.761Z] 2f39f015ded8: Pull complete [2022-08-09T15:10:31.761Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T15:10:31.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T15:10:31.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:10:31.852Z] prd-ubuntu20.04-docker-8c-8g-22219 does not seem to be running inside a container [2022-08-09T15:10:31.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-08-09T15:10:35.451Z] $ docker top 10e51e6b3490ccbf43bfeb5b7c93508bcb918093ec5fd66ac68804746c9a276a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:10:35.848Z] ---> job-cost.sh [2022-08-09T15:10:35.848Z] lf-activate-venv: SKIPPING [2022-08-09T15:10:35.848Z] INFO: No Stack... [2022-08-09T15:10:36.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T15:10:36.679Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T15:10:36.971Z] + cat /w/workspace/undry_device-onvif-camera_PR-124/archives/cost.csv [2022-08-09T15:10:36.971Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T15:10:36.987Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [2022-08-09T15:10:36.997Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] did not exist. Created. [2022-08-09T15:10:36.997Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T15:10:37.255Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22220 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] ws [2022-08-09T15:10:37.267Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-08-09T15:10:37.297Z] + echo total: 0.2199999988079071 [2022-08-09T15:10:37.305Z] Selected Git installation does not exist. Using Default [2022-08-09T15:10:37.305Z] The recommended git tool is: NONE [Pipeline] stash [2022-08-09T15:10:37.328Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T15:10:37.337Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T15:10:37.369Z] $ docker stop --time=1 10e51e6b3490ccbf43bfeb5b7c93508bcb918093ec5fd66ac68804746c9a276a [2022-08-09T15:10:38.519Z] $ docker rm -f 10e51e6b3490ccbf43bfeb5b7c93508bcb918093ec5fd66ac68804746c9a276a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T15:10:43.978Z] using credential edgex-jenkins-ssh [2022-08-09T15:10:43.997Z] Cloning the remote Git repository [2022-08-09T15:10:44.078Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T15:10:44.178Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-08-09T15:10:44.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T15:10:44.318Z] > git --version # timeout=10 [2022-08-09T15:10:44.363Z] > git --version # 'git version 2.25.1' [2022-08-09T15:10:44.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T15:10:44.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T15:10:45.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T15:10:45.589Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T15:10:45.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T15:10:45.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T15:10:45.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T15:10:45.670Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T15:10:46.210Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit 564107068003f49ae422debcfca097231971bd7f [2022-08-09T15:10:47.122Z] Merge succeeded, producing 2fe509be12b62d1e18a1593104818c092c2f2e92 [2022-08-09T15:10:47.122Z] Checking out Revision 2fe509be12b62d1e18a1593104818c092c2f2e92 (PR-124) [2022-08-09T15:10:46.232Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T15:10:46.302Z] > git checkout -f 564107068003f49ae422debcfca097231971bd7f # timeout=10 [2022-08-09T15:10:46.644Z] > git remote # timeout=10 [2022-08-09T15:10:46.666Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T15:10:46.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T15:10:46.699Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-09T15:10:47.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T15:10:47.131Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T15:10:47.143Z] > git checkout -f 2fe509be12b62d1e18a1593104818c092c2f2e92 # timeout=10 [2022-08-09T15:10:51.262Z] Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" [2022-08-09T15:10:51.284Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T15:10:52.183Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T15:10:52.184Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T15:10:52.184Z] Dload Upload Total Spent Left Speed [2022-08-09T15:10:52.184Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 12332 96 11881 0 0 92820 0 --:--:-- --:--:-- --:--:-- 92100 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 94861 [2022-08-09T15:10:51.272Z] > git rev-list --no-walk 3078a75336cd841bf194ec860dcba546ea5b599d # timeout=10 [Pipeline] sh [2022-08-09T15:10:52.869Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T15:10:53.256Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-08-09T15:10:53.256Z] [2022-08-09T15:10:53.256Z] { [2022-08-09T15:10:53.256Z] "registry-mirrors": [ [2022-08-09T15:10:53.256Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T15:10:53.256Z] ], [2022-08-09T15:10:53.256Z] "bip": "10.250.0.254/24", [2022-08-09T15:10:53.256Z] "hosts": [ [2022-08-09T15:10:53.256Z] "tcp://0.0.0.0:5555", [2022-08-09T15:10:53.256Z] "unix:///var/run/docker.sock" [2022-08-09T15:10:53.256Z] ], [2022-08-09T15:10:53.256Z] "mtu": 1458, [2022-08-09T15:10:53.256Z] "selinux-enabled": true, [2022-08-09T15:10:53.256Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T15:10:53.256Z] } [Pipeline] sh [2022-08-09T15:10:53.602Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T15:10:53.950Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T15:11:12.292Z] provisioning config files... [2022-08-09T15:11:12.314Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config1101450324115449082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:11:12.829Z] ---> docker-login.sh [2022-08-09T15:11:12.829Z] nexus3.edgexfoundry.org:10001 [2022-08-09T15:11:13.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:11:13.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:11:13.696Z] Configure a credential helper to remove this warning. See [2022-08-09T15:11:13.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:11:13.696Z] [2022-08-09T15:11:13.696Z] Login Succeeded [2022-08-09T15:11:13.696Z] nexus3.edgexfoundry.org:10002 [2022-08-09T15:11:13.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:11:14.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:11:14.252Z] Configure a credential helper to remove this warning. See [2022-08-09T15:11:14.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:11:14.252Z] [2022-08-09T15:11:14.252Z] Login Succeeded [2022-08-09T15:11:14.252Z] nexus3.edgexfoundry.org:10003 [2022-08-09T15:11:14.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:11:14.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:11:14.531Z] Configure a credential helper to remove this warning. See [2022-08-09T15:11:14.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:11:14.531Z] [2022-08-09T15:11:14.531Z] Login Succeeded [2022-08-09T15:11:14.531Z] nexus3.edgexfoundry.org:10004 [2022-08-09T15:11:15.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:11:15.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:11:15.126Z] Configure a credential helper to remove this warning. See [2022-08-09T15:11:15.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:11:15.126Z] [2022-08-09T15:11:15.126Z] Login Succeeded [2022-08-09T15:11:15.126Z] docker.io [2022-08-09T15:11:15.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T15:11:15.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T15:11:15.671Z] Configure a credential helper to remove this warning. See [2022-08-09T15:11:15.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T15:11:15.671Z] [2022-08-09T15:11:15.671Z] Login Succeeded [2022-08-09T15:11:15.671Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T15:11:15.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T15:11:15.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T15:11:15.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T15:11:15.972Z] ========================================================= [2022-08-09T15:11:15.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T15:11:15.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:11:16.334Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-09T15:11:16.945Z] Sending build context to Docker daemon 13.86MB [2022-08-09T15:11:16.945Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T15:11:16.945Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T15:11:16.945Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T15:11:16.945Z] b3c136eddcbf: Pulling fs layer [2022-08-09T15:11:16.945Z] c0a3192eca97: Pulling fs layer [2022-08-09T15:11:16.945Z] a050256f5b6f: Pulling fs layer [2022-08-09T15:11:16.945Z] 656be50a0ddc: Pulling fs layer [2022-08-09T15:11:16.945Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T15:11:16.945Z] 46d945488cbd: Pulling fs layer [2022-08-09T15:11:16.945Z] 8a5474983e97: Pulling fs layer [2022-08-09T15:11:16.945Z] 329c88fbcd65: Pulling fs layer [2022-08-09T15:11:16.945Z] 2bbca73fdf42: Waiting [2022-08-09T15:11:16.945Z] 46d945488cbd: Waiting [2022-08-09T15:11:16.945Z] 8a5474983e97: Waiting [2022-08-09T15:11:16.945Z] 329c88fbcd65: Waiting [2022-08-09T15:11:16.945Z] 656be50a0ddc: Waiting [2022-08-09T15:11:16.945Z] a050256f5b6f: Verifying Checksum [2022-08-09T15:11:16.945Z] a050256f5b6f: Download complete [2022-08-09T15:11:17.223Z] c0a3192eca97: Verifying Checksum [2022-08-09T15:11:17.223Z] c0a3192eca97: Download complete [2022-08-09T15:11:17.223Z] 2bbca73fdf42: Download complete [2022-08-09T15:11:17.223Z] 46d945488cbd: Verifying Checksum [2022-08-09T15:11:17.223Z] 46d945488cbd: Download complete [2022-08-09T15:11:17.223Z] b3c136eddcbf: Verifying Checksum [2022-08-09T15:11:17.223Z] b3c136eddcbf: Download complete [2022-08-09T15:11:18.222Z] b3c136eddcbf: Pull complete [2022-08-09T15:11:18.222Z] 329c88fbcd65: Verifying Checksum [2022-08-09T15:11:18.222Z] 329c88fbcd65: Download complete [2022-08-09T15:11:18.504Z] c0a3192eca97: Pull complete [2022-08-09T15:11:19.111Z] a050256f5b6f: Pull complete [2022-08-09T15:11:19.389Z] 8a5474983e97: Verifying Checksum [2022-08-09T15:11:19.389Z] 8a5474983e97: Download complete [2022-08-09T15:11:19.984Z] 656be50a0ddc: Verifying Checksum [2022-08-09T15:11:19.984Z] 656be50a0ddc: Download complete [2022-08-09T15:11:32.395Z] 656be50a0ddc: Pull complete [2022-08-09T15:11:32.667Z] 2bbca73fdf42: Pull complete [2022-08-09T15:11:33.263Z] 46d945488cbd: Pull complete [2022-08-09T15:11:39.996Z] 8a5474983e97: Pull complete [2022-08-09T15:11:41.436Z] 329c88fbcd65: Pull complete [2022-08-09T15:11:41.436Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T15:11:41.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T15:11:41.436Z] ---> ff4287adb874 [2022-08-09T15:11:41.436Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T15:11:42.414Z] ---> Running in af6bbea4b79a [2022-08-09T15:11:42.414Z] Removing intermediate container af6bbea4b79a [2022-08-09T15:11:42.414Z] ---> d10538a6d0ec [2022-08-09T15:11:42.414Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T15:11:42.686Z] ---> Running in 3b8485c758b4 [2022-08-09T15:11:42.961Z] Removing intermediate container 3b8485c758b4 [2022-08-09T15:11:42.961Z] ---> af9639cc5565 [2022-08-09T15:11:42.961Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T15:11:42.961Z] ---> Running in 46def09de290 [2022-08-09T15:11:43.244Z] Removing intermediate container 46def09de290 [2022-08-09T15:11:43.244Z] ---> af42e5314b96 [2022-08-09T15:11:43.244Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T15:11:43.244Z] ---> Running in 8a74faa41f58 [2022-08-09T15:11:43.530Z] Removing intermediate container 8a74faa41f58 [2022-08-09T15:11:43.530Z] ---> ba122b88e1cf [2022-08-09T15:11:43.530Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T15:11:43.530Z] ---> Running in 29f4dc87085a [2022-08-09T15:11:45.526Z] Removing intermediate container 29f4dc87085a [2022-08-09T15:11:45.526Z] ---> 0c926c695a16 [2022-08-09T15:11:45.526Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T15:11:45.526Z] ---> Running in 92bcacde65ae [2022-08-09T15:11:46.509Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T15:11:47.496Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T15:11:48.091Z] OK: 221 MiB in 51 packages [2022-08-09T15:11:49.084Z] Removing intermediate container 92bcacde65ae [2022-08-09T15:11:49.084Z] ---> c346c63c8bf9 [2022-08-09T15:11:49.084Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T15:11:49.084Z] ---> Running in cd205f211276 [2022-08-09T15:11:49.357Z] Removing intermediate container cd205f211276 [2022-08-09T15:11:49.357Z] ---> 3ec82e1c0e37 [2022-08-09T15:11:49.357Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T15:11:49.957Z] ---> 29813360cb72 [2022-08-09T15:11:49.957Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T15:11:49.957Z] ---> Running in d26608a923ec [2022-08-09T15:12:36.942Z] Removing intermediate container d26608a923ec [2022-08-09T15:12:36.942Z] ---> 58f8ddf1c65b [2022-08-09T15:12:36.942Z] Step 12/13 : COPY . . [2022-08-09T15:12:36.942Z] ---> 4680786b06aa [2022-08-09T15:12:36.942Z] Step 13/13 : RUN ${MAKE} [2022-08-09T15:12:36.942Z] ---> Running in 3c9f3ca6e06a [2022-08-09T15:12:37.925Z] noop [2022-08-09T15:12:38.532Z] Removing intermediate container 3c9f3ca6e06a [2022-08-09T15:12:38.532Z] ---> 58b38be35712 [2022-08-09T15:12:38.532Z] Successfully built 58b38be35712 [2022-08-09T15:12:38.532Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:12:38.911Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T15:12:38.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:12:39.142Z] prd-ubuntu20.04-docker-arm64-4c-16g-22220 does not seem to be running inside a container [2022-08-09T15:12:39.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-08-09T15:12:40.492Z] $ docker top adec478ca30247a88361d24ec9f3edc43092153bebe07f367313ab359c4408b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T15:12:41.395Z] + go version [2022-08-09T15:12:41.395Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T15:12:41.427Z] $ docker stop --time=1 adec478ca30247a88361d24ec9f3edc43092153bebe07f367313ab359c4408b0 [2022-08-09T15:12:43.069Z] $ docker rm -f adec478ca30247a88361d24ec9f3edc43092153bebe07f367313ab359c4408b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:12:43.692Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T15:12:43.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:12:43.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-22220 does not seem to be running inside a container [2022-08-09T15:12:44.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-08-09T15:12:45.313Z] $ docker top a3121d0e28f50de8958f70a91b98d7b1d08d234eb4661a996726eafea76f627c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T15:12:46.232Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-08-09T15:12:46.912Z] + make test [2022-08-09T15:12:46.913Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T15:12:48.900Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T15:14:10.745Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T15:14:15.117Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.114s coverage: 10.6% of statements [2022-08-09T15:14:15.117Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T15:14:37.293Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.352s coverage: 13.8% of statements [2022-08-09T15:14:37.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T15:14:37.293Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T15:14:59.496Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T15:14:59.496Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T15:14:59.496Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T15:15:00.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T15:15:00.520Z] $ docker stop --time=1 a3121d0e28f50de8958f70a91b98d7b1d08d234eb4661a996726eafea76f627c [2022-08-09T15:15:02.291Z] $ docker rm -f a3121d0e28f50de8958f70a91b98d7b1d08d234eb4661a996726eafea76f627c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T15:15:03.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T15:15:03.272Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T15:15:03.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T15:15:04.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T15:15:04.552Z] + ls -al . [2022-08-09T15:15:04.552Z] total 228 [2022-08-09T15:15:04.552Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 15:15 . [2022-08-09T15:15:04.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:10 .. [2022-08-09T15:15:04.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 15:10 .git [2022-08-09T15:15:04.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 15:10 .github [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 15:10 .gitignore [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 15:10 .golangci.yml [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 15:10 Attribution.txt [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 15:10 CHANGELOG.md [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 15:10 Dockerfile [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 15:10 GOVERNANCE.md [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 15:10 Jenkinsfile [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 15:10 LICENSE [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 2615 Aug 9 15:10 Makefile [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 15:10 OWNERS.md [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 15:10 README.md [2022-08-09T15:15:04.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 15:08 VERSION [2022-08-09T15:15:04.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 15:10 bin [2022-08-09T15:15:04.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 15:10 cmd [2022-08-09T15:15:04.552Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 15:14 coverage.out [2022-08-09T15:15:04.552Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 15:10 doc [2022-08-09T15:15:04.553Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 15:10 go.mod [2022-08-09T15:15:04.553Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 15:10 go.sum [2022-08-09T15:15:04.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:10 internal [2022-08-09T15:15:04.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 15:10 snap [2022-08-09T15:15:04.553Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:15:04.917Z] + 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=2fe509be12b62d1e18a1593104818c092c2f2e92 --label arch=arm64 --label version=0.0.0 . [2022-08-09T15:15:05.516Z] Sending build context to Docker daemon 13.94MB [2022-08-09T15:15:05.516Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T15:15:05.516Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T15:15:05.516Z] ---> 58b38be35712 [2022-08-09T15:15:05.516Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T15:15:05.799Z] ---> Running in a90477d7513c [2022-08-09T15:15:06.072Z] Removing intermediate container a90477d7513c [2022-08-09T15:15:06.072Z] ---> c1f6a43d6b90 [2022-08-09T15:15:06.072Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T15:15:06.072Z] ---> Running in 506b1a055767 [2022-08-09T15:15:06.347Z] Removing intermediate container 506b1a055767 [2022-08-09T15:15:06.347Z] ---> 28c33866655c [2022-08-09T15:15:06.347Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T15:15:06.347Z] ---> Running in d9fbf92edec8 [2022-08-09T15:15:06.634Z] Removing intermediate container d9fbf92edec8 [2022-08-09T15:15:06.634Z] ---> b417d8dd517f [2022-08-09T15:15:06.634Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T15:15:06.910Z] ---> Running in 7602e07a6d8f [2022-08-09T15:15:07.185Z] Removing intermediate container 7602e07a6d8f [2022-08-09T15:15:07.185Z] ---> e477c1df3d5e [2022-08-09T15:15:07.185Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T15:15:07.185Z] ---> Running in 668daac8e302 [2022-08-09T15:15:09.171Z] Removing intermediate container 668daac8e302 [2022-08-09T15:15:09.171Z] ---> 8188eef05cb0 [2022-08-09T15:15:09.171Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T15:15:09.171Z] ---> Running in 89775b134f22 [2022-08-09T15:15:09.768Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T15:15:10.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T15:15:11.753Z] OK: 221 MiB in 51 packages [2022-08-09T15:15:12.355Z] Removing intermediate container 89775b134f22 [2022-08-09T15:15:12.355Z] ---> f3f40f8b3acb [2022-08-09T15:15:12.355Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T15:15:12.355Z] ---> Running in 23ce0c413488 [2022-08-09T15:15:12.651Z] Removing intermediate container 23ce0c413488 [2022-08-09T15:15:12.651Z] ---> 503b590c7b6a [2022-08-09T15:15:12.651Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T15:15:13.252Z] ---> 0245ca02dc76 [2022-08-09T15:15:13.252Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T15:15:13.252Z] ---> Running in 40e79cfae3f5 [2022-08-09T15:15:15.236Z] Removing intermediate container 40e79cfae3f5 [2022-08-09T15:15:15.236Z] ---> ad8a8f813436 [2022-08-09T15:15:15.236Z] Step 12/26 : COPY . . [2022-08-09T15:15:16.698Z] ---> 79663a139cd1 [2022-08-09T15:15:16.698Z] Step 13/26 : RUN ${MAKE} [2022-08-09T15:15:16.974Z] ---> Running in 579aac376889 [2022-08-09T15:15:17.974Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T15:17:24.878Z] Removing intermediate container 579aac376889 [2022-08-09T15:17:24.878Z] ---> e54f8b261b7c [2022-08-09T15:17:24.878Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T15:17:24.878Z] 3.15: Pulling from library/alpine [2022-08-09T15:17:24.878Z] e0295fd11fe2: Pulling fs layer [2022-08-09T15:17:24.878Z] e0295fd11fe2: Verifying Checksum [2022-08-09T15:17:24.878Z] e0295fd11fe2: Download complete [2022-08-09T15:17:24.878Z] e0295fd11fe2: Pull complete [2022-08-09T15:17:24.878Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-08-09T15:17:24.878Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T15:17:24.878Z] ---> 60f2846fe774 [2022-08-09T15:17:24.878Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T15:17:24.879Z] ---> Running in e9543c17438e [2022-08-09T15:17:25.154Z] Removing intermediate container e9543c17438e [2022-08-09T15:17:25.154Z] ---> c3ee8999009b [2022-08-09T15:17:25.154Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T15:17:25.438Z] ---> Running in 47d09c4d5bbf [2022-08-09T15:17:26.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-09T15:17:26.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-09T15:17:27.677Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T15:17:27.677Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T15:17:27.677Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T15:17:27.677Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T15:17:27.677Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T15:17:27.677Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T15:17:27.677Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T15:17:27.677Z] OK: 8 MiB in 20 packages [2022-08-09T15:17:28.658Z] Removing intermediate container 47d09c4d5bbf [2022-08-09T15:17:28.658Z] ---> 63784150e36a [2022-08-09T15:17:28.658Z] Step 17/26 : WORKDIR / [2022-08-09T15:17:28.658Z] ---> Running in f4a1a4f9112a [2022-08-09T15:17:28.935Z] Removing intermediate container f4a1a4f9112a [2022-08-09T15:17:28.935Z] ---> 3ae0e88c6a74 [2022-08-09T15:17:28.935Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T15:17:30.371Z] ---> 3a49745674e1 [2022-08-09T15:17:30.371Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T15:17:30.646Z] ---> c5d81f750ff5 [2022-08-09T15:17:30.646Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T15:17:31.243Z] ---> 5df241ecba91 [2022-08-09T15:17:31.243Z] Step 21/26 : EXPOSE 59984 [2022-08-09T15:17:31.243Z] ---> Running in 8920dedf9798 [2022-08-09T15:17:31.519Z] Removing intermediate container 8920dedf9798 [2022-08-09T15:17:31.519Z] ---> 015786276ad8 [2022-08-09T15:17:31.519Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T15:17:31.795Z] ---> Running in e5824fee6274 [2022-08-09T15:17:32.079Z] Removing intermediate container e5824fee6274 [2022-08-09T15:17:32.079Z] ---> cdaf5c39b3d1 [2022-08-09T15:17:32.079Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T15:17:32.079Z] ---> Running in fc7d0b94e6f8 [2022-08-09T15:17:32.357Z] Removing intermediate container fc7d0b94e6f8 [2022-08-09T15:17:32.357Z] ---> 0949f17027fe [2022-08-09T15:17:32.357Z] Step 24/26 : LABEL arch=arm64 [2022-08-09T15:17:32.357Z] ---> Running in bd03fe42c210 [2022-08-09T15:17:32.954Z] Removing intermediate container bd03fe42c210 [2022-08-09T15:17:32.954Z] ---> 8568c72e43da [2022-08-09T15:17:32.954Z] Step 25/26 : LABEL git_sha=2fe509be12b62d1e18a1593104818c092c2f2e92 [2022-08-09T15:17:32.954Z] ---> Running in 4eec19579ef5 [2022-08-09T15:17:33.228Z] Removing intermediate container 4eec19579ef5 [2022-08-09T15:17:33.228Z] ---> e00eaf5da40f [2022-08-09T15:17:33.228Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T15:17:33.228Z] ---> Running in dda16b02a8fb [2022-08-09T15:17:33.502Z] Removing intermediate container dda16b02a8fb [2022-08-09T15:17:33.502Z] ---> 1a107d394f08 [2022-08-09T15:17:33.502Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T15:17:33.502Z] Successfully built 1a107d394f08 [2022-08-09T15:17:33.502Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:17:33.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T15:17:33.975Z] [2022-08-09T15:17:33.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:17:34.330Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T15:17:34.330Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T15:17:34.330Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T15:17:34.330Z] 04944245beec: Pulling fs layer [2022-08-09T15:17:34.330Z] 699f458cf7ca: Pulling fs layer [2022-08-09T15:17:34.330Z] 765212b225bb: Pulling fs layer [2022-08-09T15:17:34.330Z] f23df028b6ca: Pulling fs layer [2022-08-09T15:17:34.330Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T15:17:34.330Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T15:17:34.330Z] 765212b225bb: Waiting [2022-08-09T15:17:34.330Z] f23df028b6ca: Waiting [2022-08-09T15:17:34.330Z] d65c8cfc05b1: Waiting [2022-08-09T15:17:34.330Z] 2437ff75d9bd: Waiting [2022-08-09T15:17:34.609Z] 04944245beec: Verifying Checksum [2022-08-09T15:17:34.609Z] 04944245beec: Download complete [2022-08-09T15:17:34.609Z] 765212b225bb: Verifying Checksum [2022-08-09T15:17:34.609Z] 765212b225bb: Download complete [2022-08-09T15:17:34.609Z] f23df028b6ca: Download complete [2022-08-09T15:17:34.609Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T15:17:34.609Z] d65c8cfc05b1: Download complete [2022-08-09T15:17:34.886Z] 699f458cf7ca: Verifying Checksum [2022-08-09T15:17:34.886Z] 699f458cf7ca: Download complete [2022-08-09T15:17:35.161Z] 8998bd30e6a1: Download complete [2022-08-09T15:17:37.171Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T15:17:37.171Z] 2437ff75d9bd: Download complete [2022-08-09T15:17:39.160Z] 8998bd30e6a1: Pull complete [2022-08-09T15:17:39.778Z] 04944245beec: Pull complete [2022-08-09T15:17:41.225Z] 699f458cf7ca: Pull complete [2022-08-09T15:17:41.225Z] 765212b225bb: Pull complete [2022-08-09T15:17:42.210Z] f23df028b6ca: Pull complete [2022-08-09T15:17:42.210Z] d65c8cfc05b1: Pull complete [2022-08-09T15:17:57.345Z] 2437ff75d9bd: Pull complete [2022-08-09T15:17:57.345Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T15:17:57.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T15:17:57.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:17:57.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-22220 does not seem to be running inside a container [2022-08-09T15:17:57.704Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-08-09T15:18:00.219Z] $ docker top 03d4d2bbcd9535d417ae295aaa31641c3c790d44a6e7084f70cb1c307285ce5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:01.139Z] ---> job-cost.sh [2022-08-09T15:18:01.139Z] lf-activate-venv: SKIPPING [2022-08-09T15:18:01.139Z] INFO: No Stack... [2022-08-09T15:18:01.739Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T15:18:02.338Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T15:18:03.006Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-08-09T15:18:03.006Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T15:18:03.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [2022-08-09T15:18:03.078Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] did not exist. Created. [2022-08-09T15:18:03.078Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T15:18:03.759Z] /w/workspace/device-onvif-camera/5@tmp/durable-b099a7bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T15:18:04.455Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T15:18:04.484Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T15:18:04.550Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T15:18:04.557Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T15:18:04.590Z] $ docker stop --time=1 03d4d2bbcd9535d417ae295aaa31641c3c790d44a6e7084f70cb1c307285ce5a [2022-08-09T15:18:06.146Z] $ docker rm -f 03d4d2bbcd9535d417ae295aaa31641c3c790d44a6e7084f70cb1c307285ce5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-09T15:18:06.679Z] provisioning config files... [2022-08-09T15:18:06.695Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config5672258512939482109tmp [Pipeline] { [Pipeline] sh [2022-08-09T15:18:06.993Z] + set +x [2022-08-09T15:18:06.993Z] + curl -s https://codecov.io/bash [2022-08-09T15:18:06.993Z] + bash -s -- [2022-08-09T15:18:06.993Z] [2022-08-09T15:18:06.993Z] _____ _ [2022-08-09T15:18:06.993Z] / ____| | | [2022-08-09T15:18:06.993Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T15:18:06.993Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T15:18:06.993Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T15:18:06.993Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T15:18:06.993Z] Bash-1.0.6 [2022-08-09T15:18:06.993Z] [2022-08-09T15:18:06.993Z] [2022-08-09T15:18:06.993Z] ==> git version 2.25.1 found [2022-08-09T15:18:06.993Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-09T15:18:06.993Z] Release-Date: 2020-01-08 [2022-08-09T15:18:06.993Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-09T15:18:06.993Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T15:18:06.993Z] ==> Jenkins CI detected. [2022-08-09T15:18:06.993Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T15:18:06.993Z] project root: . [2022-08-09T15:18:06.993Z] --> token set from env [2022-08-09T15:18:06.994Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T15:18:06.994Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T15:18:06.994Z] ==> Python coveragepy not found [2022-08-09T15:18:06.994Z] ==> Searching for coverage reports in: [2022-08-09T15:18:06.994Z] + . [2022-08-09T15:18:06.994Z] -> Found 1 reports [2022-08-09T15:18:06.994Z] ==> Detecting git/mercurial file structure [2022-08-09T15:18:07.257Z] ==> Reading reports [2022-08-09T15:18:07.257Z] + ./coverage.out bytes=76856 [2022-08-09T15:18:07.257Z] ==> Appending adjustments [2022-08-09T15:18:07.257Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T15:18:07.257Z] + Found adjustments [2022-08-09T15:18:07.257Z] ==> Gzipping contents [2022-08-09T15:18:07.257Z] 12K /tmp/codecov.uVYMQo.gz [2022-08-09T15:18:07.257Z] ==> Uploading reports [2022-08-09T15:18:07.257Z] url: https://codecov.io [2022-08-09T15:18:07.257Z] query: branch=PR-124&commit=e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T15:18:07.257Z] -> Pinging Codecov [2022-08-09T15:18:07.257Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-124&commit=e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T15:18:07.517Z] -> Uploading to [2022-08-09T15:18:07.517Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/F29A59C45E3A92E06B3E522C9905F8EF/e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5/6625b6bc-5173-4039-9d15-9213b4242dbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T151807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4761b3da9d104cbfb510b7352a1f8bad89300877266ad057f14432029c84d2c1 [2022-08-09T15:18:07.517Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T15:18:07.517Z] Dload Upload Total Spent Left Speed [2022-08-09T15:18:07.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10387 0 0 100 10387 0 42052 --:--:-- --:--:-- --:--:-- 42052 [2022-08-09T15:18:07.779Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/e43a1bb1a7ac961833e1dda300fcbb711fdfaaa5 [Pipeline] } [2022-08-09T15:18:07.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-09T15:18:08.572Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-124/archives ] [2022-08-09T15:18:08.572Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T15:18:08.572Z] total 16 [2022-08-09T15:18:08.572Z] drwxr-xr-x 3 root root 4096 Aug 9 15:10 . [2022-08-09T15:18:08.572Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 15:10 .. [2022-08-09T15:18:08.572Z] drwxr-xr-x 2 root root 4096 Aug 9 15:10 cost [2022-08-09T15:18:08.572Z] -rw-r--r-- 1 root root 91 Aug 9 15:10 cost.csv [2022-08-09T15:18:08.572Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T15:18:08.572Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T15:18:08.572Z] total 16 [2022-08-09T15:18:08.572Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 15:10 . [2022-08-09T15:18:08.572Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 15:10 .. [2022-08-09T15:18:08.572Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 15:10 cost [2022-08-09T15:18:08.572Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 9 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:08.866Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:09.741Z] ---> package-listing.sh [2022-08-09T15:18:09.741Z] ++ facter osfamily [2022-08-09T15:18:09.741Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T15:18:10.002Z] + OS_FAMILY=debian [2022-08-09T15:18:10.002Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T15:18:10.002Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T15:18:10.002Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T15:18:10.002Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T15:18:10.002Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T15:18:10.002Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T15:18:10.002Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T15:18:10.002Z] + case "${OS_FAMILY}" in [2022-08-09T15:18:10.002Z] + dpkg -l [2022-08-09T15:18:10.002Z] + grep '^ii' [2022-08-09T15:18:10.002Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T15:18:10.002Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T15:18:10.002Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T15:18:10.002Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T15:18:10.002Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-124/archives/ [2022-08-09T15:18:10.002Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-124/archives/ [Pipeline] echo [2022-08-09T15:18:10.013Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T15:18:10.297Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T15:18:10.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T15:18:10.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T15:18:10.945Z] prd-ubuntu20.04-docker-8c-8g-22219 does not seem to be running inside a container [2022-08-09T15:18:10.998Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-08-09T15:18:11.192Z] $ docker top 0b8e4c741f6670d37aeab1856725491480bce58b8879c9431b2fd7956507543a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T15:18:11.530Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T15:18:11.820Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T15:18:12.108Z] + ls /var/log/sa-host [2022-08-09T15:18:12.108Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T15:18:12.256Z] provisioning config files... [2022-08-09T15:18:12.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config2827291595821822417tmp [Pipeline] { [Pipeline] echo [2022-08-09T15:18:12.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:12.578Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T15:18:12.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:12.937Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T15:18:12.947Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:13.230Z] ---> sudo-logs.sh [2022-08-09T15:18:13.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T15:18:13.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:13.545Z] ---> job-cost.sh [2022-08-09T15:18:13.545Z] lf-activate-venv: SKIPPING [2022-08-09T15:18:13.545Z] DEBUG: total: 0.2199999988079071 [2022-08-09T15:18:13.545Z] INFO: Retrieving Stack Cost... [2022-08-09T15:18:14.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T15:18:14.376Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T15:18:14.388Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T15:18:14.678Z] ---> logs-deploy.sh [2022-08-09T15:18:14.678Z] lf-activate-venv: SKIPPING [2022-08-09T15:18:14.678Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-124/5 [2022-08-09T15:18:14.678Z] INFO: archiving workspace using pattern(s): [2022-08-09T15:18:15.619Z] Archives upload complete. [2022-08-09T15:18:15.619Z] INFO: archiving logs to Nexus