Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 466f5d5d50be8d1074affd647d0e035a386a80a8+3bc4a4f14c266509a03f6bfa054e7774f1ea3255 (9864c9e5143d8730ba0ef0e83951e7320f5e351c) 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-ssh10307675764198961467.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-ssh17664161901392239017.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-77/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-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7089198320452486262.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-ssh14582742781913119197.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-77/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-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16039915331368177637.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16332 in /w/workspace/oundry_device-onvif-camera_PR-77 [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-77 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 into PR head commit 466f5d5d50be8d1074affd647d0e035a386a80a8 Merge succeeded, producing fa716aeec707e8eeb836ca722d802d7933cc3508 Checking out Revision fa716aeec707e8eeb836ca722d802d7933cc3508 (PR-77) > git config core.sparsecheckout # timeout=10 > git checkout -f 466f5d5d50be8d1074affd647d0e035a386a80a8 # 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 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa716aeec707e8eeb836ca722d802d7933cc3508 # timeout=10 Commit message: "Merge commit '3bc4a4f14c266509a03f6bfa054e7774f1ea3255' into HEAD" > git rev-list --no-walk 466f5d5d50be8d1074affd647d0e035a386a80a8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T10:10:21.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T10:10:21.622Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T10:10:21.635Z] ========================================================= [2022-06-29T10:10:21.635Z] EdgeX Global Pipelines Version Info [2022-06-29T10:10:21.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:10:22.432Z] ------------------- [2022-06-29T10:10:22.432Z] stable info: [2022-06-29T10:10:22.432Z] ------------------- [2022-06-29T10:10:22.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T10:10:22.432Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T10:10:22.432Z] Message: update stable to v1.0.234 [2022-06-29T10:10:23.004Z] ------------------- [2022-06-29T10:10:23.004Z] experimental info: [2022-06-29T10:10:23.004Z] ------------------- [2022-06-29T10:10:23.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T10:10:23.004Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T10:10:23.004Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T10:10:23.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-29T10:10:23.240Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-29T10:10:23.251Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T10:10:23.263Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T10:10:23.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T10:10:23.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T10:10:23.300Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T10:10:23.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T10:10:23.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T10:10:23.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T10:10:23.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T10:10:23.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-29T10:10:23.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T10:10:23.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T10:10:23.387Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T10:10:23.395Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T10:10:23.403Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T10:10:23.411Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T10:10:23.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T10:10:23.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T10:10:23.434Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T10:10:23.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T10:10:23.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T10:10:23.458Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T10:10:23.466Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T10:10:23.474Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T10:10:23.482Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T10:10:23.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2022-06-29T10:10:23.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2022-06-29T10:10:23.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2022-06-29T10:10:23.514Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo [2022-06-29T10:10:23.521Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa716ae [Pipeline] echo [2022-06-29T10:10:23.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T10:10:23.562Z] provisioning config files... [2022-06-29T10:10:23.575Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config7374184652887505060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:10:23.883Z] ---> docker-login.sh [2022-06-29T10:10:23.883Z] nexus3.edgexfoundry.org:10001 [2022-06-29T10:10:24.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:24.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:24.145Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:24.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:24.145Z] [2022-06-29T10:10:24.145Z] Login Succeeded [2022-06-29T10:10:24.145Z] nexus3.edgexfoundry.org:10002 [2022-06-29T10:10:24.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:24.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:24.407Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:24.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:24.407Z] [2022-06-29T10:10:24.407Z] Login Succeeded [2022-06-29T10:10:24.407Z] nexus3.edgexfoundry.org:10003 [2022-06-29T10:10:24.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:24.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:24.407Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:24.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:24.408Z] [2022-06-29T10:10:24.408Z] Login Succeeded [2022-06-29T10:10:24.408Z] nexus3.edgexfoundry.org:10004 [2022-06-29T10:10:24.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:24.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:24.670Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:24.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:24.670Z] [2022-06-29T10:10:24.670Z] Login Succeeded [2022-06-29T10:10:24.670Z] docker.io [2022-06-29T10:10:24.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:24.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:24.930Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:24.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:24.930Z] [2022-06-29T10:10:24.930Z] Login Succeeded [2022-06-29T10:10:24.930Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T10:10:24.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T10:10:25.332Z] + git rev-list -1 --merges fa716aeec707e8eeb836ca722d802d7933cc3508~1..fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo [2022-06-29T10:10:25.360Z] -----------> git rev-list -1 --merges fa716aeec707e8eeb836ca722d802d7933cc3508~1..fa716aeec707e8eeb836ca722d802d7933cc3508 fa716aeec707e8eeb836ca722d802d7933cc3508 [2022-06-29T10:10:25.360Z] fa716aeec707e8eeb836ca722d802d7933cc3508 [false] [Pipeline] sh [2022-06-29T10:10:25.647Z] + git log --format=format:%s -1 fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo [2022-06-29T10:10:25.663Z] ========================================================= [2022-06-29T10:10:25.663Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T10:10:25.663Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T10:10:26.004Z] + git log --format=format:%s -1 fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo [2022-06-29T10:10:26.017Z] [semverPrep] GIT_COMMIT: fa716aeec707e8eeb836ca722d802d7933cc3508, Commit Message: Merge commit '3bc4a4f14c266509a03f6bfa054e7774f1ea3255' into HEAD [Pipeline] echo [2022-06-29T10:10:26.025Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T10:10:26.388Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T10:10:26.388Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T10:10:26.388Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T10:10:26.388Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T10:10:26.388Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-06-29T10:10:26.388Z] tee -a /etc/ssh/ssh_known_hosts [2022-06-29T10:10:26.388Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:10:26.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T10:10:26.809Z] [2022-06-29T10:10:26.809Z] 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-29T10:10:27.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T10:10:27.114Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T10:10:27.114Z] 42c077c10790: Pulling fs layer [2022-06-29T10:10:27.114Z] f63e77b7563a: Pulling fs layer [2022-06-29T10:10:27.114Z] bd5fdadae976: Pulling fs layer [2022-06-29T10:10:27.114Z] 205491f53016: Pulling fs layer [2022-06-29T10:10:27.114Z] df18705c85c3: Pulling fs layer [2022-06-29T10:10:27.114Z] bdb3f477010e: Pulling fs layer [2022-06-29T10:10:27.114Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T10:10:27.114Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T10:10:27.114Z] bdb8f0575790: Pulling fs layer [2022-06-29T10:10:27.114Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T10:10:27.114Z] 2343380bae48: Pulling fs layer [2022-06-29T10:10:27.114Z] bdb3f477010e: Waiting [2022-06-29T10:10:27.114Z] 2c6e9b1d212d: Waiting [2022-06-29T10:10:27.114Z] 205491f53016: Waiting [2022-06-29T10:10:27.114Z] bdb8f0575790: Waiting [2022-06-29T10:10:27.114Z] c8a8fc8e1c8f: Waiting [2022-06-29T10:10:27.114Z] 386e3cb2ff24: Waiting [2022-06-29T10:10:27.114Z] df18705c85c3: Waiting [2022-06-29T10:10:27.114Z] 2343380bae48: Waiting [2022-06-29T10:10:27.114Z] f63e77b7563a: Verifying Checksum [2022-06-29T10:10:27.114Z] f63e77b7563a: Download complete [2022-06-29T10:10:27.114Z] 205491f53016: Verifying Checksum [2022-06-29T10:10:27.114Z] 205491f53016: Download complete [2022-06-29T10:10:27.379Z] df18705c85c3: Verifying Checksum [2022-06-29T10:10:27.379Z] df18705c85c3: Download complete [2022-06-29T10:10:27.379Z] bd5fdadae976: Verifying Checksum [2022-06-29T10:10:27.379Z] bd5fdadae976: Download complete [2022-06-29T10:10:27.379Z] bdb3f477010e: Download complete [2022-06-29T10:10:27.379Z] 2c6e9b1d212d: Download complete [2022-06-29T10:10:27.379Z] bdb8f0575790: Download complete [2022-06-29T10:10:27.379Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T10:10:27.379Z] 386e3cb2ff24: Download complete [2022-06-29T10:10:27.379Z] 2343380bae48: Download complete [2022-06-29T10:10:27.379Z] 42c077c10790: Verifying Checksum [2022-06-29T10:10:27.379Z] 42c077c10790: Download complete [2022-06-29T10:10:27.639Z] c8a8fc8e1c8f: Download complete [2022-06-29T10:10:28.579Z] 42c077c10790: Pull complete [2022-06-29T10:10:28.579Z] f63e77b7563a: Pull complete [2022-06-29T10:10:29.147Z] bd5fdadae976: Pull complete [2022-06-29T10:10:29.147Z] 205491f53016: Pull complete [2022-06-29T10:10:29.408Z] df18705c85c3: Pull complete [2022-06-29T10:10:29.408Z] bdb3f477010e: Pull complete [2022-06-29T10:10:31.314Z] c8a8fc8e1c8f: Pull complete [2022-06-29T10:10:31.314Z] 2c6e9b1d212d: Pull complete [2022-06-29T10:10:31.574Z] bdb8f0575790: Pull complete [2022-06-29T10:10:31.574Z] 386e3cb2ff24: Pull complete [2022-06-29T10:10:31.574Z] 2343380bae48: Pull complete [2022-06-29T10:10:31.574Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T10:10:31.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T10:10:31.574Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:10:31.674Z] prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container [2022-06-29T10:10:31.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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-29T10:10:33.147Z] $ docker top 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 -eo pid,comm [2022-06-29T10:10:33.217Z] 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-29T10:10:33.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T10:10:33.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T10:10:33.251Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T10:10:33.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T10:10:33.381Z] $ docker exec 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent [2022-06-29T10:10:33.499Z] SSH_AUTH_SOCK=/tmp/ssh-N5B5xVhUchHb/agent.33 [2022-06-29T10:10:33.499Z] SSH_AGENT_PID=40 [2022-06-29T10:10:33.506Z] Running ssh-add (command line suppressed) [2022-06-29T10:10:33.620Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_2413606296404722659.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_2413606296404722659.key) [2022-06-29T10:10:33.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T10:10:33.920Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T10:10:33.945Z] $ docker exec --env ******** --env ******** 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent -k [2022-06-29T10:10:34.055Z] unset SSH_AUTH_SOCK; [2022-06-29T10:10:34.056Z] unset SSH_AGENT_PID; [2022-06-29T10:10:34.056Z] echo Agent pid 40 killed; [2022-06-29T10:10:34.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T10:10:34.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T10:10:34.085Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T10:10:34.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T10:10:34.225Z] $ docker exec 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent [2022-06-29T10:10:34.355Z] SSH_AUTH_SOCK=/tmp/ssh-nG3X2U45RCCM/agent.75 [2022-06-29T10:10:34.355Z] SSH_AGENT_PID=82 [2022-06-29T10:10:34.360Z] Running ssh-add (command line suppressed) [2022-06-29T10:10:34.490Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_666802063991257875.key (/w/workspace/oundry_device-onvif-camera_PR-77@tmp/private_key_666802063991257875.key) [2022-06-29T10:10:34.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T10:10:34.794Z] + git semver init [2022-06-29T10:10:35.055Z] 2022-06-29 10:10:34,989 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T10:10:35.055Z] 2022-06-29 10:10:34,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-29T10:10:35.055Z] 2022-06-29 10:10:34,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-77/.semver [2022-06-29T10:10:35.055Z] 2022-06-29 10:10:34,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-77/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77, universal_newlines=False, shell=None, istream=None) [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,669 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-77/.git/info/exclude [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 with force:False [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,670 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,674 [execute] INFO git cat-file --batch-check [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,681 [execute] INFO git cat-file --batch [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T10:10:36.001Z] 2022-06-29 10:10:35,686 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 [2022-06-29T10:10:36.001Z] 0.0.0 [Pipeline] } [2022-06-29T10:10:36.018Z] $ docker exec --env ******** --env ******** 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent -k [2022-06-29T10:10:36.128Z] unset SSH_AUTH_SOCK; [2022-06-29T10:10:36.128Z] unset SSH_AGENT_PID; [2022-06-29T10:10:36.129Z] echo Agent pid 82 killed; [2022-06-29T10:10:36.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T10:10:36.452Z] + git semver [Pipeline] } [2022-06-29T10:10:36.731Z] $ docker stop --time=1 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 [2022-06-29T10:10:38.091Z] $ docker rm -f 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T10:10:38.443Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T10:10:38.685Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T10:10:38.688Z] [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-29T10:10:38.833Z] provisioning config files... [2022-06-29T10:10:38.843Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config7895983453096484409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:10:39.140Z] ---> docker-login.sh [2022-06-29T10:10:39.140Z] nexus3.edgexfoundry.org:10001 [2022-06-29T10:10:39.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:39.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:39.140Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:39.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:39.140Z] [2022-06-29T10:10:39.140Z] Login Succeeded [2022-06-29T10:10:39.140Z] nexus3.edgexfoundry.org:10002 [2022-06-29T10:10:39.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:39.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:39.399Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:39.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:39.399Z] [2022-06-29T10:10:39.399Z] Login Succeeded [2022-06-29T10:10:39.399Z] nexus3.edgexfoundry.org:10003 [2022-06-29T10:10:39.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:39.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:39.400Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:39.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:39.400Z] [2022-06-29T10:10:39.400Z] Login Succeeded [2022-06-29T10:10:39.400Z] nexus3.edgexfoundry.org:10004 [2022-06-29T10:10:39.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:39.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:39.659Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:39.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:39.659Z] [2022-06-29T10:10:39.659Z] Login Succeeded [2022-06-29T10:10:39.659Z] docker.io [2022-06-29T10:10:39.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:10:39.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:10:39.920Z] Configure a credential helper to remove this warning. See [2022-06-29T10:10:39.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:10:39.920Z] [2022-06-29T10:10:39.920Z] Login Succeeded [2022-06-29T10:10:39.920Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T10:10:39.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T10:10:39.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T10:10:40.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T10:10:40.021Z] ========================================================= [2022-06-29T10:10:40.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T10:10:40.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:10:40.337Z] + 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-29T10:10:40.337Z] Sending build context to Docker daemon 9.33MB [2022-06-29T10:10:40.337Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T10:10:40.337Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T10:10:40.337Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T10:10:40.337Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T10:10:40.337Z] 666ba61612fd: Pulling fs layer [2022-06-29T10:10:40.337Z] 8ed8ca486205: Pulling fs layer [2022-06-29T10:10:40.337Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T10:10:40.337Z] c516ae0d96e1: Pulling fs layer [2022-06-29T10:10:40.337Z] 684cea983483: Pulling fs layer [2022-06-29T10:10:40.337Z] dd3240ac7de5: Pulling fs layer [2022-06-29T10:10:40.337Z] b1e948a4e11c: Pulling fs layer [2022-06-29T10:10:40.337Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T10:10:40.337Z] 646ad004c059: Pulling fs layer [2022-06-29T10:10:40.337Z] cc1cd167ecdc: Waiting [2022-06-29T10:10:40.337Z] c516ae0d96e1: Waiting [2022-06-29T10:10:40.337Z] dd3240ac7de5: Waiting [2022-06-29T10:10:40.337Z] 684cea983483: Waiting [2022-06-29T10:10:40.337Z] b1e948a4e11c: Waiting [2022-06-29T10:10:40.337Z] a8fd76ee1af6: Waiting [2022-06-29T10:10:40.337Z] 646ad004c059: Waiting [2022-06-29T10:10:40.337Z] 8ed8ca486205: Verifying Checksum [2022-06-29T10:10:40.337Z] 8ed8ca486205: Download complete [2022-06-29T10:10:40.337Z] 666ba61612fd: Download complete [2022-06-29T10:10:40.337Z] c516ae0d96e1: Verifying Checksum [2022-06-29T10:10:40.337Z] c516ae0d96e1: Download complete [2022-06-29T10:10:40.596Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T10:10:40.596Z] 59bf1c3509f3: Download complete [2022-06-29T10:10:40.596Z] 684cea983483: Verifying Checksum [2022-06-29T10:10:40.596Z] 684cea983483: Download complete [2022-06-29T10:10:40.596Z] dd3240ac7de5: Verifying Checksum [2022-06-29T10:10:40.596Z] dd3240ac7de5: Download complete [2022-06-29T10:10:40.596Z] b1e948a4e11c: Verifying Checksum [2022-06-29T10:10:40.596Z] b1e948a4e11c: Download complete [2022-06-29T10:10:40.596Z] 59bf1c3509f3: Pull complete [2022-06-29T10:10:40.856Z] 666ba61612fd: Pull complete [2022-06-29T10:10:40.856Z] 8ed8ca486205: Pull complete [2022-06-29T10:10:40.856Z] 646ad004c059: Verifying Checksum [2022-06-29T10:10:40.856Z] 646ad004c059: Download complete [2022-06-29T10:10:41.114Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T10:10:41.114Z] a8fd76ee1af6: Download complete [2022-06-29T10:10:41.114Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T10:10:41.114Z] cc1cd167ecdc: Download complete [2022-06-29T10:10:45.313Z] cc1cd167ecdc: Pull complete [2022-06-29T10:10:45.313Z] c516ae0d96e1: Pull complete [2022-06-29T10:10:45.313Z] 684cea983483: Pull complete [2022-06-29T10:10:45.313Z] dd3240ac7de5: Pull complete [2022-06-29T10:10:45.313Z] b1e948a4e11c: Pull complete [2022-06-29T10:10:46.691Z] a8fd76ee1af6: Pull complete [2022-06-29T10:10:47.636Z] 646ad004c059: Pull complete [2022-06-29T10:10:47.636Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T10:10:47.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T10:10:47.636Z] ---> 8f69c11f6b0c [2022-06-29T10:10:47.636Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T10:10:49.544Z] ---> Running in a175854e5532 [2022-06-29T10:10:49.544Z] Removing intermediate container a175854e5532 [2022-06-29T10:10:49.544Z] ---> f5b6f87e582e [2022-06-29T10:10:49.544Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T10:10:49.544Z] ---> Running in 3c0a3a745f58 [2022-06-29T10:10:49.544Z] Removing intermediate container 3c0a3a745f58 [2022-06-29T10:10:49.544Z] ---> 6444adf2ea73 [2022-06-29T10:10:49.544Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T10:10:49.544Z] ---> Running in 8e130bd34252 [2022-06-29T10:10:49.544Z] Removing intermediate container 8e130bd34252 [2022-06-29T10:10:49.544Z] ---> 9ea500de9b7f [2022-06-29T10:10:49.544Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T10:10:49.544Z] ---> Running in 823224a35455 [2022-06-29T10:10:49.544Z] Removing intermediate container 823224a35455 [2022-06-29T10:10:49.544Z] ---> 1346f1d7fc28 [2022-06-29T10:10:49.544Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T10:10:49.544Z] ---> Running in d03a50011bee [2022-06-29T10:10:50.114Z] Removing intermediate container d03a50011bee [2022-06-29T10:10:50.114Z] ---> ab08df1200ee [2022-06-29T10:10:50.114Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T10:10:50.372Z] ---> Running in 57b6aaf3d89b [2022-06-29T10:10:50.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T10:10:51.570Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T10:10:51.829Z] OK: 221 MiB in 52 packages [2022-06-29T10:10:52.088Z] Removing intermediate container 57b6aaf3d89b [2022-06-29T10:10:52.088Z] ---> 224200d1f259 [2022-06-29T10:10:52.088Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T10:10:52.088Z] ---> Running in f4405a1ef7b5 [2022-06-29T10:10:52.088Z] Removing intermediate container f4405a1ef7b5 [2022-06-29T10:10:52.088Z] ---> dd8dfa78a79f [2022-06-29T10:10:52.088Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T10:10:52.347Z] ---> 3884d4fdda4e [2022-06-29T10:10:52.347Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T10:10:52.347Z] ---> Running in ea277815f9fa [2022-06-29T10:10:53.798Z] Still waiting to schedule task [2022-06-29T10:10:53.798Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T10:11:48.617Z] Removing intermediate container ea277815f9fa [2022-06-29T10:11:48.618Z] ---> e36a32cc2f7a [2022-06-29T10:11:48.618Z] Step 12/13 : COPY . . [2022-06-29T10:11:48.618Z] ---> b9516866b22e [2022-06-29T10:11:48.618Z] Step 13/13 : RUN ${MAKE} [2022-06-29T10:11:48.618Z] ---> Running in a68256aea1d3 [2022-06-29T10:11:48.618Z] noop [2022-06-29T10:11:48.618Z] Removing intermediate container a68256aea1d3 [2022-06-29T10:11:48.618Z] ---> cc94432d0037 [2022-06-29T10:11:48.618Z] Successfully built cc94432d0037 [2022-06-29T10:11:48.618Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:11:48.944Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T10:11:48.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:11:49.028Z] prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container [2022-06-29T10:11:49.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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-29T10:11:49.426Z] $ docker top 7e59bb3bf3fc944141ba81909179de6d1c061848b690931853f08a1ce4e06316 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T10:11:49.789Z] + go version [2022-06-29T10:11:49.789Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T10:11:49.805Z] $ docker stop --time=1 7e59bb3bf3fc944141ba81909179de6d1c061848b690931853f08a1ce4e06316 [2022-06-29T10:11:51.121Z] $ docker rm -f 7e59bb3bf3fc944141ba81909179de6d1c061848b690931853f08a1ce4e06316 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:11:51.526Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T10:11:51.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:11:51.651Z] prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container [2022-06-29T10:11:51.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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-29T10:11:52.122Z] $ docker top e12195795c4af25824ec568d505fee46f8dcad23884877425cafded87fc36368 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T10:11:52.490Z] + make test [2022-06-29T10:11:52.490Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T10:11:52.490Z] go: updates to go.mod needed; to update it: [2022-06-29T10:11:52.490Z] go mod tidy [2022-06-29T10:11:52.490Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-29T10:11:52.507Z] $ docker stop --time=1 e12195795c4af25824ec568d505fee46f8dcad23884877425cafded87fc36368 [2022-06-29T10:11:53.820Z] $ docker rm -f e12195795c4af25824ec568d505fee46f8dcad23884877425cafded87fc36368 [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-29T10:11:54.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T10:11:54.307Z] [2022-06-29T10:11:54.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:11:54.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T10:11:54.607Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T10:11:54.607Z] 5eb5b503b376: Pulling fs layer [2022-06-29T10:11:54.607Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T10:11:54.607Z] ec43610c2a17: Pulling fs layer [2022-06-29T10:11:54.607Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T10:11:54.607Z] 33b1e0a273af: Pulling fs layer [2022-06-29T10:11:54.607Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T10:11:54.607Z] 2f39f015ded8: Pulling fs layer [2022-06-29T10:11:54.607Z] 33b1e0a273af: Waiting [2022-06-29T10:11:54.607Z] 5d3b04190fa2: Waiting [2022-06-29T10:11:54.607Z] 2f39f015ded8: Waiting [2022-06-29T10:11:54.607Z] 3a2ae6a8a46f: Waiting [2022-06-29T10:11:54.607Z] 5c69ac0246d0: Download complete [2022-06-29T10:11:54.607Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T10:11:54.607Z] 3a2ae6a8a46f: Download complete [2022-06-29T10:11:54.607Z] 33b1e0a273af: Verifying Checksum [2022-06-29T10:11:54.607Z] 33b1e0a273af: Download complete [2022-06-29T10:11:54.867Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T10:11:54.867Z] 5d3b04190fa2: Download complete [2022-06-29T10:11:54.867Z] ec43610c2a17: Verifying Checksum [2022-06-29T10:11:54.867Z] ec43610c2a17: Download complete [2022-06-29T10:11:54.867Z] 5eb5b503b376: Verifying Checksum [2022-06-29T10:11:54.867Z] 5eb5b503b376: Download complete [2022-06-29T10:11:56.245Z] 5eb5b503b376: Pull complete [2022-06-29T10:11:56.245Z] 5c69ac0246d0: Pull complete [2022-06-29T10:11:56.505Z] ec43610c2a17: Pull complete [2022-06-29T10:11:56.505Z] 3a2ae6a8a46f: Pull complete [2022-06-29T10:11:56.766Z] 33b1e0a273af: Pull complete [2022-06-29T10:11:57.026Z] 5d3b04190fa2: Pull complete [2022-06-29T10:12:01.222Z] 2f39f015ded8: Pull complete [2022-06-29T10:12:01.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T10:12:01.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T10:12:01.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:12:01.314Z] prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container [2022-06-29T10:12:01.352Z] $ 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-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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-29T10:12:03.086Z] $ docker top 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:12:03.490Z] ---> job-cost.sh [2022-06-29T10:12:03.490Z] lf-activate-venv: SKIPPING [2022-06-29T10:12:03.490Z] INFO: No Stack... [2022-06-29T10:12:03.750Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T10:12:04.322Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T10:12:04.617Z] + cat /w/workspace/oundry_device-onvif-camera_PR-77/archives/cost.csv [2022-06-29T10:12:04.617Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T10:12:04.632Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [2022-06-29T10:12:04.637Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] did not exist. Created. [2022-06-29T10:12:04.638Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T10:12:04.943Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T10:12:04.968Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T10:12:04.977Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T10:12:05.000Z] $ docker stop --time=1 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b [2022-06-29T10:12:06.171Z] $ docker rm -f 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T10:12:06.298Z] Failed in branch amd64 [2022-06-29T10:12:31.491Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16333 in /w/workspace/oundry_device-onvif-camera_PR-77 [Pipeline] { [Pipeline] ws [2022-06-29T10:12:31.503Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-06-29T10:12:31.541Z] Selected Git installation does not exist. Using Default [2022-06-29T10:12:31.541Z] The recommended git tool is: NONE [2022-06-29T10:12:37.364Z] using credential edgex-jenkins-ssh [2022-06-29T10:12:37.382Z] Cloning the remote Git repository [2022-06-29T10:12:37.459Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T10:12:37.536Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-06-29T10:12:37.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T10:12:37.602Z] > git --version # timeout=10 [2022-06-29T10:12:37.623Z] > git --version # 'git version 2.25.1' [2022-06-29T10:12:37.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T10:12:37.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T10:12:38.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-29T10:12:38.490Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T10:12:38.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-29T10:12:38.614Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-29T10:12:38.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T10:12:38.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T10:12:39.099Z] Merging remotes/origin/main commit 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 into PR head commit 466f5d5d50be8d1074affd647d0e035a386a80a8 [2022-06-29T10:12:39.546Z] Merge succeeded, producing ef523cfbe69e7da355f80434ab8b6346c8038d53 [2022-06-29T10:12:39.546Z] Checking out Revision ef523cfbe69e7da355f80434ab8b6346c8038d53 (PR-77) [2022-06-29T10:12:39.123Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T10:12:39.151Z] > git checkout -f 466f5d5d50be8d1074affd647d0e035a386a80a8 # timeout=10 [2022-06-29T10:12:39.294Z] > git remote # timeout=10 [2022-06-29T10:12:39.309Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T10:12:39.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T10:12:39.336Z] > git merge 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 # timeout=10 [2022-06-29T10:12:39.532Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T10:12:39.554Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T10:12:39.591Z] > git checkout -f ef523cfbe69e7da355f80434ab8b6346c8038d53 # timeout=10 [2022-06-29T10:12:43.798Z] Commit message: "Merge commit '3bc4a4f14c266509a03f6bfa054e7774f1ea3255' into HEAD" [2022-06-29T10:12:43.807Z] > git rev-list --no-walk 466f5d5d50be8d1074affd647d0e035a386a80a8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T10:12:44.786Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T10:12:44.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T10:12:44.786Z] Dload Upload Total Spent Left Speed [2022-06-29T10:12:44.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-06-29T10:12:45.610Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T10:12:45.952Z] + sudo tee /etc/docker/daemon.new [2022-06-29T10:12:45.952Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T10:12:45.952Z] { [2022-06-29T10:12:45.952Z] "registry-mirrors": [ [2022-06-29T10:12:45.952Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T10:12:45.952Z] ], [2022-06-29T10:12:45.952Z] "bip": "10.250.0.254/24", [2022-06-29T10:12:45.952Z] "hosts": [ [2022-06-29T10:12:45.952Z] "tcp://0.0.0.0:5555", [2022-06-29T10:12:45.952Z] "unix:///var/run/docker.sock" [2022-06-29T10:12:45.952Z] ], [2022-06-29T10:12:45.952Z] "mtu": 1458, [2022-06-29T10:12:45.952Z] "selinux-enabled": true, [2022-06-29T10:12:45.952Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T10:12:45.952Z] } [Pipeline] sh [2022-06-29T10:12:46.296Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T10:12:46.635Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T10:13:05.151Z] provisioning config files... [2022-06-29T10:13:05.172Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config4901647511502586312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:13:05.530Z] ---> docker-login.sh [2022-06-29T10:13:05.530Z] nexus3.edgexfoundry.org:10001 [2022-06-29T10:13:06.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:13:06.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:13:06.401Z] Configure a credential helper to remove this warning. See [2022-06-29T10:13:06.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:13:06.401Z] [2022-06-29T10:13:06.401Z] Login Succeeded [2022-06-29T10:13:06.401Z] nexus3.edgexfoundry.org:10002 [2022-06-29T10:13:06.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:13:06.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:13:06.676Z] Configure a credential helper to remove this warning. See [2022-06-29T10:13:06.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:13:06.676Z] [2022-06-29T10:13:06.676Z] Login Succeeded [2022-06-29T10:13:06.676Z] nexus3.edgexfoundry.org:10003 [2022-06-29T10:13:07.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:13:07.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:13:07.276Z] Configure a credential helper to remove this warning. See [2022-06-29T10:13:07.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:13:07.276Z] [2022-06-29T10:13:07.276Z] Login Succeeded [2022-06-29T10:13:07.276Z] nexus3.edgexfoundry.org:10004 [2022-06-29T10:13:07.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:13:07.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:13:07.826Z] Configure a credential helper to remove this warning. See [2022-06-29T10:13:07.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:13:07.826Z] [2022-06-29T10:13:07.826Z] Login Succeeded [2022-06-29T10:13:07.826Z] docker.io [2022-06-29T10:13:08.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T10:13:08.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T10:13:08.370Z] Configure a credential helper to remove this warning. See [2022-06-29T10:13:08.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T10:13:08.371Z] [2022-06-29T10:13:08.371Z] Login Succeeded [2022-06-29T10:13:08.371Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T10:13:08.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T10:13:08.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T10:13:08.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T10:13:08.654Z] ========================================================= [2022-06-29T10:13:08.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T10:13:08.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:13:09.019Z] + 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-29T10:13:09.305Z] Sending build context to Docker daemon 6.424MB [2022-06-29T10:13:09.305Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T10:13:09.305Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-29T10:13:09.581Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T10:13:09.581Z] 9b3977197b4f: Pulling fs layer [2022-06-29T10:13:09.581Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T10:13:09.581Z] 94645a83ff95: Pulling fs layer [2022-06-29T10:13:09.581Z] e6fb740bc735: Pulling fs layer [2022-06-29T10:13:09.581Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T10:13:09.581Z] 355e64cbe906: Pulling fs layer [2022-06-29T10:13:09.581Z] 63ab81a10011: Pulling fs layer [2022-06-29T10:13:09.581Z] 555d1d1c4555: Pulling fs layer [2022-06-29T10:13:09.581Z] 7d9057610161: Pulling fs layer [2022-06-29T10:13:09.581Z] e6fb740bc735: Waiting [2022-06-29T10:13:09.581Z] 63ab81a10011: Waiting [2022-06-29T10:13:09.581Z] 3a77bd46dcc9: Waiting [2022-06-29T10:13:09.581Z] 555d1d1c4555: Waiting [2022-06-29T10:13:09.581Z] 355e64cbe906: Waiting [2022-06-29T10:13:09.581Z] 7d9057610161: Waiting [2022-06-29T10:13:09.581Z] 94645a83ff95: Download complete [2022-06-29T10:13:09.581Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T10:13:09.581Z] 1a89e8eeedd5: Download complete [2022-06-29T10:13:09.581Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T10:13:09.581Z] 3a77bd46dcc9: Download complete [2022-06-29T10:13:09.581Z] 355e64cbe906: Verifying Checksum [2022-06-29T10:13:09.581Z] 355e64cbe906: Download complete [2022-06-29T10:13:09.581Z] 9b3977197b4f: Verifying Checksum [2022-06-29T10:13:09.581Z] 9b3977197b4f: Download complete [2022-06-29T10:13:09.581Z] 63ab81a10011: Verifying Checksum [2022-06-29T10:13:09.581Z] 63ab81a10011: Download complete [2022-06-29T10:13:10.581Z] 7d9057610161: Verifying Checksum [2022-06-29T10:13:10.581Z] 7d9057610161: Download complete [2022-06-29T10:13:10.581Z] 9b3977197b4f: Pull complete [2022-06-29T10:13:11.184Z] 1a89e8eeedd5: Pull complete [2022-06-29T10:13:11.792Z] 94645a83ff95: Pull complete [2022-06-29T10:13:11.792Z] 555d1d1c4555: Verifying Checksum [2022-06-29T10:13:12.404Z] e6fb740bc735: Verifying Checksum [2022-06-29T10:13:12.404Z] e6fb740bc735: Download complete [2022-06-29T10:13:24.807Z] e6fb740bc735: Pull complete [2022-06-29T10:13:24.807Z] 3a77bd46dcc9: Pull complete [2022-06-29T10:13:24.807Z] 355e64cbe906: Pull complete [2022-06-29T10:13:24.807Z] 63ab81a10011: Pull complete [2022-06-29T10:13:31.540Z] 555d1d1c4555: Pull complete [2022-06-29T10:13:33.535Z] 7d9057610161: Pull complete [2022-06-29T10:13:33.536Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T10:13:33.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T10:13:33.536Z] ---> 819e984ddca1 [2022-06-29T10:13:33.536Z] Step 3/13 : ARG MAKE="make build" [2022-06-29T10:13:34.987Z] ---> Running in ccfaa1835ddf [2022-06-29T10:13:35.260Z] Removing intermediate container ccfaa1835ddf [2022-06-29T10:13:35.260Z] ---> 979770ceeb7b [2022-06-29T10:13:35.260Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T10:13:35.260Z] ---> Running in 95db315ed341 [2022-06-29T10:13:35.544Z] Removing intermediate container 95db315ed341 [2022-06-29T10:13:35.544Z] ---> 61548dd33dce [2022-06-29T10:13:35.544Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T10:13:35.544Z] ---> Running in 377ce281a859 [2022-06-29T10:13:36.140Z] Removing intermediate container 377ce281a859 [2022-06-29T10:13:36.140Z] ---> 7e1ddb0115a4 [2022-06-29T10:13:36.140Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-29T10:13:36.140Z] ---> Running in 8a7eaf90ddf8 [2022-06-29T10:13:36.425Z] Removing intermediate container 8a7eaf90ddf8 [2022-06-29T10:13:36.425Z] ---> 3f3916f3d097 [2022-06-29T10:13:36.425Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T10:13:36.425Z] ---> Running in b3d0e958812a [2022-06-29T10:13:39.060Z] Removing intermediate container b3d0e958812a [2022-06-29T10:13:39.060Z] ---> 1654f3858c6c [2022-06-29T10:13:39.060Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T10:13:39.060Z] ---> Running in 2b5a32d5e1e2 [2022-06-29T10:13:40.041Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T10:13:40.637Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T10:13:41.625Z] OK: 220 MiB in 52 packages [2022-06-29T10:13:42.230Z] Removing intermediate container 2b5a32d5e1e2 [2022-06-29T10:13:42.230Z] ---> e1546c6a9e6d [2022-06-29T10:13:42.230Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-29T10:13:42.504Z] ---> Running in 4c650a68837b [2022-06-29T10:13:42.775Z] Removing intermediate container 4c650a68837b [2022-06-29T10:13:42.775Z] ---> efe21cfcc0ad [2022-06-29T10:13:42.775Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-29T10:13:43.370Z] ---> c3f6ff88c78b [2022-06-29T10:13:43.370Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T10:13:43.370Z] ---> Running in 1b59df646500 [2022-06-29T10:14:30.377Z] Removing intermediate container 1b59df646500 [2022-06-29T10:14:30.377Z] ---> 7ea01687afc3 [2022-06-29T10:14:30.377Z] Step 12/13 : COPY . . [2022-06-29T10:14:30.377Z] ---> 5d8bde09df5b [2022-06-29T10:14:30.377Z] Step 13/13 : RUN ${MAKE} [2022-06-29T10:14:30.377Z] ---> Running in e1e58e4db8b3 [2022-06-29T10:14:30.656Z] noop [2022-06-29T10:14:31.257Z] Removing intermediate container e1e58e4db8b3 [2022-06-29T10:14:31.257Z] ---> f8e0b609ef61 [2022-06-29T10:14:31.257Z] Successfully built f8e0b609ef61 [2022-06-29T10:14:31.257Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:14:31.634Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T10:14:31.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:14:31.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container [2022-06-29T10:14:31.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T10:14:33.229Z] $ docker top b04bc86857b43326097b248ca7e7daeb03d2a1b064ca8ef63713d922e6ce3553 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T10:14:34.141Z] + go version [2022-06-29T10:14:34.141Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T10:14:34.172Z] $ docker stop --time=1 b04bc86857b43326097b248ca7e7daeb03d2a1b064ca8ef63713d922e6ce3553 [2022-06-29T10:14:35.830Z] $ docker rm -f b04bc86857b43326097b248ca7e7daeb03d2a1b064ca8ef63713d922e6ce3553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:14:36.413Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T10:14:36.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:14:36.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container [2022-06-29T10:14:36.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T10:14:38.010Z] $ docker top 9b0b2fe5182b3ae85f9200874b87993a16bb6e3053fc2bd9114bc705271de074 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T10:14:38.929Z] + make test [2022-06-29T10:14:38.929Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T10:14:39.530Z] go: updates to go.mod needed; to update it: [2022-06-29T10:14:39.530Z] go mod tidy [2022-06-29T10:14:39.530Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-29T10:14:39.555Z] $ docker stop --time=1 9b0b2fe5182b3ae85f9200874b87993a16bb6e3053fc2bd9114bc705271de074 [2022-06-29T10:14:41.264Z] $ docker rm -f 9b0b2fe5182b3ae85f9200874b87993a16bb6e3053fc2bd9114bc705271de074 [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-29T10:14:41.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T10:14:41.930Z] [2022-06-29T10:14:41.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:14:42.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T10:14:42.557Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T10:14:42.557Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T10:14:42.557Z] 04944245beec: Pulling fs layer [2022-06-29T10:14:42.557Z] 699f458cf7ca: Pulling fs layer [2022-06-29T10:14:42.557Z] 765212b225bb: Pulling fs layer [2022-06-29T10:14:42.557Z] f23df028b6ca: Pulling fs layer [2022-06-29T10:14:42.557Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T10:14:42.557Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T10:14:42.557Z] 765212b225bb: Waiting [2022-06-29T10:14:42.557Z] f23df028b6ca: Waiting [2022-06-29T10:14:42.557Z] d65c8cfc05b1: Waiting [2022-06-29T10:14:42.557Z] 2437ff75d9bd: Waiting [2022-06-29T10:14:42.557Z] 04944245beec: Verifying Checksum [2022-06-29T10:14:42.557Z] 04944245beec: Download complete [2022-06-29T10:14:42.557Z] 765212b225bb: Verifying Checksum [2022-06-29T10:14:42.557Z] 765212b225bb: Download complete [2022-06-29T10:14:42.557Z] f23df028b6ca: Download complete [2022-06-29T10:14:42.557Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T10:14:42.557Z] d65c8cfc05b1: Download complete [2022-06-29T10:14:42.834Z] 699f458cf7ca: Verifying Checksum [2022-06-29T10:14:42.834Z] 699f458cf7ca: Download complete [2022-06-29T10:14:43.111Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T10:14:43.111Z] 8998bd30e6a1: Download complete [2022-06-29T10:14:45.746Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T10:14:47.729Z] 8998bd30e6a1: Pull complete [2022-06-29T10:14:48.004Z] 04944245beec: Pull complete [2022-06-29T10:14:49.443Z] 699f458cf7ca: Pull complete [2022-06-29T10:14:49.716Z] 765212b225bb: Pull complete [2022-06-29T10:14:50.699Z] f23df028b6ca: Pull complete [2022-06-29T10:14:50.699Z] d65c8cfc05b1: Pull complete [2022-06-29T10:15:05.788Z] 2437ff75d9bd: Pull complete [2022-06-29T10:15:05.788Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T10:15:05.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T10:15:05.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:15:06.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container [2022-06-29T10:15:06.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T10:15:08.539Z] $ docker top 59b7107c7f18e807876f2a57f3e74e6bf175237d3c97c985d13db54a17debfde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:09.452Z] ---> job-cost.sh [2022-06-29T10:15:09.452Z] lf-activate-venv: SKIPPING [2022-06-29T10:15:09.452Z] INFO: No Stack... [2022-06-29T10:15:10.046Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T10:15:10.640Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T10:15:11.306Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [2022-06-29T10:15:11.306Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T10:15:11.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [2022-06-29T10:15:11.378Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] did not exist. Created. [2022-06-29T10:15:11.378Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T10:15:12.055Z] /w/workspace/device-onvif-camera/14@tmp/durable-61b4fa18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T10:15:12.734Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T10:15:12.763Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T10:15:13.204Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T10:15:13.211Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T10:15:13.233Z] $ docker stop --time=1 59b7107c7f18e807876f2a57f3e74e6bf175237d3c97c985d13db54a17debfde [2022-06-29T10:15:14.735Z] $ docker rm -f 59b7107c7f18e807876f2a57f3e74e6bf175237d3c97c985d13db54a17debfde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T10:15:15.063Z] 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-29T10:15:15.776Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-77/archives ] [2022-06-29T10:15:15.776Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-29T10:15:15.776Z] total 16 [2022-06-29T10:15:15.776Z] drwxr-xr-x 3 root root 4096 Jun 29 10:12 . [2022-06-29T10:15:15.776Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 10:12 .. [2022-06-29T10:15:15.776Z] drwxr-xr-x 2 root root 4096 Jun 29 10:12 cost [2022-06-29T10:15:15.776Z] -rw-r--r-- 1 root root 90 Jun 29 10:12 cost.csv [2022-06-29T10:15:15.776Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-29T10:15:15.776Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives [2022-06-29T10:15:15.776Z] total 16 [2022-06-29T10:15:15.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 10:12 . [2022-06-29T10:15:15.776Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 10:12 .. [2022-06-29T10:15:15.776Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 10:12 cost [2022-06-29T10:15:15.776Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 29 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:16.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:16.946Z] ---> package-listing.sh [2022-06-29T10:15:16.946Z] ++ facter osfamily [2022-06-29T10:15:16.946Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T10:15:17.207Z] + OS_FAMILY=debian [2022-06-29T10:15:17.207Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-77 [2022-06-29T10:15:17.207Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T10:15:17.207Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T10:15:17.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T10:15:17.207Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T10:15:17.207Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-29T10:15:17.207Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T10:15:17.207Z] + case "${OS_FAMILY}" in [2022-06-29T10:15:17.207Z] + dpkg -l [2022-06-29T10:15:17.207Z] + grep '^ii' [2022-06-29T10:15:17.207Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T10:15:17.207Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T10:15:17.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T10:15:17.207Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' [2022-06-29T10:15:17.207Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [2022-06-29T10:15:17.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-77/archives/ [Pipeline] echo [2022-06-29T10:15:17.219Z] 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-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T10:15:17.499Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T10:15:18.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T10:15:18.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T10:15:18.143Z] prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container [2022-06-29T10:15:18.182Z] $ 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-77/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-77 -v /w/workspace/oundry_device-onvif-camera_PR-77:/w/workspace/oundry_device-onvif-camera_PR-77:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-77@tmp:/w/workspace/oundry_device-onvif-camera_PR-77@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-29T10:15:18.401Z] $ docker top 7a2901e26f73bb240362fbdebfdf2ccf3bee35912ff67d0c6b7429abc0a123c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T10:15:18.748Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T10:15:19.036Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T10:15:19.327Z] + ls /var/log/sa-host [2022-06-29T10:15:19.327Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T10:15:19.461Z] provisioning config files... [2022-06-29T10:15:19.471Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config8878828409934874240tmp [Pipeline] { [Pipeline] echo [2022-06-29T10:15:19.487Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:19.769Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T10:15:19.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:20.123Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T10:15:20.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:20.420Z] ---> sudo-logs.sh [2022-06-29T10:15:20.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T10:15:20.448Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:20.734Z] ---> job-cost.sh [2022-06-29T10:15:20.734Z] lf-activate-venv: SKIPPING [2022-06-29T10:15:20.734Z] DEBUG: total: 0.2199999988079071 [2022-06-29T10:15:20.734Z] INFO: Retrieving Stack Cost... [2022-06-29T10:15:20.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T10:15:21.566Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T10:15:21.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T10:15:21.863Z] ---> logs-deploy.sh [2022-06-29T10:15:21.863Z] lf-activate-venv: SKIPPING [2022-06-29T10:15:21.863Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-77/14 [2022-06-29T10:15:21.863Z] INFO: archiving workspace using pattern(s): [2022-06-29T10:15:22.804Z] Archives upload complete. [2022-06-29T10:15:22.804Z] INFO: archiving logs to Nexus