ajcasagrande commented: recheck 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 07d7568c4aa69296c110ad64a28331e8173121ad rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh9926455169693729720.key Verifying host key using known hosts file > 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-ssh11591201047081893070.key Verifying host key using known hosts file > 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-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3382084400288910147.key Verifying host key using known hosts file > 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-ssh8456989710218281037.key Verifying host key using known hosts file > 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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16086239196317636473.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1428 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-153 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 Checking out Revision 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 (PR-153) > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T21:18:47.946Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T21:18:47.985Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T21:18:47.998Z] ========================================================= [2022-09-27T21:18:47.998Z] EdgeX Global Pipelines Version Info [2022-09-27T21:18:47.998Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:18:48.691Z] ------------------- [2022-09-27T21:18:48.691Z] stable info: [2022-09-27T21:18:48.691Z] ------------------- [2022-09-27T21:18:48.691Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T21:18:48.691Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T21:18:48.691Z] Message: update stable to v1.0.239 [2022-09-27T21:18:49.261Z] ------------------- [2022-09-27T21:18:49.261Z] experimental info: [2022-09-27T21:18:49.261Z] ------------------- [2022-09-27T21:18:49.261Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T21:18:49.261Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T21:18:49.261Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T21:18:49.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-27T21:18:49.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-27T21:18:49.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T21:18:49.510Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T21:18:49.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T21:18:49.532Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T21:18:49.543Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T21:18:49.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T21:18:49.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T21:18:49.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T21:18:49.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T21:18:49.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-27T21:18:49.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T21:18:49.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T21:18:49.636Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T21:18:49.647Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T21:18:49.661Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T21:18:49.670Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T21:18:49.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T21:18:49.699Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T21:18:49.710Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T21:18:49.721Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-27T21:18:49.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T21:18:49.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T21:18:49.755Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T21:18:49.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T21:18:49.778Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T21:18:49.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-09-27T21:18:49.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-09-27T21:18:49.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-09-27T21:18:49.835Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo [2022-09-27T21:18:49.843Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f92f16 [Pipeline] echo [2022-09-27T21:18:49.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:18:49.894Z] provisioning config files... [2022-09-27T21:18:49.906Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config16277242620704016454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:18:50.215Z] ---> docker-login.sh [2022-09-27T21:18:50.215Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:18:50.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:18:50.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:18:50.476Z] Configure a credential helper to remove this warning. See [2022-09-27T21:18:50.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:18:50.476Z] [2022-09-27T21:18:50.476Z] Login Succeeded [2022-09-27T21:18:50.476Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:18:50.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:18:50.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:18:50.476Z] Configure a credential helper to remove this warning. See [2022-09-27T21:18:50.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:18:50.476Z] [2022-09-27T21:18:50.476Z] Login Succeeded [2022-09-27T21:18:50.476Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:18:50.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:18:50.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:18:50.736Z] Configure a credential helper to remove this warning. See [2022-09-27T21:18:50.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:18:50.736Z] [2022-09-27T21:18:50.736Z] Login Succeeded [2022-09-27T21:18:50.736Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:18:50.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:18:50.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:18:50.736Z] Configure a credential helper to remove this warning. See [2022-09-27T21:18:50.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:18:50.736Z] [2022-09-27T21:18:50.736Z] Login Succeeded [2022-09-27T21:18:50.736Z] docker.io [2022-09-27T21:18:50.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:18:51.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:18:51.256Z] Configure a credential helper to remove this warning. See [2022-09-27T21:18:51.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:18:51.256Z] [2022-09-27T21:18:51.256Z] Login Succeeded [2022-09-27T21:18:51.256Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:18:51.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T21:18:51.633Z] + git rev-list -1 --merges 4f92f1612484ed54877fa309e0bf844d0f7f9bc5~1..4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo [2022-09-27T21:18:51.661Z] -----------> git rev-list -1 --merges 4f92f1612484ed54877fa309e0bf844d0f7f9bc5~1..4f92f1612484ed54877fa309e0bf844d0f7f9bc5 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [2022-09-27T21:18:51.661Z] 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [false] [Pipeline] sh [2022-09-27T21:18:51.946Z] + git log --format=format:%s -1 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo [2022-09-27T21:18:51.961Z] ========================================================= [2022-09-27T21:18:51.961Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T21:18:51.961Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:18:52.275Z] + git log --format=format:%s -1 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo [2022-09-27T21:18:52.287Z] [semverPrep] GIT_COMMIT: 4f92f1612484ed54877fa309e0bf844d0f7f9bc5, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo [2022-09-27T21:18:52.294Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T21:18:52.626Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T21:18:52.626Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T21:18:52.626Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T21:18:52.626Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T21:18:52.626Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T21:18:52.626Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T21:18:52.626Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:18:52.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:18:52.967Z] [2022-09-27T21:18:52.967Z] 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-27T21:18:53.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:18:53.265Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T21:18:53.265Z] b85a868b505f: Pulling fs layer [2022-09-27T21:18:53.265Z] e2be974225ed: Pulling fs layer [2022-09-27T21:18:53.265Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T21:18:53.265Z] 988bab9f4d93: Pulling fs layer [2022-09-27T21:18:53.265Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T21:18:53.265Z] eaf3925da568: Pulling fs layer [2022-09-27T21:18:53.265Z] bab4dde63d76: Pulling fs layer [2022-09-27T21:18:53.265Z] bde34c3a00c8: Pulling fs layer [2022-09-27T21:18:53.265Z] b352a97aabf1: Pulling fs layer [2022-09-27T21:18:53.265Z] 4872d77fe225: Pulling fs layer [2022-09-27T21:18:53.265Z] 5851b861e8e6: Pulling fs layer [2022-09-27T21:18:53.265Z] 988bab9f4d93: Waiting [2022-09-27T21:18:53.265Z] eaf3925da568: Waiting [2022-09-27T21:18:53.265Z] bde34c3a00c8: Waiting [2022-09-27T21:18:53.265Z] bab4dde63d76: Waiting [2022-09-27T21:18:53.265Z] 1469e6f7b9e6: Waiting [2022-09-27T21:18:53.265Z] 4872d77fe225: Waiting [2022-09-27T21:18:53.265Z] e2be974225ed: Download complete [2022-09-27T21:18:53.265Z] 988bab9f4d93: Verifying Checksum [2022-09-27T21:18:53.265Z] 988bab9f4d93: Download complete [2022-09-27T21:18:53.525Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T21:18:53.525Z] 1469e6f7b9e6: Download complete [2022-09-27T21:18:53.525Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T21:18:53.525Z] 339a4e72a1f5: Download complete [2022-09-27T21:18:53.525Z] eaf3925da568: Verifying Checksum [2022-09-27T21:18:53.525Z] eaf3925da568: Download complete [2022-09-27T21:18:53.525Z] bde34c3a00c8: Download complete [2022-09-27T21:18:53.525Z] b352a97aabf1: Verifying Checksum [2022-09-27T21:18:53.525Z] b352a97aabf1: Download complete [2022-09-27T21:18:53.525Z] 4872d77fe225: Verifying Checksum [2022-09-27T21:18:53.525Z] 4872d77fe225: Download complete [2022-09-27T21:18:53.525Z] 5851b861e8e6: Verifying Checksum [2022-09-27T21:18:53.525Z] 5851b861e8e6: Download complete [2022-09-27T21:18:53.525Z] b85a868b505f: Download complete [2022-09-27T21:18:53.783Z] bab4dde63d76: Verifying Checksum [2022-09-27T21:18:53.783Z] bab4dde63d76: Download complete [2022-09-27T21:18:54.717Z] b85a868b505f: Pull complete [2022-09-27T21:18:54.717Z] e2be974225ed: Pull complete [2022-09-27T21:18:55.284Z] 339a4e72a1f5: Pull complete [2022-09-27T21:18:55.284Z] 988bab9f4d93: Pull complete [2022-09-27T21:18:55.542Z] 1469e6f7b9e6: Pull complete [2022-09-27T21:18:55.542Z] eaf3925da568: Pull complete [2022-09-27T21:18:57.443Z] bab4dde63d76: Pull complete [2022-09-27T21:18:57.443Z] bde34c3a00c8: Pull complete [2022-09-27T21:18:57.443Z] b352a97aabf1: Pull complete [2022-09-27T21:18:57.443Z] 4872d77fe225: Pull complete [2022-09-27T21:18:57.701Z] 5851b861e8e6: Pull complete [2022-09-27T21:18:57.701Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T21:18:57.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:18:57.701Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:18:57.777Z] prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container [2022-09-27T21:18:57.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T21:18:59.425Z] $ docker top ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d -eo pid,comm [2022-09-27T21:18:59.484Z] 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-27T21:18:59.484Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T21:18:59.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T21:18:59.520Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T21:18:59.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T21:18:59.645Z] $ docker exec ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent [2022-09-27T21:18:59.758Z] SSH_AUTH_SOCK=/tmp/ssh-1PJEfe9nRo2w/agent.33 [2022-09-27T21:18:59.758Z] SSH_AGENT_PID=39 [2022-09-27T21:18:59.765Z] Running ssh-add (command line suppressed) [2022-09-27T21:18:59.860Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_14752206283111463891.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_14752206283111463891.key) [2022-09-27T21:18:59.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T21:19:00.157Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T21:19:00.165Z] $ docker exec --env ******** --env ******** ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent -k [2022-09-27T21:19:00.264Z] unset SSH_AUTH_SOCK; [2022-09-27T21:19:00.265Z] unset SSH_AGENT_PID; [2022-09-27T21:19:00.265Z] echo Agent pid 39 killed; [2022-09-27T21:19:00.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T21:19:00.309Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T21:19:00.309Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T21:19:00.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T21:19:00.404Z] $ docker exec ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent [2022-09-27T21:19:00.511Z] SSH_AUTH_SOCK=/tmp/ssh-3V6bX9nb7kbt/agent.70 [2022-09-27T21:19:00.511Z] SSH_AGENT_PID=76 [2022-09-27T21:19:00.515Z] Running ssh-add (command line suppressed) [2022-09-27T21:19:00.626Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6569281497183368290.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6569281497183368290.key) [2022-09-27T21:19:00.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T21:19:00.926Z] + git semver init [2022-09-27T21:19:01.186Z] 2022-09-27 21:19:01,076 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T21:19:01.186Z] 2022-09-27 21:19:01,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-27T21:19:01.186Z] 2022-09-27 21:19:01,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-27T21:19:01.186Z] 2022-09-27 21:19:01,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,013 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,013 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,017 [execute] INFO git cat-file --batch-check [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,023 [execute] INFO git cat-file --batch [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T21:19:02.127Z] 2022-09-27 21:19:02,028 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T21:19:02.127Z] 0.0.0 [Pipeline] } [2022-09-27T21:19:02.134Z] $ docker exec --env ******** --env ******** ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent -k [2022-09-27T21:19:02.235Z] unset SSH_AUTH_SOCK; [2022-09-27T21:19:02.235Z] unset SSH_AGENT_PID; [2022-09-27T21:19:02.235Z] echo Agent pid 76 killed; [2022-09-27T21:19:02.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T21:19:02.542Z] + git semver [Pipeline] } [2022-09-27T21:19:02.813Z] $ docker stop --time=1 ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d [2022-09-27T21:19:04.150Z] $ docker rm -f ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:19:04.488Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T21:19:04.670Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T21:19:04.673Z] [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-27T21:19:04.802Z] provisioning config files... [2022-09-27T21:19:04.812Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4182364497537689123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:05.109Z] ---> docker-login.sh [2022-09-27T21:19:05.109Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:19:05.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:19:05.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:19:05.109Z] Configure a credential helper to remove this warning. See [2022-09-27T21:19:05.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:19:05.109Z] [2022-09-27T21:19:05.109Z] Login Succeeded [2022-09-27T21:19:05.109Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:19:05.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:19:05.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:19:05.109Z] Configure a credential helper to remove this warning. See [2022-09-27T21:19:05.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:19:05.109Z] [2022-09-27T21:19:05.109Z] Login Succeeded [2022-09-27T21:19:05.109Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:19:05.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:19:05.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:19:05.367Z] Configure a credential helper to remove this warning. See [2022-09-27T21:19:05.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:19:05.367Z] [2022-09-27T21:19:05.367Z] Login Succeeded [2022-09-27T21:19:05.367Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:19:05.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:19:05.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:19:05.367Z] Configure a credential helper to remove this warning. See [2022-09-27T21:19:05.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:19:05.367Z] [2022-09-27T21:19:05.367Z] Login Succeeded [2022-09-27T21:19:05.367Z] docker.io [2022-09-27T21:19:05.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:19:05.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:19:05.886Z] Configure a credential helper to remove this warning. See [2022-09-27T21:19:05.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:19:05.886Z] [2022-09-27T21:19:05.886Z] Login Succeeded [2022-09-27T21:19:05.886Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:19:05.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:19:05.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:19:05.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:19:05.960Z] ========================================================= [2022-09-27T21:19:05.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T21:19:05.960Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:19:06.259Z] + 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-27T21:19:06.259Z] Sending build context to Docker daemon 20.74MB [2022-09-27T21:19:06.259Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:19:06.259Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T21:19:06.520Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T21:19:06.520Z] 2408cc74d12b: Pulling fs layer [2022-09-27T21:19:06.520Z] ea60b727a1ce: Pulling fs layer [2022-09-27T21:19:06.520Z] 30c4a7721957: Pulling fs layer [2022-09-27T21:19:06.520Z] 370296b7ddb6: Pulling fs layer [2022-09-27T21:19:06.520Z] 7c6cee850709: Pulling fs layer [2022-09-27T21:19:06.520Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T21:19:06.520Z] d94ebbe4e438: Pulling fs layer [2022-09-27T21:19:06.520Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T21:19:06.520Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T21:19:06.520Z] d94ebbe4e438: Waiting [2022-09-27T21:19:06.520Z] bcfd1f05c69d: Waiting [2022-09-27T21:19:06.520Z] 7c6cee850709: Waiting [2022-09-27T21:19:06.520Z] 59ccb84bbe0f: Waiting [2022-09-27T21:19:06.520Z] 370296b7ddb6: Waiting [2022-09-27T21:19:06.520Z] 30c4a7721957: Verifying Checksum [2022-09-27T21:19:06.520Z] 30c4a7721957: Download complete [2022-09-27T21:19:06.520Z] ea60b727a1ce: Verifying Checksum [2022-09-27T21:19:06.520Z] ea60b727a1ce: Download complete [2022-09-27T21:19:06.520Z] 7c6cee850709: Verifying Checksum [2022-09-27T21:19:06.520Z] 7c6cee850709: Download complete [2022-09-27T21:19:06.520Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T21:19:06.520Z] 39a5fcdaea64: Download complete [2022-09-27T21:19:06.520Z] 2408cc74d12b: Download complete [2022-09-27T21:19:06.520Z] d94ebbe4e438: Verifying Checksum [2022-09-27T21:19:06.520Z] d94ebbe4e438: Download complete [2022-09-27T21:19:06.520Z] 2408cc74d12b: Pull complete [2022-09-27T21:19:06.785Z] ea60b727a1ce: Pull complete [2022-09-27T21:19:06.785Z] 30c4a7721957: Pull complete [2022-09-27T21:19:07.047Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T21:19:07.047Z] 59ccb84bbe0f: Download complete [2022-09-27T21:19:07.306Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T21:19:07.306Z] bcfd1f05c69d: Download complete [2022-09-27T21:19:07.306Z] 370296b7ddb6: Verifying Checksum [2022-09-27T21:19:07.306Z] 370296b7ddb6: Download complete [2022-09-27T21:19:11.494Z] 370296b7ddb6: Pull complete [2022-09-27T21:19:11.494Z] 7c6cee850709: Pull complete [2022-09-27T21:19:11.494Z] 39a5fcdaea64: Pull complete [2022-09-27T21:19:11.494Z] d94ebbe4e438: Pull complete [2022-09-27T21:19:13.398Z] bcfd1f05c69d: Pull complete [2022-09-27T21:19:13.656Z] 59ccb84bbe0f: Pull complete [2022-09-27T21:19:13.656Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T21:19:13.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T21:19:13.656Z] ---> a4fb48ad2a94 [2022-09-27T21:19:13.656Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T21:19:16.193Z] ---> Running in ad484ac3e672 [2022-09-27T21:19:16.193Z] Removing intermediate container ad484ac3e672 [2022-09-27T21:19:16.193Z] ---> 41c36f6b4f4b [2022-09-27T21:19:16.193Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:19:16.193Z] ---> Running in 944a832e31c0 [2022-09-27T21:19:16.193Z] Removing intermediate container 944a832e31c0 [2022-09-27T21:19:16.193Z] ---> 40e2d8e276ba [2022-09-27T21:19:16.193Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:19:16.193Z] ---> Running in 725a0386c8e8 [2022-09-27T21:19:16.193Z] Removing intermediate container 725a0386c8e8 [2022-09-27T21:19:16.193Z] ---> 9dce97aa7794 [2022-09-27T21:19:16.193Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T21:19:16.193Z] ---> Running in 690b6a9545b2 [2022-09-27T21:19:16.193Z] Removing intermediate container 690b6a9545b2 [2022-09-27T21:19:16.193Z] ---> d032a74bd867 [2022-09-27T21:19:16.194Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:19:16.455Z] ---> Running in 02a57ed78afb [2022-09-27T21:19:17.027Z] Removing intermediate container 02a57ed78afb [2022-09-27T21:19:17.027Z] ---> e816c1e0826f [2022-09-27T21:19:17.027Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:19:17.027Z] ---> Running in c34812b749ea [2022-09-27T21:19:17.285Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:19:18.221Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:19:18.480Z] OK: 211 MiB in 51 packages [2022-09-27T21:19:18.739Z] Removing intermediate container c34812b749ea [2022-09-27T21:19:18.739Z] ---> 4a6221a500ff [2022-09-27T21:19:18.739Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T21:19:18.739Z] ---> Running in c03b3a75f309 [2022-09-27T21:19:18.997Z] Removing intermediate container c03b3a75f309 [2022-09-27T21:19:18.997Z] ---> ff7dc7069282 [2022-09-27T21:19:18.997Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T21:19:18.997Z] ---> a8e4ff001b7d [2022-09-27T21:19:18.997Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:19:18.997Z] ---> Running in 480e93422a78 [2022-09-27T21:19:19.763Z] Still waiting to schedule task [2022-09-27T21:19:19.764Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T21:19:37.092Z] Removing intermediate container 480e93422a78 [2022-09-27T21:19:37.092Z] ---> ab17112553db [2022-09-27T21:19:37.092Z] Step 12/13 : COPY . . [2022-09-27T21:19:37.092Z] ---> f81eccbb79da [2022-09-27T21:19:37.092Z] Step 13/13 : RUN ${MAKE} [2022-09-27T21:19:37.092Z] ---> Running in 55d4b4b3f60a [2022-09-27T21:19:37.092Z] noop [2022-09-27T21:19:37.092Z] Removing intermediate container 55d4b4b3f60a [2022-09-27T21:19:37.092Z] ---> 22b3a316d7bd [2022-09-27T21:19:37.092Z] Successfully built 22b3a316d7bd [2022-09-27T21:19:37.092Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:19:37.426Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T21:19:37.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:19:37.488Z] prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container [2022-09-27T21:19:37.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T21:19:37.877Z] $ docker top e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:19:38.213Z] + go version [2022-09-27T21:19:38.213Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T21:19:38.226Z] $ docker stop --time=1 e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc [2022-09-27T21:19:39.550Z] $ docker rm -f e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:19:39.954Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T21:19:39.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:19:40.015Z] prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container [2022-09-27T21:19:40.047Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T21:19:40.399Z] $ docker top 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:19:40.738Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:19:41.031Z] + make test [2022-09-27T21:19:41.031Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T21:19:41.288Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T21:19:51.259Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T21:19:52.193Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-09-27T21:19:52.193Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T21:19:52.193Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.220s coverage: 86.5% of statements [2022-09-27T21:20:00.302Z] 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-27T21:20:00.302Z] internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) [2022-09-27T21:20:00.302Z] uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" [2022-09-27T21:20:00.302Z] ^ [2022-09-27T21:20:00.302Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-09-27T21:20:00.321Z] $ docker stop --time=1 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 [2022-09-27T21:20:02.101Z] $ docker rm -f 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:20:02.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:20:02.646Z] [2022-09-27T21:20:02.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:20:02.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:20:02.940Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T21:20:02.940Z] 5eb5b503b376: Pulling fs layer [2022-09-27T21:20:02.940Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T21:20:02.940Z] ec43610c2a17: Pulling fs layer [2022-09-27T21:20:02.940Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T21:20:02.940Z] 33b1e0a273af: Pulling fs layer [2022-09-27T21:20:02.940Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T21:20:02.940Z] 2f39f015ded8: Pulling fs layer [2022-09-27T21:20:02.940Z] 3a2ae6a8a46f: Waiting [2022-09-27T21:20:02.940Z] 33b1e0a273af: Waiting [2022-09-27T21:20:02.940Z] 5d3b04190fa2: Waiting [2022-09-27T21:20:02.941Z] 2f39f015ded8: Waiting [2022-09-27T21:20:02.941Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T21:20:02.941Z] 5c69ac0246d0: Download complete [2022-09-27T21:20:02.941Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T21:20:02.941Z] 3a2ae6a8a46f: Download complete [2022-09-27T21:20:02.941Z] 33b1e0a273af: Verifying Checksum [2022-09-27T21:20:02.941Z] 33b1e0a273af: Download complete [2022-09-27T21:20:03.201Z] 5d3b04190fa2: Download complete [2022-09-27T21:20:03.201Z] ec43610c2a17: Verifying Checksum [2022-09-27T21:20:03.201Z] ec43610c2a17: Download complete [2022-09-27T21:20:03.201Z] 5eb5b503b376: Download complete [2022-09-27T21:20:03.770Z] 2f39f015ded8: Verifying Checksum [2022-09-27T21:20:03.770Z] 2f39f015ded8: Download complete [2022-09-27T21:20:04.336Z] 5eb5b503b376: Pull complete [2022-09-27T21:20:04.336Z] 5c69ac0246d0: Pull complete [2022-09-27T21:20:04.903Z] ec43610c2a17: Pull complete [2022-09-27T21:20:04.903Z] 3a2ae6a8a46f: Pull complete [2022-09-27T21:20:04.903Z] 33b1e0a273af: Pull complete [2022-09-27T21:20:05.160Z] 5d3b04190fa2: Pull complete [2022-09-27T21:20:09.338Z] 2f39f015ded8: Pull complete [2022-09-27T21:20:09.338Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T21:20:09.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:20:09.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:20:09.408Z] prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container [2022-09-27T21:20:09.438Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:20:11.198Z] $ docker top f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:20:11.551Z] ---> job-cost.sh [2022-09-27T21:20:11.551Z] lf-activate-venv: SKIPPING [2022-09-27T21:20:11.551Z] INFO: No Stack... [2022-09-27T21:20:11.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:20:12.380Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:20:12.666Z] + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv [2022-09-27T21:20:12.666Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:20:12.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [2022-09-27T21:20:12.683Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] did not exist. Created. [2022-09-27T21:20:12.683Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:20:13.048Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T21:20:13.090Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:20:13.096Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:20:13.114Z] $ docker stop --time=1 f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af [2022-09-27T21:20:14.279Z] $ docker rm -f f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T21:20:14.378Z] Failed in branch amd64 [2022-09-27T21:21:15.932Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1429 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws [2022-09-27T21:21:15.943Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-09-27T21:21:15.975Z] The recommended git tool is: git [2022-09-27T21:21:20.669Z] using credential edgex-jenkins-ssh [2022-09-27T21:21:20.685Z] Cloning the remote Git repository [2022-09-27T21:21:20.720Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T21:21:20.795Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-09-27T21:21:20.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T21:21:20.950Z] > git --version # timeout=10 [2022-09-27T21:21:20.973Z] > git --version # 'git version 2.25.1' [2022-09-27T21:21:20.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:21:21.022Z] Verifying host key using known hosts file [2022-09-27T21:21:21.225Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:21:21.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:21:23.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T21:21:23.621Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:21:24.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T21:21:24.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T21:21:24.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:21:24.469Z] Verifying host key using known hosts file [2022-09-27T21:21:24.476Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:21:24.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T21:21:25.102Z] Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-27T21:21:25.798Z] Merge succeeded, producing 507d6b9fe01fe487c783864e4ed4aa7553d0a326 [2022-09-27T21:21:25.799Z] Checking out Revision 507d6b9fe01fe487c783864e4ed4aa7553d0a326 (PR-153) [2022-09-27T21:21:25.115Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:21:25.132Z] > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [2022-09-27T21:21:25.338Z] > git remote # timeout=10 [2022-09-27T21:21:25.363Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T21:21:25.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:21:25.391Z] Verifying host key using known hosts file [2022-09-27T21:21:25.395Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:21:25.405Z] > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 [2022-09-27T21:21:25.774Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T21:21:25.807Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:21:25.835Z] > git checkout -f 507d6b9fe01fe487c783864e4ed4aa7553d0a326 # timeout=10 [2022-09-27T21:21:29.498Z] Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" [2022-09-27T21:21:29.523Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:21:30.358Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T21:21:30.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:21:30.358Z] Dload Upload Total Spent Left Speed [2022-09-27T21:21:30.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh [2022-09-27T21:21:29.504Z] > git rev-list --no-walk bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 [2022-09-27T21:21:31.044Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T21:21:31.372Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T21:21:31.372Z] + sudo tee /etc/docker/daemon.new [2022-09-27T21:21:31.372Z] { [2022-09-27T21:21:31.372Z] "registry-mirrors": [ [2022-09-27T21:21:31.372Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T21:21:31.372Z] ], [2022-09-27T21:21:31.372Z] "bip": "10.250.0.254/24", [2022-09-27T21:21:31.372Z] "hosts": [ [2022-09-27T21:21:31.372Z] "tcp://0.0.0.0:5555", [2022-09-27T21:21:31.372Z] "unix:///var/run/docker.sock" [2022-09-27T21:21:31.372Z] ], [2022-09-27T21:21:31.372Z] "mtu": 1458, [2022-09-27T21:21:31.372Z] "selinux-enabled": true, [2022-09-27T21:21:31.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T21:21:31.372Z] } [Pipeline] sh [2022-09-27T21:21:31.703Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T21:21:32.055Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:21:50.325Z] provisioning config files... [2022-09-27T21:21:50.349Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config11535211311761046232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:21:50.693Z] ---> docker-login.sh [2022-09-27T21:21:50.693Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:21:50.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:21:51.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:21:51.232Z] Configure a credential helper to remove this warning. See [2022-09-27T21:21:51.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:21:51.232Z] [2022-09-27T21:21:51.232Z] Login Succeeded [2022-09-27T21:21:51.232Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:21:51.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:21:51.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:21:51.503Z] Configure a credential helper to remove this warning. See [2022-09-27T21:21:51.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:21:51.503Z] [2022-09-27T21:21:51.503Z] Login Succeeded [2022-09-27T21:21:51.503Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:21:51.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:21:52.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:21:52.049Z] Configure a credential helper to remove this warning. See [2022-09-27T21:21:52.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:21:52.049Z] [2022-09-27T21:21:52.049Z] Login Succeeded [2022-09-27T21:21:52.049Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:21:52.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:21:52.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:21:52.319Z] Configure a credential helper to remove this warning. See [2022-09-27T21:21:52.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:21:52.319Z] [2022-09-27T21:21:52.319Z] Login Succeeded [2022-09-27T21:21:52.319Z] docker.io [2022-09-27T21:21:52.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:21:53.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:21:53.182Z] Configure a credential helper to remove this warning. See [2022-09-27T21:21:53.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:21:53.182Z] [2022-09-27T21:21:53.182Z] Login Succeeded [2022-09-27T21:21:53.182Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:21:53.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:21:53.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:21:53.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:21:53.366Z] ========================================================= [2022-09-27T21:21:53.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T21:21:53.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:21:53.710Z] + 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-27T21:21:54.300Z] Sending build context to Docker daemon 14.2MB [2022-09-27T21:21:54.300Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:21:54.300Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T21:21:54.300Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T21:21:54.300Z] b3c136eddcbf: Pulling fs layer [2022-09-27T21:21:54.300Z] c0a3192eca97: Pulling fs layer [2022-09-27T21:21:54.300Z] a050256f5b6f: Pulling fs layer [2022-09-27T21:21:54.300Z] 656be50a0ddc: Pulling fs layer [2022-09-27T21:21:54.300Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T21:21:54.300Z] 46d945488cbd: Pulling fs layer [2022-09-27T21:21:54.300Z] 8a5474983e97: Pulling fs layer [2022-09-27T21:21:54.300Z] 329c88fbcd65: Pulling fs layer [2022-09-27T21:21:54.300Z] 46d945488cbd: Waiting [2022-09-27T21:21:54.300Z] 8a5474983e97: Waiting [2022-09-27T21:21:54.300Z] 656be50a0ddc: Waiting [2022-09-27T21:21:54.300Z] 2bbca73fdf42: Waiting [2022-09-27T21:21:54.300Z] 329c88fbcd65: Waiting [2022-09-27T21:21:54.300Z] a050256f5b6f: Verifying Checksum [2022-09-27T21:21:54.300Z] a050256f5b6f: Download complete [2022-09-27T21:21:54.300Z] c0a3192eca97: Verifying Checksum [2022-09-27T21:21:54.300Z] c0a3192eca97: Download complete [2022-09-27T21:21:54.300Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T21:21:54.300Z] 2bbca73fdf42: Download complete [2022-09-27T21:21:54.570Z] 46d945488cbd: Verifying Checksum [2022-09-27T21:21:54.570Z] 46d945488cbd: Download complete [2022-09-27T21:21:54.570Z] b3c136eddcbf: Verifying Checksum [2022-09-27T21:21:54.570Z] b3c136eddcbf: Download complete [2022-09-27T21:21:55.549Z] b3c136eddcbf: Pull complete [2022-09-27T21:21:55.549Z] 329c88fbcd65: Verifying Checksum [2022-09-27T21:21:55.549Z] 329c88fbcd65: Download complete [2022-09-27T21:21:55.824Z] c0a3192eca97: Pull complete [2022-09-27T21:21:56.416Z] a050256f5b6f: Pull complete [2022-09-27T21:21:56.688Z] 8a5474983e97: Verifying Checksum [2022-09-27T21:21:56.688Z] 8a5474983e97: Download complete [2022-09-27T21:21:57.278Z] 656be50a0ddc: Verifying Checksum [2022-09-27T21:21:57.278Z] 656be50a0ddc: Download complete [2022-09-27T21:22:09.616Z] 656be50a0ddc: Pull complete [2022-09-27T21:22:09.616Z] 2bbca73fdf42: Pull complete [2022-09-27T21:22:09.616Z] 46d945488cbd: Pull complete [2022-09-27T21:22:16.284Z] 8a5474983e97: Pull complete [2022-09-27T21:22:17.708Z] 329c88fbcd65: Pull complete [2022-09-27T21:22:17.708Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T21:22:17.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T21:22:17.708Z] ---> ff4287adb874 [2022-09-27T21:22:17.708Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T21:22:19.671Z] ---> Running in 122446fd4de6 [2022-09-27T21:22:19.940Z] Removing intermediate container 122446fd4de6 [2022-09-27T21:22:19.940Z] ---> a73e3e355dcd [2022-09-27T21:22:19.940Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:22:20.210Z] ---> Running in 07f06a99013e [2022-09-27T21:22:20.478Z] Removing intermediate container 07f06a99013e [2022-09-27T21:22:20.478Z] ---> 4b5aea2174c9 [2022-09-27T21:22:20.478Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:22:20.478Z] ---> Running in 8ca80c4c3932 [2022-09-27T21:22:20.749Z] Removing intermediate container 8ca80c4c3932 [2022-09-27T21:22:20.749Z] ---> 5409381a7432 [2022-09-27T21:22:20.749Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T21:22:21.021Z] ---> Running in 0a5767343baa [2022-09-27T21:22:21.302Z] Removing intermediate container 0a5767343baa [2022-09-27T21:22:21.302Z] ---> a10b93a34285 [2022-09-27T21:22:21.302Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:22:21.302Z] ---> Running in 39ce29d51395 [2022-09-27T21:22:24.654Z] Removing intermediate container 39ce29d51395 [2022-09-27T21:22:24.654Z] ---> 3375b53f1895 [2022-09-27T21:22:24.654Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:22:24.654Z] ---> Running in 9e1ca322b797 [2022-09-27T21:22:25.238Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:22:26.196Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:22:27.160Z] OK: 221 MiB in 51 packages [2022-09-27T21:22:28.122Z] Removing intermediate container 9e1ca322b797 [2022-09-27T21:22:28.122Z] ---> 64d3b76b66a5 [2022-09-27T21:22:28.122Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T21:22:28.122Z] ---> Running in 4d6fbad702ae [2022-09-27T21:22:28.390Z] Removing intermediate container 4d6fbad702ae [2022-09-27T21:22:28.390Z] ---> cdff60f0b1b5 [2022-09-27T21:22:28.390Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T21:22:28.658Z] ---> eaecc86014fc [2022-09-27T21:22:28.658Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:22:28.927Z] ---> Running in 82d6c93a9612 [2022-09-27T21:23:25.335Z] Removing intermediate container 82d6c93a9612 [2022-09-27T21:23:25.335Z] ---> d2a7da68add0 [2022-09-27T21:23:25.335Z] Step 12/13 : COPY . . [2022-09-27T21:23:25.335Z] ---> 39568e15cf69 [2022-09-27T21:23:25.335Z] Step 13/13 : RUN ${MAKE} [2022-09-27T21:23:25.335Z] ---> Running in a73270324e2e [2022-09-27T21:23:25.335Z] noop [2022-09-27T21:23:25.335Z] Removing intermediate container a73270324e2e [2022-09-27T21:23:25.335Z] ---> 8dea28711146 [2022-09-27T21:23:25.335Z] Successfully built 8dea28711146 [2022-09-27T21:23:25.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:23:25.682Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:23:25.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:23:25.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container [2022-09-27T21:23:25.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:23:27.147Z] $ docker top ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:23:27.977Z] + go version [2022-09-27T21:23:27.977Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T21:23:28.003Z] $ docker stop --time=1 ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 [2022-09-27T21:23:29.675Z] $ docker rm -f ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:23:30.234Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:23:30.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:23:30.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container [2022-09-27T21:23:30.488Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:23:31.683Z] $ docker top 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:23:32.509Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:23:32.836Z] + make test [2022-09-27T21:23:33.108Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T21:23:35.058Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T21:25:11.712Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T21:25:15.088Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.215s coverage: 28.2% of statements [2022-09-27T21:25:15.088Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T21:25:37.185Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.172s coverage: 86.5% of statements [2022-09-27T21:25:37.185Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T21:25:37.185Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:26:09.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:26:09.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:26:09.445Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:26:09.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:26:09.491Z] $ docker stop --time=1 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 [2022-09-27T21:26:11.492Z] $ docker rm -f 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:26:12.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:26:13.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:26:13.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:26:14.330Z] + ls -al . [2022-09-27T21:26:14.330Z] total 232 [2022-09-27T21:26:14.330Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:23 . [2022-09-27T21:26:14.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 .. [2022-09-27T21:26:14.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:21 .git [2022-09-27T21:26:14.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:21 .github [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 21:21 .gitignore [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 21:21 .golangci.yml [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 21:21 Attribution.txt [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 21:21 CHANGELOG.md [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 21:21 Dockerfile [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:21 GOVERNANCE.md [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 21:21 Jenkinsfile [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 21:21 LICENSE [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 21:21 Makefile [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 21:21 OWNERS.md [2022-09-27T21:26:14.330Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 21:21 README.md [2022-09-27T21:26:14.331Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:19 VERSION [2022-09-27T21:26:14.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:21 bin [2022-09-27T21:26:14.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:21 cmd [2022-09-27T21:26:14.331Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 21:25 coverage.out [2022-09-27T21:26:14.331Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 21:21 doc [2022-09-27T21:26:14.331Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 21:21 go.mod [2022-09-27T21:26:14.331Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 21:21 go.sum [2022-09-27T21:26:14.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 internal [2022-09-27T21:26:14.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 snap [2022-09-27T21:26:14.331Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:26:14.696Z] + 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=507d6b9fe01fe487c783864e4ed4aa7553d0a326 --label arch=arm64 --label version=0.0.0 . [2022-09-27T21:26:15.285Z] Sending build context to Docker daemon 14.28MB [2022-09-27T21:26:15.285Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:26:15.285Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T21:26:15.285Z] ---> 8dea28711146 [2022-09-27T21:26:15.285Z] Step 3/26 : ARG MAKE="make build" [2022-09-27T21:26:15.285Z] ---> Running in 7dc787fa9688 [2022-09-27T21:26:15.871Z] Removing intermediate container 7dc787fa9688 [2022-09-27T21:26:15.871Z] ---> 79a1c757f4cf [2022-09-27T21:26:15.871Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:26:15.871Z] ---> Running in cce24997315a [2022-09-27T21:26:16.138Z] Removing intermediate container cce24997315a [2022-09-27T21:26:16.138Z] ---> ab55af6d0824 [2022-09-27T21:26:16.138Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:26:16.138Z] ---> Running in f9f251216336 [2022-09-27T21:26:16.727Z] Removing intermediate container f9f251216336 [2022-09-27T21:26:16.727Z] ---> 4d4edea21c1e [2022-09-27T21:26:16.727Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-27T21:26:16.727Z] ---> Running in d74a7a806863 [2022-09-27T21:26:16.997Z] Removing intermediate container d74a7a806863 [2022-09-27T21:26:16.998Z] ---> 795fac1be8c0 [2022-09-27T21:26:16.998Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:26:17.266Z] ---> Running in 70d967597a18 [2022-09-27T21:26:19.224Z] Removing intermediate container 70d967597a18 [2022-09-27T21:26:19.224Z] ---> de73403f76ca [2022-09-27T21:26:19.224Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:26:19.224Z] ---> Running in fc8bd761f382 [2022-09-27T21:26:20.189Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:26:21.153Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:26:22.117Z] OK: 221 MiB in 51 packages [2022-09-27T21:26:23.095Z] Removing intermediate container fc8bd761f382 [2022-09-27T21:26:23.095Z] ---> 1180dd9e2d68 [2022-09-27T21:26:23.095Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-27T21:26:23.362Z] ---> Running in 639acfffb998 [2022-09-27T21:26:23.630Z] Removing intermediate container 639acfffb998 [2022-09-27T21:26:23.630Z] ---> 50312964c72b [2022-09-27T21:26:23.630Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T21:26:24.212Z] ---> 940969cc5ed8 [2022-09-27T21:26:24.212Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:26:24.212Z] ---> Running in 5c63ffabbaff [2022-09-27T21:26:29.587Z] Removing intermediate container 5c63ffabbaff [2022-09-27T21:26:29.587Z] ---> 1225896e6376 [2022-09-27T21:26:29.587Z] Step 12/26 : COPY . . [2022-09-27T21:26:32.173Z] ---> cb85d1d6182d [2022-09-27T21:26:32.173Z] Step 13/26 : RUN ${MAKE} [2022-09-27T21:26:32.173Z] ---> Running in c47191e6a584 [2022-09-27T21:26:33.588Z] 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-27T21:29:11.031Z] Removing intermediate container c47191e6a584 [2022-09-27T21:29:11.031Z] ---> b161268b7f8e [2022-09-27T21:29:11.031Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T21:29:11.031Z] 3.16: Pulling from library/alpine [2022-09-27T21:29:11.031Z] 9b18e9b68314: Pulling fs layer [2022-09-27T21:29:11.031Z] 9b18e9b68314: Verifying Checksum [2022-09-27T21:29:11.031Z] 9b18e9b68314: Download complete [2022-09-27T21:29:11.031Z] 9b18e9b68314: Pull complete [2022-09-27T21:29:11.031Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T21:29:11.031Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T21:29:11.031Z] ---> a6215f271958 [2022-09-27T21:29:11.031Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T21:29:11.031Z] ---> Running in 945b7554a469 [2022-09-27T21:29:11.031Z] Removing intermediate container 945b7554a469 [2022-09-27T21:29:11.031Z] ---> 9325432c441a [2022-09-27T21:29:11.031Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:29:11.031Z] ---> Running in 797c6ee424f8 [2022-09-27T21:29:11.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:29:11.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:29:11.031Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:29:11.031Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T21:29:11.031Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:29:11.031Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T21:29:11.031Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:29:11.031Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:29:11.032Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T21:29:11.032Z] OK: 8 MiB in 20 packages [2022-09-27T21:29:11.032Z] Removing intermediate container 797c6ee424f8 [2022-09-27T21:29:11.032Z] ---> 50959a787562 [2022-09-27T21:29:11.032Z] Step 17/26 : WORKDIR / [2022-09-27T21:29:11.032Z] ---> Running in 70142200f9a5 [2022-09-27T21:29:11.032Z] Removing intermediate container 70142200f9a5 [2022-09-27T21:29:11.032Z] ---> ea293f6be410 [2022-09-27T21:29:11.032Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T21:29:11.032Z] ---> df384e6ebb4a [2022-09-27T21:29:11.032Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T21:29:11.032Z] ---> 49cf9a38c518 [2022-09-27T21:29:11.032Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T21:29:11.296Z] ---> 1b59aa7b7f8c [2022-09-27T21:29:11.296Z] Step 21/26 : EXPOSE 59984 [2022-09-27T21:29:11.296Z] ---> Running in cb85a07131f5 [2022-09-27T21:29:11.562Z] Removing intermediate container cb85a07131f5 [2022-09-27T21:29:11.562Z] ---> a9696f47d5be [2022-09-27T21:29:11.562Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T21:29:11.562Z] ---> Running in 23628ff3f845 [2022-09-27T21:29:11.827Z] Removing intermediate container 23628ff3f845 [2022-09-27T21:29:11.827Z] ---> 2b526dcb2d13 [2022-09-27T21:29:11.827Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:29:12.093Z] ---> Running in d130592e46d4 [2022-09-27T21:29:12.093Z] Removing intermediate container d130592e46d4 [2022-09-27T21:29:12.093Z] ---> 50309037508f [2022-09-27T21:29:12.093Z] Step 24/26 : LABEL arch=arm64 [2022-09-27T21:29:12.358Z] ---> Running in 910d516f6ee9 [2022-09-27T21:29:12.623Z] Removing intermediate container 910d516f6ee9 [2022-09-27T21:29:12.623Z] ---> d8875b431aae [2022-09-27T21:29:12.623Z] Step 25/26 : LABEL git_sha=507d6b9fe01fe487c783864e4ed4aa7553d0a326 [2022-09-27T21:29:12.623Z] ---> Running in b576a946fb51 [2022-09-27T21:29:12.889Z] Removing intermediate container b576a946fb51 [2022-09-27T21:29:12.889Z] ---> 1811aec194c2 [2022-09-27T21:29:12.889Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T21:29:12.889Z] ---> Running in a58ada6f4590 [2022-09-27T21:29:13.154Z] Removing intermediate container a58ada6f4590 [2022-09-27T21:29:13.154Z] ---> fa8d7442b3dc [2022-09-27T21:29:13.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:29:13.154Z] Successfully built fa8d7442b3dc [2022-09-27T21:29:13.154Z] 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-27T21:29:13.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:29:13.580Z] [2022-09-27T21:29:13.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:29:13.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:29:13.907Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T21:29:13.907Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T21:29:13.907Z] 04944245beec: Pulling fs layer [2022-09-27T21:29:13.907Z] 699f458cf7ca: Pulling fs layer [2022-09-27T21:29:13.907Z] 765212b225bb: Pulling fs layer [2022-09-27T21:29:13.907Z] f23df028b6ca: Pulling fs layer [2022-09-27T21:29:13.907Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T21:29:13.907Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T21:29:13.907Z] 765212b225bb: Waiting [2022-09-27T21:29:13.907Z] f23df028b6ca: Waiting [2022-09-27T21:29:13.907Z] d65c8cfc05b1: Waiting [2022-09-27T21:29:14.175Z] 04944245beec: Verifying Checksum [2022-09-27T21:29:14.175Z] 04944245beec: Download complete [2022-09-27T21:29:14.175Z] 765212b225bb: Download complete [2022-09-27T21:29:14.175Z] f23df028b6ca: Verifying Checksum [2022-09-27T21:29:14.175Z] f23df028b6ca: Download complete [2022-09-27T21:29:14.175Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T21:29:14.175Z] d65c8cfc05b1: Download complete [2022-09-27T21:29:14.175Z] 699f458cf7ca: Verifying Checksum [2022-09-27T21:29:14.175Z] 699f458cf7ca: Download complete [2022-09-27T21:29:14.755Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T21:29:14.755Z] 8998bd30e6a1: Download complete [2022-09-27T21:29:16.721Z] 2437ff75d9bd: Download complete [2022-09-27T21:29:18.126Z] 8998bd30e6a1: Pull complete [2022-09-27T21:29:18.707Z] 04944245beec: Pull complete [2022-09-27T21:29:20.111Z] 699f458cf7ca: Pull complete [2022-09-27T21:29:20.111Z] 765212b225bb: Pull complete [2022-09-27T21:29:20.694Z] f23df028b6ca: Pull complete [2022-09-27T21:29:20.959Z] d65c8cfc05b1: Pull complete [2022-09-27T21:29:35.936Z] 2437ff75d9bd: Pull complete [2022-09-27T21:29:35.936Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T21:29:35.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:29:35.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:29:36.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container [2022-09-27T21:29:36.201Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T21:29:38.744Z] $ docker top e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:39.554Z] ---> job-cost.sh [2022-09-27T21:29:39.555Z] lf-activate-venv: SKIPPING [2022-09-27T21:29:39.555Z] INFO: No Stack... [2022-09-27T21:29:40.136Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T21:29:40.719Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:29:41.042Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-09-27T21:29:41.042Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:29:41.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [2022-09-27T21:29:41.345Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] did not exist. Created. [2022-09-27T21:29:41.345Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:29:41.682Z] /w/workspace/device-onvif-camera/6@tmp/durable-6e218f6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T21:29:42.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T21:29:42.041Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T21:29:42.094Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:29:42.100Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:29:42.136Z] $ docker stop --time=1 e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 [2022-09-27T21:29:43.794Z] $ docker rm -f e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-27T21:29:44.661Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] [2022-09-27T21:29:44.661Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T21:29:44.662Z] total 16 [2022-09-27T21:29:44.662Z] drwxr-xr-x 3 root root 4096 Sep 27 21:20 . [2022-09-27T21:29:44.662Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:20 .. [2022-09-27T21:29:44.662Z] drwxr-xr-x 2 root root 4096 Sep 27 21:20 cost [2022-09-27T21:29:44.662Z] -rw-r--r-- 1 root root 91 Sep 27 21:20 cost.csv [2022-09-27T21:29:44.662Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T21:29:44.662Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T21:29:44.662Z] total 16 [2022-09-27T21:29:44.662Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:20 . [2022-09-27T21:29:44.662Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:20 .. [2022-09-27T21:29:44.662Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:20 cost [2022-09-27T21:29:44.662Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 27 21:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:44.952Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:45.810Z] ---> package-listing.sh [2022-09-27T21:29:45.810Z] ++ facter osfamily [2022-09-27T21:29:45.810Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T21:29:46.071Z] + OS_FAMILY=debian [2022-09-27T21:29:46.071Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-153 [2022-09-27T21:29:46.071Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T21:29:46.071Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T21:29:46.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T21:29:46.071Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T21:29:46.071Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T21:29:46.071Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T21:29:46.071Z] + case "${OS_FAMILY}" in [2022-09-27T21:29:46.071Z] + dpkg -l [2022-09-27T21:29:46.071Z] + grep '^ii' [2022-09-27T21:29:46.071Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T21:29:46.071Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T21:29:46.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T21:29:46.071Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T21:29:46.071Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ [2022-09-27T21:29:46.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo [2022-09-27T21:29:46.081Z] 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T21:29:46.358Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:29:46.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:29:46.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:29:46.985Z] prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container [2022-09-27T21:29:47.022Z] $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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-27T21:29:47.282Z] $ docker top 5149e33baa760c8e56de7e0bb35bc4de8b7fbf96476fe7b0a69fb7765c7580d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:29:47.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T21:29:47.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T21:29:48.189Z] + ls /var/log/sa-host [2022-09-27T21:29:48.189Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:29:48.257Z] provisioning config files... [2022-09-27T21:29:48.266Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config18302200202607367175tmp [Pipeline] { [Pipeline] echo [2022-09-27T21:29:48.277Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:48.560Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T21:29:48.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:48.908Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T21:29:48.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:49.211Z] ---> sudo-logs.sh [2022-09-27T21:29:49.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T21:29:49.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:49.529Z] ---> job-cost.sh [2022-09-27T21:29:49.529Z] lf-activate-venv: SKIPPING [2022-09-27T21:29:49.529Z] DEBUG: total: 0.2199999988079071 [2022-09-27T21:29:49.529Z] INFO: Retrieving Stack Cost... [2022-09-27T21:29:50.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:29:50.357Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T21:29:50.369Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:29:50.656Z] ---> logs-deploy.sh [2022-09-27T21:29:50.656Z] lf-activate-venv: SKIPPING [2022-09-27T21:29:50.656Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/6 [2022-09-27T21:29:50.656Z] INFO: archiving workspace using pattern(s): [2022-09-27T21:29:51.595Z] Archives upload complete. [2022-09-27T21:29:51.595Z] INFO: archiving logs to Nexus