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 b4b4e4f45ebfc9c4e0c89ec4979cfb549fcc2826 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-ssh12530720247934083840.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-ssh14671751624734196933.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-ssh10723710983037677742.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-ssh5491323023801021496.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-ssh11148270846639044892.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-24018 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 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b4b4e4f45ebfc9c4e0c89ec4979cfb549fcc2826 Merge succeeded, producing df60897934b71213d538ca066e509b36c6d7f0ba Checking out Revision df60897934b71213d538ca066e509b36c6d7f0ba (PR-149) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/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 b4b4e4f45ebfc9c4e0c89ec4979cfb549fcc2826 # 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 df60897934b71213d538ca066e509b36c6d7f0ba # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 76bbcd3c97408e722d7e07b72e7f928eadb14c68 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T23:06:32.576Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T23:06:32.623Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T23:06:32.637Z] ========================================================= [2022-08-30T23:06:32.638Z] EdgeX Global Pipelines Version Info [2022-08-30T23:06:32.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:06:33.393Z] ------------------- [2022-08-30T23:06:33.393Z] stable info: [2022-08-30T23:06:33.393Z] ------------------- [2022-08-30T23:06:33.393Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T23:06:33.393Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T23:06:33.393Z] Message: update stable to v1.0.239 [2022-08-30T23:06:33.967Z] ------------------- [2022-08-30T23:06:33.968Z] experimental info: [2022-08-30T23:06:33.968Z] ------------------- [2022-08-30T23:06:33.968Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T23:06:33.968Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T23:06:33.968Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T23:06:34.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T23:06:34.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T23:06:34.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T23:06:34.242Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T23:06:34.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T23:06:34.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T23:06:34.286Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T23:06:34.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T23:06:34.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T23:06:34.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T23:06:34.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T23:06:34.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T23:06:34.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T23:06:34.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T23:06:34.407Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T23:06:34.423Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T23:06:34.441Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T23:06:34.461Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T23:06:34.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T23:06:34.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T23:06:34.513Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T23:06:34.529Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T23:06:34.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T23:06:34.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T23:06:34.574Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T23:06:34.591Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T23:06:34.603Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T23:06:34.613Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T23:06:34.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T23:06:34.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T23:06:34.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df60897934b71213d538ca066e509b36c6d7f0ba [Pipeline] echo [2022-08-30T23:06:34.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df60897 [Pipeline] echo [2022-08-30T23:06:34.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T23:06:34.730Z] provisioning config files... [2022-08-30T23:06:34.746Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config9131841939271669652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:06:35.056Z] ---> docker-login.sh [2022-08-30T23:06:35.056Z] nexus3.edgexfoundry.org:10001 [2022-08-30T23:06:35.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:35.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:35.584Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:35.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:35.584Z] [2022-08-30T23:06:35.584Z] Login Succeeded [2022-08-30T23:06:35.584Z] nexus3.edgexfoundry.org:10002 [2022-08-30T23:06:35.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:35.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:35.584Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:35.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:35.584Z] [2022-08-30T23:06:35.584Z] Login Succeeded [2022-08-30T23:06:35.584Z] nexus3.edgexfoundry.org:10003 [2022-08-30T23:06:35.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:35.846Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:35.846Z] [2022-08-30T23:06:35.846Z] Login Succeeded [2022-08-30T23:06:35.846Z] nexus3.edgexfoundry.org:10004 [2022-08-30T23:06:35.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:35.846Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:35.846Z] [2022-08-30T23:06:35.846Z] Login Succeeded [2022-08-30T23:06:35.846Z] docker.io [2022-08-30T23:06:36.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:36.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:36.367Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:36.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:36.368Z] [2022-08-30T23:06:36.368Z] Login Succeeded [2022-08-30T23:06:36.368Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T23:06:36.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T23:06:36.753Z] + git rev-list -1 --merges df60897934b71213d538ca066e509b36c6d7f0ba~1..df60897934b71213d538ca066e509b36c6d7f0ba [Pipeline] echo [2022-08-30T23:06:36.784Z] -----------> git rev-list -1 --merges df60897934b71213d538ca066e509b36c6d7f0ba~1..df60897934b71213d538ca066e509b36c6d7f0ba df60897934b71213d538ca066e509b36c6d7f0ba [2022-08-30T23:06:36.784Z] df60897934b71213d538ca066e509b36c6d7f0ba [false] [Pipeline] sh [2022-08-30T23:06:37.082Z] + git log --format=format:%s -1 df60897934b71213d538ca066e509b36c6d7f0ba [Pipeline] echo [2022-08-30T23:06:37.098Z] ========================================================= [2022-08-30T23:06:37.098Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T23:06:37.098Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T23:06:37.443Z] + git log --format=format:%s -1 df60897934b71213d538ca066e509b36c6d7f0ba [Pipeline] echo [2022-08-30T23:06:37.457Z] [semverPrep] GIT_COMMIT: df60897934b71213d538ca066e509b36c6d7f0ba, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-30T23:06:37.469Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T23:06:37.835Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T23:06:37.835Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T23:06:37.835Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T23:06:37.835Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T23:06:37.835Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T23:06:37.835Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T23:06:37.835Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:06:38.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T23:06:38.273Z] [2022-08-30T23:06:38.273Z] 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-30T23:06:38.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T23:06:38.588Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T23:06:38.588Z] b85a868b505f: Pulling fs layer [2022-08-30T23:06:38.588Z] e2be974225ed: Pulling fs layer [2022-08-30T23:06:38.588Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T23:06:38.588Z] 988bab9f4d93: Pulling fs layer [2022-08-30T23:06:38.588Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T23:06:38.588Z] eaf3925da568: Pulling fs layer [2022-08-30T23:06:38.588Z] bab4dde63d76: Pulling fs layer [2022-08-30T23:06:38.588Z] bde34c3a00c8: Pulling fs layer [2022-08-30T23:06:38.588Z] b352a97aabf1: Pulling fs layer [2022-08-30T23:06:38.588Z] 4872d77fe225: Pulling fs layer [2022-08-30T23:06:38.588Z] 5851b861e8e6: Pulling fs layer [2022-08-30T23:06:38.588Z] 1469e6f7b9e6: Waiting [2022-08-30T23:06:38.588Z] 988bab9f4d93: Waiting [2022-08-30T23:06:38.588Z] eaf3925da568: Waiting [2022-08-30T23:06:38.588Z] bab4dde63d76: Waiting [2022-08-30T23:06:38.588Z] bde34c3a00c8: Waiting [2022-08-30T23:06:38.588Z] b352a97aabf1: Waiting [2022-08-30T23:06:38.588Z] 4872d77fe225: Waiting [2022-08-30T23:06:38.588Z] e2be974225ed: Verifying Checksum [2022-08-30T23:06:38.588Z] e2be974225ed: Download complete [2022-08-30T23:06:38.588Z] 988bab9f4d93: Verifying Checksum [2022-08-30T23:06:38.588Z] 988bab9f4d93: Download complete [2022-08-30T23:06:38.859Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T23:06:38.859Z] 1469e6f7b9e6: Download complete [2022-08-30T23:06:38.859Z] eaf3925da568: Verifying Checksum [2022-08-30T23:06:38.859Z] eaf3925da568: Download complete [2022-08-30T23:06:38.859Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T23:06:38.859Z] 339a4e72a1f5: Download complete [2022-08-30T23:06:38.859Z] bde34c3a00c8: Download complete [2022-08-30T23:06:38.859Z] b352a97aabf1: Download complete [2022-08-30T23:06:38.859Z] 4872d77fe225: Verifying Checksum [2022-08-30T23:06:38.859Z] 4872d77fe225: Download complete [2022-08-30T23:06:38.859Z] 5851b861e8e6: Verifying Checksum [2022-08-30T23:06:38.859Z] 5851b861e8e6: Download complete [2022-08-30T23:06:39.122Z] b85a868b505f: Verifying Checksum [2022-08-30T23:06:39.122Z] b85a868b505f: Download complete [2022-08-30T23:06:39.381Z] bab4dde63d76: Verifying Checksum [2022-08-30T23:06:39.381Z] bab4dde63d76: Download complete [2022-08-30T23:06:40.781Z] b85a868b505f: Pull complete [2022-08-30T23:06:40.781Z] e2be974225ed: Pull complete [2022-08-30T23:06:41.356Z] 339a4e72a1f5: Pull complete [2022-08-30T23:06:41.356Z] 988bab9f4d93: Pull complete [2022-08-30T23:06:41.618Z] 1469e6f7b9e6: Pull complete [2022-08-30T23:06:41.618Z] eaf3925da568: Pull complete [2022-08-30T23:06:44.164Z] bab4dde63d76: Pull complete [2022-08-30T23:06:44.164Z] bde34c3a00c8: Pull complete [2022-08-30T23:06:44.164Z] b352a97aabf1: Pull complete [2022-08-30T23:06:44.164Z] 4872d77fe225: Pull complete [2022-08-30T23:06:44.164Z] 5851b861e8e6: Pull complete [2022-08-30T23:06:44.164Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T23:06:44.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T23:06:44.164Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:06:44.272Z] prd-ubuntu20.04-docker-8c-8g-24018 does not seem to be running inside a container [2022-08-30T23:06:44.318Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T23:06:46.572Z] $ docker top 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 -eo pid,comm [2022-08-30T23:06:46.644Z] 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-30T23:06:46.644Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T23:06:46.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T23:06:46.679Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T23:06:46.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T23:06:46.848Z] $ docker exec 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 ssh-agent [2022-08-30T23:06:46.984Z] SSH_AUTH_SOCK=/tmp/ssh-Vd4gT1JQa2QB/agent.32 [2022-08-30T23:06:46.984Z] SSH_AGENT_PID=38 [2022-08-30T23:06:46.992Z] Running ssh-add (command line suppressed) [2022-08-30T23:06:47.119Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1412460441571390232.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1412460441571390232.key) [2022-08-30T23:06:47.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T23:06:47.430Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T23:06:47.453Z] $ docker exec --env ******** --env ******** 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 ssh-agent -k [2022-08-30T23:06:47.561Z] unset SSH_AUTH_SOCK; [2022-08-30T23:06:47.562Z] unset SSH_AGENT_PID; [2022-08-30T23:06:47.562Z] echo Agent pid 38 killed; [2022-08-30T23:06:47.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T23:06:47.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T23:06:47.607Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T23:06:47.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T23:06:47.757Z] $ docker exec 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 ssh-agent [2022-08-30T23:06:47.909Z] SSH_AUTH_SOCK=/tmp/ssh-rIxAOIwHHN5a/agent.72 [2022-08-30T23:06:47.909Z] SSH_AGENT_PID=79 [2022-08-30T23:06:47.915Z] Running ssh-add (command line suppressed) [2022-08-30T23:06:48.048Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_9116373130701351430.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_9116373130701351430.key) [2022-08-30T23:06:48.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T23:06:48.356Z] + git semver init [2022-08-30T23:06:48.617Z] 2022-08-30 23:06:48,593 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T23:06:48.617Z] 2022-08-30 23:06:48,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T23:06:48.617Z] 2022-08-30 23:06:48,594 [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-30T23:06:48.617Z] 2022-08-30 23:06:48,595 [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-30T23:06:49.560Z] 2022-08-30 23:06:49,361 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T23:06:49.560Z] 2022-08-30 23:06:49,361 [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-30T23:06:49.560Z] 2022-08-30 23:06:49,361 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T23:06:49.560Z] 2022-08-30 23:06:49,366 [execute] INFO git cat-file --batch-check [2022-08-30T23:06:49.560Z] 2022-08-30 23:06:49,366 [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-30T23:06:49.560Z] 2022-08-30 23:06:49,373 [execute] INFO git cat-file --batch [2022-08-30T23:06:49.560Z] 2022-08-30 23:06:49,373 [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-30T23:06:49.560Z] 2022-08-30 23:06:49,379 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T23:06:49.560Z] 0.0.0 [Pipeline] } [2022-08-30T23:06:49.573Z] $ docker exec --env ******** --env ******** 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 ssh-agent -k [2022-08-30T23:06:49.701Z] unset SSH_AUTH_SOCK; [2022-08-30T23:06:49.702Z] unset SSH_AGENT_PID; [2022-08-30T23:06:49.703Z] echo Agent pid 79 killed; [2022-08-30T23:06:49.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T23:06:50.062Z] + git semver [Pipeline] } [2022-08-30T23:06:50.365Z] $ docker stop --time=1 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 [2022-08-30T23:06:51.665Z] $ docker rm -f 0a2d9a2ac408fdca293d0a126535d1ba5d9a2a61b34823c4139b04d5c76bfbc6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T23:06:52.030Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T23:06:52.370Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T23:06:52.373Z] [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-30T23:06:52.539Z] provisioning config files... [2022-08-30T23:06:52.551Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6857538737077814915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:06:52.856Z] ---> docker-login.sh [2022-08-30T23:06:52.856Z] nexus3.edgexfoundry.org:10001 [2022-08-30T23:06:52.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:52.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:52.856Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:52.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:52.856Z] [2022-08-30T23:06:52.856Z] Login Succeeded [2022-08-30T23:06:52.856Z] nexus3.edgexfoundry.org:10002 [2022-08-30T23:06:52.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:53.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:53.117Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:53.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:53.117Z] [2022-08-30T23:06:53.117Z] Login Succeeded [2022-08-30T23:06:53.117Z] nexus3.edgexfoundry.org:10003 [2022-08-30T23:06:53.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:53.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:53.117Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:53.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:53.117Z] [2022-08-30T23:06:53.118Z] Login Succeeded [2022-08-30T23:06:53.118Z] nexus3.edgexfoundry.org:10004 [2022-08-30T23:06:53.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:53.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:53.378Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:53.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:53.378Z] [2022-08-30T23:06:53.378Z] Login Succeeded [2022-08-30T23:06:53.378Z] docker.io [2022-08-30T23:06:53.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:06:53.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:06:53.640Z] Configure a credential helper to remove this warning. See [2022-08-30T23:06:53.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:06:53.640Z] [2022-08-30T23:06:53.640Z] Login Succeeded [2022-08-30T23:06:53.640Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T23:06:53.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T23:06:53.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T23:06:53.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T23:06:53.736Z] ========================================================= [2022-08-30T23:06:53.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T23:06:53.736Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:06:54.059Z] + 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-30T23:06:54.059Z] Sending build context to Docker daemon 20.68MB [2022-08-30T23:06:54.059Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T23:06:54.059Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T23:06:54.320Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T23:06:54.320Z] 2408cc74d12b: Pulling fs layer [2022-08-30T23:06:54.320Z] ea60b727a1ce: Pulling fs layer [2022-08-30T23:06:54.320Z] 30c4a7721957: Pulling fs layer [2022-08-30T23:06:54.320Z] 370296b7ddb6: Pulling fs layer [2022-08-30T23:06:54.320Z] 7c6cee850709: Pulling fs layer [2022-08-30T23:06:54.320Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T23:06:54.320Z] d94ebbe4e438: Pulling fs layer [2022-08-30T23:06:54.320Z] 370296b7ddb6: Waiting [2022-08-30T23:06:54.320Z] 39a5fcdaea64: Waiting [2022-08-30T23:06:54.320Z] 7c6cee850709: Waiting [2022-08-30T23:06:54.320Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T23:06:54.320Z] d94ebbe4e438: Waiting [2022-08-30T23:06:54.320Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T23:06:54.320Z] bcfd1f05c69d: Waiting [2022-08-30T23:06:54.321Z] 59ccb84bbe0f: Waiting [2022-08-30T23:06:54.321Z] 30c4a7721957: Verifying Checksum [2022-08-30T23:06:54.321Z] 30c4a7721957: Download complete [2022-08-30T23:06:54.321Z] ea60b727a1ce: Verifying Checksum [2022-08-30T23:06:54.321Z] ea60b727a1ce: Download complete [2022-08-30T23:06:54.321Z] 7c6cee850709: Verifying Checksum [2022-08-30T23:06:54.321Z] 7c6cee850709: Download complete [2022-08-30T23:06:54.321Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T23:06:54.321Z] 39a5fcdaea64: Download complete [2022-08-30T23:06:54.321Z] 2408cc74d12b: Verifying Checksum [2022-08-30T23:06:54.321Z] 2408cc74d12b: Download complete [2022-08-30T23:06:54.321Z] d94ebbe4e438: Verifying Checksum [2022-08-30T23:06:54.321Z] d94ebbe4e438: Download complete [2022-08-30T23:06:54.321Z] 2408cc74d12b: Pull complete [2022-08-30T23:06:54.585Z] ea60b727a1ce: Pull complete [2022-08-30T23:06:54.585Z] 30c4a7721957: Pull complete [2022-08-30T23:06:54.585Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T23:06:54.585Z] 59ccb84bbe0f: Download complete [2022-08-30T23:06:55.159Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T23:06:55.159Z] bcfd1f05c69d: Download complete [2022-08-30T23:06:55.159Z] 370296b7ddb6: Download complete [2022-08-30T23:06:59.362Z] 370296b7ddb6: Pull complete [2022-08-30T23:06:59.362Z] 7c6cee850709: Pull complete [2022-08-30T23:06:59.623Z] 39a5fcdaea64: Pull complete [2022-08-30T23:06:59.623Z] d94ebbe4e438: Pull complete [2022-08-30T23:07:02.167Z] bcfd1f05c69d: Pull complete [2022-08-30T23:07:02.736Z] 59ccb84bbe0f: Pull complete [2022-08-30T23:07:02.736Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T23:07:02.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T23:07:02.736Z] ---> a4fb48ad2a94 [2022-08-30T23:07:02.736Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T23:07:06.938Z] ---> Running in 2d4e2f32c2be [2022-08-30T23:07:06.938Z] Removing intermediate container 2d4e2f32c2be [2022-08-30T23:07:06.938Z] ---> f2eb068c6395 [2022-08-30T23:07:06.938Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T23:07:06.938Z] ---> Running in ab25e4de28e0 [2022-08-30T23:07:06.938Z] Removing intermediate container ab25e4de28e0 [2022-08-30T23:07:06.938Z] ---> ae7f11c8558a [2022-08-30T23:07:06.938Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T23:07:06.938Z] ---> Running in 6ff24236a1a7 [2022-08-30T23:07:06.938Z] Removing intermediate container 6ff24236a1a7 [2022-08-30T23:07:06.938Z] ---> 7830a5e6757f [2022-08-30T23:07:06.938Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T23:07:06.938Z] ---> Running in 7c99a0de9799 [2022-08-30T23:07:06.938Z] Removing intermediate container 7c99a0de9799 [2022-08-30T23:07:06.938Z] ---> 8901f1673412 [2022-08-30T23:07:06.938Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T23:07:07.198Z] ---> Running in 47dd0c4b9f28 [2022-08-30T23:07:07.493Z] Still waiting to schedule task [2022-08-30T23:07:07.494Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-30T23:07:07.766Z] Removing intermediate container 47dd0c4b9f28 [2022-08-30T23:07:07.767Z] ---> 47a8e51c51b1 [2022-08-30T23:07:07.767Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T23:07:07.767Z] ---> Running in 5d4f3cffc82f [2022-08-30T23:07:08.027Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T23:07:08.972Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T23:07:09.233Z] OK: 211 MiB in 51 packages [2022-08-30T23:07:09.495Z] Removing intermediate container 5d4f3cffc82f [2022-08-30T23:07:09.495Z] ---> eb2e9ca2ec0b [2022-08-30T23:07:09.495Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T23:07:09.755Z] ---> Running in bd19dbf59b87 [2022-08-30T23:07:09.755Z] Removing intermediate container bd19dbf59b87 [2022-08-30T23:07:09.755Z] ---> c46e6480c315 [2022-08-30T23:07:09.755Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T23:07:09.755Z] ---> 8d9ee19f520a [2022-08-30T23:07:09.755Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T23:07:10.017Z] ---> Running in 0bd1d70c34a7 [2022-08-30T23:07:36.612Z] Removing intermediate container 0bd1d70c34a7 [2022-08-30T23:07:36.612Z] ---> bcdb16f2692d [2022-08-30T23:07:36.612Z] Step 12/13 : COPY . . [2022-08-30T23:07:36.612Z] ---> b6a092cca6ff [2022-08-30T23:07:36.612Z] Step 13/13 : RUN ${MAKE} [2022-08-30T23:07:36.612Z] ---> Running in ea6d7f0a0fb8 [2022-08-30T23:07:36.612Z] noop [2022-08-30T23:07:36.612Z] Removing intermediate container ea6d7f0a0fb8 [2022-08-30T23:07:36.612Z] ---> 5c8926e1cb29 [2022-08-30T23:07:36.612Z] Successfully built 5c8926e1cb29 [2022-08-30T23:07:36.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:07:36.931Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T23:07:36.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:07:37.028Z] prd-ubuntu20.04-docker-8c-8g-24018 does not seem to be running inside a container [2022-08-30T23:07:37.070Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-30T23:07:37.453Z] $ docker top 6f90fddea0acdaa25ce5632d7246918ca92548bb5e034944942ad1805dba0ea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:07:37.819Z] + go version [2022-08-30T23:07:37.819Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T23:07:37.844Z] $ docker stop --time=1 6f90fddea0acdaa25ce5632d7246918ca92548bb5e034944942ad1805dba0ea9 [2022-08-30T23:07:39.169Z] $ docker rm -f 6f90fddea0acdaa25ce5632d7246918ca92548bb5e034944942ad1805dba0ea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:07:39.625Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T23:07:39.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:07:39.713Z] prd-ubuntu20.04-docker-8c-8g-24018 does not seem to be running inside a container [2022-08-30T23:07:39.754Z] $ 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 ******** ci-base-image-x86_64 cat [2022-08-30T23:07:40.126Z] $ docker top 47431736ab7687d35906237e4ab2a52a34ce66a3d7d1ef59e029d66e63b831d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:07:40.485Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T23:07:40.788Z] + make test [2022-08-30T23:07:40.788Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T23:07:41.047Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T23:07:53.259Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T23:07:53.259Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 23.4% of statements [2022-08-30T23:07:56.562Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.350s coverage: 13.8% of statements [2022-08-30T23:08:04.704Z] 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-30T23:08:04.704Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T23:08:08.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T23:08:08.906Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T23:08:08.906Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T23:08:08.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T23:08:08.935Z] $ docker stop --time=1 47431736ab7687d35906237e4ab2a52a34ce66a3d7d1ef59e029d66e63b831d7 [2022-08-30T23:08:11.330Z] $ docker rm -f 47431736ab7687d35906237e4ab2a52a34ce66a3d7d1ef59e029d66e63b831d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T23:08:11.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T23:08:11.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-30T23:08:12.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T23:08:12.715Z] + ls -al . [2022-08-30T23:08:12.716Z] total 232 [2022-08-30T23:08:12.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 23:07 . [2022-08-30T23:08:12.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:06 .. [2022-08-30T23:08:12.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 23:07 .git [2022-08-30T23:08:12.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 23:06 .github [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 23:06 .gitignore [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 23:06 .golangci.yml [2022-08-30T23:08:12.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 23:06 .semver [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 23:06 Attribution.txt [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 23:06 CHANGELOG.md [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 23:06 Dockerfile [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 23:06 GOVERNANCE.md [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 23:06 Jenkinsfile [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 23:06 LICENSE [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 23:06 Makefile [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 23:06 OWNERS.md [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 23:06 README.md [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 23:06 VERSION [2022-08-30T23:08:12.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 23:06 bin [2022-08-30T23:08:12.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 23:06 cmd [2022-08-30T23:08:12.716Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 30 23:07 coverage.out [2022-08-30T23:08:12.716Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 23:06 doc [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 23:06 go.mod [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 23:06 go.sum [2022-08-30T23:08:12.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:06 internal [2022-08-30T23:08:12.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:06 snap [2022-08-30T23:08:12.716Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:08:13.036Z] + 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=df60897934b71213d538ca066e509b36c6d7f0ba --label arch=amd64 --label version=0.0.0 . [2022-08-30T23:08:13.036Z] Sending build context to Docker daemon 20.76MB [2022-08-30T23:08:13.036Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T23:08:13.036Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T23:08:13.036Z] ---> 5c8926e1cb29 [2022-08-30T23:08:13.036Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T23:08:13.609Z] ---> Running in bc9936d3cfa0 [2022-08-30T23:08:13.609Z] Removing intermediate container bc9936d3cfa0 [2022-08-30T23:08:13.609Z] ---> 71cfae0dee4e [2022-08-30T23:08:13.609Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T23:08:13.609Z] ---> Running in 124f3604875c [2022-08-30T23:08:13.609Z] Removing intermediate container 124f3604875c [2022-08-30T23:08:13.609Z] ---> 5a691b067ee1 [2022-08-30T23:08:13.609Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T23:08:13.872Z] ---> Running in 3960cc70463e [2022-08-30T23:08:13.872Z] Removing intermediate container 3960cc70463e [2022-08-30T23:08:13.872Z] ---> 6a0fb16b1443 [2022-08-30T23:08:13.872Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T23:08:13.872Z] ---> Running in e02b29b36363 [2022-08-30T23:08:13.872Z] Removing intermediate container e02b29b36363 [2022-08-30T23:08:13.872Z] ---> 30ace4350285 [2022-08-30T23:08:13.872Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T23:08:14.134Z] ---> Running in 7b1751328e30 [2022-08-30T23:08:14.704Z] Removing intermediate container 7b1751328e30 [2022-08-30T23:08:14.704Z] ---> 03661eb5208f [2022-08-30T23:08:14.704Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T23:08:14.704Z] ---> Running in f90dd30c9cf4 [2022-08-30T23:08:14.964Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T23:08:15.904Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T23:08:16.165Z] OK: 211 MiB in 51 packages [2022-08-30T23:08:16.426Z] Removing intermediate container f90dd30c9cf4 [2022-08-30T23:08:16.426Z] ---> b62f4ef1db1f [2022-08-30T23:08:16.426Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T23:08:16.426Z] ---> Running in 08722604cec1 [2022-08-30T23:08:16.686Z] Removing intermediate container 08722604cec1 [2022-08-30T23:08:16.686Z] ---> fdcd47da2308 [2022-08-30T23:08:16.686Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T23:08:16.686Z] ---> e135230744f7 [2022-08-30T23:08:16.686Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T23:08:16.686Z] ---> Running in 8f437656e843 [2022-08-30T23:08:17.627Z] Removing intermediate container 8f437656e843 [2022-08-30T23:08:17.627Z] ---> 9db601becd40 [2022-08-30T23:08:17.627Z] Step 12/26 : COPY . . [2022-08-30T23:08:18.198Z] ---> 10190e1887c4 [2022-08-30T23:08:18.198Z] Step 13/26 : RUN ${MAKE} [2022-08-30T23:08:18.198Z] ---> Running in 7a28f44e78b3 [2022-08-30T23:08:18.458Z] 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-30T23:08:45.036Z] Removing intermediate container 7a28f44e78b3 [2022-08-30T23:08:45.036Z] ---> edb79f9a9d5d [2022-08-30T23:08:45.036Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T23:08:45.036Z] 3.16: Pulling from library/alpine [2022-08-30T23:08:45.036Z] 213ec9aee27d: Pulling fs layer [2022-08-30T23:08:45.036Z] 213ec9aee27d: Verifying Checksum [2022-08-30T23:08:45.036Z] 213ec9aee27d: Download complete [2022-08-30T23:08:45.036Z] 213ec9aee27d: Pull complete [2022-08-30T23:08:45.036Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T23:08:45.036Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T23:08:45.036Z] ---> 9c6f07244728 [2022-08-30T23:08:45.036Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T23:08:45.036Z] ---> Running in 1c04515dd768 [2022-08-30T23:08:45.036Z] Removing intermediate container 1c04515dd768 [2022-08-30T23:08:45.036Z] ---> e2665460d3d2 [2022-08-30T23:08:45.036Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T23:08:45.036Z] ---> Running in fd980c5f5aee [2022-08-30T23:08:45.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T23:08:45.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T23:08:45.037Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T23:08:45.037Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T23:08:45.037Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T23:08:45.037Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T23:08:45.037Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T23:08:45.037Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T23:08:45.037Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T23:08:45.037Z] OK: 8 MiB in 20 packages [2022-08-30T23:08:45.037Z] Removing intermediate container fd980c5f5aee [2022-08-30T23:08:45.037Z] ---> 3e0d5133bb9c [2022-08-30T23:08:45.037Z] Step 17/26 : WORKDIR / [2022-08-30T23:08:45.037Z] ---> Running in ba8fca2aa5dd [2022-08-30T23:08:45.037Z] Removing intermediate container ba8fca2aa5dd [2022-08-30T23:08:45.037Z] ---> c04bf64728ae [2022-08-30T23:08:45.037Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T23:08:45.037Z] ---> 4e322b5f03e5 [2022-08-30T23:08:45.037Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T23:08:45.037Z] ---> e748dd16b8cc [2022-08-30T23:08:45.037Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T23:08:45.037Z] ---> d5460882dff8 [2022-08-30T23:08:45.037Z] Step 21/26 : EXPOSE 59984 [2022-08-30T23:08:45.037Z] ---> Running in 692066dc52db [2022-08-30T23:08:45.037Z] Removing intermediate container 692066dc52db [2022-08-30T23:08:45.037Z] ---> 67ecb66c7f67 [2022-08-30T23:08:45.037Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T23:08:45.037Z] ---> Running in 8b09cbf4dc99 [2022-08-30T23:08:45.037Z] Removing intermediate container 8b09cbf4dc99 [2022-08-30T23:08:45.037Z] ---> eb27033b4f61 [2022-08-30T23:08:45.037Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T23:08:45.037Z] ---> Running in 51361955e53e [2022-08-30T23:08:45.037Z] Removing intermediate container 51361955e53e [2022-08-30T23:08:45.037Z] ---> a8f6b3b0e468 [2022-08-30T23:08:45.037Z] Step 24/26 : LABEL arch=amd64 [2022-08-30T23:08:45.037Z] ---> Running in 3fd2c855d827 [2022-08-30T23:08:45.037Z] Removing intermediate container 3fd2c855d827 [2022-08-30T23:08:45.037Z] ---> 4f7406b6a176 [2022-08-30T23:08:45.037Z] Step 25/26 : LABEL git_sha=df60897934b71213d538ca066e509b36c6d7f0ba [2022-08-30T23:08:45.037Z] ---> Running in e44bf08201e2 [2022-08-30T23:08:45.037Z] Removing intermediate container e44bf08201e2 [2022-08-30T23:08:45.037Z] ---> 86c0accdef1c [2022-08-30T23:08:45.037Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T23:08:45.037Z] ---> Running in 1a9dbda348c6 [2022-08-30T23:08:45.037Z] Removing intermediate container 1a9dbda348c6 [2022-08-30T23:08:45.037Z] ---> 9caa6fdd82f3 [2022-08-30T23:08:45.037Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T23:08:45.037Z] Successfully built 9caa6fdd82f3 [2022-08-30T23:08:45.037Z] 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-30T23:08:45.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T23:08:45.750Z] [2022-08-30T23:08:45.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:08:46.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T23:08:46.050Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T23:08:46.050Z] 5eb5b503b376: Pulling fs layer [2022-08-30T23:08:46.050Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T23:08:46.050Z] ec43610c2a17: Pulling fs layer [2022-08-30T23:08:46.050Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T23:08:46.050Z] 33b1e0a273af: Pulling fs layer [2022-08-30T23:08:46.050Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T23:08:46.050Z] 2f39f015ded8: Pulling fs layer [2022-08-30T23:08:46.050Z] 5d3b04190fa2: Waiting [2022-08-30T23:08:46.050Z] 33b1e0a273af: Waiting [2022-08-30T23:08:46.050Z] 2f39f015ded8: Waiting [2022-08-30T23:08:46.050Z] 5c69ac0246d0: Download complete [2022-08-30T23:08:46.050Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T23:08:46.051Z] 3a2ae6a8a46f: Download complete [2022-08-30T23:08:46.051Z] 33b1e0a273af: Verifying Checksum [2022-08-30T23:08:46.051Z] 33b1e0a273af: Download complete [2022-08-30T23:08:46.051Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T23:08:46.051Z] 5d3b04190fa2: Download complete [2022-08-30T23:08:46.051Z] ec43610c2a17: Verifying Checksum [2022-08-30T23:08:46.051Z] ec43610c2a17: Download complete [2022-08-30T23:08:46.311Z] 5eb5b503b376: Verifying Checksum [2022-08-30T23:08:46.311Z] 5eb5b503b376: Download complete [2022-08-30T23:08:46.879Z] 2f39f015ded8: Download complete [2022-08-30T23:08:47.448Z] 5eb5b503b376: Pull complete [2022-08-30T23:08:47.706Z] 5c69ac0246d0: Pull complete [2022-08-30T23:08:48.276Z] ec43610c2a17: Pull complete [2022-08-30T23:08:48.276Z] 3a2ae6a8a46f: Pull complete [2022-08-30T23:08:48.535Z] 33b1e0a273af: Pull complete [2022-08-30T23:08:48.535Z] 5d3b04190fa2: Pull complete [2022-08-30T23:08:53.814Z] 2f39f015ded8: Pull complete [2022-08-30T23:08:53.814Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T23:08:53.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T23:08:53.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:08:53.913Z] prd-ubuntu20.04-docker-8c-8g-24018 does not seem to be running inside a container [2022-08-30T23:08:53.958Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T23:08:57.875Z] $ docker top b2a63c7e87a5e015616770358a047198cfd10c86fe6d21e117718d4b79ff9d03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:08:58.293Z] ---> job-cost.sh [2022-08-30T23:08:58.293Z] lf-activate-venv: SKIPPING [2022-08-30T23:08:58.293Z] INFO: No Stack... [2022-08-30T23:08:58.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T23:08:59.122Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T23:08:59.416Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T23:08:59.416Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T23:08:59.430Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [2022-08-30T23:08:59.435Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] did not exist. Created. [2022-08-30T23:08:59.435Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T23:08:59.743Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T23:08:59.774Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T23:08:59.779Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T23:08:59.801Z] $ docker stop --time=1 b2a63c7e87a5e015616770358a047198cfd10c86fe6d21e117718d4b79ff9d03 [2022-08-30T23:09:00.972Z] $ docker rm -f b2a63c7e87a5e015616770358a047198cfd10c86fe6d21e117718d4b79ff9d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T23:14:22.875Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24082 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T23:14:22.893Z] Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout [2022-08-30T23:14:22.945Z] Selected Git installation does not exist. Using Default [2022-08-30T23:14:22.945Z] The recommended git tool is: NONE [2022-08-30T23:14:30.930Z] using credential edgex-jenkins-ssh [2022-08-30T23:14:30.949Z] Cloning the remote Git repository [2022-08-30T23:14:31.030Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T23:14:31.166Z] > git init /w/workspace/device-onvif-camera/15 # timeout=10 [2022-08-30T23:14:31.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T23:14:31.268Z] > git --version # timeout=10 [2022-08-30T23:14:31.293Z] > git --version # 'git version 2.25.1' [2022-08-30T23:14:31.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T23:14:31.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T23:14:33.338Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b4b4e4f45ebfc9c4e0c89ec4979cfb549fcc2826 [2022-08-30T23:14:32.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T23:14:32.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T23:14:32.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T23:14:32.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T23:14:32.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T23:14:32.730Z] > 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-30T23:14:33.363Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T23:14:33.385Z] > git checkout -f b4b4e4f45ebfc9c4e0c89ec4979cfb549fcc2826 # timeout=10 [2022-08-30T23:14:33.635Z] > git remote # timeout=10 [2022-08-30T23:14:33.655Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T23:14:33.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T23:14:33.691Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-30T23:14:34.112Z] Merge succeeded, producing 8e696011080e9bea09557682fb66573c7d25d7a3 [2022-08-30T23:14:34.112Z] Checking out Revision 8e696011080e9bea09557682fb66573c7d25d7a3 (PR-149) [2022-08-30T23:14:34.096Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T23:14:34.125Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T23:14:34.139Z] > git checkout -f 8e696011080e9bea09557682fb66573c7d25d7a3 # timeout=10 [2022-08-30T23:14:38.530Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-30T23:14:38.563Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T23:14:39.468Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T23:14:39.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T23:14:39.468Z] Dload Upload Total Spent Left Speed [2022-08-30T23:14:39.468Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-08-30T23:14:38.544Z] > git rev-list --no-walk 76bbcd3c97408e722d7e07b72e7f928eadb14c68 # timeout=10 [2022-08-30T23:14:40.225Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T23:14:40.589Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T23:14:40.589Z] + sudo tee /etc/docker/daemon.new [2022-08-30T23:14:40.589Z] { [2022-08-30T23:14:40.589Z] "registry-mirrors": [ [2022-08-30T23:14:40.589Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T23:14:40.589Z] ], [2022-08-30T23:14:40.589Z] "bip": "10.250.0.254/24", [2022-08-30T23:14:40.589Z] "hosts": [ [2022-08-30T23:14:40.589Z] "tcp://0.0.0.0:5555", [2022-08-30T23:14:40.589Z] "unix:///var/run/docker.sock" [2022-08-30T23:14:40.589Z] ], [2022-08-30T23:14:40.589Z] "mtu": 1458, [2022-08-30T23:14:40.589Z] "selinux-enabled": true, [2022-08-30T23:14:40.589Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T23:14:40.589Z] } [Pipeline] sh [2022-08-30T23:14:40.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T23:14:41.340Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T23:14:59.727Z] provisioning config files... [2022-08-30T23:14:59.757Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config5556834323667578076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:15:00.355Z] ---> docker-login.sh [2022-08-30T23:15:00.355Z] nexus3.edgexfoundry.org:10001 [2022-08-30T23:15:00.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:15:01.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:15:01.231Z] Configure a credential helper to remove this warning. See [2022-08-30T23:15:01.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:15:01.231Z] [2022-08-30T23:15:01.231Z] Login Succeeded [2022-08-30T23:15:01.231Z] nexus3.edgexfoundry.org:10002 [2022-08-30T23:15:01.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:15:01.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:15:01.835Z] Configure a credential helper to remove this warning. See [2022-08-30T23:15:01.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:15:01.835Z] [2022-08-30T23:15:01.835Z] Login Succeeded [2022-08-30T23:15:01.835Z] nexus3.edgexfoundry.org:10003 [2022-08-30T23:15:02.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:15:02.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:15:02.415Z] Configure a credential helper to remove this warning. See [2022-08-30T23:15:02.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:15:02.415Z] [2022-08-30T23:15:02.415Z] Login Succeeded [2022-08-30T23:15:02.415Z] nexus3.edgexfoundry.org:10004 [2022-08-30T23:15:02.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:15:02.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:15:02.689Z] Configure a credential helper to remove this warning. See [2022-08-30T23:15:02.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:15:02.689Z] [2022-08-30T23:15:02.689Z] Login Succeeded [2022-08-30T23:15:02.963Z] docker.io [2022-08-30T23:15:03.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T23:15:03.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T23:15:03.513Z] Configure a credential helper to remove this warning. See [2022-08-30T23:15:03.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T23:15:03.513Z] [2022-08-30T23:15:03.513Z] Login Succeeded [2022-08-30T23:15:03.513Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T23:15:03.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T23:15:03.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T23:15:03.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T23:15:03.866Z] ========================================================= [2022-08-30T23:15:03.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T23:15:03.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:15:04.240Z] + 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-30T23:15:04.845Z] Sending build context to Docker daemon 14.18MB [2022-08-30T23:15:04.845Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T23:15:04.845Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T23:15:05.126Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T23:15:05.126Z] b3c136eddcbf: Pulling fs layer [2022-08-30T23:15:05.126Z] c0a3192eca97: Pulling fs layer [2022-08-30T23:15:05.126Z] a050256f5b6f: Pulling fs layer [2022-08-30T23:15:05.126Z] 656be50a0ddc: Pulling fs layer [2022-08-30T23:15:05.126Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T23:15:05.126Z] 46d945488cbd: Pulling fs layer [2022-08-30T23:15:05.126Z] 8a5474983e97: Pulling fs layer [2022-08-30T23:15:05.126Z] 329c88fbcd65: Pulling fs layer [2022-08-30T23:15:05.126Z] 46d945488cbd: Waiting [2022-08-30T23:15:05.126Z] 8a5474983e97: Waiting [2022-08-30T23:15:05.126Z] 329c88fbcd65: Waiting [2022-08-30T23:15:05.126Z] 2bbca73fdf42: Waiting [2022-08-30T23:15:05.126Z] 656be50a0ddc: Waiting [2022-08-30T23:15:05.126Z] a050256f5b6f: Verifying Checksum [2022-08-30T23:15:05.126Z] a050256f5b6f: Download complete [2022-08-30T23:15:05.126Z] c0a3192eca97: Verifying Checksum [2022-08-30T23:15:05.126Z] c0a3192eca97: Download complete [2022-08-30T23:15:05.126Z] 2bbca73fdf42: Download complete [2022-08-30T23:15:05.126Z] 46d945488cbd: Verifying Checksum [2022-08-30T23:15:05.126Z] 46d945488cbd: Download complete [2022-08-30T23:15:05.126Z] b3c136eddcbf: Verifying Checksum [2022-08-30T23:15:06.146Z] b3c136eddcbf: Pull complete [2022-08-30T23:15:06.146Z] 329c88fbcd65: Verifying Checksum [2022-08-30T23:15:06.146Z] 329c88fbcd65: Download complete [2022-08-30T23:15:06.750Z] c0a3192eca97: Pull complete [2022-08-30T23:15:07.027Z] a050256f5b6f: Pull complete [2022-08-30T23:15:07.625Z] 8a5474983e97: Verifying Checksum [2022-08-30T23:15:07.625Z] 8a5474983e97: Download complete [2022-08-30T23:15:07.901Z] 656be50a0ddc: Verifying Checksum [2022-08-30T23:15:07.901Z] 656be50a0ddc: Download complete [2022-08-30T23:15:20.314Z] 656be50a0ddc: Pull complete [2022-08-30T23:15:20.314Z] 2bbca73fdf42: Pull complete [2022-08-30T23:15:20.594Z] 46d945488cbd: Pull complete [2022-08-30T23:15:27.309Z] 8a5474983e97: Pull complete [2022-08-30T23:15:28.288Z] 329c88fbcd65: Pull complete [2022-08-30T23:15:28.288Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T23:15:28.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T23:15:28.288Z] ---> ff4287adb874 [2022-08-30T23:15:28.288Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T23:15:30.926Z] ---> Running in 85cb5de6d024 [2022-08-30T23:15:30.926Z] Removing intermediate container 85cb5de6d024 [2022-08-30T23:15:30.926Z] ---> e7d984098197 [2022-08-30T23:15:30.926Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T23:15:30.926Z] ---> Running in 28c177279882 [2022-08-30T23:15:32.363Z] Removing intermediate container 28c177279882 [2022-08-30T23:15:32.363Z] ---> 6249d49671bd [2022-08-30T23:15:32.363Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T23:15:32.363Z] ---> Running in 5ac8c94576a1 [2022-08-30T23:15:32.636Z] Removing intermediate container 5ac8c94576a1 [2022-08-30T23:15:32.636Z] ---> f016aa909e41 [2022-08-30T23:15:32.636Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T23:15:32.636Z] ---> Running in 65a6ef73eb68 [2022-08-30T23:15:32.914Z] Removing intermediate container 65a6ef73eb68 [2022-08-30T23:15:32.914Z] ---> 66f1b2a68552 [2022-08-30T23:15:32.914Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T23:15:33.192Z] ---> Running in 424c3421cc1c [2022-08-30T23:15:35.187Z] Removing intermediate container 424c3421cc1c [2022-08-30T23:15:35.187Z] ---> d48c4a265c11 [2022-08-30T23:15:35.187Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T23:15:35.187Z] ---> Running in 893588f2ec70 [2022-08-30T23:15:36.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T23:15:37.153Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T23:15:38.143Z] OK: 221 MiB in 51 packages [2022-08-30T23:15:39.130Z] Removing intermediate container 893588f2ec70 [2022-08-30T23:15:39.130Z] ---> 32c4560fadf9 [2022-08-30T23:15:39.130Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T23:15:39.130Z] ---> Running in 185a26f12505 [2022-08-30T23:15:39.403Z] Removing intermediate container 185a26f12505 [2022-08-30T23:15:39.403Z] ---> 7a0562ac1fca [2022-08-30T23:15:39.403Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T23:15:40.002Z] ---> fae2d30a4fae [2022-08-30T23:15:40.002Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T23:15:40.002Z] ---> Running in 9b62e1aef348 [2022-08-30T23:16:36.573Z] Removing intermediate container 9b62e1aef348 [2022-08-30T23:16:36.573Z] ---> 4a5f3adeec59 [2022-08-30T23:16:36.573Z] Step 12/13 : COPY . . [2022-08-30T23:16:36.573Z] ---> 0c69108c8a8a [2022-08-30T23:16:36.573Z] Step 13/13 : RUN ${MAKE} [2022-08-30T23:16:36.573Z] ---> Running in 210539a98f95 [2022-08-30T23:16:37.554Z] noop [2022-08-30T23:16:38.530Z] Removing intermediate container 210539a98f95 [2022-08-30T23:16:38.530Z] ---> cad7aa68d1f6 [2022-08-30T23:16:38.530Z] Successfully built cad7aa68d1f6 [2022-08-30T23:16:38.530Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:16:38.902Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T23:16:38.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:16:39.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container [2022-08-30T23:16:39.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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-30T23:16:40.549Z] $ docker top a569c4fde42b7dcaf4b0797489e5fc2739a8cf593f69a74cc9c2640adc5c1fc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:16:41.470Z] + go version [2022-08-30T23:16:41.470Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T23:16:41.496Z] $ docker stop --time=1 a569c4fde42b7dcaf4b0797489e5fc2739a8cf593f69a74cc9c2640adc5c1fc3 [2022-08-30T23:16:43.133Z] $ docker rm -f a569c4fde42b7dcaf4b0797489e5fc2739a8cf593f69a74cc9c2640adc5c1fc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:16:43.771Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T23:16:43.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:16:44.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container [2022-08-30T23:16:44.112Z] $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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-30T23:16:45.436Z] $ docker top bb3b577cb6b4136d46b5aea8237d7039d073f670f1b5e2c4cdd12cb89e4bd06e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:16:46.368Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/15 [Pipeline] fileExists [Pipeline] sh [2022-08-30T23:16:47.049Z] + make test [2022-08-30T23:16:47.049Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T23:16:49.053Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T23:18:41.001Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T23:18:41.001Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 23.4% of statements [2022-08-30T23:19:07.921Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.558s coverage: 13.8% of statements [2022-08-30T23:19:07.921Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T23:19:07.921Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T23:19:30.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T23:19:30.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T23:19:30.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-30T23:19:30.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T23:19:30.872Z] $ docker stop --time=1 bb3b577cb6b4136d46b5aea8237d7039d073f670f1b5e2c4cdd12cb89e4bd06e [2022-08-30T23:19:32.666Z] $ docker rm -f bb3b577cb6b4136d46b5aea8237d7039d073f670f1b5e2c4cdd12cb89e4bd06e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T23:19:33.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T23:19:33.810Z] Warning: overwriting stash ‘coverage-report’ [2022-08-30T23:19:34.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T23:19:34.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T23:19:35.170Z] + ls -al . [2022-08-30T23:19:35.170Z] total 228 [2022-08-30T23:19:35.170Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 23:16 . [2022-08-30T23:19:35.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:14 .. [2022-08-30T23:19:35.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 23:14 .git [2022-08-30T23:19:35.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 23:14 .github [2022-08-30T23:19:35.170Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 30 23:14 .gitignore [2022-08-30T23:19:35.170Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 23:14 .golangci.yml [2022-08-30T23:19:35.170Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 30 23:14 Attribution.txt [2022-08-30T23:19:35.170Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 30 23:14 CHANGELOG.md [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 30 23:14 Dockerfile [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 23:14 GOVERNANCE.md [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 30 23:14 Jenkinsfile [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 30 23:14 LICENSE [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 30 23:14 Makefile [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 30 23:14 OWNERS.md [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 30 23:14 README.md [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 23:06 VERSION [2022-08-30T23:19:35.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 23:14 bin [2022-08-30T23:19:35.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 23:14 cmd [2022-08-30T23:19:35.171Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 30 23:19 coverage.out [2022-08-30T23:19:35.171Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 23:14 doc [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 30 23:14 go.mod [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 30 23:14 go.sum [2022-08-30T23:19:35.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:14 internal [2022-08-30T23:19:35.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 23:14 snap [2022-08-30T23:19:35.171Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 30 23:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:19:35.527Z] + 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=8e696011080e9bea09557682fb66573c7d25d7a3 --label arch=arm64 --label version=0.0.0 . [2022-08-30T23:19:36.130Z] Sending build context to Docker daemon 14.26MB [2022-08-30T23:19:36.130Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T23:19:36.130Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-30T23:19:36.130Z] ---> cad7aa68d1f6 [2022-08-30T23:19:36.130Z] Step 3/26 : ARG MAKE="make build" [2022-08-30T23:19:36.130Z] ---> Running in e26ba50cdce1 [2022-08-30T23:19:36.723Z] Removing intermediate container e26ba50cdce1 [2022-08-30T23:19:36.723Z] ---> 474028fa4fdc [2022-08-30T23:19:36.723Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T23:19:36.723Z] ---> Running in b88d8258ea9c [2022-08-30T23:19:36.994Z] Removing intermediate container b88d8258ea9c [2022-08-30T23:19:36.994Z] ---> 5a381e2a1465 [2022-08-30T23:19:36.994Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T23:19:36.994Z] ---> Running in 97a4d63f55e8 [2022-08-30T23:19:37.269Z] Removing intermediate container 97a4d63f55e8 [2022-08-30T23:19:37.269Z] ---> c2b162065c39 [2022-08-30T23:19:37.269Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-30T23:19:37.269Z] ---> Running in 6d68cbc5d745 [2022-08-30T23:19:37.868Z] Removing intermediate container 6d68cbc5d745 [2022-08-30T23:19:37.868Z] ---> b0aa471ff5a7 [2022-08-30T23:19:37.868Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T23:19:37.868Z] ---> Running in b9301cd3dc8c [2022-08-30T23:19:39.304Z] Removing intermediate container b9301cd3dc8c [2022-08-30T23:19:39.304Z] ---> ba9e5a0e153d [2022-08-30T23:19:39.304Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T23:19:39.578Z] ---> Running in 4e440e43a822 [2022-08-30T23:19:40.561Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T23:19:41.535Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T23:19:42.128Z] OK: 221 MiB in 51 packages [2022-08-30T23:19:43.131Z] Removing intermediate container 4e440e43a822 [2022-08-30T23:19:43.131Z] ---> eefe25ccef02 [2022-08-30T23:19:43.131Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-30T23:19:43.131Z] ---> Running in a63533d7bf5f [2022-08-30T23:19:43.405Z] Removing intermediate container a63533d7bf5f [2022-08-30T23:19:43.405Z] ---> 7f2cd13937d8 [2022-08-30T23:19:43.405Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-30T23:19:43.998Z] ---> ae3e8a060129 [2022-08-30T23:19:43.998Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T23:19:43.998Z] ---> Running in 2d9c1dbaeb22 [2022-08-30T23:19:45.978Z] Removing intermediate container 2d9c1dbaeb22 [2022-08-30T23:19:45.978Z] ---> e871eb4d0e5f [2022-08-30T23:19:45.978Z] Step 12/26 : COPY . . [2022-08-30T23:19:47.951Z] ---> ad4ae17f7f3f [2022-08-30T23:19:47.951Z] Step 13/26 : RUN ${MAKE} [2022-08-30T23:19:47.951Z] ---> Running in 21247a2594e8 [2022-08-30T23:19:48.547Z] 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-30T23:22:25.465Z] Removing intermediate container 21247a2594e8 [2022-08-30T23:22:25.465Z] ---> 8e801cbacfd6 [2022-08-30T23:22:25.465Z] Step 14/26 : FROM alpine:3.16 [2022-08-30T23:22:25.465Z] 3.16: Pulling from library/alpine [2022-08-30T23:22:25.465Z] 9b18e9b68314: Pulling fs layer [2022-08-30T23:22:25.465Z] 9b18e9b68314: Verifying Checksum [2022-08-30T23:22:25.465Z] 9b18e9b68314: Download complete [2022-08-30T23:22:25.465Z] 9b18e9b68314: Pull complete [2022-08-30T23:22:25.465Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T23:22:25.465Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T23:22:25.465Z] ---> a6215f271958 [2022-08-30T23:22:25.465Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-30T23:22:25.465Z] ---> Running in c11756b9dfde [2022-08-30T23:22:25.465Z] Removing intermediate container c11756b9dfde [2022-08-30T23:22:25.465Z] ---> 0621452c76a2 [2022-08-30T23:22:25.465Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-30T23:22:25.465Z] ---> Running in dcbe1452a91a [2022-08-30T23:22:25.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T23:22:25.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T23:22:25.465Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-30T23:22:25.465Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T23:22:25.465Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-30T23:22:25.465Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T23:22:25.465Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-30T23:22:25.465Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-30T23:22:25.465Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T23:22:25.465Z] OK: 8 MiB in 20 packages [2022-08-30T23:22:25.465Z] Removing intermediate container dcbe1452a91a [2022-08-30T23:22:25.465Z] ---> d7f89225b9d3 [2022-08-30T23:22:25.465Z] Step 17/26 : WORKDIR / [2022-08-30T23:22:25.465Z] ---> Running in 94599bfc9f30 [2022-08-30T23:22:25.465Z] Removing intermediate container 94599bfc9f30 [2022-08-30T23:22:25.465Z] ---> 153545774c86 [2022-08-30T23:22:25.465Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-30T23:22:26.895Z] ---> 7745b8512bd8 [2022-08-30T23:22:26.895Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-30T23:22:27.499Z] ---> 4b1a82304a0e [2022-08-30T23:22:27.499Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-30T23:22:28.091Z] ---> e6b8c460a9cc [2022-08-30T23:22:28.091Z] Step 21/26 : EXPOSE 59984 [2022-08-30T23:22:28.364Z] ---> Running in 6bd5f982405d [2022-08-30T23:22:28.635Z] Removing intermediate container 6bd5f982405d [2022-08-30T23:22:28.635Z] ---> 1162c43d3e84 [2022-08-30T23:22:28.635Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-30T23:22:28.636Z] ---> Running in 25b7b95081fe [2022-08-30T23:22:28.909Z] Removing intermediate container 25b7b95081fe [2022-08-30T23:22:28.909Z] ---> 563b4f9aa310 [2022-08-30T23:22:28.909Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T23:22:28.909Z] ---> Running in ed7da4c82c95 [2022-08-30T23:22:29.509Z] Removing intermediate container ed7da4c82c95 [2022-08-30T23:22:29.509Z] ---> be13c025dcf6 [2022-08-30T23:22:29.509Z] Step 24/26 : LABEL arch=arm64 [2022-08-30T23:22:29.509Z] ---> Running in 0d5902caf934 [2022-08-30T23:22:29.783Z] Removing intermediate container 0d5902caf934 [2022-08-30T23:22:29.783Z] ---> f97f036d6275 [2022-08-30T23:22:29.783Z] Step 25/26 : LABEL git_sha=8e696011080e9bea09557682fb66573c7d25d7a3 [2022-08-30T23:22:29.783Z] ---> Running in 5f7effa3a049 [2022-08-30T23:22:30.053Z] Removing intermediate container 5f7effa3a049 [2022-08-30T23:22:30.053Z] ---> f6d9d2b24622 [2022-08-30T23:22:30.053Z] Step 26/26 : LABEL version=0.0.0 [2022-08-30T23:22:30.331Z] ---> Running in 254bcc575032 [2022-08-30T23:22:30.602Z] Removing intermediate container 254bcc575032 [2022-08-30T23:22:30.602Z] ---> 6122484d57a9 [2022-08-30T23:22:30.602Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T23:22:30.602Z] Successfully built 6122484d57a9 [2022-08-30T23:22:30.602Z] 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-30T23:22:31.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:22:31.073Z] [2022-08-30T23:22:31.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:22:31.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:22:31.698Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T23:22:31.698Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T23:22:31.698Z] 04944245beec: Pulling fs layer [2022-08-30T23:22:31.698Z] 699f458cf7ca: Pulling fs layer [2022-08-30T23:22:31.698Z] 765212b225bb: Pulling fs layer [2022-08-30T23:22:31.698Z] f23df028b6ca: Pulling fs layer [2022-08-30T23:22:31.698Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T23:22:31.698Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T23:22:31.698Z] 765212b225bb: Waiting [2022-08-30T23:22:31.698Z] f23df028b6ca: Waiting [2022-08-30T23:22:31.698Z] d65c8cfc05b1: Waiting [2022-08-30T23:22:31.698Z] 2437ff75d9bd: Waiting [2022-08-30T23:22:31.698Z] 04944245beec: Verifying Checksum [2022-08-30T23:22:31.698Z] 04944245beec: Download complete [2022-08-30T23:22:31.698Z] 765212b225bb: Verifying Checksum [2022-08-30T23:22:31.698Z] 765212b225bb: Download complete [2022-08-30T23:22:31.698Z] f23df028b6ca: Download complete [2022-08-30T23:22:31.698Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T23:22:31.698Z] d65c8cfc05b1: Download complete [2022-08-30T23:22:31.974Z] 699f458cf7ca: Verifying Checksum [2022-08-30T23:22:31.974Z] 699f458cf7ca: Download complete [2022-08-30T23:22:32.248Z] 8998bd30e6a1: Download complete [2022-08-30T23:22:34.883Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T23:22:34.883Z] 2437ff75d9bd: Download complete [2022-08-30T23:22:36.891Z] 8998bd30e6a1: Pull complete [2022-08-30T23:22:37.163Z] 04944245beec: Pull complete [2022-08-30T23:22:38.599Z] 699f458cf7ca: Pull complete [2022-08-30T23:22:38.872Z] 765212b225bb: Pull complete [2022-08-30T23:22:39.469Z] f23df028b6ca: Pull complete [2022-08-30T23:22:39.742Z] d65c8cfc05b1: Pull complete [2022-08-30T23:22:54.901Z] 2437ff75d9bd: Pull complete [2022-08-30T23:22:54.901Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T23:22:54.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T23:22:54.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:22:55.219Z] prd-ubuntu20.04-docker-arm64-4c-16g-24082 does not seem to be running inside a container [2022-08-30T23:22:55.312Z] $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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-30T23:22:58.200Z] $ docker top ac8c47f07adaaaa7f01605e0e07a190f56eb8346afa62fd20fdcf050c6acebd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:22:59.145Z] ---> job-cost.sh [2022-08-30T23:22:59.145Z] lf-activate-venv: SKIPPING [2022-08-30T23:22:59.145Z] INFO: No Stack... [2022-08-30T23:22:59.743Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T23:23:00.727Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T23:23:01.407Z] + + cat /w/workspace/device-onvif-camera/15/archives/cost.csv [2022-08-30T23:23:01.407Z] cut -d, -f6 [Pipeline] lock [2022-08-30T23:23:01.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [2022-08-30T23:23:01.487Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] did not exist. Created. [2022-08-30T23:23:01.487Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T23:23:02.175Z] /w/workspace/device-onvif-camera/15@tmp/durable-6d210a65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T23:23:02.868Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T23:23:02.898Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T23:23:02.959Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T23:23:02.966Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T23:23:02.988Z] $ docker stop --time=1 ac8c47f07adaaaa7f01605e0e07a190f56eb8346afa62fd20fdcf050c6acebd6 [2022-08-30T23:23:04.554Z] $ docker rm -f ac8c47f07adaaaa7f01605e0e07a190f56eb8346afa62fd20fdcf050c6acebd6 [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-30T23:23:05.077Z] provisioning config files... [2022-08-30T23:23:05.086Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8838211480192997346tmp [Pipeline] { [Pipeline] sh [2022-08-30T23:23:05.382Z] + set +x [2022-08-30T23:23:05.382Z] + curl -s https://codecov.io/bash [2022-08-30T23:23:05.382Z] + bash -s -- [2022-08-30T23:23:05.382Z] [2022-08-30T23:23:05.382Z] _____ _ [2022-08-30T23:23:05.382Z] / ____| | | [2022-08-30T23:23:05.382Z] | | ___ __| | ___ ___ _____ __ [2022-08-30T23:23:05.382Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-30T23:23:05.382Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-30T23:23:05.382Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-30T23:23:05.382Z] Bash-1.0.6 [2022-08-30T23:23:05.382Z] [2022-08-30T23:23:05.382Z] [2022-08-30T23:23:05.382Z] ==> git version 2.25.1 found [2022-08-30T23:23:05.382Z] ==> 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-30T23:23:05.382Z] Release-Date: 2020-01-08 [2022-08-30T23:23:05.382Z] 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-30T23:23:05.382Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-30T23:23:05.382Z] ==> Jenkins CI detected. [2022-08-30T23:23:05.382Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T23:23:05.382Z] project root: . [2022-08-30T23:23:05.382Z] --> token set from env [2022-08-30T23:23:05.382Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-30T23:23:05.383Z] ==> Running gcov in . (disable via -X gcov) [2022-08-30T23:23:05.383Z] ==> Python coveragepy not found [2022-08-30T23:23:05.383Z] ==> Searching for coverage reports in: [2022-08-30T23:23:05.383Z] + . [2022-08-30T23:23:05.383Z] -> Found 1 reports [2022-08-30T23:23:05.383Z] ==> Detecting git/mercurial file structure [2022-08-30T23:23:05.383Z] ==> Reading reports [2022-08-30T23:23:05.383Z] + ./coverage.out bytes=77457 [2022-08-30T23:23:05.643Z] ==> Appending adjustments [2022-08-30T23:23:05.643Z] https://docs.codecov.io/docs/fixing-reports [2022-08-30T23:23:05.643Z] + Found adjustments [2022-08-30T23:23:05.643Z] ==> Gzipping contents [2022-08-30T23:23:05.643Z] 12K /tmp/codecov.CjRohq.gz [2022-08-30T23:23:05.643Z] ==> Uploading reports [2022-08-30T23:23:05.643Z] url: https://codecov.io [2022-08-30T23:23:05.643Z] query: branch=PR-149&commit=df60897934b71213d538ca066e509b36c6d7f0ba&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T23:23:05.643Z] -> Pinging Codecov [2022-08-30T23:23:05.643Z] 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=df60897934b71213d538ca066e509b36c6d7f0ba&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-30T23:23:05.903Z] -> Uploading to [2022-08-30T23:23:05.903Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-30/F29A59C45E3A92E06B3E522C9905F8EF/df60897934b71213d538ca066e509b36c6d7f0ba/62fbe92a-328d-446e-aa2f-7b74bb2ed8d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T232305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11fc93c1aac016d54e348373054891d88501f1d523d3276d2b9f5af11d4b6354 [2022-08-30T23:23:05.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T23:23:05.903Z] Dload Upload Total Spent Left Speed [2022-08-30T23:23:06.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 26494 --:--:-- --:--:-- --:--:-- 26494 [2022-08-30T23:23:06.474Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/df60897934b71213d538ca066e509b36c6d7f0ba [Pipeline] } [2022-08-30T23:23:06.483Z] 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-30T23:23:07.245Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T23:23:07.245Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:23:07.245Z] total 16 [2022-08-30T23:23:07.245Z] drwxr-xr-x 3 root root 4096 Aug 30 23:08 . [2022-08-30T23:23:07.245Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 23:08 .. [2022-08-30T23:23:07.245Z] drwxr-xr-x 2 root root 4096 Aug 30 23:08 cost [2022-08-30T23:23:07.245Z] -rw-r--r-- 1 root root 92 Aug 30 23:08 cost.csv [2022-08-30T23:23:07.245Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:23:07.245Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T23:23:07.245Z] total 16 [2022-08-30T23:23:07.245Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 23:08 . [2022-08-30T23:23:07.245Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 23:08 .. [2022-08-30T23:23:07.245Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 23:08 cost [2022-08-30T23:23:07.245Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 30 23:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:07.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:08.405Z] ---> package-listing.sh [2022-08-30T23:23:08.405Z] ++ facter osfamily [2022-08-30T23:23:08.405Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T23:23:08.666Z] + OS_FAMILY=debian [2022-08-30T23:23:08.666Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T23:23:08.666Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T23:23:08.666Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T23:23:08.666Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T23:23:08.666Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T23:23:08.666Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T23:23:08.666Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T23:23:08.666Z] + case "${OS_FAMILY}" in [2022-08-30T23:23:08.666Z] + dpkg -l [2022-08-30T23:23:08.666Z] + grep '^ii' [2022-08-30T23:23:08.666Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T23:23:08.666Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T23:23:08.666Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T23:23:08.666Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T23:23:08.666Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T23:23:08.666Z] + 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-30T23:23:08.678Z] 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-30T23:23:08.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T23:23:09.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T23:23:09.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T23:23:09.623Z] prd-ubuntu20.04-docker-8c-8g-24018 does not seem to be running inside a container [2022-08-30T23:23:09.661Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T23:23:09.878Z] $ docker top eaa9410faa7a0f487ea90fd3bffed2140f3904778724374635fdac19291e439d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T23:23:10.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T23:23:10.538Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T23:23:10.830Z] + ls /var/log/sa-host [2022-08-30T23:23:10.830Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T23:23:10.977Z] provisioning config files... [2022-08-30T23:23:10.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6429363246221888285tmp [Pipeline] { [Pipeline] echo [2022-08-30T23:23:11.006Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:11.293Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T23:23:11.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:11.649Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T23:23:11.659Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:11.948Z] ---> sudo-logs.sh [2022-08-30T23:23:11.948Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T23:23:11.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:12.267Z] ---> job-cost.sh [2022-08-30T23:23:12.267Z] lf-activate-venv: SKIPPING [2022-08-30T23:23:12.267Z] DEBUG: total: 0.2199999988079071 [2022-08-30T23:23:12.267Z] INFO: Retrieving Stack Cost... [2022-08-30T23:23:12.839Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T23:23:13.099Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T23:23:13.111Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T23:23:13.397Z] ---> logs-deploy.sh [2022-08-30T23:23:13.397Z] lf-activate-venv: SKIPPING [2022-08-30T23:23:13.397Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/15 [2022-08-30T23:23:13.397Z] INFO: archiving workspace using pattern(s): [2022-08-30T23:23:14.782Z] Archives upload complete. [2022-08-30T23:23:14.782Z] INFO: archiving logs to Nexus