Pull request #81 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than 7d96fe6ffa48a95555a9989d9d32ba8197d1dc35 Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16752770158063618803.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-ssh11789033076216668337.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1192662533478762041.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-ssh6709949714177347049.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15519588562268940468.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-1690’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1692 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-81 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 7d96fe6ffa48a95555a9989d9d32ba8197d1dc35 Merge succeeded, producing d338f792c67488c326829ee57e6f65bfcb543a20 Checking out Revision d338f792c67488c326829ee57e6f65bfcb543a20 (PR-81) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d96fe6ffa48a95555a9989d9d32ba8197d1dc35 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d338f792c67488c326829ee57e6f65bfcb543a20 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T22:32:48.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T22:32:48.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T22:32:48.195Z] ========================================================= [2022-06-07T22:32:48.195Z] EdgeX Global Pipelines Version Info [2022-06-07T22:32:48.195Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ea066dcf79279dee21ed703873b26387d22d74b1 # timeout=10 [2022-06-07T22:32:48.935Z] ------------------- [2022-06-07T22:32:48.935Z] stable info: [2022-06-07T22:32:48.935Z] ------------------- [2022-06-07T22:32:48.935Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T22:32:48.935Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:32:48.935Z] Message: update stable to v1.0.234 [2022-06-07T22:32:49.507Z] ------------------- [2022-06-07T22:32:49.507Z] experimental info: [2022-06-07T22:32:49.507Z] ------------------- [2022-06-07T22:32:49.507Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T22:32:49.507Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:32:49.507Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T22:32:49.712Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T22:32:49.725Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T22:32:49.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T22:32:49.752Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T22:32:49.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T22:32:49.781Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T22:32:49.791Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T22:32:49.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T22:32:49.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T22:32:49.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T22:32:49.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T22:32:49.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T22:32:49.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T22:32:49.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T22:32:49.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:32:49.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:32:49.928Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:32:49.942Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:32:49.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T22:32:49.972Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T22:32:49.987Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T22:32:50.000Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T22:32:50.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T22:32:50.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T22:32:50.044Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T22:32:50.063Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T22:32:50.081Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T22:32:50.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:32:50.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:32:50.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-07T22:32:50.143Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d338f792c67488c326829ee57e6f65bfcb543a20 [Pipeline] echo [2022-06-07T22:32:50.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d338f79 [Pipeline] echo [2022-06-07T22:32:50.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:32:50.228Z] provisioning config files... [2022-06-07T22:32:50.265Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config3419574972608685086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:32:50.579Z] ---> docker-login.sh [2022-06-07T22:32:50.579Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:32:50.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:32:50.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:32:50.845Z] Configure a credential helper to remove this warning. See [2022-06-07T22:32:50.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:32:50.845Z] [2022-06-07T22:32:50.845Z] Login Succeeded [2022-06-07T22:32:50.845Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:32:50.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:32:51.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:32:51.106Z] Configure a credential helper to remove this warning. See [2022-06-07T22:32:51.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:32:51.106Z] [2022-06-07T22:32:51.106Z] Login Succeeded [2022-06-07T22:32:51.106Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:32:51.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:32:51.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:32:51.106Z] Configure a credential helper to remove this warning. See [2022-06-07T22:32:51.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:32:51.106Z] [2022-06-07T22:32:51.106Z] Login Succeeded [2022-06-07T22:32:51.106Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:32:51.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:32:51.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:32:51.367Z] Configure a credential helper to remove this warning. See [2022-06-07T22:32:51.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:32:51.367Z] [2022-06-07T22:32:51.367Z] Login Succeeded [2022-06-07T22:32:51.367Z] docker.io [2022-06-07T22:32:51.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:32:51.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:32:51.627Z] Configure a credential helper to remove this warning. See [2022-06-07T22:32:51.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:32:51.627Z] [2022-06-07T22:32:51.627Z] Login Succeeded [2022-06-07T22:32:51.627Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:32:51.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T22:32:52.028Z] + git rev-list -1 --merges d338f792c67488c326829ee57e6f65bfcb543a20~1..d338f792c67488c326829ee57e6f65bfcb543a20 [Pipeline] echo [2022-06-07T22:32:52.055Z] -----------> git rev-list -1 --merges d338f792c67488c326829ee57e6f65bfcb543a20~1..d338f792c67488c326829ee57e6f65bfcb543a20 d338f792c67488c326829ee57e6f65bfcb543a20 [2022-06-07T22:32:52.055Z] d338f792c67488c326829ee57e6f65bfcb543a20 [false] [Pipeline] sh [2022-06-07T22:32:52.350Z] + git log --format=format:%s -1 d338f792c67488c326829ee57e6f65bfcb543a20 [Pipeline] echo [2022-06-07T22:32:52.369Z] ========================================================= [2022-06-07T22:32:52.369Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T22:32:52.369Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:32:52.719Z] + git log --format=format:%s -1 d338f792c67488c326829ee57e6f65bfcb543a20 [Pipeline] echo [2022-06-07T22:32:52.740Z] [semverPrep] GIT_COMMIT: d338f792c67488c326829ee57e6f65bfcb543a20, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T22:32:52.750Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T22:32:53.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T22:32:53.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T22:32:53.173Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T22:32:53.173Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T22:32:53.173Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-06-07T22:32:53.173Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T22:32:53.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:32:53.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:32:53.548Z] [2022-06-07T22:32:53.548Z] 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-07T22:32:53.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:32:53.849Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T22:32:53.849Z] 42c077c10790: Pulling fs layer [2022-06-07T22:32:53.849Z] f63e77b7563a: Pulling fs layer [2022-06-07T22:32:53.849Z] bd5fdadae976: Pulling fs layer [2022-06-07T22:32:53.849Z] 205491f53016: Pulling fs layer [2022-06-07T22:32:53.849Z] df18705c85c3: Pulling fs layer [2022-06-07T22:32:53.849Z] 205491f53016: Waiting [2022-06-07T22:32:53.849Z] df18705c85c3: Waiting [2022-06-07T22:32:53.849Z] bdb3f477010e: Pulling fs layer [2022-06-07T22:32:53.849Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T22:32:53.849Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T22:32:53.849Z] bdb8f0575790: Pulling fs layer [2022-06-07T22:32:53.849Z] 2c6e9b1d212d: Waiting [2022-06-07T22:32:53.849Z] bdb3f477010e: Waiting [2022-06-07T22:32:53.849Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T22:32:53.849Z] bdb8f0575790: Waiting [2022-06-07T22:32:53.849Z] 386e3cb2ff24: Waiting [2022-06-07T22:32:53.849Z] 2343380bae48: Pulling fs layer [2022-06-07T22:32:53.849Z] 2343380bae48: Waiting [2022-06-07T22:32:53.849Z] f63e77b7563a: Download complete [2022-06-07T22:32:53.849Z] 205491f53016: Verifying Checksum [2022-06-07T22:32:53.849Z] 205491f53016: Download complete [2022-06-07T22:32:54.109Z] df18705c85c3: Verifying Checksum [2022-06-07T22:32:54.109Z] df18705c85c3: Download complete [2022-06-07T22:32:54.109Z] bd5fdadae976: Verifying Checksum [2022-06-07T22:32:54.109Z] bd5fdadae976: Download complete [2022-06-07T22:32:54.109Z] bdb3f477010e: Verifying Checksum [2022-06-07T22:32:54.109Z] bdb3f477010e: Download complete [2022-06-07T22:32:54.109Z] 2c6e9b1d212d: Verifying Checksum [2022-06-07T22:32:54.109Z] 2c6e9b1d212d: Download complete [2022-06-07T22:32:54.109Z] bdb8f0575790: Download complete [2022-06-07T22:32:54.109Z] 386e3cb2ff24: Download complete [2022-06-07T22:32:54.109Z] 2343380bae48: Download complete [2022-06-07T22:32:54.109Z] 42c077c10790: Verifying Checksum [2022-06-07T22:32:54.109Z] 42c077c10790: Download complete [2022-06-07T22:32:54.369Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T22:32:54.369Z] c8a8fc8e1c8f: Download complete [2022-06-07T22:32:55.311Z] 42c077c10790: Pull complete [2022-06-07T22:32:55.572Z] f63e77b7563a: Pull complete [2022-06-07T22:32:55.834Z] bd5fdadae976: Pull complete [2022-06-07T22:32:56.094Z] 205491f53016: Pull complete [2022-06-07T22:32:56.354Z] df18705c85c3: Pull complete [2022-06-07T22:32:56.354Z] bdb3f477010e: Pull complete [2022-06-07T22:32:58.262Z] c8a8fc8e1c8f: Pull complete [2022-06-07T22:32:58.262Z] 2c6e9b1d212d: Pull complete [2022-06-07T22:32:58.262Z] bdb8f0575790: Pull complete [2022-06-07T22:32:58.262Z] 386e3cb2ff24: Pull complete [2022-06-07T22:32:58.525Z] 2343380bae48: Pull complete [2022-06-07T22:32:58.526Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T22:32:58.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:32:58.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:32:58.631Z] prd-ubuntu20.04-docker-8c-8g-1692 does not seem to be running inside a container [2022-06-07T22:32:58.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T22:33:00.183Z] $ docker top a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d -eo pid,comm [2022-06-07T22:33:00.247Z] 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-07T22:33:00.247Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T22:33:00.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:33:00.280Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:33:00.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:33:00.410Z] $ docker exec a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d ssh-agent [2022-06-07T22:33:00.542Z] SSH_AUTH_SOCK=/tmp/ssh-jhDVTj1kLD7p/agent.32 [2022-06-07T22:33:00.542Z] SSH_AGENT_PID=38 [2022-06-07T22:33:00.550Z] Running ssh-add (command line suppressed) [2022-06-07T22:33:00.673Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_3924494766971606481.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_3924494766971606481.key) [2022-06-07T22:33:00.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:33:00.975Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T22:33:01.003Z] $ docker exec --env ******** --env ******** a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d ssh-agent -k [2022-06-07T22:33:01.110Z] unset SSH_AUTH_SOCK; [2022-06-07T22:33:01.110Z] unset SSH_AGENT_PID; [2022-06-07T22:33:01.110Z] echo Agent pid 38 killed; [2022-06-07T22:33:01.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T22:33:01.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:33:01.144Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:33:01.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:33:01.292Z] $ docker exec a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d ssh-agent [2022-06-07T22:33:01.400Z] SSH_AUTH_SOCK=/tmp/ssh-zvWZBF7rbfYI/agent.70 [2022-06-07T22:33:01.400Z] SSH_AGENT_PID=76 [2022-06-07T22:33:01.405Z] Running ssh-add (command line suppressed) [2022-06-07T22:33:01.523Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8360546890607415983.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8360546890607415983.key) [2022-06-07T22:33:01.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:33:01.827Z] + git semver init [2022-06-07T22:33:02.086Z] 2022-06-07 22:33:02,011 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T22:33:02.086Z] 2022-06-07 22:33:02,012 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:33:02.086Z] 2022-06-07 22:33:02,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:33:02.086Z] 2022-06-07 22:33:02,012 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,712 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,712 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,712 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,716 [execute] INFO git cat-file --batch-check [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,722 [execute] INFO git cat-file --batch [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:33:03.027Z] 2022-06-07 22:33:02,726 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:33:03.027Z] 0.0.0 [Pipeline] } [2022-06-07T22:33:03.045Z] $ docker exec --env ******** --env ******** a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d ssh-agent -k [2022-06-07T22:33:03.150Z] unset SSH_AUTH_SOCK; [2022-06-07T22:33:03.150Z] unset SSH_AGENT_PID; [2022-06-07T22:33:03.150Z] echo Agent pid 76 killed; [2022-06-07T22:33:03.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T22:33:03.464Z] + git semver [Pipeline] } [2022-06-07T22:33:03.745Z] $ docker stop --time=1 a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d [2022-06-07T22:33:05.042Z] $ docker rm -f a109a6c6bf3af72e587d3bf6c26b2e2eb6d77a1fc15da70d2c0789bc39b4876d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T22:33:05.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T22:33:05.643Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T22:33:05.645Z] [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-07T22:33:05.765Z] provisioning config files... [2022-06-07T22:33:05.775Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6622558090437070618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:33:06.073Z] ---> docker-login.sh [2022-06-07T22:33:06.073Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:33:06.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:33:06.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:33:06.073Z] Configure a credential helper to remove this warning. See [2022-06-07T22:33:06.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:33:06.073Z] [2022-06-07T22:33:06.073Z] Login Succeeded [2022-06-07T22:33:06.073Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:33:06.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:33:06.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:33:06.073Z] Configure a credential helper to remove this warning. See [2022-06-07T22:33:06.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:33:06.073Z] [2022-06-07T22:33:06.073Z] Login Succeeded [2022-06-07T22:33:06.333Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:33:06.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:33:06.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:33:06.333Z] Configure a credential helper to remove this warning. See [2022-06-07T22:33:06.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:33:06.333Z] [2022-06-07T22:33:06.333Z] Login Succeeded [2022-06-07T22:33:06.333Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:33:06.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:33:06.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:33:06.592Z] Configure a credential helper to remove this warning. See [2022-06-07T22:33:06.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:33:06.592Z] [2022-06-07T22:33:06.592Z] Login Succeeded [2022-06-07T22:33:06.592Z] docker.io [2022-06-07T22:33:06.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:33:06.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:33:06.853Z] Configure a credential helper to remove this warning. See [2022-06-07T22:33:06.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:33:06.853Z] [2022-06-07T22:33:06.853Z] Login Succeeded [2022-06-07T22:33:06.853Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:33:06.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:33:06.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:33:06.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:33:06.944Z] ========================================================= [2022-06-07T22:33:06.944Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T22:33:06.944Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:33:07.271Z] + 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-07T22:33:07.271Z] Sending build context to Docker daemon 8.906MB [2022-06-07T22:33:07.271Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:33:07.271Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:33:07.271Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T22:33:07.271Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T22:33:07.271Z] 666ba61612fd: Pulling fs layer [2022-06-07T22:33:07.271Z] 8ed8ca486205: Pulling fs layer [2022-06-07T22:33:07.271Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T22:33:07.271Z] c516ae0d96e1: Pulling fs layer [2022-06-07T22:33:07.271Z] 684cea983483: Pulling fs layer [2022-06-07T22:33:07.271Z] dd3240ac7de5: Pulling fs layer [2022-06-07T22:33:07.271Z] b1e948a4e11c: Pulling fs layer [2022-06-07T22:33:07.271Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T22:33:07.271Z] 646ad004c059: Pulling fs layer [2022-06-07T22:33:07.271Z] 684cea983483: Waiting [2022-06-07T22:33:07.271Z] dd3240ac7de5: Waiting [2022-06-07T22:33:07.271Z] 646ad004c059: Waiting [2022-06-07T22:33:07.271Z] a8fd76ee1af6: Waiting [2022-06-07T22:33:07.271Z] cc1cd167ecdc: Waiting [2022-06-07T22:33:07.271Z] c516ae0d96e1: Waiting [2022-06-07T22:33:07.271Z] 8ed8ca486205: Verifying Checksum [2022-06-07T22:33:07.271Z] 8ed8ca486205: Download complete [2022-06-07T22:33:07.530Z] 666ba61612fd: Download complete [2022-06-07T22:33:07.530Z] c516ae0d96e1: Download complete [2022-06-07T22:33:07.530Z] 684cea983483: Download complete [2022-06-07T22:33:07.530Z] dd3240ac7de5: Download complete [2022-06-07T22:33:07.530Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T22:33:07.530Z] 59bf1c3509f3: Download complete [2022-06-07T22:33:07.530Z] b1e948a4e11c: Verifying Checksum [2022-06-07T22:33:07.530Z] b1e948a4e11c: Download complete [2022-06-07T22:33:07.530Z] 59bf1c3509f3: Pull complete [2022-06-07T22:33:07.791Z] 666ba61612fd: Pull complete [2022-06-07T22:33:07.791Z] 8ed8ca486205: Pull complete [2022-06-07T22:33:08.051Z] 646ad004c059: Verifying Checksum [2022-06-07T22:33:08.051Z] 646ad004c059: Download complete [2022-06-07T22:33:08.051Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T22:33:08.051Z] a8fd76ee1af6: Download complete [2022-06-07T22:33:08.051Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T22:33:08.051Z] cc1cd167ecdc: Download complete [2022-06-07T22:33:11.344Z] cc1cd167ecdc: Pull complete [2022-06-07T22:33:11.344Z] c516ae0d96e1: Pull complete [2022-06-07T22:33:11.344Z] 684cea983483: Pull complete [2022-06-07T22:33:11.604Z] dd3240ac7de5: Pull complete [2022-06-07T22:33:11.604Z] b1e948a4e11c: Pull complete [2022-06-07T22:33:13.517Z] a8fd76ee1af6: Pull complete [2022-06-07T22:33:14.453Z] 646ad004c059: Pull complete [2022-06-07T22:33:14.453Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T22:33:14.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T22:33:14.453Z] ---> 8f69c11f6b0c [2022-06-07T22:33:14.453Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:33:16.361Z] ---> Running in 748e6f4a6b9e [2022-06-07T22:33:16.361Z] Removing intermediate container 748e6f4a6b9e [2022-06-07T22:33:16.361Z] ---> 9b5b267772f0 [2022-06-07T22:33:16.361Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:33:16.361Z] ---> Running in 84665dcf031e [2022-06-07T22:33:16.361Z] Removing intermediate container 84665dcf031e [2022-06-07T22:33:16.361Z] ---> 63c1b7608518 [2022-06-07T22:33:16.361Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:33:16.361Z] ---> Running in 7e00e7b92611 [2022-06-07T22:33:16.620Z] Removing intermediate container 7e00e7b92611 [2022-06-07T22:33:16.620Z] ---> 7c12bed2e19e [2022-06-07T22:33:16.620Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:33:16.620Z] ---> Running in 3c78fecd2cdb [2022-06-07T22:33:16.620Z] Removing intermediate container 3c78fecd2cdb [2022-06-07T22:33:16.620Z] ---> 59cfba8ac1ad [2022-06-07T22:33:16.620Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:33:16.620Z] ---> Running in 1aadc0733dac [2022-06-07T22:33:17.190Z] Removing intermediate container 1aadc0733dac [2022-06-07T22:33:17.190Z] ---> e847e626f9bf [2022-06-07T22:33:17.190Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:33:17.190Z] ---> Running in b3a01848a046 [2022-06-07T22:33:17.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T22:33:18.391Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T22:33:18.651Z] OK: 221 MiB in 52 packages [2022-06-07T22:33:18.912Z] Removing intermediate container b3a01848a046 [2022-06-07T22:33:18.912Z] ---> 117f42950795 [2022-06-07T22:33:18.912Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:33:19.172Z] ---> Running in d189473d9dff [2022-06-07T22:33:19.172Z] Removing intermediate container d189473d9dff [2022-06-07T22:33:19.172Z] ---> aadc3077ea23 [2022-06-07T22:33:19.172Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:33:19.172Z] ---> 6b946c421b1e [2022-06-07T22:33:19.172Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:33:19.431Z] ---> Running in 6b6f41911283 [2022-06-07T22:33:20.733Z] Still waiting to schedule task [2022-06-07T22:33:20.734Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-07T22:33:34.325Z] Removing intermediate container 6b6f41911283 [2022-06-07T22:33:34.325Z] ---> f62a13b3e355 [2022-06-07T22:33:34.325Z] Step 12/13 : COPY . . [2022-06-07T22:33:34.325Z] ---> 36f776bc46e9 [2022-06-07T22:33:34.325Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:33:34.325Z] ---> Running in 6ed30386a92f [2022-06-07T22:33:34.325Z] noop [2022-06-07T22:33:34.325Z] Removing intermediate container 6ed30386a92f [2022-06-07T22:33:34.325Z] ---> 2de045a1aafb [2022-06-07T22:33:34.325Z] Successfully built 2de045a1aafb [2022-06-07T22:33:34.325Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:33:34.648Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:33:34.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:33:34.725Z] prd-ubuntu20.04-docker-8c-8g-1692 does not seem to be running inside a container [2022-06-07T22:33:34.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:33:35.155Z] $ docker top b1753ef2cffc1ba2a2172cbe55f013b10053aa2b2bc53ffd97f5d495c2407a93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:33:35.502Z] + go version [2022-06-07T22:33:35.502Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T22:33:35.518Z] $ docker stop --time=1 b1753ef2cffc1ba2a2172cbe55f013b10053aa2b2bc53ffd97f5d495c2407a93 [2022-06-07T22:33:36.805Z] $ docker rm -f b1753ef2cffc1ba2a2172cbe55f013b10053aa2b2bc53ffd97f5d495c2407a93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:33:37.260Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:33:37.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:33:37.355Z] prd-ubuntu20.04-docker-8c-8g-1692 does not seem to be running inside a container [2022-06-07T22:33:37.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:33:37.952Z] $ docker top d203c6e6bd79af63e464fe0576699bab168839a84e72e118b575852533a96f5f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:33:38.305Z] + make test [2022-06-07T22:33:38.305Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:33:38.563Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:33:48.551Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T22:33:48.551Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-07T22:33:51.841Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.915s coverage: 13.8% of statements [2022-06-07T22:33:58.416Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T22:34:02.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T22:34:02.613Z] ./internal/driver/driver.go [2022-06-07T22:34:02.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T22:34:02.613Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-07T22:34:02.631Z] $ docker stop --time=1 d203c6e6bd79af63e464fe0576699bab168839a84e72e118b575852533a96f5f [2022-06-07T22:34:04.484Z] $ docker rm -f d203c6e6bd79af63e464fe0576699bab168839a84e72e118b575852533a96f5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:34:05.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:34:05.100Z] [2022-06-07T22:34:05.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:34:05.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:34:05.405Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T22:34:05.405Z] 5eb5b503b376: Pulling fs layer [2022-06-07T22:34:05.405Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T22:34:05.405Z] ec43610c2a17: Pulling fs layer [2022-06-07T22:34:05.405Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T22:34:05.405Z] 33b1e0a273af: Pulling fs layer [2022-06-07T22:34:05.405Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T22:34:05.405Z] 2f39f015ded8: Pulling fs layer [2022-06-07T22:34:05.405Z] 33b1e0a273af: Waiting [2022-06-07T22:34:05.405Z] 5d3b04190fa2: Waiting [2022-06-07T22:34:05.405Z] 2f39f015ded8: Waiting [2022-06-07T22:34:05.405Z] 3a2ae6a8a46f: Waiting [2022-06-07T22:34:05.405Z] 5c69ac0246d0: Download complete [2022-06-07T22:34:05.666Z] 3a2ae6a8a46f: Download complete [2022-06-07T22:34:05.666Z] 33b1e0a273af: Verifying Checksum [2022-06-07T22:34:05.666Z] 33b1e0a273af: Download complete [2022-06-07T22:34:05.666Z] 5d3b04190fa2: Download complete [2022-06-07T22:34:05.666Z] ec43610c2a17: Download complete [2022-06-07T22:34:05.666Z] 5eb5b503b376: Verifying Checksum [2022-06-07T22:34:05.666Z] 5eb5b503b376: Download complete [2022-06-07T22:34:06.605Z] 2f39f015ded8: Verifying Checksum [2022-06-07T22:34:06.605Z] 2f39f015ded8: Download complete [2022-06-07T22:34:06.865Z] 5eb5b503b376: Pull complete [2022-06-07T22:34:07.125Z] 5c69ac0246d0: Pull complete [2022-06-07T22:34:07.694Z] ec43610c2a17: Pull complete [2022-06-07T22:34:07.695Z] 3a2ae6a8a46f: Pull complete [2022-06-07T22:34:07.695Z] 33b1e0a273af: Pull complete [2022-06-07T22:34:07.954Z] 5d3b04190fa2: Pull complete [2022-06-07T22:34:12.149Z] 2f39f015ded8: Pull complete [2022-06-07T22:34:12.149Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T22:34:12.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:34:12.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:34:12.241Z] prd-ubuntu20.04-docker-8c-8g-1692 does not seem to be running inside a container [2022-06-07T22:34:12.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T22:34:14.043Z] $ docker top 5f6133e26dad42eb15f9966ea9e38f6b9b926107aad24bb0d5a96e50ec9c4cfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:34:14.480Z] ---> job-cost.sh [2022-06-07T22:34:14.480Z] lf-activate-venv: SKIPPING [2022-06-07T22:34:14.480Z] INFO: No Stack... [2022-06-07T22:34:15.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T22:34:15.313Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T22:34:15.615Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-07T22:34:15.615Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T22:34:15.629Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [2022-06-07T22:34:15.636Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] did not exist. Created. [2022-06-07T22:34:15.636Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T22:34:15.944Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T22:34:15.969Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T22:34:15.975Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T22:34:15.995Z] $ docker stop --time=1 5f6133e26dad42eb15f9966ea9e38f6b9b926107aad24bb0d5a96e50ec9c4cfa [2022-06-07T22:34:17.175Z] $ docker rm -f 5f6133e26dad42eb15f9966ea9e38f6b9b926107aad24bb0d5a96e50ec9c4cfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T22:34:17.290Z] Failed in branch amd64 [2022-06-07T22:34:58.731Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1693 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-07T22:34:58.744Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-06-07T22:34:58.787Z] Selected Git installation does not exist. Using Default [2022-06-07T22:34:58.787Z] The recommended git tool is: NONE [2022-06-07T22:35:04.327Z] using credential edgex-jenkins-ssh [2022-06-07T22:35:04.373Z] Cloning the remote Git repository [2022-06-07T22:35:04.431Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:35:04.511Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-06-07T22:35:04.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:35:04.601Z] > git --version # timeout=10 [2022-06-07T22:35:04.621Z] > git --version # 'git version 2.25.1' [2022-06-07T22:35:04.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:35:04.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:35:06.243Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 7d96fe6ffa48a95555a9989d9d32ba8197d1dc35 [2022-06-07T22:35:05.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:35:05.647Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:35:05.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:35:05.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:35:05.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:35:05.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T22:35:06.267Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:35:06.289Z] > git checkout -f 7d96fe6ffa48a95555a9989d9d32ba8197d1dc35 # timeout=10 [2022-06-07T22:35:06.438Z] > git remote # timeout=10 [2022-06-07T22:35:06.454Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T22:35:06.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:35:06.479Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T22:35:06.663Z] Merge succeeded, producing 5e5f413254ceb7c751dff220c972a1e802ed8f1e [2022-06-07T22:35:06.663Z] Checking out Revision 5e5f413254ceb7c751dff220c972a1e802ed8f1e (PR-81) [2022-06-07T22:35:06.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T22:35:06.674Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:35:06.692Z] > git checkout -f 5e5f413254ceb7c751dff220c972a1e802ed8f1e # timeout=10 [2022-06-07T22:35:11.011Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T22:35:11.042Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:35:12.013Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T22:35:12.013Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T22:35:12.013Z] Dload Upload Total Spent Left Speed [2022-06-07T22:35:12.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 99617 [2022-06-07T22:35:11.025Z] > git rev-list --no-walk ea066dcf79279dee21ed703873b26387d22d74b1 # timeout=10 [Pipeline] sh [2022-06-07T22:35:12.798Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T22:35:13.169Z] + sudo+ jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-06-07T22:35:13.169Z] [2022-06-07T22:35:13.169Z] { [2022-06-07T22:35:13.169Z] "registry-mirrors": [ [2022-06-07T22:35:13.169Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T22:35:13.169Z] ], [2022-06-07T22:35:13.169Z] "bip": "10.250.0.254/24", [2022-06-07T22:35:13.169Z] "hosts": [ [2022-06-07T22:35:13.169Z] "tcp://0.0.0.0:5555", [2022-06-07T22:35:13.169Z] "unix:///var/run/docker.sock" [2022-06-07T22:35:13.169Z] ], [2022-06-07T22:35:13.169Z] "mtu": 1458, [2022-06-07T22:35:13.169Z] "selinux-enabled": true, [2022-06-07T22:35:13.169Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T22:35:13.169Z] } [Pipeline] sh [2022-06-07T22:35:13.537Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T22:35:13.919Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:35:32.338Z] provisioning config files... [2022-06-07T22:35:32.363Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config2561937941536691129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:35:32.730Z] ---> docker-login.sh [2022-06-07T22:35:32.730Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:35:33.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:35:33.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:35:33.615Z] Configure a credential helper to remove this warning. See [2022-06-07T22:35:33.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:35:33.615Z] [2022-06-07T22:35:33.615Z] Login Succeeded [2022-06-07T22:35:33.615Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:35:33.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:35:33.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:35:33.888Z] Configure a credential helper to remove this warning. See [2022-06-07T22:35:33.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:35:33.888Z] [2022-06-07T22:35:33.888Z] Login Succeeded [2022-06-07T22:35:33.888Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:35:34.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:35:34.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:35:34.438Z] Configure a credential helper to remove this warning. See [2022-06-07T22:35:34.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:35:34.438Z] [2022-06-07T22:35:34.438Z] Login Succeeded [2022-06-07T22:35:34.438Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:35:34.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:35:34.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:35:34.713Z] Configure a credential helper to remove this warning. See [2022-06-07T22:35:34.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:35:34.713Z] [2022-06-07T22:35:34.713Z] Login Succeeded [2022-06-07T22:35:34.713Z] docker.io [2022-06-07T22:35:34.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:35:35.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:35:35.583Z] Configure a credential helper to remove this warning. See [2022-06-07T22:35:35.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:35:35.583Z] [2022-06-07T22:35:35.583Z] Login Succeeded [2022-06-07T22:35:35.583Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:35:35.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:35:36.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:35:36.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:35:36.141Z] ========================================================= [2022-06-07T22:35:36.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T22:35:36.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:35:36.561Z] + 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-07T22:35:37.164Z] Sending build context to Docker daemon 6.128MB [2022-06-07T22:35:37.164Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:35:37.164Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:35:37.164Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T22:35:37.164Z] 9b3977197b4f: Pulling fs layer [2022-06-07T22:35:37.164Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T22:35:37.164Z] 94645a83ff95: Pulling fs layer [2022-06-07T22:35:37.164Z] e6fb740bc735: Pulling fs layer [2022-06-07T22:35:37.164Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T22:35:37.164Z] 355e64cbe906: Pulling fs layer [2022-06-07T22:35:37.164Z] 63ab81a10011: Pulling fs layer [2022-06-07T22:35:37.164Z] 555d1d1c4555: Pulling fs layer [2022-06-07T22:35:37.164Z] 7d9057610161: Pulling fs layer [2022-06-07T22:35:37.164Z] e6fb740bc735: Waiting [2022-06-07T22:35:37.164Z] 3a77bd46dcc9: Waiting [2022-06-07T22:35:37.164Z] 355e64cbe906: Waiting [2022-06-07T22:35:37.164Z] 555d1d1c4555: Waiting [2022-06-07T22:35:37.164Z] 63ab81a10011: Waiting [2022-06-07T22:35:37.164Z] 7d9057610161: Waiting [2022-06-07T22:35:37.164Z] 94645a83ff95: Verifying Checksum [2022-06-07T22:35:37.164Z] 94645a83ff95: Download complete [2022-06-07T22:35:37.164Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T22:35:37.164Z] 1a89e8eeedd5: Download complete [2022-06-07T22:35:37.164Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T22:35:37.164Z] 3a77bd46dcc9: Download complete [2022-06-07T22:35:37.164Z] 355e64cbe906: Download complete [2022-06-07T22:35:37.164Z] 9b3977197b4f: Verifying Checksum [2022-06-07T22:35:37.164Z] 9b3977197b4f: Download complete [2022-06-07T22:35:37.439Z] 63ab81a10011: Verifying Checksum [2022-06-07T22:35:38.435Z] 9b3977197b4f: Pull complete [2022-06-07T22:35:38.435Z] 7d9057610161: Verifying Checksum [2022-06-07T22:35:38.435Z] 7d9057610161: Download complete [2022-06-07T22:35:38.709Z] 1a89e8eeedd5: Pull complete [2022-06-07T22:35:38.984Z] 94645a83ff95: Pull complete [2022-06-07T22:35:39.257Z] 555d1d1c4555: Download complete [2022-06-07T22:35:40.235Z] e6fb740bc735: Verifying Checksum [2022-06-07T22:35:40.235Z] e6fb740bc735: Download complete [2022-06-07T22:35:52.631Z] e6fb740bc735: Pull complete [2022-06-07T22:35:52.631Z] 3a77bd46dcc9: Pull complete [2022-06-07T22:35:52.631Z] 355e64cbe906: Pull complete [2022-06-07T22:35:52.631Z] 63ab81a10011: Pull complete [2022-06-07T22:35:59.393Z] 555d1d1c4555: Pull complete [2022-06-07T22:36:00.846Z] 7d9057610161: Pull complete [2022-06-07T22:36:00.846Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T22:36:00.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T22:36:00.846Z] ---> 819e984ddca1 [2022-06-07T22:36:00.846Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:36:01.836Z] ---> Running in f9432e3680c1 [2022-06-07T22:36:02.111Z] Removing intermediate container f9432e3680c1 [2022-06-07T22:36:02.111Z] ---> 0b13cada4ef8 [2022-06-07T22:36:02.111Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:36:02.111Z] ---> Running in f19c7e38ccf0 [2022-06-07T22:36:02.388Z] Removing intermediate container f19c7e38ccf0 [2022-06-07T22:36:02.388Z] ---> eb14cd21de3f [2022-06-07T22:36:02.388Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:36:02.388Z] ---> Running in 7f736bf47497 [2022-06-07T22:36:02.670Z] Removing intermediate container 7f736bf47497 [2022-06-07T22:36:02.670Z] ---> 847a1a6571df [2022-06-07T22:36:02.670Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:36:02.949Z] ---> Running in e9094afe0d6f [2022-06-07T22:36:03.225Z] Removing intermediate container e9094afe0d6f [2022-06-07T22:36:03.225Z] ---> e44e8306d003 [2022-06-07T22:36:03.225Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:36:03.225Z] ---> Running in 2a5ae874e165 [2022-06-07T22:36:05.230Z] Removing intermediate container 2a5ae874e165 [2022-06-07T22:36:05.230Z] ---> 9df4f3fd71ff [2022-06-07T22:36:05.230Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:36:05.230Z] ---> Running in b7996c4aec4d [2022-06-07T22:36:06.221Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T22:36:06.822Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T22:36:07.808Z] OK: 220 MiB in 52 packages [2022-06-07T22:36:08.419Z] Removing intermediate container b7996c4aec4d [2022-06-07T22:36:08.419Z] ---> cf3544dd2bfa [2022-06-07T22:36:08.419Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:36:08.419Z] ---> Running in 0d1873a0725f [2022-06-07T22:36:09.023Z] Removing intermediate container 0d1873a0725f [2022-06-07T22:36:09.023Z] ---> 8c7fb868c949 [2022-06-07T22:36:09.023Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:36:09.298Z] ---> b960eedf0b0f [2022-06-07T22:36:09.298Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:36:09.575Z] ---> Running in 54fbee4f042d [2022-06-07T22:36:56.635Z] Removing intermediate container 54fbee4f042d [2022-06-07T22:36:56.635Z] ---> 8f0b64c10dab [2022-06-07T22:36:56.635Z] Step 12/13 : COPY . . [2022-06-07T22:36:56.635Z] ---> dd94bb65cd91 [2022-06-07T22:36:56.635Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:36:56.635Z] ---> Running in e8ae18303316 [2022-06-07T22:36:56.635Z] noop [2022-06-07T22:36:56.635Z] Removing intermediate container e8ae18303316 [2022-06-07T22:36:56.635Z] ---> 01b744109747 [2022-06-07T22:36:56.635Z] Successfully built 01b744109747 [2022-06-07T22:36:56.635Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:36:56.996Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:36:56.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:36:57.232Z] prd-ubuntu20.04-docker-arm64-4c-16g-1693 does not seem to be running inside a container [2022-06-07T22:36:57.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:36:58.556Z] $ docker top fe9d61650b115faef002720ed495e1e5f703357f19e7428509549269eeb64652 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:36:59.445Z] + go version [2022-06-07T22:36:59.445Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T22:36:59.474Z] $ docker stop --time=1 fe9d61650b115faef002720ed495e1e5f703357f19e7428509549269eeb64652 [2022-06-07T22:37:01.086Z] $ docker rm -f fe9d61650b115faef002720ed495e1e5f703357f19e7428509549269eeb64652 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:37:01.675Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:37:01.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:37:01.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-1693 does not seem to be running inside a container [2022-06-07T22:37:02.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:37:03.250Z] $ docker top c046fb863c3955d6ff1ec229bdd774c03de193a2218e09b1651925e4df7b34ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:37:04.156Z] + make test [2022-06-07T22:37:04.156Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:37:06.164Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:38:43.101Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T22:38:43.101Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.089s coverage: 1.2% of statements [2022-06-07T22:39:01.592Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 36.324s coverage: 13.8% of statements [2022-06-07T22:39:01.592Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T22:39:01.592Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T22:39:28.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T22:39:28.456Z] ./internal/driver/driver.go [2022-06-07T22:39:28.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T22:39:28.456Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-07T22:39:28.486Z] $ docker stop --time=1 c046fb863c3955d6ff1ec229bdd774c03de193a2218e09b1651925e4df7b34ca [2022-06-07T22:39:30.255Z] $ docker rm -f c046fb863c3955d6ff1ec229bdd774c03de193a2218e09b1651925e4df7b34ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:39:31.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:39:31.358Z] [2022-06-07T22:39:31.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:39:31.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:39:31.998Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T22:39:31.998Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T22:39:31.998Z] 04944245beec: Pulling fs layer [2022-06-07T22:39:31.998Z] 699f458cf7ca: Pulling fs layer [2022-06-07T22:39:31.998Z] 765212b225bb: Pulling fs layer [2022-06-07T22:39:31.998Z] f23df028b6ca: Pulling fs layer [2022-06-07T22:39:31.998Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T22:39:31.998Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T22:39:31.998Z] f23df028b6ca: Waiting [2022-06-07T22:39:31.998Z] 2437ff75d9bd: Waiting [2022-06-07T22:39:31.998Z] d65c8cfc05b1: Waiting [2022-06-07T22:39:31.998Z] 04944245beec: Verifying Checksum [2022-06-07T22:39:31.998Z] 765212b225bb: Verifying Checksum [2022-06-07T22:39:31.998Z] 765212b225bb: Download complete [2022-06-07T22:39:31.998Z] f23df028b6ca: Download complete [2022-06-07T22:39:32.276Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T22:39:32.276Z] d65c8cfc05b1: Download complete [2022-06-07T22:39:32.276Z] 699f458cf7ca: Verifying Checksum [2022-06-07T22:39:32.276Z] 699f458cf7ca: Download complete [2022-06-07T22:39:32.555Z] 8998bd30e6a1: Download complete [2022-06-07T22:39:35.194Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T22:39:35.194Z] 2437ff75d9bd: Download complete [2022-06-07T22:39:37.189Z] 8998bd30e6a1: Pull complete [2022-06-07T22:39:37.467Z] 04944245beec: Pull complete [2022-06-07T22:39:39.461Z] 699f458cf7ca: Pull complete [2022-06-07T22:39:39.462Z] 765212b225bb: Pull complete [2022-06-07T22:39:40.073Z] f23df028b6ca: Pull complete [2022-06-07T22:39:40.349Z] d65c8cfc05b1: Pull complete [2022-06-07T22:39:55.486Z] 2437ff75d9bd: Pull complete [2022-06-07T22:39:55.486Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T22:39:55.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:39:55.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:39:55.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-1693 does not seem to be running inside a container [2022-06-07T22:39:55.858Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T22:39:58.253Z] $ docker top d73056cb29100a8e16b35ea63594386c06571b94170d31e6bcac496c75dba374 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:39:59.153Z] ---> job-cost.sh [2022-06-07T22:39:59.153Z] lf-activate-venv: SKIPPING [2022-06-07T22:39:59.153Z] INFO: No Stack... [2022-06-07T22:39:59.748Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T22:40:00.348Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T22:40:01.017Z] + cut -d, -f6 [2022-06-07T22:40:01.017Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock [2022-06-07T22:40:01.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [2022-06-07T22:40:01.054Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] did not exist. Created. [2022-06-07T22:40:01.054Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T22:40:01.742Z] /w/workspace/device-onvif-camera/6@tmp/durable-747cfe37/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T22:40:02.430Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T22:40:02.449Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T22:40:02.896Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T22:40:02.904Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T22:40:02.929Z] $ docker stop --time=1 d73056cb29100a8e16b35ea63594386c06571b94170d31e6bcac496c75dba374 [2022-06-07T22:40:04.409Z] $ docker rm -f d73056cb29100a8e16b35ea63594386c06571b94170d31e6bcac496c75dba374 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T22:40:04.696Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-07T22:40:05.477Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-07T22:40:05.477Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:40:05.477Z] total 16 [2022-06-07T22:40:05.477Z] drwxr-xr-x 3 root root 4096 Jun 7 22:34 . [2022-06-07T22:40:05.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:34 .. [2022-06-07T22:40:05.477Z] drwxr-xr-x 2 root root 4096 Jun 7 22:34 cost [2022-06-07T22:40:05.477Z] -rw-r--r-- 1 root root 89 Jun 7 22:34 cost.csv [2022-06-07T22:40:05.477Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:40:05.477Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:40:05.477Z] total 16 [2022-06-07T22:40:05.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:34 . [2022-06-07T22:40:05.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:34 .. [2022-06-07T22:40:05.477Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:34 cost [2022-06-07T22:40:05.477Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:05.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:06.641Z] ---> package-listing.sh [2022-06-07T22:40:06.641Z] ++ facter osfamily [2022-06-07T22:40:06.641Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T22:40:06.901Z] + OS_FAMILY=debian [2022-06-07T22:40:06.901Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T22:40:06.901Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T22:40:06.901Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T22:40:06.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T22:40:06.901Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T22:40:06.901Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T22:40:06.901Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T22:40:06.901Z] + case "${OS_FAMILY}" in [2022-06-07T22:40:06.901Z] + dpkg -l [2022-06-07T22:40:06.901Z] + grep '^ii' [2022-06-07T22:40:06.901Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T22:40:06.901Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T22:40:06.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T22:40:06.901Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T22:40:06.901Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-07T22:40:06.901Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-07T22:40:06.916Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T22:40:07.203Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:40:07.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:40:07.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:40:07.650Z] prd-ubuntu20.04-docker-8c-8g-1692 does not seem to be running inside a container [2022-06-07T22:40:07.718Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T22:40:07.955Z] $ docker top 049b869aed916d4c93eeba2284e0f1cb832c3fc598d54f1989f8492f8d2c36dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:40:08.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T22:40:08.632Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T22:40:08.932Z] + ls /var/log/sa-host [2022-06-07T22:40:08.932Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:40:09.017Z] provisioning config files... [2022-06-07T22:40:09.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6920759375646035409tmp [Pipeline] { [Pipeline] echo [2022-06-07T22:40:09.044Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:09.333Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T22:40:09.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:09.718Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T22:40:09.727Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:10.023Z] ---> sudo-logs.sh [2022-06-07T22:40:10.023Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T22:40:10.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:10.358Z] ---> job-cost.sh [2022-06-07T22:40:10.358Z] lf-activate-venv: SKIPPING [2022-06-07T22:40:10.358Z] DEBUG: total: 0.2199999988079071 [2022-06-07T22:40:10.358Z] INFO: Retrieving Stack Cost... [2022-06-07T22:40:10.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T22:40:11.192Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T22:40:11.204Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:40:11.507Z] ---> logs-deploy.sh [2022-06-07T22:40:11.507Z] lf-activate-venv: SKIPPING [2022-06-07T22:40:11.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/6 [2022-06-07T22:40:11.507Z] INFO: archiving workspace using pattern(s): [2022-06-07T22:40:12.471Z] Archives upload complete. [2022-06-07T22:40:12.471Z] INFO: archiving logs to Nexus