Pull request #149 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than 9fa38fa5be5dd4a4d2297ad6c4d1b088ec4ae30c Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh3707890860613973834.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4429972402535475073.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10732858349203477979.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh7737596446796352978.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6934760064442708066.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24001 in /w/workspace/undry_device-onvif-camera_PR-149 [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-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 9fa38fa5be5dd4a4d2297ad6c4d1b088ec4ae30c Merge succeeded, producing d040fc3747327396c9b80cbb7847fa58a6fa5d65 Checking out Revision d040fc3747327396c9b80cbb7847fa58a6fa5d65 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fa38fa5be5dd4a4d2297ad6c4d1b088ec4ae30c # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d040fc3747327396c9b80cbb7847fa58a6fa5d65 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T22:38:09.791Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T22:38:09.853Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T22:38:09.871Z] ========================================================= [2022-08-30T22:38:09.871Z] EdgeX Global Pipelines Version Info [2022-08-30T22:38:09.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f72791a0c5966fa12a369a6ac41c7d5bec37cb5c # timeout=10 [2022-08-30T22:38:10.633Z] ------------------- [2022-08-30T22:38:10.634Z] stable info: [2022-08-30T22:38:10.634Z] ------------------- [2022-08-30T22:38:10.634Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T22:38:10.634Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T22:38:10.634Z] Message: update stable to v1.0.239 [2022-08-30T22:38:11.205Z] ------------------- [2022-08-30T22:38:11.205Z] experimental info: [2022-08-30T22:38:11.205Z] ------------------- [2022-08-30T22:38:11.205Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T22:38:11.205Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T22:38:11.205Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T22:38:11.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T22:38:11.381Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T22:38:11.391Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T22:38:11.403Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T22:38:11.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T22:38:11.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T22:38:11.450Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T22:38:11.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T22:38:11.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T22:38:11.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T22:38:11.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T22:38:11.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T22:38:11.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T22:38:11.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T22:38:11.544Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T22:38:11.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T22:38:11.567Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T22:38:11.579Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T22:38:11.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T22:38:11.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T22:38:11.627Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T22:38:11.638Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T22:38:11.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T22:38:11.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T22:38:11.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T22:38:11.683Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T22:38:11.698Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T22:38:11.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T22:38:11.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T22:38:11.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T22:38:11.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d040fc3747327396c9b80cbb7847fa58a6fa5d65 [Pipeline] echo [2022-08-30T22:38:11.774Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d040fc3 [Pipeline] echo [2022-08-30T22:38:11.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:38:11.841Z] provisioning config files... [2022-08-30T22:38:11.855Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6594766624563010440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:38:12.159Z] ---> docker-login.sh [2022-08-30T22:38:12.160Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:38:12.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:12.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:12.421Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:12.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:12.421Z] [2022-08-30T22:38:12.421Z] Login Succeeded [2022-08-30T22:38:12.421Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:38:12.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:12.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:12.682Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:12.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:12.682Z] [2022-08-30T22:38:12.682Z] Login Succeeded [2022-08-30T22:38:12.682Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:38:12.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:12.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:12.682Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:12.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:12.682Z] [2022-08-30T22:38:12.682Z] Login Succeeded [2022-08-30T22:38:12.682Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:38:12.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:12.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:12.943Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:12.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:12.943Z] [2022-08-30T22:38:12.943Z] Login Succeeded [2022-08-30T22:38:12.943Z] docker.io [2022-08-30T22:38:12.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:13.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:13.513Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:13.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:13.514Z] [2022-08-30T22:38:13.514Z] Login Succeeded [2022-08-30T22:38:13.514Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:38:13.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T22:38:13.913Z] + git rev-list -1 --merges d040fc3747327396c9b80cbb7847fa58a6fa5d65~1..d040fc3747327396c9b80cbb7847fa58a6fa5d65 [Pipeline] echo [2022-08-30T22:38:13.942Z] -----------> git rev-list -1 --merges d040fc3747327396c9b80cbb7847fa58a6fa5d65~1..d040fc3747327396c9b80cbb7847fa58a6fa5d65 d040fc3747327396c9b80cbb7847fa58a6fa5d65 [2022-08-30T22:38:13.942Z] d040fc3747327396c9b80cbb7847fa58a6fa5d65 [false] [Pipeline] sh [2022-08-30T22:38:14.236Z] + git log --format=format:%s -1 d040fc3747327396c9b80cbb7847fa58a6fa5d65 [Pipeline] echo [2022-08-30T22:38:14.254Z] ========================================================= [2022-08-30T22:38:14.255Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T22:38:14.255Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:38:14.607Z] + git log --format=format:%s -1 d040fc3747327396c9b80cbb7847fa58a6fa5d65 [Pipeline] echo [2022-08-30T22:38:14.619Z] [semverPrep] GIT_COMMIT: d040fc3747327396c9b80cbb7847fa58a6fa5d65, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-30T22:38:14.627Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T22:38:14.997Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T22:38:14.998Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T22:38:14.998Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T22:38:14.998Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T22:38:14.998Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T22:38:14.998Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T22:38:14.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:38:15.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:38:15.419Z] [2022-08-30T22:38:15.419Z] 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-30T22:38:15.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:38:15.720Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T22:38:15.720Z] b85a868b505f: Pulling fs layer [2022-08-30T22:38:15.720Z] e2be974225ed: Pulling fs layer [2022-08-30T22:38:15.720Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T22:38:15.720Z] 988bab9f4d93: Pulling fs layer [2022-08-30T22:38:15.720Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T22:38:15.720Z] eaf3925da568: Pulling fs layer [2022-08-30T22:38:15.720Z] bab4dde63d76: Pulling fs layer [2022-08-30T22:38:15.720Z] bde34c3a00c8: Pulling fs layer [2022-08-30T22:38:15.720Z] b352a97aabf1: Pulling fs layer [2022-08-30T22:38:15.720Z] 4872d77fe225: Pulling fs layer [2022-08-30T22:38:15.720Z] 5851b861e8e6: Pulling fs layer [2022-08-30T22:38:15.720Z] 988bab9f4d93: Waiting [2022-08-30T22:38:15.720Z] 4872d77fe225: Waiting [2022-08-30T22:38:15.720Z] 5851b861e8e6: Waiting [2022-08-30T22:38:15.720Z] b352a97aabf1: Waiting [2022-08-30T22:38:15.720Z] 1469e6f7b9e6: Waiting [2022-08-30T22:38:15.720Z] eaf3925da568: Waiting [2022-08-30T22:38:15.720Z] bab4dde63d76: Waiting [2022-08-30T22:38:15.720Z] bde34c3a00c8: Waiting [2022-08-30T22:38:15.720Z] e2be974225ed: Download complete [2022-08-30T22:38:15.720Z] 988bab9f4d93: Download complete [2022-08-30T22:38:15.982Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T22:38:15.982Z] 1469e6f7b9e6: Download complete [2022-08-30T22:38:15.982Z] eaf3925da568: Download complete [2022-08-30T22:38:15.982Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T22:38:15.982Z] 339a4e72a1f5: Download complete [2022-08-30T22:38:15.982Z] bde34c3a00c8: Download complete [2022-08-30T22:38:15.982Z] b352a97aabf1: Download complete [2022-08-30T22:38:15.982Z] 4872d77fe225: Verifying Checksum [2022-08-30T22:38:15.982Z] 4872d77fe225: Download complete [2022-08-30T22:38:15.982Z] 5851b861e8e6: Download complete [2022-08-30T22:38:16.241Z] b85a868b505f: Verifying Checksum [2022-08-30T22:38:16.241Z] b85a868b505f: Download complete [2022-08-30T22:38:16.501Z] bab4dde63d76: Verifying Checksum [2022-08-30T22:38:16.501Z] bab4dde63d76: Download complete [2022-08-30T22:38:17.444Z] b85a868b505f: Pull complete [2022-08-30T22:38:17.705Z] e2be974225ed: Pull complete [2022-08-30T22:38:18.282Z] 339a4e72a1f5: Pull complete [2022-08-30T22:38:18.282Z] 988bab9f4d93: Pull complete [2022-08-30T22:38:18.542Z] 1469e6f7b9e6: Pull complete [2022-08-30T22:38:18.542Z] eaf3925da568: Pull complete [2022-08-30T22:38:20.450Z] bab4dde63d76: Pull complete [2022-08-30T22:38:20.450Z] bde34c3a00c8: Pull complete [2022-08-30T22:38:20.712Z] b352a97aabf1: Pull complete [2022-08-30T22:38:20.712Z] 4872d77fe225: Pull complete [2022-08-30T22:38:20.712Z] 5851b861e8e6: Pull complete [2022-08-30T22:38:20.712Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T22:38:20.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T22:38:20.712Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:38:20.853Z] prd-ubuntu20.04-docker-8c-8g-24001 does not seem to be running inside a container [2022-08-30T22:38:20.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-30T22:38:22.872Z] $ docker top bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 -eo pid,comm [2022-08-30T22:38:22.942Z] 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-30T22:38:22.942Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T22:38:22.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T22:38:22.986Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T22:38:23.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T22:38:23.109Z] $ docker exec bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 ssh-agent [2022-08-30T22:38:23.228Z] SSH_AUTH_SOCK=/tmp/ssh-q9ORt1A8V74q/agent.33 [2022-08-30T22:38:23.228Z] SSH_AGENT_PID=39 [2022-08-30T22:38:23.234Z] Running ssh-add (command line suppressed) [2022-08-30T22:38:23.348Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7028910310076282652.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_7028910310076282652.key) [2022-08-30T22:38:23.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T22:38:23.652Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T22:38:23.671Z] $ docker exec --env ******** --env ******** bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 ssh-agent -k [2022-08-30T22:38:23.782Z] unset SSH_AUTH_SOCK; [2022-08-30T22:38:23.782Z] unset SSH_AGENT_PID; [2022-08-30T22:38:23.783Z] echo Agent pid 39 killed; [2022-08-30T22:38:23.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T22:38:23.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T22:38:23.823Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T22:38:23.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T22:38:23.951Z] $ docker exec bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 ssh-agent [2022-08-30T22:38:24.091Z] SSH_AUTH_SOCK=/tmp/ssh-ZIeGh5L4xq6b/agent.74 [2022-08-30T22:38:24.091Z] SSH_AGENT_PID=80 [2022-08-30T22:38:24.097Z] Running ssh-add (command line suppressed) [2022-08-30T22:38:24.228Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_565699850618809216.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_565699850618809216.key) [2022-08-30T22:38:24.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T22:38:24.559Z] + git semver init [2022-08-30T22:38:24.818Z] 2022-08-30 22:38:24,762 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T22:38:24.818Z] 2022-08-30 22:38:24,762 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T22:38:24.818Z] 2022-08-30 22:38:24,763 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T22:38:24.818Z] 2022-08-30 22:38:24,763 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,515 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,515 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,519 [execute] INFO git cat-file --batch-check [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,526 [execute] INFO git cat-file --batch [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T22:38:25.761Z] 2022-08-30 22:38:25,532 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T22:38:25.761Z] 0.0.0 [Pipeline] } [2022-08-30T22:38:25.780Z] $ docker exec --env ******** --env ******** bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 ssh-agent -k [2022-08-30T22:38:25.896Z] unset SSH_AUTH_SOCK; [2022-08-30T22:38:25.897Z] unset SSH_AGENT_PID; [2022-08-30T22:38:25.897Z] echo Agent pid 80 killed; [2022-08-30T22:38:25.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T22:38:26.209Z] + git semver [Pipeline] } [2022-08-30T22:38:26.485Z] $ docker stop --time=1 bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 [2022-08-30T22:38:27.751Z] $ docker rm -f bd74bc3b36b8235c8271951bccb89fc2f02dda6cfe2ce5b21be369e1d2c26334 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:38:28.110Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T22:38:28.361Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T22:38:28.364Z] [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-30T22:38:28.527Z] provisioning config files... [2022-08-30T22:38:28.537Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config4380735590475320505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:38:28.837Z] ---> docker-login.sh [2022-08-30T22:38:28.837Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:38:28.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:28.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:28.837Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:28.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:28.837Z] [2022-08-30T22:38:28.837Z] Login Succeeded [2022-08-30T22:38:28.837Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:38:28.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:29.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:29.100Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:29.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:29.100Z] [2022-08-30T22:38:29.100Z] Login Succeeded [2022-08-30T22:38:29.100Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:38:29.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:29.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:29.100Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:29.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:29.100Z] [2022-08-30T22:38:29.100Z] Login Succeeded [2022-08-30T22:38:29.100Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:38:29.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:29.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:29.360Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:29.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:29.360Z] [2022-08-30T22:38:29.360Z] Login Succeeded [2022-08-30T22:38:29.360Z] docker.io [2022-08-30T22:38:29.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:38:29.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:38:29.622Z] Configure a credential helper to remove this warning. See [2022-08-30T22:38:29.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:38:29.622Z] [2022-08-30T22:38:29.622Z] Login Succeeded [2022-08-30T22:38:29.622Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:38:29.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T22:38:29.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:38:29.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:38:29.725Z] ========================================================= [2022-08-30T22:38:29.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T22:38:29.725Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:38:30.050Z] + 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-30T22:38:30.050Z] Sending build context to Docker daemon 20.68MB [2022-08-30T22:38:30.050Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:38:30.050Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T22:38:30.311Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T22:38:30.311Z] 2408cc74d12b: Pulling fs layer [2022-08-30T22:38:30.311Z] ea60b727a1ce: Pulling fs layer [2022-08-30T22:38:30.311Z] 30c4a7721957: Pulling fs layer [2022-08-30T22:38:30.311Z] 370296b7ddb6: Pulling fs layer [2022-08-30T22:38:30.311Z] 7c6cee850709: Pulling fs layer [2022-08-30T22:38:30.311Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T22:38:30.311Z] d94ebbe4e438: Pulling fs layer [2022-08-30T22:38:30.311Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T22:38:30.311Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T22:38:30.311Z] d94ebbe4e438: Waiting [2022-08-30T22:38:30.311Z] 59ccb84bbe0f: Waiting [2022-08-30T22:38:30.311Z] 370296b7ddb6: Waiting [2022-08-30T22:38:30.311Z] 7c6cee850709: Waiting [2022-08-30T22:38:30.311Z] bcfd1f05c69d: Waiting [2022-08-30T22:38:30.311Z] 39a5fcdaea64: Waiting [2022-08-30T22:38:30.311Z] 30c4a7721957: Verifying Checksum [2022-08-30T22:38:30.311Z] 30c4a7721957: Download complete [2022-08-30T22:38:30.311Z] ea60b727a1ce: Verifying Checksum [2022-08-30T22:38:30.311Z] ea60b727a1ce: Download complete [2022-08-30T22:38:30.311Z] 7c6cee850709: Verifying Checksum [2022-08-30T22:38:30.311Z] 7c6cee850709: Download complete [2022-08-30T22:38:30.311Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T22:38:30.311Z] 39a5fcdaea64: Download complete [2022-08-30T22:38:30.311Z] 2408cc74d12b: Verifying Checksum [2022-08-30T22:38:30.311Z] 2408cc74d12b: Download complete [2022-08-30T22:38:30.311Z] d94ebbe4e438: Download complete [2022-08-30T22:38:30.574Z] 2408cc74d12b: Pull complete [2022-08-30T22:38:30.575Z] ea60b727a1ce: Pull complete [2022-08-30T22:38:30.575Z] 30c4a7721957: Pull complete [2022-08-30T22:38:30.575Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T22:38:30.575Z] 59ccb84bbe0f: Download complete [2022-08-30T22:38:31.159Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T22:38:31.159Z] bcfd1f05c69d: Download complete [2022-08-30T22:38:31.159Z] 370296b7ddb6: Verifying Checksum [2022-08-30T22:38:31.159Z] 370296b7ddb6: Download complete [2022-08-30T22:38:35.385Z] 370296b7ddb6: Pull complete [2022-08-30T22:38:35.385Z] 7c6cee850709: Pull complete [2022-08-30T22:38:35.385Z] 39a5fcdaea64: Pull complete [2022-08-30T22:38:35.385Z] d94ebbe4e438: Pull complete [2022-08-30T22:38:36.771Z] bcfd1f05c69d: Pull complete [2022-08-30T22:38:37.715Z] 59ccb84bbe0f: Pull complete [2022-08-30T22:38:37.715Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T22:38:37.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T22:38:37.715Z] ---> a4fb48ad2a94 [2022-08-30T22:38:37.715Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T22:38:41.021Z] ---> Running in 4311ccff7201 [2022-08-30T22:38:41.021Z] Removing intermediate container 4311ccff7201 [2022-08-30T22:38:41.021Z] ---> 0a004d30f458 [2022-08-30T22:38:41.021Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:38:41.021Z] ---> Running in 347d27e3862b [2022-08-30T22:38:41.021Z] Removing intermediate container 347d27e3862b [2022-08-30T22:38:41.021Z] ---> 4e2c0dabc54d [2022-08-30T22:38:41.021Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:38:41.021Z] ---> Running in d96446ff8730 [2022-08-30T22:38:41.021Z] Removing intermediate container d96446ff8730 [2022-08-30T22:38:41.021Z] ---> b012bc3ade29 [2022-08-30T22:38:41.021Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:38:41.021Z] ---> Running in efcb76bf4bea [2022-08-30T22:38:41.022Z] Removing intermediate container efcb76bf4bea [2022-08-30T22:38:41.022Z] ---> 33f601b4dacd [2022-08-30T22:38:41.022Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:38:41.022Z] ---> Running in 12a09f18ca2a [2022-08-30T22:38:41.592Z] Removing intermediate container 12a09f18ca2a [2022-08-30T22:38:41.592Z] ---> 805c0bcef85e [2022-08-30T22:38:41.592Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:38:41.592Z] ---> Running in 3d78fc1a0a4a [2022-08-30T22:38:41.853Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:38:42.806Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:38:43.065Z] OK: 211 MiB in 51 packages [2022-08-30T22:38:43.325Z] Removing intermediate container 3d78fc1a0a4a [2022-08-30T22:38:43.325Z] ---> ed8d82aacf56 [2022-08-30T22:38:43.325Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T22:38:43.325Z] ---> Running in 098f2e75f43d [2022-08-30T22:38:43.325Z] Removing intermediate container 098f2e75f43d [2022-08-30T22:38:43.325Z] ---> 7caea8002119 [2022-08-30T22:38:43.325Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T22:38:43.474Z] Still waiting to schedule task [2022-08-30T22:38:43.474Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T22:38:43.586Z] ---> f467ba68a272 [2022-08-30T22:38:43.586Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:38:43.586Z] ---> Running in 4cd16d3a793f [2022-08-30T22:39:01.704Z] Removing intermediate container 4cd16d3a793f [2022-08-30T22:39:01.704Z] ---> b2ac7223ecd5 [2022-08-30T22:39:01.704Z] Step 12/13 : COPY . . [2022-08-30T22:39:02.278Z] ---> 72a586f80f5c [2022-08-30T22:39:02.278Z] Step 13/13 : RUN ${MAKE} [2022-08-30T22:39:02.278Z] ---> Running in 96544ee94aab [2022-08-30T22:39:02.539Z] noop [2022-08-30T22:39:02.800Z] Removing intermediate container 96544ee94aab [2022-08-30T22:39:02.800Z] ---> cb8ff9828da0 [2022-08-30T22:39:02.800Z] Successfully built cb8ff9828da0 [2022-08-30T22:39:02.800Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:39:03.119Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T22:39:03.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:39:03.202Z] prd-ubuntu20.04-docker-8c-8g-24001 does not seem to be running inside a container [2022-08-30T22:39:03.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-30T22:39:03.596Z] $ docker top fe7f27292169dda23a8aecf7bde04491cd13772be25de811b9de34c130d15e89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:39:03.953Z] + go version [2022-08-30T22:39:03.953Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T22:39:03.968Z] $ docker stop --time=1 fe7f27292169dda23a8aecf7bde04491cd13772be25de811b9de34c130d15e89 [2022-08-30T22:39:05.293Z] $ docker rm -f fe7f27292169dda23a8aecf7bde04491cd13772be25de811b9de34c130d15e89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:39:05.736Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T22:39:05.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:39:05.815Z] prd-ubuntu20.04-docker-8c-8g-24001 does not seem to be running inside a container [2022-08-30T22:39:05.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-30T22:39:06.179Z] $ docker top 9f3e755ad1d4d54e3d741116f97186c511d033c939943b526d4993d34f1ae355 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:39:06.527Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T22:39:06.825Z] + make test [2022-08-30T22:39:06.826Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T22:39:07.084Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T22:39:17.071Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T22:39:17.330Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 23.9% of statements [2022-08-30T22:39:20.625Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.925s coverage: 13.8% of statements [2022-08-30T22:39:27.190Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T22:39:27.190Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T22:39:29.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T22:39:29.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T22:39:29.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T22:39:29.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T22:39:29.761Z] $ docker stop --time=1 9f3e755ad1d4d54e3d741116f97186c511d033c939943b526d4993d34f1ae355 [2022-08-30T22:39:31.839Z] $ docker rm -f 9f3e755ad1d4d54e3d741116f97186c511d033c939943b526d4993d34f1ae355 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:39:32.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T22:39:32.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-30T22:39:32.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T22:39:33.165Z] + ls -al . [2022-08-30T22:39:33.165Z] total 232 [2022-08-30T22:39:33.165Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 22:39 . [2022-08-30T22:39:33.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:38 .. [2022-08-30T22:39:33.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:39 .git [2022-08-30T22:39:33.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:38 .github [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 22:38 .gitignore [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:38 .golangci.yml [2022-08-30T22:39:33.165Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:38 .semver [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 22:38 Attribution.txt [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 22:38 CHANGELOG.md [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 22:38 Dockerfile [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:38 GOVERNANCE.md [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 22:38 Jenkinsfile [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 22:38 LICENSE [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 22:38 Makefile [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 22:38 OWNERS.md [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 22:38 README.md [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:38 VERSION [2022-08-30T22:39:33.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:38 bin [2022-08-30T22:39:33.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:38 cmd [2022-08-30T22:39:33.165Z] -rw-r--r-- 1 jenkins jenkins 77728 Aug 30 22:39 coverage.out [2022-08-30T22:39:33.165Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:38 doc [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 22:38 go.mod [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 22:38 go.sum [2022-08-30T22:39:33.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:38 internal [2022-08-30T22:39:33.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:38 snap [2022-08-30T22:39:33.165Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 22:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:39:33.475Z] + 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=d040fc3747327396c9b80cbb7847fa58a6fa5d65 --label arch=amd64 --label version=0.0.0 . [2022-08-30T22:39:33.475Z] Sending build context to Docker daemon 20.76MB [2022-08-30T22:39:33.475Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:39:33.475Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T22:39:33.475Z] ---> cb8ff9828da0 [2022-08-30T22:39:33.475Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T22:39:33.735Z] ---> Running in 65e726527823 [2022-08-30T22:39:33.735Z] Removing intermediate container 65e726527823 [2022-08-30T22:39:33.735Z] ---> d66f11dbbe01 [2022-08-30T22:39:33.735Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:39:33.735Z] ---> Running in 2e01e980fdcd [2022-08-30T22:39:33.995Z] Removing intermediate container 2e01e980fdcd [2022-08-30T22:39:33.995Z] ---> 956d998f73c7 [2022-08-30T22:39:33.995Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:39:33.995Z] ---> Running in 41b3e46f1004 [2022-08-30T22:39:33.995Z] Removing intermediate container 41b3e46f1004 [2022-08-30T22:39:33.995Z] ---> 5c44ac8dad22 [2022-08-30T22:39:33.995Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:39:33.995Z] ---> Running in 240de8d4f39d [2022-08-30T22:39:33.995Z] Removing intermediate container 240de8d4f39d [2022-08-30T22:39:33.995Z] ---> 15ebbe1f6942 [2022-08-30T22:39:33.995Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:39:33.995Z] ---> Running in 983f3499982e [2022-08-30T22:39:34.567Z] Removing intermediate container 983f3499982e [2022-08-30T22:39:34.567Z] ---> ce1b2508d8c4 [2022-08-30T22:39:34.567Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:39:34.567Z] ---> Running in 32a4de238054 [2022-08-30T22:39:34.827Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:39:35.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:39:36.339Z] OK: 211 MiB in 51 packages [2022-08-30T22:39:36.339Z] Removing intermediate container 32a4de238054 [2022-08-30T22:39:36.339Z] ---> 8ecfd20059ac [2022-08-30T22:39:36.339Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T22:39:36.339Z] ---> Running in 4c7d84a8bde0 [2022-08-30T22:39:36.600Z] Removing intermediate container 4c7d84a8bde0 [2022-08-30T22:39:36.600Z] ---> 9e248ce893c8 [2022-08-30T22:39:36.600Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T22:39:36.600Z] ---> 2c8bc4cced4b [2022-08-30T22:39:36.600Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:39:36.600Z] ---> Running in 95f4a4e126f0 [2022-08-30T22:39:37.539Z] Removing intermediate container 95f4a4e126f0 [2022-08-30T22:39:37.539Z] ---> 4a16dddb7059 [2022-08-30T22:39:37.539Z] Step 12/26 : COPY . . [2022-08-30T22:39:38.108Z] ---> adc9f5ccfd80 [2022-08-30T22:39:38.108Z] Step 13/26 : RUN ${MAKE} [2022-08-30T22:39:38.108Z] ---> Running in abeba5924d8b [2022-08-30T22:39:38.368Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T22:40:00.320Z] Removing intermediate container abeba5924d8b [2022-08-30T22:40:00.320Z] ---> 8d307951ef69 [2022-08-30T22:40:00.320Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T22:40:00.320Z] 3.16: Pulling from library/alpine [2022-08-30T22:40:00.320Z] 213ec9aee27d: Pulling fs layer [2022-08-30T22:40:00.320Z] 213ec9aee27d: Verifying Checksum [2022-08-30T22:40:00.320Z] 213ec9aee27d: Download complete [2022-08-30T22:40:00.320Z] 213ec9aee27d: Pull complete [2022-08-30T22:40:00.320Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T22:40:00.320Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T22:40:00.320Z] ---> 9c6f07244728 [2022-08-30T22:40:00.320Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T22:40:00.320Z] ---> Running in 81c3b115df51 [2022-08-30T22:40:00.320Z] Removing intermediate container 81c3b115df51 [2022-08-30T22:40:00.320Z] ---> 9eecd522db41 [2022-08-30T22:40:00.320Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T22:40:00.320Z] ---> Running in f130fc9cde83 [2022-08-30T22:40:00.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T22:40:00.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T22:40:00.320Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T22:40:00.320Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T22:40:00.320Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T22:40:00.320Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T22:40:00.320Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T22:40:00.320Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T22:40:00.320Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T22:40:00.320Z] OK: 8 MiB in 20 packages [2022-08-30T22:40:00.320Z] Removing intermediate container f130fc9cde83 [2022-08-30T22:40:00.320Z] ---> 3e55b8b76c9c [2022-08-30T22:40:00.320Z] Step 17/26 : WORKDIR / [2022-08-30T22:40:00.320Z] ---> Running in 684f2a485646 [2022-08-30T22:40:00.320Z] Removing intermediate container 684f2a485646 [2022-08-30T22:40:00.320Z] ---> bd72d7d84132 [2022-08-30T22:40:00.320Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T22:40:00.893Z] ---> c982cd3dc7fd [2022-08-30T22:40:00.893Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T22:40:00.893Z] ---> 5d2949c2fa62 [2022-08-30T22:40:00.893Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T22:40:00.893Z] ---> e31a157362ad [2022-08-30T22:40:00.893Z] Step 21/26 : EXPOSE 59984 [2022-08-30T22:40:00.893Z] ---> Running in 150f88923c55 [2022-08-30T22:40:01.158Z] Removing intermediate container 150f88923c55 [2022-08-30T22:40:01.159Z] ---> f98051a909b1 [2022-08-30T22:40:01.159Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T22:40:01.159Z] ---> Running in 9f2fb0df699a [2022-08-30T22:40:01.159Z] Removing intermediate container 9f2fb0df699a [2022-08-30T22:40:01.159Z] ---> 48da58fe3eaa [2022-08-30T22:40:01.159Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T22:40:01.159Z] ---> Running in c75953b8c290 [2022-08-30T22:40:01.159Z] Removing intermediate container c75953b8c290 [2022-08-30T22:40:01.159Z] ---> b69111d82ce5 [2022-08-30T22:40:01.159Z] Step 24/26 : LABEL arch=amd64 [2022-08-30T22:40:01.159Z] ---> Running in dadc6dc32f12 [2022-08-30T22:40:01.433Z] Removing intermediate container dadc6dc32f12 [2022-08-30T22:40:01.433Z] ---> b8f04d8fc661 [2022-08-30T22:40:01.433Z] Step 25/26 : LABEL git_sha=d040fc3747327396c9b80cbb7847fa58a6fa5d65 [2022-08-30T22:40:01.433Z] ---> Running in 6ed2cb5a5727 [2022-08-30T22:40:01.433Z] Removing intermediate container 6ed2cb5a5727 [2022-08-30T22:40:01.433Z] ---> d16c6642e63a [2022-08-30T22:40:01.433Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T22:40:01.433Z] ---> Running in f3990e097b89 [2022-08-30T22:40:01.433Z] Removing intermediate container f3990e097b89 [2022-08-30T22:40:01.433Z] ---> 03fb0f325ca5 [2022-08-30T22:40:01.433Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T22:40:01.433Z] Successfully built 03fb0f325ca5 [2022-08-30T22:40:01.433Z] 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-30T22:40:01.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:40:01.867Z] [2022-08-30T22:40:01.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:40:02.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:40:02.168Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T22:40:02.168Z] 5eb5b503b376: Pulling fs layer [2022-08-30T22:40:02.168Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T22:40:02.168Z] ec43610c2a17: Pulling fs layer [2022-08-30T22:40:02.168Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T22:40:02.168Z] 33b1e0a273af: Pulling fs layer [2022-08-30T22:40:02.168Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T22:40:02.168Z] 2f39f015ded8: Pulling fs layer [2022-08-30T22:40:02.168Z] 33b1e0a273af: Waiting [2022-08-30T22:40:02.168Z] 3a2ae6a8a46f: Waiting [2022-08-30T22:40:02.168Z] 5d3b04190fa2: Waiting [2022-08-30T22:40:02.168Z] 5c69ac0246d0: Download complete [2022-08-30T22:40:02.168Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T22:40:02.168Z] 3a2ae6a8a46f: Download complete [2022-08-30T22:40:02.168Z] ec43610c2a17: Verifying Checksum [2022-08-30T22:40:02.168Z] ec43610c2a17: Download complete [2022-08-30T22:40:02.168Z] 33b1e0a273af: Download complete [2022-08-30T22:40:02.168Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T22:40:02.168Z] 5d3b04190fa2: Download complete [2022-08-30T22:40:02.428Z] 5eb5b503b376: Verifying Checksum [2022-08-30T22:40:02.428Z] 5eb5b503b376: Download complete [2022-08-30T22:40:03.000Z] 2f39f015ded8: Download complete [2022-08-30T22:40:03.568Z] 5eb5b503b376: Pull complete [2022-08-30T22:40:03.826Z] 5c69ac0246d0: Pull complete [2022-08-30T22:40:04.085Z] ec43610c2a17: Pull complete [2022-08-30T22:40:04.085Z] 3a2ae6a8a46f: Pull complete [2022-08-30T22:40:04.348Z] 33b1e0a273af: Pull complete [2022-08-30T22:40:04.609Z] 5d3b04190fa2: Pull complete [2022-08-30T22:40:08.802Z] 2f39f015ded8: Pull complete [2022-08-30T22:40:08.802Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T22:40:08.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:40:08.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:40:08.893Z] prd-ubuntu20.04-docker-8c-8g-24001 does not seem to be running inside a container [2022-08-30T22:40:08.930Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-30T22:40:11.645Z] $ docker top 92996b17c0d7dcb5cafa38755d38e04119059ebf1d804f0171c15fb62a0a798a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:40:12.053Z] ---> job-cost.sh [2022-08-30T22:40:12.053Z] lf-activate-venv: SKIPPING [2022-08-30T22:40:12.053Z] INFO: No Stack... [2022-08-30T22:40:12.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T22:40:12.884Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T22:40:13.351Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T22:40:13.351Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T22:40:13.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [2022-08-30T22:40:13.374Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] did not exist. Created. [2022-08-30T22:40:13.374Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T22:40:13.694Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T22:40:13.734Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T22:40:13.741Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T22:40:13.764Z] $ docker stop --time=1 92996b17c0d7dcb5cafa38755d38e04119059ebf1d804f0171c15fb62a0a798a [2022-08-30T22:40:14.913Z] $ docker rm -f 92996b17c0d7dcb5cafa38755d38e04119059ebf1d804f0171c15fb62a0a798a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T22:40:30.211Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24003 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T22:40:30.226Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-08-30T22:40:30.266Z] Selected Git installation does not exist. Using Default [2022-08-30T22:40:30.266Z] The recommended git tool is: NONE [2022-08-30T22:40:37.072Z] using credential edgex-jenkins-ssh [2022-08-30T22:40:37.092Z] Cloning the remote Git repository [2022-08-30T22:40:37.151Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:40:37.222Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-08-30T22:40:37.295Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:40:37.295Z] > git --version # timeout=10 [2022-08-30T22:40:37.338Z] > git --version # 'git version 2.25.1' [2022-08-30T22:40:37.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:40:37.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T22:40:39.165Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit 9fa38fa5be5dd4a4d2297ad6c4d1b088ec4ae30c [2022-08-30T22:40:38.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T22:40:38.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T22:40:38.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T22:40:38.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T22:40:38.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:40:38.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T22:40:39.189Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T22:40:39.214Z] > git checkout -f 9fa38fa5be5dd4a4d2297ad6c4d1b088ec4ae30c # timeout=10 [2022-08-30T22:40:39.887Z] Merge succeeded, producing 3285ecbc1bffcadd80d4152d650403e048b8cc55 [2022-08-30T22:40:39.888Z] Checking out Revision 3285ecbc1bffcadd80d4152d650403e048b8cc55 (PR-149) [2022-08-30T22:40:39.437Z] > git remote # timeout=10 [2022-08-30T22:40:39.453Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T22:40:39.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T22:40:39.477Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-30T22:40:39.871Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T22:40:39.896Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T22:40:39.913Z] > git checkout -f 3285ecbc1bffcadd80d4152d650403e048b8cc55 # timeout=10 [2022-08-30T22:40:44.291Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-30T22:40:44.318Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:40:45.206Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T22:40:45.206Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T22:40:45.206Z] Dload Upload Total Spent Left Speed [2022-08-30T22:40:45.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [2022-08-30T22:40:44.304Z] > git rev-list --no-walk f72791a0c5966fa12a369a6ac41c7d5bec37cb5c # timeout=10 [Pipeline] sh [2022-08-30T22:40:46.049Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T22:40:46.400Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T22:40:46.400Z] + sudo tee /etc/docker/daemon.new [2022-08-30T22:40:46.400Z] { [2022-08-30T22:40:46.400Z] "registry-mirrors": [ [2022-08-30T22:40:46.400Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T22:40:46.400Z] ], [2022-08-30T22:40:46.400Z] "bip": "10.250.0.254/24", [2022-08-30T22:40:46.400Z] "hosts": [ [2022-08-30T22:40:46.400Z] "tcp://0.0.0.0:5555", [2022-08-30T22:40:46.400Z] "unix:///var/run/docker.sock" [2022-08-30T22:40:46.400Z] ], [2022-08-30T22:40:46.400Z] "mtu": 1458, [2022-08-30T22:40:46.400Z] "selinux-enabled": true, [2022-08-30T22:40:46.400Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T22:40:46.400Z] } [Pipeline] sh [2022-08-30T22:40:46.755Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T22:40:47.135Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:41:05.527Z] provisioning config files... [2022-08-30T22:41:05.552Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config6209574686834306109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:41:06.104Z] ---> docker-login.sh [2022-08-30T22:41:06.104Z] nexus3.edgexfoundry.org:10001 [2022-08-30T22:41:06.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:41:07.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:41:07.018Z] Configure a credential helper to remove this warning. See [2022-08-30T22:41:07.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:41:07.018Z] [2022-08-30T22:41:07.018Z] Login Succeeded [2022-08-30T22:41:07.018Z] nexus3.edgexfoundry.org:10002 [2022-08-30T22:41:07.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:41:07.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:41:07.624Z] Configure a credential helper to remove this warning. See [2022-08-30T22:41:07.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:41:07.624Z] [2022-08-30T22:41:07.624Z] Login Succeeded [2022-08-30T22:41:07.624Z] nexus3.edgexfoundry.org:10003 [2022-08-30T22:41:07.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:41:08.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:41:08.177Z] Configure a credential helper to remove this warning. See [2022-08-30T22:41:08.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:41:08.177Z] [2022-08-30T22:41:08.177Z] Login Succeeded [2022-08-30T22:41:08.177Z] nexus3.edgexfoundry.org:10004 [2022-08-30T22:41:08.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:41:08.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:41:08.451Z] Configure a credential helper to remove this warning. See [2022-08-30T22:41:08.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:41:08.451Z] [2022-08-30T22:41:08.451Z] Login Succeeded [2022-08-30T22:41:08.451Z] docker.io [2022-08-30T22:41:09.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T22:41:09.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T22:41:09.319Z] Configure a credential helper to remove this warning. See [2022-08-30T22:41:09.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T22:41:09.319Z] [2022-08-30T22:41:09.319Z] Login Succeeded [2022-08-30T22:41:09.319Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T22:41:09.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T22:41:09.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:41:09.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T22:41:09.659Z] ========================================================= [2022-08-30T22:41:09.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T22:41:09.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:41:10.023Z] + 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-30T22:41:10.632Z] Sending build context to Docker daemon 14.19MB [2022-08-30T22:41:10.632Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:41:10.632Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T22:41:10.632Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T22:41:10.632Z] b3c136eddcbf: Pulling fs layer [2022-08-30T22:41:10.632Z] c0a3192eca97: Pulling fs layer [2022-08-30T22:41:10.632Z] a050256f5b6f: Pulling fs layer [2022-08-30T22:41:10.632Z] 656be50a0ddc: Pulling fs layer [2022-08-30T22:41:10.632Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T22:41:10.632Z] 46d945488cbd: Pulling fs layer [2022-08-30T22:41:10.632Z] 8a5474983e97: Pulling fs layer [2022-08-30T22:41:10.632Z] 329c88fbcd65: Pulling fs layer [2022-08-30T22:41:10.632Z] 656be50a0ddc: Waiting [2022-08-30T22:41:10.632Z] 2bbca73fdf42: Waiting [2022-08-30T22:41:10.632Z] 46d945488cbd: Waiting [2022-08-30T22:41:10.632Z] 8a5474983e97: Waiting [2022-08-30T22:41:10.632Z] 329c88fbcd65: Waiting [2022-08-30T22:41:10.910Z] a050256f5b6f: Download complete [2022-08-30T22:41:10.910Z] c0a3192eca97: Verifying Checksum [2022-08-30T22:41:10.910Z] c0a3192eca97: Download complete [2022-08-30T22:41:10.910Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T22:41:10.910Z] 2bbca73fdf42: Download complete [2022-08-30T22:41:10.910Z] 46d945488cbd: Verifying Checksum [2022-08-30T22:41:10.910Z] 46d945488cbd: Download complete [2022-08-30T22:41:10.910Z] b3c136eddcbf: Download complete [2022-08-30T22:41:11.932Z] b3c136eddcbf: Pull complete [2022-08-30T22:41:11.932Z] 329c88fbcd65: Verifying Checksum [2022-08-30T22:41:11.932Z] 329c88fbcd65: Download complete [2022-08-30T22:41:12.529Z] c0a3192eca97: Pull complete [2022-08-30T22:41:12.804Z] a050256f5b6f: Pull complete [2022-08-30T22:41:13.076Z] 8a5474983e97: Verifying Checksum [2022-08-30T22:41:13.076Z] 8a5474983e97: Download complete [2022-08-30T22:41:14.062Z] 656be50a0ddc: Verifying Checksum [2022-08-30T22:41:14.062Z] 656be50a0ddc: Download complete [2022-08-30T22:41:26.484Z] 656be50a0ddc: Pull complete [2022-08-30T22:41:26.484Z] 2bbca73fdf42: Pull complete [2022-08-30T22:41:26.484Z] 46d945488cbd: Pull complete [2022-08-30T22:41:31.922Z] 8a5474983e97: Pull complete [2022-08-30T22:41:33.908Z] 329c88fbcd65: Pull complete [2022-08-30T22:41:33.908Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T22:41:33.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T22:41:33.908Z] ---> ff4287adb874 [2022-08-30T22:41:33.908Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T22:41:36.544Z] ---> Running in 954e63240298 [2022-08-30T22:41:37.527Z] Removing intermediate container 954e63240298 [2022-08-30T22:41:37.527Z] ---> 067adb52371c [2022-08-30T22:41:37.527Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:41:37.527Z] ---> Running in 94eaec6d725d [2022-08-30T22:41:37.803Z] Removing intermediate container 94eaec6d725d [2022-08-30T22:41:37.803Z] ---> ac685154c4eb [2022-08-30T22:41:37.803Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:41:37.803Z] ---> Running in 0695472ffed8 [2022-08-30T22:41:38.087Z] Removing intermediate container 0695472ffed8 [2022-08-30T22:41:38.087Z] ---> 1a3d8bee4243 [2022-08-30T22:41:38.087Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:41:38.368Z] ---> Running in cb2f586bdbc4 [2022-08-30T22:41:38.648Z] Removing intermediate container cb2f586bdbc4 [2022-08-30T22:41:38.648Z] ---> 16c5d1ea69b2 [2022-08-30T22:41:38.648Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:41:38.648Z] ---> Running in 5c743c30d464 [2022-08-30T22:41:40.639Z] Removing intermediate container 5c743c30d464 [2022-08-30T22:41:40.639Z] ---> b1e8deed6171 [2022-08-30T22:41:40.639Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:41:40.639Z] ---> Running in 7d77ee3b59de [2022-08-30T22:41:41.617Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:41:42.603Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:41:43.579Z] OK: 221 MiB in 51 packages [2022-08-30T22:41:44.196Z] Removing intermediate container 7d77ee3b59de [2022-08-30T22:41:44.196Z] ---> 66ee0c55960c [2022-08-30T22:41:44.196Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T22:41:44.473Z] ---> Running in a93b93221928 [2022-08-30T22:41:44.746Z] Removing intermediate container a93b93221928 [2022-08-30T22:41:44.746Z] ---> b4e5035c8f4c [2022-08-30T22:41:44.746Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T22:41:45.347Z] ---> 5e197767cb46 [2022-08-30T22:41:45.347Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:41:45.347Z] ---> Running in 85ba454f7173 [2022-08-30T22:42:41.922Z] Removing intermediate container 85ba454f7173 [2022-08-30T22:42:41.922Z] ---> 73245dd88748 [2022-08-30T22:42:41.923Z] Step 12/13 : COPY . . [2022-08-30T22:42:41.923Z] ---> 26f013496126 [2022-08-30T22:42:41.923Z] Step 13/13 : RUN ${MAKE} [2022-08-30T22:42:41.923Z] ---> Running in 9d0e7f2cecb0 [2022-08-30T22:42:41.923Z] noop [2022-08-30T22:42:41.923Z] Removing intermediate container 9d0e7f2cecb0 [2022-08-30T22:42:41.923Z] ---> bb00de09961c [2022-08-30T22:42:41.923Z] Successfully built bb00de09961c [2022-08-30T22:42:41.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:42:42.301Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T22:42:42.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:42:42.611Z] prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container [2022-08-30T22:42:42.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-30T22:42:44.173Z] $ docker top 35f422b75c7bbc7eefc28b1c2f3078115b28db693cc47d7c609115fc6ba9a4ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:42:45.106Z] + go version [2022-08-30T22:42:45.106Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T22:42:45.137Z] $ docker stop --time=1 35f422b75c7bbc7eefc28b1c2f3078115b28db693cc47d7c609115fc6ba9a4ce [2022-08-30T22:42:46.839Z] $ docker rm -f 35f422b75c7bbc7eefc28b1c2f3078115b28db693cc47d7c609115fc6ba9a4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:42:47.492Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T22:42:47.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:42:47.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container [2022-08-30T22:42:47.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-30T22:42:49.328Z] $ docker top 8ba5b7ad23719f2ab669037cca0b47db744df7690f5b9c6e89e0a5c4d844ded0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:42:50.263Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/13 [Pipeline] fileExists [Pipeline] sh [2022-08-30T22:42:50.950Z] + make test [2022-08-30T22:42:50.950Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T22:42:52.940Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T22:44:29.876Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T22:44:36.670Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.216s coverage: 23.9% of statements [2022-08-30T22:44:58.865Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.223s coverage: 13.8% of statements [2022-08-30T22:44:58.865Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T22:44:58.865Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T22:45:25.727Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T22:45:25.727Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T22:45:25.727Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T22:45:25.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T22:45:25.768Z] $ docker stop --time=1 8ba5b7ad23719f2ab669037cca0b47db744df7690f5b9c6e89e0a5c4d844ded0 [2022-08-30T22:45:27.584Z] $ docker rm -f 8ba5b7ad23719f2ab669037cca0b47db744df7690f5b9c6e89e0a5c4d844ded0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T22:45:28.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T22:45:28.706Z] Warning: overwriting stash ‘coverage-report’ [2022-08-30T22:45:29.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T22:45:29.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T22:45:30.077Z] + ls -al . [2022-08-30T22:45:30.078Z] total 228 [2022-08-30T22:45:30.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 22:42 . [2022-08-30T22:45:30.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:40 .. [2022-08-30T22:45:30.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:40 .git [2022-08-30T22:45:30.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:40 .github [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 22:40 .gitignore [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:40 .golangci.yml [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 22:40 Attribution.txt [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 22:40 CHANGELOG.md [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 22:40 Dockerfile [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:40 GOVERNANCE.md [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 22:40 Jenkinsfile [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 22:40 LICENSE [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 22:40 Makefile [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 22:40 OWNERS.md [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 22:40 README.md [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:38 VERSION [2022-08-30T22:45:30.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:40 bin [2022-08-30T22:45:30.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:40 cmd [2022-08-30T22:45:30.078Z] -rw-r--r-- 1 jenkins jenkins 77728 Aug 30 22:44 coverage.out [2022-08-30T22:45:30.078Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:40 doc [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 22:40 go.mod [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 22:40 go.sum [2022-08-30T22:45:30.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:40 internal [2022-08-30T22:45:30.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:40 snap [2022-08-30T22:45:30.078Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:45:30.446Z] + 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=3285ecbc1bffcadd80d4152d650403e048b8cc55 --label arch=arm64 --label version=0.0.0 . [2022-08-30T22:45:31.041Z] Sending build context to Docker daemon 14.27MB [2022-08-30T22:45:31.041Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T22:45:31.041Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T22:45:31.041Z] ---> bb00de09961c [2022-08-30T22:45:31.041Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T22:45:31.041Z] ---> Running in c437341ae346 [2022-08-30T22:45:31.636Z] Removing intermediate container c437341ae346 [2022-08-30T22:45:31.636Z] ---> 867103c6cf3c [2022-08-30T22:45:31.636Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T22:45:31.636Z] ---> Running in 19a4b585e9f8 [2022-08-30T22:45:31.911Z] Removing intermediate container 19a4b585e9f8 [2022-08-30T22:45:31.911Z] ---> b422241249eb [2022-08-30T22:45:31.911Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T22:45:31.911Z] ---> Running in 44d161e258a3 [2022-08-30T22:45:32.186Z] Removing intermediate container 44d161e258a3 [2022-08-30T22:45:32.186Z] ---> f56a35b42b40 [2022-08-30T22:45:32.186Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T22:45:32.462Z] ---> Running in f6030363794c [2022-08-30T22:45:32.736Z] Removing intermediate container f6030363794c [2022-08-30T22:45:32.736Z] ---> 2f6cf1f597ce [2022-08-30T22:45:32.736Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T22:45:32.736Z] ---> Running in 4ba4a5559872 [2022-08-30T22:45:34.730Z] Removing intermediate container 4ba4a5559872 [2022-08-30T22:45:34.731Z] ---> 39cddcd683a5 [2022-08-30T22:45:34.731Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T22:45:34.731Z] ---> Running in 8f84dcdcff8d [2022-08-30T22:45:35.325Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:45:36.309Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:45:37.308Z] OK: 221 MiB in 51 packages [2022-08-30T22:45:38.298Z] Removing intermediate container 8f84dcdcff8d [2022-08-30T22:45:38.298Z] ---> 805072594fd6 [2022-08-30T22:45:38.298Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T22:45:38.298Z] ---> Running in 9ecd1172d164 [2022-08-30T22:45:38.574Z] Removing intermediate container 9ecd1172d164 [2022-08-30T22:45:38.574Z] ---> db7808d51868 [2022-08-30T22:45:38.574Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T22:45:39.192Z] ---> 46403ee19a6a [2022-08-30T22:45:39.192Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T22:45:39.192Z] ---> Running in 8b1979f6a456 [2022-08-30T22:45:41.845Z] Removing intermediate container 8b1979f6a456 [2022-08-30T22:45:41.845Z] ---> 1c0e161bf733 [2022-08-30T22:45:41.845Z] Step 12/26 : COPY . . [2022-08-30T22:45:43.296Z] ---> 6dfd249d6f3f [2022-08-30T22:45:43.296Z] Step 13/26 : RUN ${MAKE} [2022-08-30T22:45:43.296Z] ---> Running in bb97bb90fd1a [2022-08-30T22:45:44.282Z] 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-30T22:48:21.272Z] Removing intermediate container bb97bb90fd1a [2022-08-30T22:48:21.272Z] ---> 432593ea4d83 [2022-08-30T22:48:21.272Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T22:48:21.272Z] 3.16: Pulling from library/alpine [2022-08-30T22:48:21.272Z] 9b18e9b68314: Pulling fs layer [2022-08-30T22:48:21.272Z] 9b18e9b68314: Verifying Checksum [2022-08-30T22:48:21.272Z] 9b18e9b68314: Pull complete [2022-08-30T22:48:21.272Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T22:48:21.272Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T22:48:21.272Z] ---> a6215f271958 [2022-08-30T22:48:21.272Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T22:48:21.272Z] ---> Running in d77d8c5622ed [2022-08-30T22:48:21.272Z] Removing intermediate container d77d8c5622ed [2022-08-30T22:48:21.272Z] ---> 91c89a6e26cb [2022-08-30T22:48:21.272Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T22:48:21.272Z] ---> Running in 0604b7290668 [2022-08-30T22:48:21.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T22:48:21.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T22:48:21.272Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T22:48:21.272Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T22:48:21.272Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T22:48:21.272Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T22:48:21.272Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T22:48:21.272Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T22:48:21.272Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T22:48:21.272Z] OK: 8 MiB in 20 packages [2022-08-30T22:48:21.553Z] Removing intermediate container 0604b7290668 [2022-08-30T22:48:21.553Z] ---> 266370744023 [2022-08-30T22:48:21.553Z] Step 17/26 : WORKDIR / [2022-08-30T22:48:21.829Z] ---> Running in 0c554dbc8179 [2022-08-30T22:48:22.108Z] Removing intermediate container 0c554dbc8179 [2022-08-30T22:48:22.108Z] ---> 1b335b9f0c4c [2022-08-30T22:48:22.108Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T22:48:23.552Z] ---> 0d5c48c36ea1 [2022-08-30T22:48:23.552Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T22:48:24.151Z] ---> 91f6d396b282 [2022-08-30T22:48:24.151Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T22:48:24.755Z] ---> 2210782ea5ef [2022-08-30T22:48:24.755Z] Step 21/26 : EXPOSE 59984 [2022-08-30T22:48:25.033Z] ---> Running in 990aea80104b [2022-08-30T22:48:25.311Z] Removing intermediate container 990aea80104b [2022-08-30T22:48:25.311Z] ---> bb7376a1bb06 [2022-08-30T22:48:25.311Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T22:48:25.311Z] ---> Running in 1c7caa2d184d [2022-08-30T22:48:25.592Z] Removing intermediate container 1c7caa2d184d [2022-08-30T22:48:25.592Z] ---> aa55afa2a702 [2022-08-30T22:48:25.592Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T22:48:25.873Z] ---> Running in 3f3b4c62b11a [2022-08-30T22:48:26.153Z] Removing intermediate container 3f3b4c62b11a [2022-08-30T22:48:26.153Z] ---> 93f73276f841 [2022-08-30T22:48:26.153Z] Step 24/26 : LABEL arch=arm64 [2022-08-30T22:48:26.153Z] ---> Running in 04d2bfb3e31f [2022-08-30T22:48:26.435Z] Removing intermediate container 04d2bfb3e31f [2022-08-30T22:48:26.435Z] ---> 3cebda0bd39b [2022-08-30T22:48:26.435Z] Step 25/26 : LABEL git_sha=3285ecbc1bffcadd80d4152d650403e048b8cc55 [2022-08-30T22:48:26.715Z] ---> Running in abc6e3d50cc9 [2022-08-30T22:48:26.994Z] Removing intermediate container abc6e3d50cc9 [2022-08-30T22:48:26.994Z] ---> 703dcbb3549a [2022-08-30T22:48:26.994Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T22:48:26.994Z] ---> Running in 8097a363939d [2022-08-30T22:48:27.272Z] Removing intermediate container 8097a363939d [2022-08-30T22:48:27.272Z] ---> d222a970f3f8 [2022-08-30T22:48:27.272Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T22:48:27.546Z] Successfully built d222a970f3f8 [2022-08-30T22:48:27.546Z] 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-30T22:48:28.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:48:28.014Z] [2022-08-30T22:48:28.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:48:28.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:48:28.656Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T22:48:28.656Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T22:48:28.656Z] 04944245beec: Pulling fs layer [2022-08-30T22:48:28.656Z] 699f458cf7ca: Pulling fs layer [2022-08-30T22:48:28.656Z] 765212b225bb: Pulling fs layer [2022-08-30T22:48:28.656Z] f23df028b6ca: Pulling fs layer [2022-08-30T22:48:28.656Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T22:48:28.656Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T22:48:28.656Z] 765212b225bb: Waiting [2022-08-30T22:48:28.656Z] f23df028b6ca: Waiting [2022-08-30T22:48:28.656Z] d65c8cfc05b1: Waiting [2022-08-30T22:48:28.656Z] 2437ff75d9bd: Waiting [2022-08-30T22:48:28.656Z] 04944245beec: Verifying Checksum [2022-08-30T22:48:28.656Z] 04944245beec: Download complete [2022-08-30T22:48:28.656Z] 765212b225bb: Verifying Checksum [2022-08-30T22:48:28.656Z] 765212b225bb: Download complete [2022-08-30T22:48:28.656Z] f23df028b6ca: Verifying Checksum [2022-08-30T22:48:28.656Z] f23df028b6ca: Download complete [2022-08-30T22:48:28.656Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T22:48:28.656Z] d65c8cfc05b1: Download complete [2022-08-30T22:48:28.933Z] 699f458cf7ca: Verifying Checksum [2022-08-30T22:48:28.934Z] 699f458cf7ca: Download complete [2022-08-30T22:48:29.209Z] 8998bd30e6a1: Verifying Checksum [2022-08-30T22:48:29.209Z] 8998bd30e6a1: Download complete [2022-08-30T22:48:31.846Z] 2437ff75d9bd: Download complete [2022-08-30T22:48:33.841Z] 8998bd30e6a1: Pull complete [2022-08-30T22:48:34.114Z] 04944245beec: Pull complete [2022-08-30T22:48:35.554Z] 699f458cf7ca: Pull complete [2022-08-30T22:48:35.834Z] 765212b225bb: Pull complete [2022-08-30T22:48:36.435Z] f23df028b6ca: Pull complete [2022-08-30T22:48:36.709Z] d65c8cfc05b1: Pull complete [2022-08-30T22:48:51.805Z] 2437ff75d9bd: Pull complete [2022-08-30T22:48:51.805Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T22:48:51.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T22:48:51.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:48:52.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-24003 does not seem to be running inside a container [2022-08-30T22:48:52.194Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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-30T22:48:55.196Z] $ docker top ede55354229aee825ff880ca91d211b7cb4007fbe09a5c3084fd3f158f49562e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:48:56.152Z] ---> job-cost.sh [2022-08-30T22:48:56.152Z] lf-activate-venv: SKIPPING [2022-08-30T22:48:56.152Z] INFO: No Stack... [2022-08-30T22:48:56.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T22:48:57.744Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T22:48:58.424Z] + cut -d, -f6 [2022-08-30T22:48:58.424Z] + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [Pipeline] lock [2022-08-30T22:48:58.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [2022-08-30T22:48:58.499Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] did not exist. Created. [2022-08-30T22:48:58.499Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T22:48:59.200Z] /w/workspace/device-onvif-camera/13@tmp/durable-93f423c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T22:48:59.891Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T22:48:59.913Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T22:48:59.982Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T22:48:59.993Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T22:49:00.023Z] $ docker stop --time=1 ede55354229aee825ff880ca91d211b7cb4007fbe09a5c3084fd3f158f49562e [2022-08-30T22:49:01.565Z] $ docker rm -f ede55354229aee825ff880ca91d211b7cb4007fbe09a5c3084fd3f158f49562e [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-30T22:49:02.045Z] provisioning config files... [2022-08-30T22:49:02.055Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config3443160034374140520tmp [Pipeline] { [Pipeline] sh [2022-08-30T22:49:02.353Z] + set +x [2022-08-30T22:49:02.353Z] + curl -s https://codecov.io/bash [2022-08-30T22:49:02.353Z] + bash -s -- [2022-08-30T22:49:02.353Z] [2022-08-30T22:49:02.353Z] _____ _ [2022-08-30T22:49:02.353Z] / ____| | | [2022-08-30T22:49:02.353Z] | | ___ __| | ___ ___ _____ __ [2022-08-30T22:49:02.353Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-30T22:49:02.353Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-30T22:49:02.353Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-30T22:49:02.353Z] Bash-1.0.6 [2022-08-30T22:49:02.353Z] [2022-08-30T22:49:02.353Z] [2022-08-30T22:49:02.353Z] ==> git version 2.25.1 found [2022-08-30T22:49:02.353Z] ==> 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-30T22:49:02.353Z] Release-Date: 2020-01-08 [2022-08-30T22:49:02.353Z] 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-30T22:49:02.353Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-30T22:49:02.353Z] ==> Jenkins CI detected. [2022-08-30T22:49:02.353Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T22:49:02.353Z] project root: . [2022-08-30T22:49:02.353Z] --> token set from env [2022-08-30T22:49:02.353Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-30T22:49:02.353Z] ==> Running gcov in . (disable via -X gcov) [2022-08-30T22:49:02.353Z] ==> Python coveragepy not found [2022-08-30T22:49:02.353Z] ==> Searching for coverage reports in: [2022-08-30T22:49:02.353Z] + . [2022-08-30T22:49:02.353Z] -> Found 1 reports [2022-08-30T22:49:02.353Z] ==> Detecting git/mercurial file structure [2022-08-30T22:49:02.353Z] ==> Reading reports [2022-08-30T22:49:02.353Z] + ./coverage.out bytes=77728 [2022-08-30T22:49:02.353Z] ==> Appending adjustments [2022-08-30T22:49:02.353Z] https://docs.codecov.io/docs/fixing-reports [2022-08-30T22:49:02.612Z] + Found adjustments [2022-08-30T22:49:02.612Z] ==> Gzipping contents [2022-08-30T22:49:02.612Z] 12K /tmp/codecov.D9URHn.gz [2022-08-30T22:49:02.612Z] ==> Uploading reports [2022-08-30T22:49:02.612Z] url: https://codecov.io [2022-08-30T22:49:02.612Z] query: branch=PR-149&commit=d040fc3747327396c9b80cbb7847fa58a6fa5d65&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T22:49:02.613Z] -> Pinging Codecov [2022-08-30T22:49:02.613Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=d040fc3747327396c9b80cbb7847fa58a6fa5d65&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T22:49:02.873Z] -> Uploading to [2022-08-30T22:49:02.873Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-30/F29A59C45E3A92E06B3E522C9905F8EF/d040fc3747327396c9b80cbb7847fa58a6fa5d65/213285c4-ebad-4989-918f-944decb4cfa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T224902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f88e476a4340ddd9de30a5e2d63951d5cde5d5ad5e4d20bb269035274c188157 [2022-08-30T22:49:02.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T22:49:02.873Z] Dload Upload Total Spent Left Speed [2022-08-30T22:49:03.134Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10603 0 0 100 10603 0 43995 --:--:-- --:--:-- --:--:-- 43995 [2022-08-30T22:49:03.134Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d040fc3747327396c9b80cbb7847fa58a6fa5d65 [Pipeline] } [2022-08-30T22:49:03.142Z] 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-30T22:49:03.865Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T22:49:03.865Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:49:03.865Z] total 16 [2022-08-30T22:49:03.865Z] drwxr-xr-x 3 root root 4096 Aug 30 22:40 . [2022-08-30T22:49:03.865Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 22:40 .. [2022-08-30T22:49:03.865Z] drwxr-xr-x 2 root root 4096 Aug 30 22:40 cost [2022-08-30T22:49:03.865Z] -rw-r--r-- 1 root root 92 Aug 30 22:40 cost.csv [2022-08-30T22:49:03.865Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:49:03.865Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T22:49:03.865Z] total 16 [2022-08-30T22:49:03.865Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:40 . [2022-08-30T22:49:03.865Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 22:40 .. [2022-08-30T22:49:03.865Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 22:40 cost [2022-08-30T22:49:03.865Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 30 22:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:04.157Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:05.021Z] ---> package-listing.sh [2022-08-30T22:49:05.021Z] ++ facter osfamily [2022-08-30T22:49:05.021Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T22:49:05.280Z] + OS_FAMILY=debian [2022-08-30T22:49:05.280Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T22:49:05.280Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T22:49:05.280Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T22:49:05.280Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T22:49:05.280Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T22:49:05.280Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T22:49:05.280Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T22:49:05.280Z] + case "${OS_FAMILY}" in [2022-08-30T22:49:05.280Z] + dpkg -l [2022-08-30T22:49:05.280Z] + grep '^ii' [2022-08-30T22:49:05.280Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T22:49:05.280Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T22:49:05.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T22:49:05.280Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T22:49:05.280Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T22:49:05.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T22:49:05.293Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T22:49:05.572Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T22:49:06.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T22:49:06.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T22:49:06.220Z] prd-ubuntu20.04-docker-8c-8g-24001 does not seem to be running inside a container [2022-08-30T22:49:06.257Z] $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-30T22:49:06.449Z] $ docker top b1f5665c4011ff7e34fb9d355c086b3ff7fcbff0489577b0561b285a84a477ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T22:49:06.822Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T22:49:07.113Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T22:49:07.400Z] + ls /var/log/sa-host [2022-08-30T22:49:07.400Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T22:49:07.479Z] provisioning config files... [2022-08-30T22:49:07.489Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8347363578349748185tmp [Pipeline] { [Pipeline] echo [2022-08-30T22:49:07.503Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:07.789Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T22:49:07.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:08.123Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T22:49:08.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:08.417Z] ---> sudo-logs.sh [2022-08-30T22:49:08.417Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T22:49:08.443Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:08.727Z] ---> job-cost.sh [2022-08-30T22:49:08.727Z] lf-activate-venv: SKIPPING [2022-08-30T22:49:08.727Z] DEBUG: total: 0.2199999988079071 [2022-08-30T22:49:08.727Z] INFO: Retrieving Stack Cost... [2022-08-30T22:49:09.297Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T22:49:09.556Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T22:49:09.567Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T22:49:09.849Z] ---> logs-deploy.sh [2022-08-30T22:49:09.849Z] lf-activate-venv: SKIPPING [2022-08-30T22:49:09.849Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/13 [2022-08-30T22:49:09.849Z] INFO: archiving workspace using pattern(s): [2022-08-30T22:49:10.788Z] Archives upload complete. [2022-08-30T22:49:10.788Z] INFO: archiving logs to Nexus