Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf2d7918a48e2e9daaeccb6451a2c4b556b1851e+ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 (3e76799a6c794cb61abd5a3e9f013a002ef5bc57) 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-ssh13371296230813861511.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-ssh16323513929492498552.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-64/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-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15372142010693085367.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-ssh16502859068286661656.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-64/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-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13688807248933977403.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-2550’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2554 in /w/workspace/oundry_device-onvif-camera_PR-64 [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-64 # 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 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e Merge succeeded, producing 0e698bc1fc956e40d82e258a7f46dd013a25ec66 Checking out Revision 0e698bc1fc956e40d82e258a7f46dd013a25ec66 (PR-64) > 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/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # 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 ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e698bc1fc956e40d82e258a7f46dd013a25ec66 # timeout=10 Commit message: "Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T10:11:20.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T10:11:20.164Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T10:11:20.178Z] ========================================================= [2022-06-17T10:11:20.178Z] EdgeX Global Pipelines Version Info [2022-06-17T10:11:20.178Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 27544b653dec5bb8e621e2fcc66b0d09ba48de78 # timeout=10 [2022-06-17T10:11:20.919Z] ------------------- [2022-06-17T10:11:20.919Z] stable info: [2022-06-17T10:11:20.919Z] ------------------- [2022-06-17T10:11:20.919Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T10:11:20.919Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:11:20.919Z] Message: update stable to v1.0.234 [2022-06-17T10:11:21.493Z] ------------------- [2022-06-17T10:11:21.493Z] experimental info: [2022-06-17T10:11:21.493Z] ------------------- [2022-06-17T10:11:21.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T10:11:21.493Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:11:21.493Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T10:11:21.673Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-17T10:11:21.684Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-17T10:11:21.696Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T10:11:21.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T10:11:21.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T10:11:21.731Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T10:11:21.742Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T10:11:21.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T10:11:21.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T10:11:21.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T10:11:21.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T10:11:21.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-17T10:11:21.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T10:11:21.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T10:11:21.837Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:11:21.848Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:11:21.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:11:21.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:11:21.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T10:11:21.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T10:11:21.912Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T10:11:21.925Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T10:11:21.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T10:11:21.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T10:11:21.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T10:11:21.972Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T10:11:21.986Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T10:11:22.002Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-06-17T10:11:22.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-06-17T10:11:22.034Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-06-17T10:11:22.050Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e698bc1fc956e40d82e258a7f46dd013a25ec66 [Pipeline] echo [2022-06-17T10:11:22.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e698bc [Pipeline] echo [2022-06-17T10:11:22.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:11:22.113Z] provisioning config files... [2022-06-17T10:11:22.127Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config8778558942834859264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:11:22.443Z] ---> docker-login.sh [2022-06-17T10:11:22.443Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:11:22.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:22.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:22.705Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:22.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:22.705Z] [2022-06-17T10:11:22.705Z] Login Succeeded [2022-06-17T10:11:22.705Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:11:22.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:22.968Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:22.968Z] [2022-06-17T10:11:22.968Z] Login Succeeded [2022-06-17T10:11:22.968Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:11:22.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:22.968Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:22.968Z] [2022-06-17T10:11:22.968Z] Login Succeeded [2022-06-17T10:11:22.968Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:11:23.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:23.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:23.230Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:23.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:23.230Z] [2022-06-17T10:11:23.230Z] Login Succeeded [2022-06-17T10:11:23.230Z] docker.io [2022-06-17T10:11:23.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:23.802Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:23.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:23.802Z] [2022-06-17T10:11:23.802Z] Login Succeeded [2022-06-17T10:11:23.802Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:11:23.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T10:11:24.187Z] + git rev-list -1 --merges 0e698bc1fc956e40d82e258a7f46dd013a25ec66~1..0e698bc1fc956e40d82e258a7f46dd013a25ec66 [Pipeline] echo [2022-06-17T10:11:24.293Z] -----------> git rev-list -1 --merges 0e698bc1fc956e40d82e258a7f46dd013a25ec66~1..0e698bc1fc956e40d82e258a7f46dd013a25ec66 0e698bc1fc956e40d82e258a7f46dd013a25ec66 [2022-06-17T10:11:24.293Z] 0e698bc1fc956e40d82e258a7f46dd013a25ec66 [false] [Pipeline] sh [2022-06-17T10:11:24.596Z] + git log --format=format:%s -1 0e698bc1fc956e40d82e258a7f46dd013a25ec66 [Pipeline] echo [2022-06-17T10:11:24.613Z] ========================================================= [2022-06-17T10:11:24.613Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T10:11:24.613Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:11:24.949Z] + git log --format=format:%s -1 0e698bc1fc956e40d82e258a7f46dd013a25ec66 [Pipeline] echo [2022-06-17T10:11:24.963Z] [semverPrep] GIT_COMMIT: 0e698bc1fc956e40d82e258a7f46dd013a25ec66, Commit Message: Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD [Pipeline] echo [2022-06-17T10:11:24.972Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T10:11:25.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T10:11:25.318Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T10:11:25.318Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T10:11:25.318Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T10:11:25.318Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T10:11:25.318Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T10:11:25.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:11:25.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:11:25.675Z] [2022-06-17T10:11:25.675Z] 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-17T10:11:25.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:11:25.983Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T10:11:25.983Z] 42c077c10790: Pulling fs layer [2022-06-17T10:11:25.983Z] f63e77b7563a: Pulling fs layer [2022-06-17T10:11:25.983Z] bd5fdadae976: Pulling fs layer [2022-06-17T10:11:25.983Z] 205491f53016: Pulling fs layer [2022-06-17T10:11:25.983Z] df18705c85c3: Pulling fs layer [2022-06-17T10:11:25.983Z] bdb3f477010e: Pulling fs layer [2022-06-17T10:11:25.983Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T10:11:25.983Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T10:11:25.983Z] bdb8f0575790: Pulling fs layer [2022-06-17T10:11:25.983Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T10:11:25.983Z] 2343380bae48: Pulling fs layer [2022-06-17T10:11:25.983Z] df18705c85c3: Waiting [2022-06-17T10:11:25.983Z] bdb3f477010e: Waiting [2022-06-17T10:11:25.983Z] 205491f53016: Waiting [2022-06-17T10:11:25.983Z] c8a8fc8e1c8f: Waiting [2022-06-17T10:11:25.983Z] 386e3cb2ff24: Waiting [2022-06-17T10:11:25.983Z] 2c6e9b1d212d: Waiting [2022-06-17T10:11:25.983Z] bdb8f0575790: Waiting [2022-06-17T10:11:25.983Z] f63e77b7563a: Verifying Checksum [2022-06-17T10:11:25.983Z] f63e77b7563a: Download complete [2022-06-17T10:11:25.983Z] 205491f53016: Download complete [2022-06-17T10:11:26.245Z] df18705c85c3: Verifying Checksum [2022-06-17T10:11:26.245Z] df18705c85c3: Download complete [2022-06-17T10:11:26.245Z] bd5fdadae976: Verifying Checksum [2022-06-17T10:11:26.245Z] bd5fdadae976: Download complete [2022-06-17T10:11:26.245Z] bdb3f477010e: Verifying Checksum [2022-06-17T10:11:26.245Z] bdb3f477010e: Download complete [2022-06-17T10:11:26.245Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T10:11:26.245Z] 2c6e9b1d212d: Download complete [2022-06-17T10:11:26.245Z] bdb8f0575790: Download complete [2022-06-17T10:11:26.245Z] 2343380bae48: Verifying Checksum [2022-06-17T10:11:26.245Z] 2343380bae48: Download complete [2022-06-17T10:11:26.245Z] 42c077c10790: Verifying Checksum [2022-06-17T10:11:26.245Z] 42c077c10790: Download complete [2022-06-17T10:11:26.505Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T10:11:26.505Z] c8a8fc8e1c8f: Download complete [2022-06-17T10:11:27.888Z] 42c077c10790: Pull complete [2022-06-17T10:11:27.888Z] f63e77b7563a: Pull complete [2022-06-17T10:11:28.459Z] bd5fdadae976: Pull complete [2022-06-17T10:11:28.459Z] 205491f53016: Pull complete [2022-06-17T10:11:28.720Z] df18705c85c3: Pull complete [2022-06-17T10:11:28.720Z] bdb3f477010e: Pull complete [2022-06-17T10:11:31.263Z] c8a8fc8e1c8f: Pull complete [2022-06-17T10:11:31.263Z] 2c6e9b1d212d: Pull complete [2022-06-17T10:11:31.263Z] bdb8f0575790: Pull complete [2022-06-17T10:11:31.263Z] 386e3cb2ff24: Pull complete [2022-06-17T10:11:31.263Z] 2343380bae48: Pull complete [2022-06-17T10:11:31.263Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T10:11:31.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:11:31.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:11:31.362Z] prd-ubuntu20.04-docker-8c-8g-2554 does not seem to be running inside a container [2022-06-17T10:11:31.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@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-17T10:11:32.667Z] $ docker top d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 -eo pid,comm [2022-06-17T10:11:32.732Z] 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-17T10:11:32.732Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T10:11:32.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:11:32.774Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:11:32.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:11:32.940Z] $ docker exec d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 ssh-agent [2022-06-17T10:11:33.072Z] SSH_AUTH_SOCK=/tmp/ssh-nEgxr5IKji4M/agent.32 [2022-06-17T10:11:33.072Z] SSH_AGENT_PID=38 [2022-06-17T10:11:33.078Z] Running ssh-add (command line suppressed) [2022-06-17T10:11:33.225Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_7673500940498409820.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_7673500940498409820.key) [2022-06-17T10:11:33.235Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:11:33.528Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T10:11:33.555Z] $ docker exec --env ******** --env ******** d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 ssh-agent -k [2022-06-17T10:11:33.655Z] unset SSH_AUTH_SOCK; [2022-06-17T10:11:33.655Z] unset SSH_AGENT_PID; [2022-06-17T10:11:33.655Z] echo Agent pid 38 killed; [2022-06-17T10:11:33.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T10:11:33.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:11:33.689Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:11:33.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:11:33.818Z] $ docker exec d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 ssh-agent [2022-06-17T10:11:33.939Z] SSH_AUTH_SOCK=/tmp/ssh-aaiyzcQxnvlB/agent.72 [2022-06-17T10:11:33.939Z] SSH_AGENT_PID=78 [2022-06-17T10:11:33.944Z] Running ssh-add (command line suppressed) [2022-06-17T10:11:34.097Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_2571633864596743798.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_2571633864596743798.key) [2022-06-17T10:11:34.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:11:34.404Z] + git semver init [2022-06-17T10:11:34.665Z] 2022-06-17 10:11:34,630 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T10:11:34.665Z] 2022-06-17 10:11:34,631 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-17T10:11:34.665Z] 2022-06-17 10:11:34,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-17T10:11:34.666Z] 2022-06-17 10:11:34,632 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-64/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64, universal_newlines=False, shell=None, istream=None) [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,412 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-64/.git/info/exclude [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,412 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 with force:False [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,413 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,417 [execute] INFO git cat-file --batch-check [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,424 [execute] INFO git cat-file --batch [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:11:35.611Z] 2022-06-17 10:11:35,429 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-17T10:11:35.611Z] 0.0.0 [Pipeline] } [2022-06-17T10:11:35.628Z] $ docker exec --env ******** --env ******** d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 ssh-agent -k [2022-06-17T10:11:35.745Z] unset SSH_AUTH_SOCK; [2022-06-17T10:11:35.746Z] unset SSH_AGENT_PID; [2022-06-17T10:11:35.746Z] echo Agent pid 78 killed; [2022-06-17T10:11:35.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T10:11:36.068Z] + git semver [Pipeline] } [2022-06-17T10:11:36.348Z] $ docker stop --time=1 d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 [2022-06-17T10:11:37.672Z] $ docker rm -f d03123b5ef0067920955c377010e9ba484522305805a60664842a94f641d9256 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:11:38.023Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T10:11:38.286Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T10:11:38.290Z] [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-17T10:11:38.454Z] provisioning config files... [2022-06-17T10:11:38.465Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config5250491317782371729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:11:38.762Z] ---> docker-login.sh [2022-06-17T10:11:38.762Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:11:38.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:38.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:38.762Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:38.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:38.762Z] [2022-06-17T10:11:38.762Z] Login Succeeded [2022-06-17T10:11:38.762Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:11:38.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:39.023Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:39.023Z] [2022-06-17T10:11:39.023Z] Login Succeeded [2022-06-17T10:11:39.023Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:11:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:39.023Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:39.023Z] [2022-06-17T10:11:39.023Z] Login Succeeded [2022-06-17T10:11:39.023Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:11:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:39.284Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:39.284Z] [2022-06-17T10:11:39.284Z] Login Succeeded [2022-06-17T10:11:39.284Z] docker.io [2022-06-17T10:11:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:11:39.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:11:39.546Z] Configure a credential helper to remove this warning. See [2022-06-17T10:11:39.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:11:39.546Z] [2022-06-17T10:11:39.546Z] Login Succeeded [2022-06-17T10:11:39.546Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:11:39.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:11:39.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:11:39.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:11:39.646Z] ========================================================= [2022-06-17T10:11:39.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T10:11:39.646Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:11:39.970Z] + 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-17T10:11:39.970Z] Sending build context to Docker daemon 9.037MB [2022-06-17T10:11:39.970Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:11:39.970Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:11:39.970Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T10:11:39.970Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T10:11:39.970Z] 666ba61612fd: Pulling fs layer [2022-06-17T10:11:39.970Z] 8ed8ca486205: Pulling fs layer [2022-06-17T10:11:39.970Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T10:11:39.970Z] c516ae0d96e1: Pulling fs layer [2022-06-17T10:11:39.970Z] 684cea983483: Pulling fs layer [2022-06-17T10:11:39.970Z] dd3240ac7de5: Pulling fs layer [2022-06-17T10:11:39.970Z] b1e948a4e11c: Pulling fs layer [2022-06-17T10:11:39.970Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T10:11:39.970Z] 646ad004c059: Pulling fs layer [2022-06-17T10:11:39.970Z] b1e948a4e11c: Waiting [2022-06-17T10:11:39.970Z] c516ae0d96e1: Waiting [2022-06-17T10:11:39.970Z] 684cea983483: Waiting [2022-06-17T10:11:39.970Z] a8fd76ee1af6: Waiting [2022-06-17T10:11:39.970Z] 646ad004c059: Waiting [2022-06-17T10:11:39.970Z] cc1cd167ecdc: Waiting [2022-06-17T10:11:39.970Z] 8ed8ca486205: Verifying Checksum [2022-06-17T10:11:39.970Z] 666ba61612fd: Verifying Checksum [2022-06-17T10:11:39.970Z] 666ba61612fd: Download complete [2022-06-17T10:11:40.234Z] c516ae0d96e1: Verifying Checksum [2022-06-17T10:11:40.234Z] c516ae0d96e1: Download complete [2022-06-17T10:11:40.234Z] 684cea983483: Download complete [2022-06-17T10:11:40.234Z] dd3240ac7de5: Verifying Checksum [2022-06-17T10:11:40.234Z] dd3240ac7de5: Download complete [2022-06-17T10:11:40.234Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T10:11:40.234Z] 59bf1c3509f3: Download complete [2022-06-17T10:11:40.234Z] b1e948a4e11c: Verifying Checksum [2022-06-17T10:11:40.234Z] b1e948a4e11c: Download complete [2022-06-17T10:11:40.234Z] 59bf1c3509f3: Pull complete [2022-06-17T10:11:40.497Z] 666ba61612fd: Pull complete [2022-06-17T10:11:40.497Z] 8ed8ca486205: Pull complete [2022-06-17T10:11:40.756Z] 646ad004c059: Verifying Checksum [2022-06-17T10:11:40.756Z] 646ad004c059: Download complete [2022-06-17T10:11:40.756Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T10:11:40.756Z] a8fd76ee1af6: Download complete [2022-06-17T10:11:41.018Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T10:11:41.018Z] cc1cd167ecdc: Download complete [2022-06-17T10:11:45.217Z] cc1cd167ecdc: Pull complete [2022-06-17T10:11:45.217Z] c516ae0d96e1: Pull complete [2022-06-17T10:11:45.217Z] 684cea983483: Pull complete [2022-06-17T10:11:45.217Z] dd3240ac7de5: Pull complete [2022-06-17T10:11:45.476Z] b1e948a4e11c: Pull complete [2022-06-17T10:11:48.022Z] a8fd76ee1af6: Pull complete [2022-06-17T10:11:48.595Z] 646ad004c059: Pull complete [2022-06-17T10:11:48.595Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T10:11:48.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T10:11:48.595Z] ---> 8f69c11f6b0c [2022-06-17T10:11:48.595Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:11:49.978Z] ---> Running in 157b3e9234ec [2022-06-17T10:11:50.238Z] Removing intermediate container 157b3e9234ec [2022-06-17T10:11:50.238Z] ---> f4f12214061d [2022-06-17T10:11:50.238Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:11:50.238Z] ---> Running in a83550de49d8 [2022-06-17T10:11:50.238Z] Removing intermediate container a83550de49d8 [2022-06-17T10:11:50.238Z] ---> c6827350c7f9 [2022-06-17T10:11:50.238Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:11:50.238Z] ---> Running in f828cd2c33e6 [2022-06-17T10:11:50.238Z] Removing intermediate container f828cd2c33e6 [2022-06-17T10:11:50.238Z] ---> 8e12aa02c0c1 [2022-06-17T10:11:50.238Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:11:50.498Z] ---> Running in f7dfb2e97f4d [2022-06-17T10:11:50.498Z] Removing intermediate container f7dfb2e97f4d [2022-06-17T10:11:50.498Z] ---> d5542c88c513 [2022-06-17T10:11:50.498Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:11:50.498Z] ---> Running in 79af54f3d65e [2022-06-17T10:11:51.069Z] Removing intermediate container 79af54f3d65e [2022-06-17T10:11:51.069Z] ---> ded90c09206e [2022-06-17T10:11:51.069Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:11:51.069Z] ---> Running in 9f9f0964a151 [2022-06-17T10:11:51.329Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:11:52.275Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:11:52.535Z] OK: 221 MiB in 52 packages [2022-06-17T10:11:52.798Z] Removing intermediate container 9f9f0964a151 [2022-06-17T10:11:52.798Z] ---> b0133d2bed06 [2022-06-17T10:11:52.798Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:11:52.798Z] ---> Running in c5d51523b7ae [2022-06-17T10:11:53.059Z] Removing intermediate container c5d51523b7ae [2022-06-17T10:11:53.059Z] ---> cd0314f525d4 [2022-06-17T10:11:53.059Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:11:53.059Z] ---> 2675f4c9305c [2022-06-17T10:11:53.059Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:11:53.059Z] ---> Running in 1f3d23c9f33f [2022-06-17T10:11:53.405Z] Still waiting to schedule task [2022-06-17T10:11:53.405Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T10:12:07.965Z] Removing intermediate container 1f3d23c9f33f [2022-06-17T10:12:07.966Z] ---> ef4e929aead4 [2022-06-17T10:12:07.966Z] Step 12/13 : COPY . . [2022-06-17T10:12:07.966Z] ---> 422467d350f7 [2022-06-17T10:12:07.966Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:12:07.966Z] ---> Running in c124864153b6 [2022-06-17T10:12:07.966Z] noop [2022-06-17T10:12:08.226Z] Removing intermediate container c124864153b6 [2022-06-17T10:12:08.226Z] ---> 937da8e1164e [2022-06-17T10:12:08.226Z] Successfully built 937da8e1164e [2022-06-17T10:12:08.226Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:12:08.557Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:12:08.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:12:08.644Z] prd-ubuntu20.04-docker-8c-8g-2554 does not seem to be running inside a container [2022-06-17T10:12:08.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@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-17T10:12:09.075Z] $ docker top cc169683cab587084b6861f30de2e9f4d223ec2dfbcebe69cdcffd3b70c1afd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:12:09.434Z] + go version [2022-06-17T10:12:09.434Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T10:12:09.453Z] $ docker stop --time=1 cc169683cab587084b6861f30de2e9f4d223ec2dfbcebe69cdcffd3b70c1afd9 [2022-06-17T10:12:10.724Z] $ docker rm -f cc169683cab587084b6861f30de2e9f4d223ec2dfbcebe69cdcffd3b70c1afd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:12:11.123Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:12:11.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:12:11.210Z] prd-ubuntu20.04-docker-8c-8g-2554 does not seem to be running inside a container [2022-06-17T10:12:11.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@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-17T10:12:11.621Z] $ docker top d226796f22496c17eb5b92eaa5cd3a942bb3a1e700bad8660810a680b54ddd52 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:12:12.105Z] + make test [2022-06-17T10:12:12.106Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:12:12.365Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:12:24.588Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:12:24.588Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-17T10:12:27.892Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.398s coverage: 13.8% of statements [2022-06-17T10:12:36.009Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:12:41.286Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:12:41.286Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:12:41.286Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:12:41.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:12:41.317Z] $ docker stop --time=1 d226796f22496c17eb5b92eaa5cd3a942bb3a1e700bad8660810a680b54ddd52 [2022-06-17T10:12:43.043Z] $ docker rm -f d226796f22496c17eb5b92eaa5cd3a942bb3a1e700bad8660810a680b54ddd52 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:12:43.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:12:43.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T10:12:43.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:12:44.263Z] + ls -al . [2022-06-17T10:12:44.263Z] total 236 [2022-06-17T10:12:44.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 10:12 . [2022-06-17T10:12:44.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:11 .. [2022-06-17T10:12:44.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:11 .git [2022-06-17T10:12:44.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:11 .github [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:11 .gitignore [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:11 .golangci.yml [2022-06-17T10:12:44.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:11 .semver [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 10:11 Attribution.txt [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:11 CHANGELOG.md [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:11 Dockerfile [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:11 GOVERNANCE.md [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:11 Jenkinsfile [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:11 LICENSE [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:11 Makefile [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:11 OWNERS.md [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 17 10:11 README.md [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:11 VERSION [2022-06-17T10:12:44.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:11 bin [2022-06-17T10:12:44.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:11 cmd [2022-06-17T10:12:44.263Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:12 coverage.out [2022-06-17T10:12:44.263Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 10:11 doc [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 10:11 go.mod [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 10:11 go.sum [2022-06-17T10:12:44.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:11 internal [2022-06-17T10:12:44.263Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:12:44.573Z] + 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=0e698bc1fc956e40d82e258a7f46dd013a25ec66 --label arch=amd64 --label version=0.0.0 . [2022-06-17T10:12:44.573Z] Sending build context to Docker daemon 9.097MB [2022-06-17T10:12:44.573Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:12:44.573Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:12:44.573Z] ---> 937da8e1164e [2022-06-17T10:12:44.573Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:12:44.573Z] ---> Running in 66b7cbd43f65 [2022-06-17T10:12:44.836Z] Removing intermediate container 66b7cbd43f65 [2022-06-17T10:12:44.836Z] ---> ab88965e3a77 [2022-06-17T10:12:44.836Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:12:44.836Z] ---> Running in c9e4c9411957 [2022-06-17T10:12:44.836Z] Removing intermediate container c9e4c9411957 [2022-06-17T10:12:44.836Z] ---> 4bf62e60c37f [2022-06-17T10:12:44.836Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:12:44.836Z] ---> Running in d426bf4d9fe4 [2022-06-17T10:12:45.095Z] Removing intermediate container d426bf4d9fe4 [2022-06-17T10:12:45.095Z] ---> 3772a88e418b [2022-06-17T10:12:45.095Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:12:45.095Z] ---> Running in d8b78cf0fe73 [2022-06-17T10:12:45.095Z] Removing intermediate container d8b78cf0fe73 [2022-06-17T10:12:45.095Z] ---> 1ea5eb86d5b6 [2022-06-17T10:12:45.095Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:12:45.095Z] ---> Running in 78d477949af5 [2022-06-17T10:12:45.664Z] Removing intermediate container 78d477949af5 [2022-06-17T10:12:45.664Z] ---> 060d52f9bd4c [2022-06-17T10:12:45.664Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:12:45.664Z] ---> Running in ef31a474eecc [2022-06-17T10:12:46.233Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:12:46.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:12:47.373Z] OK: 221 MiB in 52 packages [2022-06-17T10:12:47.632Z] Removing intermediate container ef31a474eecc [2022-06-17T10:12:47.632Z] ---> 24e27bcd8d7e [2022-06-17T10:12:47.632Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:12:47.632Z] ---> Running in 4f8bd583be44 [2022-06-17T10:12:47.632Z] Removing intermediate container 4f8bd583be44 [2022-06-17T10:12:47.632Z] ---> 151d547e262c [2022-06-17T10:12:47.632Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:12:47.893Z] ---> cd3bbcc08e8e [2022-06-17T10:12:47.893Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:12:47.893Z] ---> Running in 02f4a9e2c151 [2022-06-17T10:12:48.462Z] Removing intermediate container 02f4a9e2c151 [2022-06-17T10:12:48.462Z] ---> 381f71fea5f8 [2022-06-17T10:12:48.462Z] Step 12/26 : COPY . . [2022-06-17T10:12:48.721Z] ---> c7b1f97ace48 [2022-06-17T10:12:48.721Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:12:48.721Z] ---> Running in dc415813c165 [2022-06-17T10:12:48.980Z] 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-17T10:13:10.930Z] Removing intermediate container dc415813c165 [2022-06-17T10:13:10.931Z] ---> 259b78047790 [2022-06-17T10:13:10.931Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:13:10.931Z] 3.15: Pulling from library/alpine [2022-06-17T10:13:10.931Z] df9b9388f04a: Pulling fs layer [2022-06-17T10:13:10.931Z] df9b9388f04a: Verifying Checksum [2022-06-17T10:13:10.931Z] df9b9388f04a: Download complete [2022-06-17T10:13:10.931Z] df9b9388f04a: Pull complete [2022-06-17T10:13:10.931Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:13:10.931Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:13:10.931Z] ---> 0ac33e5f5afa [2022-06-17T10:13:10.931Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:13:11.192Z] ---> Running in 968b1c83c391 [2022-06-17T10:13:11.192Z] Removing intermediate container 968b1c83c391 [2022-06-17T10:13:11.192Z] ---> 1e924012dc4f [2022-06-17T10:13:11.192Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:13:11.192Z] ---> Running in 5fc97d871de7 [2022-06-17T10:13:11.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:13:11.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:13:11.712Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:13:11.712Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:13:11.712Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:13:11.712Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:13:11.712Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:13:11.712Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:13:11.712Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:13:11.712Z] OK: 8 MiB in 20 packages [2022-06-17T10:13:12.286Z] Removing intermediate container 5fc97d871de7 [2022-06-17T10:13:12.286Z] ---> 5f797b932bbf [2022-06-17T10:13:12.286Z] Step 17/26 : WORKDIR / [2022-06-17T10:13:12.286Z] ---> Running in 6d8fb00088d9 [2022-06-17T10:13:12.286Z] Removing intermediate container 6d8fb00088d9 [2022-06-17T10:13:12.286Z] ---> 5d8edec21e1e [2022-06-17T10:13:12.286Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:13:12.856Z] ---> 891ec93b14e3 [2022-06-17T10:13:12.856Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:13:13.115Z] ---> 999b7b0831f8 [2022-06-17T10:13:13.115Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:13:13.115Z] ---> fd3b078bfa28 [2022-06-17T10:13:13.115Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:13:13.115Z] ---> Running in 863e9ec946fa [2022-06-17T10:13:13.378Z] Removing intermediate container 863e9ec946fa [2022-06-17T10:13:13.378Z] ---> 61365ea8e5cc [2022-06-17T10:13:13.378Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:13:13.378Z] ---> Running in ab2dcdcbf200 [2022-06-17T10:13:13.378Z] Removing intermediate container ab2dcdcbf200 [2022-06-17T10:13:13.378Z] ---> ec9543a1f07c [2022-06-17T10:13:13.378Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:13:13.378Z] ---> Running in 957df8cae6ba [2022-06-17T10:13:13.640Z] Removing intermediate container 957df8cae6ba [2022-06-17T10:13:13.640Z] ---> 6fb5755fd547 [2022-06-17T10:13:13.640Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T10:13:13.640Z] ---> Running in b2b258983af0 [2022-06-17T10:13:13.640Z] Removing intermediate container b2b258983af0 [2022-06-17T10:13:13.640Z] ---> b7491e371a6c [2022-06-17T10:13:13.640Z] Step 25/26 : LABEL git_sha=0e698bc1fc956e40d82e258a7f46dd013a25ec66 [2022-06-17T10:13:13.640Z] ---> Running in 82d58311bfe1 [2022-06-17T10:13:13.640Z] Removing intermediate container 82d58311bfe1 [2022-06-17T10:13:13.640Z] ---> 58b388af2834 [2022-06-17T10:13:13.640Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:13:13.902Z] ---> Running in 983c53f3a003 [2022-06-17T10:13:13.902Z] Removing intermediate container 983c53f3a003 [2022-06-17T10:13:13.902Z] ---> cbdc3aed450c [2022-06-17T10:13:13.902Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:13:13.902Z] Successfully built cbdc3aed450c [2022-06-17T10:13:13.902Z] 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-17T10:13:14.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:13:14.317Z] [2022-06-17T10:13:14.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:13:14.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:13:14.627Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T10:13:14.627Z] 5eb5b503b376: Pulling fs layer [2022-06-17T10:13:14.627Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T10:13:14.627Z] ec43610c2a17: Pulling fs layer [2022-06-17T10:13:14.627Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T10:13:14.627Z] 33b1e0a273af: Pulling fs layer [2022-06-17T10:13:14.627Z] 3a2ae6a8a46f: Waiting [2022-06-17T10:13:14.627Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T10:13:14.627Z] 33b1e0a273af: Waiting [2022-06-17T10:13:14.627Z] 2f39f015ded8: Pulling fs layer [2022-06-17T10:13:14.627Z] 5d3b04190fa2: Waiting [2022-06-17T10:13:14.627Z] 2f39f015ded8: Waiting [2022-06-17T10:13:14.627Z] 5c69ac0246d0: Download complete [2022-06-17T10:13:14.627Z] 3a2ae6a8a46f: Download complete [2022-06-17T10:13:14.627Z] 33b1e0a273af: Verifying Checksum [2022-06-17T10:13:14.627Z] 33b1e0a273af: Download complete [2022-06-17T10:13:14.627Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T10:13:14.627Z] 5d3b04190fa2: Download complete [2022-06-17T10:13:14.627Z] ec43610c2a17: Verifying Checksum [2022-06-17T10:13:14.627Z] ec43610c2a17: Download complete [2022-06-17T10:13:14.886Z] 5eb5b503b376: Verifying Checksum [2022-06-17T10:13:14.886Z] 5eb5b503b376: Download complete [2022-06-17T10:13:15.456Z] 2f39f015ded8: Download complete [2022-06-17T10:13:16.394Z] 5eb5b503b376: Pull complete [2022-06-17T10:13:16.394Z] 5c69ac0246d0: Pull complete [2022-06-17T10:13:16.960Z] ec43610c2a17: Pull complete [2022-06-17T10:13:16.960Z] 3a2ae6a8a46f: Pull complete [2022-06-17T10:13:17.220Z] 33b1e0a273af: Pull complete [2022-06-17T10:13:17.220Z] 5d3b04190fa2: Pull complete [2022-06-17T10:13:22.499Z] 2f39f015ded8: Pull complete [2022-06-17T10:13:22.499Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T10:13:22.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:13:22.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:13:22.588Z] prd-ubuntu20.04-docker-8c-8g-2554 does not seem to be running inside a container [2022-06-17T10:13:22.623Z] $ 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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@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-17T10:13:24.090Z] $ docker top 510bab7d085e75efdcc0e94a6387526f84dd0458516507a3b24d300a47168bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:13:24.482Z] ---> job-cost.sh [2022-06-17T10:13:24.482Z] lf-activate-venv: SKIPPING [2022-06-17T10:13:24.482Z] INFO: No Stack... [2022-06-17T10:13:25.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:13:25.318Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:13:25.614Z] + cat /w/workspace/oundry_device-onvif-camera_PR-64/archives/cost.csv [2022-06-17T10:13:25.614Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:13:25.629Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [2022-06-17T10:13:25.637Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] did not exist. Created. [2022-06-17T10:13:25.637Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:13:25.943Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T10:13:25.981Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:13:25.987Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:13:26.013Z] $ docker stop --time=1 510bab7d085e75efdcc0e94a6387526f84dd0458516507a3b24d300a47168bdf [2022-06-17T10:13:27.191Z] $ docker rm -f 510bab7d085e75efdcc0e94a6387526f84dd0458516507a3b24d300a47168bdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T10:14:25.561Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2556 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] ws [2022-06-17T10:14:25.574Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-06-17T10:14:25.628Z] Selected Git installation does not exist. Using Default [2022-06-17T10:14:25.628Z] The recommended git tool is: NONE [2022-06-17T10:14:32.932Z] using credential edgex-jenkins-ssh [2022-06-17T10:14:32.951Z] Cloning the remote Git repository [2022-06-17T10:14:33.081Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:14:33.243Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-06-17T10:14:33.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:14:33.320Z] > git --version # timeout=10 [2022-06-17T10:14:33.338Z] > git --version # 'git version 2.25.1' [2022-06-17T10:14:33.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:14:33.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:14:34.842Z] Merging remotes/origin/main commit ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e [2022-06-17T10:14:34.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T10:14:34.286Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:14:34.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T10:14:34.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:14:34.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:14:34.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T10:14:34.869Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:14:34.886Z] > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # timeout=10 [2022-06-17T10:14:35.036Z] > git remote # timeout=10 [2022-06-17T10:14:35.062Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T10:14:35.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:14:35.093Z] > git merge ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52 # timeout=10 [2022-06-17T10:14:35.289Z] Merge succeeded, producing 8ad40de5f56dccc1af01799344064ffd39481c02 [2022-06-17T10:14:35.289Z] Checking out Revision 8ad40de5f56dccc1af01799344064ffd39481c02 (PR-64) [2022-06-17T10:14:35.271Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T10:14:35.300Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:14:35.315Z] > git checkout -f 8ad40de5f56dccc1af01799344064ffd39481c02 # timeout=10 [2022-06-17T10:14:39.479Z] Commit message: "Merge commit 'ad0a6eb2e7b69c64d6095b77c6bd7b7f3b99bb52' into HEAD" [2022-06-17T10:14:39.509Z] First time build. Skipping changelog. [2022-06-17T10:14:39.494Z] > git rev-list --no-walk 27544b653dec5bb8e621e2fcc66b0d09ba48de78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:14:40.354Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T10:14:40.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:14:40.354Z] Dload Upload Total Spent Left Speed [2022-06-17T10:14:40.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-06-17T10:14:41.212Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T10:14:41.561Z] + sudo tee+ sudo /etc/docker/daemon.new jq [2022-06-17T10:14:41.561Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T10:14:41.561Z] { [2022-06-17T10:14:41.561Z] "registry-mirrors": [ [2022-06-17T10:14:41.561Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T10:14:41.561Z] ], [2022-06-17T10:14:41.561Z] "bip": "10.250.0.254/24", [2022-06-17T10:14:41.561Z] "hosts": [ [2022-06-17T10:14:41.561Z] "tcp://0.0.0.0:5555", [2022-06-17T10:14:41.561Z] "unix:///var/run/docker.sock" [2022-06-17T10:14:41.561Z] ], [2022-06-17T10:14:41.561Z] "mtu": 1458, [2022-06-17T10:14:41.561Z] "selinux-enabled": true, [2022-06-17T10:14:41.561Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T10:14:41.561Z] } [Pipeline] sh [2022-06-17T10:14:41.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T10:14:42.259Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:15:00.610Z] provisioning config files... [2022-06-17T10:15:00.637Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config2048913794461894770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:15:01.218Z] ---> docker-login.sh [2022-06-17T10:15:01.218Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:15:01.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:15:02.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:15:02.106Z] Configure a credential helper to remove this warning. See [2022-06-17T10:15:02.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:15:02.106Z] [2022-06-17T10:15:02.106Z] Login Succeeded [2022-06-17T10:15:02.106Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:15:02.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:15:02.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:15:02.705Z] Configure a credential helper to remove this warning. See [2022-06-17T10:15:02.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:15:02.705Z] [2022-06-17T10:15:02.705Z] Login Succeeded [2022-06-17T10:15:02.705Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:15:02.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:15:03.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:15:03.263Z] Configure a credential helper to remove this warning. See [2022-06-17T10:15:03.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:15:03.263Z] [2022-06-17T10:15:03.263Z] Login Succeeded [2022-06-17T10:15:03.263Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:15:03.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:15:03.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:15:03.815Z] Configure a credential helper to remove this warning. See [2022-06-17T10:15:03.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:15:03.815Z] [2022-06-17T10:15:03.815Z] Login Succeeded [2022-06-17T10:15:03.815Z] docker.io [2022-06-17T10:15:04.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:15:05.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:15:05.079Z] Configure a credential helper to remove this warning. See [2022-06-17T10:15:05.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:15:05.079Z] [2022-06-17T10:15:05.079Z] Login Succeeded [2022-06-17T10:15:05.079Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:15:05.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:15:05.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:15:05.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:15:05.395Z] ========================================================= [2022-06-17T10:15:05.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T10:15:05.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:15:05.760Z] + 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-17T10:15:06.038Z] Sending build context to Docker daemon 6.248MB [2022-06-17T10:15:06.313Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:15:06.313Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:15:06.313Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T10:15:06.313Z] 9b3977197b4f: Pulling fs layer [2022-06-17T10:15:06.313Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T10:15:06.313Z] 94645a83ff95: Pulling fs layer [2022-06-17T10:15:06.313Z] e6fb740bc735: Pulling fs layer [2022-06-17T10:15:06.313Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T10:15:06.313Z] 355e64cbe906: Pulling fs layer [2022-06-17T10:15:06.313Z] 63ab81a10011: Pulling fs layer [2022-06-17T10:15:06.313Z] 555d1d1c4555: Pulling fs layer [2022-06-17T10:15:06.313Z] 7d9057610161: Pulling fs layer [2022-06-17T10:15:06.313Z] 355e64cbe906: Waiting [2022-06-17T10:15:06.313Z] 63ab81a10011: Waiting [2022-06-17T10:15:06.313Z] e6fb740bc735: Waiting [2022-06-17T10:15:06.313Z] 3a77bd46dcc9: Waiting [2022-06-17T10:15:06.313Z] 7d9057610161: Waiting [2022-06-17T10:15:06.313Z] 94645a83ff95: Verifying Checksum [2022-06-17T10:15:06.313Z] 94645a83ff95: Download complete [2022-06-17T10:15:06.313Z] 1a89e8eeedd5: Download complete [2022-06-17T10:15:06.598Z] 3a77bd46dcc9: Download complete [2022-06-17T10:15:06.598Z] 9b3977197b4f: Verifying Checksum [2022-06-17T10:15:06.598Z] 9b3977197b4f: Download complete [2022-06-17T10:15:06.598Z] 355e64cbe906: Verifying Checksum [2022-06-17T10:15:06.598Z] 355e64cbe906: Download complete [2022-06-17T10:15:06.598Z] 63ab81a10011: Verifying Checksum [2022-06-17T10:15:06.598Z] 63ab81a10011: Download complete [2022-06-17T10:15:07.590Z] 9b3977197b4f: Pull complete [2022-06-17T10:15:07.590Z] 7d9057610161: Verifying Checksum [2022-06-17T10:15:07.590Z] 7d9057610161: Download complete [2022-06-17T10:15:08.192Z] 1a89e8eeedd5: Pull complete [2022-06-17T10:15:08.192Z] 94645a83ff95: Pull complete [2022-06-17T10:15:08.805Z] 555d1d1c4555: Verifying Checksum [2022-06-17T10:15:08.805Z] 555d1d1c4555: Download complete [2022-06-17T10:15:09.416Z] e6fb740bc735: Verifying Checksum [2022-06-17T10:15:09.416Z] e6fb740bc735: Download complete [2022-06-17T10:15:21.848Z] e6fb740bc735: Pull complete [2022-06-17T10:15:21.848Z] 3a77bd46dcc9: Pull complete [2022-06-17T10:15:22.125Z] 355e64cbe906: Pull complete [2022-06-17T10:15:22.400Z] 63ab81a10011: Pull complete [2022-06-17T10:15:29.131Z] 555d1d1c4555: Pull complete [2022-06-17T10:15:31.111Z] 7d9057610161: Pull complete [2022-06-17T10:15:31.111Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T10:15:31.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T10:15:31.111Z] ---> 819e984ddca1 [2022-06-17T10:15:31.111Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:15:33.153Z] ---> Running in 278cce407a18 [2022-06-17T10:15:33.429Z] Removing intermediate container 278cce407a18 [2022-06-17T10:15:33.429Z] ---> 6ad5591a41f9 [2022-06-17T10:15:33.429Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:15:33.429Z] ---> Running in 1f87be43bba3 [2022-06-17T10:15:33.708Z] Removing intermediate container 1f87be43bba3 [2022-06-17T10:15:33.708Z] ---> 2b1a2a6c5e63 [2022-06-17T10:15:33.708Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:15:33.995Z] ---> Running in c6b89c303d4d [2022-06-17T10:15:34.270Z] Removing intermediate container c6b89c303d4d [2022-06-17T10:15:34.270Z] ---> 54c1a951fee0 [2022-06-17T10:15:34.270Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:15:34.270Z] ---> Running in 9a65dc098af1 [2022-06-17T10:15:34.547Z] Removing intermediate container 9a65dc098af1 [2022-06-17T10:15:34.547Z] ---> b9a9bb13268c [2022-06-17T10:15:34.547Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:15:34.826Z] ---> Running in c2dc822c41c6 [2022-06-17T10:15:36.817Z] Removing intermediate container c2dc822c41c6 [2022-06-17T10:15:36.817Z] ---> 0c023800ab21 [2022-06-17T10:15:36.817Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:15:36.817Z] ---> Running in e4b284d0280d [2022-06-17T10:15:37.801Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:15:38.395Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:15:39.376Z] OK: 220 MiB in 52 packages [2022-06-17T10:15:40.367Z] Removing intermediate container e4b284d0280d [2022-06-17T10:15:40.367Z] ---> a72385ac6dd8 [2022-06-17T10:15:40.367Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:15:40.367Z] ---> Running in 2c478fc6e274 [2022-06-17T10:15:40.642Z] Removing intermediate container 2c478fc6e274 [2022-06-17T10:15:40.642Z] ---> 9f30a6121682 [2022-06-17T10:15:40.642Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:15:41.246Z] ---> b5bec81809da [2022-06-17T10:15:41.246Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:15:41.246Z] ---> Running in e0da9a057757 [2022-06-17T10:16:28.267Z] Removing intermediate container e0da9a057757 [2022-06-17T10:16:28.267Z] ---> f05e7fe8c610 [2022-06-17T10:16:28.267Z] Step 12/13 : COPY . . [2022-06-17T10:16:29.258Z] ---> c9969108d24f [2022-06-17T10:16:29.258Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:16:29.258Z] ---> Running in 61512e2a9f54 [2022-06-17T10:16:30.242Z] noop [2022-06-17T10:16:30.846Z] Removing intermediate container 61512e2a9f54 [2022-06-17T10:16:30.846Z] ---> d5f0bcba0ed6 [2022-06-17T10:16:30.846Z] Successfully built d5f0bcba0ed6 [2022-06-17T10:16:30.846Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:16:31.210Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:16:31.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:16:31.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2022-06-17T10:16:31.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T10:16:32.913Z] $ docker top 57a1d5d44e6579a95ba1c822d9633728e29db50b82dc4700efaac7bac886f5d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:16:33.835Z] + go version [2022-06-17T10:16:33.835Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T10:16:33.862Z] $ docker stop --time=1 57a1d5d44e6579a95ba1c822d9633728e29db50b82dc4700efaac7bac886f5d4 [2022-06-17T10:16:35.537Z] $ docker rm -f 57a1d5d44e6579a95ba1c822d9633728e29db50b82dc4700efaac7bac886f5d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:16:36.162Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:16:36.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:16:36.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2022-06-17T10:16:36.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T10:16:37.794Z] $ docker top f5d161908c8d8fc671887f87227f5d9fef83f13bf5bb7befd9bb63ccd4f9b570 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:16:38.743Z] + make test [2022-06-17T10:16:38.743Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:16:40.736Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:18:17.642Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:18:17.642Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.084s coverage: 1.2% of statements [2022-06-17T10:18:35.978Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.587s coverage: 13.8% of statements [2022-06-17T10:18:35.978Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T10:18:35.978Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:19:08.351Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:19:08.351Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:19:08.351Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:19:08.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:19:08.397Z] $ docker stop --time=1 f5d161908c8d8fc671887f87227f5d9fef83f13bf5bb7befd9bb63ccd4f9b570 [2022-06-17T10:19:10.217Z] $ docker rm -f f5d161908c8d8fc671887f87227f5d9fef83f13bf5bb7befd9bb63ccd4f9b570 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:19:11.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:19:11.203Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T10:19:11.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:19:12.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:19:12.430Z] + ls -al . [2022-06-17T10:19:12.430Z] total 232 [2022-06-17T10:19:12.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:19 . [2022-06-17T10:19:12.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:14 .. [2022-06-17T10:19:12.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:14 .git [2022-06-17T10:19:12.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:14 .github [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:14 .gitignore [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:14 .golangci.yml [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 17 10:14 Attribution.txt [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:14 CHANGELOG.md [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:14 Dockerfile [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:14 GOVERNANCE.md [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:14 Jenkinsfile [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:14 LICENSE [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:14 Makefile [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:14 OWNERS.md [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 17 10:14 README.md [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:11 VERSION [2022-06-17T10:19:12.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:14 bin [2022-06-17T10:19:12.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:14 cmd [2022-06-17T10:19:12.430Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:18 coverage.out [2022-06-17T10:19:12.430Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 10:14 doc [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 17 10:14 go.mod [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 17 10:14 go.sum [2022-06-17T10:19:12.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:14 internal [2022-06-17T10:19:12.430Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:19:12.783Z] + 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=8ad40de5f56dccc1af01799344064ffd39481c02 --label arch=arm64 --label version=0.0.0 . [2022-06-17T10:19:13.055Z] Sending build context to Docker daemon 6.309MB [2022-06-17T10:19:13.055Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:19:13.055Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:19:13.055Z] ---> d5f0bcba0ed6 [2022-06-17T10:19:13.055Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:19:13.329Z] ---> Running in 0a937f73bacc [2022-06-17T10:19:13.602Z] Removing intermediate container 0a937f73bacc [2022-06-17T10:19:13.602Z] ---> 71d48f664908 [2022-06-17T10:19:13.602Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:19:13.602Z] ---> Running in 68de8ea737c9 [2022-06-17T10:19:13.888Z] Removing intermediate container 68de8ea737c9 [2022-06-17T10:19:13.888Z] ---> 8f768fc34902 [2022-06-17T10:19:13.888Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:19:14.159Z] ---> Running in 81b29f30970b [2022-06-17T10:19:14.434Z] Removing intermediate container 81b29f30970b [2022-06-17T10:19:14.434Z] ---> cb247feb7598 [2022-06-17T10:19:14.434Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:19:14.434Z] ---> Running in 24fe63053072 [2022-06-17T10:19:14.710Z] Removing intermediate container 24fe63053072 [2022-06-17T10:19:14.710Z] ---> 2209f4ee2316 [2022-06-17T10:19:14.710Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:19:14.710Z] ---> Running in d88f078c123f [2022-06-17T10:19:16.701Z] Removing intermediate container d88f078c123f [2022-06-17T10:19:16.701Z] ---> e0fe2ecfa9e5 [2022-06-17T10:19:16.701Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:19:16.701Z] ---> Running in 90016362fa5c [2022-06-17T10:19:17.677Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:19:18.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:19:19.242Z] OK: 220 MiB in 52 packages [2022-06-17T10:19:19.837Z] Removing intermediate container 90016362fa5c [2022-06-17T10:19:19.837Z] ---> 5b3094a6365a [2022-06-17T10:19:19.837Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:19:19.837Z] ---> Running in 2927aa145257 [2022-06-17T10:19:20.108Z] Removing intermediate container 2927aa145257 [2022-06-17T10:19:20.108Z] ---> 0cc220aeda18 [2022-06-17T10:19:20.108Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:19:20.709Z] ---> e10685d4cf8f [2022-06-17T10:19:20.709Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:19:20.709Z] ---> Running in 05a1990359e3 [2022-06-17T10:19:22.682Z] Removing intermediate container 05a1990359e3 [2022-06-17T10:19:22.682Z] ---> bfd0f770352d [2022-06-17T10:19:22.682Z] Step 12/26 : COPY . . [2022-06-17T10:19:23.667Z] ---> 4033330f3b4c [2022-06-17T10:19:23.667Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:19:23.667Z] ---> Running in ca0931353a01 [2022-06-17T10:19:24.647Z] 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-17T10:21:31.513Z] Removing intermediate container ca0931353a01 [2022-06-17T10:21:31.513Z] ---> 9e2a19d62a36 [2022-06-17T10:21:31.513Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:21:31.513Z] 3.15: Pulling from library/alpine [2022-06-17T10:21:31.513Z] 9981e73032c8: Pulling fs layer [2022-06-17T10:21:31.513Z] 9981e73032c8: Verifying Checksum [2022-06-17T10:21:31.513Z] 9981e73032c8: Download complete [2022-06-17T10:21:31.513Z] 9981e73032c8: Pull complete [2022-06-17T10:21:31.513Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:21:31.513Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:21:31.513Z] ---> 3fb3c9af89a9 [2022-06-17T10:21:31.513Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:21:31.513Z] ---> Running in 0d905e87fc3c [2022-06-17T10:21:31.513Z] Removing intermediate container 0d905e87fc3c [2022-06-17T10:21:31.513Z] ---> 73304dc6e6d4 [2022-06-17T10:21:31.513Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:21:31.513Z] ---> Running in 7c693761bca7 [2022-06-17T10:21:31.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:21:31.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:21:31.513Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:21:31.513Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:21:31.513Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:21:31.513Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:21:31.513Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:21:31.513Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:21:31.513Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:21:31.514Z] OK: 8 MiB in 20 packages [2022-06-17T10:21:31.514Z] Removing intermediate container 7c693761bca7 [2022-06-17T10:21:31.514Z] ---> e7e013ac72b7 [2022-06-17T10:21:31.514Z] Step 17/26 : WORKDIR / [2022-06-17T10:21:31.788Z] ---> Running in d986fe3e464b [2022-06-17T10:21:32.060Z] Removing intermediate container d986fe3e464b [2022-06-17T10:21:32.060Z] ---> 98cd03f55787 [2022-06-17T10:21:32.060Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:21:33.501Z] ---> b298125c25ec [2022-06-17T10:21:33.501Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:21:34.102Z] ---> 3c27a5d32acd [2022-06-17T10:21:34.102Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:21:34.701Z] ---> 2946f4390d90 [2022-06-17T10:21:34.701Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:21:34.701Z] ---> Running in 538968b02a32 [2022-06-17T10:21:34.973Z] Removing intermediate container 538968b02a32 [2022-06-17T10:21:34.973Z] ---> 04ce6a479399 [2022-06-17T10:21:34.973Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:21:34.973Z] ---> Running in 361315eb9edd [2022-06-17T10:21:35.571Z] Removing intermediate container 361315eb9edd [2022-06-17T10:21:35.571Z] ---> fec2dd0f5b69 [2022-06-17T10:21:35.571Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:21:35.571Z] ---> Running in 9955804020c3 [2022-06-17T10:21:35.845Z] Removing intermediate container 9955804020c3 [2022-06-17T10:21:35.845Z] ---> 61351e414fcf [2022-06-17T10:21:35.845Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T10:21:35.845Z] ---> Running in 754efe9d18bb [2022-06-17T10:21:36.120Z] Removing intermediate container 754efe9d18bb [2022-06-17T10:21:36.120Z] ---> b129ac570327 [2022-06-17T10:21:36.120Z] Step 25/26 : LABEL git_sha=8ad40de5f56dccc1af01799344064ffd39481c02 [2022-06-17T10:21:36.120Z] ---> Running in a2c576e9fb1b [2022-06-17T10:21:36.399Z] Removing intermediate container a2c576e9fb1b [2022-06-17T10:21:36.399Z] ---> dc321d78c9cb [2022-06-17T10:21:36.399Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:21:36.675Z] ---> Running in c75b7c250077 [2022-06-17T10:21:36.949Z] Removing intermediate container c75b7c250077 [2022-06-17T10:21:36.949Z] ---> b3377bc37313 [2022-06-17T10:21:36.949Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:21:36.949Z] Successfully built b3377bc37313 [2022-06-17T10:21:36.949Z] 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-17T10:21:37.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:21:37.413Z] [2022-06-17T10:21:37.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:21:37.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:21:38.053Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T10:21:38.053Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T10:21:38.053Z] 04944245beec: Pulling fs layer [2022-06-17T10:21:38.053Z] 699f458cf7ca: Pulling fs layer [2022-06-17T10:21:38.053Z] 765212b225bb: Pulling fs layer [2022-06-17T10:21:38.053Z] f23df028b6ca: Pulling fs layer [2022-06-17T10:21:38.053Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T10:21:38.053Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T10:21:38.053Z] 765212b225bb: Waiting [2022-06-17T10:21:38.053Z] f23df028b6ca: Waiting [2022-06-17T10:21:38.053Z] d65c8cfc05b1: Waiting [2022-06-17T10:21:38.053Z] 2437ff75d9bd: Waiting [2022-06-17T10:21:38.053Z] 04944245beec: Verifying Checksum [2022-06-17T10:21:38.053Z] 04944245beec: Download complete [2022-06-17T10:21:38.053Z] 765212b225bb: Verifying Checksum [2022-06-17T10:21:38.053Z] 765212b225bb: Download complete [2022-06-17T10:21:38.053Z] f23df028b6ca: Verifying Checksum [2022-06-17T10:21:38.053Z] f23df028b6ca: Download complete [2022-06-17T10:21:38.053Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T10:21:38.053Z] d65c8cfc05b1: Download complete [2022-06-17T10:21:38.329Z] 699f458cf7ca: Verifying Checksum [2022-06-17T10:21:38.329Z] 699f458cf7ca: Download complete [2022-06-17T10:21:38.605Z] 8998bd30e6a1: Download complete [2022-06-17T10:21:41.247Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T10:21:41.247Z] 2437ff75d9bd: Download complete [2022-06-17T10:21:42.694Z] 8998bd30e6a1: Pull complete [2022-06-17T10:21:43.298Z] 04944245beec: Pull complete [2022-06-17T10:21:44.739Z] 699f458cf7ca: Pull complete [2022-06-17T10:21:45.014Z] 765212b225bb: Pull complete [2022-06-17T10:21:45.998Z] f23df028b6ca: Pull complete [2022-06-17T10:21:45.998Z] d65c8cfc05b1: Pull complete [2022-06-17T10:22:01.108Z] 2437ff75d9bd: Pull complete [2022-06-17T10:22:01.108Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T10:22:01.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:22:01.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:22:01.387Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2022-06-17T10:22:01.480Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T10:22:04.017Z] $ docker top 5addeab7db5de39f1b9376b3280f4d340207b8d12dd37f3ccc49bbecf67f1da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:04.937Z] ---> job-cost.sh [2022-06-17T10:22:04.938Z] lf-activate-venv: SKIPPING [2022-06-17T10:22:04.938Z] INFO: No Stack... [2022-06-17T10:22:05.532Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T10:22:06.128Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:22:06.796Z] + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [2022-06-17T10:22:06.796Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:22:06.862Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [2022-06-17T10:22:06.870Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] did not exist. Created. [2022-06-17T10:22:06.870Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:22:07.556Z] /w/workspace/device-onvif-camera/16@tmp/durable-e912fb32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T10:22:08.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T10:22:08.262Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T10:22:08.313Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:22:08.321Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:22:08.346Z] $ docker stop --time=1 5addeab7db5de39f1b9376b3280f4d340207b8d12dd37f3ccc49bbecf67f1da3 [2022-06-17T10:22:09.834Z] $ docker rm -f 5addeab7db5de39f1b9376b3280f4d340207b8d12dd37f3ccc49bbecf67f1da3 [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-17T10:22:10.316Z] provisioning config files... [2022-06-17T10:22:10.341Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config7954586304181761035tmp [Pipeline] { [Pipeline] sh [2022-06-17T10:22:10.662Z] + set +x [2022-06-17T10:22:10.663Z] + curl -s https://codecov.io/bash [2022-06-17T10:22:10.663Z] + bash -s -- [2022-06-17T10:22:10.663Z] [2022-06-17T10:22:10.663Z] _____ _ [2022-06-17T10:22:10.663Z] / ____| | | [2022-06-17T10:22:10.663Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T10:22:10.663Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T10:22:10.663Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T10:22:10.663Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T10:22:10.663Z] Bash-1.0.6 [2022-06-17T10:22:10.663Z] [2022-06-17T10:22:10.663Z] [2022-06-17T10:22:10.663Z] ==> git version 2.25.1 found [2022-06-17T10:22:10.663Z] ==> 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-17T10:22:10.663Z] Release-Date: 2020-01-08 [2022-06-17T10:22:10.663Z] 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-17T10:22:10.663Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T10:22:10.663Z] ==> Jenkins CI detected. [2022-06-17T10:22:10.663Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-17T10:22:10.663Z] project root: . [2022-06-17T10:22:10.663Z] --> token set from env [2022-06-17T10:22:10.663Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T10:22:10.663Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T10:22:10.663Z] ==> Python coveragepy not found [2022-06-17T10:22:10.663Z] ==> Searching for coverage reports in: [2022-06-17T10:22:10.663Z] + . [2022-06-17T10:22:10.663Z] -> Found 1 reports [2022-06-17T10:22:10.663Z] ==> Detecting git/mercurial file structure [2022-06-17T10:22:10.663Z] ==> Reading reports [2022-06-17T10:22:10.663Z] + ./coverage.out bytes=59480 [2022-06-17T10:22:10.663Z] ==> Appending adjustments [2022-06-17T10:22:10.663Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T10:22:10.923Z] + Found adjustments [2022-06-17T10:22:10.923Z] ==> Gzipping contents [2022-06-17T10:22:10.923Z] 8.0K /tmp/codecov.dS6V0A.gz [2022-06-17T10:22:10.923Z] ==> Uploading reports [2022-06-17T10:22:10.923Z] url: https://codecov.io [2022-06-17T10:22:10.923Z] query: branch=PR-64&commit=0e698bc1fc956e40d82e258a7f46dd013a25ec66&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-17T10:22:10.923Z] -> Pinging Codecov [2022-06-17T10:22:10.923Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-64&commit=0e698bc1fc956e40d82e258a7f46dd013a25ec66&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-17T10:22:10.923Z] -> Uploading to [2022-06-17T10:22:10.923Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/F29A59C45E3A92E06B3E522C9905F8EF/0e698bc1fc956e40d82e258a7f46dd013a25ec66/f0ede9dc-d30d-422e-b677-a0c838d49a8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T102210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa3fa0bc6149c653068c356c21500f4c2602a7a7618fceab93b1938bbb236f50 [2022-06-17T10:22:10.923Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:22:10.923Z] Dload Upload Total Spent Left Speed [2022-06-17T10:22:11.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7603 0 0 100 7603 0 35863 --:--:-- --:--:-- --:--:-- 36033 [2022-06-17T10:22:11.185Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0e698bc1fc956e40d82e258a7f46dd013a25ec66 [Pipeline] } [2022-06-17T10:22:11.192Z] 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-17T10:22:11.901Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-64/archives ] [2022-06-17T10:22:11.902Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-17T10:22:11.902Z] total 16 [2022-06-17T10:22:11.902Z] drwxr-xr-x 3 root root 4096 Jun 17 10:13 . [2022-06-17T10:22:11.902Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:13 .. [2022-06-17T10:22:11.902Z] drwxr-xr-x 2 root root 4096 Jun 17 10:13 cost [2022-06-17T10:22:11.902Z] -rw-r--r-- 1 root root 90 Jun 17 10:13 cost.csv [2022-06-17T10:22:11.902Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-17T10:22:11.902Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-17T10:22:11.902Z] total 16 [2022-06-17T10:22:11.902Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:13 . [2022-06-17T10:22:11.902Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:13 .. [2022-06-17T10:22:11.902Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 10:13 cost [2022-06-17T10:22:11.902Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 17 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:12.194Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:13.060Z] ---> package-listing.sh [2022-06-17T10:22:13.060Z] ++ facter osfamily [2022-06-17T10:22:13.060Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T10:22:13.320Z] + OS_FAMILY=debian [2022-06-17T10:22:13.320Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-17T10:22:13.320Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T10:22:13.320Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T10:22:13.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T10:22:13.320Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T10:22:13.320Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-17T10:22:13.320Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T10:22:13.320Z] + case "${OS_FAMILY}" in [2022-06-17T10:22:13.320Z] + dpkg -l [2022-06-17T10:22:13.320Z] + grep '^ii' [2022-06-17T10:22:13.320Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T10:22:13.320Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T10:22:13.320Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T10:22:13.320Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-17T10:22:13.320Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [2022-06-17T10:22:13.320Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [Pipeline] echo [2022-06-17T10:22:13.333Z] 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T10:22:13.615Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:22:14.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:22:14.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:22:14.278Z] prd-ubuntu20.04-docker-8c-8g-2554 does not seem to be running inside a container [2022-06-17T10:22:14.313Z] $ 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-64/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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@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-17T10:22:14.520Z] $ docker top d17f4b69aeda7b498c5ec6a6b89d53d228fc850b2ab84305cdbc3fe53400d79b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:22:14.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T10:22:15.157Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T10:22:15.444Z] + ls /var/log/sa-host [2022-06-17T10:22:15.444Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:22:15.514Z] provisioning config files... [2022-06-17T10:22:15.524Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config6057190126300281287tmp [Pipeline] { [Pipeline] echo [2022-06-17T10:22:15.535Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:15.817Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T10:22:15.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:16.162Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T10:22:16.173Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:16.459Z] ---> sudo-logs.sh [2022-06-17T10:22:16.459Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T10:22:16.483Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:16.767Z] ---> job-cost.sh [2022-06-17T10:22:16.767Z] lf-activate-venv: SKIPPING [2022-06-17T10:22:16.767Z] DEBUG: total: 0.2199999988079071 [2022-06-17T10:22:16.767Z] INFO: Retrieving Stack Cost... [2022-06-17T10:22:17.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:22:17.597Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T10:22:17.609Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:22:17.891Z] ---> logs-deploy.sh [2022-06-17T10:22:17.891Z] lf-activate-venv: SKIPPING [2022-06-17T10:22:17.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-64/16 [2022-06-17T10:22:17.891Z] INFO: archiving workspace using pattern(s): [2022-06-17T10:22:18.829Z] Archives upload complete. [2022-06-17T10:22:18.829Z] INFO: archiving logs to Nexus