Pull request #161 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 9529a08616fbf50562e457d47ceb1e232669f063 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh3803018320045334986.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-ssh13811857880498038564.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-161/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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7672141005596793473.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-ssh9365219473153127033.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-161/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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12206202803322504947.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 Running on prd-ubuntu20.04-docker-8c-8g-29803 in /w/workspace/undry_device-onvif-camera_PR-161 [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-161 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 9529a08616fbf50562e457d47ceb1e232669f063 Merge succeeded, producing 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 Checking out Revision 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9529a08616fbf50562e457d47ceb1e232669f063 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-19T04:53:58.800Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-19T04:53:58.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-19T04:53:58.864Z] ========================================================= [2022-09-19T04:53:58.864Z] EdgeX Global Pipelines Version Info [2022-09-19T04:53:58.864Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-19T04:53:59.661Z] ------------------- [2022-09-19T04:53:59.661Z] stable info: [2022-09-19T04:53:59.661Z] ------------------- [2022-09-19T04:53:59.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-19T04:53:59.661Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-19T04:53:59.661Z] Message: update stable to v1.0.239 [2022-09-19T04:54:00.235Z] ------------------- [2022-09-19T04:54:00.235Z] experimental info: [2022-09-19T04:54:00.235Z] ------------------- [2022-09-19T04:54:00.235Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-19T04:54:00.235Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-19T04:54:00.235Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-19T04:54:00.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-19T04:54:00.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-19T04:54:00.472Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-19T04:54:00.490Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-19T04:54:00.509Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-19T04:54:00.521Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-19T04:54:00.529Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-19T04:54:00.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-19T04:54:00.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-19T04:54:00.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-19T04:54:00.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-19T04:54:00.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-19T04:54:00.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-19T04:54:00.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-19T04:54:00.602Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-19T04:54:00.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-19T04:54:00.625Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-19T04:54:00.640Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-19T04:54:00.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-19T04:54:00.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-19T04:54:00.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-19T04:54:00.699Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-19T04:54:00.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-19T04:54:00.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-19T04:54:00.745Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-19T04:54:00.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-19T04:54:00.782Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-19T04:54:00.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-19T04:54:00.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-19T04:54:00.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-19T04:54:00.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo [2022-09-19T04:54:00.852Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3525f1e [Pipeline] echo [2022-09-19T04:54:00.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T04:54:00.908Z] provisioning config files... [2022-09-19T04:54:00.925Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config4942606387112028725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T04:54:01.235Z] ---> docker-login.sh [2022-09-19T04:54:01.236Z] nexus3.edgexfoundry.org:10001 [2022-09-19T04:54:01.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:01.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:01.760Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:01.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:01.760Z] [2022-09-19T04:54:01.760Z] Login Succeeded [2022-09-19T04:54:01.760Z] nexus3.edgexfoundry.org:10002 [2022-09-19T04:54:01.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:02.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:02.022Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:02.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:02.022Z] [2022-09-19T04:54:02.022Z] Login Succeeded [2022-09-19T04:54:02.022Z] nexus3.edgexfoundry.org:10003 [2022-09-19T04:54:02.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:02.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:02.022Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:02.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:02.022Z] [2022-09-19T04:54:02.022Z] Login Succeeded [2022-09-19T04:54:02.022Z] nexus3.edgexfoundry.org:10004 [2022-09-19T04:54:02.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:02.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:02.286Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:02.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:02.286Z] [2022-09-19T04:54:02.286Z] Login Succeeded [2022-09-19T04:54:02.286Z] docker.io [2022-09-19T04:54:02.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:02.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:02.859Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:02.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:02.859Z] [2022-09-19T04:54:02.859Z] Login Succeeded [2022-09-19T04:54:02.859Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T04:54:02.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-19T04:54:03.262Z] + git rev-list -1 --merges 3525f1e26c512a389455bf17f77a0c7f0cd07fd1~1..3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo [2022-09-19T04:54:03.297Z] -----------> git rev-list -1 --merges 3525f1e26c512a389455bf17f77a0c7f0cd07fd1~1..3525f1e26c512a389455bf17f77a0c7f0cd07fd1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [2022-09-19T04:54:03.297Z] 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [false] [Pipeline] sh [2022-09-19T04:54:03.595Z] + git log --format=format:%s -1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo [2022-09-19T04:54:03.616Z] ========================================================= [2022-09-19T04:54:03.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-19T04:54:03.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-19T04:54:03.968Z] + git log --format=format:%s -1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo [2022-09-19T04:54:03.982Z] [semverPrep] GIT_COMMIT: 3525f1e26c512a389455bf17f77a0c7f0cd07fd1, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-19T04:54:03.993Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-19T04:54:04.376Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-19T04:54:04.376Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-19T04:54:04.376Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-19T04:54:04.376Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-19T04:54:04.376Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-19T04:54:04.376Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-19T04:54:04.376Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:54:04.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T04:54:04.818Z] [2022-09-19T04:54:04.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:54:05.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T04:54:05.132Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-19T04:54:05.132Z] b85a868b505f: Pulling fs layer [2022-09-19T04:54:05.132Z] e2be974225ed: Pulling fs layer [2022-09-19T04:54:05.132Z] 339a4e72a1f5: Pulling fs layer [2022-09-19T04:54:05.132Z] 988bab9f4d93: Pulling fs layer [2022-09-19T04:54:05.132Z] 1469e6f7b9e6: Pulling fs layer [2022-09-19T04:54:05.132Z] eaf3925da568: Pulling fs layer [2022-09-19T04:54:05.132Z] bab4dde63d76: Pulling fs layer [2022-09-19T04:54:05.132Z] bde34c3a00c8: Pulling fs layer [2022-09-19T04:54:05.132Z] b352a97aabf1: Pulling fs layer [2022-09-19T04:54:05.132Z] 4872d77fe225: Pulling fs layer [2022-09-19T04:54:05.132Z] 5851b861e8e6: Pulling fs layer [2022-09-19T04:54:05.132Z] b352a97aabf1: Waiting [2022-09-19T04:54:05.132Z] bab4dde63d76: Waiting [2022-09-19T04:54:05.132Z] 4872d77fe225: Waiting [2022-09-19T04:54:05.132Z] 5851b861e8e6: Waiting [2022-09-19T04:54:05.132Z] 988bab9f4d93: Waiting [2022-09-19T04:54:05.132Z] eaf3925da568: Waiting [2022-09-19T04:54:05.132Z] e2be974225ed: Download complete [2022-09-19T04:54:05.132Z] 988bab9f4d93: Verifying Checksum [2022-09-19T04:54:05.132Z] 988bab9f4d93: Download complete [2022-09-19T04:54:05.392Z] 1469e6f7b9e6: Verifying Checksum [2022-09-19T04:54:05.392Z] 1469e6f7b9e6: Download complete [2022-09-19T04:54:05.392Z] eaf3925da568: Download complete [2022-09-19T04:54:05.392Z] 339a4e72a1f5: Verifying Checksum [2022-09-19T04:54:05.393Z] 339a4e72a1f5: Download complete [2022-09-19T04:54:05.393Z] bde34c3a00c8: Verifying Checksum [2022-09-19T04:54:05.393Z] bde34c3a00c8: Download complete [2022-09-19T04:54:05.393Z] b352a97aabf1: Download complete [2022-09-19T04:54:05.393Z] 4872d77fe225: Verifying Checksum [2022-09-19T04:54:05.393Z] 4872d77fe225: Download complete [2022-09-19T04:54:05.393Z] 5851b861e8e6: Verifying Checksum [2022-09-19T04:54:05.393Z] 5851b861e8e6: Download complete [2022-09-19T04:54:05.393Z] b85a868b505f: Download complete [2022-09-19T04:54:05.653Z] bab4dde63d76: Verifying Checksum [2022-09-19T04:54:05.653Z] bab4dde63d76: Download complete [2022-09-19T04:54:07.038Z] b85a868b505f: Pull complete [2022-09-19T04:54:07.038Z] e2be974225ed: Pull complete [2022-09-19T04:54:07.612Z] 339a4e72a1f5: Pull complete [2022-09-19T04:54:07.612Z] 988bab9f4d93: Pull complete [2022-09-19T04:54:07.888Z] 1469e6f7b9e6: Pull complete [2022-09-19T04:54:08.152Z] eaf3925da568: Pull complete [2022-09-19T04:54:10.076Z] bab4dde63d76: Pull complete [2022-09-19T04:54:10.076Z] bde34c3a00c8: Pull complete [2022-09-19T04:54:10.338Z] b352a97aabf1: Pull complete [2022-09-19T04:54:10.338Z] 4872d77fe225: Pull complete [2022-09-19T04:54:10.338Z] 5851b861e8e6: Pull complete [2022-09-19T04:54:10.338Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-19T04:54:10.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-19T04:54:10.338Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:54:10.448Z] prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container [2022-09-19T04:54:10.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-19T04:54:11.824Z] $ docker top 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b -eo pid,comm [2022-09-19T04:54:11.900Z] 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-09-19T04:54:11.900Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-19T04:54:11.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-19T04:54:11.934Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-19T04:54:12.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-19T04:54:12.082Z] $ docker exec 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent [2022-09-19T04:54:12.207Z] SSH_AUTH_SOCK=/tmp/ssh-l5mTQhdF6qyT/agent.32 [2022-09-19T04:54:12.207Z] SSH_AGENT_PID=38 [2022-09-19T04:54:12.215Z] Running ssh-add (command line suppressed) [2022-09-19T04:54:12.348Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_4358118355488003538.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_4358118355488003538.key) [2022-09-19T04:54:12.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-19T04:54:12.655Z] + git tag --points-at HEAD [Pipeline] } [2022-09-19T04:54:12.682Z] $ docker exec --env ******** --env ******** 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent -k [2022-09-19T04:54:12.800Z] unset SSH_AUTH_SOCK; [2022-09-19T04:54:12.801Z] unset SSH_AGENT_PID; [2022-09-19T04:54:12.801Z] echo Agent pid 38 killed; [2022-09-19T04:54:12.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-19T04:54:12.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-19T04:54:12.843Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-19T04:54:12.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-19T04:54:13.003Z] $ docker exec 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent [2022-09-19T04:54:13.139Z] SSH_AUTH_SOCK=/tmp/ssh-c7wa7plsQdP4/agent.71 [2022-09-19T04:54:13.139Z] SSH_AGENT_PID=77 [2022-09-19T04:54:13.145Z] Running ssh-add (command line suppressed) [2022-09-19T04:54:13.278Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7182664442419380832.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7182664442419380832.key) [2022-09-19T04:54:13.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-19T04:54:13.587Z] + git semver init [2022-09-19T04:54:13.849Z] 2022-09-19 04:54:13,786 [run_init] DEBUG init version:0.0.0 force:False [2022-09-19T04:54:13.849Z] 2022-09-19 04:54:13,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-19T04:54:13.849Z] 2022-09-19 04:54:13,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-19T04:54:13.849Z] 2022-09-19 04:54:13,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,712 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,713 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,718 [execute] INFO git cat-file --batch-check [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,727 [execute] INFO git cat-file --batch [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-19T04:54:14.797Z] 2022-09-19 04:54:14,733 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-19T04:54:14.797Z] 0.0.0 [Pipeline] } [2022-09-19T04:54:14.813Z] $ docker exec --env ******** --env ******** 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent -k [2022-09-19T04:54:14.923Z] unset SSH_AUTH_SOCK; [2022-09-19T04:54:14.924Z] unset SSH_AGENT_PID; [2022-09-19T04:54:14.924Z] echo Agent pid 77 killed; [2022-09-19T04:54:14.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-19T04:54:15.246Z] + git semver [Pipeline] } [2022-09-19T04:54:15.526Z] $ docker stop --time=1 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b [2022-09-19T04:54:16.855Z] $ docker rm -f 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-19T04:54:17.229Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-19T04:54:17.488Z] Stashed 1 file(s) [Pipeline] echo [2022-09-19T04:54:17.492Z] [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-09-19T04:54:17.642Z] provisioning config files... [2022-09-19T04:54:17.653Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config2349547335347719586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T04:54:17.958Z] ---> docker-login.sh [2022-09-19T04:54:17.958Z] nexus3.edgexfoundry.org:10001 [2022-09-19T04:54:17.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:17.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:17.958Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:17.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:17.958Z] [2022-09-19T04:54:17.958Z] Login Succeeded [2022-09-19T04:54:17.958Z] nexus3.edgexfoundry.org:10002 [2022-09-19T04:54:17.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:18.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:18.219Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:18.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:18.219Z] [2022-09-19T04:54:18.219Z] Login Succeeded [2022-09-19T04:54:18.219Z] nexus3.edgexfoundry.org:10003 [2022-09-19T04:54:18.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:18.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:18.219Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:18.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:18.219Z] [2022-09-19T04:54:18.219Z] Login Succeeded [2022-09-19T04:54:18.219Z] nexus3.edgexfoundry.org:10004 [2022-09-19T04:54:18.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:18.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:18.482Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:18.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:18.482Z] [2022-09-19T04:54:18.482Z] Login Succeeded [2022-09-19T04:54:18.482Z] docker.io [2022-09-19T04:54:18.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:54:19.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:54:19.055Z] Configure a credential helper to remove this warning. See [2022-09-19T04:54:19.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:54:19.055Z] [2022-09-19T04:54:19.055Z] Login Succeeded [2022-09-19T04:54:19.055Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T04:54:19.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-19T04:54:19.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T04:54:19.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T04:54:19.167Z] ========================================================= [2022-09-19T04:54:19.167Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-19T04:54:19.167Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:54:19.487Z] + 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-09-19T04:54:19.487Z] Sending build context to Docker daemon 20.74MB [2022-09-19T04:54:19.487Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-19T04:54:19.487Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-19T04:54:19.749Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-19T04:54:19.749Z] 2408cc74d12b: Pulling fs layer [2022-09-19T04:54:19.749Z] ea60b727a1ce: Pulling fs layer [2022-09-19T04:54:19.749Z] 30c4a7721957: Pulling fs layer [2022-09-19T04:54:19.749Z] 370296b7ddb6: Pulling fs layer [2022-09-19T04:54:19.749Z] 7c6cee850709: Pulling fs layer [2022-09-19T04:54:19.749Z] 39a5fcdaea64: Pulling fs layer [2022-09-19T04:54:19.749Z] d94ebbe4e438: Pulling fs layer [2022-09-19T04:54:19.749Z] bcfd1f05c69d: Pulling fs layer [2022-09-19T04:54:19.749Z] 59ccb84bbe0f: Pulling fs layer [2022-09-19T04:54:19.749Z] 39a5fcdaea64: Waiting [2022-09-19T04:54:19.749Z] d94ebbe4e438: Waiting [2022-09-19T04:54:19.749Z] bcfd1f05c69d: Waiting [2022-09-19T04:54:19.749Z] 370296b7ddb6: Waiting [2022-09-19T04:54:19.749Z] 59ccb84bbe0f: Waiting [2022-09-19T04:54:19.749Z] 7c6cee850709: Waiting [2022-09-19T04:54:19.749Z] 30c4a7721957: Download complete [2022-09-19T04:54:19.749Z] ea60b727a1ce: Verifying Checksum [2022-09-19T04:54:19.749Z] ea60b727a1ce: Download complete [2022-09-19T04:54:19.749Z] 7c6cee850709: Verifying Checksum [2022-09-19T04:54:19.749Z] 7c6cee850709: Download complete [2022-09-19T04:54:19.749Z] 39a5fcdaea64: Verifying Checksum [2022-09-19T04:54:19.749Z] 39a5fcdaea64: Download complete [2022-09-19T04:54:19.749Z] 2408cc74d12b: Download complete [2022-09-19T04:54:19.749Z] d94ebbe4e438: Download complete [2022-09-19T04:54:19.749Z] 2408cc74d12b: Pull complete [2022-09-19T04:54:20.021Z] ea60b727a1ce: Pull complete [2022-09-19T04:54:20.021Z] 30c4a7721957: Pull complete [2022-09-19T04:54:20.283Z] 59ccb84bbe0f: Verifying Checksum [2022-09-19T04:54:20.283Z] 59ccb84bbe0f: Download complete [2022-09-19T04:54:20.542Z] bcfd1f05c69d: Verifying Checksum [2022-09-19T04:54:20.543Z] bcfd1f05c69d: Download complete [2022-09-19T04:54:20.543Z] 370296b7ddb6: Verifying Checksum [2022-09-19T04:54:20.543Z] 370296b7ddb6: Download complete [2022-09-19T04:54:24.747Z] 370296b7ddb6: Pull complete [2022-09-19T04:54:25.008Z] 7c6cee850709: Pull complete [2022-09-19T04:54:25.008Z] 39a5fcdaea64: Pull complete [2022-09-19T04:54:25.008Z] d94ebbe4e438: Pull complete [2022-09-19T04:54:27.549Z] bcfd1f05c69d: Pull complete [2022-09-19T04:54:28.119Z] 59ccb84bbe0f: Pull complete [2022-09-19T04:54:28.119Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-19T04:54:28.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-19T04:54:28.119Z] ---> a4fb48ad2a94 [2022-09-19T04:54:28.119Z] Step 3/13 : ARG MAKE="make build" [2022-09-19T04:54:30.039Z] ---> Running in e6d95dc5a49f [2022-09-19T04:54:30.039Z] Removing intermediate container e6d95dc5a49f [2022-09-19T04:54:30.039Z] ---> 21099565a4f2 [2022-09-19T04:54:30.039Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-19T04:54:30.039Z] ---> Running in 0f01ba01440b [2022-09-19T04:54:30.039Z] Removing intermediate container 0f01ba01440b [2022-09-19T04:54:30.039Z] ---> c8fc21a2d989 [2022-09-19T04:54:30.039Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-19T04:54:30.039Z] ---> Running in 0c5743bbaa5a [2022-09-19T04:54:30.039Z] Removing intermediate container 0c5743bbaa5a [2022-09-19T04:54:30.039Z] ---> 70ca43e9c3dd [2022-09-19T04:54:30.039Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-19T04:54:30.039Z] ---> Running in dc85544968c8 [2022-09-19T04:54:30.301Z] Removing intermediate container dc85544968c8 [2022-09-19T04:54:30.301Z] ---> 02b9e5e99749 [2022-09-19T04:54:30.301Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T04:54:30.301Z] ---> Running in 8a5fcc05247c [2022-09-19T04:54:30.873Z] Removing intermediate container 8a5fcc05247c [2022-09-19T04:54:30.873Z] ---> 995d26f84f0f [2022-09-19T04:54:30.873Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-19T04:54:30.873Z] ---> Running in be5ca754c3d2 [2022-09-19T04:54:31.133Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-19T04:54:32.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-19T04:54:32.339Z] OK: 211 MiB in 51 packages [2022-09-19T04:54:32.593Z] Still waiting to schedule task [2022-09-19T04:54:32.593Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-19T04:54:32.922Z] Removing intermediate container be5ca754c3d2 [2022-09-19T04:54:32.922Z] ---> de2a502d76b4 [2022-09-19T04:54:32.922Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-19T04:54:32.922Z] ---> Running in 39bef5d4f1e0 [2022-09-19T04:54:32.922Z] Removing intermediate container 39bef5d4f1e0 [2022-09-19T04:54:32.922Z] ---> 46b508d0ad39 [2022-09-19T04:54:32.922Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-19T04:54:32.922Z] ---> a6dba5a42bf4 [2022-09-19T04:54:32.922Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T04:54:33.183Z] ---> Running in f321000cd450 [2022-09-19T04:54:55.184Z] Removing intermediate container f321000cd450 [2022-09-19T04:54:55.184Z] ---> 32fb398865d5 [2022-09-19T04:54:55.184Z] Step 12/13 : COPY . . [2022-09-19T04:54:55.184Z] ---> f2fb2bee6fe2 [2022-09-19T04:54:55.184Z] Step 13/13 : RUN ${MAKE} [2022-09-19T04:54:55.184Z] ---> Running in da310c28e596 [2022-09-19T04:54:55.446Z] noop [2022-09-19T04:54:55.709Z] Removing intermediate container da310c28e596 [2022-09-19T04:54:55.709Z] ---> e45b73f1eb10 [2022-09-19T04:54:55.709Z] Successfully built e45b73f1eb10 [2022-09-19T04:54:55.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:54:56.037Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-19T04:54:56.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:54:56.124Z] prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container [2022-09-19T04:54:56.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-19T04:54:56.564Z] $ docker top 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T04:54:56.938Z] + go version [2022-09-19T04:54:56.938Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-19T04:54:56.952Z] $ docker stop --time=1 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d [2022-09-19T04:54:58.273Z] $ docker rm -f 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:54:58.699Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-19T04:54:58.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:54:58.876Z] prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container [2022-09-19T04:54:58.941Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-19T04:54:59.325Z] $ docker top 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T04:54:59.686Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-19T04:54:59.991Z] + make test [2022-09-19T04:54:59.991Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-19T04:55:00.561Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-19T04:55:12.791Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-19T04:55:12.791Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.6% of statements [2022-09-19T04:55:12.791Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-19T04:55:16.093Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.964s coverage: 13.8% of statements [2022-09-19T04:55:24.227Z] 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-09-19T04:55:24.227Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-19T04:55:28.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-19T04:55:28.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-19T04:55:28.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-19T04:55:28.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-19T04:55:28.455Z] $ docker stop --time=1 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda [2022-09-19T04:55:30.257Z] $ docker rm -f 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-19T04:55:30.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-19T04:55:30.782Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-19T04:55:31.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-19T04:55:31.599Z] + ls -al . [2022-09-19T04:55:31.599Z] total 232 [2022-09-19T04:55:31.599Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 04:55 . [2022-09-19T04:55:31.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 .. [2022-09-19T04:55:31.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:55 .git [2022-09-19T04:55:31.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:53 .github [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 19 04:53 .gitignore [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:53 .golangci.yml [2022-09-19T04:55:31.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:54 .semver [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 19 04:53 Attribution.txt [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 19 04:53 CHANGELOG.md [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 19 04:53 Dockerfile [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:53 GOVERNANCE.md [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 19 04:53 Jenkinsfile [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 04:53 LICENSE [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 19 04:53 Makefile [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 04:53 OWNERS.md [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 19 04:53 README.md [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:54 VERSION [2022-09-19T04:55:31.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:53 bin [2022-09-19T04:55:31.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:53 cmd [2022-09-19T04:55:31.599Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 19 04:55 coverage.out [2022-09-19T04:55:31.599Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:53 doc [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 19 04:53 go.mod [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 19 04:53 go.sum [2022-09-19T04:55:31.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 internal [2022-09-19T04:55:31.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 snap [2022-09-19T04:55:31.599Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:55:31.911Z] + 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=3525f1e26c512a389455bf17f77a0c7f0cd07fd1 --label arch=amd64 --label version=0.0.0 . [2022-09-19T04:55:31.911Z] Sending build context to Docker daemon 20.82MB [2022-09-19T04:55:31.911Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-19T04:55:31.911Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-19T04:55:31.911Z] ---> e45b73f1eb10 [2022-09-19T04:55:31.911Z] Step 3/26 : ARG MAKE="make build" [2022-09-19T04:55:32.171Z] ---> Running in e17d7ec480ea [2022-09-19T04:55:32.171Z] Removing intermediate container e17d7ec480ea [2022-09-19T04:55:32.171Z] ---> 25c2037c1a46 [2022-09-19T04:55:32.171Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-19T04:55:32.171Z] ---> Running in e1721c843e67 [2022-09-19T04:55:32.171Z] Removing intermediate container e1721c843e67 [2022-09-19T04:55:32.171Z] ---> 1f4c401165f9 [2022-09-19T04:55:32.171Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-19T04:55:32.432Z] ---> Running in 67838aaf58a1 [2022-09-19T04:55:32.432Z] Removing intermediate container 67838aaf58a1 [2022-09-19T04:55:32.432Z] ---> c02af7d847d4 [2022-09-19T04:55:32.432Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-19T04:55:32.432Z] ---> Running in eafabd33b153 [2022-09-19T04:55:32.432Z] Removing intermediate container eafabd33b153 [2022-09-19T04:55:32.432Z] ---> 043873736e4e [2022-09-19T04:55:32.432Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T04:55:32.702Z] ---> Running in 9b89df3ec28e [2022-09-19T04:55:33.273Z] Removing intermediate container 9b89df3ec28e [2022-09-19T04:55:33.274Z] ---> b5c764c95b0e [2022-09-19T04:55:33.274Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-19T04:55:33.274Z] ---> Running in 3340168b8f27 [2022-09-19T04:55:33.534Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-19T04:55:34.478Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-19T04:55:34.745Z] OK: 211 MiB in 51 packages [2022-09-19T04:55:35.006Z] Removing intermediate container 3340168b8f27 [2022-09-19T04:55:35.006Z] ---> d4cbab330416 [2022-09-19T04:55:35.006Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-19T04:55:35.006Z] ---> Running in 847899e88402 [2022-09-19T04:55:35.006Z] Removing intermediate container 847899e88402 [2022-09-19T04:55:35.006Z] ---> 7dc45f92cc01 [2022-09-19T04:55:35.006Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-19T04:55:35.265Z] ---> 90c60cfbd912 [2022-09-19T04:55:35.265Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T04:55:35.265Z] ---> Running in a8fc93ff70d7 [2022-09-19T04:55:36.207Z] Removing intermediate container a8fc93ff70d7 [2022-09-19T04:55:36.207Z] ---> b3ea941f3057 [2022-09-19T04:55:36.207Z] Step 12/26 : COPY . . [2022-09-19T04:55:36.467Z] ---> 559af5fbc809 [2022-09-19T04:55:36.467Z] Step 13/26 : RUN ${MAKE} [2022-09-19T04:55:36.467Z] ---> Running in 4d5a4b5964fb [2022-09-19T04:55:37.038Z] 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-09-19T04:55:58.996Z] Removing intermediate container 4d5a4b5964fb [2022-09-19T04:55:58.996Z] ---> 75c16ef055cc [2022-09-19T04:55:58.996Z] Step 14/26 : FROM alpine:3.16 [2022-09-19T04:55:58.996Z] 3.16: Pulling from library/alpine [2022-09-19T04:55:58.996Z] 213ec9aee27d: Pulling fs layer [2022-09-19T04:55:58.996Z] 213ec9aee27d: Verifying Checksum [2022-09-19T04:55:58.996Z] 213ec9aee27d: Download complete [2022-09-19T04:55:58.996Z] 213ec9aee27d: Pull complete [2022-09-19T04:55:58.996Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-19T04:55:58.996Z] Status: Downloaded newer image for alpine:3.16 [2022-09-19T04:55:58.996Z] ---> 9c6f07244728 [2022-09-19T04:55:58.996Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-19T04:55:58.996Z] ---> Running in c10d59d65c77 [2022-09-19T04:55:58.997Z] Removing intermediate container c10d59d65c77 [2022-09-19T04:55:58.997Z] ---> e8c0386fa0c9 [2022-09-19T04:55:58.997Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-19T04:55:58.997Z] ---> Running in 7a4d71775f0c [2022-09-19T04:55:59.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-19T04:55:59.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-19T04:55:59.519Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-19T04:55:59.519Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-19T04:55:59.519Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-19T04:55:59.519Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-19T04:55:59.780Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-19T04:55:59.780Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-19T04:55:59.780Z] Executing busybox-1.35.0-r17.trigger [2022-09-19T04:55:59.780Z] OK: 8 MiB in 20 packages [2022-09-19T04:56:00.040Z] Removing intermediate container 7a4d71775f0c [2022-09-19T04:56:00.040Z] ---> 47a00e9a5f5b [2022-09-19T04:56:00.040Z] Step 17/26 : WORKDIR / [2022-09-19T04:56:00.040Z] ---> Running in 7d1c576d9397 [2022-09-19T04:56:00.040Z] Removing intermediate container 7d1c576d9397 [2022-09-19T04:56:00.040Z] ---> 8912b69fb5a0 [2022-09-19T04:56:00.040Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-19T04:56:00.609Z] ---> c6046eb4c9ed [2022-09-19T04:56:00.609Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-19T04:56:00.867Z] ---> 5e80a02cf2ec [2022-09-19T04:56:00.867Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-19T04:56:00.867Z] ---> 071fcbfa4938 [2022-09-19T04:56:00.867Z] Step 21/26 : EXPOSE 59984 [2022-09-19T04:56:00.867Z] ---> Running in d99b56c8fbd4 [2022-09-19T04:56:01.127Z] Removing intermediate container d99b56c8fbd4 [2022-09-19T04:56:01.127Z] ---> e7b956d2f04a [2022-09-19T04:56:01.127Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-19T04:56:01.127Z] ---> Running in a92c623de5a7 [2022-09-19T04:56:01.127Z] Removing intermediate container a92c623de5a7 [2022-09-19T04:56:01.127Z] ---> 50932fea1f05 [2022-09-19T04:56:01.127Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-19T04:56:01.127Z] ---> Running in fceee127fe7a [2022-09-19T04:56:01.387Z] Removing intermediate container fceee127fe7a [2022-09-19T04:56:01.387Z] ---> 11368cd08b84 [2022-09-19T04:56:01.387Z] Step 24/26 : LABEL arch=amd64 [2022-09-19T04:56:01.387Z] ---> Running in cf0d1857f546 [2022-09-19T04:56:01.387Z] Removing intermediate container cf0d1857f546 [2022-09-19T04:56:01.387Z] ---> 2cfe17e58dba [2022-09-19T04:56:01.387Z] Step 25/26 : LABEL git_sha=3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [2022-09-19T04:56:01.387Z] ---> Running in ce0a2b4938dd [2022-09-19T04:56:01.648Z] Removing intermediate container ce0a2b4938dd [2022-09-19T04:56:01.648Z] ---> 9b3f3dbd9ed9 [2022-09-19T04:56:01.648Z] Step 26/26 : LABEL version=0.0.0 [2022-09-19T04:56:01.648Z] ---> Running in 1addddd98dd7 [2022-09-19T04:56:01.648Z] Removing intermediate container 1addddd98dd7 [2022-09-19T04:56:01.648Z] ---> 4d304d4fe75f [2022-09-19T04:56:01.648Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-19T04:56:01.648Z] Successfully built 4d304d4fe75f [2022-09-19T04:56:01.648Z] 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-09-19T04:56:02.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T04:56:02.130Z] [2022-09-19T04:56:02.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:56:02.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T04:56:02.427Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-19T04:56:02.427Z] 5eb5b503b376: Pulling fs layer [2022-09-19T04:56:02.427Z] 5c69ac0246d0: Pulling fs layer [2022-09-19T04:56:02.427Z] ec43610c2a17: Pulling fs layer [2022-09-19T04:56:02.427Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-19T04:56:02.427Z] 33b1e0a273af: Pulling fs layer [2022-09-19T04:56:02.427Z] 5d3b04190fa2: Pulling fs layer [2022-09-19T04:56:02.427Z] 2f39f015ded8: Pulling fs layer [2022-09-19T04:56:02.427Z] 3a2ae6a8a46f: Waiting [2022-09-19T04:56:02.427Z] 33b1e0a273af: Waiting [2022-09-19T04:56:02.427Z] 5d3b04190fa2: Waiting [2022-09-19T04:56:02.427Z] 2f39f015ded8: Waiting [2022-09-19T04:56:02.427Z] 5c69ac0246d0: Download complete [2022-09-19T04:56:02.427Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-19T04:56:02.427Z] 3a2ae6a8a46f: Download complete [2022-09-19T04:56:02.688Z] 33b1e0a273af: Verifying Checksum [2022-09-19T04:56:02.688Z] 33b1e0a273af: Download complete [2022-09-19T04:56:02.688Z] 5d3b04190fa2: Verifying Checksum [2022-09-19T04:56:02.688Z] 5d3b04190fa2: Download complete [2022-09-19T04:56:02.688Z] ec43610c2a17: Verifying Checksum [2022-09-19T04:56:02.688Z] ec43610c2a17: Download complete [2022-09-19T04:56:02.688Z] 5eb5b503b376: Verifying Checksum [2022-09-19T04:56:02.688Z] 5eb5b503b376: Download complete [2022-09-19T04:56:03.257Z] 2f39f015ded8: Download complete [2022-09-19T04:56:04.193Z] 5eb5b503b376: Pull complete [2022-09-19T04:56:04.193Z] 5c69ac0246d0: Pull complete [2022-09-19T04:56:04.452Z] ec43610c2a17: Pull complete [2022-09-19T04:56:04.711Z] 3a2ae6a8a46f: Pull complete [2022-09-19T04:56:04.711Z] 33b1e0a273af: Pull complete [2022-09-19T04:56:04.971Z] 5d3b04190fa2: Pull complete [2022-09-19T04:56:10.245Z] 2f39f015ded8: Pull complete [2022-09-19T04:56:10.245Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-19T04:56:10.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T04:56:10.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:56:10.340Z] prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container [2022-09-19T04:56:10.378Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-19T04:56:11.841Z] $ docker top 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T04:56:12.256Z] ---> job-cost.sh [2022-09-19T04:56:12.256Z] lf-activate-venv: SKIPPING [2022-09-19T04:56:12.256Z] INFO: No Stack... [2022-09-19T04:56:12.505Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29804 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-19T04:56:12.518Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [2022-09-19T04:56:12.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] checkout [2022-09-19T04:56:12.540Z] Selected Git installation does not exist. Using Default [2022-09-19T04:56:12.540Z] The recommended git tool is: NONE [2022-09-19T04:56:13.090Z] INFO: Archiving Costs [Pipeline] sh [2022-09-19T04:56:13.378Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [2022-09-19T04:56:13.378Z] + cut -d, -f6 [Pipeline] lock [2022-09-19T04:56:13.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [2022-09-19T04:56:13.397Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] did not exist. Created. [2022-09-19T04:56:13.397Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-19T04:56:13.701Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-19T04:56:13.730Z] Stashed 1 file(s) [Pipeline] } [2022-09-19T04:56:13.737Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-19T04:56:13.755Z] $ docker stop --time=1 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 [2022-09-19T04:56:14.925Z] $ docker rm -f 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-19T04:56:18.326Z] using credential edgex-jenkins-ssh [2022-09-19T04:56:18.342Z] Cloning the remote Git repository [2022-09-19T04:56:18.393Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-19T04:56:18.645Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-09-19T04:56:18.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-19T04:56:18.771Z] > git --version # timeout=10 [2022-09-19T04:56:18.792Z] > git --version # 'git version 2.25.1' [2022-09-19T04:56:18.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T04:56:18.888Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-19T04:56:20.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-19T04:56:20.153Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-19T04:56:20.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-19T04:56:20.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-19T04:56:20.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T04:56:20.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-19T04:56:20.895Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 9529a08616fbf50562e457d47ceb1e232669f063 [2022-09-19T04:56:21.465Z] Merge succeeded, producing a91ed6cb4bec8b538a5f62f6b23b437928ed614d [2022-09-19T04:56:21.465Z] Checking out Revision a91ed6cb4bec8b538a5f62f6b23b437928ed614d (PR-161) [2022-09-19T04:56:20.912Z] > git config core.sparsecheckout # timeout=10 [2022-09-19T04:56:20.935Z] > git checkout -f 9529a08616fbf50562e457d47ceb1e232669f063 # timeout=10 [2022-09-19T04:56:21.147Z] > git remote # timeout=10 [2022-09-19T04:56:21.166Z] > git config --get remote.origin.url # timeout=10 [2022-09-19T04:56:21.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-19T04:56:21.198Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-19T04:56:21.446Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-19T04:56:21.471Z] > git config core.sparsecheckout # timeout=10 [2022-09-19T04:56:21.485Z] > git checkout -f a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 [2022-09-19T04:56:25.780Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-19T04:56:25.804Z] First time build. Skipping changelog. [2022-09-19T04:56:25.786Z] > git rev-list --no-walk fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-19T04:56:26.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-19T04:56:26.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-19T04:56:26.792Z] Dload Upload Total Spent Left Speed [2022-09-19T04:56:26.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-09-19T04:56:27.626Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-19T04:56:27.977Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-09-19T04:56:27.977Z] tee /etc/docker/daemon.new [2022-09-19T04:56:27.977Z] { [2022-09-19T04:56:27.977Z] "registry-mirrors": [ [2022-09-19T04:56:27.977Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-19T04:56:27.977Z] ], [2022-09-19T04:56:27.977Z] "bip": "10.250.0.254/24", [2022-09-19T04:56:27.977Z] "hosts": [ [2022-09-19T04:56:27.977Z] "tcp://0.0.0.0:5555", [2022-09-19T04:56:27.977Z] "unix:///var/run/docker.sock" [2022-09-19T04:56:27.977Z] ], [2022-09-19T04:56:27.977Z] "mtu": 1458, [2022-09-19T04:56:27.977Z] "selinux-enabled": true, [2022-09-19T04:56:27.977Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-19T04:56:27.977Z] } [Pipeline] sh [2022-09-19T04:56:28.324Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-19T04:56:28.663Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T04:56:47.014Z] provisioning config files... [2022-09-19T04:56:47.038Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config194045870862759427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T04:56:47.407Z] ---> docker-login.sh [2022-09-19T04:56:47.407Z] nexus3.edgexfoundry.org:10001 [2022-09-19T04:56:48.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:56:48.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:56:48.283Z] Configure a credential helper to remove this warning. See [2022-09-19T04:56:48.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:56:48.283Z] [2022-09-19T04:56:48.283Z] Login Succeeded [2022-09-19T04:56:48.283Z] nexus3.edgexfoundry.org:10002 [2022-09-19T04:56:48.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:56:48.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:56:48.833Z] Configure a credential helper to remove this warning. See [2022-09-19T04:56:48.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:56:48.833Z] [2022-09-19T04:56:48.833Z] Login Succeeded [2022-09-19T04:56:48.833Z] nexus3.edgexfoundry.org:10003 [2022-09-19T04:56:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:56:49.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:56:49.385Z] Configure a credential helper to remove this warning. See [2022-09-19T04:56:49.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:56:49.385Z] [2022-09-19T04:56:49.385Z] Login Succeeded [2022-09-19T04:56:49.385Z] nexus3.edgexfoundry.org:10004 [2022-09-19T04:56:49.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:56:49.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:56:49.660Z] Configure a credential helper to remove this warning. See [2022-09-19T04:56:49.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:56:49.660Z] [2022-09-19T04:56:49.660Z] Login Succeeded [2022-09-19T04:56:49.943Z] docker.io [2022-09-19T04:56:50.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-19T04:56:50.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-19T04:56:50.488Z] Configure a credential helper to remove this warning. See [2022-09-19T04:56:50.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-19T04:56:50.488Z] [2022-09-19T04:56:50.488Z] Login Succeeded [2022-09-19T04:56:50.488Z] ---> docker-login.sh ends [Pipeline] } [2022-09-19T04:56:50.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-19T04:56:51.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T04:56:51.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-19T04:56:51.126Z] ========================================================= [2022-09-19T04:56:51.126Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-19T04:56:51.126Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:56:51.538Z] + 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-09-19T04:56:52.145Z] Sending build context to Docker daemon 14.22MB [2022-09-19T04:56:52.145Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-19T04:56:52.145Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-19T04:56:52.423Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-19T04:56:52.423Z] b3c136eddcbf: Pulling fs layer [2022-09-19T04:56:52.423Z] c0a3192eca97: Pulling fs layer [2022-09-19T04:56:52.423Z] a050256f5b6f: Pulling fs layer [2022-09-19T04:56:52.423Z] 656be50a0ddc: Pulling fs layer [2022-09-19T04:56:52.423Z] 2bbca73fdf42: Pulling fs layer [2022-09-19T04:56:52.423Z] 46d945488cbd: Pulling fs layer [2022-09-19T04:56:52.423Z] 8a5474983e97: Pulling fs layer [2022-09-19T04:56:52.423Z] 329c88fbcd65: Pulling fs layer [2022-09-19T04:56:52.423Z] 656be50a0ddc: Waiting [2022-09-19T04:56:52.423Z] 2bbca73fdf42: Waiting [2022-09-19T04:56:52.423Z] 46d945488cbd: Waiting [2022-09-19T04:56:52.423Z] 8a5474983e97: Waiting [2022-09-19T04:56:52.423Z] 329c88fbcd65: Waiting [2022-09-19T04:56:52.423Z] a050256f5b6f: Verifying Checksum [2022-09-19T04:56:52.423Z] a050256f5b6f: Download complete [2022-09-19T04:56:52.423Z] c0a3192eca97: Verifying Checksum [2022-09-19T04:56:52.423Z] c0a3192eca97: Download complete [2022-09-19T04:56:52.423Z] 2bbca73fdf42: Verifying Checksum [2022-09-19T04:56:52.423Z] 2bbca73fdf42: Download complete [2022-09-19T04:56:52.423Z] 46d945488cbd: Verifying Checksum [2022-09-19T04:56:52.423Z] 46d945488cbd: Download complete [2022-09-19T04:56:52.423Z] b3c136eddcbf: Verifying Checksum [2022-09-19T04:56:52.423Z] b3c136eddcbf: Download complete [2022-09-19T04:56:53.426Z] b3c136eddcbf: Pull complete [2022-09-19T04:56:53.711Z] 329c88fbcd65: Verifying Checksum [2022-09-19T04:56:53.711Z] 329c88fbcd65: Download complete [2022-09-19T04:56:53.994Z] c0a3192eca97: Pull complete [2022-09-19T04:56:54.600Z] a050256f5b6f: Pull complete [2022-09-19T04:56:54.874Z] 8a5474983e97: Verifying Checksum [2022-09-19T04:56:54.874Z] 8a5474983e97: Download complete [2022-09-19T04:56:55.472Z] 656be50a0ddc: Verifying Checksum [2022-09-19T04:56:55.472Z] 656be50a0ddc: Download complete [2022-09-19T04:57:10.595Z] 656be50a0ddc: Pull complete [2022-09-19T04:57:10.595Z] 2bbca73fdf42: Pull complete [2022-09-19T04:57:10.595Z] 46d945488cbd: Pull complete [2022-09-19T04:57:16.013Z] 8a5474983e97: Pull complete [2022-09-19T04:57:18.011Z] 329c88fbcd65: Pull complete [2022-09-19T04:57:18.011Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-19T04:57:18.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-19T04:57:18.011Z] ---> ff4287adb874 [2022-09-19T04:57:18.011Z] Step 3/13 : ARG MAKE="make build" [2022-09-19T04:57:20.003Z] ---> Running in 72021dccbe00 [2022-09-19T04:57:20.003Z] Removing intermediate container 72021dccbe00 [2022-09-19T04:57:20.003Z] ---> 2ebae0388001 [2022-09-19T04:57:20.003Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-19T04:57:20.003Z] ---> Running in 50002fb360cd [2022-09-19T04:57:20.282Z] Removing intermediate container 50002fb360cd [2022-09-19T04:57:20.282Z] ---> 72c659cc4d11 [2022-09-19T04:57:20.282Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-19T04:57:20.557Z] ---> Running in c16bbd094d95 [2022-09-19T04:57:20.840Z] Removing intermediate container c16bbd094d95 [2022-09-19T04:57:20.840Z] ---> b9c6e57cbdf7 [2022-09-19T04:57:20.840Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-19T04:57:20.840Z] ---> Running in f4a2e7220cb4 [2022-09-19T04:57:21.120Z] Removing intermediate container f4a2e7220cb4 [2022-09-19T04:57:21.120Z] ---> 63cc3c24c11f [2022-09-19T04:57:21.120Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T04:57:21.120Z] ---> Running in c776c9c7aae8 [2022-09-19T04:57:23.094Z] Removing intermediate container c776c9c7aae8 [2022-09-19T04:57:23.094Z] ---> 1fbd9df8db34 [2022-09-19T04:57:23.094Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-19T04:57:23.094Z] ---> Running in a5c32b41518f [2022-09-19T04:57:24.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-19T04:57:25.061Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-19T04:57:25.660Z] OK: 221 MiB in 51 packages [2022-09-19T04:57:26.655Z] Removing intermediate container a5c32b41518f [2022-09-19T04:57:26.655Z] ---> cdf9634315ba [2022-09-19T04:57:26.655Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-19T04:57:26.655Z] ---> Running in 3caef8a59a4c [2022-09-19T04:57:26.933Z] Removing intermediate container 3caef8a59a4c [2022-09-19T04:57:26.933Z] ---> a64797fc5bff [2022-09-19T04:57:26.933Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-19T04:57:27.537Z] ---> 90cdabd4941e [2022-09-19T04:57:27.537Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T04:57:27.537Z] ---> Running in fe71d5e59fcb [2022-09-19T04:58:24.119Z] Removing intermediate container fe71d5e59fcb [2022-09-19T04:58:24.119Z] ---> 9d186c202be0 [2022-09-19T04:58:24.119Z] Step 12/13 : COPY . . [2022-09-19T04:58:24.119Z] ---> ec7c7bfc2ff8 [2022-09-19T04:58:24.119Z] Step 13/13 : RUN ${MAKE} [2022-09-19T04:58:24.119Z] ---> Running in e13cfe3824fe [2022-09-19T04:58:24.119Z] noop [2022-09-19T04:58:24.119Z] Removing intermediate container e13cfe3824fe [2022-09-19T04:58:24.119Z] ---> 920ef8459855 [2022-09-19T04:58:24.119Z] Successfully built 920ef8459855 [2022-09-19T04:58:24.119Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:58:24.479Z] + docker inspect -f . ci-base-image-arm64 [2022-09-19T04:58:24.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:58:24.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container [2022-09-19T04:58:24.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-19T04:58:26.158Z] $ docker top 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T04:58:27.087Z] + go version [2022-09-19T04:58:27.087Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-19T04:58:27.111Z] $ docker stop --time=1 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea [2022-09-19T04:58:28.787Z] $ docker rm -f 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T04:58:29.405Z] + docker inspect -f . ci-base-image-arm64 [2022-09-19T04:58:29.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T04:58:29.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container [2022-09-19T04:58:29.755Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-19T04:58:31.088Z] $ docker top 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T04:58:32.015Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-09-19T04:58:32.701Z] + make test [2022-09-19T04:58:32.701Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-19T04:58:34.155Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-19T05:00:11.081Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-19T05:00:11.081Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.6% of statements [2022-09-19T05:00:11.081Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-19T05:00:33.256Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.787s coverage: 13.8% of statements [2022-09-19T05:00:33.256Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-19T05:00:33.256Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-19T05:00:55.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-19T05:00:55.479Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-19T05:00:55.479Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-19T05:00:55.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-19T05:00:55.517Z] $ docker stop --time=1 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 [2022-09-19T05:00:57.292Z] $ docker rm -f 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-19T05:00:58.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-19T05:00:58.339Z] Warning: overwriting stash ‘coverage-report’ [2022-09-19T05:00:58.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-19T05:00:59.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-19T05:00:59.614Z] + ls -al . [2022-09-19T05:00:59.614Z] total 228 [2022-09-19T05:00:59.614Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 04:58 . [2022-09-19T05:00:59.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 .. [2022-09-19T05:00:59.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:56 .git [2022-09-19T05:00:59.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:56 .github [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 19 04:56 .gitignore [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:56 .golangci.yml [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 19 04:56 Attribution.txt [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 19 04:56 CHANGELOG.md [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 19 04:56 Dockerfile [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:56 GOVERNANCE.md [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 19 04:56 Jenkinsfile [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 04:56 LICENSE [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 19 04:56 Makefile [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 04:56 OWNERS.md [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 19 04:56 README.md [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:54 VERSION [2022-09-19T05:00:59.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:56 bin [2022-09-19T05:00:59.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:56 cmd [2022-09-19T05:00:59.614Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 19 05:00 coverage.out [2022-09-19T05:00:59.614Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:56 doc [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 19 04:56 go.mod [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 19 04:56 go.sum [2022-09-19T05:00:59.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 internal [2022-09-19T05:00:59.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 snap [2022-09-19T05:00:59.614Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T05:00:59.968Z] + 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=a91ed6cb4bec8b538a5f62f6b23b437928ed614d --label arch=arm64 --label version=0.0.0 . [2022-09-19T05:01:00.569Z] Sending build context to Docker daemon 14.3MB [2022-09-19T05:01:00.569Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-19T05:01:00.569Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-19T05:01:00.569Z] ---> 920ef8459855 [2022-09-19T05:01:00.569Z] Step 3/26 : ARG MAKE="make build" [2022-09-19T05:01:00.841Z] ---> Running in e4493b57dfbc [2022-09-19T05:01:01.118Z] Removing intermediate container e4493b57dfbc [2022-09-19T05:01:01.118Z] ---> 88ab5233253a [2022-09-19T05:01:01.118Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-19T05:01:01.118Z] ---> Running in 558ab4895e9d [2022-09-19T05:01:01.391Z] Removing intermediate container 558ab4895e9d [2022-09-19T05:01:01.391Z] ---> bbf892cc30fb [2022-09-19T05:01:01.391Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-19T05:01:01.391Z] ---> Running in ad2e4d2011b1 [2022-09-19T05:01:01.987Z] Removing intermediate container ad2e4d2011b1 [2022-09-19T05:01:01.987Z] ---> 457de2a4f262 [2022-09-19T05:01:01.987Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-19T05:01:01.987Z] ---> Running in 446077a966db [2022-09-19T05:01:02.263Z] Removing intermediate container 446077a966db [2022-09-19T05:01:02.263Z] ---> 09ac082ae7b9 [2022-09-19T05:01:02.263Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-19T05:01:02.263Z] ---> Running in 3333956f8ff6 [2022-09-19T05:01:04.248Z] Removing intermediate container 3333956f8ff6 [2022-09-19T05:01:04.248Z] ---> 16605b4dcb01 [2022-09-19T05:01:04.248Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-19T05:01:04.248Z] ---> Running in 6a6474dc9c35 [2022-09-19T05:01:04.844Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-19T05:01:05.819Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-19T05:01:06.803Z] OK: 221 MiB in 51 packages [2022-09-19T05:01:07.403Z] Removing intermediate container 6a6474dc9c35 [2022-09-19T05:01:07.404Z] ---> a4f55d59f340 [2022-09-19T05:01:07.404Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-19T05:01:07.687Z] ---> Running in 0b37aa2bc4e8 [2022-09-19T05:01:07.961Z] Removing intermediate container 0b37aa2bc4e8 [2022-09-19T05:01:07.961Z] ---> 6048240d382f [2022-09-19T05:01:07.961Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-19T05:01:08.559Z] ---> 740170f1d691 [2022-09-19T05:01:08.559Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-19T05:01:08.559Z] ---> Running in a12183d75046 [2022-09-19T05:01:10.541Z] Removing intermediate container a12183d75046 [2022-09-19T05:01:10.541Z] ---> 6800647827ac [2022-09-19T05:01:10.541Z] Step 12/26 : COPY . . [2022-09-19T05:01:12.212Z] ---> 0ac9c9493984 [2022-09-19T05:01:12.212Z] Step 13/26 : RUN ${MAKE} [2022-09-19T05:01:12.212Z] ---> Running in 2aef43db256a [2022-09-19T05:01:13.207Z] 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-09-19T05:03:35.167Z] Removing intermediate container 2aef43db256a [2022-09-19T05:03:35.167Z] ---> de0fa0955031 [2022-09-19T05:03:35.167Z] Step 14/26 : FROM alpine:3.16 [2022-09-19T05:03:35.167Z] 3.16: Pulling from library/alpine [2022-09-19T05:03:35.167Z] 9b18e9b68314: Pulling fs layer [2022-09-19T05:03:35.167Z] 9b18e9b68314: Verifying Checksum [2022-09-19T05:03:35.167Z] 9b18e9b68314: Download complete [2022-09-19T05:03:35.167Z] 9b18e9b68314: Pull complete [2022-09-19T05:03:35.167Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-19T05:03:35.167Z] Status: Downloaded newer image for alpine:3.16 [2022-09-19T05:03:35.167Z] ---> a6215f271958 [2022-09-19T05:03:35.167Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-19T05:03:35.167Z] ---> Running in e41c3c6ba3a2 [2022-09-19T05:03:35.167Z] Removing intermediate container e41c3c6ba3a2 [2022-09-19T05:03:35.167Z] ---> 4c9c94a05557 [2022-09-19T05:03:35.167Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-19T05:03:35.167Z] ---> Running in 96be554ed9ad [2022-09-19T05:03:35.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-19T05:03:35.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-19T05:03:35.167Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-19T05:03:35.167Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-19T05:03:35.167Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-19T05:03:35.167Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-19T05:03:35.167Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-19T05:03:35.167Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-19T05:03:35.167Z] Executing busybox-1.35.0-r17.trigger [2022-09-19T05:03:35.167Z] OK: 8 MiB in 20 packages [2022-09-19T05:03:35.167Z] Removing intermediate container 96be554ed9ad [2022-09-19T05:03:35.167Z] ---> ec3374bde9c1 [2022-09-19T05:03:35.167Z] Step 17/26 : WORKDIR / [2022-09-19T05:03:35.167Z] ---> Running in 22b6eae7ed20 [2022-09-19T05:03:35.167Z] Removing intermediate container 22b6eae7ed20 [2022-09-19T05:03:35.167Z] ---> cd63ca622cc0 [2022-09-19T05:03:35.167Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-19T05:03:35.167Z] ---> d0df9ad71e93 [2022-09-19T05:03:35.167Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-19T05:03:35.442Z] ---> b8b70f110475 [2022-09-19T05:03:35.442Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-19T05:03:36.043Z] ---> ab57540268b5 [2022-09-19T05:03:36.043Z] Step 21/26 : EXPOSE 59984 [2022-09-19T05:03:36.319Z] ---> Running in 87e47e142669 [2022-09-19T05:03:36.594Z] Removing intermediate container 87e47e142669 [2022-09-19T05:03:36.594Z] ---> 4ef611705b12 [2022-09-19T05:03:36.594Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-19T05:03:36.594Z] ---> Running in 8a85f2eee699 [2022-09-19T05:03:36.868Z] Removing intermediate container 8a85f2eee699 [2022-09-19T05:03:36.868Z] ---> 308831bdf2c9 [2022-09-19T05:03:36.868Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-19T05:03:36.868Z] ---> Running in afb12c8a2a4c [2022-09-19T05:03:37.149Z] Removing intermediate container afb12c8a2a4c [2022-09-19T05:03:37.150Z] ---> 2c6b8639e1c6 [2022-09-19T05:03:37.150Z] Step 24/26 : LABEL arch=arm64 [2022-09-19T05:03:37.428Z] ---> Running in cd2c2d1b623a [2022-09-19T05:03:37.705Z] Removing intermediate container cd2c2d1b623a [2022-09-19T05:03:37.705Z] ---> 6eacd19fbeeb [2022-09-19T05:03:37.705Z] Step 25/26 : LABEL git_sha=a91ed6cb4bec8b538a5f62f6b23b437928ed614d [2022-09-19T05:03:37.705Z] ---> Running in d2f4af92b89e [2022-09-19T05:03:37.980Z] Removing intermediate container d2f4af92b89e [2022-09-19T05:03:37.980Z] ---> 3602159e5f82 [2022-09-19T05:03:37.980Z] Step 26/26 : LABEL version=0.0.0 [2022-09-19T05:03:37.980Z] ---> Running in bf520e29dbe2 [2022-09-19T05:03:38.582Z] Removing intermediate container bf520e29dbe2 [2022-09-19T05:03:38.582Z] ---> 341dab5e8c6a [2022-09-19T05:03:38.582Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-19T05:03:38.582Z] Successfully built 341dab5e8c6a [2022-09-19T05:03:38.582Z] 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-09-19T05:03:39.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T05:03:39.139Z] [2022-09-19T05:03:39.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T05:03:39.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T05:03:39.772Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-19T05:03:39.772Z] 8998bd30e6a1: Pulling fs layer [2022-09-19T05:03:39.772Z] 04944245beec: Pulling fs layer [2022-09-19T05:03:39.772Z] 699f458cf7ca: Pulling fs layer [2022-09-19T05:03:39.772Z] 765212b225bb: Pulling fs layer [2022-09-19T05:03:39.772Z] f23df028b6ca: Pulling fs layer [2022-09-19T05:03:39.772Z] d65c8cfc05b1: Pulling fs layer [2022-09-19T05:03:39.772Z] 2437ff75d9bd: Pulling fs layer [2022-09-19T05:03:39.772Z] f23df028b6ca: Waiting [2022-09-19T05:03:39.772Z] 765212b225bb: Waiting [2022-09-19T05:03:39.772Z] d65c8cfc05b1: Waiting [2022-09-19T05:03:39.772Z] 2437ff75d9bd: Waiting [2022-09-19T05:03:39.772Z] 04944245beec: Verifying Checksum [2022-09-19T05:03:39.772Z] 04944245beec: Download complete [2022-09-19T05:03:39.772Z] 765212b225bb: Verifying Checksum [2022-09-19T05:03:39.772Z] 765212b225bb: Download complete [2022-09-19T05:03:39.772Z] f23df028b6ca: Verifying Checksum [2022-09-19T05:03:39.772Z] f23df028b6ca: Download complete [2022-09-19T05:03:39.772Z] d65c8cfc05b1: Verifying Checksum [2022-09-19T05:03:39.772Z] d65c8cfc05b1: Download complete [2022-09-19T05:03:40.050Z] 699f458cf7ca: Verifying Checksum [2022-09-19T05:03:40.050Z] 699f458cf7ca: Download complete [2022-09-19T05:03:40.329Z] 8998bd30e6a1: Download complete [2022-09-19T05:03:42.960Z] 2437ff75d9bd: Verifying Checksum [2022-09-19T05:03:42.960Z] 2437ff75d9bd: Download complete [2022-09-19T05:03:44.962Z] 8998bd30e6a1: Pull complete [2022-09-19T05:03:45.235Z] 04944245beec: Pull complete [2022-09-19T05:03:46.680Z] 699f458cf7ca: Pull complete [2022-09-19T05:03:46.955Z] 765212b225bb: Pull complete [2022-09-19T05:03:47.939Z] f23df028b6ca: Pull complete [2022-09-19T05:03:47.939Z] d65c8cfc05b1: Pull complete [2022-09-19T05:04:03.054Z] 2437ff75d9bd: Pull complete [2022-09-19T05:04:03.054Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-19T05:04:03.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-19T05:04:03.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T05:04:03.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container [2022-09-19T05:04:03.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-19T05:04:06.054Z] $ docker top ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:06.980Z] ---> job-cost.sh [2022-09-19T05:04:06.980Z] lf-activate-venv: SKIPPING [2022-09-19T05:04:06.980Z] INFO: No Stack... [2022-09-19T05:04:07.578Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-19T05:04:08.561Z] INFO: Archiving Costs [Pipeline] sh [2022-09-19T05:04:09.230Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-09-19T05:04:09.230Z] + cut -d, -f6 [Pipeline] lock [2022-09-19T05:04:09.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [2022-09-19T05:04:09.305Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] did not exist. Created. [2022-09-19T05:04:09.305Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-19T05:04:09.990Z] /w/workspace/device-onvif-camera/4@tmp/durable-6abde531/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-19T05:04:10.680Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-19T05:04:10.707Z] Warning: overwriting stash ‘stack-cost’ [2022-09-19T05:04:10.770Z] Stashed 1 file(s) [Pipeline] } [2022-09-19T05:04:10.777Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-19T05:04:10.795Z] $ docker stop --time=1 ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 [2022-09-19T05:04:12.271Z] $ docker rm -f ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 [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-09-19T05:04:12.722Z] provisioning config files... [2022-09-19T05:04:12.730Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1082956931465061521tmp [Pipeline] { [Pipeline] sh [2022-09-19T05:04:13.029Z] + set +x [2022-09-19T05:04:13.029Z] + curl -s https://codecov.io/bash [2022-09-19T05:04:13.029Z] + bash -s -- [2022-09-19T05:04:13.029Z] [2022-09-19T05:04:13.029Z] _____ _ [2022-09-19T05:04:13.029Z] / ____| | | [2022-09-19T05:04:13.029Z] | | ___ __| | ___ ___ _____ __ [2022-09-19T05:04:13.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-19T05:04:13.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-19T05:04:13.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-19T05:04:13.029Z] Bash-1.0.6 [2022-09-19T05:04:13.029Z] [2022-09-19T05:04:13.029Z] [2022-09-19T05:04:13.029Z] ==> git version 2.25.1 found [2022-09-19T05:04:13.029Z] ==> 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-09-19T05:04:13.029Z] Release-Date: 2020-01-08 [2022-09-19T05:04:13.029Z] 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-09-19T05:04:13.029Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-19T05:04:13.029Z] ==> Jenkins CI detected. [2022-09-19T05:04:13.029Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-19T05:04:13.029Z] project root: . [2022-09-19T05:04:13.029Z] --> token set from env [2022-09-19T05:04:13.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-19T05:04:13.029Z] ==> Running gcov in . (disable via -X gcov) [2022-09-19T05:04:13.029Z] ==> Python coveragepy not found [2022-09-19T05:04:13.029Z] ==> Searching for coverage reports in: [2022-09-19T05:04:13.029Z] + . [2022-09-19T05:04:13.029Z] -> Found 1 reports [2022-09-19T05:04:13.029Z] ==> Detecting git/mercurial file structure [2022-09-19T05:04:13.289Z] ==> Reading reports [2022-09-19T05:04:13.289Z] + ./coverage.out bytes=77283 [2022-09-19T05:04:13.289Z] ==> Appending adjustments [2022-09-19T05:04:13.289Z] https://docs.codecov.io/docs/fixing-reports [2022-09-19T05:04:13.289Z] + Found adjustments [2022-09-19T05:04:13.289Z] ==> Gzipping contents [2022-09-19T05:04:13.289Z] 12K /tmp/codecov.NfI6mw.gz [2022-09-19T05:04:13.289Z] ==> Uploading reports [2022-09-19T05:04:13.289Z] url: https://codecov.io [2022-09-19T05:04:13.289Z] query: branch=PR-161&commit=3525f1e26c512a389455bf17f77a0c7f0cd07fd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-19T05:04:13.289Z] -> Pinging Codecov [2022-09-19T05:04:13.289Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=3525f1e26c512a389455bf17f77a0c7f0cd07fd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-19T05:04:13.549Z] -> Uploading to [2022-09-19T05:04:13.550Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-19/F29A59C45E3A92E06B3E522C9905F8EF/3525f1e26c512a389455bf17f77a0c7f0cd07fd1/133fd031-be3a-48fc-9418-07d4f2bb367e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220919T050413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4253a55673ea8dffdda9fc3c176ffb42d11064c195ec1da8684a791ea5ff1d76 [2022-09-19T05:04:13.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-19T05:04:13.550Z] Dload Upload Total Spent Left Speed [2022-09-19T05:04:13.809Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10604 0 0 100 10604 0 47981 --:--:-- --:--:-- --:--:-- 47765 100 10604 0 0 100 10604 0 35112 --:--:-- --:--:-- --:--:-- 34996 [2022-09-19T05:04:13.809Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] } [2022-09-19T05:04:13.817Z] 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-09-19T05:04:14.532Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-19T05:04:14.532Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-19T05:04:14.532Z] total 16 [2022-09-19T05:04:14.532Z] drwxr-xr-x 3 root root 4096 Sep 19 04:56 . [2022-09-19T05:04:14.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 04:56 .. [2022-09-19T05:04:14.532Z] drwxr-xr-x 2 root root 4096 Sep 19 04:56 cost [2022-09-19T05:04:14.532Z] -rw-r--r-- 1 root root 91 Sep 19 04:56 cost.csv [2022-09-19T05:04:14.532Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-19T05:04:14.532Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-19T05:04:14.532Z] total 16 [2022-09-19T05:04:14.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:56 . [2022-09-19T05:04:14.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 04:56 .. [2022-09-19T05:04:14.532Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 04:56 cost [2022-09-19T05:04:14.532Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 19 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:14.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:15.686Z] ---> package-listing.sh [2022-09-19T05:04:15.686Z] ++ facter osfamily [2022-09-19T05:04:15.686Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-19T05:04:15.947Z] + OS_FAMILY=debian [2022-09-19T05:04:15.947Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-19T05:04:15.947Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-19T05:04:15.947Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-19T05:04:15.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-19T05:04:15.947Z] + PACKAGES=/tmp/packages_start.txt [2022-09-19T05:04:15.947Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-19T05:04:15.947Z] + PACKAGES=/tmp/packages_end.txt [2022-09-19T05:04:15.947Z] + case "${OS_FAMILY}" in [2022-09-19T05:04:15.947Z] + dpkg -l [2022-09-19T05:04:15.947Z] + grep '^ii' [2022-09-19T05:04:15.947Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-19T05:04:15.947Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-19T05:04:15.947Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-19T05:04:15.947Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-19T05:04:15.947Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-19T05:04:15.947Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo [2022-09-19T05:04:15.960Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-19T05:04:16.239Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-19T05:04:16.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-19T05:04:16.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-19T05:04:16.905Z] prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container [2022-09-19T05:04:16.933Z] $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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-09-19T05:04:17.167Z] $ docker top 4088f003b1a8a5d2ad3471ce4c5e98be43b3e8a04f707fa23b9fe59f512cd2eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-19T05:04:17.545Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-19T05:04:17.838Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-19T05:04:18.136Z] + ls /var/log/sa-host [2022-09-19T05:04:18.137Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-19T05:04:18.436Z] provisioning config files... [2022-09-19T05:04:18.448Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config8094078406285174184tmp [Pipeline] { [Pipeline] echo [2022-09-19T05:04:18.464Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:18.749Z] ---> create-netrc.sh [Pipeline] } [2022-09-19T05:04:18.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:19.108Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-19T05:04:19.118Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:19.409Z] ---> sudo-logs.sh [2022-09-19T05:04:19.409Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-19T05:04:19.443Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:19.732Z] ---> job-cost.sh [2022-09-19T05:04:19.732Z] lf-activate-venv: SKIPPING [2022-09-19T05:04:19.732Z] DEBUG: total: 0.2199999988079071 [2022-09-19T05:04:19.732Z] INFO: Retrieving Stack Cost... [2022-09-19T05:04:20.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-19T05:04:20.562Z] INFO: Archiving Costs [Pipeline] echo [2022-09-19T05:04:20.575Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-19T05:04:20.861Z] ---> logs-deploy.sh [2022-09-19T05:04:20.861Z] lf-activate-venv: SKIPPING [2022-09-19T05:04:20.861Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/4 [2022-09-19T05:04:20.861Z] INFO: archiving workspace using pattern(s): [2022-09-19T05:04:21.804Z] Archives upload complete. [2022-09-19T05:04:21.804Z] INFO: archiving logs to Nexus