Pull request #87 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 rather than 6543c3d4b0ed82a5c7b4a76a28052530f97f917f Obtained Jenkinsfile from b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 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-ssh4140082419970427031.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12316892986158737160.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16564473081098788214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11431853997948783694.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1587888332306537480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-ubuntu20.04-docker-8c-8g-16241 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 into PR head commit 6543c3d4b0ed82a5c7b4a76a28052530f97f917f Merge succeeded, producing a1c65607466a9c926394146180c0b10571f46bd4 Checking out Revision a1c65607466a9c926394146180c0b10571f46bd4 (PR-87) > git config core.sparsecheckout # timeout=10 > git checkout -f 6543c3d4b0ed82a5c7b4a76a28052530f97f917f # 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 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1c65607466a9c926394146180c0b10571f46bd4 # timeout=10 Commit message: "Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T17:27:32.935Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T17:27:32.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T17:27:33.009Z] ========================================================= [2022-06-28T17:27:33.010Z] EdgeX Global Pipelines Version Info [2022-06-28T17:27:33.010Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8ee5314b030ddb2f85c196c6e7ac5663bc6f6883 # timeout=10 [2022-06-28T17:27:33.765Z] ------------------- [2022-06-28T17:27:33.765Z] stable info: [2022-06-28T17:27:33.765Z] ------------------- [2022-06-28T17:27:33.765Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T17:27:33.765Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T17:27:33.765Z] Message: update stable to v1.0.234 [2022-06-28T17:27:34.339Z] ------------------- [2022-06-28T17:27:34.339Z] experimental info: [2022-06-28T17:27:34.339Z] ------------------- [2022-06-28T17:27:34.339Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T17:27:34.339Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T17:27:34.339Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T17:27:34.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T17:27:34.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T17:27:34.564Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T17:27:34.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T17:27:34.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T17:27:34.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T17:27:34.619Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T17:27:34.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T17:27:34.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T17:27:34.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T17:27:34.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T17:27:34.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T17:27:34.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T17:27:34.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T17:27:34.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T17:27:34.736Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T17:27:34.753Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T17:27:34.766Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T17:27:34.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T17:27:34.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T17:27:34.801Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T17:27:34.812Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T17:27:34.827Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T17:27:34.839Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T17:27:34.851Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T17:27:34.863Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T17:27:34.875Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T17:27:34.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-28T17:27:34.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-28T17:27:34.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-28T17:27:34.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1c65607466a9c926394146180c0b10571f46bd4 [Pipeline] echo [2022-06-28T17:27:34.941Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1c6560 [Pipeline] echo [2022-06-28T17:27:34.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T17:27:34.986Z] provisioning config files... [2022-06-28T17:27:34.999Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config4033091347715192305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:27:35.303Z] ---> docker-login.sh [2022-06-28T17:27:35.303Z] nexus3.edgexfoundry.org:10001 [2022-06-28T17:27:35.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:35.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:35.565Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:35.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:35.565Z] [2022-06-28T17:27:35.565Z] Login Succeeded [2022-06-28T17:27:35.565Z] nexus3.edgexfoundry.org:10002 [2022-06-28T17:27:35.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:35.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:35.824Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:35.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:35.824Z] [2022-06-28T17:27:35.824Z] Login Succeeded [2022-06-28T17:27:35.824Z] nexus3.edgexfoundry.org:10003 [2022-06-28T17:27:35.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:35.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:35.824Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:35.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:35.824Z] [2022-06-28T17:27:35.824Z] Login Succeeded [2022-06-28T17:27:35.824Z] nexus3.edgexfoundry.org:10004 [2022-06-28T17:27:36.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:36.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:36.085Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:36.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:36.085Z] [2022-06-28T17:27:36.085Z] Login Succeeded [2022-06-28T17:27:36.085Z] docker.io [2022-06-28T17:27:36.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:36.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:36.344Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:36.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:36.344Z] [2022-06-28T17:27:36.344Z] Login Succeeded [2022-06-28T17:27:36.344Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T17:27:36.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T17:27:36.727Z] + git rev-list -1 --merges a1c65607466a9c926394146180c0b10571f46bd4~1..a1c65607466a9c926394146180c0b10571f46bd4 [Pipeline] echo [2022-06-28T17:27:36.739Z] -----------> git rev-list -1 --merges a1c65607466a9c926394146180c0b10571f46bd4~1..a1c65607466a9c926394146180c0b10571f46bd4 a1c65607466a9c926394146180c0b10571f46bd4 [2022-06-28T17:27:36.739Z] a1c65607466a9c926394146180c0b10571f46bd4 [false] [Pipeline] sh [2022-06-28T17:27:37.031Z] + git log --format=format:%s -1 a1c65607466a9c926394146180c0b10571f46bd4 [Pipeline] echo [2022-06-28T17:27:37.044Z] ========================================================= [2022-06-28T17:27:37.044Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T17:27:37.044Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T17:27:37.383Z] + git log --format=format:%s -1 a1c65607466a9c926394146180c0b10571f46bd4 [Pipeline] echo [2022-06-28T17:27:37.396Z] [semverPrep] GIT_COMMIT: a1c65607466a9c926394146180c0b10571f46bd4, Commit Message: Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD [Pipeline] echo [2022-06-28T17:27:37.406Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T17:27:37.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T17:27:37.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T17:27:37.760Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T17:27:37.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T17:27:37.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T17:27:37.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T17:27:37.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:27:38.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T17:27:38.176Z] [2022-06-28T17:27:38.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:27:38.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T17:27:38.478Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T17:27:38.478Z] 42c077c10790: Pulling fs layer [2022-06-28T17:27:38.478Z] f63e77b7563a: Pulling fs layer [2022-06-28T17:27:38.478Z] bd5fdadae976: Pulling fs layer [2022-06-28T17:27:38.478Z] 205491f53016: Pulling fs layer [2022-06-28T17:27:38.478Z] df18705c85c3: Pulling fs layer [2022-06-28T17:27:38.478Z] bdb3f477010e: Pulling fs layer [2022-06-28T17:27:38.478Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T17:27:38.478Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T17:27:38.478Z] bdb8f0575790: Pulling fs layer [2022-06-28T17:27:38.478Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T17:27:38.478Z] 2343380bae48: Pulling fs layer [2022-06-28T17:27:38.478Z] 205491f53016: Waiting [2022-06-28T17:27:38.478Z] bdb3f477010e: Waiting [2022-06-28T17:27:38.478Z] bdb8f0575790: Waiting [2022-06-28T17:27:38.478Z] 386e3cb2ff24: Waiting [2022-06-28T17:27:38.478Z] 2343380bae48: Waiting [2022-06-28T17:27:38.478Z] c8a8fc8e1c8f: Waiting [2022-06-28T17:27:38.478Z] df18705c85c3: Waiting [2022-06-28T17:27:38.478Z] f63e77b7563a: Download complete [2022-06-28T17:27:38.478Z] 205491f53016: Verifying Checksum [2022-06-28T17:27:38.478Z] 205491f53016: Download complete [2022-06-28T17:27:38.478Z] df18705c85c3: Verifying Checksum [2022-06-28T17:27:38.478Z] df18705c85c3: Download complete [2022-06-28T17:27:38.737Z] bdb3f477010e: Verifying Checksum [2022-06-28T17:27:38.737Z] bdb3f477010e: Download complete [2022-06-28T17:27:38.737Z] bd5fdadae976: Verifying Checksum [2022-06-28T17:27:38.737Z] bd5fdadae976: Download complete [2022-06-28T17:27:38.737Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T17:27:38.737Z] 2c6e9b1d212d: Download complete [2022-06-28T17:27:38.737Z] bdb8f0575790: Download complete [2022-06-28T17:27:38.737Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T17:27:38.737Z] 386e3cb2ff24: Download complete [2022-06-28T17:27:38.737Z] 2343380bae48: Download complete [2022-06-28T17:27:38.737Z] 42c077c10790: Verifying Checksum [2022-06-28T17:27:38.737Z] 42c077c10790: Download complete [2022-06-28T17:27:38.997Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-28T17:27:38.997Z] c8a8fc8e1c8f: Download complete [2022-06-28T17:27:39.936Z] 42c077c10790: Pull complete [2022-06-28T17:27:40.195Z] f63e77b7563a: Pull complete [2022-06-28T17:27:40.455Z] bd5fdadae976: Pull complete [2022-06-28T17:27:40.714Z] 205491f53016: Pull complete [2022-06-28T17:27:40.973Z] df18705c85c3: Pull complete [2022-06-28T17:27:40.973Z] bdb3f477010e: Pull complete [2022-06-28T17:27:42.880Z] c8a8fc8e1c8f: Pull complete [2022-06-28T17:27:42.880Z] 2c6e9b1d212d: Pull complete [2022-06-28T17:27:42.880Z] bdb8f0575790: Pull complete [2022-06-28T17:27:42.880Z] 386e3cb2ff24: Pull complete [2022-06-28T17:27:42.880Z] 2343380bae48: Pull complete [2022-06-28T17:27:42.880Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T17:27:42.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T17:27:42.881Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:27:42.978Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2022-06-28T17:27:43.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T17:27:44.343Z] $ docker top 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T17:27:44.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T17:27:44.465Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T17:27:44.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T17:27:44.587Z] $ docker exec 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d ssh-agent [2022-06-28T17:27:44.720Z] SSH_AUTH_SOCK=/tmp/ssh-mtJakgA9wTXL/agent.33 [2022-06-28T17:27:44.720Z] SSH_AGENT_PID=40 [2022-06-28T17:27:44.725Z] Running ssh-add (command line suppressed) [2022-06-28T17:27:44.845Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_6557591111424094084.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_6557591111424094084.key) [2022-06-28T17:27:44.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T17:27:45.159Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T17:27:45.175Z] $ docker exec --env ******** --env ******** 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d ssh-agent -k [2022-06-28T17:27:45.285Z] unset SSH_AUTH_SOCK; [2022-06-28T17:27:45.285Z] unset SSH_AGENT_PID; [2022-06-28T17:27:45.285Z] echo Agent pid 40 killed; [2022-06-28T17:27:45.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T17:27:45.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T17:27:45.326Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T17:27:45.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T17:27:45.439Z] $ docker exec 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d ssh-agent [2022-06-28T17:27:45.555Z] SSH_AUTH_SOCK=/tmp/ssh-xw8GEygJuxi7/agent.72 [2022-06-28T17:27:45.555Z] SSH_AGENT_PID=78 [2022-06-28T17:27:45.559Z] Running ssh-add (command line suppressed) [2022-06-28T17:27:45.654Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8376550865734367610.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8376550865734367610.key) [2022-06-28T17:27:45.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T17:27:45.971Z] + git semver init [2022-06-28T17:27:46.231Z] 2022-06-28 17:27:46,145 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T17:27:46.231Z] 2022-06-28 17:27:46,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-28T17:27:46.231Z] 2022-06-28 17:27:46,146 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-28T17:27:46.232Z] 2022-06-28 17:27:46,147 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-28T17:27:47.172Z] 2022-06-28 17:27:46,839 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-28T17:27:47.172Z] 2022-06-28 17:27:46,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-28T17:27:47.172Z] 2022-06-28 17:27:46,839 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-28T17:27:47.172Z] 2022-06-28 17:27:46,843 [execute] INFO git cat-file --batch-check [2022-06-28T17:27:47.172Z] 2022-06-28 17:27:46,844 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T17:27:47.173Z] 2022-06-28 17:27:46,849 [execute] INFO git cat-file --batch [2022-06-28T17:27:47.173Z] 2022-06-28 17:27:46,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T17:27:47.173Z] 2022-06-28 17:27:46,854 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-28T17:27:47.173Z] 0.0.0 [Pipeline] } [2022-06-28T17:27:47.181Z] $ docker exec --env ******** --env ******** 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d ssh-agent -k [2022-06-28T17:27:47.292Z] unset SSH_AUTH_SOCK; [2022-06-28T17:27:47.292Z] unset SSH_AGENT_PID; [2022-06-28T17:27:47.292Z] echo Agent pid 78 killed; [2022-06-28T17:27:47.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T17:27:47.615Z] + git semver [Pipeline] } [2022-06-28T17:27:47.884Z] $ docker stop --time=1 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d [2022-06-28T17:27:49.205Z] $ docker rm -f 1335b5d61623308d14edde11bae400ecf654e6b90e047371939eab54708b9e8d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T17:27:49.592Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T17:27:49.823Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T17:27:49.825Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T17:27:49.969Z] provisioning config files... [2022-06-28T17:27:49.979Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config6291357839912943024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:27:50.065Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16247 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-28T17:27:50.077Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-06-28T17:27:50.100Z] Selected Git installation does not exist. Using Default [2022-06-28T17:27:50.101Z] The recommended git tool is: NONE [2022-06-28T17:27:50.279Z] ---> docker-login.sh [2022-06-28T17:27:50.279Z] nexus3.edgexfoundry.org:10001 [2022-06-28T17:27:50.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:50.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:50.279Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:50.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:50.279Z] [2022-06-28T17:27:50.279Z] Login Succeeded [2022-06-28T17:27:50.279Z] nexus3.edgexfoundry.org:10002 [2022-06-28T17:27:50.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:50.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:50.540Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:50.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:50.540Z] [2022-06-28T17:27:50.540Z] Login Succeeded [2022-06-28T17:27:50.540Z] nexus3.edgexfoundry.org:10003 [2022-06-28T17:27:50.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:50.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:50.540Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:50.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:50.540Z] [2022-06-28T17:27:50.540Z] Login Succeeded [2022-06-28T17:27:50.540Z] nexus3.edgexfoundry.org:10004 [2022-06-28T17:27:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:50.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:50.800Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:50.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:50.800Z] [2022-06-28T17:27:50.800Z] Login Succeeded [2022-06-28T17:27:50.800Z] docker.io [2022-06-28T17:27:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:27:51.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:27:51.062Z] Configure a credential helper to remove this warning. See [2022-06-28T17:27:51.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:27:51.062Z] [2022-06-28T17:27:51.062Z] Login Succeeded [2022-06-28T17:27:51.062Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T17:27:51.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T17:27:51.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T17:27:51.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T17:27:51.165Z] ========================================================= [2022-06-28T17:27:51.165Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T17:27:51.165Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:27:51.482Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T17:27:51.482Z] Sending build context to Docker daemon 8.863MB [2022-06-28T17:27:51.482Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T17:27:51.482Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T17:27:51.482Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T17:27:51.482Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T17:27:51.482Z] 666ba61612fd: Pulling fs layer [2022-06-28T17:27:51.482Z] 8ed8ca486205: Pulling fs layer [2022-06-28T17:27:51.482Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T17:27:51.482Z] c516ae0d96e1: Pulling fs layer [2022-06-28T17:27:51.482Z] 684cea983483: Pulling fs layer [2022-06-28T17:27:51.482Z] dd3240ac7de5: Pulling fs layer [2022-06-28T17:27:51.482Z] b1e948a4e11c: Pulling fs layer [2022-06-28T17:27:51.482Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T17:27:51.482Z] cc1cd167ecdc: Waiting [2022-06-28T17:27:51.482Z] 646ad004c059: Pulling fs layer [2022-06-28T17:27:51.482Z] c516ae0d96e1: Waiting [2022-06-28T17:27:51.482Z] 684cea983483: Waiting [2022-06-28T17:27:51.482Z] dd3240ac7de5: Waiting [2022-06-28T17:27:51.482Z] a8fd76ee1af6: Waiting [2022-06-28T17:27:51.482Z] b1e948a4e11c: Waiting [2022-06-28T17:27:51.482Z] 8ed8ca486205: Verifying Checksum [2022-06-28T17:27:51.482Z] 8ed8ca486205: Download complete [2022-06-28T17:27:51.482Z] 666ba61612fd: Verifying Checksum [2022-06-28T17:27:51.482Z] 666ba61612fd: Download complete [2022-06-28T17:27:51.743Z] c516ae0d96e1: Download complete [2022-06-28T17:27:51.743Z] 684cea983483: Verifying Checksum [2022-06-28T17:27:51.743Z] 684cea983483: Download complete [2022-06-28T17:27:51.743Z] dd3240ac7de5: Verifying Checksum [2022-06-28T17:27:51.743Z] dd3240ac7de5: Download complete [2022-06-28T17:27:51.743Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T17:27:51.743Z] b1e948a4e11c: Verifying Checksum [2022-06-28T17:27:51.743Z] b1e948a4e11c: Download complete [2022-06-28T17:27:51.743Z] 59bf1c3509f3: Pull complete [2022-06-28T17:27:52.007Z] 666ba61612fd: Pull complete [2022-06-28T17:27:52.007Z] 8ed8ca486205: Pull complete [2022-06-28T17:27:52.268Z] 646ad004c059: Verifying Checksum [2022-06-28T17:27:52.269Z] 646ad004c059: Download complete [2022-06-28T17:27:52.269Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T17:27:52.269Z] a8fd76ee1af6: Download complete [2022-06-28T17:27:52.269Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T17:27:52.269Z] cc1cd167ecdc: Download complete [2022-06-28T17:27:54.382Z] using credential edgex-jenkins-ssh [2022-06-28T17:27:54.402Z] Cloning the remote Git repository [2022-06-28T17:27:54.483Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T17:27:54.558Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-06-28T17:27:54.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T17:27:54.652Z] > git --version # timeout=10 [2022-06-28T17:27:54.670Z] > git --version # 'git version 2.25.1' [2022-06-28T17:27:54.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T17:27:54.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T17:27:55.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T17:27:55.684Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T17:27:55.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T17:27:55.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T17:27:55.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T17:27:55.758Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-28T17:27:56.248Z] Merging remotes/origin/main commit b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 into PR head commit 6543c3d4b0ed82a5c7b4a76a28052530f97f917f [2022-06-28T17:27:56.458Z] cc1cd167ecdc: Pull complete [2022-06-28T17:27:56.458Z] c516ae0d96e1: Pull complete [2022-06-28T17:27:56.458Z] 684cea983483: Pull complete [2022-06-28T17:27:56.458Z] dd3240ac7de5: Pull complete [2022-06-28T17:27:56.458Z] b1e948a4e11c: Pull complete [2022-06-28T17:27:56.644Z] Merge succeeded, producing d52b3279de4d5a1a11de2b80528bef128d39226f [2022-06-28T17:27:56.645Z] Checking out Revision d52b3279de4d5a1a11de2b80528bef128d39226f (PR-87) [2022-06-28T17:27:56.287Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T17:27:56.303Z] > git checkout -f 6543c3d4b0ed82a5c7b4a76a28052530f97f917f # timeout=10 [2022-06-28T17:27:56.432Z] > git remote # timeout=10 [2022-06-28T17:27:56.447Z] > git config --get remote.origin.url # timeout=10 [2022-06-28T17:27:56.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T17:27:56.472Z] > git merge b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 [2022-06-28T17:27:56.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-28T17:27:56.673Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T17:27:56.685Z] > git checkout -f d52b3279de4d5a1a11de2b80528bef128d39226f # timeout=10 [2022-06-28T17:27:58.364Z] a8fd76ee1af6: Pull complete [2022-06-28T17:27:58.935Z] 646ad004c059: Pull complete [2022-06-28T17:27:58.935Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T17:27:58.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T17:27:58.935Z] ---> 8f69c11f6b0c [2022-06-28T17:27:58.935Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T17:28:00.840Z] ---> Running in a40c07858953 [2022-06-28T17:28:00.840Z] Removing intermediate container a40c07858953 [2022-06-28T17:28:00.840Z] ---> 92403c3c6539 [2022-06-28T17:28:00.840Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T17:28:00.840Z] ---> Running in 103c047964ae [2022-06-28T17:28:00.840Z] Removing intermediate container 103c047964ae [2022-06-28T17:28:00.840Z] ---> a7a1cc70a73e [2022-06-28T17:28:00.840Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T17:28:00.840Z] ---> Running in affb9259c887 [2022-06-28T17:28:00.840Z] Removing intermediate container affb9259c887 [2022-06-28T17:28:00.840Z] ---> 740281b73e6b [2022-06-28T17:28:00.840Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T17:28:00.840Z] ---> Running in 6976b58b74f4 [2022-06-28T17:28:01.068Z] Commit message: "Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD" [2022-06-28T17:28:01.097Z] First time build. Skipping changelog. [2022-06-28T17:28:01.105Z] Removing intermediate container 6976b58b74f4 [2022-06-28T17:28:01.105Z] ---> 759f58f4886d [2022-06-28T17:28:01.105Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T17:28:01.105Z] ---> Running in 2f505f000bfc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-06-28T17:28:01.098Z] > git rev-list --no-walk 8ee5314b030ddb2f85c196c6e7ac5663bc6f6883 # timeout=10 [Pipeline] sh [2022-06-28T17:28:01.674Z] Removing intermediate container 2f505f000bfc [2022-06-28T17:28:01.674Z] ---> f8aacac64c3f [2022-06-28T17:28:01.674Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T17:28:01.674Z] ---> Running in 4c43172fdb90 [2022-06-28T17:28:01.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T17:28:02.102Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T17:28:02.102Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T17:28:02.102Z] Dload Upload Total Spent Left Speed [2022-06-28T17:28:02.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh [2022-06-28T17:28:02.778Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T17:28:02.872Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T17:28:03.136Z] OK: 221 MiB in 52 packages [2022-06-28T17:28:03.142Z] + sudo tee /etc/docker/daemon.new [2022-06-28T17:28:03.142Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T17:28:03.142Z] { [2022-06-28T17:28:03.142Z] "registry-mirrors": [ [2022-06-28T17:28:03.142Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T17:28:03.142Z] ], [2022-06-28T17:28:03.142Z] "bip": "10.250.0.254/24", [2022-06-28T17:28:03.142Z] "hosts": [ [2022-06-28T17:28:03.142Z] "tcp://0.0.0.0:5555", [2022-06-28T17:28:03.142Z] "unix:///var/run/docker.sock" [2022-06-28T17:28:03.142Z] ], [2022-06-28T17:28:03.142Z] "mtu": 1458, [2022-06-28T17:28:03.142Z] "selinux-enabled": true, [2022-06-28T17:28:03.142Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T17:28:03.142Z] } [Pipeline] sh [2022-06-28T17:28:03.397Z] Removing intermediate container 4c43172fdb90 [2022-06-28T17:28:03.397Z] ---> 6693ed319ee7 [2022-06-28T17:28:03.397Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T17:28:03.479Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T17:28:03.657Z] ---> Running in 769a1f23b91f [2022-06-28T17:28:03.657Z] Removing intermediate container 769a1f23b91f [2022-06-28T17:28:03.657Z] ---> 1aab158b333f [2022-06-28T17:28:03.657Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T17:28:03.657Z] ---> 59bc293322ab [2022-06-28T17:28:03.657Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T17:28:03.820Z] + sudo service docker restart [2022-06-28T17:28:03.917Z] ---> Running in abdf47b3c363 [2022-06-28T17:28:18.840Z] Removing intermediate container abdf47b3c363 [2022-06-28T17:28:18.840Z] ---> acf19bd4c08d [2022-06-28T17:28:18.840Z] Step 12/13 : COPY . . [2022-06-28T17:28:19.101Z] ---> 9c40f673f41d [2022-06-28T17:28:19.101Z] Step 13/13 : RUN ${MAKE} [2022-06-28T17:28:19.101Z] ---> Running in 0cb70b46c986 [2022-06-28T17:28:19.363Z] noop [2022-06-28T17:28:19.624Z] Removing intermediate container 0cb70b46c986 [2022-06-28T17:28:19.624Z] ---> 77a79e11d0e8 [2022-06-28T17:28:19.624Z] Successfully built 77a79e11d0e8 [2022-06-28T17:28:19.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:28:19.955Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T17:28:19.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:28:20.031Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2022-06-28T17:28:20.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T17:28:20.429Z] $ docker top db021d11bc5c1006a2841e4b67a6d7a8306a2ae85f97da57b02b1ee8170fc841 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T17:28:20.792Z] + go version [2022-06-28T17:28:20.792Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T17:28:20.801Z] $ docker stop --time=1 db021d11bc5c1006a2841e4b67a6d7a8306a2ae85f97da57b02b1ee8170fc841 [2022-06-28T17:28:22.072Z] $ docker rm -f db021d11bc5c1006a2841e4b67a6d7a8306a2ae85f97da57b02b1ee8170fc841 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] configFileProvider [2022-06-28T17:28:22.176Z] provisioning config files... [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2022-06-28T17:28:22.216Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config6898498611214183183tmp [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:28:22.504Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T17:28:22.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:28:22.581Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2022-06-28T17:28:22.604Z] ---> docker-login.sh [2022-06-28T17:28:22.604Z] nexus3.edgexfoundry.org:10001 [2022-06-28T17:28:22.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T17:28:22.980Z] $ docker top e40848e5e82be8048c8294dc05529c77a5ecd24f9d9c7c6496e3bac18ec88027 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T17:28:23.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:28:23.349Z] + make test [2022-06-28T17:28:23.349Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T17:28:23.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:28:23.478Z] Configure a credential helper to remove this warning. See [2022-06-28T17:28:23.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:28:23.478Z] [2022-06-28T17:28:23.478Z] Login Succeeded [2022-06-28T17:28:23.478Z] nexus3.edgexfoundry.org:10002 [2022-06-28T17:28:23.609Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T17:28:23.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:28:23.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:28:23.761Z] Configure a credential helper to remove this warning. See [2022-06-28T17:28:23.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:28:23.761Z] [2022-06-28T17:28:23.761Z] Login Succeeded [2022-06-28T17:28:24.040Z] nexus3.edgexfoundry.org:10003 [2022-06-28T17:28:24.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:28:24.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:28:24.314Z] Configure a credential helper to remove this warning. See [2022-06-28T17:28:24.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:28:24.314Z] [2022-06-28T17:28:24.314Z] Login Succeeded [2022-06-28T17:28:24.314Z] nexus3.edgexfoundry.org:10004 [2022-06-28T17:28:24.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:28:24.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:28:24.862Z] Configure a credential helper to remove this warning. See [2022-06-28T17:28:24.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:28:24.862Z] [2022-06-28T17:28:24.862Z] Login Succeeded [2022-06-28T17:28:24.862Z] docker.io [2022-06-28T17:28:25.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T17:28:25.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T17:28:25.408Z] Configure a credential helper to remove this warning. See [2022-06-28T17:28:25.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T17:28:25.408Z] [2022-06-28T17:28:25.408Z] Login Succeeded [2022-06-28T17:28:25.408Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T17:28:25.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T17:28:25.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T17:28:25.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T17:28:25.707Z] ========================================================= [2022-06-28T17:28:25.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T17:28:25.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:28:26.063Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T17:28:26.337Z] Sending build context to Docker daemon 6.064MB [2022-06-28T17:28:26.612Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T17:28:26.612Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T17:28:26.612Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T17:28:26.612Z] 9b3977197b4f: Pulling fs layer [2022-06-28T17:28:26.612Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T17:28:26.612Z] 94645a83ff95: Pulling fs layer [2022-06-28T17:28:26.612Z] e6fb740bc735: Pulling fs layer [2022-06-28T17:28:26.612Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T17:28:26.612Z] 355e64cbe906: Pulling fs layer [2022-06-28T17:28:26.612Z] 63ab81a10011: Pulling fs layer [2022-06-28T17:28:26.612Z] 555d1d1c4555: Pulling fs layer [2022-06-28T17:28:26.612Z] 7d9057610161: Pulling fs layer [2022-06-28T17:28:26.612Z] 355e64cbe906: Waiting [2022-06-28T17:28:26.612Z] 63ab81a10011: Waiting [2022-06-28T17:28:26.612Z] e6fb740bc735: Waiting [2022-06-28T17:28:26.612Z] 3a77bd46dcc9: Waiting [2022-06-28T17:28:26.612Z] 555d1d1c4555: Waiting [2022-06-28T17:28:26.612Z] 7d9057610161: Waiting [2022-06-28T17:28:26.612Z] 94645a83ff95: Verifying Checksum [2022-06-28T17:28:26.612Z] 94645a83ff95: Download complete [2022-06-28T17:28:26.612Z] 1a89e8eeedd5: Download complete [2022-06-28T17:28:26.612Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T17:28:26.612Z] 3a77bd46dcc9: Download complete [2022-06-28T17:28:26.612Z] 355e64cbe906: Verifying Checksum [2022-06-28T17:28:26.612Z] 355e64cbe906: Download complete [2022-06-28T17:28:26.612Z] 9b3977197b4f: Download complete [2022-06-28T17:28:26.886Z] 63ab81a10011: Download complete [2022-06-28T17:28:27.874Z] 9b3977197b4f: Pull complete [2022-06-28T17:28:27.874Z] 7d9057610161: Verifying Checksum [2022-06-28T17:28:27.874Z] 7d9057610161: Download complete [2022-06-28T17:28:28.476Z] 1a89e8eeedd5: Pull complete [2022-06-28T17:28:28.750Z] 94645a83ff95: Pull complete [2022-06-28T17:28:28.750Z] 555d1d1c4555: Verifying Checksum [2022-06-28T17:28:28.750Z] 555d1d1c4555: Download complete [2022-06-28T17:28:29.737Z] e6fb740bc735: Verifying Checksum [2022-06-28T17:28:29.738Z] e6fb740bc735: Download complete [2022-06-28T17:28:33.590Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T17:28:33.590Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 5.8% of statements [2022-06-28T17:28:36.892Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.013s coverage: 13.8% of statements [2022-06-28T17:28:42.158Z] e6fb740bc735: Pull complete [2022-06-28T17:28:42.158Z] 3a77bd46dcc9: Pull complete [2022-06-28T17:28:42.158Z] 355e64cbe906: Pull complete [2022-06-28T17:28:42.158Z] 63ab81a10011: Pull complete [2022-06-28T17:28:43.467Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T17:28:47.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T17:28:47.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T17:28:47.927Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T17:28:48.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T17:28:48.526Z] $ docker stop --time=1 e40848e5e82be8048c8294dc05529c77a5ecd24f9d9c7c6496e3bac18ec88027 [2022-06-28T17:28:48.884Z] 555d1d1c4555: Pull complete [2022-06-28T17:28:50.278Z] $ docker rm -f e40848e5e82be8048c8294dc05529c77a5ecd24f9d9c7c6496e3bac18ec88027 [2022-06-28T17:28:50.321Z] 7d9057610161: Pull complete [2022-06-28T17:28:50.321Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T17:28:50.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T17:28:50.321Z] ---> 819e984ddca1 [2022-06-28T17:28:50.321Z] Step 3/13 : ARG MAKE="make build" [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T17:28:50.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T17:28:50.800Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T17:28:51.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T17:28:51.607Z] + ls -al . [2022-06-28T17:28:51.607Z] total 240 [2022-06-28T17:28:51.607Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 17:28 . [2022-06-28T17:28:51.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 .. [2022-06-28T17:28:51.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 17:27 .git [2022-06-28T17:28:51.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 17:27 .github [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 17:27 .gitignore [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 17:27 .golangci.yml [2022-06-28T17:28:51.607Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 17:27 .semver [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 17:27 Attribution.txt [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 17:27 CHANGELOG.md [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 17:27 Dockerfile [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 17:27 GOVERNANCE.md [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 17:27 Jenkinsfile [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 17:27 LICENSE [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 17:27 Makefile [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 17:27 OWNERS.md [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 17:27 README.md [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 17:27 VERSION [2022-06-28T17:28:51.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 17:27 bin [2022-06-28T17:28:51.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 17:27 cmd [2022-06-28T17:28:51.607Z] -rw-r--r-- 1 jenkins jenkins 64612 Jun 28 17:28 coverage.out [2022-06-28T17:28:51.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 doc [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 17:27 go.mod [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 17:27 go.sum [2022-06-28T17:28:51.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 internal [2022-06-28T17:28:51.607Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:28:51.919Z] + 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=a1c65607466a9c926394146180c0b10571f46bd4 --label arch=amd64 --label version=0.0.0 . [2022-06-28T17:28:51.919Z] Sending build context to Docker daemon 8.929MB [2022-06-28T17:28:51.919Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T17:28:51.919Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T17:28:51.919Z] ---> 77a79e11d0e8 [2022-06-28T17:28:51.920Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T17:28:51.920Z] ---> Running in 9a2810c3daab [2022-06-28T17:28:52.181Z] Removing intermediate container 9a2810c3daab [2022-06-28T17:28:52.181Z] ---> 1a1bd1f43d8c [2022-06-28T17:28:52.181Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T17:28:52.181Z] ---> Running in 05fe4770ac00 [2022-06-28T17:28:52.181Z] Removing intermediate container 05fe4770ac00 [2022-06-28T17:28:52.181Z] ---> 3e8883ca06f9 [2022-06-28T17:28:52.181Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T17:28:52.302Z] ---> Running in f1216ae29be2 [2022-06-28T17:28:52.302Z] Removing intermediate container f1216ae29be2 [2022-06-28T17:28:52.302Z] ---> e3e2ff06c9bd [2022-06-28T17:28:52.302Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T17:28:52.302Z] ---> Running in 582fa438b1be [2022-06-28T17:28:52.441Z] ---> Running in 5cf0a5553c45 [2022-06-28T17:28:52.441Z] Removing intermediate container 5cf0a5553c45 [2022-06-28T17:28:52.441Z] ---> 3a79e436230e [2022-06-28T17:28:52.441Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T17:28:52.441Z] ---> Running in eb73badaed28 [2022-06-28T17:28:52.441Z] Removing intermediate container eb73badaed28 [2022-06-28T17:28:52.441Z] ---> 81822992585a [2022-06-28T17:28:52.441Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T17:28:52.577Z] Removing intermediate container 582fa438b1be [2022-06-28T17:28:52.577Z] ---> d6c5a0735df8 [2022-06-28T17:28:52.577Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T17:28:52.577Z] ---> Running in a18efe5a9eef [2022-06-28T17:28:52.700Z] ---> Running in 19c7dc92e341 [2022-06-28T17:28:52.852Z] Removing intermediate container a18efe5a9eef [2022-06-28T17:28:52.852Z] ---> f77f460a9c3e [2022-06-28T17:28:52.852Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T17:28:53.135Z] ---> Running in e80c592406cb [2022-06-28T17:28:53.268Z] Removing intermediate container 19c7dc92e341 [2022-06-28T17:28:53.268Z] ---> 20261a18129e [2022-06-28T17:28:53.268Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T17:28:53.268Z] ---> Running in 25883f46ddf3 [2022-06-28T17:28:53.417Z] Removing intermediate container e80c592406cb [2022-06-28T17:28:53.417Z] ---> 391447fc44c9 [2022-06-28T17:28:53.417Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T17:28:53.417Z] ---> Running in 92ce281255b7 [2022-06-28T17:28:53.527Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T17:28:54.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T17:28:54.666Z] OK: 221 MiB in 52 packages [2022-06-28T17:28:54.926Z] Removing intermediate container 25883f46ddf3 [2022-06-28T17:28:54.926Z] ---> 8f58dabe2043 [2022-06-28T17:28:54.926Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T17:28:54.926Z] ---> Running in 74460b47071a [2022-06-28T17:28:54.926Z] Removing intermediate container 74460b47071a [2022-06-28T17:28:54.926Z] ---> 25271e99c171 [2022-06-28T17:28:54.926Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T17:28:55.187Z] ---> 456ffb146761 [2022-06-28T17:28:55.187Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T17:28:55.187Z] ---> Running in 4a167a0748c8 [2022-06-28T17:28:55.415Z] Removing intermediate container 92ce281255b7 [2022-06-28T17:28:55.415Z] ---> a0fe17213b7c [2022-06-28T17:28:55.415Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T17:28:55.415Z] ---> Running in bf17e66351c0 [2022-06-28T17:28:55.757Z] Removing intermediate container 4a167a0748c8 [2022-06-28T17:28:55.757Z] ---> cebf95165365 [2022-06-28T17:28:55.757Z] Step 12/26 : COPY . . [2022-06-28T17:28:56.017Z] ---> d8f4b821c2e7 [2022-06-28T17:28:56.017Z] Step 13/26 : RUN ${MAKE} [2022-06-28T17:28:56.017Z] ---> Running in 8661fc9da7ab [2022-06-28T17:28:56.397Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T17:28:56.588Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T17:28:56.990Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T17:28:57.968Z] OK: 220 MiB in 52 packages [2022-06-28T17:28:58.578Z] Removing intermediate container bf17e66351c0 [2022-06-28T17:28:58.578Z] ---> 13d15e09a225 [2022-06-28T17:28:58.578Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T17:28:58.872Z] ---> Running in be75b0dcaa2f [2022-06-28T17:28:59.149Z] Removing intermediate container be75b0dcaa2f [2022-06-28T17:28:59.149Z] ---> 362e1e29afcc [2022-06-28T17:28:59.149Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T17:28:59.423Z] ---> 2b10ae873684 [2022-06-28T17:28:59.423Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T17:28:59.704Z] ---> Running in c3fc1beb6c32 [2022-06-28T17:29:18.652Z] Removing intermediate container 8661fc9da7ab [2022-06-28T17:29:18.652Z] ---> a63e12e65e80 [2022-06-28T17:29:18.652Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T17:29:18.652Z] 3.15: Pulling from library/alpine [2022-06-28T17:29:18.652Z] df9b9388f04a: Pulling fs layer [2022-06-28T17:29:18.652Z] df9b9388f04a: Verifying Checksum [2022-06-28T17:29:18.652Z] df9b9388f04a: Download complete [2022-06-28T17:29:18.652Z] df9b9388f04a: Pull complete [2022-06-28T17:29:18.652Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T17:29:18.652Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T17:29:18.652Z] ---> 0ac33e5f5afa [2022-06-28T17:29:18.652Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T17:29:18.652Z] ---> Running in 02999f5582f3 [2022-06-28T17:29:18.652Z] Removing intermediate container 02999f5582f3 [2022-06-28T17:29:18.652Z] ---> b6c2ec7dfe0b [2022-06-28T17:29:18.652Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T17:29:18.652Z] ---> Running in b9053c8cf6f3 [2022-06-28T17:29:18.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T17:29:18.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T17:29:18.652Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T17:29:18.652Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T17:29:18.652Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T17:29:18.652Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T17:29:18.652Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T17:29:18.652Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T17:29:18.652Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T17:29:18.652Z] OK: 8 MiB in 20 packages [2022-06-28T17:29:18.652Z] Removing intermediate container b9053c8cf6f3 [2022-06-28T17:29:18.652Z] ---> 593ca98258bb [2022-06-28T17:29:18.652Z] Step 17/26 : WORKDIR / [2022-06-28T17:29:18.652Z] ---> Running in 48be66faa5d6 [2022-06-28T17:29:18.652Z] Removing intermediate container 48be66faa5d6 [2022-06-28T17:29:18.652Z] ---> 3608bab5b512 [2022-06-28T17:29:18.652Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T17:29:18.652Z] ---> bfc169f9ffc5 [2022-06-28T17:29:18.652Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T17:29:18.652Z] ---> 16edb028e5a7 [2022-06-28T17:29:18.652Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T17:29:18.652Z] ---> 72647320866f [2022-06-28T17:29:18.652Z] Step 21/26 : EXPOSE 59984 [2022-06-28T17:29:18.652Z] ---> Running in 8f425ca292a3 [2022-06-28T17:29:18.652Z] Removing intermediate container 8f425ca292a3 [2022-06-28T17:29:18.652Z] ---> f54eadbb2d8e [2022-06-28T17:29:18.652Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T17:29:18.652Z] ---> Running in b7b34eb17d6e [2022-06-28T17:29:18.652Z] Removing intermediate container b7b34eb17d6e [2022-06-28T17:29:18.652Z] ---> ad66a6c88f01 [2022-06-28T17:29:18.652Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T17:29:18.652Z] ---> Running in 6b1ce9b75241 [2022-06-28T17:29:18.652Z] Removing intermediate container 6b1ce9b75241 [2022-06-28T17:29:18.652Z] ---> 6a807f31fae5 [2022-06-28T17:29:18.652Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T17:29:18.919Z] ---> Running in 3631d551181e [2022-06-28T17:29:18.919Z] Removing intermediate container 3631d551181e [2022-06-28T17:29:18.919Z] ---> 1668ef81dc70 [2022-06-28T17:29:18.919Z] Step 25/26 : LABEL git_sha=a1c65607466a9c926394146180c0b10571f46bd4 [2022-06-28T17:29:18.919Z] ---> Running in 9ba4e645ac7a [2022-06-28T17:29:18.919Z] Removing intermediate container 9ba4e645ac7a [2022-06-28T17:29:18.919Z] ---> aba4e64bf20e [2022-06-28T17:29:18.919Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T17:29:19.181Z] ---> Running in 9e6e231df977 [2022-06-28T17:29:19.181Z] Removing intermediate container 9e6e231df977 [2022-06-28T17:29:19.181Z] ---> 4b68c12e9714 [2022-06-28T17:29:19.181Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T17:29:19.181Z] Successfully built 4b68c12e9714 [2022-06-28T17:29:19.181Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:29:19.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T17:29:19.659Z] [2022-06-28T17:29:19.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:29:19.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T17:29:19.961Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T17:29:19.961Z] 5eb5b503b376: Pulling fs layer [2022-06-28T17:29:19.961Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T17:29:19.961Z] ec43610c2a17: Pulling fs layer [2022-06-28T17:29:19.961Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T17:29:19.961Z] 33b1e0a273af: Pulling fs layer [2022-06-28T17:29:19.961Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T17:29:19.961Z] 2f39f015ded8: Pulling fs layer [2022-06-28T17:29:19.961Z] 33b1e0a273af: Waiting [2022-06-28T17:29:19.961Z] 5d3b04190fa2: Waiting [2022-06-28T17:29:19.961Z] 2f39f015ded8: Waiting [2022-06-28T17:29:19.961Z] 3a2ae6a8a46f: Waiting [2022-06-28T17:29:19.961Z] 5c69ac0246d0: Download complete [2022-06-28T17:29:19.961Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T17:29:19.961Z] 3a2ae6a8a46f: Download complete [2022-06-28T17:29:19.961Z] ec43610c2a17: Verifying Checksum [2022-06-28T17:29:19.961Z] ec43610c2a17: Download complete [2022-06-28T17:29:19.961Z] 33b1e0a273af: Verifying Checksum [2022-06-28T17:29:19.961Z] 33b1e0a273af: Download complete [2022-06-28T17:29:19.961Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T17:29:19.961Z] 5d3b04190fa2: Download complete [2022-06-28T17:29:20.222Z] 5eb5b503b376: Verifying Checksum [2022-06-28T17:29:20.222Z] 5eb5b503b376: Download complete [2022-06-28T17:29:20.793Z] 2f39f015ded8: Download complete [2022-06-28T17:29:21.362Z] 5eb5b503b376: Pull complete [2022-06-28T17:29:21.623Z] 5c69ac0246d0: Pull complete [2022-06-28T17:29:22.195Z] ec43610c2a17: Pull complete [2022-06-28T17:29:22.195Z] 3a2ae6a8a46f: Pull complete [2022-06-28T17:29:22.455Z] 33b1e0a273af: Pull complete [2022-06-28T17:29:22.455Z] 5d3b04190fa2: Pull complete [2022-06-28T17:29:26.653Z] 2f39f015ded8: Pull complete [2022-06-28T17:29:26.653Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T17:29:26.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T17:29:26.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:29:26.745Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2022-06-28T17:29:26.773Z] $ 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/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T17:29:28.407Z] $ docker top 99ed48ff3ab73d43b15e0a6f251d4c8e4fc326c4a99a2159011e8eaf002472c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:29:28.818Z] ---> job-cost.sh [2022-06-28T17:29:28.818Z] lf-activate-venv: SKIPPING [2022-06-28T17:29:28.818Z] INFO: No Stack... [2022-06-28T17:29:29.762Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T17:29:30.022Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T17:29:30.317Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-28T17:29:30.317Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T17:29:30.333Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [2022-06-28T17:29:30.340Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] did not exist. Created. [2022-06-28T17:29:30.340Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T17:29:30.641Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T17:29:30.672Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T17:29:30.680Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T17:29:30.696Z] $ docker stop --time=1 99ed48ff3ab73d43b15e0a6f251d4c8e4fc326c4a99a2159011e8eaf002472c1 [2022-06-28T17:29:31.864Z] $ docker rm -f 99ed48ff3ab73d43b15e0a6f251d4c8e4fc326c4a99a2159011e8eaf002472c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T17:29:46.707Z] Removing intermediate container c3fc1beb6c32 [2022-06-28T17:29:46.707Z] ---> 6badae49bc1b [2022-06-28T17:29:46.707Z] Step 12/13 : COPY . . [2022-06-28T17:29:46.707Z] ---> b503a7fccef3 [2022-06-28T17:29:46.707Z] Step 13/13 : RUN ${MAKE} [2022-06-28T17:29:46.707Z] ---> Running in 88cb65d7e814 [2022-06-28T17:29:46.707Z] noop [2022-06-28T17:29:46.981Z] Removing intermediate container 88cb65d7e814 [2022-06-28T17:29:46.981Z] ---> e9cbbaa550b0 [2022-06-28T17:29:46.981Z] Successfully built e9cbbaa550b0 [2022-06-28T17:29:46.981Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:29:47.352Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T17:29:47.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:29:47.671Z] prd-ubuntu20.04-docker-arm64-4c-16g-16247 does not seem to be running inside a container [2022-06-28T17:29:47.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T17:29:49.202Z] $ docker top 1da9399a7747dabd903806e7c11f16e19d91af42b64c0bc2e73a02f4a94cd0f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T17:29:50.068Z] + go version [2022-06-28T17:29:50.068Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T17:29:50.115Z] $ docker stop --time=1 1da9399a7747dabd903806e7c11f16e19d91af42b64c0bc2e73a02f4a94cd0f1 [2022-06-28T17:29:51.719Z] $ docker rm -f 1da9399a7747dabd903806e7c11f16e19d91af42b64c0bc2e73a02f4a94cd0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:29:52.285Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T17:29:52.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:29:52.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-16247 does not seem to be running inside a container [2022-06-28T17:29:52.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T17:29:53.842Z] $ docker top 74d8649ed2291c2fca10f41b98abc52ed32f2ccd21a7b08289e98bbb4e7e94d7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T17:29:54.723Z] + make test [2022-06-28T17:29:54.723Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T17:29:56.701Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T17:31:33.560Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T17:31:33.560Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.090s coverage: 5.8% of statements [2022-06-28T17:31:51.912Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.536s coverage: 13.8% of statements [2022-06-28T17:31:51.912Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T17:31:51.912Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T17:32:18.745Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T17:32:18.745Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T17:32:18.745Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T17:32:19.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T17:32:19.792Z] $ docker stop --time=1 74d8649ed2291c2fca10f41b98abc52ed32f2ccd21a7b08289e98bbb4e7e94d7 [2022-06-28T17:32:21.604Z] $ docker rm -f 74d8649ed2291c2fca10f41b98abc52ed32f2ccd21a7b08289e98bbb4e7e94d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T17:32:22.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T17:32:22.542Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T17:32:23.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T17:32:23.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T17:32:23.749Z] + ls -al . [2022-06-28T17:32:23.749Z] total 236 [2022-06-28T17:32:23.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 17:32 . [2022-06-28T17:32:23.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 .. [2022-06-28T17:32:23.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 17:28 .git [2022-06-28T17:32:23.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 17:27 .github [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 17:27 .gitignore [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 17:27 .golangci.yml [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 17:27 Attribution.txt [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 17:27 CHANGELOG.md [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 17:27 Dockerfile [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 17:27 GOVERNANCE.md [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 17:27 Jenkinsfile [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 17:27 LICENSE [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 17:27 Makefile [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 17:27 OWNERS.md [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 17:27 README.md [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 17:27 VERSION [2022-06-28T17:32:23.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 17:27 bin [2022-06-28T17:32:23.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 17:27 cmd [2022-06-28T17:32:23.749Z] -rw-r--r-- 1 jenkins jenkins 64612 Jun 28 17:31 coverage.out [2022-06-28T17:32:23.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 doc [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 17:27 go.mod [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 17:27 go.sum [2022-06-28T17:32:23.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 17:27 internal [2022-06-28T17:32:23.749Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:32:24.102Z] + 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=d52b3279de4d5a1a11de2b80528bef128d39226f --label arch=arm64 --label version=0.0.0 . [2022-06-28T17:32:24.374Z] Sending build context to Docker daemon 6.13MB [2022-06-28T17:32:24.374Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T17:32:24.374Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T17:32:24.374Z] ---> e9cbbaa550b0 [2022-06-28T17:32:24.374Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T17:32:24.647Z] ---> Running in 43281004da32 [2022-06-28T17:32:24.926Z] Removing intermediate container 43281004da32 [2022-06-28T17:32:24.926Z] ---> 124b47189206 [2022-06-28T17:32:24.926Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T17:32:24.926Z] ---> Running in 40465f9a33b8 [2022-06-28T17:32:25.201Z] Removing intermediate container 40465f9a33b8 [2022-06-28T17:32:25.201Z] ---> 40ae94c1d683 [2022-06-28T17:32:25.201Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T17:32:25.477Z] ---> Running in 047ae9087779 [2022-06-28T17:32:25.753Z] Removing intermediate container 047ae9087779 [2022-06-28T17:32:25.753Z] ---> 61ac833d2dea [2022-06-28T17:32:25.753Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T17:32:25.753Z] ---> Running in 89bf4135c83f [2022-06-28T17:32:26.036Z] Removing intermediate container 89bf4135c83f [2022-06-28T17:32:26.036Z] ---> bd93a4cd9fbf [2022-06-28T17:32:26.036Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T17:32:26.309Z] ---> Running in 3578e7053c01 [2022-06-28T17:32:27.749Z] Removing intermediate container 3578e7053c01 [2022-06-28T17:32:27.749Z] ---> f977c597c1ec [2022-06-28T17:32:27.749Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T17:32:28.030Z] ---> Running in 2131b4bb43d5 [2022-06-28T17:32:29.009Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T17:32:29.990Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T17:32:30.586Z] OK: 220 MiB in 52 packages [2022-06-28T17:32:31.578Z] Removing intermediate container 2131b4bb43d5 [2022-06-28T17:32:31.578Z] ---> 3e81b5080734 [2022-06-28T17:32:31.578Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T17:32:31.578Z] ---> Running in 55e978612a63 [2022-06-28T17:32:31.864Z] Removing intermediate container 55e978612a63 [2022-06-28T17:32:31.864Z] ---> c3ddd335e6a8 [2022-06-28T17:32:31.864Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T17:32:32.462Z] ---> d11ebae6b6cb [2022-06-28T17:32:32.462Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T17:32:32.462Z] ---> Running in c92690da8d70 [2022-06-28T17:32:34.444Z] Removing intermediate container c92690da8d70 [2022-06-28T17:32:34.444Z] ---> 36aa134d9771 [2022-06-28T17:32:34.444Z] Step 12/26 : COPY . . [2022-06-28T17:32:35.422Z] ---> 88aabfb1e610 [2022-06-28T17:32:35.422Z] Step 13/26 : RUN ${MAKE} [2022-06-28T17:32:35.422Z] ---> Running in 7bdd77484d00 [2022-06-28T17:32:36.465Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T17:34:43.337Z] Removing intermediate container 7bdd77484d00 [2022-06-28T17:34:43.337Z] ---> 176411320e8a [2022-06-28T17:34:43.337Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T17:34:43.337Z] 3.15: Pulling from library/alpine [2022-06-28T17:34:43.337Z] 9981e73032c8: Pulling fs layer [2022-06-28T17:34:43.337Z] 9981e73032c8: Verifying Checksum [2022-06-28T17:34:43.337Z] 9981e73032c8: Download complete [2022-06-28T17:34:43.337Z] 9981e73032c8: Pull complete [2022-06-28T17:34:43.337Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T17:34:43.337Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T17:34:43.337Z] ---> 3fb3c9af89a9 [2022-06-28T17:34:43.337Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T17:34:43.337Z] ---> Running in 00ab688cd7dc [2022-06-28T17:34:43.337Z] Removing intermediate container 00ab688cd7dc [2022-06-28T17:34:43.337Z] ---> 57b8a65584f5 [2022-06-28T17:34:43.337Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T17:34:43.337Z] ---> Running in 76debfbb4cbb [2022-06-28T17:34:43.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T17:34:43.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T17:34:43.337Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T17:34:43.337Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T17:34:43.337Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T17:34:43.337Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T17:34:43.337Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T17:34:43.337Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T17:34:43.337Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T17:34:43.337Z] OK: 8 MiB in 20 packages [2022-06-28T17:34:43.337Z] Removing intermediate container 76debfbb4cbb [2022-06-28T17:34:43.338Z] ---> 5595a4c13379 [2022-06-28T17:34:43.338Z] Step 17/26 : WORKDIR / [2022-06-28T17:34:43.338Z] ---> Running in d8d0cf53105f [2022-06-28T17:34:43.338Z] Removing intermediate container d8d0cf53105f [2022-06-28T17:34:43.338Z] ---> 62a4f3321a75 [2022-06-28T17:34:43.338Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T17:34:43.338Z] ---> 3352244a29ae [2022-06-28T17:34:43.338Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T17:34:43.936Z] ---> 49f64ee200ef [2022-06-28T17:34:43.936Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T17:34:44.531Z] ---> 453f980d97a7 [2022-06-28T17:34:44.531Z] Step 21/26 : EXPOSE 59984 [2022-06-28T17:34:44.531Z] ---> Running in 224a4ef1c74e [2022-06-28T17:34:44.805Z] Removing intermediate container 224a4ef1c74e [2022-06-28T17:34:44.805Z] ---> 8e8455e2491b [2022-06-28T17:34:44.805Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T17:34:44.805Z] ---> Running in f931aa5c0392 [2022-06-28T17:34:45.075Z] Removing intermediate container f931aa5c0392 [2022-06-28T17:34:45.075Z] ---> 61e775ec8fe6 [2022-06-28T17:34:45.075Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T17:34:45.350Z] ---> Running in f61daf76469a [2022-06-28T17:34:45.621Z] Removing intermediate container f61daf76469a [2022-06-28T17:34:45.621Z] ---> 0dc941a6e0bb [2022-06-28T17:34:45.621Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T17:34:45.621Z] ---> Running in 91c08bead4de [2022-06-28T17:34:45.893Z] Removing intermediate container 91c08bead4de [2022-06-28T17:34:45.893Z] ---> a2a2939efba5 [2022-06-28T17:34:45.893Z] Step 25/26 : LABEL git_sha=d52b3279de4d5a1a11de2b80528bef128d39226f [2022-06-28T17:34:45.893Z] ---> Running in 3f922fc32e18 [2022-06-28T17:34:46.167Z] Removing intermediate container 3f922fc32e18 [2022-06-28T17:34:46.167Z] ---> e03d0acd0c12 [2022-06-28T17:34:46.167Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T17:34:46.438Z] ---> Running in 22fc0d69bc4f [2022-06-28T17:34:46.714Z] Removing intermediate container 22fc0d69bc4f [2022-06-28T17:34:46.714Z] ---> f26bc0ea60e6 [2022-06-28T17:34:46.714Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T17:34:46.714Z] Successfully built f26bc0ea60e6 [2022-06-28T17:34:46.714Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:34:47.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T17:34:47.158Z] [2022-06-28T17:34:47.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:34:47.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T17:34:47.776Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T17:34:47.776Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T17:34:47.776Z] 04944245beec: Pulling fs layer [2022-06-28T17:34:47.776Z] 699f458cf7ca: Pulling fs layer [2022-06-28T17:34:47.776Z] 765212b225bb: Pulling fs layer [2022-06-28T17:34:47.776Z] f23df028b6ca: Pulling fs layer [2022-06-28T17:34:47.776Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T17:34:47.776Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T17:34:47.776Z] 765212b225bb: Waiting [2022-06-28T17:34:47.776Z] d65c8cfc05b1: Waiting [2022-06-28T17:34:47.776Z] f23df028b6ca: Waiting [2022-06-28T17:34:47.776Z] 2437ff75d9bd: Waiting [2022-06-28T17:34:47.776Z] 04944245beec: Verifying Checksum [2022-06-28T17:34:47.776Z] 04944245beec: Download complete [2022-06-28T17:34:47.776Z] 765212b225bb: Verifying Checksum [2022-06-28T17:34:47.776Z] 765212b225bb: Download complete [2022-06-28T17:34:47.776Z] f23df028b6ca: Download complete [2022-06-28T17:34:47.776Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T17:34:47.776Z] d65c8cfc05b1: Download complete [2022-06-28T17:34:47.776Z] 699f458cf7ca: Verifying Checksum [2022-06-28T17:34:47.776Z] 699f458cf7ca: Download complete [2022-06-28T17:34:48.378Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T17:34:48.378Z] 8998bd30e6a1: Download complete [2022-06-28T17:34:50.358Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T17:34:50.358Z] 2437ff75d9bd: Download complete [2022-06-28T17:34:52.339Z] 8998bd30e6a1: Pull complete [2022-06-28T17:34:52.933Z] 04944245beec: Pull complete [2022-06-28T17:34:54.367Z] 699f458cf7ca: Pull complete [2022-06-28T17:34:54.641Z] 765212b225bb: Pull complete [2022-06-28T17:34:55.617Z] f23df028b6ca: Pull complete [2022-06-28T17:34:55.892Z] d65c8cfc05b1: Pull complete [2022-06-28T17:35:10.985Z] 2437ff75d9bd: Pull complete [2022-06-28T17:35:10.985Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T17:35:10.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T17:35:10.985Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:35:11.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-16247 does not seem to be running inside a container [2022-06-28T17:35:11.359Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-28T17:35:13.950Z] $ docker top 37f595677858077680ff9484c59933515ffd55f892a7cdc0d5f3b27a992cee9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:14.889Z] ---> job-cost.sh [2022-06-28T17:35:14.889Z] lf-activate-venv: SKIPPING [2022-06-28T17:35:14.889Z] INFO: No Stack... [2022-06-28T17:35:15.480Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T17:35:16.452Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T17:35:17.107Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [2022-06-28T17:35:17.107Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T17:35:17.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [2022-06-28T17:35:17.145Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] did not exist. Created. [2022-06-28T17:35:17.145Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T17:35:17.822Z] /w/workspace/device-onvif-camera/14@tmp/durable-71e880dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T17:35:18.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T17:35:18.534Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T17:35:18.583Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T17:35:18.591Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T17:35:18.642Z] $ docker stop --time=1 37f595677858077680ff9484c59933515ffd55f892a7cdc0d5f3b27a992cee9f [2022-06-28T17:35:20.126Z] $ docker rm -f 37f595677858077680ff9484c59933515ffd55f892a7cdc0d5f3b27a992cee9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-28T17:35:20.541Z] provisioning config files... [2022-06-28T17:35:20.548Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config1020495836091239064tmp [Pipeline] { [Pipeline] sh [2022-06-28T17:35:20.842Z] + set +x [2022-06-28T17:35:20.842Z] + curl -s https://codecov.io/bash [2022-06-28T17:35:20.842Z] + bash -s -- [2022-06-28T17:35:20.842Z] [2022-06-28T17:35:20.842Z] _____ _ [2022-06-28T17:35:20.842Z] / ____| | | [2022-06-28T17:35:20.842Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T17:35:20.842Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T17:35:20.842Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T17:35:20.842Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T17:35:20.842Z] Bash-1.0.6 [2022-06-28T17:35:20.842Z] [2022-06-28T17:35:20.842Z] [2022-06-28T17:35:20.842Z] ==> git version 2.25.1 found [2022-06-28T17:35:20.842Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-28T17:35:20.842Z] Release-Date: 2020-01-08 [2022-06-28T17:35:20.842Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-28T17:35:20.842Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T17:35:20.842Z] ==> Jenkins CI detected. [2022-06-28T17:35:20.842Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-28T17:35:20.842Z] project root: . [2022-06-28T17:35:20.842Z] --> token set from env [2022-06-28T17:35:20.842Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T17:35:20.842Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T17:35:20.842Z] ==> Python coveragepy not found [2022-06-28T17:35:20.842Z] ==> Searching for coverage reports in: [2022-06-28T17:35:20.842Z] + . [2022-06-28T17:35:20.842Z] -> Found 1 reports [2022-06-28T17:35:20.842Z] ==> Detecting git/mercurial file structure [2022-06-28T17:35:20.842Z] ==> Reading reports [2022-06-28T17:35:20.842Z] + ./coverage.out bytes=64612 [2022-06-28T17:35:20.842Z] ==> Appending adjustments [2022-06-28T17:35:20.842Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T17:35:21.102Z] + Found adjustments [2022-06-28T17:35:21.102Z] ==> Gzipping contents [2022-06-28T17:35:21.102Z] 12K /tmp/codecov.Oat72t.gz [2022-06-28T17:35:21.102Z] ==> Uploading reports [2022-06-28T17:35:21.102Z] url: https://codecov.io [2022-06-28T17:35:21.102Z] query: branch=PR-87&commit=a1c65607466a9c926394146180c0b10571f46bd4&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-28T17:35:21.102Z] -> Pinging Codecov [2022-06-28T17:35:21.102Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=a1c65607466a9c926394146180c0b10571f46bd4&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-28T17:35:21.362Z] -> Uploading to [2022-06-28T17:35:21.362Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/a1c65607466a9c926394146180c0b10571f46bd4/9957dcb5-5c5a-45f9-a616-099faa575b6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T173521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=523bb5dd56eb65b5f805f2f61e70384f384b8b7ec03e2e588eb9dbd8b1fcc120 [2022-06-28T17:35:21.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T17:35:21.362Z] Dload Upload Total Spent Left Speed [2022-06-28T17:35:21.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8205 0 0 100 8205 0 30730 --:--:-- --:--:-- --:--:-- 30615 [2022-06-28T17:35:21.622Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a1c65607466a9c926394146180c0b10571f46bd4 [Pipeline] } [2022-06-28T17:35:21.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-28T17:35:22.330Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-28T17:35:22.330Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T17:35:22.330Z] total 16 [2022-06-28T17:35:22.330Z] drwxr-xr-x 3 root root 4096 Jun 28 17:29 . [2022-06-28T17:35:22.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 17:29 .. [2022-06-28T17:35:22.330Z] drwxr-xr-x 2 root root 4096 Jun 28 17:29 cost [2022-06-28T17:35:22.330Z] -rw-r--r-- 1 root root 91 Jun 28 17:29 cost.csv [2022-06-28T17:35:22.330Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T17:35:22.330Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T17:35:22.330Z] total 16 [2022-06-28T17:35:22.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 17:29 . [2022-06-28T17:35:22.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 17:29 .. [2022-06-28T17:35:22.330Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 17:29 cost [2022-06-28T17:35:22.330Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 28 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:22.627Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:23.494Z] ---> package-listing.sh [2022-06-28T17:35:23.494Z] ++ facter osfamily [2022-06-28T17:35:23.494Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T17:35:23.755Z] + OS_FAMILY=debian [2022-06-28T17:35:23.755Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-28T17:35:23.755Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T17:35:23.755Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T17:35:23.755Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T17:35:23.755Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T17:35:23.755Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-28T17:35:23.755Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T17:35:23.755Z] + case "${OS_FAMILY}" in [2022-06-28T17:35:23.755Z] + dpkg -l [2022-06-28T17:35:23.755Z] + grep '^ii' [2022-06-28T17:35:23.755Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T17:35:23.755Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T17:35:23.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T17:35:23.755Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-28T17:35:23.755Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-28T17:35:23.755Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-28T17:35:23.766Z] 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-28T17:35:24.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T17:35:24.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T17:35:24.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T17:35:24.694Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2022-06-28T17:35:24.721Z] $ 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T17:35:24.993Z] $ docker top 340e405706a382d9bc522e814a536d5e211e8da9f53a0b198a3437867a1b0f98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T17:35:25.366Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T17:35:25.655Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T17:35:25.946Z] + ls /var/log/sa-host [2022-06-28T17:35:25.946Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T17:35:26.071Z] provisioning config files... [2022-06-28T17:35:26.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config513968513954622722tmp [Pipeline] { [Pipeline] echo [2022-06-28T17:35:26.099Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:26.386Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T17:35:26.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:26.726Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T17:35:26.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:27.022Z] ---> sudo-logs.sh [2022-06-28T17:35:27.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T17:35:27.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:27.336Z] ---> job-cost.sh [2022-06-28T17:35:27.336Z] lf-activate-venv: SKIPPING [2022-06-28T17:35:27.336Z] DEBUG: total: 0.2199999988079071 [2022-06-28T17:35:27.336Z] INFO: Retrieving Stack Cost... [2022-06-28T17:35:27.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T17:35:28.167Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T17:35:28.179Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T17:35:28.467Z] ---> logs-deploy.sh [2022-06-28T17:35:28.467Z] lf-activate-venv: SKIPPING [2022-06-28T17:35:28.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/14 [2022-06-28T17:35:28.467Z] INFO: archiving workspace using pattern(s): [2022-06-28T17:35:29.408Z] Archives upload complete. [2022-06-28T17:35:29.408Z] INFO: archiving logs to Nexus