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 8c91c093d29741c5e851fdd33989ce894bf9829d 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-ssh12485616252951886104.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-ssh15836779133251278297.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-ssh4108795977857899776.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-ssh13013740257303598131.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-ssh9622585214239104476.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 ‘prd-ubuntu20.04-docker-8c-8g-1679’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1681 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 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 8c91c093d29741c5e851fdd33989ce894bf9829d Merge succeeded, producing a982beef6ae10e2419ab681ec2cddd517d962bdb Checking out Revision a982beef6ae10e2419ab681ec2cddd517d962bdb (PR-81) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c91c093d29741c5e851fdd33989ce894bf9829d # 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 a982beef6ae10e2419ab681ec2cddd517d962bdb # 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:41:39.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T19:41:39.917Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T19:41:39.934Z] ========================================================= [2022-06-07T19:41:39.935Z] EdgeX Global Pipelines Version Info [2022-06-07T19:41:39.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1275f59c1765e9be520fcb2391a877359318a653 # timeout=10 [2022-06-07T19:41:40.704Z] ------------------- [2022-06-07T19:41:40.704Z] stable info: [2022-06-07T19:41:40.704Z] ------------------- [2022-06-07T19:41:40.704Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T19:41:40.704Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T19:41:40.704Z] Message: update stable to v1.0.234 [2022-06-07T19:41:41.278Z] ------------------- [2022-06-07T19:41:41.278Z] experimental info: [2022-06-07T19:41:41.278Z] ------------------- [2022-06-07T19:41:41.278Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T19:41:41.278Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T19:41:41.278Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T19:41:41.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T19:41:41.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T19:41:41.522Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T19:41:41.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T19:41:41.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T19:41:41.569Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T19:41:41.585Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T19:41:41.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T19:41:41.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T19:41:41.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T19:41:41.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T19:41:41.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T19:41:41.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T19:41:41.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T19:41:41.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T19:41:41.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T19:41:41.718Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T19:41:41.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T19:41:41.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T19:41:41.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T19:41:41.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T19:41:41.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T19:41:41.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T19:41:41.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T19:41:41.820Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T19:41:41.831Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T19:41:41.842Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T19:41:41.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-07T19:41:41.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-07T19:41:41.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-07T19:41:41.895Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a982beef6ae10e2419ab681ec2cddd517d962bdb [Pipeline] echo [2022-06-07T19:41:41.910Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a982bee [Pipeline] echo [2022-06-07T19:41:41.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:41:41.967Z] provisioning config files... [2022-06-07T19:41:41.982Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config2840678277433296601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:41:42.293Z] ---> docker-login.sh [2022-06-07T19:41:42.293Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:41:42.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:42.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:42.555Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:42.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:42.555Z] [2022-06-07T19:41:42.555Z] Login Succeeded [2022-06-07T19:41:42.555Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:41:42.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:42.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:42.819Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:42.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:42.819Z] [2022-06-07T19:41:42.819Z] Login Succeeded [2022-06-07T19:41:42.819Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:41:42.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:43.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:43.083Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:43.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:43.083Z] [2022-06-07T19:41:43.083Z] Login Succeeded [2022-06-07T19:41:43.083Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:41:43.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:43.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:43.083Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:43.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:43.083Z] [2022-06-07T19:41:43.083Z] Login Succeeded [2022-06-07T19:41:43.083Z] docker.io [2022-06-07T19:41:43.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:43.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:43.608Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:43.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:43.608Z] [2022-06-07T19:41:43.608Z] Login Succeeded [2022-06-07T19:41:43.608Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:41:43.617Z] 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:41:43.995Z] + git rev-list -1 --merges a982beef6ae10e2419ab681ec2cddd517d962bdb~1..a982beef6ae10e2419ab681ec2cddd517d962bdb [Pipeline] echo [2022-06-07T19:41:44.108Z] -----------> git rev-list -1 --merges a982beef6ae10e2419ab681ec2cddd517d962bdb~1..a982beef6ae10e2419ab681ec2cddd517d962bdb a982beef6ae10e2419ab681ec2cddd517d962bdb [2022-06-07T19:41:44.108Z] a982beef6ae10e2419ab681ec2cddd517d962bdb [false] [Pipeline] sh [2022-06-07T19:41:44.413Z] + git log --format=format:%s -1 a982beef6ae10e2419ab681ec2cddd517d962bdb [Pipeline] echo [2022-06-07T19:41:44.431Z] ========================================================= [2022-06-07T19:41:44.431Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T19:41:44.431Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:41:44.771Z] + git log --format=format:%s -1 a982beef6ae10e2419ab681ec2cddd517d962bdb [Pipeline] echo [2022-06-07T19:41:44.785Z] [semverPrep] GIT_COMMIT: a982beef6ae10e2419ab681ec2cddd517d962bdb, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T19:41:44.803Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T19:41:45.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T19:41:45.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T19:41:45.150Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T19:41:45.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T19:41:45.150Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T19:41:45.150Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T19:41:45.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:41:45.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:41:45.523Z] [2022-06-07T19:41:45.523Z] 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:41:45.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:41:45.844Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T19:41:45.844Z] 42c077c10790: Pulling fs layer [2022-06-07T19:41:45.844Z] f63e77b7563a: Pulling fs layer [2022-06-07T19:41:45.844Z] bd5fdadae976: Pulling fs layer [2022-06-07T19:41:45.844Z] 205491f53016: Pulling fs layer [2022-06-07T19:41:45.844Z] df18705c85c3: Pulling fs layer [2022-06-07T19:41:45.844Z] bdb3f477010e: Pulling fs layer [2022-06-07T19:41:45.844Z] 205491f53016: Waiting [2022-06-07T19:41:45.844Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T19:41:45.844Z] bdb3f477010e: Waiting [2022-06-07T19:41:45.844Z] df18705c85c3: Waiting [2022-06-07T19:41:45.844Z] c8a8fc8e1c8f: Waiting [2022-06-07T19:41:45.844Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T19:41:45.844Z] bdb8f0575790: Pulling fs layer [2022-06-07T19:41:45.844Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T19:41:45.844Z] 2c6e9b1d212d: Waiting [2022-06-07T19:41:45.844Z] bdb8f0575790: Waiting [2022-06-07T19:41:45.844Z] 2343380bae48: Pulling fs layer [2022-06-07T19:41:45.844Z] 386e3cb2ff24: Waiting [2022-06-07T19:41:45.844Z] 2343380bae48: Waiting [2022-06-07T19:41:45.844Z] f63e77b7563a: Verifying Checksum [2022-06-07T19:41:45.844Z] f63e77b7563a: Download complete [2022-06-07T19:41:45.844Z] 205491f53016: Verifying Checksum [2022-06-07T19:41:45.844Z] 205491f53016: Download complete [2022-06-07T19:41:46.106Z] bd5fdadae976: Verifying Checksum [2022-06-07T19:41:46.106Z] bd5fdadae976: Download complete [2022-06-07T19:41:46.106Z] df18705c85c3: Verifying Checksum [2022-06-07T19:41:46.106Z] df18705c85c3: Download complete [2022-06-07T19:41:46.106Z] bdb3f477010e: Verifying Checksum [2022-06-07T19:41:46.106Z] bdb3f477010e: Download complete [2022-06-07T19:41:46.106Z] 2c6e9b1d212d: Download complete [2022-06-07T19:41:46.106Z] bdb8f0575790: Download complete [2022-06-07T19:41:46.106Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T19:41:46.106Z] 386e3cb2ff24: Download complete [2022-06-07T19:41:46.106Z] 2343380bae48: Download complete [2022-06-07T19:41:46.106Z] 42c077c10790: Verifying Checksum [2022-06-07T19:41:46.106Z] 42c077c10790: Download complete [2022-06-07T19:41:46.367Z] c8a8fc8e1c8f: Download complete [2022-06-07T19:41:47.755Z] 42c077c10790: Pull complete [2022-06-07T19:41:47.755Z] f63e77b7563a: Pull complete [2022-06-07T19:41:48.326Z] bd5fdadae976: Pull complete [2022-06-07T19:41:48.326Z] 205491f53016: Pull complete [2022-06-07T19:41:48.587Z] df18705c85c3: Pull complete [2022-06-07T19:41:48.847Z] bdb3f477010e: Pull complete [2022-06-07T19:41:50.767Z] c8a8fc8e1c8f: Pull complete [2022-06-07T19:41:50.767Z] 2c6e9b1d212d: Pull complete [2022-06-07T19:41:51.031Z] bdb8f0575790: Pull complete [2022-06-07T19:41:51.031Z] 386e3cb2ff24: Pull complete [2022-06-07T19:41:51.031Z] 2343380bae48: Pull complete [2022-06-07T19:41:51.294Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T19:41:51.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T19:41:51.294Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:41:51.424Z] prd-ubuntu20.04-docker-8c-8g-1681 does not seem to be running inside a container [2022-06-07T19:41:51.481Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T19:41:53.067Z] $ docker top c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 -eo pid,comm [2022-06-07T19:41:53.138Z] 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:41:53.138Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T19:41:53.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T19:41:53.178Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T19:41:53.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T19:41:53.331Z] $ docker exec c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 ssh-agent [2022-06-07T19:41:53.462Z] SSH_AUTH_SOCK=/tmp/ssh-B9OLBxTNCoDi/agent.32 [2022-06-07T19:41:53.462Z] SSH_AGENT_PID=38 [2022-06-07T19:41:53.470Z] Running ssh-add (command line suppressed) [2022-06-07T19:41:53.599Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5703586581581974468.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_5703586581581974468.key) [2022-06-07T19:41:53.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T19:41:53.913Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T19:41:53.942Z] $ docker exec --env ******** --env ******** c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 ssh-agent -k [2022-06-07T19:41:54.064Z] unset SSH_AUTH_SOCK; [2022-06-07T19:41:54.064Z] unset SSH_AGENT_PID; [2022-06-07T19:41:54.065Z] echo Agent pid 38 killed; [2022-06-07T19:41:54.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T19:41:54.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T19:41:54.103Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T19:41:54.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T19:41:54.249Z] $ docker exec c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 ssh-agent [2022-06-07T19:41:54.373Z] SSH_AUTH_SOCK=/tmp/ssh-1vjUH1Ri7VWk/agent.70 [2022-06-07T19:41:54.373Z] SSH_AGENT_PID=76 [2022-06-07T19:41:54.379Z] Running ssh-add (command line suppressed) [2022-06-07T19:41:54.510Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_6095742504725909418.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_6095742504725909418.key) [2022-06-07T19:41:54.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T19:41:54.816Z] + git semver init [2022-06-07T19:41:55.078Z] 2022-06-07 19:41:55,039 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T19:41:55.079Z] 2022-06-07 19:41:55,040 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T19:41:55.079Z] 2022-06-07 19:41:55,041 [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:41:55.079Z] 2022-06-07 19:41:55,041 [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:41:56.027Z] 2022-06-07 19:41:55,740 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-07T19:41:56.027Z] 2022-06-07 19:41:55,741 [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:41:56.027Z] 2022-06-07 19:41:55,741 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T19:41:56.027Z] 2022-06-07 19:41:55,747 [execute] INFO git cat-file --batch-check [2022-06-07T19:41:56.027Z] 2022-06-07 19:41:55,747 [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:41:56.027Z] 2022-06-07 19:41:55,755 [execute] INFO git cat-file --batch [2022-06-07T19:41:56.027Z] 2022-06-07 19:41:55,755 [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:41:56.027Z] 2022-06-07 19:41:55,761 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T19:41:56.027Z] 0.0.0 [Pipeline] } [2022-06-07T19:41:56.046Z] $ docker exec --env ******** --env ******** c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 ssh-agent -k [2022-06-07T19:41:56.164Z] unset SSH_AUTH_SOCK; [2022-06-07T19:41:56.165Z] unset SSH_AGENT_PID; [2022-06-07T19:41:56.165Z] echo Agent pid 76 killed; [2022-06-07T19:41:56.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T19:41:56.489Z] + git semver [Pipeline] } [2022-06-07T19:41:56.775Z] $ docker stop --time=1 c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 [2022-06-07T19:41:58.106Z] $ docker rm -f c3a442f128ac82cfbdc8c1e054627836da96830a6a40ddad513a11a164e0f8c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:41:58.465Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T19:41:58.731Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T19:41:58.734Z] [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:41:58.888Z] provisioning config files... [2022-06-07T19:41:58.900Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6769456902595878653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:41:59.202Z] ---> docker-login.sh [2022-06-07T19:41:59.202Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:41:59.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:59.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:59.202Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:59.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:59.202Z] [2022-06-07T19:41:59.202Z] Login Succeeded [2022-06-07T19:41:59.202Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:41:59.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:59.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:59.467Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:59.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:59.467Z] [2022-06-07T19:41:59.467Z] Login Succeeded [2022-06-07T19:41:59.467Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:41:59.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:59.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:59.467Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:59.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:59.467Z] [2022-06-07T19:41:59.467Z] Login Succeeded [2022-06-07T19:41:59.467Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:41:59.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:41:59.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:41:59.728Z] Configure a credential helper to remove this warning. See [2022-06-07T19:41:59.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:41:59.728Z] [2022-06-07T19:41:59.728Z] Login Succeeded [2022-06-07T19:41:59.728Z] docker.io [2022-06-07T19:41:59.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:42:00.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:42:00.307Z] Configure a credential helper to remove this warning. See [2022-06-07T19:42:00.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:42:00.307Z] [2022-06-07T19:42:00.307Z] Login Succeeded [2022-06-07T19:42:00.307Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:42:00.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T19:42:00.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:42:00.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:42:00.418Z] ========================================================= [2022-06-07T19:42:00.418Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T19:42:00.418Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:42:00.735Z] + 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:42:00.735Z] Sending build context to Docker daemon 8.874MB [2022-06-07T19:42:00.735Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:42:00.735Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T19:42:00.735Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T19:42:00.735Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T19:42:00.735Z] 666ba61612fd: Pulling fs layer [2022-06-07T19:42:00.735Z] 8ed8ca486205: Pulling fs layer [2022-06-07T19:42:00.735Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T19:42:00.735Z] c516ae0d96e1: Pulling fs layer [2022-06-07T19:42:00.735Z] cc1cd167ecdc: Waiting [2022-06-07T19:42:00.735Z] 684cea983483: Pulling fs layer [2022-06-07T19:42:00.735Z] dd3240ac7de5: Pulling fs layer [2022-06-07T19:42:00.735Z] b1e948a4e11c: Pulling fs layer [2022-06-07T19:42:00.735Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T19:42:00.735Z] 646ad004c059: Pulling fs layer [2022-06-07T19:42:00.735Z] c516ae0d96e1: Waiting [2022-06-07T19:42:00.735Z] b1e948a4e11c: Waiting [2022-06-07T19:42:00.735Z] a8fd76ee1af6: Waiting [2022-06-07T19:42:00.735Z] 646ad004c059: Waiting [2022-06-07T19:42:00.735Z] dd3240ac7de5: Waiting [2022-06-07T19:42:00.998Z] 8ed8ca486205: Verifying Checksum [2022-06-07T19:42:00.998Z] 8ed8ca486205: Download complete [2022-06-07T19:42:00.998Z] 666ba61612fd: Download complete [2022-06-07T19:42:00.998Z] c516ae0d96e1: Verifying Checksum [2022-06-07T19:42:00.998Z] c516ae0d96e1: Download complete [2022-06-07T19:42:00.998Z] 684cea983483: Download complete [2022-06-07T19:42:00.998Z] dd3240ac7de5: Download complete [2022-06-07T19:42:00.998Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T19:42:00.998Z] b1e948a4e11c: Verifying Checksum [2022-06-07T19:42:00.998Z] b1e948a4e11c: Download complete [2022-06-07T19:42:00.998Z] 59bf1c3509f3: Pull complete [2022-06-07T19:42:01.269Z] 666ba61612fd: Pull complete [2022-06-07T19:42:01.269Z] 8ed8ca486205: Pull complete [2022-06-07T19:42:01.533Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T19:42:01.533Z] a8fd76ee1af6: Download complete [2022-06-07T19:42:01.533Z] 646ad004c059: Verifying Checksum [2022-06-07T19:42:01.533Z] 646ad004c059: Download complete [2022-06-07T19:42:01.533Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T19:42:01.533Z] cc1cd167ecdc: Download complete [2022-06-07T19:42:05.733Z] cc1cd167ecdc: Pull complete [2022-06-07T19:42:05.995Z] c516ae0d96e1: Pull complete [2022-06-07T19:42:05.995Z] 684cea983483: Pull complete [2022-06-07T19:42:05.995Z] dd3240ac7de5: Pull complete [2022-06-07T19:42:06.256Z] b1e948a4e11c: Pull complete [2022-06-07T19:42:08.819Z] a8fd76ee1af6: Pull complete [2022-06-07T19:42:09.412Z] 646ad004c059: Pull complete [2022-06-07T19:42:09.412Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T19:42:09.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T19:42:09.412Z] ---> 8f69c11f6b0c [2022-06-07T19:42:09.412Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T19:42:11.341Z] ---> Running in e0fc8e77f522 [2022-06-07T19:42:11.603Z] Removing intermediate container e0fc8e77f522 [2022-06-07T19:42:11.603Z] ---> e926fb2b6cd2 [2022-06-07T19:42:11.603Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:42:11.603Z] ---> Running in 347db202d527 [2022-06-07T19:42:11.603Z] Removing intermediate container 347db202d527 [2022-06-07T19:42:11.603Z] ---> 0aa9d124552f [2022-06-07T19:42:11.603Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:42:11.603Z] ---> Running in b54e7f80cddf [2022-06-07T19:42:11.865Z] Removing intermediate container b54e7f80cddf [2022-06-07T19:42:11.865Z] ---> 24d082ced59e [2022-06-07T19:42:11.865Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:42:11.865Z] ---> Running in 4423fc492696 [2022-06-07T19:42:11.865Z] Removing intermediate container 4423fc492696 [2022-06-07T19:42:11.865Z] ---> 3e61e4b3df77 [2022-06-07T19:42:11.865Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:42:12.126Z] ---> Running in 10bde219ff15 [2022-06-07T19:42:12.698Z] Removing intermediate container 10bde219ff15 [2022-06-07T19:42:12.698Z] ---> 3f53f3a305f2 [2022-06-07T19:42:12.698Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:42:12.698Z] ---> Running in e7bd7a8920d7 [2022-06-07T19:42:12.959Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:42:13.844Z] Still waiting to schedule task [2022-06-07T19:42:13.845Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1680’ is offline [2022-06-07T19:42:13.908Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:42:14.168Z] OK: 221 MiB in 52 packages [2022-06-07T19:42:14.429Z] Removing intermediate container e7bd7a8920d7 [2022-06-07T19:42:14.429Z] ---> f115b8855002 [2022-06-07T19:42:14.429Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T19:42:14.430Z] ---> Running in ad9ccb6c9e5d [2022-06-07T19:42:14.689Z] Removing intermediate container ad9ccb6c9e5d [2022-06-07T19:42:14.689Z] ---> 0239ee2ec7de [2022-06-07T19:42:14.689Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T19:42:14.689Z] ---> e612e16f06ad [2022-06-07T19:42:14.689Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:42:14.689Z] ---> Running in 64b773f5a1ee [2022-06-07T19:42:32.824Z] Removing intermediate container 64b773f5a1ee [2022-06-07T19:42:32.824Z] ---> 74ab342e1572 [2022-06-07T19:42:32.824Z] Step 12/13 : COPY . . [2022-06-07T19:42:32.824Z] ---> 02e05443a06d [2022-06-07T19:42:32.824Z] Step 13/13 : RUN ${MAKE} [2022-06-07T19:42:32.824Z] ---> Running in d614a97db5a8 [2022-06-07T19:42:32.824Z] noop [2022-06-07T19:42:32.824Z] Removing intermediate container d614a97db5a8 [2022-06-07T19:42:32.824Z] ---> 07d7a4f9fb3c [2022-06-07T19:42:32.824Z] Successfully built 07d7a4f9fb3c [2022-06-07T19:42:32.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:42:33.146Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T19:42:33.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:42:33.231Z] prd-ubuntu20.04-docker-8c-8g-1681 does not seem to be running inside a container [2022-06-07T19:42:33.274Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T19:42:33.665Z] $ docker top e7496542d8a82e7a2f4e6919f1e247009962a057e2c44b8c6a9b3158e431d819 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:42:34.026Z] + go version [2022-06-07T19:42:34.026Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T19:42:34.044Z] $ docker stop --time=1 e7496542d8a82e7a2f4e6919f1e247009962a057e2c44b8c6a9b3158e431d819 [2022-06-07T19:42:35.339Z] $ docker rm -f e7496542d8a82e7a2f4e6919f1e247009962a057e2c44b8c6a9b3158e431d819 [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:42:35.772Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T19:42:35.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:42:35.862Z] prd-ubuntu20.04-docker-8c-8g-1681 does not seem to be running inside a container [2022-06-07T19:42:35.918Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T19:42:36.342Z] $ docker top 158e395c953ba46b07a1c1bacf23b7e1f4148b3d464cd0316cc440fe85375103 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T19:42:36.722Z] + make test [2022-06-07T19:42:36.722Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T19:42:36.989Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T19:42:49.301Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T19:42:49.301Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.2% of statements [2022-06-07T19:42:52.601Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.701s coverage: 13.8% of statements [2022-06-07T19:43:00.739Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T19:43:04.944Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T19:43:04.944Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T19:43:04.944Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T19:43:05.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T19:43:05.242Z] $ docker stop --time=1 158e395c953ba46b07a1c1bacf23b7e1f4148b3d464cd0316cc440fe85375103 [2022-06-07T19:43:07.104Z] $ docker rm -f 158e395c953ba46b07a1c1bacf23b7e1f4148b3d464cd0316cc440fe85375103 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:43:07.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T19:43:07.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T19:43:08.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T19:43:08.345Z] + ls -al . [2022-06-07T19:43:08.345Z] total 236 [2022-06-07T19:43:08.345Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 19:43 . [2022-06-07T19:43:08.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:41 .. [2022-06-07T19:43:08.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:41 .git [2022-06-07T19:43:08.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:41 .github [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 19:41 .gitignore [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 19:41 .golangci.yml [2022-06-07T19:43:08.345Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 19:41 .semver [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 19:41 Attribution.txt [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 19:41 CHANGELOG.md [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 19:41 Dockerfile [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 19:41 GOVERNANCE.md [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 19:41 Jenkinsfile [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 19:41 LICENSE [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 19:41 Makefile [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 19:41 OWNERS.md [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 7 19:41 README.md [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 19:41 VERSION [2022-06-07T19:43:08.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:41 bin [2022-06-07T19:43:08.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 19:41 cmd [2022-06-07T19:43:08.345Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 7 19:42 coverage.out [2022-06-07T19:43:08.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:41 doc [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 19:41 go.mod [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 19:41 go.sum [2022-06-07T19:43:08.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:41 internal [2022-06-07T19:43:08.345Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 19:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:43:08.657Z] + 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=a982beef6ae10e2419ab681ec2cddd517d962bdb --label arch=amd64 --label version=0.0.0 . [2022-06-07T19:43:08.657Z] Sending build context to Docker daemon 8.935MB [2022-06-07T19:43:08.657Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:43:08.657Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T19:43:08.657Z] ---> 07d7a4f9fb3c [2022-06-07T19:43:08.657Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T19:43:08.921Z] ---> Running in 3b9115f67587 [2022-06-07T19:43:08.922Z] Removing intermediate container 3b9115f67587 [2022-06-07T19:43:08.922Z] ---> 693a340a8c41 [2022-06-07T19:43:08.922Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:43:08.922Z] ---> Running in c34f8c204f73 [2022-06-07T19:43:08.922Z] Removing intermediate container c34f8c204f73 [2022-06-07T19:43:08.922Z] ---> d50ef7c7e402 [2022-06-07T19:43:08.922Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:43:08.922Z] ---> Running in d225bafe1a32 [2022-06-07T19:43:09.182Z] Removing intermediate container d225bafe1a32 [2022-06-07T19:43:09.182Z] ---> f7fa6c37a1ba [2022-06-07T19:43:09.182Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:43:09.182Z] ---> Running in f66db98eae68 [2022-06-07T19:43:09.182Z] Removing intermediate container f66db98eae68 [2022-06-07T19:43:09.182Z] ---> 7a99ad1a2ace [2022-06-07T19:43:09.182Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:43:09.182Z] ---> Running in 5ffc10d9d47e [2022-06-07T19:43:10.123Z] Removing intermediate container 5ffc10d9d47e [2022-06-07T19:43:10.123Z] ---> 1312d40db8e9 [2022-06-07T19:43:10.123Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:43:10.123Z] ---> Running in 440dd7bc27c5 [2022-06-07T19:43:10.123Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:43:11.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:43:11.346Z] OK: 221 MiB in 52 packages [2022-06-07T19:43:11.925Z] Removing intermediate container 440dd7bc27c5 [2022-06-07T19:43:11.925Z] ---> 31491a1abf5d [2022-06-07T19:43:11.925Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T19:43:11.925Z] ---> Running in 977e662da455 [2022-06-07T19:43:11.925Z] Removing intermediate container 977e662da455 [2022-06-07T19:43:11.925Z] ---> e0ef63a7585a [2022-06-07T19:43:11.925Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T19:43:11.925Z] ---> 2a59230fe3a8 [2022-06-07T19:43:11.925Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:43:12.186Z] ---> Running in e3dd2c1dd8a2 [2022-06-07T19:43:12.758Z] Removing intermediate container e3dd2c1dd8a2 [2022-06-07T19:43:12.758Z] ---> 0892f0dcdc4a [2022-06-07T19:43:12.758Z] Step 12/26 : COPY . . [2022-06-07T19:43:13.329Z] ---> a54880a8aa71 [2022-06-07T19:43:13.329Z] Step 13/26 : RUN ${MAKE} [2022-06-07T19:43:13.329Z] ---> Running in ea480c4a9027 [2022-06-07T19:43:13.589Z] 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:43:35.542Z] Removing intermediate container ea480c4a9027 [2022-06-07T19:43:35.542Z] ---> 0194061f9c5e [2022-06-07T19:43:35.542Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T19:43:35.542Z] 3.15: Pulling from library/alpine [2022-06-07T19:43:35.542Z] df9b9388f04a: Pulling fs layer [2022-06-07T19:43:35.542Z] df9b9388f04a: Verifying Checksum [2022-06-07T19:43:35.542Z] df9b9388f04a: Download complete [2022-06-07T19:43:35.542Z] df9b9388f04a: Pull complete [2022-06-07T19:43:35.542Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T19:43:35.542Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T19:43:35.542Z] ---> 0ac33e5f5afa [2022-06-07T19:43:35.542Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T19:43:35.542Z] ---> Running in 236c03224a6d [2022-06-07T19:43:35.542Z] Removing intermediate container 236c03224a6d [2022-06-07T19:43:35.542Z] ---> 67014dc0cc0f [2022-06-07T19:43:35.542Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T19:43:35.542Z] ---> Running in 18f42763bc8f [2022-06-07T19:43:35.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T19:43:35.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T19:43:36.063Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T19:43:36.063Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T19:43:36.064Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T19:43:36.064Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T19:43:36.064Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T19:43:36.064Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T19:43:36.064Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T19:43:36.064Z] OK: 8 MiB in 20 packages [2022-06-07T19:43:36.636Z] Removing intermediate container 18f42763bc8f [2022-06-07T19:43:36.636Z] ---> b6429f393347 [2022-06-07T19:43:36.636Z] Step 17/26 : WORKDIR / [2022-06-07T19:43:36.636Z] ---> Running in 1235490caf59 [2022-06-07T19:43:36.636Z] Removing intermediate container 1235490caf59 [2022-06-07T19:43:36.636Z] ---> a71261c99bf4 [2022-06-07T19:43:36.636Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T19:43:37.579Z] ---> 38fd176d0bbe [2022-06-07T19:43:37.579Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T19:43:37.579Z] ---> 30ee553dea6c [2022-06-07T19:43:37.579Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T19:43:37.579Z] ---> 1166cf5177de [2022-06-07T19:43:37.579Z] Step 21/26 : EXPOSE 59984 [2022-06-07T19:43:37.579Z] ---> Running in f720f89b96b4 [2022-06-07T19:43:37.840Z] Removing intermediate container f720f89b96b4 [2022-06-07T19:43:37.840Z] ---> 64a076c623b1 [2022-06-07T19:43:37.840Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T19:43:37.840Z] ---> Running in b138a6b08b06 [2022-06-07T19:43:37.840Z] Removing intermediate container b138a6b08b06 [2022-06-07T19:43:37.840Z] ---> c2323d786fce [2022-06-07T19:43:37.840Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T19:43:38.102Z] ---> Running in fcb9e38c0eb5 [2022-06-07T19:43:38.102Z] Removing intermediate container fcb9e38c0eb5 [2022-06-07T19:43:38.102Z] ---> d923f1d07ecf [2022-06-07T19:43:38.102Z] Step 24/26 : LABEL arch=amd64 [2022-06-07T19:43:38.102Z] ---> Running in 74a9f5e8503e [2022-06-07T19:43:38.365Z] Removing intermediate container 74a9f5e8503e [2022-06-07T19:43:38.365Z] ---> a14e870517f0 [2022-06-07T19:43:38.365Z] Step 25/26 : LABEL git_sha=a982beef6ae10e2419ab681ec2cddd517d962bdb [2022-06-07T19:43:38.365Z] ---> Running in eeefd1fac894 [2022-06-07T19:43:38.365Z] Removing intermediate container eeefd1fac894 [2022-06-07T19:43:38.365Z] ---> 77942f1f68d8 [2022-06-07T19:43:38.365Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T19:43:38.365Z] ---> Running in d2f0746a9b12 [2022-06-07T19:43:38.365Z] Removing intermediate container d2f0746a9b12 [2022-06-07T19:43:38.365Z] ---> 0ef35fadc7d7 [2022-06-07T19:43:38.365Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T19:43:38.365Z] Successfully built 0ef35fadc7d7 [2022-06-07T19:43:38.627Z] 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:43:39.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:43:39.081Z] [2022-06-07T19:43:39.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:43:39.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:43:39.391Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T19:43:39.391Z] 5eb5b503b376: Pulling fs layer [2022-06-07T19:43:39.391Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T19:43:39.391Z] ec43610c2a17: Pulling fs layer [2022-06-07T19:43:39.391Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T19:43:39.391Z] 33b1e0a273af: Pulling fs layer [2022-06-07T19:43:39.391Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T19:43:39.391Z] 33b1e0a273af: Waiting [2022-06-07T19:43:39.391Z] 3a2ae6a8a46f: Waiting [2022-06-07T19:43:39.391Z] 2f39f015ded8: Pulling fs layer [2022-06-07T19:43:39.391Z] 5d3b04190fa2: Waiting [2022-06-07T19:43:39.391Z] 2f39f015ded8: Waiting [2022-06-07T19:43:39.391Z] 5c69ac0246d0: Download complete [2022-06-07T19:43:39.391Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T19:43:39.391Z] 3a2ae6a8a46f: Download complete [2022-06-07T19:43:39.652Z] 33b1e0a273af: Verifying Checksum [2022-06-07T19:43:39.652Z] 33b1e0a273af: Download complete [2022-06-07T19:43:39.652Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T19:43:39.652Z] 5d3b04190fa2: Download complete [2022-06-07T19:43:39.652Z] ec43610c2a17: Verifying Checksum [2022-06-07T19:43:39.652Z] ec43610c2a17: Download complete [2022-06-07T19:43:39.652Z] 5eb5b503b376: Verifying Checksum [2022-06-07T19:43:39.652Z] 5eb5b503b376: Download complete [2022-06-07T19:43:40.221Z] 2f39f015ded8: Download complete [2022-06-07T19:43:41.167Z] 5eb5b503b376: Pull complete [2022-06-07T19:43:41.167Z] 5c69ac0246d0: Pull complete [2022-06-07T19:43:41.738Z] ec43610c2a17: Pull complete [2022-06-07T19:43:41.738Z] 3a2ae6a8a46f: Pull complete [2022-06-07T19:43:41.997Z] 33b1e0a273af: Pull complete [2022-06-07T19:43:41.997Z] 5d3b04190fa2: Pull complete [2022-06-07T19:43:47.279Z] 2f39f015ded8: Pull complete [2022-06-07T19:43:47.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T19:43:47.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:43:47.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:43:47.377Z] prd-ubuntu20.04-docker-8c-8g-1681 does not seem to be running inside a container [2022-06-07T19:43:47.417Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T19:43:48.549Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1682 in /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:43:49.224Z] $ docker top 5d40b3a08f6d556e5f1c7ee77ad5e134286c0b3f43ae0c858d29eb1e4820db49 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-06-07T19:43:49.369Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-06-07T19:43:49.407Z] Selected Git installation does not exist. Using Default [2022-06-07T19:43:49.407Z] The recommended git tool is: NONE [2022-06-07T19:43:49.623Z] ---> job-cost.sh [2022-06-07T19:43:49.623Z] lf-activate-venv: SKIPPING [2022-06-07T19:43:49.623Z] INFO: No Stack... [2022-06-07T19:43:49.884Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T19:43:50.454Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T19:43:50.746Z] + + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-07T19:43:50.746Z] cut -d, -f6 [Pipeline] lock [2022-06-07T19:43:50.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [2022-06-07T19:43:50.764Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] did not exist. Created. [2022-06-07T19:43:50.764Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T19:43:51.073Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T19:43:51.093Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T19:43:51.098Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T19:43:51.122Z] $ docker stop --time=1 5d40b3a08f6d556e5f1c7ee77ad5e134286c0b3f43ae0c858d29eb1e4820db49 [2022-06-07T19:43:52.303Z] $ docker rm -f 5d40b3a08f6d556e5f1c7ee77ad5e134286c0b3f43ae0c858d29eb1e4820db49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T19:43:54.041Z] using credential edgex-jenkins-ssh [2022-06-07T19:43:54.060Z] Cloning the remote Git repository [2022-06-07T19:43:54.116Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:43:54.194Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-06-07T19:43:54.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:43:54.270Z] > git --version # timeout=10 [2022-06-07T19:43:54.291Z] > git --version # 'git version 2.25.1' [2022-06-07T19:43:54.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:43:54.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T19:43:55.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T19:43:55.329Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T19:43:55.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T19:43:55.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T19:43:55.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:43:55.417Z] > 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:43:55.926Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 8c91c093d29741c5e851fdd33989ce894bf9829d [2022-06-07T19:43:56.339Z] Merge succeeded, producing 846b8dc6f387d4a1b98612b3068696404505ee6f [2022-06-07T19:43:56.340Z] Checking out Revision 846b8dc6f387d4a1b98612b3068696404505ee6f (PR-81) [2022-06-07T19:43:55.947Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T19:43:55.970Z] > git checkout -f 8c91c093d29741c5e851fdd33989ce894bf9829d # timeout=10 [2022-06-07T19:43:56.111Z] > git remote # timeout=10 [2022-06-07T19:43:56.129Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T19:43:56.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T19:43:56.163Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T19:43:56.319Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T19:43:56.350Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T19:43:56.370Z] > git checkout -f 846b8dc6f387d4a1b98612b3068696404505ee6f # timeout=10 [2022-06-07T19:44:00.573Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T19:44:00.597Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:44:00.582Z] > git rev-list --no-walk 1275f59c1765e9be520fcb2391a877359318a653 # timeout=10 [2022-06-07T19:44:01.540Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T19:44:01.540Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T19:44:01.540Z] Dload Upload Total Spent Left Speed [2022-06-07T19:44:01.540Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 84503 0 --:--:-- --:--:-- --:--:-- 85090 [Pipeline] sh [2022-06-07T19:44:02.275Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T19:44:02.619Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-06-07T19:44:02.619Z] [2022-06-07T19:44:02.619Z] { [2022-06-07T19:44:02.619Z] "registry-mirrors": [ [2022-06-07T19:44:02.619Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T19:44:02.619Z] ], [2022-06-07T19:44:02.619Z] "bip": "10.250.0.254/24", [2022-06-07T19:44:02.619Z] "hosts": [ [2022-06-07T19:44:02.619Z] "tcp://0.0.0.0:5555", [2022-06-07T19:44:02.619Z] "unix:///var/run/docker.sock" [2022-06-07T19:44:02.619Z] ], [2022-06-07T19:44:02.619Z] "mtu": 1458, [2022-06-07T19:44:02.619Z] "selinux-enabled": true, [2022-06-07T19:44:02.619Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T19:44:02.619Z] } [Pipeline] sh [2022-06-07T19:44:02.965Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T19:44:03.302Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:44:21.655Z] provisioning config files... [2022-06-07T19:44:21.679Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config5637693754492999309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:44:22.039Z] ---> docker-login.sh [2022-06-07T19:44:22.039Z] nexus3.edgexfoundry.org:10001 [2022-06-07T19:44:22.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:44:22.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:44:22.911Z] Configure a credential helper to remove this warning. See [2022-06-07T19:44:22.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:44:22.911Z] [2022-06-07T19:44:22.911Z] Login Succeeded [2022-06-07T19:44:22.911Z] nexus3.edgexfoundry.org:10002 [2022-06-07T19:44:23.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:44:23.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:44:23.184Z] Configure a credential helper to remove this warning. See [2022-06-07T19:44:23.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:44:23.184Z] [2022-06-07T19:44:23.184Z] Login Succeeded [2022-06-07T19:44:23.458Z] nexus3.edgexfoundry.org:10003 [2022-06-07T19:44:23.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:44:23.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:44:23.732Z] Configure a credential helper to remove this warning. See [2022-06-07T19:44:23.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:44:23.732Z] [2022-06-07T19:44:23.732Z] Login Succeeded [2022-06-07T19:44:23.732Z] nexus3.edgexfoundry.org:10004 [2022-06-07T19:44:24.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:44:24.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:44:24.330Z] Configure a credential helper to remove this warning. See [2022-06-07T19:44:24.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:44:24.330Z] [2022-06-07T19:44:24.330Z] Login Succeeded [2022-06-07T19:44:24.330Z] docker.io [2022-06-07T19:44:24.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T19:44:24.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T19:44:24.874Z] Configure a credential helper to remove this warning. See [2022-06-07T19:44:24.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T19:44:24.874Z] [2022-06-07T19:44:24.874Z] Login Succeeded [2022-06-07T19:44:25.145Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T19:44:25.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T19:44:25.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:44:25.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T19:44:25.732Z] ========================================================= [2022-06-07T19:44:25.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T19:44:25.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:44:26.107Z] + 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:44:26.705Z] Sending build context to Docker daemon 6.098MB [2022-06-07T19:44:26.705Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:44:26.705Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T19:44:26.705Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T19:44:26.705Z] 9b3977197b4f: Pulling fs layer [2022-06-07T19:44:26.705Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T19:44:26.705Z] 94645a83ff95: Pulling fs layer [2022-06-07T19:44:26.705Z] e6fb740bc735: Pulling fs layer [2022-06-07T19:44:26.705Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T19:44:26.705Z] 355e64cbe906: Pulling fs layer [2022-06-07T19:44:26.705Z] 63ab81a10011: Pulling fs layer [2022-06-07T19:44:26.705Z] 555d1d1c4555: Pulling fs layer [2022-06-07T19:44:26.705Z] 7d9057610161: Pulling fs layer [2022-06-07T19:44:26.705Z] e6fb740bc735: Waiting [2022-06-07T19:44:26.705Z] 3a77bd46dcc9: Waiting [2022-06-07T19:44:26.705Z] 355e64cbe906: Waiting [2022-06-07T19:44:26.705Z] 63ab81a10011: Waiting [2022-06-07T19:44:26.705Z] 555d1d1c4555: Waiting [2022-06-07T19:44:26.705Z] 7d9057610161: Waiting [2022-06-07T19:44:26.705Z] 94645a83ff95: Verifying Checksum [2022-06-07T19:44:26.705Z] 94645a83ff95: Download complete [2022-06-07T19:44:26.705Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T19:44:26.705Z] 1a89e8eeedd5: Download complete [2022-06-07T19:44:26.705Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T19:44:26.705Z] 3a77bd46dcc9: Download complete [2022-06-07T19:44:26.989Z] 9b3977197b4f: Verifying Checksum [2022-06-07T19:44:26.989Z] 9b3977197b4f: Download complete [2022-06-07T19:44:26.989Z] 355e64cbe906: Verifying Checksum [2022-06-07T19:44:26.989Z] 355e64cbe906: Download complete [2022-06-07T19:44:26.989Z] 63ab81a10011: Verifying Checksum [2022-06-07T19:44:26.989Z] 63ab81a10011: Download complete [2022-06-07T19:44:27.596Z] 9b3977197b4f: Pull complete [2022-06-07T19:44:27.908Z] 7d9057610161: Verifying Checksum [2022-06-07T19:44:27.908Z] 7d9057610161: Download complete [2022-06-07T19:44:28.507Z] 1a89e8eeedd5: Pull complete [2022-06-07T19:44:28.782Z] 94645a83ff95: Pull complete [2022-06-07T19:44:29.056Z] 555d1d1c4555: Download complete [2022-06-07T19:44:29.663Z] e6fb740bc735: Verifying Checksum [2022-06-07T19:44:29.663Z] e6fb740bc735: Download complete [2022-06-07T19:44:42.071Z] e6fb740bc735: Pull complete [2022-06-07T19:44:42.071Z] 3a77bd46dcc9: Pull complete [2022-06-07T19:44:42.071Z] 355e64cbe906: Pull complete [2022-06-07T19:44:42.071Z] 63ab81a10011: Pull complete [2022-06-07T19:44:48.809Z] 555d1d1c4555: Pull complete [2022-06-07T19:44:50.247Z] 7d9057610161: Pull complete [2022-06-07T19:44:50.247Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T19:44:50.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T19:44:50.247Z] ---> 819e984ddca1 [2022-06-07T19:44:50.247Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T19:44:51.691Z] ---> Running in 5439144c5b44 [2022-06-07T19:44:52.286Z] Removing intermediate container 5439144c5b44 [2022-06-07T19:44:52.286Z] ---> 612f1a83ec72 [2022-06-07T19:44:52.286Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:44:52.286Z] ---> Running in 68a4f255aae2 [2022-06-07T19:44:52.560Z] Removing intermediate container 68a4f255aae2 [2022-06-07T19:44:52.560Z] ---> e76acfaf36ab [2022-06-07T19:44:52.560Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:44:52.560Z] ---> Running in 402751ceebe8 [2022-06-07T19:44:52.849Z] Removing intermediate container 402751ceebe8 [2022-06-07T19:44:52.849Z] ---> 33643e692846 [2022-06-07T19:44:52.849Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:44:53.129Z] ---> Running in 635c32f9f4d2 [2022-06-07T19:44:53.406Z] Removing intermediate container 635c32f9f4d2 [2022-06-07T19:44:53.406Z] ---> dbf44e94de0a [2022-06-07T19:44:53.406Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:44:53.406Z] ---> Running in e43fea875584 [2022-06-07T19:44:55.393Z] Removing intermediate container e43fea875584 [2022-06-07T19:44:55.393Z] ---> b7ed4a3b28c9 [2022-06-07T19:44:55.393Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:44:55.393Z] ---> Running in 3546dbf08fd4 [2022-06-07T19:44:55.989Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:44:56.964Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:44:57.947Z] OK: 220 MiB in 52 packages [2022-06-07T19:44:58.556Z] Removing intermediate container 3546dbf08fd4 [2022-06-07T19:44:58.556Z] ---> 5a9754bba3af [2022-06-07T19:44:58.556Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T19:44:58.556Z] ---> Running in aea095108c25 [2022-06-07T19:44:58.839Z] Removing intermediate container aea095108c25 [2022-06-07T19:44:58.839Z] ---> b8c941ba526b [2022-06-07T19:44:58.839Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T19:44:59.438Z] ---> 10dcb5c1ceba [2022-06-07T19:44:59.438Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:44:59.438Z] ---> Running in ad83cf45276f [2022-06-07T19:45:46.448Z] Removing intermediate container ad83cf45276f [2022-06-07T19:45:46.448Z] ---> 2163c2b2d974 [2022-06-07T19:45:46.448Z] Step 12/13 : COPY . . [2022-06-07T19:45:46.448Z] ---> 1db470004cc7 [2022-06-07T19:45:46.448Z] Step 13/13 : RUN ${MAKE} [2022-06-07T19:45:46.448Z] ---> Running in b44612506cbe [2022-06-07T19:45:46.448Z] noop [2022-06-07T19:45:47.051Z] Removing intermediate container b44612506cbe [2022-06-07T19:45:47.051Z] ---> cd5d69c0cdb7 [2022-06-07T19:45:47.324Z] Successfully built cd5d69c0cdb7 [2022-06-07T19:45:47.324Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:45:47.690Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T19:45:47.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:45:47.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-1682 does not seem to be running inside a container [2022-06-07T19:45:48.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T19:45:49.257Z] $ docker top e21e5b5fadf6107e0a1bef9f680ffc69956300b17a3c30fd862b5ff9d1961d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:45:50.171Z] + go version [2022-06-07T19:45:50.171Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T19:45:50.205Z] $ docker stop --time=1 e21e5b5fadf6107e0a1bef9f680ffc69956300b17a3c30fd862b5ff9d1961d10 [2022-06-07T19:45:51.824Z] $ docker rm -f e21e5b5fadf6107e0a1bef9f680ffc69956300b17a3c30fd862b5ff9d1961d10 [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:45:52.415Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T19:45:52.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:45:52.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-1682 does not seem to be running inside a container [2022-06-07T19:45:52.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T19:45:53.907Z] $ docker top ed6ab8bf502fd6642e96000d46292b1b51d7a468d29e9cf7f8ecffdeb5fb2b1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T19:45:54.802Z] + make test [2022-06-07T19:45:54.802Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T19:45:56.805Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T19:47:33.716Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T19:47:33.716Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.2% of statements [2022-06-07T19:47:40.439Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.365s coverage: 13.8% of statements [2022-06-07T19:47:40.439Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T19:47:40.439Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T19:48:07.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T19:48:07.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T19:48:07.269Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T19:48:10.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T19:48:10.694Z] $ docker stop --time=1 ed6ab8bf502fd6642e96000d46292b1b51d7a468d29e9cf7f8ecffdeb5fb2b1f [2022-06-07T19:48:12.479Z] $ docker rm -f ed6ab8bf502fd6642e96000d46292b1b51d7a468d29e9cf7f8ecffdeb5fb2b1f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T19:48:13.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T19:48:13.480Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T19:48:14.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T19:48:14.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T19:48:14.733Z] + ls -al . [2022-06-07T19:48:14.733Z] total 232 [2022-06-07T19:48:14.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:48 . [2022-06-07T19:48:14.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:43 .. [2022-06-07T19:48:14.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 19:44 .git [2022-06-07T19:48:14.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:43 .github [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 19:43 .gitignore [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 19:43 .golangci.yml [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 19:43 Attribution.txt [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 19:43 CHANGELOG.md [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 19:43 Dockerfile [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 19:43 GOVERNANCE.md [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 19:43 Jenkinsfile [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 19:43 LICENSE [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 19:43 Makefile [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 19:43 OWNERS.md [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 7 19:43 README.md [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 19:41 VERSION [2022-06-07T19:48:14.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 19:43 bin [2022-06-07T19:48:14.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 19:43 cmd [2022-06-07T19:48:14.733Z] -rw-r--r-- 1 jenkins jenkins 59966 Jun 7 19:47 coverage.out [2022-06-07T19:48:14.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:43 doc [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 19:43 go.mod [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 19:43 go.sum [2022-06-07T19:48:14.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 19:43 internal [2022-06-07T19:48:14.733Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 19:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:48:15.087Z] + 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=846b8dc6f387d4a1b98612b3068696404505ee6f --label arch=arm64 --label version=0.0.0 . [2022-06-07T19:48:15.684Z] Sending build context to Docker daemon 6.159MB [2022-06-07T19:48:15.684Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T19:48:15.684Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T19:48:15.684Z] ---> cd5d69c0cdb7 [2022-06-07T19:48:15.684Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T19:48:15.684Z] ---> Running in 91dbcb56ecdf [2022-06-07T19:48:15.964Z] Removing intermediate container 91dbcb56ecdf [2022-06-07T19:48:15.964Z] ---> 30695798a3c7 [2022-06-07T19:48:15.964Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T19:48:15.964Z] ---> Running in 344c2e598d1c [2022-06-07T19:48:16.240Z] Removing intermediate container 344c2e598d1c [2022-06-07T19:48:16.240Z] ---> def7f9563ff3 [2022-06-07T19:48:16.240Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T19:48:16.519Z] ---> Running in 3939dad931df [2022-06-07T19:48:16.792Z] Removing intermediate container 3939dad931df [2022-06-07T19:48:16.792Z] ---> 0482cd1c1f55 [2022-06-07T19:48:16.792Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T19:48:16.792Z] ---> Running in d53cf382e888 [2022-06-07T19:48:17.068Z] Removing intermediate container d53cf382e888 [2022-06-07T19:48:17.068Z] ---> c76c18414734 [2022-06-07T19:48:17.068Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T19:48:17.360Z] ---> Running in 579c3b436705 [2022-06-07T19:48:18.816Z] Removing intermediate container 579c3b436705 [2022-06-07T19:48:18.816Z] ---> 5ac7fe48e7e5 [2022-06-07T19:48:18.816Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T19:48:18.816Z] ---> Running in b559f99f196e [2022-06-07T19:48:19.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:48:20.781Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:48:21.770Z] OK: 220 MiB in 52 packages [2022-06-07T19:48:22.398Z] Removing intermediate container b559f99f196e [2022-06-07T19:48:22.398Z] ---> cecb8ff5f0c8 [2022-06-07T19:48:22.398Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T19:48:22.398Z] ---> Running in 9cea100f9be3 [2022-06-07T19:48:22.676Z] Removing intermediate container 9cea100f9be3 [2022-06-07T19:48:22.676Z] ---> c7ffbdbaca53 [2022-06-07T19:48:22.676Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T19:48:23.278Z] ---> 60a83235378d [2022-06-07T19:48:23.278Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T19:48:23.278Z] ---> Running in 9dac6b93ff54 [2022-06-07T19:48:25.268Z] Removing intermediate container 9dac6b93ff54 [2022-06-07T19:48:25.268Z] ---> 9f5571ecc2be [2022-06-07T19:48:25.268Z] Step 12/26 : COPY . . [2022-06-07T19:48:26.256Z] ---> 730bee220696 [2022-06-07T19:48:26.256Z] Step 13/26 : RUN ${MAKE} [2022-06-07T19:48:26.549Z] ---> Running in 35bdb76dadc8 [2022-06-07T19:48:27.549Z] 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:50:34.484Z] Removing intermediate container 35bdb76dadc8 [2022-06-07T19:50:34.484Z] ---> 6af5bee5d8d6 [2022-06-07T19:50:34.484Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T19:50:34.484Z] 3.15: Pulling from library/alpine [2022-06-07T19:50:34.484Z] 9981e73032c8: Pulling fs layer [2022-06-07T19:50:34.484Z] 9981e73032c8: Verifying Checksum [2022-06-07T19:50:34.484Z] 9981e73032c8: Download complete [2022-06-07T19:50:34.484Z] 9981e73032c8: Pull complete [2022-06-07T19:50:34.484Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T19:50:34.484Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T19:50:34.484Z] ---> 3fb3c9af89a9 [2022-06-07T19:50:34.484Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T19:50:34.484Z] ---> Running in 3ce1e9bfc3a3 [2022-06-07T19:50:34.484Z] Removing intermediate container 3ce1e9bfc3a3 [2022-06-07T19:50:34.484Z] ---> 36ad2964ab0c [2022-06-07T19:50:34.484Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T19:50:34.484Z] ---> Running in 1a74d603667a [2022-06-07T19:50:34.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T19:50:34.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T19:50:34.484Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T19:50:34.484Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T19:50:34.484Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T19:50:34.484Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T19:50:34.484Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T19:50:34.484Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T19:50:34.484Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T19:50:34.484Z] OK: 8 MiB in 20 packages [2022-06-07T19:50:34.484Z] Removing intermediate container 1a74d603667a [2022-06-07T19:50:34.484Z] ---> 6674dc126d0e [2022-06-07T19:50:34.484Z] Step 17/26 : WORKDIR / [2022-06-07T19:50:34.484Z] ---> Running in 652b9bcaea0e [2022-06-07T19:50:34.484Z] Removing intermediate container 652b9bcaea0e [2022-06-07T19:50:34.484Z] ---> c800a470d3e4 [2022-06-07T19:50:34.484Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T19:50:34.484Z] ---> 187cf608cf56 [2022-06-07T19:50:34.484Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T19:50:34.484Z] ---> 0128545af8bf [2022-06-07T19:50:34.484Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T19:50:34.484Z] ---> f7a373cbb3ce [2022-06-07T19:50:34.484Z] Step 21/26 : EXPOSE 59984 [2022-06-07T19:50:34.484Z] ---> Running in 06ce61262f9b [2022-06-07T19:50:34.484Z] Removing intermediate container 06ce61262f9b [2022-06-07T19:50:34.484Z] ---> f106a4fcd4c9 [2022-06-07T19:50:34.484Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T19:50:34.484Z] ---> Running in 34bb798b1f00 [2022-06-07T19:50:34.484Z] Removing intermediate container 34bb798b1f00 [2022-06-07T19:50:34.484Z] ---> 47a553fcc1ba [2022-06-07T19:50:34.484Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T19:50:34.757Z] ---> Running in 11a238c2a2e1 [2022-06-07T19:50:35.030Z] Removing intermediate container 11a238c2a2e1 [2022-06-07T19:50:35.030Z] ---> 48e9a438f625 [2022-06-07T19:50:35.030Z] Step 24/26 : LABEL arch=arm64 [2022-06-07T19:50:35.030Z] ---> Running in 866475b0e6b1 [2022-06-07T19:50:35.303Z] Removing intermediate container 866475b0e6b1 [2022-06-07T19:50:35.303Z] ---> 85fe9d16b7bf [2022-06-07T19:50:35.303Z] Step 25/26 : LABEL git_sha=846b8dc6f387d4a1b98612b3068696404505ee6f [2022-06-07T19:50:35.303Z] ---> Running in f99fabd02d46 [2022-06-07T19:50:35.578Z] Removing intermediate container f99fabd02d46 [2022-06-07T19:50:35.578Z] ---> 73c2924d55a7 [2022-06-07T19:50:35.578Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T19:50:35.578Z] ---> Running in 2724654ec560 [2022-06-07T19:50:36.179Z] Removing intermediate container 2724654ec560 [2022-06-07T19:50:36.179Z] ---> b0585e2e3fa9 [2022-06-07T19:50:36.179Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T19:50:36.179Z] Successfully built b0585e2e3fa9 [2022-06-07T19:50:36.179Z] 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:50:36.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:50:36.612Z] [2022-06-07T19:50:36.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:50:36.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:50:36.966Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T19:50:36.966Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T19:50:36.966Z] 04944245beec: Pulling fs layer [2022-06-07T19:50:36.966Z] 699f458cf7ca: Pulling fs layer [2022-06-07T19:50:36.966Z] 765212b225bb: Pulling fs layer [2022-06-07T19:50:36.966Z] f23df028b6ca: Pulling fs layer [2022-06-07T19:50:36.966Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T19:50:36.966Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T19:50:36.966Z] 765212b225bb: Waiting [2022-06-07T19:50:36.966Z] f23df028b6ca: Waiting [2022-06-07T19:50:36.966Z] d65c8cfc05b1: Waiting [2022-06-07T19:50:36.966Z] 2437ff75d9bd: Waiting [2022-06-07T19:50:37.241Z] 04944245beec: Verifying Checksum [2022-06-07T19:50:37.241Z] 04944245beec: Download complete [2022-06-07T19:50:37.241Z] 765212b225bb: Verifying Checksum [2022-06-07T19:50:37.241Z] 765212b225bb: Download complete [2022-06-07T19:50:37.241Z] f23df028b6ca: Download complete [2022-06-07T19:50:37.241Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T19:50:37.241Z] d65c8cfc05b1: Download complete [2022-06-07T19:50:37.241Z] 699f458cf7ca: Verifying Checksum [2022-06-07T19:50:37.241Z] 699f458cf7ca: Download complete [2022-06-07T19:50:37.842Z] 8998bd30e6a1: Download complete [2022-06-07T19:50:39.820Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T19:50:39.820Z] 2437ff75d9bd: Download complete [2022-06-07T19:50:41.800Z] 8998bd30e6a1: Pull complete [2022-06-07T19:50:42.400Z] 04944245beec: Pull complete [2022-06-07T19:50:43.842Z] 699f458cf7ca: Pull complete [2022-06-07T19:50:44.118Z] 765212b225bb: Pull complete [2022-06-07T19:50:44.718Z] f23df028b6ca: Pull complete [2022-06-07T19:50:44.992Z] d65c8cfc05b1: Pull complete [2022-06-07T19:51:00.115Z] 2437ff75d9bd: Pull complete [2022-06-07T19:51:00.115Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T19:51:00.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T19:51:00.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:51:00.367Z] prd-ubuntu20.04-docker-arm64-4c-16g-1682 does not seem to be running inside a container [2022-06-07T19:51:00.460Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T19:51:02.920Z] $ docker top b42a5d56809b248a43e7adba5af58681c13241dcb90c1ef0e826a95d0bea9568 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:03.869Z] ---> job-cost.sh [2022-06-07T19:51:03.869Z] lf-activate-venv: SKIPPING [2022-06-07T19:51:03.869Z] INFO: No Stack... [2022-06-07T19:51:04.465Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T19:51:05.059Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T19:51:05.729Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-06-07T19:51:05.729Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T19:51:05.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [2022-06-07T19:51:05.801Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] did not exist. Created. [2022-06-07T19:51:05.801Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T19:51:06.478Z] /w/workspace/device-onvif-camera/4@tmp/durable-e9b9ac3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T19:51:07.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T19:51:07.188Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T19:51:07.231Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T19:51:07.241Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T19:51:07.266Z] $ docker stop --time=1 b42a5d56809b248a43e7adba5af58681c13241dcb90c1ef0e826a95d0bea9568 [2022-06-07T19:51:08.717Z] $ docker rm -f b42a5d56809b248a43e7adba5af58681c13241dcb90c1ef0e826a95d0bea9568 [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:51:09.365Z] provisioning config files... [2022-06-07T19:51:09.385Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1712654924432295653tmp [Pipeline] { [Pipeline] sh [2022-06-07T19:51:09.775Z] + set +x [2022-06-07T19:51:09.776Z] + curl -s https://codecov.io/bash [2022-06-07T19:51:09.776Z] + bash -s -- [2022-06-07T19:51:09.776Z] [2022-06-07T19:51:09.776Z] _____ _ [2022-06-07T19:51:09.776Z] / ____| | | [2022-06-07T19:51:09.776Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T19:51:09.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T19:51:09.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T19:51:09.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T19:51:09.776Z] Bash-1.0.6 [2022-06-07T19:51:09.776Z] [2022-06-07T19:51:09.776Z] [2022-06-07T19:51:09.776Z] ==> git version 2.25.1 found [2022-06-07T19:51:09.776Z] ==> 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:51:09.776Z] Release-Date: 2020-01-08 [2022-06-07T19:51:09.776Z] 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:51:09.776Z] 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:51:09.776Z] ==> Jenkins CI detected. [2022-06-07T19:51:09.776Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:51:09.776Z] project root: . [2022-06-07T19:51:09.776Z] --> token set from env [2022-06-07T19:51:09.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T19:51:09.776Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T19:51:09.776Z] ==> Python coveragepy not found [2022-06-07T19:51:09.776Z] ==> Searching for coverage reports in: [2022-06-07T19:51:09.776Z] + . [2022-06-07T19:51:09.776Z] -> Found 1 reports [2022-06-07T19:51:09.776Z] ==> Detecting git/mercurial file structure [2022-06-07T19:51:09.776Z] ==> Reading reports [2022-06-07T19:51:09.776Z] + ./coverage.out bytes=59966 [2022-06-07T19:51:09.776Z] ==> Appending adjustments [2022-06-07T19:51:09.776Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T19:51:10.036Z] + Found adjustments [2022-06-07T19:51:10.036Z] ==> Gzipping contents [2022-06-07T19:51:10.036Z] 8.0K /tmp/codecov.yYG9zG.gz [2022-06-07T19:51:10.036Z] ==> Uploading reports [2022-06-07T19:51:10.036Z] url: https://codecov.io [2022-06-07T19:51:10.036Z] query: branch=PR-81&commit=a982beef6ae10e2419ab681ec2cddd517d962bdb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-07T19:51:10.036Z] -> Pinging Codecov [2022-06-07T19:51:10.036Z] 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=a982beef6ae10e2419ab681ec2cddd517d962bdb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-07T19:51:10.297Z] -> Uploading to [2022-06-07T19:51:10.297Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/F29A59C45E3A92E06B3E522C9905F8EF/a982beef6ae10e2419ab681ec2cddd517d962bdb/f7ab2b63-f3de-425f-992c-7581248868dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T195110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b95559ffaf4ff08be7c778c62a3b78cfc67f57856f729fda0f7ddb1b27b1374 [2022-06-07T19:51:10.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T19:51:10.297Z] Dload Upload Total Spent Left Speed [2022-06-07T19:51:10.562Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7609 0 0 100 7609 0 31970 --:--:-- --:--:-- --:--:-- 31970 [2022-06-07T19:51:10.562Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a982beef6ae10e2419ab681ec2cddd517d962bdb [Pipeline] } [2022-06-07T19:51:10.571Z] 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:51:11.296Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-07T19:51:11.297Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:51:11.297Z] total 16 [2022-06-07T19:51:11.297Z] drwxr-xr-x 3 root root 4096 Jun 7 19:43 . [2022-06-07T19:51:11.297Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 19:43 .. [2022-06-07T19:51:11.297Z] drwxr-xr-x 2 root root 4096 Jun 7 19:43 cost [2022-06-07T19:51:11.297Z] -rw-r--r-- 1 root root 89 Jun 7 19:43 cost.csv [2022-06-07T19:51:11.297Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:51:11.297Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T19:51:11.297Z] total 16 [2022-06-07T19:51:11.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 19:43 . [2022-06-07T19:51:11.297Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 19:43 .. [2022-06-07T19:51:11.297Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 19:43 cost [2022-06-07T19:51:11.297Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 7 19:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:11.597Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:12.490Z] ---> package-listing.sh [2022-06-07T19:51:12.490Z] ++ facter osfamily [2022-06-07T19:51:12.491Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T19:51:12.761Z] + OS_FAMILY=debian [2022-06-07T19:51:12.761Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T19:51:12.761Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T19:51:12.761Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T19:51:12.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T19:51:12.761Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T19:51:12.761Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T19:51:12.761Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T19:51:12.761Z] + case "${OS_FAMILY}" in [2022-06-07T19:51:12.761Z] + dpkg -l [2022-06-07T19:51:12.761Z] + grep '^ii' [2022-06-07T19:51:12.761Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T19:51:12.761Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T19:51:12.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T19:51:12.761Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T19:51:12.761Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-07T19:51:12.761Z] + 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:51:12.772Z] 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:51:13.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T19:51:13.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T19:51:13.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T19:51:13.732Z] prd-ubuntu20.04-docker-8c-8g-1681 does not seem to be running inside a container [2022-06-07T19:51:13.777Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T19:51:14.182Z] $ docker top aaa97b23b5096441947e36a769714e85dafc8c8fcaaf6ccb740caab64bccfbf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T19:51:14.555Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T19:51:14.843Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T19:51:15.140Z] + ls /var/log/sa-host [2022-06-07T19:51:15.140Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T19:51:15.224Z] provisioning config files... [2022-06-07T19:51:15.232Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1486380786746479818tmp [Pipeline] { [Pipeline] echo [2022-06-07T19:51:15.245Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:15.535Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T19:51:15.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:15.896Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T19:51:15.906Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:16.194Z] ---> sudo-logs.sh [2022-06-07T19:51:16.194Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T19:51:16.223Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:16.540Z] ---> job-cost.sh [2022-06-07T19:51:16.540Z] lf-activate-venv: SKIPPING [2022-06-07T19:51:16.540Z] DEBUG: total: 0.2199999988079071 [2022-06-07T19:51:16.540Z] INFO: Retrieving Stack Cost... [2022-06-07T19:51:17.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T19:51:17.371Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T19:51:17.384Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T19:51:17.672Z] ---> logs-deploy.sh [2022-06-07T19:51:17.672Z] lf-activate-venv: SKIPPING [2022-06-07T19:51:17.672Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/4 [2022-06-07T19:51:17.672Z] INFO: archiving workspace using pattern(s): [2022-06-07T19:51:18.615Z] Archives upload complete. [2022-06-07T19:51:18.876Z] INFO: archiving logs to Nexus