Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from cd887716400fa6c5dc30b8e8912a614e52a9d7c0+ea2635875d50d8674d03123d64d8d0373faddc1b (14430d6e2771da6a48dae788662e4ed7f2bd9d24) 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-ssh7116856237821069698.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9760539454545256455.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/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-rest-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7355897223952188706.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17215733142161621307.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/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-rest-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16505310011516135612.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-rest 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-121063 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit cd887716400fa6c5dc30b8e8912a614e52a9d7c0 Merge succeeded, producing cd887716400fa6c5dc30b8e8912a614e52a9d7c0 Checking out Revision cd887716400fa6c5dc30b8e8912a614e52a9d7c0 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f cd887716400fa6c5dc30b8e8912a614e52a9d7c0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd887716400fa6c5dc30b8e8912a614e52a9d7c0 # timeout=10 Commit message: "fix: Returning error message along with failure response in restdriver.go, line 287" > git rev-list --no-walk 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-13T12:13:13.145Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-13T12:13:13.193Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-13T12:13:13.210Z] ========================================================= [2022-12-13T12:13:13.210Z] EdgeX Global Pipelines Version Info [2022-12-13T12:13:13.210Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:13:13.940Z] ------------------- [2022-12-13T12:13:13.940Z] stable info: [2022-12-13T12:13:13.940Z] ------------------- [2022-12-13T12:13:13.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-13T12:13:13.940Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T12:13:13.940Z] Message: update stable to v1.0.244 [2022-12-13T12:13:14.878Z] ------------------- [2022-12-13T12:13:14.878Z] experimental info: [2022-12-13T12:13:14.878Z] ------------------- [2022-12-13T12:13:14.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-13T12:13:14.878Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T12:13:14.878Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-13T12:13:15.042Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-13T12:13:15.054Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-13T12:13:15.067Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-13T12:13:15.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-13T12:13:15.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-13T12:13:15.105Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-13T12:13:15.116Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-13T12:13:15.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-13T12:13:15.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-13T12:13:15.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-13T12:13:15.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-13T12:13:15.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-13T12:13:15.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-13T12:13:15.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-13T12:13:15.207Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T12:13:15.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T12:13:15.231Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T12:13:15.244Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T12:13:15.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-13T12:13:15.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-13T12:13:15.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-13T12:13:15.308Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-13T12:13:15.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-13T12:13:15.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-13T12:13:15.357Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-13T12:13:15.367Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-13T12:13:15.379Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-13T12:13:15.392Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2022-12-13T12:13:15.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2022-12-13T12:13:15.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2022-12-13T12:13:15.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [Pipeline] echo [2022-12-13T12:13:15.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd88771 [Pipeline] echo [2022-12-13T12:13:15.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T12:13:15.517Z] provisioning config files... [2022-12-13T12:13:15.530Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config1765894636831760253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:13:15.833Z] ---> docker-login.sh [2022-12-13T12:13:15.833Z] nexus3.edgexfoundry.org:10001 [2022-12-13T12:13:16.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:16.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:16.094Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:16.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:16.094Z] [2022-12-13T12:13:16.094Z] Login Succeeded [2022-12-13T12:13:16.094Z] nexus3.edgexfoundry.org:10002 [2022-12-13T12:13:16.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:16.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:16.353Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:16.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:16.353Z] [2022-12-13T12:13:16.353Z] Login Succeeded [2022-12-13T12:13:16.353Z] nexus3.edgexfoundry.org:10003 [2022-12-13T12:13:16.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:16.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:16.353Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:16.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:16.353Z] [2022-12-13T12:13:16.353Z] Login Succeeded [2022-12-13T12:13:16.353Z] nexus3.edgexfoundry.org:10004 [2022-12-13T12:13:16.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:16.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:16.613Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:16.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:16.613Z] [2022-12-13T12:13:16.613Z] Login Succeeded [2022-12-13T12:13:16.613Z] docker.io [2022-12-13T12:13:16.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:16.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:16.873Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:16.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:16.873Z] [2022-12-13T12:13:16.873Z] Login Succeeded [2022-12-13T12:13:16.873Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T12:13:16.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-13T12:13:17.245Z] + git rev-list -1 --merges cd887716400fa6c5dc30b8e8912a614e52a9d7c0~1..cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [Pipeline] echo [2022-12-13T12:13:17.273Z] -----------> git rev-list -1 --merges cd887716400fa6c5dc30b8e8912a614e52a9d7c0~1..cd887716400fa6c5dc30b8e8912a614e52a9d7c0 cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [false] [Pipeline] sh [2022-12-13T12:13:17.558Z] + git log --format=format:%s -1 cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [Pipeline] echo [2022-12-13T12:13:17.572Z] ========================================================= [2022-12-13T12:13:17.572Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-13T12:13:17.572Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T12:13:17.893Z] + git log --format=format:%s -1 cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [Pipeline] echo [2022-12-13T12:13:17.904Z] [semverPrep] GIT_COMMIT: cd887716400fa6c5dc30b8e8912a614e52a9d7c0, Commit Message: fix: Returning error message along with failure response in restdriver.go, line 287 [Pipeline] echo [2022-12-13T12:13:17.913Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-13T12:13:18.275Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-13T12:13:18.275Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-13T12:13:18.275Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-13T12:13:18.275Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-13T12:13:18.275Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-13T12:13:18.275Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-13T12:13:18.275Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:13:18.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T12:13:18.677Z] [2022-12-13T12:13:18.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:13:19.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T12:13:19.022Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-13T12:13:19.022Z] b85a868b505f: Pulling fs layer [2022-12-13T12:13:19.022Z] e2be974225ed: Pulling fs layer [2022-12-13T12:13:19.022Z] 339a4e72a1f5: Pulling fs layer [2022-12-13T12:13:19.022Z] 988bab9f4d93: Pulling fs layer [2022-12-13T12:13:19.022Z] 1469e6f7b9e6: Pulling fs layer [2022-12-13T12:13:19.022Z] eaf3925da568: Pulling fs layer [2022-12-13T12:13:19.022Z] 988bab9f4d93: Waiting [2022-12-13T12:13:19.022Z] 1469e6f7b9e6: Waiting [2022-12-13T12:13:19.022Z] bab4dde63d76: Pulling fs layer [2022-12-13T12:13:19.022Z] bde34c3a00c8: Pulling fs layer [2022-12-13T12:13:19.022Z] b352a97aabf1: Pulling fs layer [2022-12-13T12:13:19.022Z] 4872d77fe225: Pulling fs layer [2022-12-13T12:13:19.022Z] bab4dde63d76: Waiting [2022-12-13T12:13:19.022Z] bde34c3a00c8: Waiting [2022-12-13T12:13:19.022Z] b352a97aabf1: Waiting [2022-12-13T12:13:19.022Z] 5851b861e8e6: Pulling fs layer [2022-12-13T12:13:19.022Z] 4872d77fe225: Waiting [2022-12-13T12:13:19.022Z] 5851b861e8e6: Waiting [2022-12-13T12:13:19.022Z] e2be974225ed: Verifying Checksum [2022-12-13T12:13:19.022Z] e2be974225ed: Download complete [2022-12-13T12:13:19.022Z] 988bab9f4d93: Download complete [2022-12-13T12:13:19.022Z] 339a4e72a1f5: Verifying Checksum [2022-12-13T12:13:19.022Z] 339a4e72a1f5: Download complete [2022-12-13T12:13:19.300Z] 1469e6f7b9e6: Verifying Checksum [2022-12-13T12:13:19.300Z] 1469e6f7b9e6: Download complete [2022-12-13T12:13:19.300Z] eaf3925da568: Verifying Checksum [2022-12-13T12:13:19.300Z] eaf3925da568: Download complete [2022-12-13T12:13:19.300Z] bde34c3a00c8: Verifying Checksum [2022-12-13T12:13:19.300Z] bde34c3a00c8: Download complete [2022-12-13T12:13:19.300Z] b352a97aabf1: Verifying Checksum [2022-12-13T12:13:19.300Z] b352a97aabf1: Download complete [2022-12-13T12:13:19.300Z] 4872d77fe225: Verifying Checksum [2022-12-13T12:13:19.300Z] 4872d77fe225: Download complete [2022-12-13T12:13:19.300Z] b85a868b505f: Verifying Checksum [2022-12-13T12:13:19.300Z] b85a868b505f: Download complete [2022-12-13T12:13:19.559Z] bab4dde63d76: Verifying Checksum [2022-12-13T12:13:19.559Z] bab4dde63d76: Download complete [2022-12-13T12:13:20.494Z] b85a868b505f: Pull complete [2022-12-13T12:13:20.753Z] e2be974225ed: Pull complete [2022-12-13T12:13:21.011Z] 339a4e72a1f5: Pull complete [2022-12-13T12:13:21.271Z] 988bab9f4d93: Pull complete [2022-12-13T12:13:21.530Z] 1469e6f7b9e6: Pull complete [2022-12-13T12:13:21.789Z] eaf3925da568: Pull complete [2022-12-13T12:13:23.165Z] bab4dde63d76: Pull complete [2022-12-13T12:13:23.424Z] bde34c3a00c8: Pull complete [2022-12-13T12:13:23.424Z] b352a97aabf1: Pull complete [2022-12-13T12:13:23.684Z] 4872d77fe225: Pull complete [2022-12-13T12:13:23.684Z] 5851b861e8e6: Pull complete [2022-12-13T12:13:23.684Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-13T12:13:23.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T12:13:23.684Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:13:23.769Z] prd-ubuntu20.04-docker-8c-8g-121063 does not seem to be running inside a container [2022-12-13T12:13:23.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-13T12:13:25.090Z] $ docker top 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 -eo pid,comm [2022-12-13T12:13:25.141Z] 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-12-13T12:13:25.141Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-13T12:13:25.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T12:13:25.177Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T12:13:25.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T12:13:25.301Z] $ docker exec 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 ssh-agent [2022-12-13T12:13:25.407Z] SSH_AUTH_SOCK=/tmp/ssh-ANcZgt7ytfbQ/agent.31 [2022-12-13T12:13:25.407Z] SSH_AGENT_PID=38 [2022-12-13T12:13:25.413Z] Running ssh-add (command line suppressed) [2022-12-13T12:13:25.522Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_1421329862143324869.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_1421329862143324869.key) [2022-12-13T12:13:25.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T12:13:25.827Z] + git tag --points-at HEAD [Pipeline] } [2022-12-13T12:13:25.844Z] $ docker exec --env ******** --env ******** 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 ssh-agent -k [2022-12-13T12:13:25.937Z] unset SSH_AUTH_SOCK; [2022-12-13T12:13:25.938Z] unset SSH_AGENT_PID; [2022-12-13T12:13:25.938Z] echo Agent pid 38 killed; [2022-12-13T12:13:25.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-13T12:13:25.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T12:13:25.968Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T12:13:26.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T12:13:26.076Z] $ docker exec 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 ssh-agent [2022-12-13T12:13:26.180Z] SSH_AUTH_SOCK=/tmp/ssh-J4GSt9F5Ol8v/agent.70 [2022-12-13T12:13:26.180Z] SSH_AGENT_PID=76 [2022-12-13T12:13:26.184Z] Running ssh-add (command line suppressed) [2022-12-13T12:13:26.289Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17961728808468072600.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17961728808468072600.key) [2022-12-13T12:13:26.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T12:13:26.588Z] + git semver init [2022-12-13T12:13:26.847Z] 2022-12-13 12:13:26,764 [run_init] DEBUG init version:0.0.0 force:False [2022-12-13T12:13:26.847Z] 2022-12-13 12:13:26,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T12:13:26.847Z] 2022-12-13 12:13:26,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T12:13:26.848Z] 2022-12-13 12:13:26,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,863 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,864 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,864 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,868 [execute] INFO git cat-file --batch-check [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,873 [execute] INFO git cat-file --batch [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T12:13:28.228Z] 2022-12-13 12:13:27,878 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T12:13:28.228Z] 0.0.0 [Pipeline] } [2022-12-13T12:13:28.253Z] $ docker exec --env ******** --env ******** 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 ssh-agent -k [2022-12-13T12:13:28.349Z] unset SSH_AUTH_SOCK; [2022-12-13T12:13:28.350Z] unset SSH_AGENT_PID; [2022-12-13T12:13:28.350Z] echo Agent pid 76 killed; [2022-12-13T12:13:28.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-13T12:13:28.673Z] + git semver [Pipeline] } [2022-12-13T12:13:28.948Z] $ docker stop --time=1 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 [2022-12-13T12:13:30.271Z] $ docker rm -f 6baaf2ea27292fb1939af68bb35a3cdb0cc636bad847238f5d92d408c78808f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T12:13:30.599Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-13T12:13:30.772Z] Stashed 1 file(s) [Pipeline] echo [2022-12-13T12:13:30.775Z] [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-12-13T12:13:30.912Z] provisioning config files... [2022-12-13T12:13:30.920Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config4919426724042263724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:13:31.212Z] ---> docker-login.sh [2022-12-13T12:13:31.212Z] nexus3.edgexfoundry.org:10001 [2022-12-13T12:13:31.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:31.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:31.212Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:31.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:31.212Z] [2022-12-13T12:13:31.212Z] Login Succeeded [2022-12-13T12:13:31.212Z] nexus3.edgexfoundry.org:10002 [2022-12-13T12:13:31.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:31.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:31.212Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:31.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:31.212Z] [2022-12-13T12:13:31.212Z] Login Succeeded [2022-12-13T12:13:31.212Z] nexus3.edgexfoundry.org:10003 [2022-12-13T12:13:31.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:31.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:31.470Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:31.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:31.470Z] [2022-12-13T12:13:31.470Z] Login Succeeded [2022-12-13T12:13:31.470Z] nexus3.edgexfoundry.org:10004 [2022-12-13T12:13:31.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:31.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:31.470Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:31.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:31.470Z] [2022-12-13T12:13:31.470Z] Login Succeeded [2022-12-13T12:13:31.470Z] docker.io [2022-12-13T12:13:31.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:13:31.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:13:31.729Z] Configure a credential helper to remove this warning. See [2022-12-13T12:13:31.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:13:31.729Z] [2022-12-13T12:13:31.729Z] Login Succeeded [2022-12-13T12:13:31.729Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T12:13:31.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T12:13:31.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:13:31.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:13:31.812Z] ========================================================= [2022-12-13T12:13:31.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-13T12:13:31.812Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:13:32.113Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-13T12:13:32.113Z] Sending build context to Docker daemon 10.79MB [2022-12-13T12:13:32.113Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T12:13:32.113Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T12:13:32.113Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-13T12:13:32.113Z] 213ec9aee27d: Pulling fs layer [2022-12-13T12:13:32.113Z] 4583459ba037: Pulling fs layer [2022-12-13T12:13:32.113Z] 93c1e223e6f2: Pulling fs layer [2022-12-13T12:13:32.113Z] 53926ce57604: Pulling fs layer [2022-12-13T12:13:32.113Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-13T12:13:32.113Z] 22ff95d597cd: Pulling fs layer [2022-12-13T12:13:32.113Z] 12d6caf4c0d1: Pulling fs layer [2022-12-13T12:13:32.113Z] 96b7cbca73a9: Pulling fs layer [2022-12-13T12:13:32.113Z] a7acece74701: Pulling fs layer [2022-12-13T12:13:32.113Z] 53926ce57604: Waiting [2022-12-13T12:13:32.113Z] 21b2b0c7a3f4: Waiting [2022-12-13T12:13:32.113Z] 96b7cbca73a9: Waiting [2022-12-13T12:13:32.113Z] a7acece74701: Waiting [2022-12-13T12:13:32.113Z] 22ff95d597cd: Waiting [2022-12-13T12:13:32.113Z] 12d6caf4c0d1: Waiting [2022-12-13T12:13:32.113Z] 93c1e223e6f2: Verifying Checksum [2022-12-13T12:13:32.113Z] 93c1e223e6f2: Download complete [2022-12-13T12:13:32.113Z] 4583459ba037: Verifying Checksum [2022-12-13T12:13:32.113Z] 4583459ba037: Download complete [2022-12-13T12:13:32.113Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-13T12:13:32.113Z] 21b2b0c7a3f4: Download complete [2022-12-13T12:13:32.374Z] 22ff95d597cd: Verifying Checksum [2022-12-13T12:13:32.374Z] 22ff95d597cd: Download complete [2022-12-13T12:13:32.374Z] 213ec9aee27d: Download complete [2022-12-13T12:13:32.374Z] 12d6caf4c0d1: Download complete [2022-12-13T12:13:32.374Z] 213ec9aee27d: Pull complete [2022-12-13T12:13:32.635Z] 4583459ba037: Pull complete [2022-12-13T12:13:32.636Z] 93c1e223e6f2: Pull complete [2022-12-13T12:13:32.636Z] a7acece74701: Verifying Checksum [2022-12-13T12:13:32.636Z] a7acece74701: Download complete [2022-12-13T12:13:32.897Z] 96b7cbca73a9: Download complete [2022-12-13T12:13:33.156Z] 53926ce57604: Verifying Checksum [2022-12-13T12:13:33.156Z] 53926ce57604: Download complete [2022-12-13T12:13:37.355Z] 53926ce57604: Pull complete [2022-12-13T12:13:37.355Z] 21b2b0c7a3f4: Pull complete [2022-12-13T12:13:37.355Z] 22ff95d597cd: Pull complete [2022-12-13T12:13:37.355Z] 12d6caf4c0d1: Pull complete [2022-12-13T12:13:38.734Z] 96b7cbca73a9: Pull complete [2022-12-13T12:13:39.680Z] a7acece74701: Pull complete [2022-12-13T12:13:39.680Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-13T12:13:39.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-13T12:13:39.680Z] ---> db6d94c90886 [2022-12-13T12:13:39.680Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T12:13:41.058Z] ---> Running in a82eabd055cb [2022-12-13T12:13:41.319Z] Removing intermediate container a82eabd055cb [2022-12-13T12:13:41.319Z] ---> 14da42806e06 [2022-12-13T12:13:41.319Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T12:13:41.319Z] ---> Running in 473c8be95451 [2022-12-13T12:13:41.319Z] Removing intermediate container 473c8be95451 [2022-12-13T12:13:41.319Z] ---> 78e502ce4c7b [2022-12-13T12:13:41.319Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T12:13:41.319Z] ---> Running in a6e0796092cd [2022-12-13T12:13:41.583Z] Removing intermediate container a6e0796092cd [2022-12-13T12:13:41.583Z] ---> 2379fd0596cf [2022-12-13T12:13:41.583Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T12:13:41.844Z] ---> Running in 4164755da39f [2022-12-13T12:13:41.844Z] Removing intermediate container 4164755da39f [2022-12-13T12:13:41.844Z] ---> e22495f50b93 [2022-12-13T12:13:41.844Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T12:13:42.102Z] ---> Running in d87275500682 [2022-12-13T12:13:42.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T12:13:42.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T12:13:42.880Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T12:13:42.880Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T12:13:42.880Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T12:13:42.880Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T12:13:42.880Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T12:13:42.880Z] OK: 216 MiB in 55 packages [2022-12-13T12:13:43.459Z] Removing intermediate container d87275500682 [2022-12-13T12:13:43.459Z] ---> ece093bc2546 [2022-12-13T12:13:43.459Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T12:13:43.459Z] ---> Running in fe93bbff4794 [2022-12-13T12:13:43.459Z] Removing intermediate container fe93bbff4794 [2022-12-13T12:13:43.459Z] ---> 9d51ee04fb96 [2022-12-13T12:13:43.459Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T12:13:43.718Z] ---> 2e346598ab26 [2022-12-13T12:13:43.718Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T12:13:43.718Z] ---> Running in 2d3f44fdb78b [2022-12-13T12:13:45.878Z] Still waiting to schedule task [2022-12-13T12:13:45.878Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-13T12:14:05.648Z] Removing intermediate container 2d3f44fdb78b [2022-12-13T12:14:05.648Z] ---> 42e1bd50c26f [2022-12-13T12:14:05.648Z] Step 11/12 : COPY . . [2022-12-13T12:14:05.648Z] ---> eaa581f79be5 [2022-12-13T12:14:05.648Z] Step 12/12 : RUN $MAKE [2022-12-13T12:14:05.648Z] ---> Running in 72c6b1d2ce60 [2022-12-13T12:14:05.648Z] noop [2022-12-13T12:14:05.648Z] Removing intermediate container 72c6b1d2ce60 [2022-12-13T12:14:05.648Z] ---> b52405ca12a7 [2022-12-13T12:14:05.648Z] Successfully built b52405ca12a7 [2022-12-13T12:14:05.648Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:14:05.963Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T12:14:05.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:14:06.036Z] prd-ubuntu20.04-docker-8c-8g-121063 does not seem to be running inside a container [2022-12-13T12:14:06.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T12:14:06.422Z] $ docker top 615c8cfd0231dc4f51cf82e6d323bf5f37043f57273b96dbdd076aee8ceafaee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:14:06.758Z] + go version [2022-12-13T12:14:06.758Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-13T12:14:06.773Z] $ docker stop --time=1 615c8cfd0231dc4f51cf82e6d323bf5f37043f57273b96dbdd076aee8ceafaee [2022-12-13T12:14:08.023Z] $ docker rm -f 615c8cfd0231dc4f51cf82e6d323bf5f37043f57273b96dbdd076aee8ceafaee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:14:08.429Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T12:14:08.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:14:08.494Z] prd-ubuntu20.04-docker-8c-8g-121063 does not seem to be running inside a container [2022-12-13T12:14:08.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T12:14:08.900Z] $ docker top 34bcd4b698f4470813399be84e5f7bf77537fd776fad3d4a8dc47f8c7a34803b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:14:09.238Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2022-12-13T12:14:09.529Z] + make test [2022-12-13T12:14:09.529Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T12:14:09.785Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T12:14:19.744Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T12:14:19.744Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 26.8% of statements [2022-12-13T12:14:26.302Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-13T12:14:26.302Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-13T12:14:29.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-13T12:14:29.581Z] ./driver/protocolpropertykey.go [2022-12-13T12:14:29.581Z] ./driver/restdriver.go [2022-12-13T12:14:29.581Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-13T12:14:29.581Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-12-13T12:14:29.595Z] $ docker stop --time=1 34bcd4b698f4470813399be84e5f7bf77537fd776fad3d4a8dc47f8c7a34803b [2022-12-13T12:14:31.603Z] $ docker rm -f 34bcd4b698f4470813399be84e5f7bf77537fd776fad3d4a8dc47f8c7a34803b [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-12-13T12:14:32.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T12:14:32.156Z] [2022-12-13T12:14:32.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:14:32.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T12:14:32.453Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-13T12:14:32.453Z] 5eb5b503b376: Pulling fs layer [2022-12-13T12:14:32.453Z] 5c69ac0246d0: Pulling fs layer [2022-12-13T12:14:32.453Z] ec43610c2a17: Pulling fs layer [2022-12-13T12:14:32.453Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-13T12:14:32.453Z] 33b1e0a273af: Pulling fs layer [2022-12-13T12:14:32.453Z] 5d3b04190fa2: Pulling fs layer [2022-12-13T12:14:32.453Z] 2f39f015ded8: Pulling fs layer [2022-12-13T12:14:32.453Z] 3a2ae6a8a46f: Waiting [2022-12-13T12:14:32.453Z] 33b1e0a273af: Waiting [2022-12-13T12:14:32.453Z] 2f39f015ded8: Waiting [2022-12-13T12:14:32.453Z] 5c69ac0246d0: Verifying Checksum [2022-12-13T12:14:32.453Z] 5c69ac0246d0: Download complete [2022-12-13T12:14:32.453Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-13T12:14:32.453Z] 3a2ae6a8a46f: Download complete [2022-12-13T12:14:32.716Z] 33b1e0a273af: Verifying Checksum [2022-12-13T12:14:32.716Z] 33b1e0a273af: Download complete [2022-12-13T12:14:32.716Z] 5d3b04190fa2: Verifying Checksum [2022-12-13T12:14:32.716Z] 5d3b04190fa2: Download complete [2022-12-13T12:14:32.716Z] ec43610c2a17: Verifying Checksum [2022-12-13T12:14:32.716Z] ec43610c2a17: Download complete [2022-12-13T12:14:32.716Z] 5eb5b503b376: Verifying Checksum [2022-12-13T12:14:32.716Z] 5eb5b503b376: Download complete [2022-12-13T12:14:33.282Z] 2f39f015ded8: Download complete [2022-12-13T12:14:33.847Z] 5eb5b503b376: Pull complete [2022-12-13T12:14:34.104Z] 5c69ac0246d0: Pull complete [2022-12-13T12:14:34.362Z] ec43610c2a17: Pull complete [2022-12-13T12:14:34.620Z] 3a2ae6a8a46f: Pull complete [2022-12-13T12:14:34.620Z] 33b1e0a273af: Pull complete [2022-12-13T12:14:34.879Z] 5d3b04190fa2: Pull complete [2022-12-13T12:14:39.063Z] 2f39f015ded8: Pull complete [2022-12-13T12:14:39.063Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-13T12:14:39.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T12:14:39.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:14:39.131Z] prd-ubuntu20.04-docker-8c-8g-121063 does not seem to be running inside a container [2022-12-13T12:14:39.159Z] $ 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/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T12:14:41.087Z] $ docker top ad97f858ac46bc76b53a99d73057aa7378d48ffeba5277ad0715c0286b1fbbe4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:14:41.480Z] ---> job-cost.sh [2022-12-13T12:14:41.480Z] lf-activate-venv: SKIPPING [2022-12-13T12:14:41.480Z] INFO: No Stack... [2022-12-13T12:14:41.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T12:14:41.998Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T12:14:42.286Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2022-12-13T12:14:42.286Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T12:14:42.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [2022-12-13T12:14:42.304Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] did not exist. Created. [2022-12-13T12:14:42.304Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T12:14:42.607Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-13T12:14:42.646Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T12:14:42.655Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T12:14:42.673Z] $ docker stop --time=1 ad97f858ac46bc76b53a99d73057aa7378d48ffeba5277ad0715c0286b1fbbe4 [2022-12-13T12:14:43.823Z] $ docker rm -f ad97f858ac46bc76b53a99d73057aa7378d48ffeba5277ad0715c0286b1fbbe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T12:14:43.927Z] Failed in branch amd64 [2022-12-13T12:15:15.929Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121064 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2022-12-13T12:15:15.941Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-12-13T12:15:15.974Z] The recommended git tool is: git [2022-12-13T12:15:20.966Z] using credential edgex-jenkins-ssh [2022-12-13T12:15:20.988Z] Cloning the remote Git repository [2022-12-13T12:15:21.030Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T12:15:21.097Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-12-13T12:15:21.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T12:15:21.235Z] > git --version # timeout=10 [2022-12-13T12:15:21.257Z] > git --version # 'git version 2.25.1' [2022-12-13T12:15:21.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T12:15:21.307Z] Verifying host key using known hosts file [2022-12-13T12:15:21.501Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T12:15:21.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T12:15:23.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T12:15:23.328Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T12:15:24.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T12:15:24.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T12:15:24.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T12:15:24.170Z] Verifying host key using known hosts file [2022-12-13T12:15:24.177Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T12:15:24.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-13T12:15:24.758Z] Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [2022-12-13T12:15:25.007Z] Merge succeeded, producing cd887716400fa6c5dc30b8e8912a614e52a9d7c0 [2022-12-13T12:15:25.008Z] Checking out Revision cd887716400fa6c5dc30b8e8912a614e52a9d7c0 (PR-229) [2022-12-13T12:15:24.778Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T12:15:24.808Z] > git checkout -f cd887716400fa6c5dc30b8e8912a614e52a9d7c0 # timeout=10 [2022-12-13T12:15:24.908Z] > git remote # timeout=10 [2022-12-13T12:15:24.926Z] > git config --get remote.origin.url # timeout=10 [2022-12-13T12:15:24.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T12:15:24.958Z] Verifying host key using known hosts file [2022-12-13T12:15:24.961Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T12:15:24.968Z] > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [2022-12-13T12:15:24.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-13T12:15:25.015Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T12:15:25.029Z] > git checkout -f cd887716400fa6c5dc30b8e8912a614e52a9d7c0 # timeout=10 [2022-12-13T12:15:28.500Z] Commit message: "fix: Returning error message along with failure response in restdriver.go, line 287" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T12:15:29.382Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-13T12:15:29.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-13T12:15:29.382Z] Dload Upload Total Spent Left Speed [2022-12-13T12:15:29.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 43968 0 --:--:-- --:--:-- --:--:-- 44121 [Pipeline] sh [2022-12-13T12:15:30.366Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-13T12:15:30.694Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-13T12:15:30.694Z] + sudo tee /etc/docker/daemon.new [2022-12-13T12:15:30.694Z] { [2022-12-13T12:15:30.694Z] "registry-mirrors": [ [2022-12-13T12:15:30.694Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-13T12:15:30.694Z] ], [2022-12-13T12:15:30.694Z] "bip": "10.250.0.254/24", [2022-12-13T12:15:30.694Z] "hosts": [ [2022-12-13T12:15:30.694Z] "tcp://0.0.0.0:5555", [2022-12-13T12:15:30.694Z] "unix:///var/run/docker.sock" [2022-12-13T12:15:30.694Z] ], [2022-12-13T12:15:30.694Z] "mtu": 1458, [2022-12-13T12:15:30.694Z] "selinux-enabled": true, [2022-12-13T12:15:30.694Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-13T12:15:30.694Z] } [Pipeline] sh [2022-12-13T12:15:31.019Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-13T12:15:31.355Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T12:15:49.633Z] provisioning config files... [2022-12-13T12:15:49.657Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6275822010839080785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:15:50.000Z] ---> docker-login.sh [2022-12-13T12:15:50.001Z] nexus3.edgexfoundry.org:10001 [2022-12-13T12:15:50.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:15:50.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:15:50.539Z] Configure a credential helper to remove this warning. See [2022-12-13T12:15:50.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:15:50.539Z] [2022-12-13T12:15:50.539Z] Login Succeeded [2022-12-13T12:15:50.539Z] nexus3.edgexfoundry.org:10002 [2022-12-13T12:15:50.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:15:50.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:15:50.808Z] Configure a credential helper to remove this warning. See [2022-12-13T12:15:50.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:15:50.808Z] [2022-12-13T12:15:50.808Z] Login Succeeded [2022-12-13T12:15:50.808Z] nexus3.edgexfoundry.org:10003 [2022-12-13T12:15:51.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:15:51.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:15:51.347Z] Configure a credential helper to remove this warning. See [2022-12-13T12:15:51.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:15:51.347Z] [2022-12-13T12:15:51.347Z] Login Succeeded [2022-12-13T12:15:51.347Z] nexus3.edgexfoundry.org:10004 [2022-12-13T12:15:51.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:15:51.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:15:51.618Z] Configure a credential helper to remove this warning. See [2022-12-13T12:15:51.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:15:51.618Z] [2022-12-13T12:15:51.618Z] Login Succeeded [2022-12-13T12:15:51.618Z] docker.io [2022-12-13T12:15:51.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:15:52.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:15:52.152Z] Configure a credential helper to remove this warning. See [2022-12-13T12:15:52.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:15:52.152Z] [2022-12-13T12:15:52.152Z] Login Succeeded [2022-12-13T12:15:52.152Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T12:15:52.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T12:15:52.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:15:52.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:15:52.322Z] ========================================================= [2022-12-13T12:15:52.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-13T12:15:52.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:15:52.657Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-13T12:15:52.657Z] Sending build context to Docker daemon 149.5kB [2022-12-13T12:15:52.927Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T12:15:52.927Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T12:15:52.927Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-13T12:15:52.928Z] 9b18e9b68314: Pulling fs layer [2022-12-13T12:15:52.928Z] 35d82f9e3411: Pulling fs layer [2022-12-13T12:15:52.928Z] e16973657156: Pulling fs layer [2022-12-13T12:15:52.928Z] fc693d55d65f: Pulling fs layer [2022-12-13T12:15:52.928Z] 7e9fc2657dce: Pulling fs layer [2022-12-13T12:15:52.928Z] dda99020689f: Pulling fs layer [2022-12-13T12:15:52.928Z] db1c61fa0a46: Pulling fs layer [2022-12-13T12:15:52.928Z] 891c053d2c06: Pulling fs layer [2022-12-13T12:15:52.928Z] fc693d55d65f: Waiting [2022-12-13T12:15:52.928Z] 7e9fc2657dce: Waiting [2022-12-13T12:15:52.928Z] dda99020689f: Waiting [2022-12-13T12:15:52.928Z] db1c61fa0a46: Waiting [2022-12-13T12:15:52.928Z] 891c053d2c06: Waiting [2022-12-13T12:15:53.197Z] e16973657156: Download complete [2022-12-13T12:15:53.197Z] 35d82f9e3411: Verifying Checksum [2022-12-13T12:15:53.197Z] 35d82f9e3411: Download complete [2022-12-13T12:15:53.197Z] 7e9fc2657dce: Verifying Checksum [2022-12-13T12:15:53.197Z] 7e9fc2657dce: Download complete [2022-12-13T12:15:53.197Z] dda99020689f: Download complete [2022-12-13T12:15:53.197Z] 9b18e9b68314: Verifying Checksum [2022-12-13T12:15:53.197Z] 9b18e9b68314: Download complete [2022-12-13T12:15:54.202Z] 9b18e9b68314: Pull complete [2022-12-13T12:15:54.202Z] 891c053d2c06: Verifying Checksum [2022-12-13T12:15:54.202Z] 891c053d2c06: Download complete [2022-12-13T12:15:55.170Z] db1c61fa0a46: Download complete [2022-12-13T12:15:55.755Z] 35d82f9e3411: Pull complete [2022-12-13T12:15:55.755Z] e16973657156: Pull complete [2022-12-13T12:15:56.022Z] fc693d55d65f: Verifying Checksum [2022-12-13T12:15:56.022Z] fc693d55d65f: Download complete [2022-12-13T12:16:08.363Z] fc693d55d65f: Pull complete [2022-12-13T12:16:08.363Z] 7e9fc2657dce: Pull complete [2022-12-13T12:16:08.363Z] dda99020689f: Pull complete [2022-12-13T12:16:13.714Z] db1c61fa0a46: Pull complete [2022-12-13T12:16:15.686Z] 891c053d2c06: Pull complete [2022-12-13T12:16:15.686Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-13T12:16:15.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-13T12:16:15.686Z] ---> f96f9c87975a [2022-12-13T12:16:15.686Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T12:16:17.627Z] ---> Running in 63e460cc79a6 [2022-12-13T12:16:17.897Z] Removing intermediate container 63e460cc79a6 [2022-12-13T12:16:17.897Z] ---> 2dcd871cc91a [2022-12-13T12:16:17.897Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T12:16:17.897Z] ---> Running in 7bcb48f69e49 [2022-12-13T12:16:18.164Z] Removing intermediate container 7bcb48f69e49 [2022-12-13T12:16:18.164Z] ---> 054351bb26c3 [2022-12-13T12:16:18.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T12:16:18.164Z] ---> Running in 795d4f019584 [2022-12-13T12:16:18.433Z] Removing intermediate container 795d4f019584 [2022-12-13T12:16:18.433Z] ---> bf755c75b7e7 [2022-12-13T12:16:18.433Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T12:16:18.701Z] ---> Running in eecd7e2ccc78 [2022-12-13T12:16:18.969Z] Removing intermediate container eecd7e2ccc78 [2022-12-13T12:16:18.969Z] ---> 1552864aede6 [2022-12-13T12:16:18.969Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T12:16:18.969Z] ---> Running in 585da2bda7c5 [2022-12-13T12:16:19.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T12:16:20.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T12:16:21.174Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T12:16:21.174Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T12:16:21.174Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T12:16:21.174Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T12:16:21.174Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T12:16:21.174Z] OK: 226 MiB in 55 packages [2022-12-13T12:16:22.148Z] Removing intermediate container 585da2bda7c5 [2022-12-13T12:16:22.148Z] ---> 6d3599ff363d [2022-12-13T12:16:22.148Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T12:16:22.415Z] ---> Running in b57e023c05ed [2022-12-13T12:16:22.681Z] Removing intermediate container b57e023c05ed [2022-12-13T12:16:22.681Z] ---> 7a6254d38d12 [2022-12-13T12:16:22.681Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T12:16:22.948Z] ---> ac40bb1c998e [2022-12-13T12:16:22.948Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T12:16:23.224Z] ---> Running in 5f9e81fb1f73 [2022-12-13T12:17:19.627Z] Removing intermediate container 5f9e81fb1f73 [2022-12-13T12:17:19.627Z] ---> 4a1d56bfcd8c [2022-12-13T12:17:19.627Z] Step 11/12 : COPY . . [2022-12-13T12:17:19.627Z] ---> 267f4c4eb57c [2022-12-13T12:17:19.627Z] Step 12/12 : RUN $MAKE [2022-12-13T12:17:19.627Z] ---> Running in 43b70ce81860 [2022-12-13T12:17:19.627Z] noop [2022-12-13T12:17:19.627Z] Removing intermediate container 43b70ce81860 [2022-12-13T12:17:19.627Z] ---> 9e61d43c9a6c [2022-12-13T12:17:19.627Z] Successfully built 9e61d43c9a6c [2022-12-13T12:17:19.627Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:17:19.980Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T12:17:19.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:17:20.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-121064 does not seem to be running inside a container [2022-12-13T12:17:20.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T12:17:21.524Z] $ docker top b57e3f6c506c05366f18545107d2764d26686447bacc70a9c1d7e843bb54a986 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:17:22.351Z] + go version [2022-12-13T12:17:22.351Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-13T12:17:22.372Z] $ docker stop --time=1 b57e3f6c506c05366f18545107d2764d26686447bacc70a9c1d7e843bb54a986 [2022-12-13T12:17:24.003Z] $ docker rm -f b57e3f6c506c05366f18545107d2764d26686447bacc70a9c1d7e843bb54a986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:17:24.531Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T12:17:24.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:17:24.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-121064 does not seem to be running inside a container [2022-12-13T12:17:24.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T12:17:25.944Z] $ docker top 45f71c093cdc1a454890aa9740e8223d92b04191b03eb492163f59c85d9f8762 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:17:26.439Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2022-12-13T12:17:27.082Z] + make test [2022-12-13T12:17:27.082Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T12:17:28.492Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T12:18:50.106Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T12:18:50.106Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 26.8% of statements [2022-12-13T12:18:50.106Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-13T12:18:50.106Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-13T12:19:12.199Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-13T12:19:12.199Z] ./driver/protocolpropertykey.go [2022-12-13T12:19:12.199Z] ./driver/restdriver.go [2022-12-13T12:19:12.199Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-13T12:19:12.199Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-12-13T12:19:12.221Z] $ docker stop --time=1 45f71c093cdc1a454890aa9740e8223d92b04191b03eb492163f59c85d9f8762 [2022-12-13T12:19:13.930Z] $ docker rm -f 45f71c093cdc1a454890aa9740e8223d92b04191b03eb492163f59c85d9f8762 [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-12-13T12:19:14.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:19:14.896Z] [2022-12-13T12:19:14.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:19:15.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:19:15.494Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-13T12:19:15.494Z] 8998bd30e6a1: Pulling fs layer [2022-12-13T12:19:15.494Z] 04944245beec: Pulling fs layer [2022-12-13T12:19:15.494Z] 699f458cf7ca: Pulling fs layer [2022-12-13T12:19:15.494Z] 765212b225bb: Pulling fs layer [2022-12-13T12:19:15.494Z] f23df028b6ca: Pulling fs layer [2022-12-13T12:19:15.494Z] d65c8cfc05b1: Pulling fs layer [2022-12-13T12:19:15.494Z] 2437ff75d9bd: Pulling fs layer [2022-12-13T12:19:15.494Z] d65c8cfc05b1: Waiting [2022-12-13T12:19:15.494Z] 765212b225bb: Waiting [2022-12-13T12:19:15.494Z] f23df028b6ca: Waiting [2022-12-13T12:19:15.494Z] 04944245beec: Verifying Checksum [2022-12-13T12:19:15.494Z] 04944245beec: Download complete [2022-12-13T12:19:15.494Z] 765212b225bb: Verifying Checksum [2022-12-13T12:19:15.494Z] 765212b225bb: Download complete [2022-12-13T12:19:15.762Z] f23df028b6ca: Verifying Checksum [2022-12-13T12:19:15.762Z] f23df028b6ca: Download complete [2022-12-13T12:19:15.762Z] d65c8cfc05b1: Download complete [2022-12-13T12:19:15.762Z] 699f458cf7ca: Verifying Checksum [2022-12-13T12:19:15.762Z] 699f458cf7ca: Download complete [2022-12-13T12:19:16.346Z] 8998bd30e6a1: Verifying Checksum [2022-12-13T12:19:16.346Z] 8998bd30e6a1: Download complete [2022-12-13T12:19:18.302Z] 2437ff75d9bd: Verifying Checksum [2022-12-13T12:19:18.302Z] 2437ff75d9bd: Download complete [2022-12-13T12:19:20.245Z] 8998bd30e6a1: Pull complete [2022-12-13T12:19:20.511Z] 04944245beec: Pull complete [2022-12-13T12:19:21.923Z] 699f458cf7ca: Pull complete [2022-12-13T12:19:21.923Z] 765212b225bb: Pull complete [2022-12-13T12:19:22.507Z] f23df028b6ca: Pull complete [2022-12-13T12:19:22.776Z] d65c8cfc05b1: Pull complete [2022-12-13T12:19:37.767Z] 2437ff75d9bd: Pull complete [2022-12-13T12:19:37.767Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-13T12:19:37.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:19:37.767Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:19:37.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-121064 does not seem to be running inside a container [2022-12-13T12:19:38.042Z] $ 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-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-13T12:19:40.669Z] $ docker top 32a8bfe8bedba93f86d286a7e3a17bc82957e5b767b92ba512ef51ebe8492d19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:41.488Z] ---> job-cost.sh [2022-12-13T12:19:41.488Z] lf-activate-venv: SKIPPING [2022-12-13T12:19:41.488Z] INFO: No Stack... [2022-12-13T12:19:41.755Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-13T12:19:42.718Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T12:19:43.356Z] + + cat /w/workspace/device-rest-go/3/archives/cost.csvcut [2022-12-13T12:19:43.356Z] -d, -f6 [Pipeline] lock [2022-12-13T12:19:43.431Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [2022-12-13T12:19:43.438Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] did not exist. Created. [2022-12-13T12:19:43.438Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T12:19:43.882Z] /w/workspace/device-rest-go/3@tmp/durable-6899f73d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-13T12:19:44.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-13T12:19:44.308Z] Warning: overwriting stash ‘stack-cost’ [2022-12-13T12:19:44.856Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T12:19:44.866Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T12:19:44.883Z] $ docker stop --time=1 32a8bfe8bedba93f86d286a7e3a17bc82957e5b767b92ba512ef51ebe8492d19 [2022-12-13T12:19:46.505Z] $ docker rm -f 32a8bfe8bedba93f86d286a7e3a17bc82957e5b767b92ba512ef51ebe8492d19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T12:19:46.746Z] 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-12-13T12:19:47.411Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2022-12-13T12:19:47.411Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:19:47.411Z] total 16 [2022-12-13T12:19:47.411Z] drwxr-xr-x 3 root root 4096 Dec 13 12:14 . [2022-12-13T12:19:47.411Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 12:14 .. [2022-12-13T12:19:47.411Z] drwxr-xr-x 2 root root 4096 Dec 13 12:14 cost [2022-12-13T12:19:47.411Z] -rw-r--r-- 1 root root 86 Dec 13 12:14 cost.csv [2022-12-13T12:19:47.411Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:19:47.411Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:19:47.411Z] total 16 [2022-12-13T12:19:47.411Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 12:14 . [2022-12-13T12:19:47.411Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 12:14 .. [2022-12-13T12:19:47.411Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 12:14 cost [2022-12-13T12:19:47.411Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 13 12:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:47.699Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:48.559Z] ---> package-listing.sh [2022-12-13T12:19:48.559Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-13T12:19:48.559Z] ++ facter osfamily [2022-12-13T12:19:48.818Z] + OS_FAMILY=debian [2022-12-13T12:19:48.818Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2022-12-13T12:19:48.818Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-13T12:19:48.818Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-13T12:19:48.818Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-13T12:19:48.818Z] + PACKAGES=/tmp/packages_start.txt [2022-12-13T12:19:48.818Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T12:19:48.818Z] + PACKAGES=/tmp/packages_end.txt [2022-12-13T12:19:48.818Z] + case "${OS_FAMILY}" in [2022-12-13T12:19:48.818Z] + dpkg -l [2022-12-13T12:19:48.818Z] + grep '^ii' [2022-12-13T12:19:48.818Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-13T12:19:48.818Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-13T12:19:48.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-13T12:19:48.818Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T12:19:48.818Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2022-12-13T12:19:48.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2022-12-13T12:19:48.829Z] 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/gexfoundry_device-rest-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-13T12:19:49.105Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:19:49.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T12:19:49.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:19:49.719Z] prd-ubuntu20.04-docker-8c-8g-121063 does not seem to be running inside a container [2022-12-13T12:19:49.750Z] $ 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/gexfoundry_device-rest-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-12-13T12:19:49.963Z] $ docker top 0e6d68d4d5f5d606798371ae632d445b5f10151a472a842e09cf654f95977161 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:19:50.310Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-13T12:19:50.599Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-13T12:19:50.887Z] + ls /var/log/sa-host [2022-12-13T12:19:50.887Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T12:19:51.055Z] provisioning config files... [2022-12-13T12:19:51.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config8789738060393892709tmp [Pipeline] { [Pipeline] echo [2022-12-13T12:19:51.075Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:51.360Z] ---> create-netrc.sh [Pipeline] } [2022-12-13T12:19:51.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:51.689Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-13T12:19:51.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:51.983Z] ---> sudo-logs.sh [2022-12-13T12:19:51.983Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-13T12:19:52.014Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:52.299Z] ---> job-cost.sh [2022-12-13T12:19:52.300Z] lf-activate-venv: SKIPPING [2022-12-13T12:19:52.300Z] DEBUG: total: 0.2199999988079071 [2022-12-13T12:19:52.300Z] INFO: Retrieving Stack Cost... [2022-12-13T12:19:52.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T12:19:53.438Z] INFO: Archiving Costs [Pipeline] echo [2022-12-13T12:19:53.448Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:19:53.730Z] ---> logs-deploy.sh [2022-12-13T12:19:53.730Z] lf-activate-venv: SKIPPING [2022-12-13T12:19:53.730Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/3 [2022-12-13T12:19:53.731Z] INFO: archiving workspace using pattern(s): [2022-12-13T12:19:54.667Z] Archives upload complete. [2022-12-13T12:19:54.927Z] INFO: archiving logs to Nexus