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 10:10:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:21 ========================================================= 10:10:21 EdgeX Global Pipelines Version Info 10:10:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:22 ------------------- 10:10:22 stable info: 10:10:22 ------------------- 10:10:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:22 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:10:22 Message: update stable to v1.0.234 10:10:23 ------------------- 10:10:23 experimental info: 10:10:23 ------------------- 10:10:23 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:23 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:10:23 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa716ae [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:23 provisioning config files... 10:10:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config7374184652887505060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:23 ---> docker-login.sh 10:10:23 nexus3.edgexfoundry.org:10001 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10002 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10003 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10004 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 docker.io 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 ---> docker-login.sh ends [Pipeline] } 10:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:25 + git rev-list -1 --merges fa716aeec707e8eeb836ca722d802d7933cc3508~1..fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo 10:10:25 -----------> git rev-list -1 --merges fa716aeec707e8eeb836ca722d802d7933cc3508~1..fa716aeec707e8eeb836ca722d802d7933cc3508 fa716aeec707e8eeb836ca722d802d7933cc3508 10:10:25 fa716aeec707e8eeb836ca722d802d7933cc3508 [false] [Pipeline] sh 10:10:25 + git log --format=format:%s -1 fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo 10:10:25 ========================================================= 10:10:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:26 + git log --format=format:%s -1 fa716aeec707e8eeb836ca722d802d7933cc3508 [Pipeline] echo 10:10:26 [semverPrep] GIT_COMMIT: fa716aeec707e8eeb836ca722d802d7933cc3508, Commit Message: Merge commit '3bc4a4f14c266509a03f6bfa054e7774f1ea3255' into HEAD [Pipeline] echo 10:10:26 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:26 + grep -v github /etc/ssh/ssh_known_hosts 10:10:26 + [ -e /tmp/ssh_known_hosts ] 10:10:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:26 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 10:10:26 tee -a /etc/ssh/ssh_known_hosts 10:10:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:26 10:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:27 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:27 42c077c10790: Pulling fs layer 10:10:27 f63e77b7563a: Pulling fs layer 10:10:27 bd5fdadae976: Pulling fs layer 10:10:27 205491f53016: Pulling fs layer 10:10:27 df18705c85c3: Pulling fs layer 10:10:27 bdb3f477010e: Pulling fs layer 10:10:27 c8a8fc8e1c8f: Pulling fs layer 10:10:27 2c6e9b1d212d: Pulling fs layer 10:10:27 bdb8f0575790: Pulling fs layer 10:10:27 386e3cb2ff24: Pulling fs layer 10:10:27 2343380bae48: Pulling fs layer 10:10:27 bdb3f477010e: Waiting 10:10:27 2c6e9b1d212d: Waiting 10:10:27 205491f53016: Waiting 10:10:27 bdb8f0575790: Waiting 10:10:27 c8a8fc8e1c8f: Waiting 10:10:27 386e3cb2ff24: Waiting 10:10:27 df18705c85c3: Waiting 10:10:27 2343380bae48: Waiting 10:10:27 f63e77b7563a: Verifying Checksum 10:10:27 f63e77b7563a: Download complete 10:10:27 205491f53016: Verifying Checksum 10:10:27 205491f53016: Download complete 10:10:27 df18705c85c3: Verifying Checksum 10:10:27 df18705c85c3: Download complete 10:10:27 bd5fdadae976: Verifying Checksum 10:10:27 bd5fdadae976: Download complete 10:10:27 bdb3f477010e: Download complete 10:10:27 2c6e9b1d212d: Download complete 10:10:27 bdb8f0575790: Download complete 10:10:27 386e3cb2ff24: Verifying Checksum 10:10:27 386e3cb2ff24: Download complete 10:10:27 2343380bae48: Download complete 10:10:27 42c077c10790: Verifying Checksum 10:10:27 42c077c10790: Download complete 10:10:27 c8a8fc8e1c8f: Download complete 10:10:28 42c077c10790: Pull complete 10:10:28 f63e77b7563a: Pull complete 10:10:29 bd5fdadae976: Pull complete 10:10:29 205491f53016: Pull complete 10:10:29 df18705c85c3: Pull complete 10:10:29 bdb3f477010e: Pull complete 10:10:31 c8a8fc8e1c8f: Pull complete 10:10:31 2c6e9b1d212d: Pull complete 10:10:31 bdb8f0575790: Pull complete 10:10:31 386e3cb2ff24: Pull complete 10:10:31 2343380bae48: Pull complete 10:10:31 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:31 prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container 10:10:31 $ 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 10:10:33 $ docker top 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 -eo pid,comm 10:10:33 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). 10:10:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:33 [ssh-agent] Looking for ssh-agent implementation... 10:10:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:33 $ docker exec 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent 10:10:33 SSH_AUTH_SOCK=/tmp/ssh-N5B5xVhUchHb/agent.33 10:10:33 SSH_AGENT_PID=40 10:10:33 Running ssh-add (command line suppressed) 10:10:33 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) 10:10:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:33 + git tag --points-at HEAD [Pipeline] } 10:10:33 $ docker exec --env ******** --env ******** 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent -k 10:10:34 unset SSH_AUTH_SOCK; 10:10:34 unset SSH_AGENT_PID; 10:10:34 echo Agent pid 40 killed; 10:10:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:34 [ssh-agent] Looking for ssh-agent implementation... 10:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:34 $ docker exec 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent 10:10:34 SSH_AUTH_SOCK=/tmp/ssh-nG3X2U45RCCM/agent.75 10:10:34 SSH_AGENT_PID=82 10:10:34 Running ssh-add (command line suppressed) 10:10:34 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) 10:10:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:34 + git semver init 10:10:35 2022-06-29 10:10:34,989 [run_init] DEBUG init version:0.0.0 force:False 10:10:35 2022-06-29 10:10:34,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-77/.semver 10:10:35 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 10:10:35 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) 10:10:36 2022-06-29 10:10:35,669 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-77/.git/info/exclude 10:10:36 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 10:10:36 2022-06-29 10:10:35,670 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 10:10:36 2022-06-29 10:10:35,674 [execute] INFO git cat-file --batch-check 10:10:36 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=) 10:10:36 2022-06-29 10:10:35,681 [execute] INFO git cat-file --batch 10:10:36 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=) 10:10:36 2022-06-29 10:10:35,686 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-77/.semver/PR-77 10:10:36 0.0.0 [Pipeline] } 10:10:36 $ docker exec --env ******** --env ******** 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 ssh-agent -k 10:10:36 unset SSH_AUTH_SOCK; 10:10:36 unset SSH_AGENT_PID; 10:10:36 echo Agent pid 82 killed; 10:10:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:36 + git semver [Pipeline] } 10:10:36 $ docker stop --time=1 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 10:10:38 $ docker rm -f 342e5cbb2d7cb11bbd169570c8525c975fa4f39edfa2c91b0721357bc6f16295 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:38 Stashed 1 file(s) [Pipeline] echo 10:10:38 [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 10:10:38 provisioning config files... 10:10:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config7895983453096484409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:39 ---> docker-login.sh 10:10:39 nexus3.edgexfoundry.org:10001 10:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:39 Configure a credential helper to remove this warning. See 10:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:39 10:10:39 Login Succeeded 10:10:39 nexus3.edgexfoundry.org:10002 10:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:39 Configure a credential helper to remove this warning. See 10:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:39 10:10:39 Login Succeeded 10:10:39 nexus3.edgexfoundry.org:10003 10:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:39 Configure a credential helper to remove this warning. See 10:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:39 10:10:39 Login Succeeded 10:10:39 nexus3.edgexfoundry.org:10004 10:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:39 Configure a credential helper to remove this warning. See 10:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:39 10:10:39 Login Succeeded 10:10:39 docker.io 10:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:39 Configure a credential helper to remove this warning. See 10:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:39 10:10:39 Login Succeeded 10:10:39 ---> docker-login.sh ends [Pipeline] } 10:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:40 ========================================================= 10:10:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:10:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:40 + 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 . 10:10:40 Sending build context to Docker daemon 9.33MB 10:10:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:10:40 Step 2/13 : FROM ${BASE} AS builder 10:10:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:40 59bf1c3509f3: Pulling fs layer 10:10:40 666ba61612fd: Pulling fs layer 10:10:40 8ed8ca486205: Pulling fs layer 10:10:40 cc1cd167ecdc: Pulling fs layer 10:10:40 c516ae0d96e1: Pulling fs layer 10:10:40 684cea983483: Pulling fs layer 10:10:40 dd3240ac7de5: Pulling fs layer 10:10:40 b1e948a4e11c: Pulling fs layer 10:10:40 a8fd76ee1af6: Pulling fs layer 10:10:40 646ad004c059: Pulling fs layer 10:10:40 cc1cd167ecdc: Waiting 10:10:40 c516ae0d96e1: Waiting 10:10:40 dd3240ac7de5: Waiting 10:10:40 684cea983483: Waiting 10:10:40 b1e948a4e11c: Waiting 10:10:40 a8fd76ee1af6: Waiting 10:10:40 646ad004c059: Waiting 10:10:40 8ed8ca486205: Verifying Checksum 10:10:40 8ed8ca486205: Download complete 10:10:40 666ba61612fd: Download complete 10:10:40 c516ae0d96e1: Verifying Checksum 10:10:40 c516ae0d96e1: Download complete 10:10:40 59bf1c3509f3: Verifying Checksum 10:10:40 59bf1c3509f3: Download complete 10:10:40 684cea983483: Verifying Checksum 10:10:40 684cea983483: Download complete 10:10:40 dd3240ac7de5: Verifying Checksum 10:10:40 dd3240ac7de5: Download complete 10:10:40 b1e948a4e11c: Verifying Checksum 10:10:40 b1e948a4e11c: Download complete 10:10:40 59bf1c3509f3: Pull complete 10:10:40 666ba61612fd: Pull complete 10:10:40 8ed8ca486205: Pull complete 10:10:40 646ad004c059: Verifying Checksum 10:10:40 646ad004c059: Download complete 10:10:41 a8fd76ee1af6: Verifying Checksum 10:10:41 a8fd76ee1af6: Download complete 10:10:41 cc1cd167ecdc: Verifying Checksum 10:10:41 cc1cd167ecdc: Download complete 10:10:45 cc1cd167ecdc: Pull complete 10:10:45 c516ae0d96e1: Pull complete 10:10:45 684cea983483: Pull complete 10:10:45 dd3240ac7de5: Pull complete 10:10:45 b1e948a4e11c: Pull complete 10:10:46 a8fd76ee1af6: Pull complete 10:10:47 646ad004c059: Pull complete 10:10:47 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:10:47 ---> 8f69c11f6b0c 10:10:47 Step 3/13 : ARG MAKE="make build" 10:10:49 ---> Running in a175854e5532 10:10:49 Removing intermediate container a175854e5532 10:10:49 ---> f5b6f87e582e 10:10:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:10:49 ---> Running in 3c0a3a745f58 10:10:49 Removing intermediate container 3c0a3a745f58 10:10:49 ---> 6444adf2ea73 10:10:49 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:10:49 ---> Running in 8e130bd34252 10:10:49 Removing intermediate container 8e130bd34252 10:10:49 ---> 9ea500de9b7f 10:10:49 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:10:49 ---> Running in 823224a35455 10:10:49 Removing intermediate container 823224a35455 10:10:49 ---> 1346f1d7fc28 10:10:49 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:49 ---> Running in d03a50011bee 10:10:50 Removing intermediate container d03a50011bee 10:10:50 ---> ab08df1200ee 10:10:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:50 ---> Running in 57b6aaf3d89b 10:10:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:10:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:10:51 OK: 221 MiB in 52 packages 10:10:52 Removing intermediate container 57b6aaf3d89b 10:10:52 ---> 224200d1f259 10:10:52 Step 9/13 : WORKDIR /device-onvif-camera 10:10:52 ---> Running in f4405a1ef7b5 10:10:52 Removing intermediate container f4405a1ef7b5 10:10:52 ---> dd8dfa78a79f 10:10:52 Step 10/13 : COPY go.mod vendor* ./ 10:10:52 ---> 3884d4fdda4e 10:10:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:52 ---> Running in ea277815f9fa 10:10:53 Still waiting to schedule task 10:10:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:11:48 Removing intermediate container ea277815f9fa 10:11:48 ---> e36a32cc2f7a 10:11:48 Step 12/13 : COPY . . 10:11:48 ---> b9516866b22e 10:11:48 Step 13/13 : RUN ${MAKE} 10:11:48 ---> Running in a68256aea1d3 10:11:48 noop 10:11:48 Removing intermediate container a68256aea1d3 10:11:48 ---> cc94432d0037 10:11:48 Successfully built cc94432d0037 10:11:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:48 + docker inspect -f . ci-base-image-x86_64 10:11:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:49 prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container 10:11:49 $ 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 10:11:49 $ docker top 7e59bb3bf3fc944141ba81909179de6d1c061848b690931853f08a1ce4e06316 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:49 + go version 10:11:49 go version go1.17.7 linux/amd64 [Pipeline] } 10:11:49 $ docker stop --time=1 7e59bb3bf3fc944141ba81909179de6d1c061848b690931853f08a1ce4e06316 10:11:51 $ 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 10:11:51 + docker inspect -f . ci-base-image-x86_64 10:11:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:51 prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container 10:11:51 $ 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 10:11:52 $ docker top e12195795c4af25824ec568d505fee46f8dcad23884877425cafded87fc36368 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:11:52 + make test 10:11:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:52 go: updates to go.mod needed; to update it: 10:11:52 go mod tidy 10:11:52 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 10:11:52 $ docker stop --time=1 e12195795c4af25824ec568d505fee46f8dcad23884877425cafded87fc36368 10:11:53 $ 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 10:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:54 10:11:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:54 latest: Pulling from edgex-lftools-log-publisher 10:11:54 5eb5b503b376: Pulling fs layer 10:11:54 5c69ac0246d0: Pulling fs layer 10:11:54 ec43610c2a17: Pulling fs layer 10:11:54 3a2ae6a8a46f: Pulling fs layer 10:11:54 33b1e0a273af: Pulling fs layer 10:11:54 5d3b04190fa2: Pulling fs layer 10:11:54 2f39f015ded8: Pulling fs layer 10:11:54 33b1e0a273af: Waiting 10:11:54 5d3b04190fa2: Waiting 10:11:54 2f39f015ded8: Waiting 10:11:54 3a2ae6a8a46f: Waiting 10:11:54 5c69ac0246d0: Download complete 10:11:54 3a2ae6a8a46f: Verifying Checksum 10:11:54 3a2ae6a8a46f: Download complete 10:11:54 33b1e0a273af: Verifying Checksum 10:11:54 33b1e0a273af: Download complete 10:11:54 5d3b04190fa2: Verifying Checksum 10:11:54 5d3b04190fa2: Download complete 10:11:54 ec43610c2a17: Verifying Checksum 10:11:54 ec43610c2a17: Download complete 10:11:54 5eb5b503b376: Verifying Checksum 10:11:54 5eb5b503b376: Download complete 10:11:56 5eb5b503b376: Pull complete 10:11:56 5c69ac0246d0: Pull complete 10:11:56 ec43610c2a17: Pull complete 10:11:56 3a2ae6a8a46f: Pull complete 10:11:56 33b1e0a273af: Pull complete 10:11:57 5d3b04190fa2: Pull complete 10:12:01 2f39f015ded8: Pull complete 10:12:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:01 prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container 10:12:01 $ 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 10:12:03 $ docker top 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:03 ---> job-cost.sh 10:12:03 lf-activate-venv: SKIPPING 10:12:03 INFO: No Stack... 10:12:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:04 INFO: Archiving Costs [Pipeline] sh 10:12:04 + cat /w/workspace/oundry_device-onvif-camera_PR-77/archives/cost.csv 10:12:04 + cut -d, -f6 [Pipeline] lock 10:12:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] 10:12:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] did not exist. Created. 10:12:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:04 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:04 Stashed 1 file(s) [Pipeline] } 10:12:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:05 $ docker stop --time=1 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b 10:12:06 $ docker rm -f 259a1e3ae99d51534d67b91645c801abe13081d88f831a98a921a76e763a282b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:06 Failed in branch amd64 10:12:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16333 in /w/workspace/oundry_device-onvif-camera_PR-77 [Pipeline] { [Pipeline] ws 10:12:31 Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout 10:12:31 Selected Git installation does not exist. Using Default 10:12:31 The recommended git tool is: NONE 10:12:37 using credential edgex-jenkins-ssh 10:12:37 Cloning the remote Git repository 10:12:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:12:37 > git init /w/workspace/device-onvif-camera/14 # timeout=10 10:12:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:37 > git --version # timeout=10 10:12:37 > git --version # 'git version 2.25.1' 10:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:38 > 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 10:12:39 Merging remotes/origin/main commit 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 into PR head commit 466f5d5d50be8d1074affd647d0e035a386a80a8 10:12:39 Merge succeeded, producing ef523cfbe69e7da355f80434ab8b6346c8038d53 10:12:39 Checking out Revision ef523cfbe69e7da355f80434ab8b6346c8038d53 (PR-77) 10:12:39 > git config core.sparsecheckout # timeout=10 10:12:39 > git checkout -f 466f5d5d50be8d1074affd647d0e035a386a80a8 # timeout=10 10:12:39 > git remote # timeout=10 10:12:39 > git config --get remote.origin.url # timeout=10 10:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:39 > git merge 3bc4a4f14c266509a03f6bfa054e7774f1ea3255 # timeout=10 10:12:39 > git rev-parse HEAD^{commit} # timeout=10 10:12:39 > git config core.sparsecheckout # timeout=10 10:12:39 > git checkout -f ef523cfbe69e7da355f80434ab8b6346c8038d53 # timeout=10 10:12:43 Commit message: "Merge commit '3bc4a4f14c266509a03f6bfa054e7774f1ea3255' into HEAD" 10:12:43 > git rev-list --no-walk 466f5d5d50be8d1074affd647d0e035a386a80a8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:12:44 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:44 Dload Upload Total Spent Left Speed 10:12:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 10:12:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:12:45 + sudo tee /etc/docker/daemon.new 10:12:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:12:45 { 10:12:45 "registry-mirrors": [ 10:12:45 "https://nexus3.edgexfoundry.org:10001" 10:12:45 ], 10:12:45 "bip": "10.250.0.254/24", 10:12:45 "hosts": [ 10:12:45 "tcp://0.0.0.0:5555", 10:12:45 "unix:///var/run/docker.sock" 10:12:45 ], 10:12:45 "mtu": 1458, 10:12:45 "selinux-enabled": true, 10:12:45 "seccomp-profile": "/etc/docker/seccomp.json" 10:12:45 } [Pipeline] sh 10:12:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:12:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:05 provisioning config files... 10:13:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config4901647511502586312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:05 ---> docker-login.sh 10:13:05 nexus3.edgexfoundry.org:10001 10:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:06 Configure a credential helper to remove this warning. See 10:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:06 10:13:06 Login Succeeded 10:13:06 nexus3.edgexfoundry.org:10002 10:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:06 Configure a credential helper to remove this warning. See 10:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:06 10:13:06 Login Succeeded 10:13:06 nexus3.edgexfoundry.org:10003 10:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:07 Configure a credential helper to remove this warning. See 10:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:07 10:13:07 Login Succeeded 10:13:07 nexus3.edgexfoundry.org:10004 10:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:07 Configure a credential helper to remove this warning. See 10:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:07 10:13:07 Login Succeeded 10:13:07 docker.io 10:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:08 Configure a credential helper to remove this warning. See 10:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:08 10:13:08 Login Succeeded 10:13:08 ---> docker-login.sh ends [Pipeline] } 10:13:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:13:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:08 ========================================================= 10:13:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:13:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:09 + 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 . 10:13:09 Sending build context to Docker daemon 6.424MB 10:13:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:13:09 Step 2/13 : FROM ${BASE} AS builder 10:13:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:13:09 9b3977197b4f: Pulling fs layer 10:13:09 1a89e8eeedd5: Pulling fs layer 10:13:09 94645a83ff95: Pulling fs layer 10:13:09 e6fb740bc735: Pulling fs layer 10:13:09 3a77bd46dcc9: Pulling fs layer 10:13:09 355e64cbe906: Pulling fs layer 10:13:09 63ab81a10011: Pulling fs layer 10:13:09 555d1d1c4555: Pulling fs layer 10:13:09 7d9057610161: Pulling fs layer 10:13:09 e6fb740bc735: Waiting 10:13:09 63ab81a10011: Waiting 10:13:09 3a77bd46dcc9: Waiting 10:13:09 555d1d1c4555: Waiting 10:13:09 355e64cbe906: Waiting 10:13:09 7d9057610161: Waiting 10:13:09 94645a83ff95: Download complete 10:13:09 1a89e8eeedd5: Verifying Checksum 10:13:09 1a89e8eeedd5: Download complete 10:13:09 3a77bd46dcc9: Verifying Checksum 10:13:09 3a77bd46dcc9: Download complete 10:13:09 355e64cbe906: Verifying Checksum 10:13:09 355e64cbe906: Download complete 10:13:09 9b3977197b4f: Verifying Checksum 10:13:09 9b3977197b4f: Download complete 10:13:09 63ab81a10011: Verifying Checksum 10:13:09 63ab81a10011: Download complete 10:13:10 7d9057610161: Verifying Checksum 10:13:10 7d9057610161: Download complete 10:13:10 9b3977197b4f: Pull complete 10:13:11 1a89e8eeedd5: Pull complete 10:13:11 94645a83ff95: Pull complete 10:13:11 555d1d1c4555: Verifying Checksum 10:13:12 e6fb740bc735: Verifying Checksum 10:13:12 e6fb740bc735: Download complete 10:13:24 e6fb740bc735: Pull complete 10:13:24 3a77bd46dcc9: Pull complete 10:13:24 355e64cbe906: Pull complete 10:13:24 63ab81a10011: Pull complete 10:13:31 555d1d1c4555: Pull complete 10:13:33 7d9057610161: Pull complete 10:13:33 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:13:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:13:33 ---> 819e984ddca1 10:13:33 Step 3/13 : ARG MAKE="make build" 10:13:34 ---> Running in ccfaa1835ddf 10:13:35 Removing intermediate container ccfaa1835ddf 10:13:35 ---> 979770ceeb7b 10:13:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:13:35 ---> Running in 95db315ed341 10:13:35 Removing intermediate container 95db315ed341 10:13:35 ---> 61548dd33dce 10:13:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:13:35 ---> Running in 377ce281a859 10:13:36 Removing intermediate container 377ce281a859 10:13:36 ---> 7e1ddb0115a4 10:13:36 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:13:36 ---> Running in 8a7eaf90ddf8 10:13:36 Removing intermediate container 8a7eaf90ddf8 10:13:36 ---> 3f3916f3d097 10:13:36 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:36 ---> Running in b3d0e958812a 10:13:39 Removing intermediate container b3d0e958812a 10:13:39 ---> 1654f3858c6c 10:13:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:39 ---> Running in 2b5a32d5e1e2 10:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:13:41 OK: 220 MiB in 52 packages 10:13:42 Removing intermediate container 2b5a32d5e1e2 10:13:42 ---> e1546c6a9e6d 10:13:42 Step 9/13 : WORKDIR /device-onvif-camera 10:13:42 ---> Running in 4c650a68837b 10:13:42 Removing intermediate container 4c650a68837b 10:13:42 ---> efe21cfcc0ad 10:13:42 Step 10/13 : COPY go.mod vendor* ./ 10:13:43 ---> c3f6ff88c78b 10:13:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:43 ---> Running in 1b59df646500 10:14:30 Removing intermediate container 1b59df646500 10:14:30 ---> 7ea01687afc3 10:14:30 Step 12/13 : COPY . . 10:14:30 ---> 5d8bde09df5b 10:14:30 Step 13/13 : RUN ${MAKE} 10:14:30 ---> Running in e1e58e4db8b3 10:14:30 noop 10:14:31 Removing intermediate container e1e58e4db8b3 10:14:31 ---> f8e0b609ef61 10:14:31 Successfully built f8e0b609ef61 10:14:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:31 + docker inspect -f . ci-base-image-arm64 10:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:31 prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container 10:14:31 $ 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 10:14:33 $ docker top b04bc86857b43326097b248ca7e7daeb03d2a1b064ca8ef63713d922e6ce3553 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:34 + go version 10:14:34 go version go1.17.7 linux/arm64 [Pipeline] } 10:14:34 $ docker stop --time=1 b04bc86857b43326097b248ca7e7daeb03d2a1b064ca8ef63713d922e6ce3553 10:14:35 $ 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 10:14:36 + docker inspect -f . ci-base-image-arm64 10:14:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:36 prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container 10:14:36 $ 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 10:14:38 $ docker top 9b0b2fe5182b3ae85f9200874b87993a16bb6e3053fc2bd9114bc705271de074 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:14:38 + make test 10:14:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:14:39 go: updates to go.mod needed; to update it: 10:14:39 go mod tidy 10:14:39 make: *** [Makefile:48: unittest] Error 1 [Pipeline] } 10:14:39 $ docker stop --time=1 9b0b2fe5182b3ae85f9200874b87993a16bb6e3053fc2bd9114bc705271de074 10:14:41 $ 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 10:14:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:14:41 10:14:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:14:42 arm64: Pulling from edgex-lftools-log-publisher 10:14:42 8998bd30e6a1: Pulling fs layer 10:14:42 04944245beec: Pulling fs layer 10:14:42 699f458cf7ca: Pulling fs layer 10:14:42 765212b225bb: Pulling fs layer 10:14:42 f23df028b6ca: Pulling fs layer 10:14:42 d65c8cfc05b1: Pulling fs layer 10:14:42 2437ff75d9bd: Pulling fs layer 10:14:42 765212b225bb: Waiting 10:14:42 f23df028b6ca: Waiting 10:14:42 d65c8cfc05b1: Waiting 10:14:42 2437ff75d9bd: Waiting 10:14:42 04944245beec: Verifying Checksum 10:14:42 04944245beec: Download complete 10:14:42 765212b225bb: Verifying Checksum 10:14:42 765212b225bb: Download complete 10:14:42 f23df028b6ca: Download complete 10:14:42 d65c8cfc05b1: Verifying Checksum 10:14:42 d65c8cfc05b1: Download complete 10:14:42 699f458cf7ca: Verifying Checksum 10:14:42 699f458cf7ca: Download complete 10:14:43 8998bd30e6a1: Verifying Checksum 10:14:43 8998bd30e6a1: Download complete 10:14:45 2437ff75d9bd: Verifying Checksum 10:14:47 8998bd30e6a1: Pull complete 10:14:48 04944245beec: Pull complete 10:14:49 699f458cf7ca: Pull complete 10:14:49 765212b225bb: Pull complete 10:14:50 f23df028b6ca: Pull complete 10:14:50 d65c8cfc05b1: Pull complete 10:15:05 2437ff75d9bd: Pull complete 10:15:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:15:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:15:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:06 prd-ubuntu20.04-docker-arm64-4c-16g-16333 does not seem to be running inside a container 10:15:06 $ 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 10:15:08 $ docker top 59b7107c7f18e807876f2a57f3e74e6bf175237d3c97c985d13db54a17debfde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:09 ---> job-cost.sh 10:15:09 lf-activate-venv: SKIPPING 10:15:09 INFO: No Stack... 10:15:10 INFO: Retrieving Pricing Info for: v3-standard-4 10:15:10 INFO: Archiving Costs [Pipeline] sh 10:15:11 + cat /w/workspace/device-onvif-camera/14/archives/cost.csv 10:15:11 + cut -d, -f6 [Pipeline] lock 10:15:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] 10:15:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] did not exist. Created. 10:15:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:15:12 /w/workspace/device-onvif-camera/14@tmp/durable-61b4fa18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:15:12 + echo total: 0.10999999940395355 [Pipeline] stash 10:15:12 Warning: overwriting stash ‘stack-cost’ 10:15:13 Stashed 1 file(s) [Pipeline] } 10:15:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-77-14-stack-cost] [Pipeline] // lock [Pipeline] } 10:15:13 $ docker stop --time=1 59b7107c7f18e807876f2a57f3e74e6bf175237d3c97c985d13db54a17debfde 10:15:14 $ 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] } 10:15:15 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 10:15:15 + [ -d /w/workspace/oundry_device-onvif-camera_PR-77/archives ] 10:15:15 + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives 10:15:15 total 16 10:15:15 drwxr-xr-x 3 root root 4096 Jun 29 10:12 . 10:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 10:12 .. 10:15:15 drwxr-xr-x 2 root root 4096 Jun 29 10:12 cost 10:15:15 -rw-r--r-- 1 root root 90 Jun 29 10:12 cost.csv 10:15:15 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-77/archives 10:15:15 + ls -al /w/workspace/oundry_device-onvif-camera_PR-77/archives 10:15:15 total 16 10:15:15 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 10:12 . 10:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 10:12 .. 10:15:15 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 10:12 cost 10:15:15 -rw-r--r-- 1 jenkins jenkins 90 Jun 29 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:15:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:15:16 ---> package-listing.sh 10:15:16 ++ facter osfamily 10:15:16 ++ tr '[:upper:]' '[:lower:]' 10:15:17 + OS_FAMILY=debian 10:15:17 + workspace=/w/workspace/oundry_device-onvif-camera_PR-77 10:15:17 + START_PACKAGES=/tmp/packages_start.txt 10:15:17 + END_PACKAGES=/tmp/packages_end.txt 10:15:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:15:17 + PACKAGES=/tmp/packages_start.txt 10:15:17 + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' 10:15:17 + PACKAGES=/tmp/packages_end.txt 10:15:17 + case "${OS_FAMILY}" in 10:15:17 + dpkg -l 10:15:17 + grep '^ii' 10:15:17 + '[' -f /tmp/packages_start.txt ']' 10:15:17 + '[' -f /tmp/packages_end.txt ']' 10:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:15:17 + '[' /w/workspace/oundry_device-onvif-camera_PR-77 ']' 10:15:17 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-77/archives/ 10:15:17 + 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 10:15:17 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 10:15:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:15:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:18 prd-ubuntu20.04-docker-8c-8g-16332 does not seem to be running inside a container 10:15:18 $ 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 10:15:18 $ docker top 7a2901e26f73bb240362fbdebfdf2ccf3bee35912ff67d0c6b7429abc0a123c7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:18 + touch /tmp/pre-build-complete [Pipeline] sh 10:15:19 + mkdir -p /var/log/sysstat [Pipeline] sh 10:15:19 + ls /var/log/sa-host 10:15:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:15:19 provisioning config files... 10:15:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-77@tmp/config8878828409934874240tmp [Pipeline] { [Pipeline] echo 10:15:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:15:19 ---> create-netrc.sh [Pipeline] } 10:15:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:15:20 ---> python-tools-install.sh [Pipeline] echo 10:15:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:15:20 ---> sudo-logs.sh 10:15:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:15:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:15:20 ---> job-cost.sh 10:15:20 lf-activate-venv: SKIPPING 10:15:20 DEBUG: total: 0.2199999988079071 10:15:20 INFO: Retrieving Stack Cost... 10:15:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:15:21 INFO: Archiving Costs [Pipeline] echo 10:15:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:15:21 ---> logs-deploy.sh 10:15:21 lf-activate-venv: SKIPPING 10:15:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-77/14 10:15:21 INFO: archiving workspace using pattern(s): 10:15:22 Archives upload complete. 10:15:22 INFO: archiving logs to Nexus