Pull request #81 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than 28ca0325da4b83db55e09561f6a2145a43d69e2a Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh9682535346123137844.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-ssh831852790524065436.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-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12950642858423900163.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-ssh9360735054479343339.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-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5046629046891469840.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1679 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-81 # 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/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 28ca0325da4b83db55e09561f6a2145a43d69e2a Merge succeeded, producing 3c136555598d9479dc25e11695bde83b5ceaabe5 Checking out Revision 3c136555598d9479dc25e11695bde83b5ceaabe5 (PR-81) > git config core.sparsecheckout # timeout=10 > git checkout -f 28ca0325da4b83db55e09561f6a2145a43d69e2a # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c136555598d9479dc25e11695bde83b5ceaabe5 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T19:30:37.809Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T19:30:37.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T19:30:37.877Z] ========================================================= [2022-06-07T19:30:37.877Z] EdgeX Global Pipelines Version Info [2022-06-07T19:30:37.877Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5dc7258b6beb1770c63a0ed0b3a063e40fd19a96 # timeout=10 [2022-06-07T19:30:38.651Z] ------------------- [2022-06-07T19:30:38.651Z] stable info: [2022-06-07T19:30:38.651Z] ------------------- [2022-06-07T19:30:38.651Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T19:30:38.651Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T19:30:38.651Z] Message: update stable to v1.0.234 [2022-06-07T19:30:39.225Z] ------------------- [2022-06-07T19:30:39.225Z] experimental info: [2022-06-07T19:30:39.225Z] ------------------- [2022-06-07T19:30:39.225Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T19:30:39.225Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T19:30:39.225Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T19:30:39.394Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T19:30:39.404Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T19:30:39.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T19:30:39.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T19:30:39.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T19:30:39.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T19:30:39.464Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T19:30:39.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T19:30:39.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T19:30:39.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T19:30:39.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T19:30:39.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T19:30:39.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T19:30:39.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T19:30:39.559Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T19:30:39.572Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T19:30:39.584Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T19:30:39.595Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T19:30:39.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T19:30:39.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T19:30:39.631Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T19:30:39.642Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T19:30:39.650Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T19:30:39.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T19:30:39.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T19:30:39.682Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T19:30:39.692Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T19:30:39.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-07T19:30:39.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-07T19:30:39.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-07T19:30:39.738Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c136555598d9479dc25e11695bde83b5ceaabe5 [Pipeline] echo [2022-06-07T19:30:39.751Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c13655 [Pipeline] echo [2022-06-07T19:30:39.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:30:39.812Z] provisioning config files... [2022-06-07T19:30:39.826Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6242020617268992086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:30:40.146Z] ---> docker-login.sh [2022-06-07T19:30:40.146Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:30:40.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:40.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:40.669Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:40.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:40.670Z] [2022-06-07T19:30:40.670Z] Login Succeeded [2022-06-07T19:30:40.670Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:30:40.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:40.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:40.670Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:40.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:40.670Z] [2022-06-07T19:30:40.670Z] Login Succeeded [2022-06-07T19:30:40.670Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:30:40.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:40.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:40.931Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:40.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:40.931Z] [2022-06-07T19:30:40.931Z] Login Succeeded [2022-06-07T19:30:40.931Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:30:40.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:40.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:40.931Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:40.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:40.931Z] [2022-06-07T19:30:40.931Z] Login Succeeded [2022-06-07T19:30:40.931Z] docker.io [2022-06-07T19:30:41.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:41.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:41.454Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:41.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:41.454Z] [2022-06-07T19:30:41.454Z] Login Succeeded [2022-06-07T19:30:41.454Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:30:41.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T19:30:41.849Z] + git rev-list -1 --merges 3c136555598d9479dc25e11695bde83b5ceaabe5~1..3c136555598d9479dc25e11695bde83b5ceaabe5 [Pipeline] echo [2022-06-07T19:30:41.882Z] -----------> git rev-list -1 --merges 3c136555598d9479dc25e11695bde83b5ceaabe5~1..3c136555598d9479dc25e11695bde83b5ceaabe5 3c136555598d9479dc25e11695bde83b5ceaabe5 [2022-06-07T19:30:41.882Z] 3c136555598d9479dc25e11695bde83b5ceaabe5 [false] [Pipeline] sh [2022-06-07T19:30:42.178Z] + git log --format=format:%s -1 3c136555598d9479dc25e11695bde83b5ceaabe5 [Pipeline] echo [2022-06-07T19:30:42.195Z] ========================================================= [2022-06-07T19:30:42.195Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T19:30:42.195Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:30:42.539Z] + git log --format=format:%s -1 3c136555598d9479dc25e11695bde83b5ceaabe5 [Pipeline] echo [2022-06-07T19:30:42.555Z] [semverPrep] GIT_COMMIT: 3c136555598d9479dc25e11695bde83b5ceaabe5, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T19:30:42.562Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T19:30:42.922Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T19:30:42.922Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T19:30:42.922Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T19:30:42.922Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T19:30:42.922Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T19:30:42.922Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T19:30:42.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:30:43.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:30:43.332Z] [2022-06-07T19:30:43.332Z] 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-07T19:30:43.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:30:43.639Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T19:30:43.639Z] 42c077c10790: Pulling fs layer [2022-06-07T19:30:43.639Z] f63e77b7563a: Pulling fs layer [2022-06-07T19:30:43.639Z] bd5fdadae976: Pulling fs layer [2022-06-07T19:30:43.639Z] 205491f53016: Pulling fs layer [2022-06-07T19:30:43.639Z] df18705c85c3: Pulling fs layer [2022-06-07T19:30:43.639Z] bdb3f477010e: Pulling fs layer [2022-06-07T19:30:43.639Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T19:30:43.639Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T19:30:43.639Z] bdb8f0575790: Pulling fs layer [2022-06-07T19:30:43.639Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T19:30:43.639Z] 2343380bae48: Pulling fs layer [2022-06-07T19:30:43.640Z] c8a8fc8e1c8f: Waiting [2022-06-07T19:30:43.640Z] 386e3cb2ff24: Waiting [2022-06-07T19:30:43.640Z] 2c6e9b1d212d: Waiting [2022-06-07T19:30:43.640Z] bdb8f0575790: Waiting [2022-06-07T19:30:43.640Z] 2343380bae48: Waiting [2022-06-07T19:30:43.640Z] 205491f53016: Waiting [2022-06-07T19:30:43.640Z] df18705c85c3: Waiting [2022-06-07T19:30:43.640Z] bdb3f477010e: Waiting [2022-06-07T19:30:43.640Z] f63e77b7563a: Verifying Checksum [2022-06-07T19:30:43.640Z] f63e77b7563a: Download complete [2022-06-07T19:30:43.640Z] 205491f53016: Verifying Checksum [2022-06-07T19:30:43.640Z] 205491f53016: Download complete [2022-06-07T19:30:43.903Z] df18705c85c3: Verifying Checksum [2022-06-07T19:30:43.903Z] df18705c85c3: Download complete [2022-06-07T19:30:43.903Z] bdb3f477010e: Verifying Checksum [2022-06-07T19:30:43.903Z] bdb3f477010e: Download complete [2022-06-07T19:30:43.903Z] bd5fdadae976: Verifying Checksum [2022-06-07T19:30:43.903Z] bd5fdadae976: Download complete [2022-06-07T19:30:43.903Z] 2c6e9b1d212d: Download complete [2022-06-07T19:30:43.903Z] bdb8f0575790: Verifying Checksum [2022-06-07T19:30:43.903Z] bdb8f0575790: Download complete [2022-06-07T19:30:43.903Z] 386e3cb2ff24: Download complete [2022-06-07T19:30:43.903Z] 2343380bae48: Verifying Checksum [2022-06-07T19:30:43.903Z] 2343380bae48: Download complete [2022-06-07T19:30:43.903Z] 42c077c10790: Verifying Checksum [2022-06-07T19:30:43.903Z] 42c077c10790: Download complete [2022-06-07T19:30:44.164Z] c8a8fc8e1c8f: Download complete [2022-06-07T19:30:45.549Z] 42c077c10790: Pull complete [2022-06-07T19:30:45.549Z] f63e77b7563a: Pull complete [2022-06-07T19:30:46.119Z] bd5fdadae976: Pull complete [2022-06-07T19:30:46.119Z] 205491f53016: Pull complete [2022-06-07T19:30:46.381Z] df18705c85c3: Pull complete [2022-06-07T19:30:46.642Z] bdb3f477010e: Pull complete [2022-06-07T19:30:48.605Z] c8a8fc8e1c8f: Pull complete [2022-06-07T19:30:48.605Z] 2c6e9b1d212d: Pull complete [2022-06-07T19:30:48.867Z] bdb8f0575790: Pull complete [2022-06-07T19:30:48.867Z] 386e3cb2ff24: Pull complete [2022-06-07T19:30:49.131Z] 2343380bae48: Pull complete [2022-06-07T19:30:49.131Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T19:30:49.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:30:49.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:30:49.234Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2022-06-07T19:30:49.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-07T19:30:50.950Z] $ docker top 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f -eo pid,comm [2022-06-07T19:30:51.015Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-07T19:30:51.015Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T19:30:51.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T19:30:51.052Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T19:30:51.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T19:30:51.196Z] $ docker exec 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f ssh-agent [2022-06-07T19:30:51.329Z] SSH_AUTH_SOCK=/tmp/ssh-RbU1KkpovYaA/agent.34 [2022-06-07T19:30:51.329Z] SSH_AGENT_PID=41 [2022-06-07T19:30:51.336Z] Running ssh-add (command line suppressed) [2022-06-07T19:30:51.464Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2415790732148326459.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2415790732148326459.key) [2022-06-07T19:30:51.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T19:30:51.774Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T19:30:51.799Z] $ docker exec --env ******** --env ******** 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f ssh-agent -k [2022-06-07T19:30:51.918Z] unset SSH_AUTH_SOCK; [2022-06-07T19:30:51.918Z] unset SSH_AGENT_PID; [2022-06-07T19:30:51.918Z] echo Agent pid 41 killed; [2022-06-07T19:30:51.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T19:30:51.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T19:30:51.951Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T19:30:52.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T19:30:52.091Z] $ docker exec 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f ssh-agent [2022-06-07T19:30:52.226Z] SSH_AUTH_SOCK=/tmp/ssh-S1WZ8hyenmvx/agent.75 [2022-06-07T19:30:52.226Z] SSH_AGENT_PID=81 [2022-06-07T19:30:52.232Z] Running ssh-add (command line suppressed) [2022-06-07T19:30:52.361Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5545518565319857675.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5545518565319857675.key) [2022-06-07T19:30:52.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T19:30:52.664Z] + git semver init [2022-06-07T19:30:52.925Z] 2022-06-07 19:30:52,891 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T19:30:52.925Z] 2022-06-07 19:30:52,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T19:30:52.925Z] 2022-06-07 19:30:52,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T19:30:52.925Z] 2022-06-07 19:30:52,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,597 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,598 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,598 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,603 [execute] INFO git cat-file --batch-check [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,610 [execute] INFO git cat-file --batch [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T19:30:53.869Z] 2022-06-07 19:30:53,616 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T19:30:53.869Z] 0.0.0 [Pipeline] } [2022-06-07T19:30:53.886Z] $ docker exec --env ******** --env ******** 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f ssh-agent -k [2022-06-07T19:30:54.005Z] unset SSH_AUTH_SOCK; [2022-06-07T19:30:54.006Z] unset SSH_AGENT_PID; [2022-06-07T19:30:54.006Z] echo Agent pid 81 killed; [2022-06-07T19:30:54.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T19:30:54.326Z] + git semver [Pipeline] } [2022-06-07T19:30:54.608Z] $ docker stop --time=1 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f [2022-06-07T19:30:55.943Z] $ docker rm -f 76fa582c0f6c92b8b85b64fa6dfeb10af1b994c16bb644241928c6e81117a10f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:30:56.290Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T19:30:56.535Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T19:30:56.537Z] [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-07T19:30:56.664Z] provisioning config files... [2022-06-07T19:30:56.674Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config8272443540411694170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:30:56.983Z] ---> docker-login.sh [2022-06-07T19:30:56.983Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:30:56.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:56.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:56.983Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:56.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:56.983Z] [2022-06-07T19:30:56.983Z] Login Succeeded [2022-06-07T19:30:56.983Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:30:56.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:57.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:57.242Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:57.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:57.242Z] [2022-06-07T19:30:57.242Z] Login Succeeded [2022-06-07T19:30:57.242Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:30:57.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:57.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:57.242Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:57.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:57.242Z] [2022-06-07T19:30:57.242Z] Login Succeeded [2022-06-07T19:30:57.242Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:30:57.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:57.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:57.503Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:57.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:57.503Z] [2022-06-07T19:30:57.503Z] Login Succeeded [2022-06-07T19:30:57.503Z] docker.io [2022-06-07T19:30:57.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:30:57.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:30:57.764Z] Configure a credential helper to remove this warning. See [2022-06-07T19:30:57.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:30:57.764Z] [2022-06-07T19:30:57.764Z] Login Succeeded [2022-06-07T19:30:57.764Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:30:57.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T19:30:57.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:30:57.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:30:57.854Z] ========================================================= [2022-06-07T19:30:57.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T19:30:57.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:30:58.176Z] + 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-07T19:30:58.176Z] Sending build context to Docker daemon 8.866MB [2022-06-07T19:30:58.176Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:30:58.176Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T19:30:58.176Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T19:30:58.437Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T19:30:58.437Z] 666ba61612fd: Pulling fs layer [2022-06-07T19:30:58.437Z] 8ed8ca486205: Pulling fs layer [2022-06-07T19:30:58.437Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T19:30:58.437Z] c516ae0d96e1: Pulling fs layer [2022-06-07T19:30:58.437Z] cc1cd167ecdc: Waiting [2022-06-07T19:30:58.437Z] 684cea983483: Pulling fs layer [2022-06-07T19:30:58.437Z] dd3240ac7de5: Pulling fs layer [2022-06-07T19:30:58.437Z] c516ae0d96e1: Waiting [2022-06-07T19:30:58.437Z] 684cea983483: Waiting [2022-06-07T19:30:58.437Z] dd3240ac7de5: Waiting [2022-06-07T19:30:58.437Z] b1e948a4e11c: Pulling fs layer [2022-06-07T19:30:58.437Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T19:30:58.437Z] 646ad004c059: Pulling fs layer [2022-06-07T19:30:58.437Z] b1e948a4e11c: Waiting [2022-06-07T19:30:58.437Z] 646ad004c059: Waiting [2022-06-07T19:30:58.437Z] a8fd76ee1af6: Waiting [2022-06-07T19:30:58.437Z] 8ed8ca486205: Verifying Checksum [2022-06-07T19:30:58.437Z] 8ed8ca486205: Download complete [2022-06-07T19:30:58.437Z] 666ba61612fd: Verifying Checksum [2022-06-07T19:30:58.437Z] 666ba61612fd: Download complete [2022-06-07T19:30:58.437Z] c516ae0d96e1: Download complete [2022-06-07T19:30:58.437Z] 684cea983483: Verifying Checksum [2022-06-07T19:30:58.437Z] 684cea983483: Download complete [2022-06-07T19:30:58.437Z] 59bf1c3509f3: Download complete [2022-06-07T19:30:58.437Z] dd3240ac7de5: Verifying Checksum [2022-06-07T19:30:58.437Z] dd3240ac7de5: Download complete [2022-06-07T19:30:58.437Z] b1e948a4e11c: Verifying Checksum [2022-06-07T19:30:58.437Z] b1e948a4e11c: Download complete [2022-06-07T19:30:58.437Z] 59bf1c3509f3: Pull complete [2022-06-07T19:30:58.702Z] 666ba61612fd: Pull complete [2022-06-07T19:30:58.702Z] 8ed8ca486205: Pull complete [2022-06-07T19:30:58.964Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T19:30:58.964Z] a8fd76ee1af6: Download complete [2022-06-07T19:30:58.964Z] 646ad004c059: Verifying Checksum [2022-06-07T19:30:58.964Z] 646ad004c059: Download complete [2022-06-07T19:30:59.224Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T19:30:59.224Z] cc1cd167ecdc: Download complete [2022-06-07T19:31:03.419Z] cc1cd167ecdc: Pull complete [2022-06-07T19:31:03.419Z] c516ae0d96e1: Pull complete [2022-06-07T19:31:03.419Z] 684cea983483: Pull complete [2022-06-07T19:31:03.419Z] dd3240ac7de5: Pull complete [2022-06-07T19:31:03.419Z] b1e948a4e11c: Pull complete [2022-06-07T19:31:05.959Z] a8fd76ee1af6: Pull complete [2022-06-07T19:31:06.531Z] 646ad004c059: Pull complete [2022-06-07T19:31:06.531Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T19:31:06.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T19:31:06.531Z] ---> 8f69c11f6b0c [2022-06-07T19:31:06.531Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T19:31:08.452Z] ---> Running in 06a1909ecdb9 [2022-06-07T19:31:08.452Z] Removing intermediate container 06a1909ecdb9 [2022-06-07T19:31:08.452Z] ---> 9957fc8dc62c [2022-06-07T19:31:08.452Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:31:08.452Z] ---> Running in 0d1fb00e2fab [2022-06-07T19:31:08.452Z] Removing intermediate container 0d1fb00e2fab [2022-06-07T19:31:08.452Z] ---> 33496195668d [2022-06-07T19:31:08.452Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:31:08.716Z] ---> Running in f248d04efd90 [2022-06-07T19:31:08.716Z] Removing intermediate container f248d04efd90 [2022-06-07T19:31:08.716Z] ---> c645df0f4dc2 [2022-06-07T19:31:08.716Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:31:08.716Z] ---> Running in 1ce399cc5b5e [2022-06-07T19:31:08.716Z] Removing intermediate container 1ce399cc5b5e [2022-06-07T19:31:08.716Z] ---> 054c14a54f5a [2022-06-07T19:31:08.716Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:31:08.978Z] ---> Running in 61af1df04186 [2022-06-07T19:31:09.549Z] Removing intermediate container 61af1df04186 [2022-06-07T19:31:09.549Z] ---> 78da8641d947 [2022-06-07T19:31:09.549Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:31:09.549Z] ---> Running in d2ce1a2fd2cf [2022-06-07T19:31:09.811Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:31:10.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:31:11.013Z] OK: 221 MiB in 52 packages [2022-06-07T19:31:11.275Z] Removing intermediate container d2ce1a2fd2cf [2022-06-07T19:31:11.275Z] ---> 399da2fb6470 [2022-06-07T19:31:11.275Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T19:31:11.275Z] ---> Running in 0d373be344b0 [2022-06-07T19:31:11.275Z] Removing intermediate container 0d373be344b0 [2022-06-07T19:31:11.275Z] ---> e4a60068b2be [2022-06-07T19:31:11.275Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T19:31:11.534Z] ---> 3c72610b3d9a [2022-06-07T19:31:11.534Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:31:11.534Z] ---> Running in 879073aee713 [2022-06-07T19:31:11.634Z] Still waiting to schedule task [2022-06-07T19:31:11.635Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-07T19:31:29.659Z] Removing intermediate container 879073aee713 [2022-06-07T19:31:29.659Z] ---> d1c879d681ca [2022-06-07T19:31:29.659Z] Step 12/13 : COPY . . [2022-06-07T19:31:30.233Z] ---> 5a9607160d97 [2022-06-07T19:31:30.233Z] Step 13/13 : RUN ${MAKE} [2022-06-07T19:31:30.233Z] ---> Running in e01cfc6664e7 [2022-06-07T19:31:30.492Z] noop [2022-06-07T19:31:30.752Z] Removing intermediate container e01cfc6664e7 [2022-06-07T19:31:30.752Z] ---> a4d692f0f751 [2022-06-07T19:31:30.752Z] Successfully built a4d692f0f751 [2022-06-07T19:31:30.752Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:31:31.068Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T19:31:31.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:31:31.148Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2022-06-07T19:31:31.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-07T19:31:31.635Z] $ docker top ff8f4b898f6ee86c60678834e4fbdf2c9103e6d6834d0757f774ab150b3d5c68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:31:32.042Z] + go version [2022-06-07T19:31:32.042Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T19:31:32.054Z] $ docker stop --time=1 ff8f4b898f6ee86c60678834e4fbdf2c9103e6d6834d0757f774ab150b3d5c68 [2022-06-07T19:31:33.333Z] $ docker rm -f ff8f4b898f6ee86c60678834e4fbdf2c9103e6d6834d0757f774ab150b3d5c68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:31:33.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T19:31:33.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:31:33.833Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2022-06-07T19:31:33.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-07T19:31:34.267Z] $ docker top 9b8a2cd5ee14a5c1edccc4958e2ebdab982e5fa5348a21195860e961b17574e6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T19:31:34.635Z] + make test [2022-06-07T19:31:34.635Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T19:31:34.895Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T19:31:44.886Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T19:31:45.147Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.2% of statements [2022-06-07T19:31:50.437Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.502s coverage: 13.8% of statements [2022-06-07T19:31:57.018Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T19:32:01.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T19:32:01.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T19:32:01.487Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T19:32:02.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T19:32:02.094Z] $ docker stop --time=1 9b8a2cd5ee14a5c1edccc4958e2ebdab982e5fa5348a21195860e961b17574e6 [2022-06-07T19:32:04.498Z] $ docker rm -f 9b8a2cd5ee14a5c1edccc4958e2ebdab982e5fa5348a21195860e961b17574e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:32:04.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T19:32:05.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T19:32:05.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T19:32:05.827Z] + ls -al . [2022-06-07T19:32:05.827Z] total 236 [2022-06-07T19:32:05.827Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 19:32 . [2022-06-07T19:32:05.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:30 .. [2022-06-07T19:32:05.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:30 .git [2022-06-07T19:32:05.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:30 .github [2022-06-07T19:32:05.827Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 19:30 .gitignore [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 19:30 .golangci.yml [2022-06-07T19:32:05.828Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 19:30 .semver [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 19:30 Attribution.txt [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 19:30 CHANGELOG.md [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 19:30 Dockerfile [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 19:30 GOVERNANCE.md [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 19:30 Jenkinsfile [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 19:30 LICENSE [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 19:30 Makefile [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 19:30 OWNERS.md [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 7 19:30 README.md [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 19:30 VERSION [2022-06-07T19:32:05.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:30 bin [2022-06-07T19:32:05.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 19:30 cmd [2022-06-07T19:32:05.828Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 7 19:31 coverage.out [2022-06-07T19:32:05.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:30 doc [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 19:30 go.mod [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 19:30 go.sum [2022-06-07T19:32:05.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:30 internal [2022-06-07T19:32:05.828Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:32:06.144Z] + 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=3c136555598d9479dc25e11695bde83b5ceaabe5 --label arch=amd64 --label version=0.0.0 . [2022-06-07T19:32:06.144Z] Sending build context to Docker daemon 8.927MB [2022-06-07T19:32:06.144Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:32:06.144Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T19:32:06.144Z] ---> a4d692f0f751 [2022-06-07T19:32:06.144Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T19:32:06.418Z] ---> Running in 4f07e0b4fa93 [2022-06-07T19:32:06.678Z] Removing intermediate container 4f07e0b4fa93 [2022-06-07T19:32:06.678Z] ---> c54567139271 [2022-06-07T19:32:06.678Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:32:06.678Z] ---> Running in 33f7b7f65e63 [2022-06-07T19:32:06.939Z] Removing intermediate container 33f7b7f65e63 [2022-06-07T19:32:06.939Z] ---> 3ae3de835633 [2022-06-07T19:32:06.939Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:32:06.939Z] ---> Running in f66a2c085ad7 [2022-06-07T19:32:07.202Z] Removing intermediate container f66a2c085ad7 [2022-06-07T19:32:07.202Z] ---> 68edbd430d4e [2022-06-07T19:32:07.202Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:32:07.202Z] ---> Running in f93e450d8c2e [2022-06-07T19:32:07.202Z] Removing intermediate container f93e450d8c2e [2022-06-07T19:32:07.202Z] ---> b066d19dee98 [2022-06-07T19:32:07.202Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:32:07.202Z] ---> Running in c3bfc86bf6c8 [2022-06-07T19:32:07.772Z] Removing intermediate container c3bfc86bf6c8 [2022-06-07T19:32:07.773Z] ---> bf8d38b2ba08 [2022-06-07T19:32:07.773Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:32:07.773Z] ---> Running in 54a0403989f2 [2022-06-07T19:32:08.033Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:32:08.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:32:09.548Z] OK: 221 MiB in 52 packages [2022-06-07T19:32:09.810Z] Removing intermediate container 54a0403989f2 [2022-06-07T19:32:09.810Z] ---> 79a870ebc200 [2022-06-07T19:32:09.810Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T19:32:09.810Z] ---> Running in fefbe9378f68 [2022-06-07T19:32:09.810Z] Removing intermediate container fefbe9378f68 [2022-06-07T19:32:09.810Z] ---> 1f755795cb37 [2022-06-07T19:32:09.810Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T19:32:10.071Z] ---> 9a9bc475efbd [2022-06-07T19:32:10.071Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:32:10.071Z] ---> Running in e2c0582de896 [2022-06-07T19:32:10.648Z] Removing intermediate container e2c0582de896 [2022-06-07T19:32:10.648Z] ---> c2a110efd5f0 [2022-06-07T19:32:10.648Z] Step 12/26 : COPY . . [2022-06-07T19:32:11.221Z] ---> 7e2c3d23b41b [2022-06-07T19:32:11.221Z] Step 13/26 : RUN ${MAKE} [2022-06-07T19:32:11.221Z] ---> Running in a3edf6f69bb6 [2022-06-07T19:32:11.483Z] 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-07T19:32:33.436Z] Removing intermediate container a3edf6f69bb6 [2022-06-07T19:32:33.436Z] ---> 629ce493724e [2022-06-07T19:32:33.436Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T19:32:33.436Z] 3.15: Pulling from library/alpine [2022-06-07T19:32:33.436Z] df9b9388f04a: Pulling fs layer [2022-06-07T19:32:33.436Z] df9b9388f04a: Verifying Checksum [2022-06-07T19:32:33.436Z] df9b9388f04a: Download complete [2022-06-07T19:32:33.436Z] df9b9388f04a: Pull complete [2022-06-07T19:32:33.436Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T19:32:33.437Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T19:32:33.437Z] ---> 0ac33e5f5afa [2022-06-07T19:32:33.437Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T19:32:33.437Z] ---> Running in 538ac68d3a88 [2022-06-07T19:32:33.437Z] Removing intermediate container 538ac68d3a88 [2022-06-07T19:32:33.437Z] ---> 4fb29b40aa6d [2022-06-07T19:32:33.437Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T19:32:33.437Z] ---> Running in 8218f750d441 [2022-06-07T19:32:33.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:32:33.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:32:33.437Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T19:32:33.437Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T19:32:33.437Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T19:32:33.437Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T19:32:33.437Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T19:32:33.437Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T19:32:33.437Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T19:32:33.437Z] OK: 8 MiB in 20 packages [2022-06-07T19:32:33.698Z] Removing intermediate container 8218f750d441 [2022-06-07T19:32:33.698Z] ---> 18668d73ee45 [2022-06-07T19:32:33.698Z] Step 17/26 : WORKDIR / [2022-06-07T19:32:33.698Z] ---> Running in 8ee6200d98b8 [2022-06-07T19:32:33.960Z] Removing intermediate container 8ee6200d98b8 [2022-06-07T19:32:33.960Z] ---> 8c0b70c63e73 [2022-06-07T19:32:33.960Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T19:32:34.528Z] ---> b544abf55957 [2022-06-07T19:32:34.528Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T19:32:34.528Z] ---> 18ad11bb4da3 [2022-06-07T19:32:34.528Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T19:32:34.788Z] ---> 9e755ea004d2 [2022-06-07T19:32:34.788Z] Step 21/26 : EXPOSE 59984 [2022-06-07T19:32:34.788Z] ---> Running in 32303651802e [2022-06-07T19:32:34.788Z] Removing intermediate container 32303651802e [2022-06-07T19:32:34.788Z] ---> f621ea914e12 [2022-06-07T19:32:34.788Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T19:32:35.048Z] ---> Running in 48a639329718 [2022-06-07T19:32:35.048Z] Removing intermediate container 48a639329718 [2022-06-07T19:32:35.048Z] ---> bf62f6b397ef [2022-06-07T19:32:35.048Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T19:32:35.048Z] ---> Running in b4de1ef11926 [2022-06-07T19:32:35.048Z] Removing intermediate container b4de1ef11926 [2022-06-07T19:32:35.048Z] ---> 6b1de52b294e [2022-06-07T19:32:35.048Z] Step 24/26 : LABEL arch=amd64 [2022-06-07T19:32:35.311Z] ---> Running in 5ab90525c3b6 [2022-06-07T19:32:35.311Z] Removing intermediate container 5ab90525c3b6 [2022-06-07T19:32:35.311Z] ---> 3cc0ae2a64f1 [2022-06-07T19:32:35.311Z] Step 25/26 : LABEL git_sha=3c136555598d9479dc25e11695bde83b5ceaabe5 [2022-06-07T19:32:35.311Z] ---> Running in d139ce43619d [2022-06-07T19:32:35.311Z] Removing intermediate container d139ce43619d [2022-06-07T19:32:35.311Z] ---> 08724299df32 [2022-06-07T19:32:35.311Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T19:32:35.573Z] ---> Running in 2ed8277486dc [2022-06-07T19:32:35.573Z] Removing intermediate container 2ed8277486dc [2022-06-07T19:32:35.573Z] ---> f729e8a1c0da [2022-06-07T19:32:35.573Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T19:32:35.573Z] Successfully built f729e8a1c0da [2022-06-07T19:32:35.573Z] 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-07T19:32:36.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:32:36.035Z] [2022-06-07T19:32:36.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:32:36.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:32:36.341Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T19:32:36.341Z] 5eb5b503b376: Pulling fs layer [2022-06-07T19:32:36.341Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T19:32:36.341Z] ec43610c2a17: Pulling fs layer [2022-06-07T19:32:36.341Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T19:32:36.341Z] 33b1e0a273af: Pulling fs layer [2022-06-07T19:32:36.341Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T19:32:36.341Z] 2f39f015ded8: Pulling fs layer [2022-06-07T19:32:36.341Z] 33b1e0a273af: Waiting [2022-06-07T19:32:36.341Z] 2f39f015ded8: Waiting [2022-06-07T19:32:36.341Z] 3a2ae6a8a46f: Waiting [2022-06-07T19:32:36.341Z] 5d3b04190fa2: Waiting [2022-06-07T19:32:36.341Z] 5c69ac0246d0: Download complete [2022-06-07T19:32:36.341Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T19:32:36.341Z] 3a2ae6a8a46f: Download complete [2022-06-07T19:32:36.341Z] ec43610c2a17: Verifying Checksum [2022-06-07T19:32:36.341Z] ec43610c2a17: Download complete [2022-06-07T19:32:36.600Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T19:32:36.600Z] 5d3b04190fa2: Download complete [2022-06-07T19:32:36.600Z] 33b1e0a273af: Verifying Checksum [2022-06-07T19:32:36.600Z] 33b1e0a273af: Download complete [2022-06-07T19:32:36.600Z] 5eb5b503b376: Download complete [2022-06-07T19:32:37.169Z] 2f39f015ded8: Download complete [2022-06-07T19:32:37.739Z] 5eb5b503b376: Pull complete [2022-06-07T19:32:37.998Z] 5c69ac0246d0: Pull complete [2022-06-07T19:32:38.564Z] ec43610c2a17: Pull complete [2022-06-07T19:32:38.564Z] 3a2ae6a8a46f: Pull complete [2022-06-07T19:32:38.823Z] 33b1e0a273af: Pull complete [2022-06-07T19:32:38.823Z] 5d3b04190fa2: Pull complete [2022-06-07T19:32:43.012Z] 2f39f015ded8: Pull complete [2022-06-07T19:32:43.273Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T19:32:43.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:32:43.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:32:43.366Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2022-06-07T19:32:43.402Z] $ 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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-07T19:32:45.441Z] $ docker top 036a9ede92bcc93237daa5d2bf646dbba0fa5df9b7342ab3b258df079a64db5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:32:45.842Z] ---> job-cost.sh [2022-06-07T19:32:45.842Z] lf-activate-venv: SKIPPING [2022-06-07T19:32:45.842Z] INFO: No Stack... [2022-06-07T19:32:46.410Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T19:32:46.670Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T19:32:47.034Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-07T19:32:47.034Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T19:32:47.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [2022-06-07T19:32:47.059Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] did not exist. Created. [2022-06-07T19:32:47.059Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T19:32:47.390Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T19:32:47.417Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T19:32:47.423Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T19:32:47.444Z] $ docker stop --time=1 036a9ede92bcc93237daa5d2bf646dbba0fa5df9b7342ab3b258df079a64db5b [2022-06-07T19:32:48.119Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1680 in /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:32:48.645Z] $ docker rm -f 036a9ede92bcc93237daa5d2bf646dbba0fa5df9b7342ab3b258df079a64db5b [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-07T19:32:48.714Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-06-07T19:32:48.754Z] Selected Git installation does not exist. Using Default [2022-06-07T19:32:48.754Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2022-06-07T19:32:53.245Z] using credential edgex-jenkins-ssh [2022-06-07T19:32:53.264Z] Cloning the remote Git repository [2022-06-07T19:32:53.324Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:32:53.397Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-06-07T19:32:53.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:32:53.463Z] > git --version # timeout=10 [2022-06-07T19:32:53.484Z] > git --version # 'git version 2.25.1' [2022-06-07T19:32:53.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:32:53.625Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T19:32:54.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T19:32:54.555Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T19:32:54.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T19:32:54.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:32:54.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:32:54.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T19:32:55.110Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 28ca0325da4b83db55e09561f6a2145a43d69e2a [2022-06-07T19:32:55.494Z] Merge succeeded, producing 1275f59c1765e9be520fcb2391a877359318a653 [2022-06-07T19:32:55.495Z] Checking out Revision 1275f59c1765e9be520fcb2391a877359318a653 (PR-81) [2022-06-07T19:32:55.130Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T19:32:55.145Z] > git checkout -f 28ca0325da4b83db55e09561f6a2145a43d69e2a # timeout=10 [2022-06-07T19:32:55.272Z] > git remote # timeout=10 [2022-06-07T19:32:55.287Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T19:32:55.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:32:55.311Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T19:32:55.482Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T19:32:55.506Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T19:32:55.528Z] > git checkout -f 1275f59c1765e9be520fcb2391a877359318a653 # timeout=10 [2022-06-07T19:32:59.681Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T19:32:59.707Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:32:59.694Z] > git rev-list --no-walk 5dc7258b6beb1770c63a0ed0b3a063e40fd19a96 # timeout=10 [2022-06-07T19:33:00.585Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T19:33:00.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T19:33:00.585Z] Dload Upload Total Spent Left Speed [2022-06-07T19:33:00.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86900 0 --:--:-- --:--:-- --:--:-- 87521 [Pipeline] sh [2022-06-07T19:33:01.331Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T19:33:01.671Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T19:33:01.672Z] + sudo tee /etc/docker/daemon.new [2022-06-07T19:33:01.672Z] { [2022-06-07T19:33:01.672Z] "registry-mirrors": [ [2022-06-07T19:33:01.672Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T19:33:01.672Z] ], [2022-06-07T19:33:01.672Z] "bip": "10.250.0.254/24", [2022-06-07T19:33:01.672Z] "hosts": [ [2022-06-07T19:33:01.672Z] "tcp://0.0.0.0:5555", [2022-06-07T19:33:01.672Z] "unix:///var/run/docker.sock" [2022-06-07T19:33:01.672Z] ], [2022-06-07T19:33:01.672Z] "mtu": 1458, [2022-06-07T19:33:01.672Z] "selinux-enabled": true, [2022-06-07T19:33:01.672Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T19:33:01.672Z] } [Pipeline] sh [2022-06-07T19:33:02.019Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T19:33:02.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:33:20.684Z] provisioning config files... [2022-06-07T19:33:20.705Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config1016018086786366321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:33:21.056Z] ---> docker-login.sh [2022-06-07T19:33:21.056Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:33:21.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:33:21.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:33:21.918Z] Configure a credential helper to remove this warning. See [2022-06-07T19:33:21.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:33:21.918Z] [2022-06-07T19:33:21.918Z] Login Succeeded [2022-06-07T19:33:21.918Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:33:22.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:33:22.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:33:22.188Z] Configure a credential helper to remove this warning. See [2022-06-07T19:33:22.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:33:22.188Z] [2022-06-07T19:33:22.188Z] Login Succeeded [2022-06-07T19:33:22.188Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:33:22.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:33:22.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:33:22.730Z] Configure a credential helper to remove this warning. See [2022-06-07T19:33:22.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:33:22.730Z] [2022-06-07T19:33:22.730Z] Login Succeeded [2022-06-07T19:33:22.730Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:33:23.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:33:23.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:33:23.003Z] Configure a credential helper to remove this warning. See [2022-06-07T19:33:23.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:33:23.003Z] [2022-06-07T19:33:23.003Z] Login Succeeded [2022-06-07T19:33:23.003Z] docker.io [2022-06-07T19:33:23.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:33:23.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:33:23.872Z] Configure a credential helper to remove this warning. See [2022-06-07T19:33:23.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:33:23.872Z] [2022-06-07T19:33:23.872Z] Login Succeeded [2022-06-07T19:33:23.872Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:33:23.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T19:33:24.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:33:24.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:33:24.479Z] ========================================================= [2022-06-07T19:33:24.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T19:33:24.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:33:24.863Z] + 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-07T19:33:25.475Z] Sending build context to Docker daemon 6.089MB [2022-06-07T19:33:25.475Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:33:25.475Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T19:33:25.475Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T19:33:25.475Z] 9b3977197b4f: Pulling fs layer [2022-06-07T19:33:25.475Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T19:33:25.475Z] 94645a83ff95: Pulling fs layer [2022-06-07T19:33:25.475Z] e6fb740bc735: Pulling fs layer [2022-06-07T19:33:25.475Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T19:33:25.475Z] 355e64cbe906: Pulling fs layer [2022-06-07T19:33:25.475Z] 63ab81a10011: Pulling fs layer [2022-06-07T19:33:25.475Z] 555d1d1c4555: Pulling fs layer [2022-06-07T19:33:25.475Z] 7d9057610161: Pulling fs layer [2022-06-07T19:33:25.475Z] e6fb740bc735: Waiting [2022-06-07T19:33:25.475Z] 3a77bd46dcc9: Waiting [2022-06-07T19:33:25.475Z] 355e64cbe906: Waiting [2022-06-07T19:33:25.475Z] 63ab81a10011: Waiting [2022-06-07T19:33:25.475Z] 555d1d1c4555: Waiting [2022-06-07T19:33:25.475Z] 7d9057610161: Waiting [2022-06-07T19:33:25.475Z] 94645a83ff95: Verifying Checksum [2022-06-07T19:33:25.475Z] 94645a83ff95: Download complete [2022-06-07T19:33:25.475Z] 1a89e8eeedd5: Download complete [2022-06-07T19:33:25.475Z] 3a77bd46dcc9: Download complete [2022-06-07T19:33:25.475Z] 355e64cbe906: Verifying Checksum [2022-06-07T19:33:25.475Z] 355e64cbe906: Download complete [2022-06-07T19:33:25.475Z] 9b3977197b4f: Verifying Checksum [2022-06-07T19:33:25.475Z] 9b3977197b4f: Download complete [2022-06-07T19:33:25.754Z] 63ab81a10011: Verifying Checksum [2022-06-07T19:33:25.754Z] 63ab81a10011: Download complete [2022-06-07T19:33:26.359Z] 9b3977197b4f: Pull complete [2022-06-07T19:33:26.638Z] 7d9057610161: Verifying Checksum [2022-06-07T19:33:26.638Z] 7d9057610161: Download complete [2022-06-07T19:33:27.247Z] 1a89e8eeedd5: Pull complete [2022-06-07T19:33:27.526Z] 94645a83ff95: Pull complete [2022-06-07T19:33:27.802Z] 555d1d1c4555: Verifying Checksum [2022-06-07T19:33:27.802Z] 555d1d1c4555: Download complete [2022-06-07T19:33:28.401Z] e6fb740bc735: Verifying Checksum [2022-06-07T19:33:28.401Z] e6fb740bc735: Download complete [2022-06-07T19:33:40.806Z] e6fb740bc735: Pull complete [2022-06-07T19:33:40.806Z] 3a77bd46dcc9: Pull complete [2022-06-07T19:33:40.806Z] 355e64cbe906: Pull complete [2022-06-07T19:33:41.081Z] 63ab81a10011: Pull complete [2022-06-07T19:33:47.824Z] 555d1d1c4555: Pull complete [2022-06-07T19:33:49.812Z] 7d9057610161: Pull complete [2022-06-07T19:33:49.812Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T19:33:49.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T19:33:49.813Z] ---> 819e984ddca1 [2022-06-07T19:33:49.813Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T19:33:51.255Z] ---> Running in a8f02dfcd9d6 [2022-06-07T19:33:51.530Z] Removing intermediate container a8f02dfcd9d6 [2022-06-07T19:33:51.530Z] ---> deb0603b235a [2022-06-07T19:33:51.530Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:33:51.530Z] ---> Running in 3a46f33c7cdb [2022-06-07T19:33:51.803Z] Removing intermediate container 3a46f33c7cdb [2022-06-07T19:33:51.803Z] ---> 0e99e8370f74 [2022-06-07T19:33:51.803Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:33:51.803Z] ---> Running in e2ab0a7ed80f [2022-06-07T19:33:52.080Z] Removing intermediate container e2ab0a7ed80f [2022-06-07T19:33:52.080Z] ---> 96e191ce30e2 [2022-06-07T19:33:52.080Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:33:52.358Z] ---> Running in bf0ad6109b7d [2022-06-07T19:33:52.631Z] Removing intermediate container bf0ad6109b7d [2022-06-07T19:33:52.631Z] ---> f7949f5bf560 [2022-06-07T19:33:52.631Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:33:52.631Z] ---> Running in 73618538b39a [2022-06-07T19:33:54.611Z] Removing intermediate container 73618538b39a [2022-06-07T19:33:54.611Z] ---> 86a04a76c23f [2022-06-07T19:33:54.611Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:33:54.611Z] ---> Running in f58274153c69 [2022-06-07T19:33:55.210Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:33:56.189Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:33:57.171Z] OK: 220 MiB in 52 packages [2022-06-07T19:33:57.785Z] Removing intermediate container f58274153c69 [2022-06-07T19:33:57.785Z] ---> 8fbafbbba588 [2022-06-07T19:33:57.785Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T19:33:57.785Z] ---> Running in 6803b4802116 [2022-06-07T19:33:58.059Z] Removing intermediate container 6803b4802116 [2022-06-07T19:33:58.059Z] ---> e4117396faec [2022-06-07T19:33:58.059Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T19:33:58.660Z] ---> a7428098449f [2022-06-07T19:33:58.660Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:33:58.660Z] ---> Running in 006aab121267 [2022-06-07T19:34:45.649Z] Removing intermediate container 006aab121267 [2022-06-07T19:34:45.649Z] ---> 1ac4c8f60df6 [2022-06-07T19:34:45.649Z] Step 12/13 : COPY . . [2022-06-07T19:34:45.649Z] ---> 176de1628e07 [2022-06-07T19:34:45.649Z] Step 13/13 : RUN ${MAKE} [2022-06-07T19:34:45.649Z] ---> Running in ef612d53425f [2022-06-07T19:34:45.920Z] noop [2022-06-07T19:34:46.516Z] Removing intermediate container ef612d53425f [2022-06-07T19:34:46.516Z] ---> 870d87f5dae7 [2022-06-07T19:34:46.516Z] Successfully built 870d87f5dae7 [2022-06-07T19:34:46.516Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:34:46.883Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T19:34:46.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:34:47.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-1680 does not seem to be running inside a container [2022-06-07T19:34:47.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-07T19:34:48.448Z] $ docker top 68442b0075dfd92604f2f491ee0ebdd09669b5b6c873b1cf46627528ba308f7a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:34:49.326Z] + go version [2022-06-07T19:34:49.326Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T19:34:49.351Z] $ docker stop --time=1 68442b0075dfd92604f2f491ee0ebdd09669b5b6c873b1cf46627528ba308f7a [2022-06-07T19:34:50.945Z] $ docker rm -f 68442b0075dfd92604f2f491ee0ebdd09669b5b6c873b1cf46627528ba308f7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:34:51.531Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T19:34:51.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:34:51.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-1680 does not seem to be running inside a container [2022-06-07T19:34:51.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-07T19:34:53.087Z] $ docker top 7ca641657993745ac7e609ae68d75df9136da5cb700081095fb45433a33ca028 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T19:34:53.965Z] + make test [2022-06-07T19:34:53.965Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T19:34:55.942Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T19:36:32.816Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T19:36:32.816Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 1.2% of statements [2022-06-07T19:36:45.900Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 32.680s coverage: 13.8% of statements [2022-06-07T19:36:45.900Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T19:36:45.900Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T19:37:12.711Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T19:37:12.711Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T19:37:12.711Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T19:37:15.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T19:37:15.366Z] $ docker stop --time=1 7ca641657993745ac7e609ae68d75df9136da5cb700081095fb45433a33ca028 [2022-06-07T19:37:17.106Z] $ docker rm -f 7ca641657993745ac7e609ae68d75df9136da5cb700081095fb45433a33ca028 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:37:18.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T19:37:18.088Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T19:37:18.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:37:18.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T19:37:19.326Z] + ls -al . [2022-06-07T19:37:19.326Z] total 232 [2022-06-07T19:37:19.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:37 . [2022-06-07T19:37:19.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:32 .. [2022-06-07T19:37:19.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:32 .git [2022-06-07T19:37:19.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:32 .github [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 19:32 .gitignore [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 19:32 .golangci.yml [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 19:32 Attribution.txt [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 19:32 CHANGELOG.md [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 19:32 Dockerfile [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 19:32 GOVERNANCE.md [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 19:32 Jenkinsfile [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 19:32 LICENSE [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 19:32 Makefile [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 19:32 OWNERS.md [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 7 19:32 README.md [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 19:30 VERSION [2022-06-07T19:37:19.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:32 bin [2022-06-07T19:37:19.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 19:32 cmd [2022-06-07T19:37:19.326Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 7 19:36 coverage.out [2022-06-07T19:37:19.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:32 doc [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 19:32 go.mod [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 19:32 go.sum [2022-06-07T19:37:19.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:32 internal [2022-06-07T19:37:19.326Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 19:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:37:19.691Z] + 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=1275f59c1765e9be520fcb2391a877359318a653 --label arch=arm64 --label version=0.0.0 . [2022-06-07T19:37:20.294Z] Sending build context to Docker daemon 6.15MB [2022-06-07T19:37:20.294Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:37:20.294Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T19:37:20.294Z] ---> 870d87f5dae7 [2022-06-07T19:37:20.294Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T19:37:20.294Z] ---> Running in 59e022e8a50a [2022-06-07T19:37:20.569Z] Removing intermediate container 59e022e8a50a [2022-06-07T19:37:20.569Z] ---> 8fec15913afc [2022-06-07T19:37:20.569Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:37:20.569Z] ---> Running in 679c20ee9fe3 [2022-06-07T19:37:20.846Z] Removing intermediate container 679c20ee9fe3 [2022-06-07T19:37:20.846Z] ---> 41fdbc1b84ba [2022-06-07T19:37:20.846Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:37:21.120Z] ---> Running in 8727febdd75d [2022-06-07T19:37:21.394Z] Removing intermediate container 8727febdd75d [2022-06-07T19:37:21.394Z] ---> 622c62ee2d5a [2022-06-07T19:37:21.394Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:37:21.394Z] ---> Running in fad4db09a3e8 [2022-06-07T19:37:21.671Z] Removing intermediate container fad4db09a3e8 [2022-06-07T19:37:21.671Z] ---> 13937f09ec3b [2022-06-07T19:37:21.671Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:37:21.671Z] ---> Running in 7fedac5623c6 [2022-06-07T19:37:23.663Z] Removing intermediate container 7fedac5623c6 [2022-06-07T19:37:23.663Z] ---> fdbb0f297847 [2022-06-07T19:37:23.663Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:37:23.663Z] ---> Running in 64844b3e1c55 [2022-06-07T19:37:24.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:37:25.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:37:26.221Z] OK: 220 MiB in 52 packages [2022-06-07T19:37:26.821Z] Removing intermediate container 64844b3e1c55 [2022-06-07T19:37:26.821Z] ---> 7640536feb44 [2022-06-07T19:37:26.821Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T19:37:27.100Z] ---> Running in 1f9e6303a357 [2022-06-07T19:37:27.374Z] Removing intermediate container 1f9e6303a357 [2022-06-07T19:37:27.374Z] ---> fd12dbf8e771 [2022-06-07T19:37:27.374Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T19:37:27.981Z] ---> 414097bc4bc3 [2022-06-07T19:37:27.981Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:37:27.981Z] ---> Running in 63b20ae69798 [2022-06-07T19:37:29.970Z] Removing intermediate container 63b20ae69798 [2022-06-07T19:37:29.970Z] ---> ff9bfef5482a [2022-06-07T19:37:29.970Z] Step 12/26 : COPY . . [2022-06-07T19:37:31.416Z] ---> 3afa8cf33eda [2022-06-07T19:37:31.416Z] Step 13/26 : RUN ${MAKE} [2022-06-07T19:37:31.416Z] ---> Running in c26ed953fb3e [2022-06-07T19:37:32.398Z] 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-07T19:39:39.294Z] Removing intermediate container c26ed953fb3e [2022-06-07T19:39:39.294Z] ---> 9786868fea42 [2022-06-07T19:39:39.294Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T19:39:39.294Z] 3.15: Pulling from library/alpine [2022-06-07T19:39:39.294Z] 9981e73032c8: Pulling fs layer [2022-06-07T19:39:39.294Z] 9981e73032c8: Download complete [2022-06-07T19:39:39.294Z] 9981e73032c8: Pull complete [2022-06-07T19:39:39.294Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T19:39:39.294Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T19:39:39.294Z] ---> 3fb3c9af89a9 [2022-06-07T19:39:39.294Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T19:39:39.294Z] ---> Running in 0b552d5a0b23 [2022-06-07T19:39:39.294Z] Removing intermediate container 0b552d5a0b23 [2022-06-07T19:39:39.294Z] ---> 6f060b29be88 [2022-06-07T19:39:39.294Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T19:39:39.294Z] ---> Running in 98ff13db53fa [2022-06-07T19:39:39.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:39:39.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:39:39.294Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T19:39:39.294Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T19:39:39.294Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T19:39:39.294Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T19:39:39.294Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T19:39:39.294Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T19:39:39.294Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T19:39:39.294Z] OK: 8 MiB in 20 packages [2022-06-07T19:39:39.294Z] Removing intermediate container 98ff13db53fa [2022-06-07T19:39:39.294Z] ---> dd1454cdd7b3 [2022-06-07T19:39:39.294Z] Step 17/26 : WORKDIR / [2022-06-07T19:39:39.294Z] ---> Running in d3f8475e6c20 [2022-06-07T19:39:39.294Z] Removing intermediate container d3f8475e6c20 [2022-06-07T19:39:39.294Z] ---> efeb64298e8b [2022-06-07T19:39:39.294Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T19:39:39.294Z] ---> 5453537c7ec2 [2022-06-07T19:39:39.294Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T19:39:39.294Z] ---> e1b361bd23ba [2022-06-07T19:39:39.294Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T19:39:39.571Z] ---> ac365ab5de11 [2022-06-07T19:39:39.571Z] Step 21/26 : EXPOSE 59984 [2022-06-07T19:39:39.571Z] ---> Running in 9a9651c472f3 [2022-06-07T19:39:39.846Z] Removing intermediate container 9a9651c472f3 [2022-06-07T19:39:39.846Z] ---> 08c1d4c83ffa [2022-06-07T19:39:39.846Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T19:39:40.121Z] ---> Running in ce17e2a6a7a2 [2022-06-07T19:39:40.396Z] Removing intermediate container ce17e2a6a7a2 [2022-06-07T19:39:40.396Z] ---> 4f9929d7757b [2022-06-07T19:39:40.396Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T19:39:40.396Z] ---> Running in a0108934d836 [2022-06-07T19:39:40.669Z] Removing intermediate container a0108934d836 [2022-06-07T19:39:40.669Z] ---> 192ba11520ad [2022-06-07T19:39:40.669Z] Step 24/26 : LABEL arch=arm64 [2022-06-07T19:39:40.669Z] ---> Running in 6e8e15f3b911 [2022-06-07T19:39:41.273Z] Removing intermediate container 6e8e15f3b911 [2022-06-07T19:39:41.273Z] ---> ad7dfc96667a [2022-06-07T19:39:41.273Z] Step 25/26 : LABEL git_sha=1275f59c1765e9be520fcb2391a877359318a653 [2022-06-07T19:39:41.273Z] ---> Running in 8979609fd256 [2022-06-07T19:39:41.547Z] Removing intermediate container 8979609fd256 [2022-06-07T19:39:41.547Z] ---> b5e962e2e206 [2022-06-07T19:39:41.547Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T19:39:41.547Z] ---> Running in e3018d302398 [2022-06-07T19:39:41.821Z] Removing intermediate container e3018d302398 [2022-06-07T19:39:41.821Z] ---> 3010e2d92c22 [2022-06-07T19:39:41.821Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T19:39:41.821Z] Successfully built 3010e2d92c22 [2022-06-07T19:39:41.821Z] 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-07T19:39:42.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:39:42.276Z] [2022-06-07T19:39:42.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:39:42.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:39:42.903Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T19:39:42.903Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T19:39:42.903Z] 04944245beec: Pulling fs layer [2022-06-07T19:39:42.903Z] 699f458cf7ca: Pulling fs layer [2022-06-07T19:39:42.903Z] 765212b225bb: Pulling fs layer [2022-06-07T19:39:42.903Z] f23df028b6ca: Pulling fs layer [2022-06-07T19:39:42.903Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T19:39:42.903Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T19:39:42.903Z] f23df028b6ca: Waiting [2022-06-07T19:39:42.903Z] d65c8cfc05b1: Waiting [2022-06-07T19:39:42.903Z] 2437ff75d9bd: Waiting [2022-06-07T19:39:42.903Z] 765212b225bb: Waiting [2022-06-07T19:39:42.903Z] 04944245beec: Verifying Checksum [2022-06-07T19:39:42.903Z] 04944245beec: Download complete [2022-06-07T19:39:42.903Z] 765212b225bb: Verifying Checksum [2022-06-07T19:39:42.903Z] 765212b225bb: Download complete [2022-06-07T19:39:42.903Z] f23df028b6ca: Verifying Checksum [2022-06-07T19:39:42.903Z] f23df028b6ca: Download complete [2022-06-07T19:39:42.903Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T19:39:42.903Z] d65c8cfc05b1: Download complete [2022-06-07T19:39:43.178Z] 699f458cf7ca: Verifying Checksum [2022-06-07T19:39:43.178Z] 699f458cf7ca: Download complete [2022-06-07T19:39:43.450Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T19:39:43.450Z] 8998bd30e6a1: Download complete [2022-06-07T19:39:46.098Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T19:39:46.098Z] 2437ff75d9bd: Download complete [2022-06-07T19:39:47.537Z] 8998bd30e6a1: Pull complete [2022-06-07T19:39:48.135Z] 04944245beec: Pull complete [2022-06-07T19:39:49.577Z] 699f458cf7ca: Pull complete [2022-06-07T19:39:49.853Z] 765212b225bb: Pull complete [2022-06-07T19:39:50.449Z] f23df028b6ca: Pull complete [2022-06-07T19:39:50.723Z] d65c8cfc05b1: Pull complete [2022-06-07T19:40:05.820Z] 2437ff75d9bd: Pull complete [2022-06-07T19:40:05.820Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T19:40:05.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:40:05.820Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:40:06.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-1680 does not seem to be running inside a container [2022-06-07T19:40:06.179Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-07T19:40:08.648Z] $ docker top c00ad9076ece3be757ede6f12d0fd576c305906774f73a90c473a92e504f6613 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:09.586Z] ---> job-cost.sh [2022-06-07T19:40:09.586Z] lf-activate-venv: SKIPPING [2022-06-07T19:40:09.586Z] INFO: No Stack... [2022-06-07T19:40:09.860Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T19:40:10.837Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T19:40:11.506Z] + + cat /w/workspace/device-onvif-camera/3/archives/cost.csvcut [2022-06-07T19:40:11.506Z] -d, -f6 [Pipeline] lock [2022-06-07T19:40:11.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [2022-06-07T19:40:11.544Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] did not exist. Created. [2022-06-07T19:40:11.544Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T19:40:12.224Z] /w/workspace/device-onvif-camera/3@tmp/durable-de2cb99e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T19:40:12.910Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T19:40:12.938Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T19:40:12.984Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T19:40:12.990Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T19:40:13.008Z] $ docker stop --time=1 c00ad9076ece3be757ede6f12d0fd576c305906774f73a90c473a92e504f6613 [2022-06-07T19:40:14.518Z] $ docker rm -f c00ad9076ece3be757ede6f12d0fd576c305906774f73a90c473a92e504f6613 [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-07T19:40:14.989Z] provisioning config files... [2022-06-07T19:40:14.998Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6277996769861815546tmp [Pipeline] { [Pipeline] sh [2022-06-07T19:40:15.301Z] + set +x [2022-06-07T19:40:15.301Z] + curl -s https://codecov.io/bash [2022-06-07T19:40:15.301Z] + bash -s -- [2022-06-07T19:40:15.301Z] [2022-06-07T19:40:15.301Z] _____ _ [2022-06-07T19:40:15.301Z] / ____| | | [2022-06-07T19:40:15.301Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T19:40:15.302Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T19:40:15.302Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T19:40:15.302Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T19:40:15.302Z] Bash-1.0.6 [2022-06-07T19:40:15.302Z] [2022-06-07T19:40:15.302Z] [2022-06-07T19:40:15.302Z] ==> git version 2.25.1 found [2022-06-07T19:40:15.302Z] ==> 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-07T19:40:15.302Z] Release-Date: 2020-01-08 [2022-06-07T19:40:15.302Z] 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-07T19:40:15.302Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T19:40:15.302Z] ==> Jenkins CI detected. [2022-06-07T19:40:15.302Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:40:15.302Z] project root: . [2022-06-07T19:40:15.302Z] --> token set from env [2022-06-07T19:40:15.302Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T19:40:15.302Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T19:40:15.302Z] ==> Python coveragepy not found [2022-06-07T19:40:15.302Z] ==> Searching for coverage reports in: [2022-06-07T19:40:15.302Z] + . [2022-06-07T19:40:15.302Z] -> Found 1 reports [2022-06-07T19:40:15.302Z] ==> Detecting git/mercurial file structure [2022-06-07T19:40:15.564Z] ==> Reading reports [2022-06-07T19:40:15.564Z] + ./coverage.out bytes=59966 [2022-06-07T19:40:15.564Z] ==> Appending adjustments [2022-06-07T19:40:15.564Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T19:40:15.564Z] + Found adjustments [2022-06-07T19:40:15.564Z] ==> Gzipping contents [2022-06-07T19:40:15.564Z] 8.0K /tmp/codecov.seSi9Q.gz [2022-06-07T19:40:15.564Z] ==> Uploading reports [2022-06-07T19:40:15.564Z] url: https://codecov.io [2022-06-07T19:40:15.564Z] query: branch=PR-81&commit=3c136555598d9479dc25e11695bde83b5ceaabe5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-07T19:40:15.564Z] -> Pinging Codecov [2022-06-07T19:40:15.564Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-81&commit=3c136555598d9479dc25e11695bde83b5ceaabe5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-07T19:40:15.826Z] -> Uploading to [2022-06-07T19:40:15.826Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/F29A59C45E3A92E06B3E522C9905F8EF/3c136555598d9479dc25e11695bde83b5ceaabe5/cd3da29e-59ea-462a-ad22-6eace2da5c00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T194015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e82003d18b186a86e6de98b9e44d30c0f83b6a8ef5fa4d08b31dd0ba8225d863 [2022-06-07T19:40:15.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T19:40:15.826Z] Dload Upload Total Spent Left Speed [2022-06-07T19:40:16.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7599 0 0 100 7599 0 32474 --:--:-- --:--:-- --:--:-- 32474 [2022-06-07T19:40:16.087Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/3c136555598d9479dc25e11695bde83b5ceaabe5 [Pipeline] } [2022-06-07T19:40:16.096Z] 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-07T19:40:16.777Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-07T19:40:16.777Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:40:16.777Z] total 16 [2022-06-07T19:40:16.777Z] drwxr-xr-x 3 root root 4096 Jun 7 19:32 . [2022-06-07T19:40:16.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 19:32 .. [2022-06-07T19:40:16.777Z] drwxr-xr-x 2 root root 4096 Jun 7 19:32 cost [2022-06-07T19:40:16.777Z] -rw-r--r-- 1 root root 89 Jun 7 19:32 cost.csv [2022-06-07T19:40:16.777Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:40:16.777Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:40:16.777Z] total 16 [2022-06-07T19:40:16.777Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 19:32 . [2022-06-07T19:40:16.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 19:32 .. [2022-06-07T19:40:16.777Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 19:32 cost [2022-06-07T19:40:16.777Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 7 19:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:17.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:17.944Z] ---> package-listing.sh [2022-06-07T19:40:17.944Z] ++ facter osfamily [2022-06-07T19:40:17.944Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T19:40:18.204Z] + OS_FAMILY=debian [2022-06-07T19:40:18.204Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:40:18.204Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T19:40:18.204Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T19:40:18.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T19:40:18.204Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T19:40:18.204Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T19:40:18.205Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T19:40:18.205Z] + case "${OS_FAMILY}" in [2022-06-07T19:40:18.205Z] + dpkg -l [2022-06-07T19:40:18.205Z] + grep '^ii' [2022-06-07T19:40:18.205Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T19:40:18.205Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T19:40:18.205Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T19:40:18.205Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T19:40:18.205Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-07T19:40:18.205Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-07T19:40:18.216Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T19:40:18.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:40:19.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:40:19.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:40:19.134Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2022-06-07T19:40:19.171Z] $ 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-81/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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-07T19:40:19.412Z] $ docker top c6368ff643ac40099885d7424d702e20a4fe6602d4902f418232274283a978cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:40:19.769Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T19:40:20.056Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T19:40:20.345Z] + ls /var/log/sa-host [2022-06-07T19:40:20.345Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:40:20.473Z] provisioning config files... [2022-06-07T19:40:20.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4645924907750145871tmp [Pipeline] { [Pipeline] echo [2022-06-07T19:40:20.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:20.786Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T19:40:20.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:21.129Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T19:40:21.137Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:21.420Z] ---> sudo-logs.sh [2022-06-07T19:40:21.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T19:40:21.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:21.734Z] ---> job-cost.sh [2022-06-07T19:40:21.734Z] lf-activate-venv: SKIPPING [2022-06-07T19:40:21.734Z] DEBUG: total: 0.2199999988079071 [2022-06-07T19:40:21.734Z] INFO: Retrieving Stack Cost... [2022-06-07T19:40:21.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T19:40:22.563Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T19:40:22.573Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:40:22.853Z] ---> logs-deploy.sh [2022-06-07T19:40:22.853Z] lf-activate-venv: SKIPPING [2022-06-07T19:40:22.853Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/3 [2022-06-07T19:40:22.853Z] INFO: archiving workspace using pattern(s): [2022-06-07T19:40:23.840Z] Archives upload complete. [2022-06-07T19:40:23.840Z] INFO: archiving logs to Nexus