Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71129961745e0bb1bfe8892fb7be228e75bde2f3+9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf (659a83ccd321c6382e9488260fbf0c411ba70912) 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-ssh4626865080313714959.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10518432529842621491.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-184/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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12630545545869323255.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10665326893954073238.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-184/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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8407110744664750957.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-118207 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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 Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit 71129961745e0bb1bfe8892fb7be228e75bde2f3 > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71129961745e0bb1bfe8892fb7be228e75bde2f3 # 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 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 Merge succeeded, producing 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee Checking out Revision 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee (PR-184) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee # timeout=10 Commit message: "Merge commit '9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-04T02:11:12.684Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-04T02:11:12.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-04T02:11:12.750Z] ========================================================= [2022-11-04T02:11:12.750Z] EdgeX Global Pipelines Version Info [2022-11-04T02:11:12.750Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 268fffb61e42d464023f13360f4c599b9100b6f1 # timeout=10 [2022-11-04T02:11:13.469Z] ------------------- [2022-11-04T02:11:13.469Z] stable info: [2022-11-04T02:11:13.469Z] ------------------- [2022-11-04T02:11:13.469Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-04T02:11:13.469Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-04T02:11:13.469Z] Message: update stable to v1.0.244 [2022-11-04T02:11:14.041Z] ------------------- [2022-11-04T02:11:14.041Z] experimental info: [2022-11-04T02:11:14.041Z] ------------------- [2022-11-04T02:11:14.041Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-04T02:11:14.041Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-04T02:11:14.041Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-04T02:11:14.187Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-04T02:11:14.195Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-04T02:11:14.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-04T02:11:14.211Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-04T02:11:14.221Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-04T02:11:14.238Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-04T02:11:14.255Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-04T02:11:14.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-04T02:11:14.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-04T02:11:14.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-04T02:11:14.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-04T02:11:14.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-04T02:11:14.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-04T02:11:14.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-04T02:11:14.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-04T02:11:14.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-04T02:11:14.382Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-04T02:11:14.394Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-04T02:11:14.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-04T02:11:14.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-04T02:11:14.430Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-04T02:11:14.440Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-04T02:11:14.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-04T02:11:14.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-04T02:11:14.476Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-04T02:11:14.487Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-04T02:11:14.498Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-04T02:11:14.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-11-04T02:11:14.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-11-04T02:11:14.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-11-04T02:11:14.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [Pipeline] echo [2022-11-04T02:11:14.559Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d38ee1 [Pipeline] echo [2022-11-04T02:11:14.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-04T02:11:14.619Z] provisioning config files... [2022-11-04T02:11:14.640Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config1705260547464299290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:11:14.946Z] ---> docker-login.sh [2022-11-04T02:11:14.946Z] nexus3.edgexfoundry.org:10001 [2022-11-04T02:11:15.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:15.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:15.205Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:15.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:15.205Z] [2022-11-04T02:11:15.205Z] Login Succeeded [2022-11-04T02:11:15.205Z] nexus3.edgexfoundry.org:10002 [2022-11-04T02:11:15.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:15.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:15.205Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:15.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:15.205Z] [2022-11-04T02:11:15.205Z] Login Succeeded [2022-11-04T02:11:15.205Z] nexus3.edgexfoundry.org:10003 [2022-11-04T02:11:15.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:15.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:15.465Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:15.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:15.465Z] [2022-11-04T02:11:15.465Z] Login Succeeded [2022-11-04T02:11:15.465Z] nexus3.edgexfoundry.org:10004 [2022-11-04T02:11:15.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:15.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:15.465Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:15.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:15.465Z] [2022-11-04T02:11:15.465Z] Login Succeeded [2022-11-04T02:11:15.465Z] docker.io [2022-11-04T02:11:15.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:15.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:15.988Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:15.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:15.988Z] [2022-11-04T02:11:15.988Z] Login Succeeded [2022-11-04T02:11:15.988Z] ---> docker-login.sh ends [Pipeline] } [2022-11-04T02:11:15.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-04T02:11:16.373Z] + git rev-list -1 --merges 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee~1..9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [Pipeline] echo [2022-11-04T02:11:16.402Z] -----------> git rev-list -1 --merges 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee~1..9d38ee13b5477b4996b449feb1f2b1575b2cc0ee 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [2022-11-04T02:11:16.402Z] 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [false] [Pipeline] sh [2022-11-04T02:11:16.694Z] + git log --format=format:%s -1 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [Pipeline] echo [2022-11-04T02:11:16.708Z] ========================================================= [2022-11-04T02:11:16.708Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-04T02:11:16.708Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-04T02:11:17.049Z] + git log --format=format:%s -1 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [Pipeline] echo [2022-11-04T02:11:17.062Z] [semverPrep] GIT_COMMIT: 9d38ee13b5477b4996b449feb1f2b1575b2cc0ee, Commit Message: Merge commit '9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf' into HEAD [Pipeline] echo [2022-11-04T02:11:17.075Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-04T02:11:17.432Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-04T02:11:17.432Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-04T02:11:17.432Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-04T02:11:17.432Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-04T02:11:17.432Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-04T02:11:17.432Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-04T02:11:17.432Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:11:17.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-04T02:11:17.777Z] [2022-11-04T02:11:17.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:11:18.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-04T02:11:18.077Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-04T02:11:18.077Z] b85a868b505f: Pulling fs layer [2022-11-04T02:11:18.077Z] e2be974225ed: Pulling fs layer [2022-11-04T02:11:18.077Z] 339a4e72a1f5: Pulling fs layer [2022-11-04T02:11:18.077Z] 988bab9f4d93: Pulling fs layer [2022-11-04T02:11:18.077Z] 1469e6f7b9e6: Pulling fs layer [2022-11-04T02:11:18.077Z] eaf3925da568: Pulling fs layer [2022-11-04T02:11:18.077Z] bab4dde63d76: Pulling fs layer [2022-11-04T02:11:18.077Z] bde34c3a00c8: Pulling fs layer [2022-11-04T02:11:18.077Z] b352a97aabf1: Pulling fs layer [2022-11-04T02:11:18.077Z] 4872d77fe225: Pulling fs layer [2022-11-04T02:11:18.077Z] 5851b861e8e6: Pulling fs layer [2022-11-04T02:11:18.077Z] 988bab9f4d93: Waiting [2022-11-04T02:11:18.077Z] bab4dde63d76: Waiting [2022-11-04T02:11:18.077Z] 4872d77fe225: Waiting [2022-11-04T02:11:18.077Z] 1469e6f7b9e6: Waiting [2022-11-04T02:11:18.077Z] eaf3925da568: Waiting [2022-11-04T02:11:18.077Z] 5851b861e8e6: Waiting [2022-11-04T02:11:18.077Z] bde34c3a00c8: Waiting [2022-11-04T02:11:18.077Z] b352a97aabf1: Waiting [2022-11-04T02:11:18.077Z] e2be974225ed: Download complete [2022-11-04T02:11:18.077Z] 988bab9f4d93: Download complete [2022-11-04T02:11:18.338Z] 1469e6f7b9e6: Verifying Checksum [2022-11-04T02:11:18.338Z] 1469e6f7b9e6: Download complete [2022-11-04T02:11:18.338Z] eaf3925da568: Verifying Checksum [2022-11-04T02:11:18.338Z] eaf3925da568: Download complete [2022-11-04T02:11:18.338Z] 339a4e72a1f5: Verifying Checksum [2022-11-04T02:11:18.338Z] 339a4e72a1f5: Download complete [2022-11-04T02:11:18.338Z] bde34c3a00c8: Verifying Checksum [2022-11-04T02:11:18.338Z] bde34c3a00c8: Download complete [2022-11-04T02:11:18.338Z] b352a97aabf1: Download complete [2022-11-04T02:11:18.338Z] 4872d77fe225: Verifying Checksum [2022-11-04T02:11:18.338Z] 4872d77fe225: Download complete [2022-11-04T02:11:18.338Z] 5851b861e8e6: Verifying Checksum [2022-11-04T02:11:18.338Z] 5851b861e8e6: Download complete [2022-11-04T02:11:18.338Z] b85a868b505f: Verifying Checksum [2022-11-04T02:11:18.338Z] b85a868b505f: Download complete [2022-11-04T02:11:18.599Z] bab4dde63d76: Verifying Checksum [2022-11-04T02:11:18.600Z] bab4dde63d76: Download complete [2022-11-04T02:11:19.535Z] b85a868b505f: Pull complete [2022-11-04T02:11:19.795Z] e2be974225ed: Pull complete [2022-11-04T02:11:20.363Z] 339a4e72a1f5: Pull complete [2022-11-04T02:11:20.363Z] 988bab9f4d93: Pull complete [2022-11-04T02:11:20.622Z] 1469e6f7b9e6: Pull complete [2022-11-04T02:11:20.622Z] eaf3925da568: Pull complete [2022-11-04T02:11:22.525Z] bab4dde63d76: Pull complete [2022-11-04T02:11:22.525Z] bde34c3a00c8: Pull complete [2022-11-04T02:11:22.525Z] b352a97aabf1: Pull complete [2022-11-04T02:11:22.525Z] 4872d77fe225: Pull complete [2022-11-04T02:11:22.525Z] 5851b861e8e6: Pull complete [2022-11-04T02:11:22.525Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-04T02:11:22.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-04T02:11:22.784Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:11:22.866Z] prd-ubuntu20.04-docker-8c-8g-118207 does not seem to be running inside a container [2022-11-04T02:11:22.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-04T02:11:24.326Z] $ docker top 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 -eo pid,comm [2022-11-04T02:11:24.399Z] 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-11-04T02:11:24.399Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-04T02:11:24.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-04T02:11:24.438Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-04T02:11:24.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-04T02:11:24.550Z] $ docker exec 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 ssh-agent [2022-11-04T02:11:24.655Z] SSH_AUTH_SOCK=/tmp/ssh-kdSc92fyksYf/agent.31 [2022-11-04T02:11:24.655Z] SSH_AGENT_PID=37 [2022-11-04T02:11:24.664Z] Running ssh-add (command line suppressed) [2022-11-04T02:11:24.781Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3853816402195863743.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3853816402195863743.key) [2022-11-04T02:11:24.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-04T02:11:25.084Z] + git tag --points-at HEAD [Pipeline] } [2022-11-04T02:11:25.104Z] $ docker exec --env ******** --env ******** 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 ssh-agent -k [2022-11-04T02:11:25.218Z] unset SSH_AUTH_SOCK; [2022-11-04T02:11:25.219Z] unset SSH_AGENT_PID; [2022-11-04T02:11:25.219Z] echo Agent pid 37 killed; [2022-11-04T02:11:25.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-04T02:11:25.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-04T02:11:25.250Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-04T02:11:25.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-04T02:11:25.375Z] $ docker exec 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 ssh-agent [2022-11-04T02:11:25.503Z] SSH_AUTH_SOCK=/tmp/ssh-R85CsmMaSRKR/agent.69 [2022-11-04T02:11:25.503Z] SSH_AGENT_PID=75 [2022-11-04T02:11:25.508Z] Running ssh-add (command line suppressed) [2022-11-04T02:11:25.616Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3003636912194166563.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3003636912194166563.key) [2022-11-04T02:11:25.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-04T02:11:25.919Z] + git semver init [2022-11-04T02:11:26.179Z] 2022-11-04 02:11:26,118 [run_init] DEBUG init version:0.0.0 force:False [2022-11-04T02:11:26.179Z] 2022-11-04 02:11:26,119 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-04T02:11:26.179Z] 2022-11-04 02:11:26,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-04T02:11:26.179Z] 2022-11-04 02:11:26,120 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,179 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,180 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,184 [execute] INFO git cat-file --batch-check [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,190 [execute] INFO git cat-file --batch [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-04T02:11:27.563Z] 2022-11-04 02:11:27,197 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-04T02:11:27.563Z] 0.0.0 [Pipeline] } [2022-11-04T02:11:27.576Z] $ docker exec --env ******** --env ******** 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 ssh-agent -k [2022-11-04T02:11:27.671Z] unset SSH_AUTH_SOCK; [2022-11-04T02:11:27.672Z] unset SSH_AGENT_PID; [2022-11-04T02:11:27.672Z] echo Agent pid 75 killed; [2022-11-04T02:11:27.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-04T02:11:27.977Z] + git semver [Pipeline] } [2022-11-04T02:11:28.252Z] $ docker stop --time=1 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 [2022-11-04T02:11:29.560Z] $ docker rm -f 71aa16235eb97a97f8cebff923e697e5488a8ffa0dc452704131f3cfc3c9fac0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-04T02:11:29.894Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-04T02:11:30.069Z] Stashed 1 file(s) [Pipeline] echo [2022-11-04T02:11:30.073Z] [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-11-04T02:11:30.237Z] provisioning config files... [2022-11-04T02:11:30.246Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config13989706945133269797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:11:30.547Z] ---> docker-login.sh [2022-11-04T02:11:30.547Z] nexus3.edgexfoundry.org:10001 [2022-11-04T02:11:30.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:30.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:30.547Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:30.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:30.547Z] [2022-11-04T02:11:30.547Z] Login Succeeded [2022-11-04T02:11:30.547Z] nexus3.edgexfoundry.org:10002 [2022-11-04T02:11:30.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:30.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:30.547Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:30.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:30.547Z] [2022-11-04T02:11:30.547Z] Login Succeeded [2022-11-04T02:11:30.547Z] nexus3.edgexfoundry.org:10003 [2022-11-04T02:11:30.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:30.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:30.807Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:30.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:30.807Z] [2022-11-04T02:11:30.807Z] Login Succeeded [2022-11-04T02:11:30.807Z] nexus3.edgexfoundry.org:10004 [2022-11-04T02:11:30.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:30.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:30.807Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:30.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:30.807Z] [2022-11-04T02:11:30.807Z] Login Succeeded [2022-11-04T02:11:30.807Z] docker.io [2022-11-04T02:11:31.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:11:31.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:11:31.326Z] Configure a credential helper to remove this warning. See [2022-11-04T02:11:31.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:11:31.326Z] [2022-11-04T02:11:31.326Z] Login Succeeded [2022-11-04T02:11:31.326Z] ---> docker-login.sh ends [Pipeline] } [2022-11-04T02:11:31.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-04T02:11:31.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-04T02:11:31.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-04T02:11:31.409Z] ========================================================= [2022-11-04T02:11:31.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-04T02:11:31.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:11:31.731Z] + 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-11-04T02:11:31.731Z] Sending build context to Docker daemon 27.51MB [2022-11-04T02:11:31.731Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-04T02:11:31.731Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-04T02:11:31.991Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-04T02:11:31.991Z] 213ec9aee27d: Pulling fs layer [2022-11-04T02:11:31.991Z] 4583459ba037: Pulling fs layer [2022-11-04T02:11:31.991Z] 93c1e223e6f2: Pulling fs layer [2022-11-04T02:11:31.991Z] 53926ce57604: Pulling fs layer [2022-11-04T02:11:31.991Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-04T02:11:31.991Z] 22ff95d597cd: Pulling fs layer [2022-11-04T02:11:31.991Z] 12d6caf4c0d1: Pulling fs layer [2022-11-04T02:11:31.991Z] 96b7cbca73a9: Pulling fs layer [2022-11-04T02:11:31.991Z] a7acece74701: Pulling fs layer [2022-11-04T02:11:31.991Z] 21b2b0c7a3f4: Waiting [2022-11-04T02:11:31.991Z] 22ff95d597cd: Waiting [2022-11-04T02:11:31.991Z] 53926ce57604: Waiting [2022-11-04T02:11:31.991Z] 96b7cbca73a9: Waiting [2022-11-04T02:11:31.991Z] 12d6caf4c0d1: Waiting [2022-11-04T02:11:31.991Z] a7acece74701: Waiting [2022-11-04T02:11:31.991Z] 93c1e223e6f2: Verifying Checksum [2022-11-04T02:11:31.991Z] 93c1e223e6f2: Download complete [2022-11-04T02:11:31.991Z] 4583459ba037: Download complete [2022-11-04T02:11:31.991Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-04T02:11:31.991Z] 21b2b0c7a3f4: Download complete [2022-11-04T02:11:31.991Z] 22ff95d597cd: Verifying Checksum [2022-11-04T02:11:31.991Z] 22ff95d597cd: Download complete [2022-11-04T02:11:31.991Z] 213ec9aee27d: Verifying Checksum [2022-11-04T02:11:31.991Z] 213ec9aee27d: Download complete [2022-11-04T02:11:31.991Z] 12d6caf4c0d1: Verifying Checksum [2022-11-04T02:11:31.991Z] 12d6caf4c0d1: Download complete [2022-11-04T02:11:32.253Z] 213ec9aee27d: Pull complete [2022-11-04T02:11:32.253Z] 4583459ba037: Pull complete [2022-11-04T02:11:32.516Z] 93c1e223e6f2: Pull complete [2022-11-04T02:11:32.516Z] a7acece74701: Verifying Checksum [2022-11-04T02:11:32.516Z] a7acece74701: Download complete [2022-11-04T02:11:32.774Z] 96b7cbca73a9: Verifying Checksum [2022-11-04T02:11:32.774Z] 96b7cbca73a9: Download complete [2022-11-04T02:11:32.774Z] 53926ce57604: Verifying Checksum [2022-11-04T02:11:32.774Z] 53926ce57604: Download complete [2022-11-04T02:11:36.961Z] 53926ce57604: Pull complete [2022-11-04T02:11:36.961Z] 21b2b0c7a3f4: Pull complete [2022-11-04T02:11:36.961Z] 22ff95d597cd: Pull complete [2022-11-04T02:11:36.961Z] 12d6caf4c0d1: Pull complete [2022-11-04T02:11:39.491Z] 96b7cbca73a9: Pull complete [2022-11-04T02:11:40.059Z] a7acece74701: Pull complete [2022-11-04T02:11:40.059Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-04T02:11:40.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-04T02:11:40.059Z] ---> db6d94c90886 [2022-11-04T02:11:40.059Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-04T02:11:41.966Z] ---> Running in b94aa24e0181 [2022-11-04T02:11:41.966Z] Removing intermediate container b94aa24e0181 [2022-11-04T02:11:41.966Z] ---> bbd08501db6f [2022-11-04T02:11:41.966Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-04T02:11:41.966Z] ---> Running in fcbeba2fc079 [2022-11-04T02:11:41.966Z] Removing intermediate container fcbeba2fc079 [2022-11-04T02:11:41.966Z] ---> d75baf4733f9 [2022-11-04T02:11:41.966Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-04T02:11:41.966Z] ---> Running in 2285fead5944 [2022-11-04T02:11:41.966Z] Removing intermediate container 2285fead5944 [2022-11-04T02:11:41.966Z] ---> 4db10d7e4eb0 [2022-11-04T02:11:41.966Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-04T02:11:41.966Z] ---> Running in c26cf08968f5 [2022-11-04T02:11:42.224Z] Removing intermediate container c26cf08968f5 [2022-11-04T02:11:42.225Z] ---> 0078fe8bf7d9 [2022-11-04T02:11:42.225Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-04T02:11:42.225Z] ---> Running in 67d28e91c7f9 [2022-11-04T02:11:42.225Z] Removing intermediate container 67d28e91c7f9 [2022-11-04T02:11:42.225Z] ---> f91c90d93d4d [2022-11-04T02:11:42.225Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-04T02:11:42.225Z] ---> Running in e445b2922fb7 [2022-11-04T02:11:42.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-04T02:11:42.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-04T02:11:43.052Z] OK: 211 MiB in 51 packages [2022-11-04T02:11:43.620Z] Removing intermediate container e445b2922fb7 [2022-11-04T02:11:43.620Z] ---> 96103c0128c3 [2022-11-04T02:11:43.620Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-04T02:11:43.620Z] ---> Running in 553037106b4e [2022-11-04T02:11:43.620Z] Removing intermediate container 553037106b4e [2022-11-04T02:11:43.620Z] ---> bd0d8e5ae55d [2022-11-04T02:11:43.620Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-04T02:11:43.879Z] ---> 45264a42dc6d [2022-11-04T02:11:43.879Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-04T02:11:43.879Z] ---> Running in 1a84091c658a [2022-11-04T02:11:45.184Z] Still waiting to schedule task [2022-11-04T02:11:45.184Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118204’ [2022-11-04T02:12:01.979Z] Removing intermediate container 1a84091c658a [2022-11-04T02:12:01.979Z] ---> 41ed89e13a95 [2022-11-04T02:12:01.979Z] Step 12/13 : COPY . . [2022-11-04T02:12:01.979Z] ---> 1b92d7f590be [2022-11-04T02:12:01.979Z] Step 13/13 : RUN ${MAKE} [2022-11-04T02:12:01.979Z] ---> Running in 9960fc51c0ff [2022-11-04T02:12:01.979Z] noop [2022-11-04T02:12:01.979Z] Removing intermediate container 9960fc51c0ff [2022-11-04T02:12:01.979Z] ---> 7d1b03ef4cb6 [2022-11-04T02:12:01.980Z] Successfully built 7d1b03ef4cb6 [2022-11-04T02:12:01.980Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:12:02.294Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-04T02:12:02.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:12:02.358Z] prd-ubuntu20.04-docker-8c-8g-118207 does not seem to be running inside a container [2022-11-04T02:12:02.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-04T02:12:02.773Z] $ docker top e03d5363eae8600bc1d44a1e08008c5a660c7050ce15dfa09991490f2a2dd07a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-04T02:12:03.128Z] + go version [2022-11-04T02:12:03.128Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-04T02:12:03.156Z] $ docker stop --time=1 e03d5363eae8600bc1d44a1e08008c5a660c7050ce15dfa09991490f2a2dd07a [2022-11-04T02:12:04.468Z] $ docker rm -f e03d5363eae8600bc1d44a1e08008c5a660c7050ce15dfa09991490f2a2dd07a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:12:04.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-04T02:12:04.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:12:04.934Z] prd-ubuntu20.04-docker-8c-8g-118207 does not seem to be running inside a container [2022-11-04T02:12:04.968Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-04T02:12:05.320Z] $ docker top 0e182eb04f8e26844546f2bd5db648036daf7a4b072ba038678383e55681c928 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-04T02:12:05.686Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-11-04T02:12:06.002Z] + make test [2022-11-04T02:12:06.002Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-04T02:12:06.263Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-04T02:12:18.524Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-04T02:12:33.408Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements [2022-11-04T02:12:33.408Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-04T02:12:33.408Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.426s coverage: 86.5% of statements [2022-11-04T02:12:38.670Z] 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-11-04T02:12:38.670Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-04T02:12:41.948Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-04T02:12:41.948Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-04T02:12:41.948Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-04T02:12:41.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-04T02:12:41.974Z] $ docker stop --time=1 0e182eb04f8e26844546f2bd5db648036daf7a4b072ba038678383e55681c928 [2022-11-04T02:12:43.521Z] $ docker rm -f 0e182eb04f8e26844546f2bd5db648036daf7a4b072ba038678383e55681c928 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-04T02:12:43.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-04T02:12:44.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-04T02:12:44.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-04T02:12:44.801Z] + ls -al . [2022-11-04T02:12:44.801Z] total 248 [2022-11-04T02:12:44.801Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 02:12 . [2022-11-04T02:12:44.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:11 .. [2022-11-04T02:12:44.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 02:12 .git [2022-11-04T02:12:44.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 02:11 .github [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 4 02:11 .gitignore [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 4 02:11 .golangci.yml [2022-11-04T02:12:44.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 02:11 .semver [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 4 02:11 Attribution.txt [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 4 02:11 CHANGELOG.md [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 4 02:11 Dockerfile [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 02:11 GOVERNANCE.md [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 4 02:11 Jenkinsfile [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 4 02:11 LICENSE [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 4 02:11 Makefile [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 4 02:11 OWNERS.md [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 4 02:11 README.md [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 02:11 VERSION [2022-11-04T02:12:44.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 02:11 bin [2022-11-04T02:12:44.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 02:11 cmd [2022-11-04T02:12:44.801Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 4 02:12 coverage.out [2022-11-04T02:12:44.801Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 4 02:11 doc [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 3736 Nov 4 02:11 go.mod [2022-11-04T02:12:44.801Z] -rw-rw-r-- 1 jenkins jenkins 46380 Nov 4 02:11 go.sum [2022-11-04T02:12:44.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:11 internal [2022-11-04T02:12:44.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:11 snap [2022-11-04T02:12:44.802Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 4 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:12:45.109Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9d38ee13b5477b4996b449feb1f2b1575b2cc0ee --label arch=amd64 --label version=0.0.0 . [2022-11-04T02:12:45.109Z] Sending build context to Docker daemon 27.59MB [2022-11-04T02:12:45.109Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-04T02:12:45.109Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-04T02:12:45.109Z] ---> 7d1b03ef4cb6 [2022-11-04T02:12:45.109Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-04T02:12:45.369Z] ---> Running in 42aaeb9dc611 [2022-11-04T02:12:45.369Z] Removing intermediate container 42aaeb9dc611 [2022-11-04T02:12:45.369Z] ---> 7375db26aff4 [2022-11-04T02:12:45.369Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-04T02:12:45.369Z] ---> Running in c3053b715ade [2022-11-04T02:12:45.628Z] Removing intermediate container c3053b715ade [2022-11-04T02:12:45.628Z] ---> 6993c0dc5cc7 [2022-11-04T02:12:45.628Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-04T02:12:45.628Z] ---> Running in 3a9113f4146b [2022-11-04T02:12:45.628Z] Removing intermediate container 3a9113f4146b [2022-11-04T02:12:45.628Z] ---> 66611aef16f7 [2022-11-04T02:12:45.628Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-04T02:12:45.628Z] ---> Running in e326feafe4f2 [2022-11-04T02:12:45.888Z] Removing intermediate container e326feafe4f2 [2022-11-04T02:12:45.888Z] ---> 2eb891129bfa [2022-11-04T02:12:45.888Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-04T02:12:45.888Z] ---> Running in 54f906ad50b5 [2022-11-04T02:12:45.888Z] Removing intermediate container 54f906ad50b5 [2022-11-04T02:12:45.888Z] ---> f88a3b5f1c6f [2022-11-04T02:12:45.888Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-04T02:12:45.888Z] ---> Running in 6bc84eefa5ff [2022-11-04T02:12:46.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-04T02:12:46.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-04T02:12:46.665Z] OK: 211 MiB in 51 packages [2022-11-04T02:12:47.231Z] Removing intermediate container 6bc84eefa5ff [2022-11-04T02:12:47.231Z] ---> b9e848021e42 [2022-11-04T02:12:47.231Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-04T02:12:47.231Z] ---> Running in 001dee98fdc1 [2022-11-04T02:12:47.231Z] Removing intermediate container 001dee98fdc1 [2022-11-04T02:12:47.231Z] ---> 32551c1f4cef [2022-11-04T02:12:47.231Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-04T02:12:47.231Z] ---> 2d2e20d38d38 [2022-11-04T02:12:47.231Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-04T02:12:47.489Z] ---> Running in 200f53696052 [2022-11-04T02:12:48.056Z] Removing intermediate container 200f53696052 [2022-11-04T02:12:48.056Z] ---> f58b1de15b5d [2022-11-04T02:12:48.056Z] Step 12/26 : COPY . . [2022-11-04T02:12:48.626Z] ---> 8cb3b5c8a124 [2022-11-04T02:12:48.626Z] Step 13/26 : RUN ${MAKE} [2022-11-04T02:12:48.626Z] ---> Running in 25b620f0b24a [2022-11-04T02:12:48.885Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-04T02:13:10.809Z] Removing intermediate container 25b620f0b24a [2022-11-04T02:13:10.809Z] ---> cb8bad3b9b13 [2022-11-04T02:13:10.809Z] Step 14/26 : FROM alpine:3.16 [2022-11-04T02:13:10.809Z] 3.16: Pulling from library/alpine [2022-11-04T02:13:10.809Z] 213ec9aee27d: Already exists [2022-11-04T02:13:10.809Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-04T02:13:10.809Z] Status: Downloaded newer image for alpine:3.16 [2022-11-04T02:13:10.809Z] ---> 9c6f07244728 [2022-11-04T02:13:10.809Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-04T02:13:10.809Z] ---> Running in ddb67b1fdcfc [2022-11-04T02:13:10.809Z] Removing intermediate container ddb67b1fdcfc [2022-11-04T02:13:10.809Z] ---> f13984585e59 [2022-11-04T02:13:10.809Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-04T02:13:10.809Z] ---> Running in 7c6698e2e3f9 [2022-11-04T02:13:10.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-04T02:13:11.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-04T02:13:11.068Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-04T02:13:11.068Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-04T02:13:11.068Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-04T02:13:11.068Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-04T02:13:11.326Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-04T02:13:11.326Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-04T02:13:11.326Z] Executing busybox-1.35.0-r17.trigger [2022-11-04T02:13:11.326Z] OK: 8 MiB in 20 packages [2022-11-04T02:13:11.585Z] Removing intermediate container 7c6698e2e3f9 [2022-11-04T02:13:11.585Z] ---> 26d985e9d4c8 [2022-11-04T02:13:11.585Z] Step 17/26 : WORKDIR / [2022-11-04T02:13:11.585Z] ---> Running in 8904d5380d7e [2022-11-04T02:13:11.843Z] Removing intermediate container 8904d5380d7e [2022-11-04T02:13:11.843Z] ---> a8ed1813f7b4 [2022-11-04T02:13:11.843Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-04T02:13:12.422Z] ---> e737d9e0b138 [2022-11-04T02:13:12.422Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-04T02:13:12.422Z] ---> 1ef179a4430d [2022-11-04T02:13:12.422Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-04T02:13:12.682Z] ---> ddee4dffe2e9 [2022-11-04T02:13:12.682Z] Step 21/26 : EXPOSE 59984 [2022-11-04T02:13:12.682Z] ---> Running in f3268dbfcf64 [2022-11-04T02:13:12.682Z] Removing intermediate container f3268dbfcf64 [2022-11-04T02:13:12.682Z] ---> e0bd23c4fe87 [2022-11-04T02:13:12.682Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-04T02:13:12.682Z] ---> Running in ff593664ad7c [2022-11-04T02:13:12.944Z] Removing intermediate container ff593664ad7c [2022-11-04T02:13:12.944Z] ---> f16868085efd [2022-11-04T02:13:12.944Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-04T02:13:12.944Z] ---> Running in 0920d6d816d2 [2022-11-04T02:13:12.944Z] Removing intermediate container 0920d6d816d2 [2022-11-04T02:13:12.944Z] ---> 9eaef2828c47 [2022-11-04T02:13:12.944Z] Step 24/26 : LABEL arch=amd64 [2022-11-04T02:13:12.944Z] ---> Running in de7da488bff9 [2022-11-04T02:13:12.944Z] Removing intermediate container de7da488bff9 [2022-11-04T02:13:12.944Z] ---> 1a83edf37417 [2022-11-04T02:13:12.944Z] Step 25/26 : LABEL git_sha=9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [2022-11-04T02:13:13.203Z] ---> Running in cd47df3571b7 [2022-11-04T02:13:13.203Z] Removing intermediate container cd47df3571b7 [2022-11-04T02:13:13.203Z] ---> 8c576addf1ae [2022-11-04T02:13:13.203Z] Step 26/26 : LABEL version=0.0.0 [2022-11-04T02:13:13.203Z] ---> Running in c9fc9c10cab9 [2022-11-04T02:13:13.203Z] Removing intermediate container c9fc9c10cab9 [2022-11-04T02:13:13.203Z] ---> 3082b3834c74 [2022-11-04T02:13:13.203Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-04T02:13:13.203Z] Successfully built 3082b3834c74 [2022-11-04T02:13:13.203Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:13:13.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-04T02:13:13.651Z] [2022-11-04T02:13:13.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:13:13.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-04T02:13:13.953Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-04T02:13:13.953Z] 5eb5b503b376: Pulling fs layer [2022-11-04T02:13:13.953Z] 5c69ac0246d0: Pulling fs layer [2022-11-04T02:13:13.953Z] ec43610c2a17: Pulling fs layer [2022-11-04T02:13:13.953Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-04T02:13:13.953Z] 33b1e0a273af: Pulling fs layer [2022-11-04T02:13:13.953Z] 3a2ae6a8a46f: Waiting [2022-11-04T02:13:13.953Z] 33b1e0a273af: Waiting [2022-11-04T02:13:13.953Z] 5d3b04190fa2: Pulling fs layer [2022-11-04T02:13:13.953Z] 2f39f015ded8: Pulling fs layer [2022-11-04T02:13:13.953Z] 5d3b04190fa2: Waiting [2022-11-04T02:13:13.953Z] 2f39f015ded8: Waiting [2022-11-04T02:13:13.953Z] 5c69ac0246d0: Verifying Checksum [2022-11-04T02:13:13.953Z] 5c69ac0246d0: Download complete [2022-11-04T02:13:13.953Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-04T02:13:13.953Z] 3a2ae6a8a46f: Download complete [2022-11-04T02:13:13.953Z] 33b1e0a273af: Verifying Checksum [2022-11-04T02:13:13.953Z] 33b1e0a273af: Download complete [2022-11-04T02:13:14.212Z] 5d3b04190fa2: Verifying Checksum [2022-11-04T02:13:14.212Z] 5d3b04190fa2: Download complete [2022-11-04T02:13:14.212Z] ec43610c2a17: Download complete [2022-11-04T02:13:14.212Z] 5eb5b503b376: Verifying Checksum [2022-11-04T02:13:14.212Z] 5eb5b503b376: Download complete [2022-11-04T02:13:14.780Z] 2f39f015ded8: Download complete [2022-11-04T02:13:15.347Z] 5eb5b503b376: Pull complete [2022-11-04T02:13:15.347Z] 5c69ac0246d0: Pull complete [2022-11-04T02:13:15.911Z] ec43610c2a17: Pull complete [2022-11-04T02:13:15.911Z] 3a2ae6a8a46f: Pull complete [2022-11-04T02:13:15.911Z] 33b1e0a273af: Pull complete [2022-11-04T02:13:16.169Z] 5d3b04190fa2: Pull complete [2022-11-04T02:13:20.347Z] 2f39f015ded8: Pull complete [2022-11-04T02:13:20.347Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-04T02:13:20.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-04T02:13:20.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:13:20.432Z] prd-ubuntu20.04-docker-8c-8g-118207 does not seem to be running inside a container [2022-11-04T02:13:20.462Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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-11-04T02:13:22.154Z] $ docker top f11059afe1ca22be913029a11a6e852beffacc6eebf7a217456c5f4dfb3473e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:13:22.520Z] ---> job-cost.sh [2022-11-04T02:13:22.520Z] lf-activate-venv: SKIPPING [2022-11-04T02:13:22.520Z] INFO: No Stack... [2022-11-04T02:13:23.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-04T02:13:23.349Z] INFO: Archiving Costs [Pipeline] sh [2022-11-04T02:13:23.637Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [2022-11-04T02:13:23.637Z] + cut -d, -f6 [Pipeline] lock [2022-11-04T02:13:23.651Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [2022-11-04T02:13:23.657Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] did not exist. Created. [2022-11-04T02:13:23.657Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-04T02:13:23.954Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-04T02:13:23.979Z] Stashed 1 file(s) [Pipeline] } [2022-11-04T02:13:23.985Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-04T02:13:24.004Z] $ docker stop --time=1 f11059afe1ca22be913029a11a6e852beffacc6eebf7a217456c5f4dfb3473e1 [2022-11-04T02:13:25.172Z] $ docker rm -f f11059afe1ca22be913029a11a6e852beffacc6eebf7a217456c5f4dfb3473e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-04T02:14:54.770Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118210 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-11-04T02:14:54.783Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-11-04T02:14:54.821Z] The recommended git tool is: git [2022-11-04T02:15:00.802Z] using credential edgex-jenkins-ssh [2022-11-04T02:15:00.822Z] Cloning the remote Git repository [2022-11-04T02:15:00.868Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-04T02:15:00.945Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-11-04T02:15:01.108Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-04T02:15:01.109Z] > git --version # timeout=10 [2022-11-04T02:15:01.133Z] > git --version # 'git version 2.25.1' [2022-11-04T02:15:01.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-04T02:15:01.187Z] Verifying host key using known hosts file [2022-11-04T02:15:01.418Z] 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-11-04T02:15:01.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-04T02:15:03.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-04T02:15:03.574Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-04T02:15:05.127Z] Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit 71129961745e0bb1bfe8892fb7be228e75bde2f3 [2022-11-04T02:15:04.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-04T02:15:04.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-04T02:15:04.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-04T02:15:04.529Z] Verifying host key using known hosts file [2022-11-04T02:15:04.537Z] 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-11-04T02:15:04.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-04T02:15:05.149Z] > git config core.sparsecheckout # timeout=10 [2022-11-04T02:15:05.178Z] > git checkout -f 71129961745e0bb1bfe8892fb7be228e75bde2f3 # timeout=10 [2022-11-04T02:15:06.127Z] Merge succeeded, producing 44267cbb2d021d54663c94a07f31252ee8dfc17e [2022-11-04T02:15:06.128Z] Checking out Revision 44267cbb2d021d54663c94a07f31252ee8dfc17e (PR-184) [2022-11-04T02:15:05.497Z] > git remote # timeout=10 [2022-11-04T02:15:05.519Z] > git config --get remote.origin.url # timeout=10 [2022-11-04T02:15:05.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-04T02:15:05.544Z] Verifying host key using known hosts file [2022-11-04T02:15:05.550Z] 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-11-04T02:15:05.560Z] > git merge 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 [2022-11-04T02:15:06.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-04T02:15:06.131Z] > git config core.sparsecheckout # timeout=10 [2022-11-04T02:15:06.154Z] > git checkout -f 44267cbb2d021d54663c94a07f31252ee8dfc17e # timeout=10 [2022-11-04T02:15:09.711Z] Commit message: "Merge commit '9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf' into HEAD" [2022-11-04T02:15:09.740Z] First time build. Skipping changelog. [2022-11-04T02:15:09.716Z] > git rev-list --no-walk 268fffb61e42d464023f13360f4c599b9100b6f1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-04T02:15:10.550Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-04T02:15:10.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-04T02:15:10.550Z] Dload Upload Total Spent Left Speed [2022-11-04T02:15:10.550Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-11-04T02:15:11.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-04T02:15:11.632Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-04T02:15:11.632Z] + sudo tee /etc/docker/daemon.new [2022-11-04T02:15:11.632Z] { [2022-11-04T02:15:11.632Z] "registry-mirrors": [ [2022-11-04T02:15:11.632Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-04T02:15:11.632Z] ], [2022-11-04T02:15:11.632Z] "bip": "10.250.0.254/24", [2022-11-04T02:15:11.632Z] "hosts": [ [2022-11-04T02:15:11.632Z] "tcp://0.0.0.0:5555", [2022-11-04T02:15:11.632Z] "unix:///var/run/docker.sock" [2022-11-04T02:15:11.632Z] ], [2022-11-04T02:15:11.632Z] "mtu": 1458, [2022-11-04T02:15:11.632Z] "selinux-enabled": true, [2022-11-04T02:15:11.632Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-04T02:15:11.632Z] } [Pipeline] sh [2022-11-04T02:15:11.962Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-04T02:15:12.306Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-04T02:15:30.586Z] provisioning config files... [2022-11-04T02:15:30.616Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config1717610049642898905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:15:30.974Z] ---> docker-login.sh [2022-11-04T02:15:30.974Z] nexus3.edgexfoundry.org:10001 [2022-11-04T02:15:31.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:15:31.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:15:31.563Z] Configure a credential helper to remove this warning. See [2022-11-04T02:15:31.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:15:31.563Z] [2022-11-04T02:15:31.563Z] Login Succeeded [2022-11-04T02:15:31.563Z] nexus3.edgexfoundry.org:10002 [2022-11-04T02:15:31.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:15:32.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:15:32.101Z] Configure a credential helper to remove this warning. See [2022-11-04T02:15:32.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:15:32.101Z] [2022-11-04T02:15:32.101Z] Login Succeeded [2022-11-04T02:15:32.101Z] nexus3.edgexfoundry.org:10003 [2022-11-04T02:15:32.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:15:32.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:15:32.372Z] Configure a credential helper to remove this warning. See [2022-11-04T02:15:32.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:15:32.372Z] [2022-11-04T02:15:32.372Z] Login Succeeded [2022-11-04T02:15:32.372Z] nexus3.edgexfoundry.org:10004 [2022-11-04T02:15:32.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:15:32.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:15:32.642Z] Configure a credential helper to remove this warning. See [2022-11-04T02:15:32.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:15:32.642Z] [2022-11-04T02:15:32.642Z] Login Succeeded [2022-11-04T02:15:32.642Z] docker.io [2022-11-04T02:15:32.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-04T02:15:33.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-04T02:15:33.182Z] Configure a credential helper to remove this warning. See [2022-11-04T02:15:33.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-04T02:15:33.182Z] [2022-11-04T02:15:33.182Z] Login Succeeded [2022-11-04T02:15:33.182Z] ---> docker-login.sh ends [Pipeline] } [2022-11-04T02:15:33.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-04T02:15:33.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-04T02:15:33.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-04T02:15:33.368Z] ========================================================= [2022-11-04T02:15:33.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-04T02:15:33.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:15:33.703Z] + 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-11-04T02:15:34.292Z] Sending build context to Docker daemon 20.45MB [2022-11-04T02:15:34.292Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-04T02:15:34.292Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-04T02:15:34.292Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-04T02:15:34.292Z] 9b18e9b68314: Pulling fs layer [2022-11-04T02:15:34.292Z] 35d82f9e3411: Pulling fs layer [2022-11-04T02:15:34.292Z] e16973657156: Pulling fs layer [2022-11-04T02:15:34.292Z] fc693d55d65f: Pulling fs layer [2022-11-04T02:15:34.292Z] 7e9fc2657dce: Pulling fs layer [2022-11-04T02:15:34.292Z] dda99020689f: Pulling fs layer [2022-11-04T02:15:34.292Z] db1c61fa0a46: Pulling fs layer [2022-11-04T02:15:34.292Z] 891c053d2c06: Pulling fs layer [2022-11-04T02:15:34.292Z] fc693d55d65f: Waiting [2022-11-04T02:15:34.292Z] 7e9fc2657dce: Waiting [2022-11-04T02:15:34.292Z] dda99020689f: Waiting [2022-11-04T02:15:34.292Z] db1c61fa0a46: Waiting [2022-11-04T02:15:34.292Z] 891c053d2c06: Waiting [2022-11-04T02:15:34.292Z] e16973657156: Verifying Checksum [2022-11-04T02:15:34.292Z] e16973657156: Download complete [2022-11-04T02:15:34.292Z] 35d82f9e3411: Verifying Checksum [2022-11-04T02:15:34.292Z] 35d82f9e3411: Download complete [2022-11-04T02:15:34.573Z] 7e9fc2657dce: Download complete [2022-11-04T02:15:34.573Z] dda99020689f: Download complete [2022-11-04T02:15:34.573Z] 9b18e9b68314: Download complete [2022-11-04T02:15:35.542Z] 9b18e9b68314: Pull complete [2022-11-04T02:15:35.542Z] 891c053d2c06: Verifying Checksum [2022-11-04T02:15:35.542Z] 891c053d2c06: Download complete [2022-11-04T02:15:35.828Z] 35d82f9e3411: Pull complete [2022-11-04T02:15:36.422Z] e16973657156: Pull complete [2022-11-04T02:15:37.012Z] db1c61fa0a46: Verifying Checksum [2022-11-04T02:15:37.012Z] db1c61fa0a46: Download complete [2022-11-04T02:15:37.610Z] fc693d55d65f: Verifying Checksum [2022-11-04T02:15:37.611Z] fc693d55d65f: Download complete [2022-11-04T02:15:49.936Z] fc693d55d65f: Pull complete [2022-11-04T02:15:49.936Z] 7e9fc2657dce: Pull complete [2022-11-04T02:15:49.936Z] dda99020689f: Pull complete [2022-11-04T02:15:56.595Z] db1c61fa0a46: Pull complete [2022-11-04T02:15:57.561Z] 891c053d2c06: Pull complete [2022-11-04T02:15:57.561Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-04T02:15:57.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-04T02:15:57.561Z] ---> f96f9c87975a [2022-11-04T02:15:57.561Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-04T02:15:59.519Z] ---> Running in aaba209b8d28 [2022-11-04T02:15:59.786Z] Removing intermediate container aaba209b8d28 [2022-11-04T02:15:59.786Z] ---> b826961388f2 [2022-11-04T02:15:59.786Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-04T02:15:59.786Z] ---> Running in 9c50d5393efa [2022-11-04T02:16:00.371Z] Removing intermediate container 9c50d5393efa [2022-11-04T02:16:00.371Z] ---> 24fa2c99a317 [2022-11-04T02:16:00.371Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-04T02:16:00.371Z] ---> Running in 4e4cfa85b65e [2022-11-04T02:16:00.640Z] Removing intermediate container 4e4cfa85b65e [2022-11-04T02:16:00.640Z] ---> e3fb87acf54c [2022-11-04T02:16:00.640Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-04T02:16:00.640Z] ---> Running in d39c1350749c [2022-11-04T02:16:00.909Z] Removing intermediate container d39c1350749c [2022-11-04T02:16:00.909Z] ---> a4dd61fd0bc0 [2022-11-04T02:16:00.909Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-04T02:16:01.179Z] ---> Running in 0a22703d9caa [2022-11-04T02:16:01.448Z] Removing intermediate container 0a22703d9caa [2022-11-04T02:16:01.448Z] ---> 144fcb464e3c [2022-11-04T02:16:01.448Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-04T02:16:01.448Z] ---> Running in 04bd3c697a7f [2022-11-04T02:16:02.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-04T02:16:02.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-04T02:16:03.825Z] OK: 221 MiB in 51 packages [2022-11-04T02:16:04.791Z] Removing intermediate container 04bd3c697a7f [2022-11-04T02:16:04.791Z] ---> c07a5245408c [2022-11-04T02:16:04.791Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-04T02:16:04.791Z] ---> Running in 796e636081bc [2022-11-04T02:16:05.058Z] Removing intermediate container 796e636081bc [2022-11-04T02:16:05.058Z] ---> 7ced726ffc90 [2022-11-04T02:16:05.058Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-04T02:16:05.641Z] ---> ab0cbc3cd1c5 [2022-11-04T02:16:05.641Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-04T02:16:05.641Z] ---> Running in 07f082e8503f [2022-11-04T02:17:02.090Z] Removing intermediate container 07f082e8503f [2022-11-04T02:17:02.090Z] ---> 18262a89de12 [2022-11-04T02:17:02.090Z] Step 12/13 : COPY . . [2022-11-04T02:17:02.090Z] ---> b5d121bb438c [2022-11-04T02:17:02.090Z] Step 13/13 : RUN ${MAKE} [2022-11-04T02:17:02.090Z] ---> Running in 22bd700838c9 [2022-11-04T02:17:02.090Z] noop [2022-11-04T02:17:02.679Z] Removing intermediate container 22bd700838c9 [2022-11-04T02:17:02.679Z] ---> 58b2eef1c957 [2022-11-04T02:17:02.679Z] Successfully built 58b2eef1c957 [2022-11-04T02:17:02.679Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:17:03.025Z] + docker inspect -f . ci-base-image-arm64 [2022-11-04T02:17:03.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:17:03.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-118210 does not seem to be running inside a container [2022-11-04T02:17:03.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-04T02:17:04.501Z] $ docker top 3ea7045b59c1be0db0aa497716684a170f39e1e25dc7b38024249072f2f30b66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-04T02:17:05.362Z] + go version [2022-11-04T02:17:05.362Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-04T02:17:05.381Z] $ docker stop --time=1 3ea7045b59c1be0db0aa497716684a170f39e1e25dc7b38024249072f2f30b66 [2022-11-04T02:17:07.033Z] $ docker rm -f 3ea7045b59c1be0db0aa497716684a170f39e1e25dc7b38024249072f2f30b66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:17:07.613Z] + docker inspect -f . ci-base-image-arm64 [2022-11-04T02:17:07.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:17:07.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-118210 does not seem to be running inside a container [2022-11-04T02:17:07.885Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-04T02:17:09.167Z] $ docker top e850f06194e7689885f2908620ce655c0d47fec7b616bd3235480dcfaa3f3643 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-04T02:17:09.998Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-11-04T02:17:10.647Z] + make test [2022-11-04T02:17:10.647Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-04T02:17:12.612Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-04T02:19:04.323Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-04T02:19:06.913Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 29.3% of statements [2022-11-04T02:19:06.913Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-04T02:19:19.246Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.660s coverage: 86.5% of statements [2022-11-04T02:19:19.833Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-04T02:19:19.833Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-04T02:19:58.780Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-04T02:19:58.780Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-04T02:19:58.780Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-04T02:19:58.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-04T02:19:58.809Z] $ docker stop --time=1 e850f06194e7689885f2908620ce655c0d47fec7b616bd3235480dcfaa3f3643 [2022-11-04T02:20:00.748Z] $ docker rm -f e850f06194e7689885f2908620ce655c0d47fec7b616bd3235480dcfaa3f3643 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-04T02:20:01.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-04T02:20:01.992Z] Warning: overwriting stash ‘coverage-report’ [2022-11-04T02:20:02.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-04T02:20:03.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-04T02:20:03.649Z] + ls -al . [2022-11-04T02:20:03.649Z] total 244 [2022-11-04T02:20:03.649Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 02:17 . [2022-11-04T02:20:03.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:15 .. [2022-11-04T02:20:03.649Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 02:15 .git [2022-11-04T02:20:03.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 02:15 .github [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 4 02:15 .gitignore [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 4 02:15 .golangci.yml [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 4 02:15 Attribution.txt [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 4 02:15 CHANGELOG.md [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 4 02:15 Dockerfile [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 02:15 GOVERNANCE.md [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 4 02:15 Jenkinsfile [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 4 02:15 LICENSE [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 4 02:15 Makefile [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 4 02:15 OWNERS.md [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 4 02:15 README.md [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 02:11 VERSION [2022-11-04T02:20:03.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 02:15 bin [2022-11-04T02:20:03.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 02:15 cmd [2022-11-04T02:20:03.649Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 4 02:19 coverage.out [2022-11-04T02:20:03.649Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 4 02:15 doc [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 3736 Nov 4 02:15 go.mod [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 46380 Nov 4 02:15 go.sum [2022-11-04T02:20:03.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:15 internal [2022-11-04T02:20:03.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 02:15 snap [2022-11-04T02:20:03.649Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 4 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:20:04.047Z] + 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=44267cbb2d021d54663c94a07f31252ee8dfc17e --label arch=arm64 --label version=0.0.0 . [2022-11-04T02:20:05.077Z] Sending build context to Docker daemon 20.53MB [2022-11-04T02:20:05.078Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-04T02:20:05.078Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-04T02:20:05.078Z] ---> 58b2eef1c957 [2022-11-04T02:20:05.078Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-04T02:20:05.078Z] ---> Running in 34b18868f727 [2022-11-04T02:20:05.730Z] Removing intermediate container 34b18868f727 [2022-11-04T02:20:05.730Z] ---> f8a126dba72f [2022-11-04T02:20:05.730Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-04T02:20:05.730Z] ---> Running in d209f733f5d7 [2022-11-04T02:20:06.334Z] Removing intermediate container d209f733f5d7 [2022-11-04T02:20:06.334Z] ---> 77b5657960ed [2022-11-04T02:20:06.334Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-04T02:20:06.619Z] ---> Running in 8d4537b2d6b0 [2022-11-04T02:20:07.207Z] Removing intermediate container 8d4537b2d6b0 [2022-11-04T02:20:07.207Z] ---> c25a149f3e67 [2022-11-04T02:20:07.207Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-04T02:20:07.475Z] ---> Running in fbea88d53552 [2022-11-04T02:20:08.064Z] Removing intermediate container fbea88d53552 [2022-11-04T02:20:08.064Z] ---> ae36fc92cdfe [2022-11-04T02:20:08.064Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-04T02:20:08.064Z] ---> Running in 42fe329012ac [2022-11-04T02:20:08.650Z] Removing intermediate container 42fe329012ac [2022-11-04T02:20:08.650Z] ---> 387f9a9ca98b [2022-11-04T02:20:08.650Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-04T02:20:08.650Z] ---> Running in 1d2270e537d7 [2022-11-04T02:20:11.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-04T02:20:11.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-04T02:20:12.930Z] OK: 221 MiB in 51 packages [2022-11-04T02:20:13.907Z] Removing intermediate container 1d2270e537d7 [2022-11-04T02:20:13.907Z] ---> 7c941261668c [2022-11-04T02:20:13.907Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-04T02:20:14.178Z] ---> Running in 586016b4d598 [2022-11-04T02:20:14.452Z] Removing intermediate container 586016b4d598 [2022-11-04T02:20:14.452Z] ---> 054377a7a08f [2022-11-04T02:20:14.452Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-04T02:20:15.418Z] ---> 5ca943d2a149 [2022-11-04T02:20:15.418Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-04T02:20:15.418Z] ---> Running in 3eb860458eb2 [2022-11-04T02:20:18.097Z] Removing intermediate container 3eb860458eb2 [2022-11-04T02:20:18.097Z] ---> f3d98f1fe33e [2022-11-04T02:20:18.097Z] Step 12/26 : COPY . . [2022-11-04T02:20:19.510Z] ---> ae450019798c [2022-11-04T02:20:19.511Z] Step 13/26 : RUN ${MAKE} [2022-11-04T02:20:19.778Z] ---> Running in 4de4a6829774 [2022-11-04T02:20:20.737Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-04T02:22:57.461Z] Removing intermediate container 4de4a6829774 [2022-11-04T02:22:57.461Z] ---> 143a177b7b7a [2022-11-04T02:22:57.461Z] Step 14/26 : FROM alpine:3.16 [2022-11-04T02:22:57.461Z] 3.16: Pulling from library/alpine [2022-11-04T02:22:57.461Z] 9b18e9b68314: Already exists [2022-11-04T02:22:57.461Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-04T02:22:57.461Z] Status: Downloaded newer image for alpine:3.16 [2022-11-04T02:22:57.461Z] ---> a6215f271958 [2022-11-04T02:22:57.461Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-04T02:22:57.461Z] ---> Running in e4273ce01a7c [2022-11-04T02:22:57.461Z] Removing intermediate container e4273ce01a7c [2022-11-04T02:22:57.461Z] ---> 9da7e9f8fb26 [2022-11-04T02:22:57.461Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-04T02:22:57.461Z] ---> Running in cac6410e1c6b [2022-11-04T02:22:57.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-04T02:22:57.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-04T02:22:57.462Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-04T02:22:57.462Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-04T02:22:57.462Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-04T02:22:57.462Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-04T02:22:57.462Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-04T02:22:57.462Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-04T02:22:57.462Z] Executing busybox-1.35.0-r17.trigger [2022-11-04T02:22:57.462Z] OK: 8 MiB in 20 packages [2022-11-04T02:22:57.462Z] Removing intermediate container cac6410e1c6b [2022-11-04T02:22:57.462Z] ---> 45c703d079a8 [2022-11-04T02:22:57.462Z] Step 17/26 : WORKDIR / [2022-11-04T02:22:57.462Z] ---> Running in 91cdaeb68b24 [2022-11-04T02:22:57.462Z] Removing intermediate container 91cdaeb68b24 [2022-11-04T02:22:57.462Z] ---> f73cc571606a [2022-11-04T02:22:57.462Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-04T02:22:57.462Z] ---> 38a6e09aec1c [2022-11-04T02:22:57.462Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-04T02:22:57.462Z] ---> e225adc3117e [2022-11-04T02:22:57.462Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-04T02:22:57.462Z] ---> 0c1ff7b7af1b [2022-11-04T02:22:57.462Z] Step 21/26 : EXPOSE 59984 [2022-11-04T02:22:57.462Z] ---> Running in 2d6185da7364 [2022-11-04T02:22:57.462Z] Removing intermediate container 2d6185da7364 [2022-11-04T02:22:57.462Z] ---> 8385d266f82e [2022-11-04T02:22:57.462Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-04T02:22:57.462Z] ---> Running in 3a558a6af8ee [2022-11-04T02:22:57.728Z] Removing intermediate container 3a558a6af8ee [2022-11-04T02:22:57.728Z] ---> 81867e97aa2b [2022-11-04T02:22:57.728Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-04T02:22:57.997Z] ---> Running in cf766f83266d [2022-11-04T02:22:58.262Z] Removing intermediate container cf766f83266d [2022-11-04T02:22:58.262Z] ---> a8069bb83246 [2022-11-04T02:22:58.262Z] Step 24/26 : LABEL arch=arm64 [2022-11-04T02:22:58.262Z] ---> Running in 15098997583e [2022-11-04T02:22:58.531Z] Removing intermediate container 15098997583e [2022-11-04T02:22:58.531Z] ---> 8c70670a4b91 [2022-11-04T02:22:58.531Z] Step 25/26 : LABEL git_sha=44267cbb2d021d54663c94a07f31252ee8dfc17e [2022-11-04T02:22:58.531Z] ---> Running in d72b6dd13f11 [2022-11-04T02:22:58.798Z] Removing intermediate container d72b6dd13f11 [2022-11-04T02:22:58.798Z] ---> 7cc8acaca0ca [2022-11-04T02:22:58.798Z] Step 26/26 : LABEL version=0.0.0 [2022-11-04T02:22:59.066Z] ---> Running in 5cf3f252cf70 [2022-11-04T02:22:59.332Z] Removing intermediate container 5cf3f252cf70 [2022-11-04T02:22:59.332Z] ---> f7d0bbbf2438 [2022-11-04T02:22:59.332Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-04T02:22:59.332Z] Successfully built f7d0bbbf2438 [2022-11-04T02:22:59.332Z] 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-11-04T02:22:59.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-04T02:22:59.773Z] [2022-11-04T02:22:59.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:23:00.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-04T02:23:00.105Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-04T02:23:00.105Z] 8998bd30e6a1: Pulling fs layer [2022-11-04T02:23:00.105Z] 04944245beec: Pulling fs layer [2022-11-04T02:23:00.105Z] 699f458cf7ca: Pulling fs layer [2022-11-04T02:23:00.105Z] 765212b225bb: Pulling fs layer [2022-11-04T02:23:00.105Z] f23df028b6ca: Pulling fs layer [2022-11-04T02:23:00.105Z] d65c8cfc05b1: Pulling fs layer [2022-11-04T02:23:00.105Z] 2437ff75d9bd: Pulling fs layer [2022-11-04T02:23:00.105Z] 765212b225bb: Waiting [2022-11-04T02:23:00.105Z] f23df028b6ca: Waiting [2022-11-04T02:23:00.105Z] d65c8cfc05b1: Waiting [2022-11-04T02:23:00.105Z] 2437ff75d9bd: Waiting [2022-11-04T02:23:00.372Z] 04944245beec: Verifying Checksum [2022-11-04T02:23:00.372Z] 04944245beec: Download complete [2022-11-04T02:23:00.372Z] 765212b225bb: Download complete [2022-11-04T02:23:00.372Z] f23df028b6ca: Download complete [2022-11-04T02:23:00.372Z] d65c8cfc05b1: Verifying Checksum [2022-11-04T02:23:00.639Z] 699f458cf7ca: Verifying Checksum [2022-11-04T02:23:00.639Z] 699f458cf7ca: Download complete [2022-11-04T02:23:00.904Z] 8998bd30e6a1: Verifying Checksum [2022-11-04T02:23:00.904Z] 8998bd30e6a1: Download complete [2022-11-04T02:23:03.494Z] 2437ff75d9bd: Verifying Checksum [2022-11-04T02:23:03.494Z] 2437ff75d9bd: Download complete [2022-11-04T02:23:04.904Z] 8998bd30e6a1: Pull complete [2022-11-04T02:23:05.486Z] 04944245beec: Pull complete [2022-11-04T02:23:06.890Z] 699f458cf7ca: Pull complete [2022-11-04T02:23:06.890Z] 765212b225bb: Pull complete [2022-11-04T02:23:07.850Z] f23df028b6ca: Pull complete [2022-11-04T02:23:07.850Z] d65c8cfc05b1: Pull complete [2022-11-04T02:23:22.839Z] 2437ff75d9bd: Pull complete [2022-11-04T02:23:22.839Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-04T02:23:22.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-04T02:23:22.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:23:23.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-118210 does not seem to be running inside a container [2022-11-04T02:23:23.076Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:arm64 cat [2022-11-04T02:23:25.686Z] $ docker top 517df718f8f610d12d76863cd26519ec12142699895fee5f64a3ad970fb808ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:26.512Z] ---> job-cost.sh [2022-11-04T02:23:26.512Z] lf-activate-venv: SKIPPING [2022-11-04T02:23:26.512Z] INFO: No Stack... [2022-11-04T02:23:26.779Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-04T02:23:27.734Z] INFO: Archiving Costs [Pipeline] sh [2022-11-04T02:23:28.050Z] + + cut -d, -f6 [2022-11-04T02:23:28.050Z] cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-11-04T02:23:28.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [2022-11-04T02:23:28.115Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] did not exist. Created. [2022-11-04T02:23:28.115Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-04T02:23:28.445Z] /w/workspace/device-onvif-camera/7@tmp/durable-b5880904/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-04T02:23:28.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-04T02:23:28.794Z] Warning: overwriting stash ‘stack-cost’ [2022-11-04T02:23:28.857Z] Stashed 1 file(s) [Pipeline] } [2022-11-04T02:23:28.864Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-04T02:23:28.885Z] $ docker stop --time=1 517df718f8f610d12d76863cd26519ec12142699895fee5f64a3ad970fb808ca [2022-11-04T02:23:30.329Z] $ docker rm -f 517df718f8f610d12d76863cd26519ec12142699895fee5f64a3ad970fb808ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-04T02:23:30.690Z] provisioning config files... [2022-11-04T02:23:30.697Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config10446285487480426136tmp [Pipeline] { [Pipeline] sh [2022-11-04T02:23:30.982Z] + set +x [2022-11-04T02:23:30.982Z] + bash -s -- [2022-11-04T02:23:30.982Z] + curl -s https://codecov.io/bash [2022-11-04T02:23:30.982Z] [2022-11-04T02:23:30.982Z] _____ _ [2022-11-04T02:23:30.982Z] / ____| | | [2022-11-04T02:23:30.982Z] | | ___ __| | ___ ___ _____ __ [2022-11-04T02:23:30.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-04T02:23:30.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-04T02:23:30.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-04T02:23:30.982Z] Bash-1.0.6 [2022-11-04T02:23:30.982Z] [2022-11-04T02:23:30.982Z] [2022-11-04T02:23:30.982Z] ==> git version 2.25.1 found [2022-11-04T02:23:30.982Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-04T02:23:30.982Z] Release-Date: 2020-01-08 [2022-11-04T02:23:30.982Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-04T02:23:30.982Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-04T02:23:30.982Z] ==> Jenkins CI detected. [2022-11-04T02:23:30.982Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-11-04T02:23:30.982Z] project root: . [2022-11-04T02:23:30.982Z] --> token set from env [2022-11-04T02:23:30.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-04T02:23:30.982Z] ==> Running gcov in . (disable via -X gcov) [2022-11-04T02:23:30.982Z] ==> Python coveragepy not found [2022-11-04T02:23:30.982Z] ==> Searching for coverage reports in: [2022-11-04T02:23:30.982Z] + . [2022-11-04T02:23:30.982Z] -> Found 1 reports [2022-11-04T02:23:30.982Z] ==> Detecting git/mercurial file structure [2022-11-04T02:23:30.982Z] ==> Reading reports [2022-11-04T02:23:30.982Z] + ./coverage.out bytes=79184 [2022-11-04T02:23:30.982Z] ==> Appending adjustments [2022-11-04T02:23:30.982Z] https://docs.codecov.io/docs/fixing-reports [2022-11-04T02:23:31.242Z] + Found adjustments [2022-11-04T02:23:31.242Z] ==> Gzipping contents [2022-11-04T02:23:31.242Z] 12K /tmp/codecov.X45ugi.gz [2022-11-04T02:23:31.242Z] ==> Uploading reports [2022-11-04T02:23:31.242Z] url: https://codecov.io [2022-11-04T02:23:31.242Z] query: branch=PR-184&commit=9d38ee13b5477b4996b449feb1f2b1575b2cc0ee&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-04T02:23:31.242Z] -> Pinging Codecov [2022-11-04T02:23:31.242Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=9d38ee13b5477b4996b449feb1f2b1575b2cc0ee&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-04T02:23:31.502Z] -> Uploading to [2022-11-04T02:23:31.502Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-04/F29A59C45E3A92E06B3E522C9905F8EF/9d38ee13b5477b4996b449feb1f2b1575b2cc0ee/0219344e-b7fc-4288-9777-a8cb16ff7bca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221104T022331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1531e9eddb8bbb1925d1d0151b8511b9f4275f5c2b53f44db66dd95d02199a3c [2022-11-04T02:23:31.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-04T02:23:31.502Z] Dload Upload Total Spent Left Speed [2022-11-04T02:23:31.762Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10845 0 0 100 10845 0 47152 --:--:-- --:--:-- --:--:-- 47152 [2022-11-04T02:23:31.762Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9d38ee13b5477b4996b449feb1f2b1575b2cc0ee [Pipeline] } [2022-11-04T02:23:31.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-04T02:23:32.423Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-11-04T02:23:32.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-04T02:23:32.423Z] total 16 [2022-11-04T02:23:32.423Z] drwxr-xr-x 3 root root 4096 Nov 4 02:13 . [2022-11-04T02:23:32.423Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 4 02:13 .. [2022-11-04T02:23:32.423Z] drwxr-xr-x 2 root root 4096 Nov 4 02:13 cost [2022-11-04T02:23:32.423Z] -rw-r--r-- 1 root root 91 Nov 4 02:13 cost.csv [2022-11-04T02:23:32.423Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-04T02:23:32.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-04T02:23:32.423Z] total 16 [2022-11-04T02:23:32.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 02:13 . [2022-11-04T02:23:32.423Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 4 02:13 .. [2022-11-04T02:23:32.423Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 4 02:13 cost [2022-11-04T02:23:32.423Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 4 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:32.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:33.578Z] ---> package-listing.sh [2022-11-04T02:23:33.578Z] ++ facter osfamily [2022-11-04T02:23:33.578Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-04T02:23:33.839Z] + OS_FAMILY=debian [2022-11-04T02:23:33.839Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-11-04T02:23:33.839Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-04T02:23:33.839Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-04T02:23:33.839Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-04T02:23:33.839Z] + PACKAGES=/tmp/packages_start.txt [2022-11-04T02:23:33.839Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-04T02:23:33.839Z] + PACKAGES=/tmp/packages_end.txt [2022-11-04T02:23:33.839Z] + case "${OS_FAMILY}" in [2022-11-04T02:23:33.839Z] + dpkg -l [2022-11-04T02:23:33.839Z] + grep '^ii' [2022-11-04T02:23:33.839Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-04T02:23:33.839Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-04T02:23:33.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-04T02:23:33.839Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-04T02:23:33.839Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-11-04T02:23:33.839Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-11-04T02:23:33.850Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-04T02:23:34.130Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-04T02:23:34.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-04T02:23:34.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-04T02:23:34.774Z] prd-ubuntu20.04-docker-8c-8g-118207 does not seem to be running inside a container [2022-11-04T02:23:34.799Z] $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-04T02:23:35.045Z] $ docker top 074c06a0b62cc58c8b69da953f1e13c534f5e6f21bcbe1bfaa9091155506aea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-04T02:23:35.400Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-04T02:23:35.689Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-04T02:23:35.982Z] + ls /var/log/sa-host [2022-11-04T02:23:35.982Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-04T02:23:36.059Z] provisioning config files... [2022-11-04T02:23:36.068Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config2608262154770566034tmp [Pipeline] { [Pipeline] echo [2022-11-04T02:23:36.082Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:36.368Z] ---> create-netrc.sh [Pipeline] } [2022-11-04T02:23:36.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:36.695Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-04T02:23:36.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:36.986Z] ---> sudo-logs.sh [2022-11-04T02:23:36.986Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-04T02:23:37.019Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:37.306Z] ---> job-cost.sh [2022-11-04T02:23:37.306Z] lf-activate-venv: SKIPPING [2022-11-04T02:23:37.306Z] DEBUG: total: 0.2199999988079071 [2022-11-04T02:23:37.306Z] INFO: Retrieving Stack Cost... [2022-11-04T02:23:37.880Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-04T02:23:38.141Z] INFO: Archiving Costs [Pipeline] echo [2022-11-04T02:23:38.154Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-04T02:23:38.438Z] ---> logs-deploy.sh [2022-11-04T02:23:38.438Z] lf-activate-venv: SKIPPING [2022-11-04T02:23:38.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/7 [2022-11-04T02:23:38.438Z] INFO: archiving workspace using pattern(s): [2022-11-04T02:23:39.376Z] Archives upload complete. [2022-11-04T02:23:39.376Z] INFO: archiving logs to Nexus