Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e283d27a39f6608c4972b60e45559292c212ac31 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from e283d27a39f6608c4972b60e45559292c212ac31 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-ssh9127459222500492779.key > 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-ssh16276712122953810829.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10562322081613679184.key > 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-ssh14882563911808703805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7623628940281770085.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-967 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing d5e9855412022031c00f291585c791252adde5ab Checking out Revision d5e9855412022031c00f291585c791252adde5ab (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5e9855412022031c00f291585c791252adde5ab # timeout=10 Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T22:11:07.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T22:11:07.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T22:11:07.352Z] ========================================================= [2023-01-03T22:11:07.352Z] EdgeX Global Pipelines Version Info [2023-01-03T22:11:07.353Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:11:08.063Z] ------------------- [2023-01-03T22:11:08.063Z] stable info: [2023-01-03T22:11:08.063Z] ------------------- [2023-01-03T22:11:08.063Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T22:11:08.063Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T22:11:08.063Z] Message: update stable to v1.0.244 [2023-01-03T22:11:08.635Z] ------------------- [2023-01-03T22:11:08.635Z] experimental info: [2023-01-03T22:11:08.635Z] ------------------- [2023-01-03T22:11:08.635Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T22:11:08.635Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T22:11:08.635Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T22:11:08.794Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-03T22:11:08.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-03T22:11:08.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T22:11:08.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T22:11:08.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T22:11:08.868Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T22:11:08.881Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T22:11:08.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T22:11:08.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T22:11:08.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T22:11:08.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T22:11:08.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-03T22:11:08.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T22:11:08.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T22:11:08.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T22:11:08.991Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T22:11:09.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T22:11:09.016Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T22:11:09.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T22:11:09.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T22:11:09.074Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-03T22:11:09.090Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-03T22:11:09.106Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T22:11:09.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T22:11:09.133Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T22:11:09.147Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T22:11:09.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T22:11:09.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2023-01-03T22:11:09.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2023-01-03T22:11:09.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2023-01-03T22:11:09.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo [2023-01-03T22:11:09.231Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5e9855 [Pipeline] echo [2023-01-03T22:11:09.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:11:09.294Z] provisioning config files... [2023-01-03T22:11:09.308Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10880792112378948066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:11:09.609Z] ---> docker-login.sh [2023-01-03T22:11:09.609Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:11:09.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:09.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:09.872Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:09.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:09.872Z] [2023-01-03T22:11:09.872Z] Login Succeeded [2023-01-03T22:11:09.872Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:11:09.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:09.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:09.872Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:09.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:09.872Z] [2023-01-03T22:11:09.872Z] Login Succeeded [2023-01-03T22:11:09.872Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:11:10.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:10.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:10.131Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:10.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:10.131Z] [2023-01-03T22:11:10.131Z] Login Succeeded [2023-01-03T22:11:10.131Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:11:10.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:10.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:10.131Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:10.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:10.131Z] [2023-01-03T22:11:10.131Z] Login Succeeded [2023-01-03T22:11:10.131Z] docker.io [2023-01-03T22:11:10.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:10.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:10.391Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:10.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:10.391Z] [2023-01-03T22:11:10.391Z] Login Succeeded [2023-01-03T22:11:10.391Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:11:10.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T22:11:10.747Z] + git rev-list -1 --merges d5e9855412022031c00f291585c791252adde5ab~1..d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo [2023-01-03T22:11:10.790Z] -----------> git rev-list -1 --merges d5e9855412022031c00f291585c791252adde5ab~1..d5e9855412022031c00f291585c791252adde5ab d5e9855412022031c00f291585c791252adde5ab [2023-01-03T22:11:10.790Z] d5e9855412022031c00f291585c791252adde5ab [false] [Pipeline] sh [2023-01-03T22:11:11.078Z] + git log --format=format:%s -1 d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo [2023-01-03T22:11:11.091Z] ========================================================= [2023-01-03T22:11:11.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T22:11:11.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:11:11.421Z] + git log --format=format:%s -1 d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo [2023-01-03T22:11:11.431Z] [semverPrep] GIT_COMMIT: d5e9855412022031c00f291585c791252adde5ab, Commit Message: Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD [Pipeline] echo [2023-01-03T22:11:11.439Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T22:11:11.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T22:11:11.778Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T22:11:11.778Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T22:11:11.778Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T22:11:11.778Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T22:11:11.778Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T22:11:11.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:12.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:11:12.131Z] [2023-01-03T22:11:12.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:12.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:11:12.433Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T22:11:12.433Z] b85a868b505f: Pulling fs layer [2023-01-03T22:11:12.433Z] e2be974225ed: Pulling fs layer [2023-01-03T22:11:12.433Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T22:11:12.433Z] 988bab9f4d93: Pulling fs layer [2023-01-03T22:11:12.433Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T22:11:12.433Z] eaf3925da568: Pulling fs layer [2023-01-03T22:11:12.433Z] bab4dde63d76: Pulling fs layer [2023-01-03T22:11:12.433Z] bde34c3a00c8: Pulling fs layer [2023-01-03T22:11:12.433Z] b352a97aabf1: Pulling fs layer [2023-01-03T22:11:12.433Z] 4872d77fe225: Pulling fs layer [2023-01-03T22:11:12.433Z] 5851b861e8e6: Pulling fs layer [2023-01-03T22:11:12.433Z] 988bab9f4d93: Waiting [2023-01-03T22:11:12.433Z] 1469e6f7b9e6: Waiting [2023-01-03T22:11:12.433Z] bde34c3a00c8: Waiting [2023-01-03T22:11:12.433Z] eaf3925da568: Waiting [2023-01-03T22:11:12.433Z] bab4dde63d76: Waiting [2023-01-03T22:11:12.433Z] 4872d77fe225: Waiting [2023-01-03T22:11:12.433Z] 5851b861e8e6: Waiting [2023-01-03T22:11:12.433Z] e2be974225ed: Download complete [2023-01-03T22:11:12.433Z] 988bab9f4d93: Verifying Checksum [2023-01-03T22:11:12.433Z] 988bab9f4d93: Download complete [2023-01-03T22:11:12.692Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T22:11:12.692Z] 1469e6f7b9e6: Download complete [2023-01-03T22:11:12.692Z] eaf3925da568: Download complete [2023-01-03T22:11:12.692Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T22:11:12.692Z] 339a4e72a1f5: Download complete [2023-01-03T22:11:12.692Z] bde34c3a00c8: Verifying Checksum [2023-01-03T22:11:12.692Z] bde34c3a00c8: Download complete [2023-01-03T22:11:12.692Z] b352a97aabf1: Retrying in 5 seconds [2023-01-03T22:11:12.692Z] b85a868b505f: Verifying Checksum [2023-01-03T22:11:12.692Z] b85a868b505f: Download complete [2023-01-03T22:11:12.692Z] 4872d77fe225: Verifying Checksum [2023-01-03T22:11:12.692Z] 4872d77fe225: Download complete [2023-01-03T22:11:12.692Z] 5851b861e8e6: Verifying Checksum [2023-01-03T22:11:12.692Z] 5851b861e8e6: Download complete [2023-01-03T22:11:12.953Z] bab4dde63d76: Verifying Checksum [2023-01-03T22:11:12.953Z] bab4dde63d76: Download complete [2023-01-03T22:11:13.908Z] b352a97aabf1: Retrying in 4 seconds [2023-01-03T22:11:13.908Z] b85a868b505f: Pull complete [2023-01-03T22:11:14.235Z] e2be974225ed: Pull complete [2023-01-03T22:11:14.810Z] b352a97aabf1: Retrying in 3 seconds [2023-01-03T22:11:14.810Z] 339a4e72a1f5: Pull complete [2023-01-03T22:11:14.810Z] 988bab9f4d93: Pull complete [2023-01-03T22:11:15.071Z] 1469e6f7b9e6: Pull complete [2023-01-03T22:11:15.071Z] eaf3925da568: Pull complete [2023-01-03T22:11:15.641Z] b352a97aabf1: Retrying in 2 seconds [2023-01-03T22:11:16.581Z] b352a97aabf1: Retrying in 1 second [2023-01-03T22:11:17.149Z] bab4dde63d76: Pull complete [2023-01-03T22:11:17.149Z] bde34c3a00c8: Pull complete [2023-01-03T22:11:17.718Z] b352a97aabf1: Retrying in 10 seconds [2023-01-03T22:11:18.655Z] b352a97aabf1: Retrying in 9 seconds [2023-01-03T22:11:19.596Z] b352a97aabf1: Retrying in 8 seconds [2023-01-03T22:11:20.974Z] b352a97aabf1: Retrying in 7 seconds [2023-01-03T22:11:21.909Z] b352a97aabf1: Retrying in 6 seconds [2023-01-03T22:11:22.845Z] b352a97aabf1: Retrying in 5 seconds [2023-01-03T22:11:23.783Z] b352a97aabf1: Retrying in 4 seconds [2023-01-03T22:11:24.718Z] b352a97aabf1: Retrying in 3 seconds [2023-01-03T22:11:25.656Z] b352a97aabf1: Retrying in 2 seconds [2023-01-03T22:11:26.593Z] b352a97aabf1: Retrying in 1 second [2023-01-03T22:11:27.972Z] b352a97aabf1: Download complete [2023-01-03T22:11:27.972Z] b352a97aabf1: Pull complete [2023-01-03T22:11:27.972Z] 4872d77fe225: Pull complete [2023-01-03T22:11:27.972Z] 5851b861e8e6: Pull complete [2023-01-03T22:11:27.972Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T22:11:27.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:11:27.972Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:11:28.075Z] prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container [2023-01-03T22:11:28.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T22:11:29.607Z] $ docker top 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af -eo pid,comm [2023-01-03T22:11:29.664Z] 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). [2023-01-03T22:11:29.664Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T22:11:29.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T22:11:29.700Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T22:11:29.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T22:11:29.820Z] $ docker exec 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent [2023-01-03T22:11:29.931Z] SSH_AUTH_SOCK=/tmp/ssh-yg9K3UIY9vur/agent.32 [2023-01-03T22:11:29.931Z] SSH_AGENT_PID=38 [2023-01-03T22:11:29.937Z] Running ssh-add (command line suppressed) [2023-01-03T22:11:30.040Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_15151858629364233335.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_15151858629364233335.key) [2023-01-03T22:11:30.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T22:11:30.343Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T22:11:30.362Z] $ docker exec --env ******** --env ******** 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent -k [2023-01-03T22:11:30.458Z] unset SSH_AUTH_SOCK; [2023-01-03T22:11:30.459Z] unset SSH_AGENT_PID; [2023-01-03T22:11:30.459Z] echo Agent pid 38 killed; [2023-01-03T22:11:30.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T22:11:30.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T22:11:30.487Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T22:11:30.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T22:11:30.606Z] $ docker exec 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent [2023-01-03T22:11:30.712Z] SSH_AUTH_SOCK=/tmp/ssh-iudnp5nXO56G/agent.71 [2023-01-03T22:11:30.712Z] SSH_AGENT_PID=77 [2023-01-03T22:11:30.717Z] Running ssh-add (command line suppressed) [2023-01-03T22:11:30.827Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12422621506343010916.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12422621506343010916.key) [2023-01-03T22:11:30.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T22:11:31.126Z] + git semver init [2023-01-03T22:11:31.384Z] 2023-01-03 22:11:31,307 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T22:11:31.384Z] 2023-01-03 22:11:31,307 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2023-01-03T22:11:31.384Z] 2023-01-03 22:11:31,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2023-01-03T22:11:31.384Z] 2023-01-03 22:11:31,308 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2023-01-03T22:11:32.321Z] 2023-01-03 22:11:32,129 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,130 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,130 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,134 [execute] INFO git cat-file --batch-check [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,139 [execute] INFO git cat-file --batch [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T22:11:32.322Z] 2023-01-03 22:11:32,144 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2023-01-03T22:11:32.322Z] 0.0.0 [Pipeline] } [2023-01-03T22:11:32.335Z] $ docker exec --env ******** --env ******** 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent -k [2023-01-03T22:11:32.446Z] unset SSH_AUTH_SOCK; [2023-01-03T22:11:32.446Z] unset SSH_AGENT_PID; [2023-01-03T22:11:32.446Z] echo Agent pid 77 killed; [2023-01-03T22:11:32.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T22:11:32.756Z] + git semver [Pipeline] } [2023-01-03T22:11:33.032Z] $ docker stop --time=1 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af [2023-01-03T22:11:34.366Z] $ docker rm -f --volumes 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:11:34.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T22:11:34.900Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T22:11:34.903Z] [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 [2023-01-03T22:11:35.014Z] provisioning config files... [2023-01-03T22:11:35.024Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3480406360814344850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:11:35.320Z] ---> docker-login.sh [2023-01-03T22:11:35.320Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:11:35.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:35.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:35.320Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:35.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:35.320Z] [2023-01-03T22:11:35.320Z] Login Succeeded [2023-01-03T22:11:35.320Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:11:35.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:35.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:35.320Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:35.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:35.320Z] [2023-01-03T22:11:35.320Z] Login Succeeded [2023-01-03T22:11:35.320Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:11:35.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:35.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:35.579Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:35.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:35.579Z] [2023-01-03T22:11:35.579Z] Login Succeeded [2023-01-03T22:11:35.579Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:11:35.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:35.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:35.579Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:35.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:35.579Z] [2023-01-03T22:11:35.579Z] Login Succeeded [2023-01-03T22:11:35.579Z] docker.io [2023-01-03T22:11:35.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:11:35.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:11:35.836Z] Configure a credential helper to remove this warning. See [2023-01-03T22:11:35.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:11:35.836Z] [2023-01-03T22:11:35.836Z] Login Succeeded [2023-01-03T22:11:35.836Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:11:35.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T22:11:35.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:11:35.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:11:35.931Z] ========================================================= [2023-01-03T22:11:35.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T22:11:35.931Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:36.241Z] + 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 . [2023-01-03T22:11:36.241Z] Sending build context to Docker daemon 27.55MB [2023-01-03T22:11:36.241Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:11:36.241Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T22:11:36.499Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T22:11:36.499Z] 213ec9aee27d: Pulling fs layer [2023-01-03T22:11:36.499Z] 4583459ba037: Pulling fs layer [2023-01-03T22:11:36.499Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T22:11:36.499Z] 53926ce57604: Pulling fs layer [2023-01-03T22:11:36.499Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T22:11:36.499Z] 22ff95d597cd: Pulling fs layer [2023-01-03T22:11:36.499Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T22:11:36.499Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T22:11:36.499Z] 53926ce57604: Waiting [2023-01-03T22:11:36.499Z] a7acece74701: Pulling fs layer [2023-01-03T22:11:36.499Z] 21b2b0c7a3f4: Waiting [2023-01-03T22:11:36.499Z] 22ff95d597cd: Waiting [2023-01-03T22:11:36.499Z] 12d6caf4c0d1: Waiting [2023-01-03T22:11:36.499Z] a7acece74701: Waiting [2023-01-03T22:11:36.499Z] 96b7cbca73a9: Waiting [2023-01-03T22:11:36.499Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T22:11:36.499Z] 93c1e223e6f2: Download complete [2023-01-03T22:11:36.499Z] 4583459ba037: Verifying Checksum [2023-01-03T22:11:36.499Z] 4583459ba037: Download complete [2023-01-03T22:11:36.499Z] 21b2b0c7a3f4: Download complete [2023-01-03T22:11:36.499Z] 22ff95d597cd: Verifying Checksum [2023-01-03T22:11:36.499Z] 22ff95d597cd: Download complete [2023-01-03T22:11:36.499Z] 213ec9aee27d: Verifying Checksum [2023-01-03T22:11:36.499Z] 213ec9aee27d: Download complete [2023-01-03T22:11:36.499Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T22:11:36.499Z] 12d6caf4c0d1: Download complete [2023-01-03T22:11:36.499Z] 213ec9aee27d: Pull complete [2023-01-03T22:11:36.760Z] 4583459ba037: Pull complete [2023-01-03T22:11:36.760Z] 93c1e223e6f2: Pull complete [2023-01-03T22:11:37.018Z] a7acece74701: Verifying Checksum [2023-01-03T22:11:37.018Z] a7acece74701: Download complete [2023-01-03T22:11:37.018Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T22:11:37.018Z] 96b7cbca73a9: Download complete [2023-01-03T22:11:37.277Z] 53926ce57604: Verifying Checksum [2023-01-03T22:11:37.277Z] 53926ce57604: Download complete [2023-01-03T22:11:41.460Z] 53926ce57604: Pull complete [2023-01-03T22:11:41.460Z] 21b2b0c7a3f4: Pull complete [2023-01-03T22:11:41.460Z] 22ff95d597cd: Pull complete [2023-01-03T22:11:41.460Z] 12d6caf4c0d1: Pull complete [2023-01-03T22:11:43.359Z] 96b7cbca73a9: Pull complete [2023-01-03T22:11:43.925Z] a7acece74701: Pull complete [2023-01-03T22:11:43.925Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T22:11:43.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T22:11:43.925Z] ---> db6d94c90886 [2023-01-03T22:11:43.925Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:11:45.864Z] ---> Running in 0b7e0230ea0d [2023-01-03T22:11:45.864Z] Removing intermediate container 0b7e0230ea0d [2023-01-03T22:11:45.864Z] ---> 0e52a5798b8c [2023-01-03T22:11:45.864Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:11:45.864Z] ---> Running in 9a3a439d1162 [2023-01-03T22:11:45.864Z] Removing intermediate container 9a3a439d1162 [2023-01-03T22:11:45.864Z] ---> 80530a4995ac [2023-01-03T22:11:45.864Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:11:45.864Z] ---> Running in dda6b56de5fd [2023-01-03T22:11:46.122Z] Removing intermediate container dda6b56de5fd [2023-01-03T22:11:46.122Z] ---> 209473fcd548 [2023-01-03T22:11:46.122Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:11:46.122Z] ---> Running in cc5f9fa6bb6e [2023-01-03T22:11:46.122Z] Removing intermediate container cc5f9fa6bb6e [2023-01-03T22:11:46.122Z] ---> fdd12e64d3f8 [2023-01-03T22:11:46.122Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:11:46.122Z] ---> Running in 4f8bbccfdf26 [2023-01-03T22:11:46.122Z] Removing intermediate container 4f8bbccfdf26 [2023-01-03T22:11:46.122Z] ---> 3c4710bbd2d1 [2023-01-03T22:11:46.123Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:11:46.382Z] ---> Running in dd43137b65da [2023-01-03T22:11:46.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:46.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:46.901Z] OK: 211 MiB in 51 packages [2023-01-03T22:11:47.160Z] Removing intermediate container dd43137b65da [2023-01-03T22:11:47.160Z] ---> 569622df984b [2023-01-03T22:11:47.160Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T22:11:47.418Z] ---> Running in 6deb61d58ceb [2023-01-03T22:11:47.418Z] Removing intermediate container 6deb61d58ceb [2023-01-03T22:11:47.418Z] ---> 5c57afea6d30 [2023-01-03T22:11:47.418Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T22:11:47.677Z] ---> d387433fd86e [2023-01-03T22:11:47.677Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:11:47.677Z] ---> Running in 9c62454f11bd [2023-01-03T22:11:49.984Z] Still waiting to schedule task [2023-01-03T22:11:49.985Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-968’ is offline [2023-01-03T22:12:05.772Z] Removing intermediate container 9c62454f11bd [2023-01-03T22:12:05.773Z] ---> da5f553ef958 [2023-01-03T22:12:05.773Z] Step 12/13 : COPY . . [2023-01-03T22:12:05.773Z] ---> 46cafa9b22bb [2023-01-03T22:12:05.773Z] Step 13/13 : RUN ${MAKE} [2023-01-03T22:12:05.773Z] ---> Running in 1fc27fc9c757 [2023-01-03T22:12:05.773Z] noop [2023-01-03T22:12:05.773Z] Removing intermediate container 1fc27fc9c757 [2023-01-03T22:12:05.773Z] ---> 4c7b14f538b8 [2023-01-03T22:12:05.773Z] Successfully built 4c7b14f538b8 [2023-01-03T22:12:05.773Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:12:06.085Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T22:12:06.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:12:06.154Z] prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container [2023-01-03T22:12:06.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T22:12:06.557Z] $ docker top e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:12:06.896Z] + go version [2023-01-03T22:12:06.896Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T22:12:06.910Z] $ docker stop --time=1 e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 [2023-01-03T22:12:08.190Z] $ docker rm -f --volumes e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:12:08.601Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T22:12:08.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:12:08.684Z] prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container [2023-01-03T22:12:08.713Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T22:12:09.056Z] $ docker top 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:12:09.395Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2023-01-03T22:12:09.690Z] + make test [2023-01-03T22:12:09.690Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T22:12:09.949Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T22:12:19.962Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T22:12:23.244Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements [2023-01-03T22:12:23.244Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T22:12:23.244Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.396s coverage: 86.5% of statements [2023-01-03T22:12:29.818Z] 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." [2023-01-03T22:12:29.818Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T22:12:33.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T22:12:33.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T22:12:33.100Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T22:12:33.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T22:12:33.126Z] $ docker stop --time=1 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e [2023-01-03T22:12:34.932Z] $ docker rm -f --volumes 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:12:35.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T22:12:35.456Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T22:12:35.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T22:12:36.183Z] + ls -al . [2023-01-03T22:12:36.183Z] total 248 [2023-01-03T22:12:36.183Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:12 . [2023-01-03T22:12:36.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 .. [2023-01-03T22:12:36.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:12 .git [2023-01-03T22:12:36.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:11 .github [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:11 .gitignore [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:11 .golangci.yml [2023-01-03T22:12:36.183Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:11 .semver [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:11 Attribution.txt [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:11 CHANGELOG.md [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 1692 Jan 3 22:11 Dockerfile [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:11 GOVERNANCE.md [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:11 Jenkinsfile [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:11 LICENSE [2023-01-03T22:12:36.183Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:11 Makefile [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:11 OWNERS.md [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:11 README.md [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:11 VERSION [2023-01-03T22:12:36.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:11 bin [2023-01-03T22:12:36.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:11 cmd [2023-01-03T22:12:36.184Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:12 coverage.out [2023-01-03T22:12:36.184Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:11 doc [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:11 go.mod [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:11 go.sum [2023-01-03T22:12:36.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 internal [2023-01-03T22:12:36.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 snap [2023-01-03T22:12:36.184Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:12:36.488Z] + 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=d5e9855412022031c00f291585c791252adde5ab --label arch=amd64 --label version=0.0.0 . [2023-01-03T22:12:36.488Z] Sending build context to Docker daemon 27.63MB [2023-01-03T22:12:36.488Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:12:36.488Z] Step 2/27 : FROM ${BASE} AS builder [2023-01-03T22:12:36.488Z] ---> 4c7b14f538b8 [2023-01-03T22:12:36.488Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:12:36.760Z] ---> Running in 107699ba86de [2023-01-03T22:12:36.760Z] Removing intermediate container 107699ba86de [2023-01-03T22:12:36.760Z] ---> 189f59ff055f [2023-01-03T22:12:36.760Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:12:37.021Z] ---> Running in dfaa52bf88ba [2023-01-03T22:12:37.021Z] Removing intermediate container dfaa52bf88ba [2023-01-03T22:12:37.021Z] ---> 3523e930ff37 [2023-01-03T22:12:37.021Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:12:37.021Z] ---> Running in 0ad4c100cb82 [2023-01-03T22:12:37.021Z] Removing intermediate container 0ad4c100cb82 [2023-01-03T22:12:37.021Z] ---> aeaa2dc65d11 [2023-01-03T22:12:37.021Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:12:37.280Z] ---> Running in 558216e3fa8d [2023-01-03T22:12:37.280Z] Removing intermediate container 558216e3fa8d [2023-01-03T22:12:37.280Z] ---> 32995eff1762 [2023-01-03T22:12:37.280Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:12:37.280Z] ---> Running in b6f9883bf803 [2023-01-03T22:12:37.280Z] Removing intermediate container b6f9883bf803 [2023-01-03T22:12:37.280Z] ---> c36d3f1c1879 [2023-01-03T22:12:37.280Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:12:37.539Z] ---> Running in c51dbb1acdeb [2023-01-03T22:12:37.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:12:37.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:12:38.372Z] OK: 211 MiB in 51 packages [2023-01-03T22:12:38.630Z] Removing intermediate container c51dbb1acdeb [2023-01-03T22:12:38.630Z] ---> 18dc6293b895 [2023-01-03T22:12:38.630Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-01-03T22:12:38.630Z] ---> Running in 47bedcd23d95 [2023-01-03T22:12:38.630Z] Removing intermediate container 47bedcd23d95 [2023-01-03T22:12:38.630Z] ---> 2dd948f81040 [2023-01-03T22:12:38.630Z] Step 10/27 : COPY go.mod vendor* ./ [2023-01-03T22:12:38.888Z] ---> c1c3e51622eb [2023-01-03T22:12:38.888Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:12:38.888Z] ---> Running in 4aa004488233 [2023-01-03T22:12:39.456Z] Removing intermediate container 4aa004488233 [2023-01-03T22:12:39.456Z] ---> 86c5284aefc0 [2023-01-03T22:12:39.456Z] Step 12/27 : COPY . . [2023-01-03T22:12:40.389Z] ---> 318267fba7ae [2023-01-03T22:12:40.389Z] Step 13/27 : RUN ${MAKE} [2023-01-03T22:12:40.389Z] ---> Running in c87da03a069f [2023-01-03T22:12:40.389Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T22:13:02.309Z] Removing intermediate container c87da03a069f [2023-01-03T22:13:02.309Z] ---> 5806393a1084 [2023-01-03T22:13:02.309Z] Step 14/27 : FROM alpine:3.16 [2023-01-03T22:13:02.309Z] 3.16: Pulling from library/alpine [2023-01-03T22:13:02.309Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T22:13:02.309Z] ca7dd9ec2225: Download complete [2023-01-03T22:13:02.309Z] ca7dd9ec2225: Pull complete [2023-01-03T22:13:02.309Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T22:13:02.309Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T22:13:02.309Z] ---> bfe296a52501 [2023-01-03T22:13:02.309Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T22:13:02.309Z] ---> Running in 90a4d75213c3 [2023-01-03T22:13:02.309Z] Removing intermediate container 90a4d75213c3 [2023-01-03T22:13:02.309Z] ---> d039720c0d81 [2023-01-03T22:13:02.309Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2023-01-03T22:13:02.309Z] ---> Running in 22ad2c27bea4 [2023-01-03T22:13:02.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:13:02.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:13:02.309Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-01-03T22:13:02.309Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2023-01-03T22:13:02.309Z] (3/21) Installing readline (8.1.2-r0) [2023-01-03T22:13:02.309Z] (4/21) Installing bash (5.1.16-r2) [2023-01-03T22:13:02.309Z] Executing bash-5.1.16-r2.post-install [2023-01-03T22:13:02.309Z] (5/21) Installing ca-certificates (20220614-r0) [2023-01-03T22:13:02.309Z] (6/21) Installing brotli-libs (1.0.9-r6) [2023-01-03T22:13:02.309Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2023-01-03T22:13:02.309Z] (8/21) Installing libcurl (7.83.1-r5) [2023-01-03T22:13:02.309Z] (9/21) Installing curl (7.83.1-r5) [2023-01-03T22:13:02.309Z] (10/21) Installing dumb-init (1.2.5-r1) [2023-01-03T22:13:02.309Z] (11/21) Installing oniguruma (6.9.8-r0) [2023-01-03T22:13:02.309Z] (12/21) Installing jq (1.6-r1) [2023-01-03T22:13:02.309Z] (13/21) Installing popt (1.18-r0) [2023-01-03T22:13:02.309Z] (14/21) Installing pcre (8.45-r2) [2023-01-03T22:13:02.309Z] (15/21) Installing slang (2.3.2-r0) [2023-01-03T22:13:02.309Z] (16/21) Installing newt (0.52.21-r2) [2023-01-03T22:13:02.309Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T22:13:02.309Z] (18/21) Installing libsodium (1.0.18-r0) [2023-01-03T22:13:02.309Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T22:13:02.309Z] (20/21) Installing libzmq (4.3.4-r0) [2023-01-03T22:13:02.309Z] (21/21) Installing zeromq (4.3.4-r0) [2023-01-03T22:13:02.309Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T22:13:02.309Z] Executing ca-certificates-20220614-r0.trigger [2023-01-03T22:13:02.309Z] OK: 17 MiB in 35 packages [2023-01-03T22:13:02.309Z] Removing intermediate container 22ad2c27bea4 [2023-01-03T22:13:02.309Z] ---> deeac7d4a332 [2023-01-03T22:13:02.309Z] Step 17/27 : WORKDIR / [2023-01-03T22:13:02.309Z] ---> Running in bad1661b8a49 [2023-01-03T22:13:02.309Z] Removing intermediate container bad1661b8a49 [2023-01-03T22:13:02.309Z] ---> 9be8f0585bf1 [2023-01-03T22:13:02.309Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T22:13:02.568Z] ---> 6c5ed7546baf [2023-01-03T22:13:02.568Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T22:13:02.568Z] ---> 1d5d0fed8ddc [2023-01-03T22:13:02.568Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T22:13:02.825Z] ---> 96a29d6fcc46 [2023-01-03T22:13:02.825Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2023-01-03T22:13:02.825Z] ---> 862d8c9d0ad7 [2023-01-03T22:13:02.825Z] Step 22/27 : EXPOSE 59984 [2023-01-03T22:13:03.085Z] ---> Running in a6d6ecae8392 [2023-01-03T22:13:03.085Z] Removing intermediate container a6d6ecae8392 [2023-01-03T22:13:03.085Z] ---> eb7c843da3ea [2023-01-03T22:13:03.085Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T22:13:03.085Z] ---> Running in 590060beb8c2 [2023-01-03T22:13:03.085Z] Removing intermediate container 590060beb8c2 [2023-01-03T22:13:03.085Z] ---> 6f5cd6b1c84e [2023-01-03T22:13:03.085Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T22:13:03.344Z] ---> Running in d868683a1393 [2023-01-03T22:13:03.344Z] Removing intermediate container d868683a1393 [2023-01-03T22:13:03.344Z] ---> f52df086fa36 [2023-01-03T22:13:03.344Z] Step 25/27 : LABEL arch=amd64 [2023-01-03T22:13:03.344Z] ---> Running in 08bbf149a896 [2023-01-03T22:13:03.344Z] Removing intermediate container 08bbf149a896 [2023-01-03T22:13:03.344Z] ---> 0ba5a3cfa088 [2023-01-03T22:13:03.344Z] Step 26/27 : LABEL git_sha=d5e9855412022031c00f291585c791252adde5ab [2023-01-03T22:13:03.603Z] ---> Running in 555f8384ff0e [2023-01-03T22:13:03.603Z] Removing intermediate container 555f8384ff0e [2023-01-03T22:13:03.603Z] ---> df6b6fc437fc [2023-01-03T22:13:03.603Z] Step 27/27 : LABEL version=0.0.0 [2023-01-03T22:13:03.603Z] ---> Running in 75b75b3558a3 [2023-01-03T22:13:03.603Z] Removing intermediate container 75b75b3558a3 [2023-01-03T22:13:03.603Z] ---> 7515422e405b [2023-01-03T22:13:03.603Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T22:13:03.603Z] Successfully built 7515422e405b [2023-01-03T22:13:03.603Z] 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 [2023-01-03T22:13:04.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:13:04.272Z] [2023-01-03T22:13:04.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:13:04.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:13:04.572Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T22:13:04.572Z] 5eb5b503b376: Pulling fs layer [2023-01-03T22:13:04.572Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T22:13:04.572Z] ec43610c2a17: Pulling fs layer [2023-01-03T22:13:04.572Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T22:13:04.572Z] 33b1e0a273af: Pulling fs layer [2023-01-03T22:13:04.572Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T22:13:04.572Z] 2f39f015ded8: Pulling fs layer [2023-01-03T22:13:04.572Z] 3a2ae6a8a46f: Waiting [2023-01-03T22:13:04.572Z] 33b1e0a273af: Waiting [2023-01-03T22:13:04.572Z] 5d3b04190fa2: Waiting [2023-01-03T22:13:04.572Z] 2f39f015ded8: Waiting [2023-01-03T22:13:04.572Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T22:13:04.572Z] 5c69ac0246d0: Download complete [2023-01-03T22:13:04.572Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T22:13:04.572Z] 3a2ae6a8a46f: Download complete [2023-01-03T22:13:04.831Z] 33b1e0a273af: Verifying Checksum [2023-01-03T22:13:04.831Z] 33b1e0a273af: Download complete [2023-01-03T22:13:04.831Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T22:13:04.831Z] 5d3b04190fa2: Download complete [2023-01-03T22:13:04.831Z] ec43610c2a17: Verifying Checksum [2023-01-03T22:13:04.831Z] ec43610c2a17: Download complete [2023-01-03T22:13:04.831Z] 5eb5b503b376: Verifying Checksum [2023-01-03T22:13:04.831Z] 5eb5b503b376: Download complete [2023-01-03T22:13:05.398Z] 2f39f015ded8: Download complete [2023-01-03T22:13:05.965Z] 5eb5b503b376: Pull complete [2023-01-03T22:13:06.223Z] 5c69ac0246d0: Pull complete [2023-01-03T22:13:06.481Z] ec43610c2a17: Pull complete [2023-01-03T22:13:06.481Z] 3a2ae6a8a46f: Pull complete [2023-01-03T22:13:06.739Z] 33b1e0a273af: Pull complete [2023-01-03T22:13:06.739Z] 5d3b04190fa2: Pull complete [2023-01-03T22:13:10.925Z] 2f39f015ded8: Pull complete [2023-01-03T22:13:10.925Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T22:13:10.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:13:10.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:13:11.011Z] prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container [2023-01-03T22:13:11.039Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T22:13:12.729Z] $ docker top 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:13:13.090Z] ---> job-cost.sh [2023-01-03T22:13:13.090Z] lf-activate-venv: SKIPPING [2023-01-03T22:13:13.090Z] INFO: No Stack... [2023-01-03T22:13:13.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T22:13:13.606Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T22:13:13.893Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2023-01-03T22:13:13.893Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T22:13:13.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [2023-01-03T22:13:13.915Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] did not exist. Created. [2023-01-03T22:13:13.915Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T22:13:14.213Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T22:13:14.236Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T22:13:14.243Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T22:13:14.264Z] $ docker stop --time=1 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 [2023-01-03T22:13:15.425Z] $ docker rm -f --volumes 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T22:14:25.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-971 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2023-01-03T22:14:25.768Z] Running in /w/workspace/device-onvif-camera/33 [Pipeline] { [Pipeline] checkout [2023-01-03T22:14:25.822Z] The recommended git tool is: git [2023-01-03T22:14:32.390Z] using credential edgex-jenkins-ssh [2023-01-03T22:14:32.410Z] Cloning the remote Git repository [2023-01-03T22:14:32.473Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:14:32.583Z] > git init /w/workspace/device-onvif-camera/33 # timeout=10 [2023-01-03T22:14:32.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:14:32.802Z] > git --version # timeout=10 [2023-01-03T22:14:32.828Z] > git --version # 'git version 2.25.1' [2023-01-03T22:14:32.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:14:32.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T22:14:34.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T22:14:34.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T22:14:36.220Z] Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2023-01-03T22:14:35.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T22:14:35.582Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:14:35.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:14:35.604Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T22:14:36.244Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T22:14:37.363Z] Merge succeeded, producing f1477d6f5e7796a86030d0ce97d79619a0906148 [2023-01-03T22:14:37.363Z] Checking out Revision f1477d6f5e7796a86030d0ce97d79619a0906148 (PR-125) [2023-01-03T22:14:36.265Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2023-01-03T22:14:36.510Z] > git remote # timeout=10 [2023-01-03T22:14:36.529Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T22:14:36.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:14:36.563Z] > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 [2023-01-03T22:14:37.334Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T22:14:37.371Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T22:14:37.390Z] > git checkout -f f1477d6f5e7796a86030d0ce97d79619a0906148 # timeout=10 [2023-01-03T22:14:40.936Z] Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" [2023-01-03T22:14:40.979Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:14:41.853Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T22:14:41.853Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T22:14:41.853Z] Dload Upload Total Spent Left Speed [2023-01-03T22:14:41.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-01-03T22:14:42.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T22:14:40.948Z] > git rev-list --no-walk 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 [2023-01-03T22:14:42.844Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-01-03T22:14:42.844Z] [2023-01-03T22:14:42.844Z] { [2023-01-03T22:14:42.844Z] "registry-mirrors": [ [2023-01-03T22:14:42.844Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T22:14:42.844Z] ], [2023-01-03T22:14:42.844Z] "bip": "10.250.0.254/24", [2023-01-03T22:14:42.844Z] "hosts": [ [2023-01-03T22:14:42.844Z] "tcp://0.0.0.0:5555", [2023-01-03T22:14:42.844Z] "unix:///var/run/docker.sock" [2023-01-03T22:14:42.844Z] ], [2023-01-03T22:14:42.844Z] "mtu": 1458, [2023-01-03T22:14:42.844Z] "selinux-enabled": true, [2023-01-03T22:14:42.844Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T22:14:42.844Z] } [Pipeline] sh [2023-01-03T22:14:43.188Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T22:14:43.542Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:15:01.956Z] provisioning config files... [2023-01-03T22:15:01.989Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config12734168454059096876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:15:02.359Z] ---> docker-login.sh [2023-01-03T22:15:02.359Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:15:02.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:15:02.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:15:02.953Z] Configure a credential helper to remove this warning. See [2023-01-03T22:15:02.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:15:02.953Z] [2023-01-03T22:15:02.953Z] Login Succeeded [2023-01-03T22:15:02.953Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:15:03.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:15:03.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:15:03.520Z] Configure a credential helper to remove this warning. See [2023-01-03T22:15:03.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:15:03.520Z] [2023-01-03T22:15:03.520Z] Login Succeeded [2023-01-03T22:15:03.520Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:15:03.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:15:03.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:15:03.791Z] Configure a credential helper to remove this warning. See [2023-01-03T22:15:03.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:15:03.791Z] [2023-01-03T22:15:03.791Z] Login Succeeded [2023-01-03T22:15:04.061Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:15:04.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:15:04.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:15:04.335Z] Configure a credential helper to remove this warning. See [2023-01-03T22:15:04.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:15:04.335Z] [2023-01-03T22:15:04.335Z] Login Succeeded [2023-01-03T22:15:04.335Z] docker.io [2023-01-03T22:15:04.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:15:04.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:15:04.875Z] Configure a credential helper to remove this warning. See [2023-01-03T22:15:04.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:15:04.875Z] [2023-01-03T22:15:04.875Z] Login Succeeded [2023-01-03T22:15:04.875Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:15:04.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T22:15:05.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:15:05.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:15:05.217Z] ========================================================= [2023-01-03T22:15:05.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T22:15:05.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:15:05.582Z] + 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 . [2023-01-03T22:15:06.176Z] Sending build context to Docker daemon 20.47MB [2023-01-03T22:15:06.176Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:15:06.176Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T22:15:06.450Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T22:15:06.450Z] 9b18e9b68314: Pulling fs layer [2023-01-03T22:15:06.450Z] 35d82f9e3411: Pulling fs layer [2023-01-03T22:15:06.450Z] e16973657156: Pulling fs layer [2023-01-03T22:15:06.450Z] fc693d55d65f: Pulling fs layer [2023-01-03T22:15:06.450Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T22:15:06.450Z] dda99020689f: Pulling fs layer [2023-01-03T22:15:06.450Z] db1c61fa0a46: Pulling fs layer [2023-01-03T22:15:06.450Z] 891c053d2c06: Pulling fs layer [2023-01-03T22:15:06.450Z] fc693d55d65f: Waiting [2023-01-03T22:15:06.450Z] 7e9fc2657dce: Waiting [2023-01-03T22:15:06.450Z] dda99020689f: Waiting [2023-01-03T22:15:06.450Z] db1c61fa0a46: Waiting [2023-01-03T22:15:06.450Z] 891c053d2c06: Waiting [2023-01-03T22:15:06.450Z] e16973657156: Verifying Checksum [2023-01-03T22:15:06.450Z] e16973657156: Download complete [2023-01-03T22:15:06.450Z] 35d82f9e3411: Verifying Checksum [2023-01-03T22:15:06.450Z] 35d82f9e3411: Download complete [2023-01-03T22:15:06.450Z] 7e9fc2657dce: Download complete [2023-01-03T22:15:06.450Z] dda99020689f: Verifying Checksum [2023-01-03T22:15:06.450Z] dda99020689f: Download complete [2023-01-03T22:15:06.450Z] 9b18e9b68314: Verifying Checksum [2023-01-03T22:15:06.450Z] 9b18e9b68314: Download complete [2023-01-03T22:15:07.430Z] 9b18e9b68314: Pull complete [2023-01-03T22:15:07.702Z] 891c053d2c06: Verifying Checksum [2023-01-03T22:15:07.702Z] 891c053d2c06: Download complete [2023-01-03T22:15:07.975Z] 35d82f9e3411: Pull complete [2023-01-03T22:15:08.586Z] e16973657156: Pull complete [2023-01-03T22:15:08.856Z] db1c61fa0a46: Verifying Checksum [2023-01-03T22:15:08.856Z] db1c61fa0a46: Download complete [2023-01-03T22:15:09.443Z] fc693d55d65f: Verifying Checksum [2023-01-03T22:15:09.443Z] fc693d55d65f: Download complete [2023-01-03T22:15:21.797Z] fc693d55d65f: Pull complete [2023-01-03T22:15:21.797Z] 7e9fc2657dce: Pull complete [2023-01-03T22:15:22.071Z] dda99020689f: Pull complete [2023-01-03T22:15:28.738Z] db1c61fa0a46: Pull complete [2023-01-03T22:15:29.733Z] 891c053d2c06: Pull complete [2023-01-03T22:15:29.733Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T22:15:29.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T22:15:29.733Z] ---> f96f9c87975a [2023-01-03T22:15:29.733Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:15:31.695Z] ---> Running in d2fcc4151e1c [2023-01-03T22:15:31.980Z] Removing intermediate container d2fcc4151e1c [2023-01-03T22:15:31.980Z] ---> 9e243ead7a2e [2023-01-03T22:15:31.980Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:15:32.253Z] ---> Running in 7b2e3884f9af [2023-01-03T22:15:32.522Z] Removing intermediate container 7b2e3884f9af [2023-01-03T22:15:32.522Z] ---> 35604b998adc [2023-01-03T22:15:32.522Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:15:32.522Z] ---> Running in 6bd5b6d8b2c9 [2023-01-03T22:15:33.115Z] Removing intermediate container 6bd5b6d8b2c9 [2023-01-03T22:15:33.115Z] ---> bc56438721f4 [2023-01-03T22:15:33.115Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:15:33.115Z] ---> Running in 1957a655e145 [2023-01-03T22:15:33.387Z] Removing intermediate container 1957a655e145 [2023-01-03T22:15:33.387Z] ---> 4662a990339f [2023-01-03T22:15:33.387Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:15:33.387Z] ---> Running in 4ab97c9a6575 [2023-01-03T22:15:33.976Z] Removing intermediate container 4ab97c9a6575 [2023-01-03T22:15:33.976Z] ---> d44aa1492afa [2023-01-03T22:15:33.976Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:15:33.976Z] ---> Running in 18dcf188b8af [2023-01-03T22:15:35.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:15:35.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:15:37.093Z] OK: 221 MiB in 51 packages [2023-01-03T22:15:37.686Z] Removing intermediate container 18dcf188b8af [2023-01-03T22:15:37.686Z] ---> ea90f8e8f04a [2023-01-03T22:15:37.686Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T22:15:37.958Z] ---> Running in 93f0fc611cc4 [2023-01-03T22:15:38.550Z] Removing intermediate container 93f0fc611cc4 [2023-01-03T22:15:38.550Z] ---> 73d0cb7b1c1e [2023-01-03T22:15:38.550Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T22:15:38.821Z] ---> ce94deccb70f [2023-01-03T22:15:38.821Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:15:39.090Z] ---> Running in d6477f9e1815 [2023-01-03T22:16:35.546Z] Removing intermediate container d6477f9e1815 [2023-01-03T22:16:35.546Z] ---> 44ba7ffc5294 [2023-01-03T22:16:35.546Z] Step 12/13 : COPY . . [2023-01-03T22:16:37.499Z] ---> 76a7ffb6ed87 [2023-01-03T22:16:37.499Z] Step 13/13 : RUN ${MAKE} [2023-01-03T22:16:37.499Z] ---> Running in 80bf69a84f54 [2023-01-03T22:16:38.467Z] noop [2023-01-03T22:16:39.053Z] Removing intermediate container 80bf69a84f54 [2023-01-03T22:16:39.053Z] ---> a8a9788f3565 [2023-01-03T22:16:39.053Z] Successfully built a8a9788f3565 [2023-01-03T22:16:39.053Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:16:39.407Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T22:16:39.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:16:39.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container [2023-01-03T22:16:39.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T22:16:40.886Z] $ docker top 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:16:41.762Z] + go version [2023-01-03T22:16:41.763Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T22:16:41.788Z] $ docker stop --time=1 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 [2023-01-03T22:16:43.452Z] $ docker rm -f --volumes 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:16:44.016Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T22:16:44.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:16:44.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container [2023-01-03T22:16:44.304Z] $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T22:16:45.550Z] $ docker top 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:16:46.381Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/33 [Pipeline] fileExists [Pipeline] sh [2023-01-03T22:16:47.042Z] + make test [2023-01-03T22:16:47.042Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T22:16:49.006Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T22:18:40.734Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T22:18:40.734Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 29.3% of statements [2023-01-03T22:18:40.734Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T22:18:53.089Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.002s coverage: 86.5% of statements [2023-01-03T22:18:53.089Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T22:18:53.089Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T22:19:32.032Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T22:19:32.032Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T22:19:32.032Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T22:19:32.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T22:19:32.071Z] $ docker stop --time=1 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 [2023-01-03T22:19:35.608Z] $ docker rm -f --volumes 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:19:36.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T22:19:36.777Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T22:19:37.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:19:38.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T22:19:38.623Z] + ls -al . [2023-01-03T22:19:38.623Z] total 244 [2023-01-03T22:19:38.623Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 22:16 . [2023-01-03T22:19:38.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 .. [2023-01-03T22:19:38.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:14 .git [2023-01-03T22:19:38.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:14 .github [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:14 .gitignore [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:14 .golangci.yml [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:14 Attribution.txt [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:14 CHANGELOG.md [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 1692 Jan 3 22:14 Dockerfile [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:14 GOVERNANCE.md [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:14 Jenkinsfile [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:14 LICENSE [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:14 Makefile [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:14 OWNERS.md [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:14 README.md [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:11 VERSION [2023-01-03T22:19:38.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:14 bin [2023-01-03T22:19:38.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:14 cmd [2023-01-03T22:19:38.623Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:18 coverage.out [2023-01-03T22:19:38.623Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:14 doc [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:14 go.mod [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:14 go.sum [2023-01-03T22:19:38.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 internal [2023-01-03T22:19:38.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 snap [2023-01-03T22:19:38.623Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:19:39.103Z] + 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=f1477d6f5e7796a86030d0ce97d79619a0906148 --label arch=arm64 --label version=0.0.0 . [2023-01-03T22:19:40.553Z] Sending build context to Docker daemon 20.55MB [2023-01-03T22:19:40.553Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:19:40.553Z] Step 2/27 : FROM ${BASE} AS builder [2023-01-03T22:19:40.553Z] ---> a8a9788f3565 [2023-01-03T22:19:40.553Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:19:40.826Z] ---> Running in 77e1b7fb026d [2023-01-03T22:19:41.418Z] Removing intermediate container 77e1b7fb026d [2023-01-03T22:19:41.418Z] ---> 8e8d379d57a1 [2023-01-03T22:19:41.418Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:19:41.418Z] ---> Running in 44dea382ae50 [2023-01-03T22:19:42.006Z] Removing intermediate container 44dea382ae50 [2023-01-03T22:19:42.006Z] ---> 59956bf45cdc [2023-01-03T22:19:42.006Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:19:42.006Z] ---> Running in 4e0899e2d87f [2023-01-03T22:19:42.274Z] Removing intermediate container 4e0899e2d87f [2023-01-03T22:19:42.274Z] ---> 5bbbadc6c4a2 [2023-01-03T22:19:42.274Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:19:42.558Z] ---> Running in 4bc10db97b2b [2023-01-03T22:19:42.828Z] Removing intermediate container 4bc10db97b2b [2023-01-03T22:19:42.828Z] ---> 41f478f7baa3 [2023-01-03T22:19:42.828Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:19:42.828Z] ---> Running in 7b50063180df [2023-01-03T22:19:44.252Z] Removing intermediate container 7b50063180df [2023-01-03T22:19:44.252Z] ---> 6e4a5c85938f [2023-01-03T22:19:44.252Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:19:44.252Z] ---> Running in 9a7b11dde74c [2023-01-03T22:19:46.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:19:47.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:19:48.593Z] OK: 221 MiB in 51 packages [2023-01-03T22:19:49.578Z] Removing intermediate container 9a7b11dde74c [2023-01-03T22:19:49.578Z] ---> e870a91930a3 [2023-01-03T22:19:49.578Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-01-03T22:19:49.578Z] ---> Running in dc2eb622d63d [2023-01-03T22:19:50.175Z] Removing intermediate container dc2eb622d63d [2023-01-03T22:19:50.175Z] ---> f58b518241b4 [2023-01-03T22:19:50.175Z] Step 10/27 : COPY go.mod vendor* ./ [2023-01-03T22:19:50.769Z] ---> dae4e3bf6593 [2023-01-03T22:19:50.769Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:19:50.769Z] ---> Running in 70db541f0ffc [2023-01-03T22:19:53.371Z] Removing intermediate container 70db541f0ffc [2023-01-03T22:19:53.372Z] ---> 9b4aeab11bd7 [2023-01-03T22:19:53.372Z] Step 12/27 : COPY . . [2023-01-03T22:19:54.787Z] ---> d7d2ae17f43c [2023-01-03T22:19:54.787Z] Step 13/27 : RUN ${MAKE} [2023-01-03T22:19:55.056Z] ---> Running in 836fa6376b31 [2023-01-03T22:19:56.026Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T22:22:47.839Z] Removing intermediate container 836fa6376b31 [2023-01-03T22:22:47.839Z] ---> 78f4223cf9c5 [2023-01-03T22:22:47.839Z] Step 14/27 : FROM alpine:3.16 [2023-01-03T22:22:47.839Z] 3.16: Pulling from library/alpine [2023-01-03T22:22:47.839Z] 6875df1f5354: Pulling fs layer [2023-01-03T22:22:47.839Z] 6875df1f5354: Verifying Checksum [2023-01-03T22:22:47.839Z] 6875df1f5354: Download complete [2023-01-03T22:22:47.839Z] 6875df1f5354: Pull complete [2023-01-03T22:22:47.839Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T22:22:47.839Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T22:22:47.839Z] ---> 2b4661558fb8 [2023-01-03T22:22:47.839Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T22:22:47.839Z] ---> Running in f0e4479e2e03 [2023-01-03T22:22:47.839Z] Removing intermediate container f0e4479e2e03 [2023-01-03T22:22:47.839Z] ---> 8825a17c7647 [2023-01-03T22:22:47.839Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2023-01-03T22:22:47.839Z] ---> Running in 62b6e8a6da63 [2023-01-03T22:22:47.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:22:47.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:22:47.839Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-01-03T22:22:47.839Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2023-01-03T22:22:47.839Z] (3/21) Installing readline (8.1.2-r0) [2023-01-03T22:22:47.839Z] (4/21) Installing bash (5.1.16-r2) [2023-01-03T22:22:47.839Z] Executing bash-5.1.16-r2.post-install [2023-01-03T22:22:47.839Z] (5/21) Installing ca-certificates (20220614-r0) [2023-01-03T22:22:47.839Z] (6/21) Installing brotli-libs (1.0.9-r6) [2023-01-03T22:22:47.839Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2023-01-03T22:22:47.839Z] (8/21) Installing libcurl (7.83.1-r5) [2023-01-03T22:22:47.839Z] (9/21) Installing curl (7.83.1-r5) [2023-01-03T22:22:47.839Z] (10/21) Installing dumb-init (1.2.5-r1) [2023-01-03T22:22:47.839Z] (11/21) Installing oniguruma (6.9.8-r0) [2023-01-03T22:22:47.839Z] (12/21) Installing jq (1.6-r1) [2023-01-03T22:22:47.839Z] (13/21) Installing popt (1.18-r0) [2023-01-03T22:22:47.839Z] (14/21) Installing pcre (8.45-r2) [2023-01-03T22:22:47.839Z] (15/21) Installing slang (2.3.2-r0) [2023-01-03T22:22:47.839Z] (16/21) Installing newt (0.52.21-r2) [2023-01-03T22:22:47.839Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T22:22:47.839Z] (18/21) Installing libsodium (1.0.18-r0) [2023-01-03T22:22:47.839Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T22:22:47.839Z] (20/21) Installing libzmq (4.3.4-r0) [2023-01-03T22:22:47.839Z] (21/21) Installing zeromq (4.3.4-r0) [2023-01-03T22:22:47.839Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T22:22:47.839Z] Executing ca-certificates-20220614-r0.trigger [2023-01-03T22:22:47.839Z] OK: 16 MiB in 35 packages [2023-01-03T22:22:47.839Z] Removing intermediate container 62b6e8a6da63 [2023-01-03T22:22:47.839Z] ---> 68c3284de91f [2023-01-03T22:22:47.839Z] Step 17/27 : WORKDIR / [2023-01-03T22:22:47.839Z] ---> Running in ddeb930b5103 [2023-01-03T22:22:47.839Z] Removing intermediate container ddeb930b5103 [2023-01-03T22:22:47.839Z] ---> 175f9f80b031 [2023-01-03T22:22:47.839Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T22:22:47.839Z] ---> 1a8ce97dbbe7 [2023-01-03T22:22:47.839Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T22:22:47.839Z] ---> 338ef59b0188 [2023-01-03T22:22:47.839Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T22:22:47.839Z] ---> dc70684a3699 [2023-01-03T22:22:47.839Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2023-01-03T22:22:47.839Z] ---> 3e95d7f7f67a [2023-01-03T22:22:47.839Z] Step 22/27 : EXPOSE 59984 [2023-01-03T22:22:47.839Z] ---> Running in 1c2d00f94766 [2023-01-03T22:22:47.839Z] Removing intermediate container 1c2d00f94766 [2023-01-03T22:22:47.839Z] ---> d7066150253a [2023-01-03T22:22:47.839Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T22:22:47.839Z] ---> Running in 21832ccdb70c [2023-01-03T22:22:47.839Z] Removing intermediate container 21832ccdb70c [2023-01-03T22:22:47.839Z] ---> 144f1f45aa7a [2023-01-03T22:22:47.839Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T22:22:47.839Z] ---> Running in 264f51994acd [2023-01-03T22:22:47.839Z] Removing intermediate container 264f51994acd [2023-01-03T22:22:47.839Z] ---> 5596180f8ff5 [2023-01-03T22:22:47.839Z] Step 25/27 : LABEL arch=arm64 [2023-01-03T22:22:47.839Z] ---> Running in ac543e1ce802 [2023-01-03T22:22:47.839Z] Removing intermediate container ac543e1ce802 [2023-01-03T22:22:47.839Z] ---> 5111233f3ddd [2023-01-03T22:22:47.839Z] Step 26/27 : LABEL git_sha=f1477d6f5e7796a86030d0ce97d79619a0906148 [2023-01-03T22:22:47.839Z] ---> Running in ccfc289d9a64 [2023-01-03T22:22:47.839Z] Removing intermediate container ccfc289d9a64 [2023-01-03T22:22:47.839Z] ---> d6a697eafb3c [2023-01-03T22:22:47.839Z] Step 27/27 : LABEL version=0.0.0 [2023-01-03T22:22:47.839Z] ---> Running in 3d344f716272 [2023-01-03T22:22:47.839Z] Removing intermediate container 3d344f716272 [2023-01-03T22:22:47.839Z] ---> ecd0dcfc6bf5 [2023-01-03T22:22:47.839Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T22:22:47.839Z] Successfully built ecd0dcfc6bf5 [2023-01-03T22:22:47.839Z] 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 [2023-01-03T22:22:48.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:22:48.274Z] [2023-01-03T22:22:48.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:22:48.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:22:48.611Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T22:22:48.611Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T22:22:48.611Z] 04944245beec: Pulling fs layer [2023-01-03T22:22:48.611Z] 699f458cf7ca: Pulling fs layer [2023-01-03T22:22:48.611Z] 765212b225bb: Pulling fs layer [2023-01-03T22:22:48.611Z] f23df028b6ca: Pulling fs layer [2023-01-03T22:22:48.611Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T22:22:48.611Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T22:22:48.611Z] 765212b225bb: Waiting [2023-01-03T22:22:48.611Z] f23df028b6ca: Waiting [2023-01-03T22:22:48.611Z] d65c8cfc05b1: Waiting [2023-01-03T22:22:48.611Z] 2437ff75d9bd: Waiting [2023-01-03T22:22:48.879Z] 04944245beec: Verifying Checksum [2023-01-03T22:22:48.879Z] 04944245beec: Download complete [2023-01-03T22:22:48.879Z] 765212b225bb: Download complete [2023-01-03T22:22:48.879Z] f23df028b6ca: Verifying Checksum [2023-01-03T22:22:48.879Z] f23df028b6ca: Download complete [2023-01-03T22:22:48.879Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T22:22:48.879Z] d65c8cfc05b1: Download complete [2023-01-03T22:22:48.879Z] 699f458cf7ca: Verifying Checksum [2023-01-03T22:22:48.879Z] 699f458cf7ca: Download complete [2023-01-03T22:22:49.478Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T22:22:49.478Z] 8998bd30e6a1: Download complete [2023-01-03T22:22:51.427Z] 2437ff75d9bd: Download complete [2023-01-03T22:22:53.372Z] 8998bd30e6a1: Pull complete [2023-01-03T22:22:53.639Z] 04944245beec: Pull complete [2023-01-03T22:22:55.050Z] 699f458cf7ca: Pull complete [2023-01-03T22:22:55.050Z] 765212b225bb: Pull complete [2023-01-03T22:22:56.988Z] f23df028b6ca: Pull complete [2023-01-03T22:22:57.256Z] d65c8cfc05b1: Pull complete [2023-01-03T22:23:12.233Z] 2437ff75d9bd: Pull complete [2023-01-03T22:23:12.233Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T22:23:12.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:23:12.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:23:12.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container [2023-01-03T22:23:12.508Z] $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T22:23:15.419Z] $ docker top d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:16.263Z] ---> job-cost.sh [2023-01-03T22:23:16.263Z] lf-activate-venv: SKIPPING [2023-01-03T22:23:16.263Z] INFO: No Stack... [2023-01-03T22:23:16.845Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T22:23:17.810Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T22:23:18.453Z] + cat /w/workspace/device-onvif-camera/33/archives/cost.csv [2023-01-03T22:23:18.453Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T22:23:18.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [2023-01-03T22:23:18.503Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] did not exist. Created. [2023-01-03T22:23:18.503Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T22:23:19.171Z] /w/workspace/device-onvif-camera/33@tmp/durable-20c581be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T22:23:19.828Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T22:23:19.851Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T22:23:19.924Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T22:23:19.931Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T22:23:19.954Z] $ docker stop --time=1 d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd [2023-01-03T22:23:21.461Z] $ docker rm -f --volumes d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd [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 [2023-01-03T22:23:21.829Z] provisioning config files... [2023-01-03T22:23:21.836Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config17261708713431371631tmp [Pipeline] { [Pipeline] sh [2023-01-03T22:23:22.131Z] + set +x [2023-01-03T22:23:22.131Z] + bash -s -- [2023-01-03T22:23:22.131Z] + curl -s https://codecov.io/bash [2023-01-03T22:23:22.131Z] [2023-01-03T22:23:22.131Z] _____ _ [2023-01-03T22:23:22.131Z] / ____| | | [2023-01-03T22:23:22.131Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T22:23:22.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T22:23:22.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T22:23:22.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T22:23:22.131Z] Bash-1.0.6 [2023-01-03T22:23:22.131Z] [2023-01-03T22:23:22.131Z] [2023-01-03T22:23:22.131Z] ==> git version 2.25.1 found [2023-01-03T22:23:22.131Z] ==> 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 [2023-01-03T22:23:22.131Z] Release-Date: 2020-01-08 [2023-01-03T22:23:22.131Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T22:23:22.131Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T22:23:22.131Z] ==> Jenkins CI detected. [2023-01-03T22:23:22.131Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2023-01-03T22:23:22.131Z] project root: . [2023-01-03T22:23:22.131Z] --> token set from env [2023-01-03T22:23:22.131Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T22:23:22.132Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T22:23:22.132Z] ==> Python coveragepy not found [2023-01-03T22:23:22.132Z] ==> Searching for coverage reports in: [2023-01-03T22:23:22.132Z] + . [2023-01-03T22:23:22.132Z] -> Found 1 reports [2023-01-03T22:23:22.132Z] ==> Detecting git/mercurial file structure [2023-01-03T22:23:22.132Z] ==> Reading reports [2023-01-03T22:23:22.132Z] + ./coverage.out bytes=79184 [2023-01-03T22:23:22.132Z] ==> Appending adjustments [2023-01-03T22:23:22.132Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T22:23:22.391Z] + Found adjustments [2023-01-03T22:23:22.391Z] ==> Gzipping contents [2023-01-03T22:23:22.391Z] 12K /tmp/codecov.sJBCJW.gz [2023-01-03T22:23:22.391Z] ==> Uploading reports [2023-01-03T22:23:22.391Z] url: https://codecov.io [2023-01-03T22:23:22.391Z] query: branch=PR-125&commit=d5e9855412022031c00f291585c791252adde5ab&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2023-01-03T22:23:22.391Z] -> Pinging Codecov [2023-01-03T22:23:22.391Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=d5e9855412022031c00f291585c791252adde5ab&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2023-01-03T22:23:22.651Z] -> Uploading to [2023-01-03T22:23:22.651Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/F29A59C45E3A92E06B3E522C9905F8EF/d5e9855412022031c00f291585c791252adde5ab/74e4ed72-e200-49de-9673-0bb976414b11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T222322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2264b6e2e28ee1d902a344bceca5d25b984d893a728287d5d8c740f1f02225c [2023-01-03T22:23:22.651Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T22:23:22.651Z] Dload Upload Total Spent Left Speed [2023-01-03T22:23:22.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10885 0 0 100 10885 0 54425 --:--:-- --:--:-- --:--:-- 54425 [2023-01-03T22:23:22.910Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d5e9855412022031c00f291585c791252adde5ab [Pipeline] } [2023-01-03T22:23:22.919Z] 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 [2023-01-03T22:23:23.628Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2023-01-03T22:23:23.628Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2023-01-03T22:23:23.628Z] total 16 [2023-01-03T22:23:23.628Z] drwxr-xr-x 3 root root 4096 Jan 3 22:13 . [2023-01-03T22:23:23.628Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:13 .. [2023-01-03T22:23:23.628Z] drwxr-xr-x 2 root root 4096 Jan 3 22:13 cost [2023-01-03T22:23:23.628Z] -rw-r--r-- 1 root root 92 Jan 3 22:13 cost.csv [2023-01-03T22:23:23.628Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2023-01-03T22:23:23.628Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2023-01-03T22:23:23.628Z] total 16 [2023-01-03T22:23:23.628Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:13 . [2023-01-03T22:23:23.628Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:13 .. [2023-01-03T22:23:23.628Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 22:13 cost [2023-01-03T22:23:23.628Z] -rw-r--r-- 1 jenkins jenkins 92 Jan 3 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:23.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:24.779Z] ---> package-listing.sh [2023-01-03T22:23:24.779Z] ++ facter osfamily [2023-01-03T22:23:24.779Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T22:23:25.038Z] + OS_FAMILY=debian [2023-01-03T22:23:25.038Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2023-01-03T22:23:25.038Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T22:23:25.038Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T22:23:25.038Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T22:23:25.038Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T22:23:25.038Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2023-01-03T22:23:25.038Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T22:23:25.038Z] + case "${OS_FAMILY}" in [2023-01-03T22:23:25.038Z] + dpkg -l [2023-01-03T22:23:25.038Z] + grep '^ii' [2023-01-03T22:23:25.038Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T22:23:25.038Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T22:23:25.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T22:23:25.038Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2023-01-03T22:23:25.038Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2023-01-03T22:23:25.038Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2023-01-03T22:23:25.050Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T22:23:25.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:23:25.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:23:25.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:23:25.966Z] prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container [2023-01-03T22:23:25.997Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T22:23:26.192Z] $ docker top 5b44d8ae8337fdae0bca3f8247eb47a8ebb824cfa94b998cccc49151bc94171b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:23:26.526Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T22:23:26.812Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T22:23:27.095Z] + ls /var/log/sa-host [2023-01-03T22:23:27.095Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:23:27.159Z] provisioning config files... [2023-01-03T22:23:27.167Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5164742950926493402tmp [Pipeline] { [Pipeline] echo [2023-01-03T22:23:27.177Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:27.459Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T22:23:27.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:27.794Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T22:23:27.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:28.082Z] ---> sudo-logs.sh [2023-01-03T22:23:28.082Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T22:23:28.108Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:28.389Z] ---> job-cost.sh [2023-01-03T22:23:28.389Z] lf-activate-venv: SKIPPING [2023-01-03T22:23:28.389Z] DEBUG: total: 0.2199999988079071 [2023-01-03T22:23:28.389Z] INFO: Retrieving Stack Cost... [2023-01-03T22:23:28.959Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T22:23:29.217Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T22:23:29.227Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:23:29.509Z] ---> logs-deploy.sh [2023-01-03T22:23:29.509Z] lf-activate-venv: SKIPPING [2023-01-03T22:23:29.509Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/33 [2023-01-03T22:23:29.509Z] INFO: archiving workspace using pattern(s): [2023-01-03T22:23:30.447Z] Archives upload complete. [2023-01-03T22:23:30.447Z] INFO: archiving logs to Nexus