Branch indexing 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-ssh6090363029930407272.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-ssh17061479021204745230.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-ssh3040576241237819239.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-ssh2578974474867072335.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-ssh16739853086706510882.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-1280 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 8356ddb591ab8c61522897e5c7e34dfacabe037b Checking out Revision 8356ddb591ab8c61522897e5c7e34dfacabe037b (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 8356ddb591ab8c61522897e5c7e34dfacabe037b # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T02:11:06.221Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T02:11:06.276Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T02:11:06.291Z] ========================================================= [2022-09-27T02:11:06.291Z] EdgeX Global Pipelines Version Info [2022-09-27T02:11:06.291Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:07.010Z] ------------------- [2022-09-27T02:11:07.010Z] stable info: [2022-09-27T02:11:07.010Z] ------------------- [2022-09-27T02:11:07.010Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T02:11:07.010Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T02:11:07.010Z] Message: update stable to v1.0.239 > git rev-list --no-walk f43f3e7f803e7c8ac421823274e1992d92a8e402 # timeout=10 [2022-09-27T02:11:07.580Z] ------------------- [2022-09-27T02:11:07.580Z] experimental info: [2022-09-27T02:11:07.580Z] ------------------- [2022-09-27T02:11:07.580Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T02:11:07.580Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T02:11:07.580Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T02:11:07.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-27T02:11:07.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-27T02:11:07.764Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T02:11:07.773Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T02:11:07.781Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T02:11:07.790Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T02:11:07.802Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T02:11:07.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T02:11:07.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T02:11:07.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T02:11:07.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T02:11:07.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-27T02:11:07.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T02:11:07.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T02:11:07.881Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T02:11:07.889Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T02:11:07.896Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T02:11:07.904Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T02:11:07.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T02:11:07.925Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T02:11:07.939Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T02:11:07.959Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-27T02:11:07.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T02:11:07.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T02:11:07.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T02:11:08.011Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T02:11:08.026Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T02:11:08.044Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-09-27T02:11:08.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-09-27T02:11:08.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-09-27T02:11:08.089Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo [2022-09-27T02:11:08.106Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8356ddb [Pipeline] echo [2022-09-27T02:11:08.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:11:08.164Z] provisioning config files... [2022-09-27T02:11:08.180Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4027659530698049917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:08.493Z] ---> docker-login.sh [2022-09-27T02:11:08.493Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:11:08.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:08.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:08.755Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:08.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:08.755Z] [2022-09-27T02:11:08.755Z] Login Succeeded [2022-09-27T02:11:08.755Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:11:09.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:09.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:09.015Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:09.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:09.015Z] [2022-09-27T02:11:09.015Z] Login Succeeded [2022-09-27T02:11:09.015Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:11:09.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:09.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:09.015Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:09.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:09.015Z] [2022-09-27T02:11:09.015Z] Login Succeeded [2022-09-27T02:11:09.015Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:11:09.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:09.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:09.276Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:09.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:09.276Z] [2022-09-27T02:11:09.276Z] Login Succeeded [2022-09-27T02:11:09.276Z] docker.io [2022-09-27T02:11:09.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:09.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:09.536Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:09.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:09.536Z] [2022-09-27T02:11:09.536Z] Login Succeeded [2022-09-27T02:11:09.536Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:11:09.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T02:11:09.922Z] + git rev-list -1 --merges 8356ddb591ab8c61522897e5c7e34dfacabe037b~1..8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo [2022-09-27T02:11:09.947Z] -----------> git rev-list -1 --merges 8356ddb591ab8c61522897e5c7e34dfacabe037b~1..8356ddb591ab8c61522897e5c7e34dfacabe037b 8356ddb591ab8c61522897e5c7e34dfacabe037b [2022-09-27T02:11:09.948Z] 8356ddb591ab8c61522897e5c7e34dfacabe037b [false] [Pipeline] sh [2022-09-27T02:11:10.235Z] + git log --format=format:%s -1 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo [2022-09-27T02:11:10.250Z] ========================================================= [2022-09-27T02:11:10.250Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T02:11:10.250Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:11:10.580Z] + git log --format=format:%s -1 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo [2022-09-27T02:11:10.591Z] [semverPrep] GIT_COMMIT: 8356ddb591ab8c61522897e5c7e34dfacabe037b, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo [2022-09-27T02:11:10.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T02:11:10.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T02:11:10.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T02:11:10.955Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T02:11:10.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T02:11:10.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T02:11:10.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T02:11:10.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:11:11.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:11.365Z] [2022-09-27T02:11:11.365Z] 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-27T02:11:11.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:11.673Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T02:11:11.673Z] b85a868b505f: Pulling fs layer [2022-09-27T02:11:11.673Z] e2be974225ed: Pulling fs layer [2022-09-27T02:11:11.673Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T02:11:11.673Z] 988bab9f4d93: Pulling fs layer [2022-09-27T02:11:11.673Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T02:11:11.673Z] eaf3925da568: Pulling fs layer [2022-09-27T02:11:11.673Z] bab4dde63d76: Pulling fs layer [2022-09-27T02:11:11.673Z] bde34c3a00c8: Pulling fs layer [2022-09-27T02:11:11.673Z] b352a97aabf1: Pulling fs layer [2022-09-27T02:11:11.673Z] 4872d77fe225: Pulling fs layer [2022-09-27T02:11:11.673Z] 5851b861e8e6: Pulling fs layer [2022-09-27T02:11:11.673Z] bab4dde63d76: Waiting [2022-09-27T02:11:11.673Z] bde34c3a00c8: Waiting [2022-09-27T02:11:11.673Z] b352a97aabf1: Waiting [2022-09-27T02:11:11.673Z] 5851b861e8e6: Waiting [2022-09-27T02:11:11.673Z] 4872d77fe225: Waiting [2022-09-27T02:11:11.673Z] 988bab9f4d93: Waiting [2022-09-27T02:11:11.673Z] 1469e6f7b9e6: Waiting [2022-09-27T02:11:11.673Z] eaf3925da568: Waiting [2022-09-27T02:11:11.673Z] e2be974225ed: Download complete [2022-09-27T02:11:11.673Z] 988bab9f4d93: Verifying Checksum [2022-09-27T02:11:11.673Z] 988bab9f4d93: Download complete [2022-09-27T02:11:11.940Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T02:11:11.940Z] 339a4e72a1f5: Download complete [2022-09-27T02:11:11.940Z] eaf3925da568: Verifying Checksum [2022-09-27T02:11:11.940Z] eaf3925da568: Download complete [2022-09-27T02:11:11.940Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T02:11:11.940Z] 1469e6f7b9e6: Download complete [2022-09-27T02:11:11.940Z] bde34c3a00c8: Verifying Checksum [2022-09-27T02:11:11.940Z] bde34c3a00c8: Download complete [2022-09-27T02:11:11.940Z] b352a97aabf1: Download complete [2022-09-27T02:11:11.940Z] b85a868b505f: Verifying Checksum [2022-09-27T02:11:11.940Z] b85a868b505f: Download complete [2022-09-27T02:11:11.940Z] 4872d77fe225: Download complete [2022-09-27T02:11:11.940Z] 5851b861e8e6: Verifying Checksum [2022-09-27T02:11:11.940Z] 5851b861e8e6: Download complete [2022-09-27T02:11:12.519Z] bab4dde63d76: Verifying Checksum [2022-09-27T02:11:12.519Z] bab4dde63d76: Download complete [2022-09-27T02:11:13.458Z] b85a868b505f: Pull complete [2022-09-27T02:11:13.458Z] e2be974225ed: Pull complete [2022-09-27T02:11:14.028Z] 339a4e72a1f5: Pull complete [2022-09-27T02:11:14.028Z] 988bab9f4d93: Pull complete [2022-09-27T02:11:14.294Z] 1469e6f7b9e6: Pull complete [2022-09-27T02:11:14.295Z] eaf3925da568: Pull complete [2022-09-27T02:11:16.200Z] bab4dde63d76: Pull complete [2022-09-27T02:11:16.200Z] bde34c3a00c8: Pull complete [2022-09-27T02:11:16.460Z] b352a97aabf1: Pull complete [2022-09-27T02:11:16.460Z] 4872d77fe225: Pull complete [2022-09-27T02:11:16.460Z] 5851b861e8e6: Pull complete [2022-09-27T02:11:16.720Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T02:11:16.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T02:11:16.720Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:11:16.872Z] prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container [2022-09-27T02:11:16.902Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T02:11:18.251Z] $ docker top dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f -eo pid,comm [2022-09-27T02:11:18.317Z] 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-27T02:11:18.317Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T02:11:18.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T02:11:18.343Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T02:11:18.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T02:11:18.461Z] $ docker exec dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent [2022-09-27T02:11:18.576Z] SSH_AUTH_SOCK=/tmp/ssh-xN6qglT0cL7e/agent.33 [2022-09-27T02:11:18.576Z] SSH_AGENT_PID=39 [2022-09-27T02:11:18.582Z] Running ssh-add (command line suppressed) [2022-09-27T02:11:18.697Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_438868625270042220.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_438868625270042220.key) [2022-09-27T02:11:18.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T02:11:19.020Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T02:11:19.033Z] $ docker exec --env ******** --env ******** dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent -k [2022-09-27T02:11:19.135Z] unset SSH_AUTH_SOCK; [2022-09-27T02:11:19.136Z] unset SSH_AGENT_PID; [2022-09-27T02:11:19.136Z] echo Agent pid 39 killed; [2022-09-27T02:11:19.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T02:11:19.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T02:11:19.179Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T02:11:19.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T02:11:19.300Z] $ docker exec dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent [2022-09-27T02:11:19.416Z] SSH_AUTH_SOCK=/tmp/ssh-pPUBtuZCHWpy/agent.72 [2022-09-27T02:11:19.416Z] SSH_AGENT_PID=78 [2022-09-27T02:11:19.425Z] Running ssh-add (command line suppressed) [2022-09-27T02:11:19.524Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_614980698844979823.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_614980698844979823.key) [2022-09-27T02:11:19.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T02:11:19.821Z] + git semver init [2022-09-27T02:11:20.081Z] 2022-09-27 02:11:19,992 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T02:11:20.081Z] 2022-09-27 02:11:19,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-27T02:11:20.081Z] 2022-09-27 02:11:19,994 [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-27T02:11:20.081Z] 2022-09-27 02:11:19,994 [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-27T02:11:21.019Z] 2022-09-27 02:11:20,932 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude [2022-09-27T02:11:21.019Z] 2022-09-27 02:11:20,932 [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-27T02:11:21.019Z] 2022-09-27 02:11:20,933 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T02:11:21.019Z] 2022-09-27 02:11:20,936 [execute] INFO git cat-file --batch-check [2022-09-27T02:11:21.019Z] 2022-09-27 02:11:20,936 [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-27T02:11:21.019Z] 2022-09-27 02:11:20,942 [execute] INFO git cat-file --batch [2022-09-27T02:11:21.019Z] 2022-09-27 02:11:20,942 [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-27T02:11:21.019Z] 2022-09-27 02:11:20,946 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T02:11:21.019Z] 0.0.0 [Pipeline] } [2022-09-27T02:11:21.026Z] $ docker exec --env ******** --env ******** dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent -k [2022-09-27T02:11:21.124Z] unset SSH_AUTH_SOCK; [2022-09-27T02:11:21.125Z] unset SSH_AGENT_PID; [2022-09-27T02:11:21.125Z] echo Agent pid 78 killed; [2022-09-27T02:11:21.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T02:11:21.439Z] + git semver [Pipeline] } [2022-09-27T02:11:21.708Z] $ docker stop --time=1 dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f [2022-09-27T02:11:23.092Z] $ docker rm -f dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T02:11:23.453Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T02:11:23.621Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T02:11:23.623Z] [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-27T02:11:23.762Z] provisioning config files... [2022-09-27T02:11:23.771Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config8265507324812036781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:11:24.064Z] ---> docker-login.sh [2022-09-27T02:11:24.064Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:11:24.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:24.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:24.064Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:24.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:24.064Z] [2022-09-27T02:11:24.064Z] Login Succeeded [2022-09-27T02:11:24.064Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:11:24.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:24.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:24.322Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:24.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:24.322Z] [2022-09-27T02:11:24.322Z] Login Succeeded [2022-09-27T02:11:24.322Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:11:24.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:24.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:24.322Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:24.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:24.322Z] [2022-09-27T02:11:24.322Z] Login Succeeded [2022-09-27T02:11:24.322Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:11:24.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:24.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:24.322Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:24.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:24.322Z] [2022-09-27T02:11:24.322Z] Login Succeeded [2022-09-27T02:11:24.322Z] docker.io [2022-09-27T02:11:24.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:11:24.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:11:24.847Z] Configure a credential helper to remove this warning. See [2022-09-27T02:11:24.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:11:24.847Z] [2022-09-27T02:11:24.847Z] Login Succeeded [2022-09-27T02:11:24.847Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:11:24.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T02:11:24.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:11:24.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:11:24.954Z] ========================================================= [2022-09-27T02:11:24.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T02:11:24.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:11:25.284Z] + 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-27T02:11:25.284Z] Sending build context to Docker daemon 20.74MB [2022-09-27T02:11:25.284Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:11:25.284Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T02:11:25.545Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T02:11:25.545Z] 2408cc74d12b: Pulling fs layer [2022-09-27T02:11:25.545Z] ea60b727a1ce: Pulling fs layer [2022-09-27T02:11:25.545Z] 30c4a7721957: Pulling fs layer [2022-09-27T02:11:25.545Z] 370296b7ddb6: Pulling fs layer [2022-09-27T02:11:25.545Z] 7c6cee850709: Pulling fs layer [2022-09-27T02:11:25.545Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T02:11:25.545Z] d94ebbe4e438: Pulling fs layer [2022-09-27T02:11:25.545Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T02:11:25.545Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T02:11:25.545Z] 7c6cee850709: Waiting [2022-09-27T02:11:25.545Z] d94ebbe4e438: Waiting [2022-09-27T02:11:25.545Z] 370296b7ddb6: Waiting [2022-09-27T02:11:25.545Z] 39a5fcdaea64: Waiting [2022-09-27T02:11:25.545Z] bcfd1f05c69d: Waiting [2022-09-27T02:11:25.545Z] 59ccb84bbe0f: Waiting [2022-09-27T02:11:25.545Z] 30c4a7721957: Verifying Checksum [2022-09-27T02:11:25.545Z] 30c4a7721957: Download complete [2022-09-27T02:11:25.545Z] ea60b727a1ce: Verifying Checksum [2022-09-27T02:11:25.545Z] ea60b727a1ce: Download complete [2022-09-27T02:11:25.545Z] 7c6cee850709: Verifying Checksum [2022-09-27T02:11:25.545Z] 7c6cee850709: Download complete [2022-09-27T02:11:25.545Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T02:11:25.545Z] 39a5fcdaea64: Download complete [2022-09-27T02:11:25.545Z] 2408cc74d12b: Verifying Checksum [2022-09-27T02:11:25.545Z] 2408cc74d12b: Download complete [2022-09-27T02:11:25.545Z] d94ebbe4e438: Verifying Checksum [2022-09-27T02:11:25.545Z] d94ebbe4e438: Download complete [2022-09-27T02:11:25.813Z] 2408cc74d12b: Pull complete [2022-09-27T02:11:25.813Z] ea60b727a1ce: Pull complete [2022-09-27T02:11:25.813Z] 30c4a7721957: Pull complete [2022-09-27T02:11:26.393Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T02:11:26.393Z] bcfd1f05c69d: Download complete [2022-09-27T02:11:26.393Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T02:11:26.393Z] 59ccb84bbe0f: Download complete [2022-09-27T02:11:26.393Z] 370296b7ddb6: Verifying Checksum [2022-09-27T02:11:26.393Z] 370296b7ddb6: Download complete [2022-09-27T02:11:30.607Z] 370296b7ddb6: Pull complete [2022-09-27T02:11:30.607Z] 7c6cee850709: Pull complete [2022-09-27T02:11:30.607Z] 39a5fcdaea64: Pull complete [2022-09-27T02:11:30.607Z] d94ebbe4e438: Pull complete [2022-09-27T02:11:33.167Z] bcfd1f05c69d: Pull complete [2022-09-27T02:11:33.438Z] 59ccb84bbe0f: Pull complete [2022-09-27T02:11:33.438Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T02:11:33.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T02:11:33.438Z] ---> a4fb48ad2a94 [2022-09-27T02:11:33.438Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T02:11:35.353Z] ---> Running in 5990af0c22da [2022-09-27T02:11:35.353Z] Removing intermediate container 5990af0c22da [2022-09-27T02:11:35.353Z] ---> 31d71e08b3bc [2022-09-27T02:11:35.353Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:11:35.353Z] ---> Running in 964e7751255a [2022-09-27T02:11:35.353Z] Removing intermediate container 964e7751255a [2022-09-27T02:11:35.353Z] ---> d29f25562816 [2022-09-27T02:11:35.353Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:11:35.353Z] ---> Running in 6a15d0df56d4 [2022-09-27T02:11:35.353Z] Removing intermediate container 6a15d0df56d4 [2022-09-27T02:11:35.353Z] ---> 55d529ef110c [2022-09-27T02:11:35.354Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:11:35.617Z] ---> Running in f6e3acfa441d [2022-09-27T02:11:35.617Z] Removing intermediate container f6e3acfa441d [2022-09-27T02:11:35.617Z] ---> 21f43904176f [2022-09-27T02:11:35.617Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:11:35.617Z] ---> Running in 76619f4357c0 [2022-09-27T02:11:36.186Z] Removing intermediate container 76619f4357c0 [2022-09-27T02:11:36.186Z] ---> 1c96d6c9bf8f [2022-09-27T02:11:36.186Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:11:36.186Z] ---> Running in dedcee6d84ce [2022-09-27T02:11:36.450Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T02:11:37.385Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T02:11:37.644Z] OK: 211 MiB in 51 packages [2022-09-27T02:11:37.903Z] Removing intermediate container dedcee6d84ce [2022-09-27T02:11:37.903Z] ---> 05972bc99402 [2022-09-27T02:11:37.903Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T02:11:37.903Z] ---> Running in 8a1c0a0634b4 [2022-09-27T02:11:38.160Z] Removing intermediate container 8a1c0a0634b4 [2022-09-27T02:11:38.160Z] ---> 7579a78660ad [2022-09-27T02:11:38.160Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T02:11:38.160Z] ---> 9a09b7422107 [2022-09-27T02:11:38.160Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:11:38.160Z] ---> Running in 89a48621b1a4 [2022-09-27T02:11:38.721Z] Still waiting to schedule task [2022-09-27T02:11:38.721Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T02:12:00.092Z] Removing intermediate container 89a48621b1a4 [2022-09-27T02:12:00.092Z] ---> 74fe5e9b1dd9 [2022-09-27T02:12:00.092Z] Step 12/13 : COPY . . [2022-09-27T02:12:00.092Z] ---> 1a5105f13e3e [2022-09-27T02:12:00.092Z] Step 13/13 : RUN ${MAKE} [2022-09-27T02:12:00.092Z] ---> Running in ca60d72649bb [2022-09-27T02:12:00.092Z] noop [2022-09-27T02:12:00.092Z] Removing intermediate container ca60d72649bb [2022-09-27T02:12:00.092Z] ---> f8cea7d4d032 [2022-09-27T02:12:00.092Z] Successfully built f8cea7d4d032 [2022-09-27T02:12:00.092Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:00.391Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T02:12:00.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:12:00.920Z] prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container [2022-09-27T02:12:00.950Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-27T02:12:01.358Z] $ docker top b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:12:01.699Z] + go version [2022-09-27T02:12:01.699Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T02:12:01.712Z] $ docker stop --time=1 b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f [2022-09-27T02:12:02.989Z] $ docker rm -f b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:03.386Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T02:12:03.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:12:03.455Z] prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container [2022-09-27T02:12:03.487Z] $ 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 ******** ci-base-image-x86_64 cat [2022-09-27T02:12:03.838Z] $ docker top c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:12:04.180Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh [2022-09-27T02:12:04.478Z] + make test [2022-09-27T02:12:04.478Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T02:12:04.737Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T02:12:16.932Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T02:12:16.932Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-09-27T02:12:16.932Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T02:12:16.932Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.455s coverage: 86.5% of statements [2022-09-27T02:12:25.039Z] 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-27T02:12:25.039Z] internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) [2022-09-27T02:12:25.039Z] uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" [2022-09-27T02:12:25.039Z] ^ [2022-09-27T02:12:25.040Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-09-27T02:12:25.054Z] $ docker stop --time=1 c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d [2022-09-27T02:12:26.729Z] $ docker rm -f c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d [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-27T02:12:27.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:12:27.279Z] [2022-09-27T02:12:27.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:12:27.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:12:27.576Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T02:12:27.576Z] 5eb5b503b376: Pulling fs layer [2022-09-27T02:12:27.576Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T02:12:27.576Z] ec43610c2a17: Pulling fs layer [2022-09-27T02:12:27.576Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T02:12:27.576Z] 33b1e0a273af: Pulling fs layer [2022-09-27T02:12:27.576Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T02:12:27.576Z] 2f39f015ded8: Pulling fs layer [2022-09-27T02:12:27.576Z] 33b1e0a273af: Waiting [2022-09-27T02:12:27.576Z] 5d3b04190fa2: Waiting [2022-09-27T02:12:27.576Z] 2f39f015ded8: Waiting [2022-09-27T02:12:27.576Z] 3a2ae6a8a46f: Waiting [2022-09-27T02:12:27.576Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T02:12:27.576Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T02:12:27.576Z] 3a2ae6a8a46f: Download complete [2022-09-27T02:12:27.576Z] 33b1e0a273af: Verifying Checksum [2022-09-27T02:12:27.576Z] 33b1e0a273af: Download complete [2022-09-27T02:12:27.836Z] 5d3b04190fa2: Download complete [2022-09-27T02:12:27.836Z] ec43610c2a17: Verifying Checksum [2022-09-27T02:12:27.836Z] ec43610c2a17: Download complete [2022-09-27T02:12:27.836Z] 5eb5b503b376: Download complete [2022-09-27T02:12:28.403Z] 2f39f015ded8: Download complete [2022-09-27T02:12:28.969Z] 5eb5b503b376: Pull complete [2022-09-27T02:12:29.226Z] 5c69ac0246d0: Pull complete [2022-09-27T02:12:29.792Z] ec43610c2a17: Pull complete [2022-09-27T02:12:29.792Z] 3a2ae6a8a46f: Pull complete [2022-09-27T02:12:30.050Z] 33b1e0a273af: Pull complete [2022-09-27T02:12:30.050Z] 5d3b04190fa2: Pull complete [2022-09-27T02:12:34.236Z] 2f39f015ded8: Pull complete [2022-09-27T02:12:34.236Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T02:12:34.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:12:34.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:12:34.322Z] prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container [2022-09-27T02:12:34.352Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T02:12:35.787Z] $ docker top c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:12:36.189Z] ---> job-cost.sh [2022-09-27T02:12:36.189Z] lf-activate-venv: SKIPPING [2022-09-27T02:12:36.189Z] INFO: No Stack... [2022-09-27T02:12:36.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T02:12:37.020Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T02:12:37.309Z] + cat+ /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv [2022-09-27T02:12:37.309Z] cut -d, -f6 [Pipeline] lock [2022-09-27T02:12:37.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [2022-09-27T02:12:37.329Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] did not exist. Created. [2022-09-27T02:12:37.329Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T02:12:37.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T02:12:37.674Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T02:12:37.681Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T02:12:37.698Z] $ docker stop --time=1 c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf [2022-09-27T02:12:38.898Z] $ docker rm -f c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T02:12:38.982Z] Failed in branch amd64 [2022-09-27T02:14:19.542Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1282 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws [2022-09-27T02:14:19.552Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-09-27T02:14:19.591Z] The recommended git tool is: git [2022-09-27T02:14:25.539Z] using credential edgex-jenkins-ssh [2022-09-27T02:14:25.556Z] Cloning the remote Git repository [2022-09-27T02:14:25.604Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:14:25.693Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-09-27T02:14:25.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:14:25.841Z] > git --version # timeout=10 [2022-09-27T02:14:25.865Z] > git --version # 'git version 2.25.1' [2022-09-27T02:14:25.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:14:25.927Z] Verifying host key using known hosts file [2022-09-27T02:14:26.160Z] 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-27T02:14:26.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T02:14:27.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T02:14:27.461Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T02:14:28.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T02:14:28.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T02:14:28.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:14:28.361Z] Verifying host key using known hosts file [2022-09-27T02:14:28.368Z] 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-27T02:14:28.382Z] > 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-27T02:14:28.988Z] Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-27T02:14:29.723Z] Merge succeeded, producing bd38a216c74155d78c9d5a41b711f518272ed920 [2022-09-27T02:14:29.723Z] Checking out Revision bd38a216c74155d78c9d5a41b711f518272ed920 (PR-153) [2022-09-27T02:14:29.003Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T02:14:29.024Z] > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [2022-09-27T02:14:29.249Z] > git remote # timeout=10 [2022-09-27T02:14:29.265Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T02:14:29.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T02:14:29.288Z] Verifying host key using known hosts file [2022-09-27T02:14:29.292Z] 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-27T02:14:29.301Z] > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 [2022-09-27T02:14:29.699Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T02:14:29.731Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T02:14:29.751Z] > git checkout -f bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 [2022-09-27T02:14:33.435Z] Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" [2022-09-27T02:14:33.471Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:14:34.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T02:14:34.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T02:14:34.475Z] Dload Upload Total Spent Left Speed [2022-09-27T02:14:34.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [2022-09-27T02:14:33.443Z] > git rev-list --no-walk f43f3e7f803e7c8ac421823274e1992d92a8e402 # timeout=10 [Pipeline] sh [2022-09-27T02:14:35.220Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T02:14:35.548Z] + sudo tee /etc/docker/daemon.new [2022-09-27T02:14:35.548Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T02:14:35.548Z] { [2022-09-27T02:14:35.548Z] "registry-mirrors": [ [2022-09-27T02:14:35.548Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T02:14:35.548Z] ], [2022-09-27T02:14:35.548Z] "bip": "10.250.0.254/24", [2022-09-27T02:14:35.548Z] "hosts": [ [2022-09-27T02:14:35.548Z] "tcp://0.0.0.0:5555", [2022-09-27T02:14:35.548Z] "unix:///var/run/docker.sock" [2022-09-27T02:14:35.548Z] ], [2022-09-27T02:14:35.548Z] "mtu": 1458, [2022-09-27T02:14:35.548Z] "selinux-enabled": true, [2022-09-27T02:14:35.548Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T02:14:35.548Z] } [Pipeline] sh [2022-09-27T02:14:35.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T02:14:36.201Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:14:54.473Z] provisioning config files... [2022-09-27T02:14:54.498Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config1760759812558583787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:14:54.840Z] ---> docker-login.sh [2022-09-27T02:14:54.840Z] nexus3.edgexfoundry.org:10001 [2022-09-27T02:14:55.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:14:55.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:14:55.431Z] Configure a credential helper to remove this warning. See [2022-09-27T02:14:55.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:14:55.431Z] [2022-09-27T02:14:55.431Z] Login Succeeded [2022-09-27T02:14:55.431Z] nexus3.edgexfoundry.org:10002 [2022-09-27T02:14:55.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:14:55.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:14:55.978Z] Configure a credential helper to remove this warning. See [2022-09-27T02:14:55.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:14:55.978Z] [2022-09-27T02:14:55.978Z] Login Succeeded [2022-09-27T02:14:55.978Z] nexus3.edgexfoundry.org:10003 [2022-09-27T02:14:55.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:14:56.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:14:56.250Z] Configure a credential helper to remove this warning. See [2022-09-27T02:14:56.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:14:56.250Z] [2022-09-27T02:14:56.250Z] Login Succeeded [2022-09-27T02:14:56.250Z] nexus3.edgexfoundry.org:10004 [2022-09-27T02:14:56.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:14:56.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:14:56.521Z] Configure a credential helper to remove this warning. See [2022-09-27T02:14:56.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:14:56.521Z] [2022-09-27T02:14:56.521Z] Login Succeeded [2022-09-27T02:14:56.521Z] docker.io [2022-09-27T02:14:56.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T02:14:57.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T02:14:57.386Z] Configure a credential helper to remove this warning. See [2022-09-27T02:14:57.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T02:14:57.386Z] [2022-09-27T02:14:57.386Z] Login Succeeded [2022-09-27T02:14:57.386Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T02:14:57.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T02:14:57.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:14:57.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T02:14:57.582Z] ========================================================= [2022-09-27T02:14:57.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T02:14:57.582Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:14:57.923Z] + 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-27T02:14:58.191Z] Sending build context to Docker daemon 14.2MB [2022-09-27T02:14:58.463Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:14:58.463Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T02:14:58.463Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T02:14:58.463Z] b3c136eddcbf: Pulling fs layer [2022-09-27T02:14:58.463Z] c0a3192eca97: Pulling fs layer [2022-09-27T02:14:58.463Z] a050256f5b6f: Pulling fs layer [2022-09-27T02:14:58.463Z] 656be50a0ddc: Pulling fs layer [2022-09-27T02:14:58.463Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T02:14:58.463Z] 46d945488cbd: Pulling fs layer [2022-09-27T02:14:58.463Z] 8a5474983e97: Pulling fs layer [2022-09-27T02:14:58.463Z] 329c88fbcd65: Pulling fs layer [2022-09-27T02:14:58.463Z] 656be50a0ddc: Waiting [2022-09-27T02:14:58.463Z] 2bbca73fdf42: Waiting [2022-09-27T02:14:58.463Z] 46d945488cbd: Waiting [2022-09-27T02:14:58.463Z] 8a5474983e97: Waiting [2022-09-27T02:14:58.463Z] 329c88fbcd65: Waiting [2022-09-27T02:14:58.463Z] a050256f5b6f: Verifying Checksum [2022-09-27T02:14:58.463Z] a050256f5b6f: Download complete [2022-09-27T02:14:58.463Z] c0a3192eca97: Download complete [2022-09-27T02:14:58.463Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T02:14:58.463Z] 2bbca73fdf42: Download complete [2022-09-27T02:14:58.735Z] 46d945488cbd: Download complete [2022-09-27T02:14:58.735Z] b3c136eddcbf: Verifying Checksum [2022-09-27T02:14:58.735Z] b3c136eddcbf: Download complete [2022-09-27T02:14:59.735Z] 329c88fbcd65: Verifying Checksum [2022-09-27T02:14:59.735Z] 329c88fbcd65: Download complete [2022-09-27T02:15:00.012Z] b3c136eddcbf: Pull complete [2022-09-27T02:15:00.611Z] c0a3192eca97: Pull complete [2022-09-27T02:15:00.881Z] 8a5474983e97: Verifying Checksum [2022-09-27T02:15:00.882Z] 8a5474983e97: Download complete [2022-09-27T02:15:00.882Z] a050256f5b6f: Pull complete [2022-09-27T02:15:01.471Z] 656be50a0ddc: Verifying Checksum [2022-09-27T02:15:01.471Z] 656be50a0ddc: Download complete [2022-09-27T02:15:13.808Z] 656be50a0ddc: Pull complete [2022-09-27T02:15:13.808Z] 2bbca73fdf42: Pull complete [2022-09-27T02:15:13.808Z] 46d945488cbd: Pull complete [2022-09-27T02:15:18.077Z] 8a5474983e97: Pull complete [2022-09-27T02:15:20.043Z] 329c88fbcd65: Pull complete [2022-09-27T02:15:20.043Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T02:15:20.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T02:15:20.043Z] ---> ff4287adb874 [2022-09-27T02:15:20.043Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T02:15:21.999Z] ---> Running in c225abff864f [2022-09-27T02:15:22.266Z] Removing intermediate container c225abff864f [2022-09-27T02:15:22.266Z] ---> 239a989bd721 [2022-09-27T02:15:22.266Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:15:22.266Z] ---> Running in 0146b0072e7c [2022-09-27T02:15:22.535Z] Removing intermediate container 0146b0072e7c [2022-09-27T02:15:22.535Z] ---> 6f84155b3db0 [2022-09-27T02:15:22.535Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:15:22.535Z] ---> Running in 72bf8277fe7b [2022-09-27T02:15:23.121Z] Removing intermediate container 72bf8277fe7b [2022-09-27T02:15:23.121Z] ---> 51967dbc2e0d [2022-09-27T02:15:23.121Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:15:23.121Z] ---> Running in 37a47999e7bc [2022-09-27T02:15:23.390Z] Removing intermediate container 37a47999e7bc [2022-09-27T02:15:23.390Z] ---> 2aeb5e846afa [2022-09-27T02:15:23.390Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:15:23.390Z] ---> Running in 22da826153fe [2022-09-27T02:15:25.355Z] Removing intermediate container 22da826153fe [2022-09-27T02:15:25.355Z] ---> 5d8e0a2437de [2022-09-27T02:15:25.355Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:15:25.355Z] ---> Running in 2cf26866923d [2022-09-27T02:15:26.316Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:15:27.280Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:15:28.247Z] OK: 221 MiB in 51 packages [2022-09-27T02:15:29.212Z] Removing intermediate container 2cf26866923d [2022-09-27T02:15:29.212Z] ---> 99893d64ba14 [2022-09-27T02:15:29.212Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T02:15:29.481Z] ---> Running in b6a08d3cc215 [2022-09-27T02:15:29.748Z] Removing intermediate container b6a08d3cc215 [2022-09-27T02:15:29.748Z] ---> bacf3abff697 [2022-09-27T02:15:29.748Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T02:15:30.331Z] ---> f09de637d550 [2022-09-27T02:15:30.331Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:15:30.331Z] ---> Running in f74701ba004a [2022-09-27T02:16:26.752Z] Removing intermediate container f74701ba004a [2022-09-27T02:16:26.752Z] ---> cc4cb4d3fbfb [2022-09-27T02:16:26.752Z] Step 12/13 : COPY . . [2022-09-27T02:16:26.752Z] ---> a6db7fe47e32 [2022-09-27T02:16:26.752Z] Step 13/13 : RUN ${MAKE} [2022-09-27T02:16:26.752Z] ---> Running in 453d8995ff17 [2022-09-27T02:16:26.752Z] noop [2022-09-27T02:16:26.752Z] Removing intermediate container 453d8995ff17 [2022-09-27T02:16:26.752Z] ---> 9abdd04cdac8 [2022-09-27T02:16:26.752Z] Successfully built 9abdd04cdac8 [2022-09-27T02:16:26.752Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:16:27.101Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T02:16:27.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:16:27.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container [2022-09-27T02:16:27.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T02:16:28.612Z] $ docker top 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:16:29.471Z] + go version [2022-09-27T02:16:29.471Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T02:16:29.490Z] $ docker stop --time=1 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 [2022-09-27T02:16:31.119Z] $ docker rm -f 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:16:31.669Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T02:16:31.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:16:31.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container [2022-09-27T02:16:31.914Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T02:16:33.105Z] $ docker top aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:16:33.625Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-09-27T02:16:34.545Z] + make test [2022-09-27T02:16:34.545Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T02:16:36.496Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T02:18:13.213Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T02:18:21.428Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements [2022-09-27T02:18:21.428Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T02:18:39.705Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.355s coverage: 86.5% of statements [2022-09-27T02:18:39.705Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T02:18:39.705Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T02:19:18.599Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T02:19:18.599Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T02:19:18.599Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T02:19:18.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T02:19:18.630Z] $ docker stop --time=1 aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 [2022-09-27T02:19:20.581Z] $ docker rm -f aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T02:19:21.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T02:19:22.443Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T02:19:22.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T02:19:23.475Z] + ls -al . [2022-09-27T02:19:23.475Z] total 232 [2022-09-27T02:19:23.475Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 02:16 . [2022-09-27T02:19:23.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 .. [2022-09-27T02:19:23.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 02:14 .git [2022-09-27T02:19:23.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:14 .github [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 02:14 .gitignore [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 02:14 .golangci.yml [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 02:14 Attribution.txt [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 02:14 CHANGELOG.md [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 02:14 Dockerfile [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 02:14 GOVERNANCE.md [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 02:14 Jenkinsfile [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 02:14 LICENSE [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 02:14 Makefile [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 02:14 OWNERS.md [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 02:14 README.md [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 02:11 VERSION [2022-09-27T02:19:23.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 02:14 bin [2022-09-27T02:19:23.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:14 cmd [2022-09-27T02:19:23.475Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 02:18 coverage.out [2022-09-27T02:19:23.475Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 02:14 doc [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 02:14 go.mod [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 02:14 go.sum [2022-09-27T02:19:23.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 internal [2022-09-27T02:19:23.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 snap [2022-09-27T02:19:23.475Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:19:23.860Z] + 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=bd38a216c74155d78c9d5a41b711f518272ed920 --label arch=arm64 --label version=0.0.0 . [2022-09-27T02:19:25.305Z] Sending build context to Docker daemon 14.28MB [2022-09-27T02:19:25.305Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T02:19:25.305Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T02:19:25.305Z] ---> 9abdd04cdac8 [2022-09-27T02:19:25.305Z] Step 3/26 : ARG MAKE="make build" [2022-09-27T02:19:25.578Z] ---> Running in c785147153ed [2022-09-27T02:19:25.850Z] Removing intermediate container c785147153ed [2022-09-27T02:19:25.850Z] ---> 366122f7586f [2022-09-27T02:19:25.850Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T02:19:25.850Z] ---> Running in b00bc83a4d25 [2022-09-27T02:19:27.801Z] Removing intermediate container b00bc83a4d25 [2022-09-27T02:19:27.801Z] ---> 8543f1c1bb58 [2022-09-27T02:19:27.801Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T02:19:27.801Z] ---> Running in 6f519e9edde3 [2022-09-27T02:19:28.389Z] Removing intermediate container 6f519e9edde3 [2022-09-27T02:19:28.389Z] ---> ad6ab903cb92 [2022-09-27T02:19:28.389Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-27T02:19:28.389Z] ---> Running in fd57e22a93b4 [2022-09-27T02:19:28.980Z] Removing intermediate container fd57e22a93b4 [2022-09-27T02:19:28.980Z] ---> 0eac391d88d4 [2022-09-27T02:19:28.980Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T02:19:28.980Z] ---> Running in e373c37a319a [2022-09-27T02:19:32.331Z] Removing intermediate container e373c37a319a [2022-09-27T02:19:32.331Z] ---> a615b24b98f3 [2022-09-27T02:19:32.331Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T02:19:32.331Z] ---> Running in 8a89374284f4 [2022-09-27T02:19:34.923Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:19:35.507Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:19:36.938Z] OK: 221 MiB in 51 packages [2022-09-27T02:19:37.897Z] Removing intermediate container 8a89374284f4 [2022-09-27T02:19:37.897Z] ---> eccbce9c7af5 [2022-09-27T02:19:37.897Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-27T02:19:38.168Z] ---> Running in 4cce80ddb231 [2022-09-27T02:19:38.437Z] Removing intermediate container 4cce80ddb231 [2022-09-27T02:19:38.437Z] ---> 94ee92b1c97d [2022-09-27T02:19:38.437Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T02:19:39.035Z] ---> d4366a7dfa0c [2022-09-27T02:19:39.035Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T02:19:39.305Z] ---> Running in 1d023afc7540 [2022-09-27T02:19:41.897Z] Removing intermediate container 1d023afc7540 [2022-09-27T02:19:41.897Z] ---> a3aefe0d9c31 [2022-09-27T02:19:41.897Z] Step 12/26 : COPY . . [2022-09-27T02:19:43.309Z] ---> f9a6ccf00e18 [2022-09-27T02:19:43.309Z] Step 13/26 : RUN ${MAKE} [2022-09-27T02:19:43.309Z] ---> Running in 9f0fcb2f8133 [2022-09-27T02:19:44.269Z] 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-27T02:22:21.325Z] Removing intermediate container 9f0fcb2f8133 [2022-09-27T02:22:21.325Z] ---> 6d413e392170 [2022-09-27T02:22:21.325Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T02:22:21.325Z] 3.16: Pulling from library/alpine [2022-09-27T02:22:21.325Z] 9b18e9b68314: Pulling fs layer [2022-09-27T02:22:21.325Z] 9b18e9b68314: Verifying Checksum [2022-09-27T02:22:21.325Z] 9b18e9b68314: Download complete [2022-09-27T02:22:21.325Z] 9b18e9b68314: Pull complete [2022-09-27T02:22:21.325Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T02:22:21.325Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T02:22:21.325Z] ---> a6215f271958 [2022-09-27T02:22:21.325Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T02:22:21.325Z] ---> Running in 69116212e8ae [2022-09-27T02:22:21.325Z] Removing intermediate container 69116212e8ae [2022-09-27T02:22:21.325Z] ---> f5b11d1a2275 [2022-09-27T02:22:21.325Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T02:22:21.325Z] ---> Running in 8234c1f9b4a4 [2022-09-27T02:22:21.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T02:22:21.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T02:22:21.325Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T02:22:21.325Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T02:22:21.325Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T02:22:21.325Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T02:22:21.325Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T02:22:21.325Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T02:22:21.325Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T02:22:21.325Z] OK: 8 MiB in 20 packages [2022-09-27T02:22:21.325Z] Removing intermediate container 8234c1f9b4a4 [2022-09-27T02:22:21.325Z] ---> a203d9e8112a [2022-09-27T02:22:21.325Z] Step 17/26 : WORKDIR / [2022-09-27T02:22:21.325Z] ---> Running in bf4217ee8177 [2022-09-27T02:22:21.325Z] Removing intermediate container bf4217ee8177 [2022-09-27T02:22:21.325Z] ---> 39442046aff9 [2022-09-27T02:22:21.325Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T02:22:21.325Z] ---> 7ff06f07f2c2 [2022-09-27T02:22:21.325Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T02:22:21.325Z] ---> e449b2baae26 [2022-09-27T02:22:21.325Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T02:22:21.325Z] ---> 5b64895f7d55 [2022-09-27T02:22:21.325Z] Step 21/26 : EXPOSE 59984 [2022-09-27T02:22:21.325Z] ---> Running in 384ab0ab8096 [2022-09-27T02:22:21.325Z] Removing intermediate container 384ab0ab8096 [2022-09-27T02:22:21.325Z] ---> 3e0d4324e1f3 [2022-09-27T02:22:21.325Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T02:22:21.325Z] ---> Running in 2de81e098e65 [2022-09-27T02:22:21.325Z] Removing intermediate container 2de81e098e65 [2022-09-27T02:22:21.325Z] ---> fd98464e1838 [2022-09-27T02:22:21.325Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T02:22:21.325Z] ---> Running in 5d213bf45746 [2022-09-27T02:22:21.325Z] Removing intermediate container 5d213bf45746 [2022-09-27T02:22:21.325Z] ---> c19029097295 [2022-09-27T02:22:21.325Z] Step 24/26 : LABEL arch=arm64 [2022-09-27T02:22:21.325Z] ---> Running in 40ed5f72e0c4 [2022-09-27T02:22:21.325Z] Removing intermediate container 40ed5f72e0c4 [2022-09-27T02:22:21.325Z] ---> 5aa8cf156ec0 [2022-09-27T02:22:21.325Z] Step 25/26 : LABEL git_sha=bd38a216c74155d78c9d5a41b711f518272ed920 [2022-09-27T02:22:21.325Z] ---> Running in 5587d144a330 [2022-09-27T02:22:21.325Z] Removing intermediate container 5587d144a330 [2022-09-27T02:22:21.325Z] ---> 58c1518faa0b [2022-09-27T02:22:21.325Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T02:22:21.325Z] ---> Running in 6ad558bf2344 [2022-09-27T02:22:21.325Z] Removing intermediate container 6ad558bf2344 [2022-09-27T02:22:21.325Z] ---> eac6d12a2447 [2022-09-27T02:22:21.325Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T02:22:21.325Z] Successfully built eac6d12a2447 [2022-09-27T02:22:21.325Z] 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-27T02:22:21.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:22:21.808Z] [2022-09-27T02:22:21.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:22:22.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:22:22.142Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T02:22:22.142Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T02:22:22.142Z] 04944245beec: Pulling fs layer [2022-09-27T02:22:22.142Z] 699f458cf7ca: Pulling fs layer [2022-09-27T02:22:22.142Z] 765212b225bb: Pulling fs layer [2022-09-27T02:22:22.142Z] f23df028b6ca: Pulling fs layer [2022-09-27T02:22:22.142Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T02:22:22.142Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T02:22:22.142Z] f23df028b6ca: Waiting [2022-09-27T02:22:22.142Z] d65c8cfc05b1: Waiting [2022-09-27T02:22:22.142Z] 765212b225bb: Waiting [2022-09-27T02:22:22.142Z] 2437ff75d9bd: Waiting [2022-09-27T02:22:22.410Z] 04944245beec: Verifying Checksum [2022-09-27T02:22:22.410Z] 04944245beec: Download complete [2022-09-27T02:22:22.410Z] 765212b225bb: Verifying Checksum [2022-09-27T02:22:22.410Z] 765212b225bb: Download complete [2022-09-27T02:22:22.410Z] f23df028b6ca: Verifying Checksum [2022-09-27T02:22:22.410Z] f23df028b6ca: Download complete [2022-09-27T02:22:22.410Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T02:22:22.410Z] d65c8cfc05b1: Download complete [2022-09-27T02:22:22.678Z] 699f458cf7ca: Verifying Checksum [2022-09-27T02:22:22.678Z] 699f458cf7ca: Download complete [2022-09-27T02:22:22.945Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T02:22:22.945Z] 8998bd30e6a1: Download complete [2022-09-27T02:22:25.551Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T02:22:25.551Z] 2437ff75d9bd: Download complete [2022-09-27T02:22:26.972Z] 8998bd30e6a1: Pull complete [2022-09-27T02:22:27.556Z] 04944245beec: Pull complete [2022-09-27T02:22:28.962Z] 699f458cf7ca: Pull complete [2022-09-27T02:22:28.962Z] 765212b225bb: Pull complete [2022-09-27T02:22:29.547Z] f23df028b6ca: Pull complete [2022-09-27T02:22:29.814Z] d65c8cfc05b1: Pull complete [2022-09-27T02:22:44.808Z] 2437ff75d9bd: Pull complete [2022-09-27T02:22:44.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T02:22:44.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T02:22:44.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:22:44.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container [2022-09-27T02:22:45.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T02:22:47.819Z] $ docker top ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:48.657Z] ---> job-cost.sh [2022-09-27T02:22:48.657Z] lf-activate-venv: SKIPPING [2022-09-27T02:22:48.657Z] INFO: No Stack... [2022-09-27T02:22:48.921Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T02:22:49.872Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T02:22:50.189Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-09-27T02:22:50.189Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T02:22:50.218Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [2022-09-27T02:22:50.224Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] did not exist. Created. [2022-09-27T02:22:50.224Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T02:22:50.558Z] /w/workspace/device-onvif-camera/5@tmp/durable-ab914fab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T02:22:50.902Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T02:22:50.926Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T02:22:50.981Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T02:22:50.988Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T02:22:51.001Z] $ docker stop --time=1 ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 [2022-09-27T02:22:52.523Z] $ docker rm -f ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 [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-27T02:22:53.438Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] [2022-09-27T02:22:53.439Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T02:22:53.439Z] total 16 [2022-09-27T02:22:53.439Z] drwxr-xr-x 3 root root 4096 Sep 27 02:12 . [2022-09-27T02:22:53.439Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:12 .. [2022-09-27T02:22:53.439Z] drwxr-xr-x 2 root root 4096 Sep 27 02:12 cost [2022-09-27T02:22:53.439Z] -rw-r--r-- 1 root root 91 Sep 27 02:12 cost.csv [2022-09-27T02:22:53.439Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T02:22:53.439Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T02:22:53.439Z] total 16 [2022-09-27T02:22:53.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 02:12 . [2022-09-27T02:22:53.439Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:12 .. [2022-09-27T02:22:53.439Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 02:12 cost [2022-09-27T02:22:53.439Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 27 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:53.727Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:54.588Z] ---> package-listing.sh [2022-09-27T02:22:54.588Z] ++ facter osfamily [2022-09-27T02:22:54.588Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T02:22:54.847Z] + OS_FAMILY=debian [2022-09-27T02:22:54.847Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-153 [2022-09-27T02:22:54.847Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T02:22:54.847Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T02:22:54.847Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T02:22:54.847Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T02:22:54.847Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T02:22:54.847Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T02:22:54.847Z] + case "${OS_FAMILY}" in [2022-09-27T02:22:54.847Z] + dpkg -l [2022-09-27T02:22:54.847Z] + grep '^ii' [2022-09-27T02:22:54.847Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T02:22:54.847Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T02:22:54.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T02:22:54.847Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T02:22:54.847Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ [2022-09-27T02:22:54.847Z] + 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-27T02:22:54.858Z] 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-27T02:22:55.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T02:22:55.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T02:22:55.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T02:22:55.756Z] prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container [2022-09-27T02:22:55.789Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T02:22:55.989Z] $ docker top c28f966880c9b91f73592b03388fed445191258def9cc51eaf869cc69434b729 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T02:22:56.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T02:22:56.609Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T02:22:56.891Z] + ls /var/log/sa-host [2022-09-27T02:22:56.891Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T02:22:56.949Z] provisioning config files... [2022-09-27T02:22:56.957Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config6147729544279209825tmp [Pipeline] { [Pipeline] echo [2022-09-27T02:22:56.973Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:57.254Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T02:22:57.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:57.575Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T02:22:57.583Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:57.865Z] ---> sudo-logs.sh [2022-09-27T02:22:57.865Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T02:22:57.893Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:58.177Z] ---> job-cost.sh [2022-09-27T02:22:58.177Z] lf-activate-venv: SKIPPING [2022-09-27T02:22:58.177Z] DEBUG: total: 0.2199999988079071 [2022-09-27T02:22:58.177Z] INFO: Retrieving Stack Cost... [2022-09-27T02:22:58.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T02:22:59.004Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T02:22:59.014Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T02:22:59.297Z] ---> logs-deploy.sh [2022-09-27T02:22:59.297Z] lf-activate-venv: SKIPPING [2022-09-27T02:22:59.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/5 [2022-09-27T02:22:59.297Z] INFO: archiving workspace using pattern(s): [2022-09-27T02:23:00.232Z] Archives upload complete. [2022-09-27T02:23:00.232Z] INFO: archiving logs to Nexus [2022-09-27T02:23:00.800Z] ---> uname -a: [2022-09-27T02:23:00.800Z] Linux prd-ubuntu20-04-docker-8c-8g-1280 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-27T02:23:00.800Z] [2022-09-27T02:23:00.800Z] [2022-09-27T02:23:00.800Z] ---> lscpu: [2022-09-27T02:23:00.800Z] Architecture: x86_64 [2022-09-27T02:23:00.800Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-27T02:23:00.800Z] Byte Order: Little Endian [2022-09-27T02:23:00.800Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-27T02:23:00.800Z] CPU(s): 8 [2022-09-27T02:23:00.800Z] On-line CPU(s) list: 0-7 [2022-09-27T02:23:00.800Z] Thread(s) per core: 1 [2022-09-27T02:23:00.800Z] Core(s) per socket: 1 [2022-09-27T02:23:00.800Z] Socket(s): 8 [2022-09-27T02:23:00.800Z] NUMA node(s): 1 [2022-09-27T02:23:00.800Z] Vendor ID: AuthenticAMD [2022-09-27T02:23:00.800Z] CPU family: 23 [2022-09-27T02:23:00.800Z] Model: 49 [2022-09-27T02:23:00.800Z] Model name: AMD EPYC-Rome Processor [2022-09-27T02:23:00.800Z] Stepping: 0 [2022-09-27T02:23:00.800Z] CPU MHz: 2799.998 [2022-09-27T02:23:00.800Z] BogoMIPS: 5599.99 [2022-09-27T02:23:00.800Z] Virtualization: AMD-V [2022-09-27T02:23:00.800Z] Hypervisor vendor: KVM [2022-09-27T02:23:00.800Z] Virtualization type: full [2022-09-27T02:23:00.800Z] L1d cache: 256 KiB [2022-09-27T02:23:00.800Z] L1i cache: 256 KiB [2022-09-27T02:23:00.800Z] L2 cache: 4 MiB [2022-09-27T02:23:00.800Z] L3 cache: 128 MiB [2022-09-27T02:23:00.800Z] NUMA node0 CPU(s): 0-7 [2022-09-27T02:23:00.800Z] Vulnerability Itlb multihit: Not affected [2022-09-27T02:23:00.800Z] Vulnerability L1tf: Not affected [2022-09-27T02:23:00.800Z] Vulnerability Mds: Not affected [2022-09-27T02:23:00.800Z] Vulnerability Meltdown: Not affected [2022-09-27T02:23:00.800Z] Vulnerability Mmio stale data: Not affected [2022-09-27T02:23:00.800Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-27T02:23:00.800Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-27T02:23:00.800Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-27T02:23:00.800Z] Vulnerability Srbds: Not affected [2022-09-27T02:23:00.800Z] Vulnerability Tsx async abort: Not affected [2022-09-27T02:23:00.800Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-27T02:23:00.800Z] [2022-09-27T02:23:00.800Z] [2022-09-27T02:23:00.800Z] ---> nproc: [2022-09-27T02:23:00.800Z] 8 [2022-09-27T02:23:00.800Z] [2022-09-27T02:23:00.800Z]