Pull request #279 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 986b3151135833ed23d98e4cb2c318ea6fc54dea+539913158ea56f8dca24ab775bb8172a7292d425 (d4590c43543a29a075adaab6caf6b483f499f2cb) 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-ssh14150733299607823899.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13844401931370181122.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3853326167401640469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh300507065838325777.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3012486981959733229.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5828615207316865704.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5607’ Running on prd-ubuntu20.04-docker-8c-8g-5610 in /w/workspace/gexfoundry_device-rest-go_PR-279 [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-279 # 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 > 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 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 986b3151135833ed23d98e4cb2c318ea6fc54dea Merge succeeded, producing 986b3151135833ed23d98e4cb2c318ea6fc54dea Checking out Revision 986b3151135833ed23d98e4cb2c318ea6fc54dea (PR-279) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 986b3151135833ed23d98e4cb2c318ea6fc54dea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 986b3151135833ed23d98e4cb2c318ea6fc54dea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T21:00:09.914Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T21:00:10.082Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-23T21:00:10.189Z] ========================================================= [2023-03-23T21:00:10.189Z] EdgeX Global Pipelines Version Info [2023-03-23T21:00:10.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:00:10.918Z] ------------------- [2023-03-23T21:00:10.918Z] stable info: [2023-03-23T21:00:10.918Z] ------------------- [2023-03-23T21:00:10.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T21:00:10.918Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T21:00:10.918Z] Message: update stable to v1.0.245 [2023-03-23T21:00:11.488Z] ------------------- [2023-03-23T21:00:11.488Z] experimental info: [2023-03-23T21:00:11.488Z] ------------------- [2023-03-23T21:00:11.488Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T21:00:11.488Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T21:00:11.488Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T21:00:11.781Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-23T21:00:11.822Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-23T21:00:11.857Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T21:00:11.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T21:00:11.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T21:00:11.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T21:00:12.010Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T21:00:12.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-23T21:00:12.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T21:00:12.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T21:00:12.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T21:00:12.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-23T21:00:12.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T21:00:12.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T21:00:12.321Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T21:00:12.364Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T21:00:12.404Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T21:00:12.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T21:00:12.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T21:00:12.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T21:00:12.555Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-23T21:00:12.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-23T21:00:12.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T21:00:12.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T21:00:12.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T21:00:12.751Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T21:00:12.793Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T21:00:12.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo [2023-03-23T21:00:12.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo [2023-03-23T21:00:12.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo [2023-03-23T21:00:12.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 986b3151135833ed23d98e4cb2c318ea6fc54dea [Pipeline] echo [2023-03-23T21:00:12.991Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 986b315 [Pipeline] echo [2023-03-23T21:00:13.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T21:00:13.144Z] provisioning config files... [2023-03-23T21:00:13.160Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-279@tmp/config14123375882522693132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:00:13.498Z] ---> docker-login.sh [2023-03-23T21:00:13.498Z] nexus3.edgexfoundry.org:10001 [2023-03-23T21:00:13.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:13.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:13.757Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:13.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:13.757Z] [2023-03-23T21:00:13.757Z] Login Succeeded [2023-03-23T21:00:13.757Z] nexus3.edgexfoundry.org:10002 [2023-03-23T21:00:13.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:14.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:14.017Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:14.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:14.017Z] [2023-03-23T21:00:14.017Z] Login Succeeded [2023-03-23T21:00:14.017Z] nexus3.edgexfoundry.org:10003 [2023-03-23T21:00:14.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:14.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:14.017Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:14.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:14.017Z] [2023-03-23T21:00:14.017Z] Login Succeeded [2023-03-23T21:00:14.017Z] nexus3.edgexfoundry.org:10004 [2023-03-23T21:00:14.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:14.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:14.017Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:14.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:14.017Z] [2023-03-23T21:00:14.017Z] Login Succeeded [2023-03-23T21:00:14.017Z] docker.io [2023-03-23T21:00:14.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:15.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:15.218Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:15.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:15.218Z] [2023-03-23T21:00:15.218Z] Login Succeeded [2023-03-23T21:00:15.218Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T21:00:15.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T21:00:15.869Z] + git rev-list -1 --merges 986b3151135833ed23d98e4cb2c318ea6fc54dea~1..986b3151135833ed23d98e4cb2c318ea6fc54dea [Pipeline] echo [2023-03-23T21:00:15.928Z] -----------> git rev-list -1 --merges 986b3151135833ed23d98e4cb2c318ea6fc54dea~1..986b3151135833ed23d98e4cb2c318ea6fc54dea 986b3151135833ed23d98e4cb2c318ea6fc54dea [false] [Pipeline] sh [2023-03-23T21:00:16.317Z] + git log --format=format:%s -1 986b3151135833ed23d98e4cb2c318ea6fc54dea [Pipeline] echo [2023-03-23T21:00:16.353Z] ========================================================= [2023-03-23T21:00:16.353Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T21:00:16.353Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T21:00:16.784Z] + git log --format=format:%s -1 986b3151135833ed23d98e4cb2c318ea6fc54dea [Pipeline] echo [2023-03-23T21:00:16.818Z] [semverPrep] GIT_COMMIT: 986b3151135833ed23d98e4cb2c318ea6fc54dea, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-23T21:00:16.846Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T21:00:17.203Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T21:00:17.203Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T21:00:17.203Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T21:00:17.203Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T21:00:17.203Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T21:00:17.203Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T21:00:17.203Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:17.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T21:00:17.631Z] [2023-03-23T21:00:17.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:18.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T21:00:18.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T21:00:18.001Z] b85a868b505f: Pulling fs layer [2023-03-23T21:00:18.001Z] e2be974225ed: Pulling fs layer [2023-03-23T21:00:18.001Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T21:00:18.001Z] 988bab9f4d93: Pulling fs layer [2023-03-23T21:00:18.001Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T21:00:18.001Z] eaf3925da568: Pulling fs layer [2023-03-23T21:00:18.001Z] bab4dde63d76: Pulling fs layer [2023-03-23T21:00:18.001Z] bde34c3a00c8: Pulling fs layer [2023-03-23T21:00:18.001Z] b352a97aabf1: Pulling fs layer [2023-03-23T21:00:18.001Z] 4872d77fe225: Pulling fs layer [2023-03-23T21:00:18.001Z] 5851b861e8e6: Pulling fs layer [2023-03-23T21:00:18.001Z] bde34c3a00c8: Waiting [2023-03-23T21:00:18.001Z] bab4dde63d76: Waiting [2023-03-23T21:00:18.001Z] eaf3925da568: Waiting [2023-03-23T21:00:18.001Z] b352a97aabf1: Waiting [2023-03-23T21:00:18.001Z] 5851b861e8e6: Waiting [2023-03-23T21:00:18.001Z] 988bab9f4d93: Waiting [2023-03-23T21:00:18.001Z] 4872d77fe225: Waiting [2023-03-23T21:00:18.001Z] 1469e6f7b9e6: Waiting [2023-03-23T21:00:18.001Z] e2be974225ed: Verifying Checksum [2023-03-23T21:00:18.001Z] e2be974225ed: Download complete [2023-03-23T21:00:18.001Z] 988bab9f4d93: Verifying Checksum [2023-03-23T21:00:18.001Z] 988bab9f4d93: Download complete [2023-03-23T21:00:18.262Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T21:00:18.262Z] 1469e6f7b9e6: Download complete [2023-03-23T21:00:18.262Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T21:00:18.262Z] 339a4e72a1f5: Download complete [2023-03-23T21:00:18.262Z] eaf3925da568: Download complete [2023-03-23T21:00:18.262Z] bde34c3a00c8: Verifying Checksum [2023-03-23T21:00:18.262Z] bde34c3a00c8: Download complete [2023-03-23T21:00:18.262Z] b352a97aabf1: Verifying Checksum [2023-03-23T21:00:18.262Z] b352a97aabf1: Download complete [2023-03-23T21:00:18.262Z] 4872d77fe225: Download complete [2023-03-23T21:00:18.262Z] 5851b861e8e6: Verifying Checksum [2023-03-23T21:00:18.262Z] 5851b861e8e6: Download complete [2023-03-23T21:00:18.262Z] b85a868b505f: Verifying Checksum [2023-03-23T21:00:18.262Z] b85a868b505f: Download complete [2023-03-23T21:00:18.523Z] bab4dde63d76: Verifying Checksum [2023-03-23T21:00:18.523Z] bab4dde63d76: Download complete [2023-03-23T21:00:19.460Z] b85a868b505f: Pull complete [2023-03-23T21:00:19.460Z] e2be974225ed: Pull complete [2023-03-23T21:00:20.029Z] 339a4e72a1f5: Pull complete [2023-03-23T21:00:20.029Z] 988bab9f4d93: Pull complete [2023-03-23T21:00:20.289Z] 1469e6f7b9e6: Pull complete [2023-03-23T21:00:20.548Z] eaf3925da568: Pull complete [2023-03-23T21:00:22.462Z] bab4dde63d76: Pull complete [2023-03-23T21:00:22.462Z] bde34c3a00c8: Pull complete [2023-03-23T21:00:22.462Z] b352a97aabf1: Pull complete [2023-03-23T21:00:22.462Z] 4872d77fe225: Pull complete [2023-03-23T21:00:22.462Z] 5851b861e8e6: Pull complete [2023-03-23T21:00:22.462Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T21:00:22.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T21:00:22.462Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:00:22.704Z] prd-ubuntu20.04-docker-8c-8g-5610 does not seem to be running inside a container [2023-03-23T21:00:22.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-279 -v /w/workspace/gexfoundry_device-rest-go_PR-279:/w/workspace/gexfoundry_device-rest-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-279@tmp:/w/workspace/gexfoundry_device-rest-go_PR-279@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T21:00:25.621Z] $ docker top 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b -eo pid,comm [2023-03-23T21:00:25.673Z] 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). [2023-03-23T21:00:25.673Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T21:00:25.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T21:00:25.802Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T21:00:25.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T21:00:25.904Z] $ docker exec 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b ssh-agent [2023-03-23T21:00:26.002Z] SSH_AUTH_SOCK=/tmp/ssh-hTcltOCzPtgG/agent.33 [2023-03-23T21:00:26.002Z] SSH_AGENT_PID=39 [2023-03-23T21:00:26.008Z] Running ssh-add (command line suppressed) [2023-03-23T21:00:26.116Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-279@tmp/private_key_11047936529275726997.key (/w/workspace/gexfoundry_device-rest-go_PR-279@tmp/private_key_11047936529275726997.key) [2023-03-23T21:00:26.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T21:00:26.467Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T21:00:26.491Z] $ docker exec --env ******** --env ******** 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b ssh-agent -k [2023-03-23T21:00:26.584Z] unset SSH_AUTH_SOCK; [2023-03-23T21:00:26.584Z] unset SSH_AGENT_PID; [2023-03-23T21:00:26.584Z] echo Agent pid 39 killed; [2023-03-23T21:00:26.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T21:00:26.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T21:00:26.692Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T21:00:26.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T21:00:26.794Z] $ docker exec 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b ssh-agent [2023-03-23T21:00:26.893Z] SSH_AUTH_SOCK=/tmp/ssh-cmjFgNMYwGRy/agent.71 [2023-03-23T21:00:26.893Z] SSH_AGENT_PID=77 [2023-03-23T21:00:26.898Z] Running ssh-add (command line suppressed) [2023-03-23T21:00:27.003Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-279@tmp/private_key_11172195121757011144.key (/w/workspace/gexfoundry_device-rest-go_PR-279@tmp/private_key_11172195121757011144.key) [2023-03-23T21:00:27.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T21:00:27.358Z] + git semver init [2023-03-23T21:00:27.617Z] 2023-03-23 21:00:27,522 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T21:00:27.617Z] 2023-03-23 21:00:27,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-279/.semver [2023-03-23T21:00:27.617Z] 2023-03-23 21:00:27,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-279/.semver [2023-03-23T21:00:27.617Z] 2023-03-23 21:00:27,523 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-279/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-279, universal_newlines=False, shell=None, istream=None) [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,630 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-279/.git/info/exclude [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,630 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-279/.semver/PR-279 with force:False [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,630 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-279/.semver/PR-279 [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,633 [execute] INFO git cat-file --batch-check [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,638 [execute] INFO git cat-file --batch [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T21:00:29.001Z] 2023-03-23 21:00:28,642 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-279/.semver/PR-279 [2023-03-23T21:00:29.001Z] 0.0.0 [Pipeline] } [2023-03-23T21:00:29.025Z] $ docker exec --env ******** --env ******** 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b ssh-agent -k [2023-03-23T21:00:29.130Z] unset SSH_AUTH_SOCK; [2023-03-23T21:00:29.131Z] unset SSH_AGENT_PID; [2023-03-23T21:00:29.131Z] echo Agent pid 77 killed; [2023-03-23T21:00:29.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T21:00:29.564Z] + git semver [Pipeline] } [2023-03-23T21:00:29.843Z] $ docker stop --time=1 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b [2023-03-23T21:00:31.165Z] $ docker rm -f --volumes 0e8742008bba5cd69be851b989d081811ca8e5bd0ddcb265327844fd9baf9e2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T21:00:31.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T21:00:31.863Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T21:00:31.879Z] [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 [2023-03-23T21:00:32.411Z] provisioning config files... [2023-03-23T21:00:32.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-279@tmp/config7946396898739084066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:00:32.757Z] ---> docker-login.sh [2023-03-23T21:00:32.757Z] nexus3.edgexfoundry.org:10001 [2023-03-23T21:00:32.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:32.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:32.757Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:32.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:32.757Z] [2023-03-23T21:00:32.757Z] Login Succeeded [2023-03-23T21:00:32.757Z] nexus3.edgexfoundry.org:10002 [2023-03-23T21:00:32.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:32.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:32.757Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:32.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:32.757Z] [2023-03-23T21:00:32.757Z] Login Succeeded [2023-03-23T21:00:32.757Z] nexus3.edgexfoundry.org:10003 [2023-03-23T21:00:33.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:33.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:33.016Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:33.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:33.016Z] [2023-03-23T21:00:33.016Z] Login Succeeded [2023-03-23T21:00:33.016Z] nexus3.edgexfoundry.org:10004 [2023-03-23T21:00:33.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:33.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:33.016Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:33.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:33.016Z] [2023-03-23T21:00:33.016Z] Login Succeeded [2023-03-23T21:00:33.016Z] docker.io [2023-03-23T21:00:33.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:00:33.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:00:33.276Z] Configure a credential helper to remove this warning. See [2023-03-23T21:00:33.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:00:33.276Z] [2023-03-23T21:00:33.276Z] Login Succeeded [2023-03-23T21:00:33.276Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T21:00:33.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T21:00:33.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:00:33.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:00:33.559Z] ========================================================= [2023-03-23T21:00:33.559Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T21:00:33.559Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:00:34.017Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T21:00:34.017Z] Sending build context to Docker daemon 10.87MB [2023-03-23T21:00:34.017Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T21:00:34.017Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T21:00:34.017Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T21:00:34.017Z] 63b65145d645: Pulling fs layer [2023-03-23T21:00:34.017Z] a2d21d5440eb: Pulling fs layer [2023-03-23T21:00:34.017Z] 935e6c44a52c: Pulling fs layer [2023-03-23T21:00:34.017Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T21:00:34.017Z] 30dea6a524f1: Pulling fs layer [2023-03-23T21:00:34.017Z] a2aff8979fd8: Pulling fs layer [2023-03-23T21:00:34.017Z] 6808be2612f2: Pulling fs layer [2023-03-23T21:00:34.017Z] f25807f1079a: Pulling fs layer [2023-03-23T21:00:34.017Z] a2aff8979fd8: Waiting [2023-03-23T21:00:34.017Z] 30dea6a524f1: Waiting [2023-03-23T21:00:34.017Z] 6808be2612f2: Waiting [2023-03-23T21:00:34.017Z] f25807f1079a: Waiting [2023-03-23T21:00:34.017Z] 94cc34f8dd06: Waiting [2023-03-23T21:00:34.017Z] a2d21d5440eb: Verifying Checksum [2023-03-23T21:00:34.017Z] a2d21d5440eb: Download complete [2023-03-23T21:00:34.017Z] 94cc34f8dd06: Download complete [2023-03-23T21:00:34.280Z] 30dea6a524f1: Download complete [2023-03-23T21:00:34.280Z] 63b65145d645: Verifying Checksum [2023-03-23T21:00:34.280Z] 63b65145d645: Download complete [2023-03-23T21:00:34.280Z] a2aff8979fd8: Verifying Checksum [2023-03-23T21:00:34.280Z] a2aff8979fd8: Download complete [2023-03-23T21:00:34.280Z] 63b65145d645: Pull complete [2023-03-23T21:00:34.545Z] a2d21d5440eb: Pull complete [2023-03-23T21:00:34.806Z] f25807f1079a: Verifying Checksum [2023-03-23T21:00:34.806Z] f25807f1079a: Download complete [2023-03-23T21:00:34.806Z] 935e6c44a52c: Verifying Checksum [2023-03-23T21:00:34.806Z] 935e6c44a52c: Download complete [2023-03-23T21:00:35.373Z] 6808be2612f2: Verifying Checksum [2023-03-23T21:00:35.373Z] 6808be2612f2: Download complete [2023-03-23T21:00:37.903Z] 935e6c44a52c: Pull complete [2023-03-23T21:00:37.903Z] 94cc34f8dd06: Pull complete [2023-03-23T21:00:37.903Z] 30dea6a524f1: Pull complete [2023-03-23T21:00:38.162Z] a2aff8979fd8: Pull complete [2023-03-23T21:00:40.692Z] 6808be2612f2: Pull complete [2023-03-23T21:00:41.257Z] f25807f1079a: Pull complete [2023-03-23T21:00:41.257Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T21:00:41.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T21:00:41.257Z] ---> 3b553350e43f [2023-03-23T21:00:41.257Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:00:46.530Z] ---> Running in e24df98c6d08 [2023-03-23T21:00:46.530Z] Removing intermediate container e24df98c6d08 [2023-03-23T21:00:46.530Z] ---> 5bd49c6f955b [2023-03-23T21:00:46.530Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:00:46.530Z] ---> Running in ff344723ccfa [2023-03-23T21:00:46.530Z] Removing intermediate container ff344723ccfa [2023-03-23T21:00:46.530Z] ---> b215a09fd2ec [2023-03-23T21:00:46.530Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:00:46.530Z] ---> Running in c276190f1748 [2023-03-23T21:00:46.530Z] Removing intermediate container c276190f1748 [2023-03-23T21:00:46.530Z] ---> c5d3e56f4663 [2023-03-23T21:00:46.530Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:00:46.530Z] ---> Running in 1cf6cb2fa8cb [2023-03-23T21:00:46.530Z] Removing intermediate container 1cf6cb2fa8cb [2023-03-23T21:00:46.530Z] ---> aec8b4d15898 [2023-03-23T21:00:46.530Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:00:46.530Z] ---> Running in 5be472b42f52 [2023-03-23T21:00:46.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:47.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T21:00:47.258Z] Still waiting to schedule task [2023-03-23T21:00:47.259Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5608’ [2023-03-23T21:00:47.308Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T21:00:47.309Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T21:00:47.309Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T21:00:47.309Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T21:00:47.309Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:00:47.309Z] OK: 269 MiB in 57 packages [2023-03-23T21:00:47.877Z] Removing intermediate container 5be472b42f52 [2023-03-23T21:00:47.877Z] ---> b12808e8e0c9 [2023-03-23T21:00:47.877Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-23T21:00:47.877Z] ---> Running in ffb8cf181f42 [2023-03-23T21:00:47.877Z] Removing intermediate container ffb8cf181f42 [2023-03-23T21:00:47.877Z] ---> f0dc5d813e17 [2023-03-23T21:00:47.877Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T21:00:47.877Z] ---> e371909a3a67 [2023-03-23T21:00:47.877Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:00:47.877Z] ---> Running in e58f14487c19 [2023-03-23T21:01:19.948Z] Removing intermediate container e58f14487c19 [2023-03-23T21:01:19.948Z] ---> 710ac8ac899b [2023-03-23T21:01:19.948Z] Step 11/12 : COPY . . [2023-03-23T21:01:19.948Z] ---> 62ae6530dd01 [2023-03-23T21:01:19.948Z] Step 12/12 : RUN $MAKE [2023-03-23T21:01:19.948Z] ---> Running in 99877daa0ae4 [2023-03-23T21:01:19.948Z] noop [2023-03-23T21:01:19.948Z] Removing intermediate container 99877daa0ae4 [2023-03-23T21:01:19.948Z] ---> 4e3e2035eba5 [2023-03-23T21:01:19.948Z] Successfully built 4e3e2035eba5 [2023-03-23T21:01:19.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:01:20.395Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T21:01:20.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:01:20.542Z] prd-ubuntu20.04-docker-8c-8g-5610 does not seem to be running inside a container [2023-03-23T21:01:20.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-279 -v /w/workspace/gexfoundry_device-rest-go_PR-279:/w/workspace/gexfoundry_device-rest-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-279@tmp:/w/workspace/gexfoundry_device-rest-go_PR-279@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 ******** ci-base-image-x86_64 cat [2023-03-23T21:01:20.905Z] $ docker top 3988af812b1adce71ec5c053ddfa1363df2c624d9e27cf06b95232fe4a4aeffd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:01:21.293Z] + go version [2023-03-23T21:01:21.293Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T21:01:21.324Z] $ docker stop --time=1 3988af812b1adce71ec5c053ddfa1363df2c624d9e27cf06b95232fe4a4aeffd [2023-03-23T21:01:22.582Z] $ docker rm -f --volumes 3988af812b1adce71ec5c053ddfa1363df2c624d9e27cf06b95232fe4a4aeffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:01:23.282Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T21:01:23.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:01:23.432Z] prd-ubuntu20.04-docker-8c-8g-5610 does not seem to be running inside a container [2023-03-23T21:01:23.465Z] $ 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-279 -v /w/workspace/gexfoundry_device-rest-go_PR-279:/w/workspace/gexfoundry_device-rest-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-279@tmp:/w/workspace/gexfoundry_device-rest-go_PR-279@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 ******** ci-base-image-x86_64 cat [2023-03-23T21:01:23.811Z] $ docker top 75ca881abe503bb5e773d573a1e415af6ce63fc9f743ec3c3748f2b374be4f5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:01:24.203Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-279 [Pipeline] fileExists [Pipeline] sh [2023-03-23T21:01:24.550Z] + make test [2023-03-23T21:01:24.550Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T21:01:29.817Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-23T21:01:39.783Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-23T21:01:39.783Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: too many errors [2023-03-23T21:01:39.783Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.0% of statements [2023-03-23T21:01:39.783Z] FAIL [2023-03-23T21:01:39.783Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-23T21:01:39.832Z] $ docker stop --time=1 75ca881abe503bb5e773d573a1e415af6ce63fc9f743ec3c3748f2b374be4f5a [2023-03-23T21:01:43.015Z] $ docker rm -f --volumes 75ca881abe503bb5e773d573a1e415af6ce63fc9f743ec3c3748f2b374be4f5a [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 [2023-03-23T21:01:44.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:44.155Z] [2023-03-23T21:01:44.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:01:44.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:44.537Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T21:01:44.537Z] 5eb5b503b376: Pulling fs layer [2023-03-23T21:01:44.537Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T21:01:44.537Z] ec43610c2a17: Pulling fs layer [2023-03-23T21:01:44.537Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T21:01:44.537Z] 33b1e0a273af: Pulling fs layer [2023-03-23T21:01:44.537Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T21:01:44.537Z] 2f39f015ded8: Pulling fs layer [2023-03-23T21:01:44.537Z] 3a2ae6a8a46f: Waiting [2023-03-23T21:01:44.537Z] 33b1e0a273af: Waiting [2023-03-23T21:01:44.537Z] 5d3b04190fa2: Waiting [2023-03-23T21:01:44.537Z] 2f39f015ded8: Waiting [2023-03-23T21:01:44.537Z] 5c69ac0246d0: Verifying Checksum [2023-03-23T21:01:44.537Z] 5c69ac0246d0: Download complete [2023-03-23T21:01:44.537Z] 3a2ae6a8a46f: Download complete [2023-03-23T21:01:44.796Z] 33b1e0a273af: Verifying Checksum [2023-03-23T21:01:44.796Z] 33b1e0a273af: Download complete [2023-03-23T21:01:44.796Z] ec43610c2a17: Verifying Checksum [2023-03-23T21:01:44.797Z] ec43610c2a17: Download complete [2023-03-23T21:01:44.797Z] 5d3b04190fa2: Verifying Checksum [2023-03-23T21:01:44.797Z] 5d3b04190fa2: Download complete [2023-03-23T21:01:44.797Z] 5eb5b503b376: Verifying Checksum [2023-03-23T21:01:44.797Z] 5eb5b503b376: Download complete [2023-03-23T21:01:45.362Z] 2f39f015ded8: Download complete [2023-03-23T21:01:46.298Z] 5eb5b503b376: Pull complete [2023-03-23T21:01:46.298Z] 5c69ac0246d0: Pull complete [2023-03-23T21:01:46.557Z] ec43610c2a17: Pull complete [2023-03-23T21:01:46.816Z] 3a2ae6a8a46f: Pull complete [2023-03-23T21:01:46.816Z] 33b1e0a273af: Pull complete [2023-03-23T21:01:47.075Z] 5d3b04190fa2: Pull complete [2023-03-23T21:01:52.462Z] 2f39f015ded8: Pull complete [2023-03-23T21:01:52.462Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T21:01:52.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:01:52.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:01:52.701Z] prd-ubuntu20.04-docker-8c-8g-5610 does not seem to be running inside a container [2023-03-23T21:01:52.728Z] $ 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-279 -v /w/workspace/gexfoundry_device-rest-go_PR-279:/w/workspace/gexfoundry_device-rest-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-279@tmp:/w/workspace/gexfoundry_device-rest-go_PR-279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T21:01:56.734Z] $ docker top 3407554f22eb37c5668f308429e8819a0751e97f74fe93abde5eb360b75cafcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:01:57.171Z] ---> job-cost.sh [2023-03-23T21:01:57.171Z] lf-activate-venv: SKIPPING [2023-03-23T21:01:57.171Z] INFO: No Stack... [2023-03-23T21:01:57.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T21:01:57.694Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T21:01:58.006Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-279/archives/cost.csv [2023-03-23T21:01:58.006Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T21:01:58.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [2023-03-23T21:01:58.052Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] did not exist. Created. [2023-03-23T21:01:58.052Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T21:01:58.435Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T21:01:58.493Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T21:01:58.511Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T21:01:58.577Z] $ docker stop --time=1 3407554f22eb37c5668f308429e8819a0751e97f74fe93abde5eb360b75cafcf [2023-03-23T21:01:59.731Z] $ docker rm -f --volumes 3407554f22eb37c5668f308429e8819a0751e97f74fe93abde5eb360b75cafcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T21:02:00.060Z] Failed in branch amd64 [2023-03-23T21:03:55.205Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5612 in /w/workspace/gexfoundry_device-rest-go_PR-279 [Pipeline] { [Pipeline] ws [2023-03-23T21:03:55.266Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-23T21:03:55.343Z] The recommended git tool is: git [2023-03-23T21:04:01.561Z] using credential edgex-jenkins-ssh [2023-03-23T21:04:01.584Z] Cloning the remote Git repository [2023-03-23T21:04:01.645Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:04:01.754Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-23T21:04:01.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:04:01.922Z] > git --version # timeout=10 [2023-03-23T21:04:01.949Z] > git --version # 'git version 2.25.1' [2023-03-23T21:04:01.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:04:02.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T21:04:04.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-23T21:04:04.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T21:04:05.180Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-23T21:04:05.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-23T21:04:05.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:04:05.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T21:04:05.792Z] Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 986b3151135833ed23d98e4cb2c318ea6fc54dea [2023-03-23T21:04:06.114Z] Merge succeeded, producing 986b3151135833ed23d98e4cb2c318ea6fc54dea [2023-03-23T21:04:06.114Z] Checking out Revision 986b3151135833ed23d98e4cb2c318ea6fc54dea (PR-279) [2023-03-23T21:04:06.701Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-23T21:04:06.762Z] > git --version # timeout=10 [2023-03-23T21:04:06.775Z] > git --version # 'git version 2.25.1' [2023-03-23T21:04:06.795Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T21:04:05.816Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T21:04:05.904Z] > git checkout -f 986b3151135833ed23d98e4cb2c318ea6fc54dea # timeout=10 [2023-03-23T21:04:06.003Z] > git remote # timeout=10 [2023-03-23T21:04:06.027Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T21:04:06.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T21:04:06.071Z] > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [2023-03-23T21:04:06.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T21:04:06.125Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T21:04:06.144Z] > git checkout -f 986b3151135833ed23d98e4cb2c318ea6fc54dea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T21:04:07.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T21:04:07.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T21:04:07.962Z] Dload Upload Total Spent Left Speed [2023-03-23T21:04:07.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-23T21:04:08.631Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T21:04:08.990Z] + sudo tee /etc/docker/daemon.new [2023-03-23T21:04:08.990Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T21:04:08.990Z] { [2023-03-23T21:04:08.990Z] "registry-mirrors": [ [2023-03-23T21:04:08.990Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T21:04:08.990Z] ], [2023-03-23T21:04:08.990Z] "bip": "10.250.0.254/24", [2023-03-23T21:04:08.990Z] "hosts": [ [2023-03-23T21:04:08.990Z] "tcp://0.0.0.0:5555", [2023-03-23T21:04:08.990Z] "unix:///var/run/docker.sock" [2023-03-23T21:04:08.990Z] ], [2023-03-23T21:04:08.990Z] "mtu": 1458, [2023-03-23T21:04:08.990Z] "selinux-enabled": true, [2023-03-23T21:04:08.990Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T21:04:08.990Z] } [Pipeline] sh [2023-03-23T21:04:09.351Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T21:04:09.708Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T21:04:28.078Z] provisioning config files... [2023-03-23T21:04:28.110Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8357532454682175300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:04:28.517Z] ---> docker-login.sh [2023-03-23T21:04:28.517Z] nexus3.edgexfoundry.org:10001 [2023-03-23T21:04:29.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:04:29.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:04:29.110Z] Configure a credential helper to remove this warning. See [2023-03-23T21:04:29.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:04:29.110Z] [2023-03-23T21:04:29.110Z] Login Succeeded [2023-03-23T21:04:29.110Z] nexus3.edgexfoundry.org:10002 [2023-03-23T21:04:29.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:04:29.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:04:29.653Z] Configure a credential helper to remove this warning. See [2023-03-23T21:04:29.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:04:29.653Z] [2023-03-23T21:04:29.653Z] Login Succeeded [2023-03-23T21:04:29.653Z] nexus3.edgexfoundry.org:10003 [2023-03-23T21:04:29.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:04:29.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:04:29.923Z] Configure a credential helper to remove this warning. See [2023-03-23T21:04:29.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:04:29.923Z] [2023-03-23T21:04:29.923Z] Login Succeeded [2023-03-23T21:04:29.923Z] nexus3.edgexfoundry.org:10004 [2023-03-23T21:04:30.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:04:30.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:04:30.200Z] Configure a credential helper to remove this warning. See [2023-03-23T21:04:30.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:04:30.200Z] [2023-03-23T21:04:30.200Z] Login Succeeded [2023-03-23T21:04:30.200Z] docker.io [2023-03-23T21:04:30.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T21:04:30.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T21:04:30.745Z] Configure a credential helper to remove this warning. See [2023-03-23T21:04:30.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T21:04:30.745Z] [2023-03-23T21:04:30.745Z] Login Succeeded [2023-03-23T21:04:30.745Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T21:04:31.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T21:04:31.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:04:31.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T21:04:31.517Z] ========================================================= [2023-03-23T21:04:31.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T21:04:31.517Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:04:32.012Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T21:04:32.012Z] Sending build context to Docker daemon 138.2kB [2023-03-23T21:04:32.283Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T21:04:32.283Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T21:04:32.567Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T21:04:32.567Z] af6eaf76a39c: Pulling fs layer [2023-03-23T21:04:32.567Z] 55522c791124: Pulling fs layer [2023-03-23T21:04:32.567Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T21:04:32.567Z] 169dfbe0d373: Pulling fs layer [2023-03-23T21:04:32.567Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T21:04:32.567Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T21:04:32.567Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T21:04:32.567Z] e1ff8fa3b103: Waiting [2023-03-23T21:04:32.567Z] 52ebb69f0ebf: Waiting [2023-03-23T21:04:32.567Z] 5abe8eddf0d5: Waiting [2023-03-23T21:04:32.567Z] 169dfbe0d373: Waiting [2023-03-23T21:04:32.567Z] 55522c791124: Verifying Checksum [2023-03-23T21:04:32.567Z] 55522c791124: Download complete [2023-03-23T21:04:32.567Z] 169dfbe0d373: Verifying Checksum [2023-03-23T21:04:32.567Z] 169dfbe0d373: Download complete [2023-03-23T21:04:32.567Z] e1ff8fa3b103: Verifying Checksum [2023-03-23T21:04:32.567Z] e1ff8fa3b103: Download complete [2023-03-23T21:04:32.567Z] af6eaf76a39c: Download complete [2023-03-23T21:04:34.149Z] af6eaf76a39c: Pull complete [2023-03-23T21:04:34.149Z] 5abe8eddf0d5: Verifying Checksum [2023-03-23T21:04:34.149Z] 5abe8eddf0d5: Download complete [2023-03-23T21:04:34.425Z] 55522c791124: Pull complete [2023-03-23T21:04:35.406Z] ce5c4a1c91eb: Verifying Checksum [2023-03-23T21:04:35.406Z] ce5c4a1c91eb: Download complete [2023-03-23T21:04:35.406Z] 52ebb69f0ebf: Download complete [2023-03-23T21:04:47.757Z] ce5c4a1c91eb: Pull complete [2023-03-23T21:04:47.757Z] 169dfbe0d373: Pull complete [2023-03-23T21:04:47.757Z] e1ff8fa3b103: Pull complete [2023-03-23T21:04:54.447Z] 52ebb69f0ebf: Pull complete [2023-03-23T21:04:55.419Z] 5abe8eddf0d5: Pull complete [2023-03-23T21:04:55.419Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T21:04:55.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T21:04:55.419Z] ---> 6cb57ee374ae [2023-03-23T21:04:55.419Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T21:04:57.389Z] ---> Running in 0fc53f02c0e8 [2023-03-23T21:04:57.660Z] Removing intermediate container 0fc53f02c0e8 [2023-03-23T21:04:57.661Z] ---> 5d791ca9bd81 [2023-03-23T21:04:57.661Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T21:04:57.929Z] ---> Running in b6ca9613815d [2023-03-23T21:04:58.199Z] Removing intermediate container b6ca9613815d [2023-03-23T21:04:58.199Z] ---> 19222bb77a5b [2023-03-23T21:04:58.199Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-23T21:04:58.199Z] ---> Running in 5c0a3ba176b7 [2023-03-23T21:04:58.469Z] Removing intermediate container 5c0a3ba176b7 [2023-03-23T21:04:58.469Z] ---> 289ef960131a [2023-03-23T21:04:58.470Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T21:04:58.739Z] ---> Running in afe6a2244d35 [2023-03-23T21:04:59.012Z] Removing intermediate container afe6a2244d35 [2023-03-23T21:04:59.012Z] ---> f1afb0bd1cd5 [2023-03-23T21:04:59.012Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T21:04:59.012Z] ---> Running in 06d60cc2a81e [2023-03-23T21:05:00.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T21:05:00.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T21:05:01.678Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T21:05:01.678Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T21:05:01.678Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T21:05:01.678Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T21:05:01.678Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T21:05:01.948Z] OK: 268 MiB in 57 packages [2023-03-23T21:05:02.925Z] Removing intermediate container 06d60cc2a81e [2023-03-23T21:05:02.925Z] ---> d936fc93af5e [2023-03-23T21:05:02.925Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-23T21:05:02.925Z] ---> Running in a16a6a2c72b8 [2023-03-23T21:05:03.198Z] Removing intermediate container a16a6a2c72b8 [2023-03-23T21:05:03.198Z] ---> 834d65e39cdc [2023-03-23T21:05:03.198Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T21:05:03.788Z] ---> f6699f96e8c5 [2023-03-23T21:05:03.788Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T21:05:03.788Z] ---> Running in 6c559da4cfe5 [2023-03-23T21:06:25.483Z] Removing intermediate container 6c559da4cfe5 [2023-03-23T21:06:25.483Z] ---> df6fe9c233f7 [2023-03-23T21:06:25.483Z] Step 11/12 : COPY . . [2023-03-23T21:06:25.483Z] ---> f55e5d58994c [2023-03-23T21:06:25.483Z] Step 12/12 : RUN $MAKE [2023-03-23T21:06:25.483Z] ---> Running in ac0dbb618037 [2023-03-23T21:06:25.483Z] noop [2023-03-23T21:06:25.483Z] Removing intermediate container ac0dbb618037 [2023-03-23T21:06:25.483Z] ---> d5746db0e4ed [2023-03-23T21:06:25.483Z] Successfully built d5746db0e4ed [2023-03-23T21:06:25.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:06:25.969Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T21:06:25.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:06:26.245Z] prd-ubuntu20.04-docker-arm64-4c-16g-5612 does not seem to be running inside a container [2023-03-23T21:06:26.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-03-23T21:06:27.543Z] $ docker top 65b02d970f6e054c1fdc052ead46e2f85b8ac3be9362dccad3226aee1833ac88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:06:28.442Z] + go version [2023-03-23T21:06:28.442Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T21:06:28.481Z] $ docker stop --time=1 65b02d970f6e054c1fdc052ead46e2f85b8ac3be9362dccad3226aee1833ac88 [2023-03-23T21:06:32.795Z] $ docker rm -f --volumes 65b02d970f6e054c1fdc052ead46e2f85b8ac3be9362dccad3226aee1833ac88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:06:33.646Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T21:06:33.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:06:33.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-5612 does not seem to be running inside a container [2023-03-23T21:06:33.963Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-03-23T21:06:35.089Z] $ docker top 40abb333b92d3872d8d0c3e2b5a46eb143020d150fa8e1e48142500a90a78700 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:06:35.954Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-23T21:06:36.344Z] + make test [2023-03-23T21:06:36.614Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T21:07:15.664Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-23T21:09:07.369Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-23T21:09:07.369Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-23T21:09:07.369Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-23T21:09:07.369Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-23T21:09:07.370Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.54/internal/transformer/transformparam.go:49:44: too many errors [2023-03-23T21:09:34.127Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.0% of statements [2023-03-23T21:09:34.127Z] FAIL [2023-03-23T21:09:34.127Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-23T21:09:34.175Z] $ docker stop --time=1 40abb333b92d3872d8d0c3e2b5a46eb143020d150fa8e1e48142500a90a78700 [2023-03-23T21:09:36.085Z] $ docker rm -f --volumes 40abb333b92d3872d8d0c3e2b5a46eb143020d150fa8e1e48142500a90a78700 [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 [2023-03-23T21:09:37.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:09:37.786Z] [2023-03-23T21:09:37.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:09:38.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:09:38.476Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T21:09:38.476Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T21:09:38.476Z] 04944245beec: Pulling fs layer [2023-03-23T21:09:38.476Z] 699f458cf7ca: Pulling fs layer [2023-03-23T21:09:38.476Z] 765212b225bb: Pulling fs layer [2023-03-23T21:09:38.476Z] f23df028b6ca: Pulling fs layer [2023-03-23T21:09:38.476Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T21:09:38.476Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T21:09:38.476Z] 765212b225bb: Waiting [2023-03-23T21:09:38.476Z] f23df028b6ca: Waiting [2023-03-23T21:09:38.476Z] d65c8cfc05b1: Waiting [2023-03-23T21:09:38.476Z] 2437ff75d9bd: Waiting [2023-03-23T21:09:38.476Z] 04944245beec: Verifying Checksum [2023-03-23T21:09:38.476Z] 765212b225bb: Verifying Checksum [2023-03-23T21:09:38.476Z] 765212b225bb: Download complete [2023-03-23T21:09:38.747Z] f23df028b6ca: Download complete [2023-03-23T21:09:38.747Z] d65c8cfc05b1: Verifying Checksum [2023-03-23T21:09:38.747Z] d65c8cfc05b1: Download complete [2023-03-23T21:09:38.747Z] 699f458cf7ca: Verifying Checksum [2023-03-23T21:09:38.747Z] 699f458cf7ca: Download complete [2023-03-23T21:09:39.338Z] 8998bd30e6a1: Verifying Checksum [2023-03-23T21:09:39.338Z] 8998bd30e6a1: Download complete [2023-03-23T21:09:41.293Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T21:09:41.293Z] 2437ff75d9bd: Download complete [2023-03-23T21:09:43.247Z] 8998bd30e6a1: Pull complete [2023-03-23T21:09:43.836Z] 04944245beec: Pull complete [2023-03-23T21:09:45.253Z] 699f458cf7ca: Pull complete [2023-03-23T21:09:45.253Z] 765212b225bb: Pull complete [2023-03-23T21:09:46.221Z] f23df028b6ca: Pull complete [2023-03-23T21:09:46.221Z] d65c8cfc05b1: Pull complete [2023-03-23T21:10:01.224Z] 2437ff75d9bd: Pull complete [2023-03-23T21:10:01.224Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T21:10:01.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T21:10:01.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:10:01.563Z] prd-ubuntu20.04-docker-arm64-4c-16g-5612 does not seem to be running inside a container [2023-03-23T21:10:01.639Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T21:10:04.327Z] $ docker top e61dfd5fe8b5e2cdc63eeda5b8a5b0ec096d0af8adb8086f12c87c557d9a877e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:05.226Z] ---> job-cost.sh [2023-03-23T21:10:05.227Z] lf-activate-venv: SKIPPING [2023-03-23T21:10:05.227Z] INFO: No Stack... [2023-03-23T21:10:05.811Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T21:10:06.393Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T21:10:06.739Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-23T21:10:06.739Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T21:10:07.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [2023-03-23T21:10:07.104Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] did not exist. Created. [2023-03-23T21:10:07.104Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T21:10:07.527Z] /w/workspace/device-rest-go/1@tmp/durable-9ab3db5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T21:10:07.895Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T21:10:07.931Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T21:10:08.380Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T21:10:08.396Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T21:10:08.474Z] $ docker stop --time=1 e61dfd5fe8b5e2cdc63eeda5b8a5b0ec096d0af8adb8086f12c87c557d9a877e [2023-03-23T21:10:09.969Z] $ docker rm -f --volumes e61dfd5fe8b5e2cdc63eeda5b8a5b0ec096d0af8adb8086f12c87c557d9a877e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T21:10:10.652Z] 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 [2023-03-23T21:10:12.571Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-279/archives ] [2023-03-23T21:10:12.571Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-279/archives [2023-03-23T21:10:12.571Z] total 16 [2023-03-23T21:10:12.571Z] drwxr-xr-x 3 root root 4096 Mar 23 21:01 . [2023-03-23T21:10:12.571Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 21:01 .. [2023-03-23T21:10:12.571Z] drwxr-xr-x 2 root root 4096 Mar 23 21:01 cost [2023-03-23T21:10:12.571Z] -rw-r--r-- 1 root root 86 Mar 23 21:01 cost.csv [2023-03-23T21:10:12.571Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-279/archives [2023-03-23T21:10:12.571Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-279/archives [2023-03-23T21:10:12.571Z] total 16 [2023-03-23T21:10:12.571Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 21:01 . [2023-03-23T21:10:12.571Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 21:01 .. [2023-03-23T21:10:12.571Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 21:01 cost [2023-03-23T21:10:12.571Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 23 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:12.898Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:13.789Z] ---> package-listing.sh [2023-03-23T21:10:13.789Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T21:10:13.789Z] ++ facter osfamily [2023-03-23T21:10:14.049Z] + OS_FAMILY=debian [2023-03-23T21:10:14.049Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-279 [2023-03-23T21:10:14.049Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T21:10:14.049Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T21:10:14.049Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T21:10:14.049Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T21:10:14.049Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-279 ']' [2023-03-23T21:10:14.049Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T21:10:14.049Z] + case "${OS_FAMILY}" in [2023-03-23T21:10:14.049Z] + dpkg -l [2023-03-23T21:10:14.049Z] + grep '^ii' [2023-03-23T21:10:14.049Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T21:10:14.049Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T21:10:14.049Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T21:10:14.049Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-279 ']' [2023-03-23T21:10:14.049Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-279/archives/ [2023-03-23T21:10:14.049Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-279/archives/ [Pipeline] echo [2023-03-23T21:10:14.083Z] 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-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T21:10:14.372Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T21:10:14.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T21:10:14.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T21:10:15.133Z] prd-ubuntu20.04-docker-8c-8g-5610 does not seem to be running inside a container [2023-03-23T21:10:15.163Z] $ 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-279/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-279 -v /w/workspace/gexfoundry_device-rest-go_PR-279:/w/workspace/gexfoundry_device-rest-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-279@tmp:/w/workspace/gexfoundry_device-rest-go_PR-279@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T21:10:15.368Z] $ docker top fb09a4a0d0f9b9f16c71bca589fd1e9f34c68395bd79e8393c6426d0c3553cfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T21:10:15.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T21:10:16.068Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T21:10:16.377Z] + ls /var/log/sa-host [2023-03-23T21:10:16.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T21:10:16.508Z] provisioning config files... [2023-03-23T21:10:16.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-279@tmp/config12845288007799243925tmp [Pipeline] { [Pipeline] echo [2023-03-23T21:10:16.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:16.881Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T21:10:16.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:17.299Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T21:10:17.341Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:17.651Z] ---> sudo-logs.sh [2023-03-23T21:10:17.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T21:10:17.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:18.040Z] ---> job-cost.sh [2023-03-23T21:10:18.040Z] lf-activate-venv: SKIPPING [2023-03-23T21:10:18.040Z] DEBUG: total: 0.2199999988079071 [2023-03-23T21:10:18.040Z] INFO: Retrieving Stack Cost... [2023-03-23T21:10:18.607Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T21:10:18.867Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T21:10:18.899Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T21:10:19.208Z] ---> logs-deploy.sh [2023-03-23T21:10:19.208Z] lf-activate-venv: SKIPPING [2023-03-23T21:10:19.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-279/1 [2023-03-23T21:10:19.208Z] INFO: archiving workspace using pattern(s): [2023-03-23T21:10:20.145Z] Archives upload complete. [2023-03-23T21:10:20.145Z] INFO: archiving logs to Nexus