Pull request #1485 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6e7e83861b39a249665d987a6a75b10eef2a290+5a7d05295c20c4306666c126d05bdc304538796c (92742480eed59adfda49782847a6faa87ba63c97) 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-ssh15774754202243560536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6218486565353175402.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-sdk-go/branches/PR-1485/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-sdk-go/branches/PR-1485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18334120705048486066.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-sdk-go/branches/PR-1485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2814315432439835176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh1614067850692655644.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-sdk-go/branches/PR-1485/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-sdk-go/branches/PR-1485/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1656895308247328093.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2182 in /w/workspace/gexfoundry_device-sdk-go_PR-1485 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1485 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit d6e7e83861b39a249665d987a6a75b10eef2a290 Merge succeeded, producing d6e7e83861b39a249665d987a6a75b10eef2a290 Checking out Revision d6e7e83861b39a249665d987a6a75b10eef2a290 (PR-1485) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1485/head:refs/remotes/origin/PR-1485 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6e7e83861b39a249665d987a6a75b10eef2a290 # 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 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6e7e83861b39a249665d987a6a75b10eef2a290 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T04:25:12.842Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T04:25:13.049Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T04:25:13.152Z] ========================================================= [2023-07-26T04:25:13.152Z] EdgeX Global Pipelines Version Info [2023-07-26T04:25:13.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:25:13.897Z] ------------------- [2023-07-26T04:25:13.897Z] stable info: [2023-07-26T04:25:13.897Z] ------------------- [2023-07-26T04:25:13.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T04:25:13.897Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T04:25:13.897Z] Message: update stable to v1.0.250 [2023-07-26T04:25:14.467Z] ------------------- [2023-07-26T04:25:14.467Z] experimental info: [2023-07-26T04:25:14.467Z] ------------------- [2023-07-26T04:25:14.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T04:25:14.467Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T04:25:14.467Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T04:25:14.750Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-26T04:25:14.788Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-26T04:25:14.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T04:25:14.889Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T04:25:14.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T04:25:14.965Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-26T04:25:15.003Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-26T04:25:15.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-26T04:25:15.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-26T04:25:15.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T04:25:15.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T04:25:15.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-26T04:25:15.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T04:25:15.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T04:25:15.342Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T04:25:15.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T04:25:15.420Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T04:25:15.460Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T04:25:15.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T04:25:15.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T04:25:15.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-26T04:25:15.611Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-26T04:25:15.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-26T04:25:15.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-26T04:25:15.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-26T04:25:15.779Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T04:25:15.816Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-26T04:25:15.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1485 [Pipeline] echo [2023-07-26T04:25:15.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1485 [Pipeline] echo [2023-07-26T04:25:15.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1485 [Pipeline] echo [2023-07-26T04:25:15.966Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6e7e83861b39a249665d987a6a75b10eef2a290 [Pipeline] echo [2023-07-26T04:25:16.003Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6e7e83 [Pipeline] echo [2023-07-26T04:25:16.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T04:25:16.141Z] provisioning config files... [2023-07-26T04:25:16.171Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/config14350302273080915776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:25:16.524Z] ---> docker-login.sh [2023-07-26T04:25:16.524Z] nexus3.edgexfoundry.org:10001 [2023-07-26T04:25:16.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:16.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:16.786Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:16.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:16.786Z] [2023-07-26T04:25:16.786Z] Login Succeeded [2023-07-26T04:25:16.786Z] nexus3.edgexfoundry.org:10002 [2023-07-26T04:25:16.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:17.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:17.045Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:17.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:17.045Z] [2023-07-26T04:25:17.045Z] Login Succeeded [2023-07-26T04:25:17.045Z] nexus3.edgexfoundry.org:10003 [2023-07-26T04:25:17.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:17.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:17.045Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:17.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:17.045Z] [2023-07-26T04:25:17.045Z] Login Succeeded [2023-07-26T04:25:17.045Z] nexus3.edgexfoundry.org:10004 [2023-07-26T04:25:17.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:17.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:17.045Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:17.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:17.045Z] [2023-07-26T04:25:17.045Z] Login Succeeded [2023-07-26T04:25:17.045Z] docker.io [2023-07-26T04:25:17.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:17.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:17.564Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:17.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:17.564Z] [2023-07-26T04:25:17.564Z] Login Succeeded [2023-07-26T04:25:17.564Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T04:25:17.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T04:25:18.238Z] + git rev-list -1 --merges d6e7e83861b39a249665d987a6a75b10eef2a290~1..d6e7e83861b39a249665d987a6a75b10eef2a290 [Pipeline] echo [2023-07-26T04:25:18.297Z] -----------> git rev-list -1 --merges d6e7e83861b39a249665d987a6a75b10eef2a290~1..d6e7e83861b39a249665d987a6a75b10eef2a290 d6e7e83861b39a249665d987a6a75b10eef2a290 [false] [Pipeline] sh [2023-07-26T04:25:18.604Z] + git log --format=format:%s -1 d6e7e83861b39a249665d987a6a75b10eef2a290 [Pipeline] echo [2023-07-26T04:25:18.640Z] ========================================================= [2023-07-26T04:25:18.640Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T04:25:18.640Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T04:25:19.078Z] + git log --format=format:%s -1 d6e7e83861b39a249665d987a6a75b10eef2a290 [Pipeline] echo [2023-07-26T04:25:19.111Z] [semverPrep] GIT_COMMIT: d6e7e83861b39a249665d987a6a75b10eef2a290, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-07-26T04:25:19.138Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-26T04:25:19.534Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T04:25:19.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T04:25:19.534Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T04:25:19.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T04:25:19.534Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T04:25:19.534Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T04:25:19.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:25:20.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T04:25:20.028Z] [2023-07-26T04:25:20.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:25:20.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T04:25:20.399Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T04:25:20.399Z] b85a868b505f: Pulling fs layer [2023-07-26T04:25:20.399Z] e2be974225ed: Pulling fs layer [2023-07-26T04:25:20.399Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T04:25:20.399Z] 988bab9f4d93: Pulling fs layer [2023-07-26T04:25:20.399Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T04:25:20.399Z] 988bab9f4d93: Waiting [2023-07-26T04:25:20.399Z] eaf3925da568: Pulling fs layer [2023-07-26T04:25:20.399Z] bab4dde63d76: Pulling fs layer [2023-07-26T04:25:20.399Z] eaf3925da568: Waiting [2023-07-26T04:25:20.399Z] bde34c3a00c8: Pulling fs layer [2023-07-26T04:25:20.399Z] b352a97aabf1: Pulling fs layer [2023-07-26T04:25:20.399Z] bab4dde63d76: Waiting [2023-07-26T04:25:20.399Z] bde34c3a00c8: Waiting [2023-07-26T04:25:20.399Z] b352a97aabf1: Waiting [2023-07-26T04:25:20.399Z] 4872d77fe225: Pulling fs layer [2023-07-26T04:25:20.399Z] 5851b861e8e6: Pulling fs layer [2023-07-26T04:25:20.399Z] 5851b861e8e6: Waiting [2023-07-26T04:25:20.399Z] 4872d77fe225: Waiting [2023-07-26T04:25:20.399Z] e2be974225ed: Download complete [2023-07-26T04:25:20.399Z] 988bab9f4d93: Download complete [2023-07-26T04:25:20.399Z] 1469e6f7b9e6: Verifying Checksum [2023-07-26T04:25:20.399Z] 1469e6f7b9e6: Download complete [2023-07-26T04:25:20.658Z] eaf3925da568: Verifying Checksum [2023-07-26T04:25:20.658Z] eaf3925da568: Download complete [2023-07-26T04:25:20.658Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T04:25:20.658Z] 339a4e72a1f5: Download complete [2023-07-26T04:25:20.658Z] bde34c3a00c8: Verifying Checksum [2023-07-26T04:25:20.658Z] bde34c3a00c8: Download complete [2023-07-26T04:25:20.658Z] b352a97aabf1: Verifying Checksum [2023-07-26T04:25:20.658Z] b352a97aabf1: Download complete [2023-07-26T04:25:20.658Z] 4872d77fe225: Verifying Checksum [2023-07-26T04:25:20.658Z] 4872d77fe225: Download complete [2023-07-26T04:25:20.658Z] 5851b861e8e6: Download complete [2023-07-26T04:25:20.658Z] b85a868b505f: Verifying Checksum [2023-07-26T04:25:20.658Z] b85a868b505f: Download complete [2023-07-26T04:25:20.916Z] bab4dde63d76: Verifying Checksum [2023-07-26T04:25:20.916Z] bab4dde63d76: Download complete [2023-07-26T04:25:21.851Z] b85a868b505f: Pull complete [2023-07-26T04:25:21.851Z] e2be974225ed: Pull complete [2023-07-26T04:25:22.416Z] 339a4e72a1f5: Pull complete [2023-07-26T04:25:22.416Z] 988bab9f4d93: Pull complete [2023-07-26T04:25:22.674Z] 1469e6f7b9e6: Pull complete [2023-07-26T04:25:22.674Z] eaf3925da568: Pull complete [2023-07-26T04:25:24.579Z] bab4dde63d76: Pull complete [2023-07-26T04:25:24.579Z] bde34c3a00c8: Pull complete [2023-07-26T04:25:24.579Z] b352a97aabf1: Pull complete [2023-07-26T04:25:24.579Z] 4872d77fe225: Pull complete [2023-07-26T04:25:24.579Z] 5851b861e8e6: Pull complete [2023-07-26T04:25:24.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T04:25:24.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T04:25:24.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:25:25.071Z] prd-ubuntu20.04-docker-8c-8g-2182 does not seem to be running inside a container [2023-07-26T04:25:25.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1485 -v /w/workspace/gexfoundry_device-sdk-go_PR-1485:/w/workspace/gexfoundry_device-sdk-go_PR-1485:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1485@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-07-26T04:25:27.305Z] $ docker top b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac -eo pid,comm [2023-07-26T04:25:27.356Z] 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-07-26T04:25:27.356Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T04:25:27.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T04:25:27.476Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T04:25:27.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T04:25:27.575Z] $ docker exec b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac ssh-agent [2023-07-26T04:25:27.682Z] SSH_AUTH_SOCK=/tmp/ssh-XVBTVLOhgucc/agent.33 [2023-07-26T04:25:27.682Z] SSH_AGENT_PID=39 [2023-07-26T04:25:27.689Z] Running ssh-add (command line suppressed) [2023-07-26T04:25:27.788Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/private_key_7501688840587064479.key (/w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/private_key_7501688840587064479.key) [2023-07-26T04:25:27.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T04:25:28.130Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T04:25:28.155Z] $ docker exec --env ******** --env ******** b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac ssh-agent -k [2023-07-26T04:25:28.252Z] unset SSH_AUTH_SOCK; [2023-07-26T04:25:28.252Z] unset SSH_AGENT_PID; [2023-07-26T04:25:28.252Z] echo Agent pid 39 killed; [2023-07-26T04:25:28.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T04:25:28.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T04:25:28.390Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T04:25:28.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T04:25:28.496Z] $ docker exec b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac ssh-agent [2023-07-26T04:25:28.587Z] SSH_AUTH_SOCK=/tmp/ssh-inPsYVoutuFP/agent.71 [2023-07-26T04:25:28.587Z] SSH_AGENT_PID=77 [2023-07-26T04:25:28.591Z] Running ssh-add (command line suppressed) [2023-07-26T04:25:28.687Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/private_key_805366036058190391.key (/w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/private_key_805366036058190391.key) [2023-07-26T04:25:28.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T04:25:29.030Z] + git semver init [2023-07-26T04:25:29.290Z] 2023-07-26 04:25:29,206 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T04:25:29.290Z] 2023-07-26 04:25:29,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver [2023-07-26T04:25:29.290Z] 2023-07-26 04:25:29,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver [2023-07-26T04:25:29.290Z] 2023-07-26 04:25:29,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1485, universal_newlines=False, shell=None, istream=None) [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,181 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1485/.git/info/exclude [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver/PR-1485 with force:False [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,182 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver/PR-1485 [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,186 [execute] INFO git cat-file --batch-check [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,192 [execute] INFO git cat-file --batch [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T04:25:30.229Z] 2023-07-26 04:25:30,197 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1485/.semver/PR-1485 [2023-07-26T04:25:30.229Z] 0.0.0 [Pipeline] } [2023-07-26T04:25:30.257Z] $ docker exec --env ******** --env ******** b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac ssh-agent -k [2023-07-26T04:25:30.358Z] unset SSH_AUTH_SOCK; [2023-07-26T04:25:30.359Z] unset SSH_AGENT_PID; [2023-07-26T04:25:30.359Z] echo Agent pid 77 killed; [2023-07-26T04:25:30.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T04:25:30.790Z] + git semver [Pipeline] } [2023-07-26T04:25:31.071Z] $ docker stop --time=1 b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac [2023-07-26T04:25:32.358Z] $ docker rm -f --volumes b568aaac3be2405e98940e926e9ede8d4884c37b784a05f2d29496e3b8852fac [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T04:25:32.763Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T04:25:33.033Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T04:25:33.050Z] [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-07-26T04:25:33.634Z] provisioning config files... [2023-07-26T04:25:33.645Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/config2518961328226981928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:25:33.992Z] ---> docker-login.sh [2023-07-26T04:25:33.992Z] nexus3.edgexfoundry.org:10001 [2023-07-26T04:25:33.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:33.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:33.992Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:33.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:33.992Z] [2023-07-26T04:25:33.992Z] Login Succeeded [2023-07-26T04:25:33.992Z] nexus3.edgexfoundry.org:10002 [2023-07-26T04:25:33.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:33.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:33.992Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:33.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:33.992Z] [2023-07-26T04:25:33.992Z] Login Succeeded [2023-07-26T04:25:33.992Z] nexus3.edgexfoundry.org:10003 [2023-07-26T04:25:34.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:34.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:34.252Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:34.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:34.252Z] [2023-07-26T04:25:34.252Z] Login Succeeded [2023-07-26T04:25:34.252Z] nexus3.edgexfoundry.org:10004 [2023-07-26T04:25:34.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:34.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:34.252Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:34.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:34.252Z] [2023-07-26T04:25:34.252Z] Login Succeeded [2023-07-26T04:25:34.252Z] docker.io [2023-07-26T04:25:34.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:25:34.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:25:34.513Z] Configure a credential helper to remove this warning. See [2023-07-26T04:25:34.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:25:34.513Z] [2023-07-26T04:25:34.513Z] Login Succeeded [2023-07-26T04:25:34.513Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T04:25:34.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T04:25:34.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T04:25:34.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T04:25:34.807Z] ========================================================= [2023-07-26T04:25:34.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-26T04:25:34.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:25:35.289Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-26T04:25:35.289Z] Sending build context to Docker daemon 11MB [2023-07-26T04:25:35.289Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T04:25:35.289Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-26T04:25:35.289Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-26T04:25:35.289Z] 4db1b89c0bd1: Pulling fs layer [2023-07-26T04:25:35.289Z] 6911f1a30b25: Pulling fs layer [2023-07-26T04:25:35.289Z] e194b8c5c2a9: Pulling fs layer [2023-07-26T04:25:35.289Z] 6863d3e3a2b1: Pulling fs layer [2023-07-26T04:25:35.289Z] ec0bb842ea78: Pulling fs layer [2023-07-26T04:25:35.289Z] 40a00589a448: Pulling fs layer [2023-07-26T04:25:35.289Z] 6c08303d61cc: Pulling fs layer [2023-07-26T04:25:35.289Z] 798269fcf238: Pulling fs layer [2023-07-26T04:25:35.289Z] 6863d3e3a2b1: Waiting [2023-07-26T04:25:35.289Z] 6c08303d61cc: Waiting [2023-07-26T04:25:35.289Z] ec0bb842ea78: Waiting [2023-07-26T04:25:35.289Z] 798269fcf238: Waiting [2023-07-26T04:25:35.289Z] 6911f1a30b25: Verifying Checksum [2023-07-26T04:25:35.289Z] 6911f1a30b25: Download complete [2023-07-26T04:25:35.550Z] 6863d3e3a2b1: Verifying Checksum [2023-07-26T04:25:35.550Z] 6863d3e3a2b1: Download complete [2023-07-26T04:25:35.550Z] ec0bb842ea78: Verifying Checksum [2023-07-26T04:25:35.550Z] ec0bb842ea78: Download complete [2023-07-26T04:25:35.550Z] 4db1b89c0bd1: Download complete [2023-07-26T04:25:35.550Z] 40a00589a448: Verifying Checksum [2023-07-26T04:25:35.550Z] 40a00589a448: Download complete [2023-07-26T04:25:35.550Z] 4db1b89c0bd1: Pull complete [2023-07-26T04:25:35.810Z] 6911f1a30b25: Pull complete [2023-07-26T04:25:36.068Z] 798269fcf238: Verifying Checksum [2023-07-26T04:25:36.068Z] 798269fcf238: Download complete [2023-07-26T04:25:36.068Z] e194b8c5c2a9: Verifying Checksum [2023-07-26T04:25:36.068Z] e194b8c5c2a9: Download complete [2023-07-26T04:25:36.326Z] 6c08303d61cc: Verifying Checksum [2023-07-26T04:25:36.326Z] 6c08303d61cc: Download complete [2023-07-26T04:25:38.855Z] e194b8c5c2a9: Pull complete [2023-07-26T04:25:38.855Z] 6863d3e3a2b1: Pull complete [2023-07-26T04:25:39.113Z] ec0bb842ea78: Pull complete [2023-07-26T04:25:39.113Z] 40a00589a448: Pull complete [2023-07-26T04:25:41.637Z] 6c08303d61cc: Pull complete [2023-07-26T04:25:42.203Z] 798269fcf238: Pull complete [2023-07-26T04:25:42.203Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-26T04:25:42.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-26T04:25:42.203Z] ---> ec979cd7f677 [2023-07-26T04:25:42.203Z] Step 3/10 : ARG MAKE=make build [2023-07-26T04:25:46.396Z] ---> Running in f9a9bf2d5d31 [2023-07-26T04:25:46.396Z] Removing intermediate container f9a9bf2d5d31 [2023-07-26T04:25:46.396Z] ---> 4bb0db5ef16b [2023-07-26T04:25:46.396Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-26T04:25:46.396Z] ---> Running in 3f112dab71e9 [2023-07-26T04:25:46.396Z] Removing intermediate container 3f112dab71e9 [2023-07-26T04:25:46.396Z] ---> 2a149e41a105 [2023-07-26T04:25:46.396Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-26T04:25:46.396Z] ---> Running in 6cdde2016547 [2023-07-26T04:25:46.396Z] Removing intermediate container 6cdde2016547 [2023-07-26T04:25:46.396Z] ---> b9268013c8f6 [2023-07-26T04:25:46.396Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-26T04:25:46.396Z] ---> Running in d2c2833f5b5c [2023-07-26T04:25:46.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T04:25:46.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T04:25:46.913Z] OK: 265 MiB in 53 packages [2023-07-26T04:25:47.482Z] Removing intermediate container d2c2833f5b5c [2023-07-26T04:25:47.482Z] ---> fa358c297eda [2023-07-26T04:25:47.482Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-26T04:25:47.482Z] ---> 8265348f465c [2023-07-26T04:25:47.482Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T04:25:47.482Z] ---> Running in 07111978c3fc [2023-07-26T04:25:48.454Z] Still waiting to schedule task [2023-07-26T04:25:48.455Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-26T04:26:43.740Z] Removing intermediate container 07111978c3fc [2023-07-26T04:26:43.740Z] ---> f2a72a6be64e [2023-07-26T04:26:43.740Z] Step 9/10 : COPY . . [2023-07-26T04:26:43.740Z] ---> 415b376972e1 [2023-07-26T04:26:43.740Z] Step 10/10 : RUN ${MAKE} [2023-07-26T04:26:43.740Z] ---> Running in 3914f3d19dfd [2023-07-26T04:26:43.740Z] noop [2023-07-26T04:26:43.740Z] Removing intermediate container 3914f3d19dfd [2023-07-26T04:26:43.740Z] ---> 29f66320767f [2023-07-26T04:26:43.740Z] Successfully built 29f66320767f [2023-07-26T04:26:43.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:26:44.198Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T04:26:44.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:26:44.345Z] prd-ubuntu20.04-docker-8c-8g-2182 does not seem to be running inside a container [2023-07-26T04:26:44.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1485 -v /w/workspace/gexfoundry_device-sdk-go_PR-1485:/w/workspace/gexfoundry_device-sdk-go_PR-1485:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1485@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-07-26T04:26:44.711Z] $ docker top 8f0821fac0eea8639b07c010b1d79d285c13e2619ff703827477ce2aaa110303 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T04:26:45.100Z] + go version [2023-07-26T04:26:45.100Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-26T04:26:45.135Z] $ docker stop --time=1 8f0821fac0eea8639b07c010b1d79d285c13e2619ff703827477ce2aaa110303 [2023-07-26T04:26:46.420Z] $ docker rm -f --volumes 8f0821fac0eea8639b07c010b1d79d285c13e2619ff703827477ce2aaa110303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:26:47.098Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T04:26:47.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:26:47.249Z] prd-ubuntu20.04-docker-8c-8g-2182 does not seem to be running inside a container [2023-07-26T04:26:47.289Z] $ 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-sdk-go_PR-1485 -v /w/workspace/gexfoundry_device-sdk-go_PR-1485:/w/workspace/gexfoundry_device-sdk-go_PR-1485:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1485@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-07-26T04:26:47.605Z] $ docker top b47628f85fc76b4a9bc60e1c785af47adb2ae139e83d3f7b28a2b4f2a7faa173 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T04:26:47.989Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1485 [Pipeline] fileExists [Pipeline] sh [2023-07-26T04:26:48.350Z] + make test [2023-07-26T04:26:48.350Z] go test -race -coverprofile=coverage.out ./... [2023-07-26T04:26:54.944Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-26T04:27:07.148Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:65:47: cannot use authenticationHook(c.Discovery) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:65:66: cannot use c.Discovery (value of type func(writer "net/http".ResponseWriter, request *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:67:59: cannot use authenticationHook(c.GetCommand) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:67:78: cannot use c.GetCommand (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:68:59: cannot use authenticationHook(c.SetCommand) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:27:07.148Z] internal/controller/http/restrouter.go:68:78: cannot use c.SetCommand (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:27:07.148Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-26T04:27:07.148Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-26T04:27:07.148Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-26T04:27:07.148Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-26T04:27:07.148Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-07-26T04:27:07.148Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 80.2% of statements [2023-07-26T04:27:07.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-26T04:27:07.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-26T04:27:07.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-26T04:27:07.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 86.0% of statements [2023-07-26T04:27:07.714Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-07-26T04:27:08.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-26T04:27:08.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-26T04:27:11.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements [2023-07-26T04:27:11.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.972s coverage: 43.8% of statements [2023-07-26T04:27:11.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-07-26T04:27:11.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-07-26T04:27:11.185Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-07-26T04:27:11.185Z] FAIL [2023-07-26T04:27:11.185Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-07-26T04:27:11.229Z] $ docker stop --time=1 b47628f85fc76b4a9bc60e1c785af47adb2ae139e83d3f7b28a2b4f2a7faa173 [2023-07-26T04:27:14.268Z] $ docker rm -f --volumes b47628f85fc76b4a9bc60e1c785af47adb2ae139e83d3f7b28a2b4f2a7faa173 [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-07-26T04:27:15.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T04:27:15.450Z] [2023-07-26T04:27:15.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:27:15.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T04:27:15.829Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T04:27:15.829Z] 5eb5b503b376: Pulling fs layer [2023-07-26T04:27:15.829Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T04:27:15.829Z] ec43610c2a17: Pulling fs layer [2023-07-26T04:27:15.829Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T04:27:15.829Z] 33b1e0a273af: Pulling fs layer [2023-07-26T04:27:15.829Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T04:27:15.829Z] 2f39f015ded8: Pulling fs layer [2023-07-26T04:27:15.829Z] 33b1e0a273af: Waiting [2023-07-26T04:27:15.829Z] 5d3b04190fa2: Waiting [2023-07-26T04:27:15.829Z] 2f39f015ded8: Waiting [2023-07-26T04:27:15.829Z] 3a2ae6a8a46f: Waiting [2023-07-26T04:27:15.829Z] 5c69ac0246d0: Verifying Checksum [2023-07-26T04:27:15.829Z] 5c69ac0246d0: Download complete [2023-07-26T04:27:15.829Z] 3a2ae6a8a46f: Download complete [2023-07-26T04:27:15.829Z] 33b1e0a273af: Verifying Checksum [2023-07-26T04:27:15.829Z] 33b1e0a273af: Download complete [2023-07-26T04:27:15.829Z] 5d3b04190fa2: Verifying Checksum [2023-07-26T04:27:15.829Z] 5d3b04190fa2: Download complete [2023-07-26T04:27:15.829Z] ec43610c2a17: Verifying Checksum [2023-07-26T04:27:15.829Z] ec43610c2a17: Download complete [2023-07-26T04:27:16.088Z] 5eb5b503b376: Verifying Checksum [2023-07-26T04:27:16.088Z] 5eb5b503b376: Download complete [2023-07-26T04:27:16.654Z] 2f39f015ded8: Download complete [2023-07-26T04:27:17.221Z] 5eb5b503b376: Pull complete [2023-07-26T04:27:17.221Z] 5c69ac0246d0: Pull complete [2023-07-26T04:27:17.789Z] ec43610c2a17: Pull complete [2023-07-26T04:27:17.789Z] 3a2ae6a8a46f: Pull complete [2023-07-26T04:27:17.789Z] 33b1e0a273af: Pull complete [2023-07-26T04:27:17.972Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2183 in /w/workspace/gexfoundry_device-sdk-go_PR-1485 [Pipeline] { [Pipeline] ws [2023-07-26T04:27:18.032Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2023-07-26T04:27:18.050Z] 5d3b04190fa2: Pull complete [Pipeline] checkout [2023-07-26T04:27:18.117Z] The recommended git tool is: git [2023-07-26T04:27:22.240Z] 2f39f015ded8: Pull complete [2023-07-26T04:27:22.240Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T04:27:22.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T04:27:22.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:27:22.472Z] prd-ubuntu20.04-docker-8c-8g-2182 does not seem to be running inside a container [2023-07-26T04:27:22.501Z] $ 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-sdk-go_PR-1485 -v /w/workspace/gexfoundry_device-sdk-go_PR-1485:/w/workspace/gexfoundry_device-sdk-go_PR-1485:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1485@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-07-26T04:27:23.114Z] using credential edgex-jenkins-ssh [2023-07-26T04:27:23.129Z] Cloning the remote Git repository [2023-07-26T04:27:23.158Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-26T04:27:23.238Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-26T04:27:23.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-26T04:27:23.366Z] > git --version # timeout=10 [2023-07-26T04:27:23.384Z] > git --version # 'git version 2.25.1' [2023-07-26T04:27:23.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T04:27:23.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T04:27:25.411Z] $ docker top 85ec8ac2a7d11e2d58fad5faba36ea5d256e411cab00b9170da867368b3dbc78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:27:25.856Z] ---> job-cost.sh [2023-07-26T04:27:25.856Z] lf-activate-venv: SKIPPING [2023-07-26T04:27:25.856Z] INFO: No Stack... [2023-07-26T04:27:26.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T04:27:26.374Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T04:27:26.690Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives/cost.csv [2023-07-26T04:27:26.690Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T04:27:26.729Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [2023-07-26T04:27:26.733Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] did not exist. Created. [2023-07-26T04:27:26.734Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T04:27:26.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-26T04:27:26.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T04:27:27.120Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T04:27:27.219Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T04:27:27.234Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T04:27:27.311Z] $ docker stop --time=1 85ec8ac2a7d11e2d58fad5faba36ea5d256e411cab00b9170da867368b3dbc78 [2023-07-26T04:27:28.274Z] Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit d6e7e83861b39a249665d987a6a75b10eef2a290 [2023-07-26T04:27:27.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-26T04:27:27.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-26T04:27:27.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T04:27:27.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1485/head:refs/remotes/origin/PR-1485 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-26T04:27:28.285Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T04:27:28.457Z] $ docker rm -f --volumes 85ec8ac2a7d11e2d58fad5faba36ea5d256e411cab00b9170da867368b3dbc78 [Pipeline] // withDockerContainer [Pipeline] } [2023-07-26T04:27:28.574Z] Merge succeeded, producing d6e7e83861b39a249665d987a6a75b10eef2a290 [2023-07-26T04:27:28.574Z] Checking out Revision d6e7e83861b39a249665d987a6a75b10eef2a290 (PR-1485) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T04:27:28.930Z] Failed in branch amd64 [2023-07-26T04:27:29.028Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-07-26T04:27:29.075Z] > git --version # timeout=10 [2023-07-26T04:27:29.086Z] > git --version # 'git version 2.25.1' [2023-07-26T04:27:29.102Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-07-26T04:27:28.366Z] > git checkout -f d6e7e83861b39a249665d987a6a75b10eef2a290 # timeout=10 [2023-07-26T04:27:28.473Z] > git remote # timeout=10 [2023-07-26T04:27:28.493Z] > git config --get remote.origin.url # timeout=10 [2023-07-26T04:27:28.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T04:27:28.530Z] > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [2023-07-26T04:27:28.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-26T04:27:28.576Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T04:27:28.590Z] > git checkout -f d6e7e83861b39a249665d987a6a75b10eef2a290 # timeout=10 [Pipeline] sh [2023-07-26T04:27:30.323Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T04:27:30.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T04:27:30.323Z] Dload Upload Total Spent Left Speed [2023-07-26T04:27:30.323Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2023-07-26T04:27:30.928Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T04:27:31.267Z] + sudo tee /etc/docker/daemon.new [2023-07-26T04:27:31.267Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T04:27:31.267Z] { [2023-07-26T04:27:31.267Z] "registry-mirrors": [ [2023-07-26T04:27:31.267Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T04:27:31.267Z] ], [2023-07-26T04:27:31.267Z] "bip": "10.250.0.254/24", [2023-07-26T04:27:31.267Z] "hosts": [ [2023-07-26T04:27:31.267Z] "tcp://0.0.0.0:5555", [2023-07-26T04:27:31.267Z] "unix:///var/run/docker.sock" [2023-07-26T04:27:31.267Z] ], [2023-07-26T04:27:31.267Z] "mtu": 1458, [2023-07-26T04:27:31.267Z] "selinux-enabled": true, [2023-07-26T04:27:31.267Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T04:27:31.267Z] } [Pipeline] sh [2023-07-26T04:27:31.604Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T04:27:31.947Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T04:27:50.254Z] provisioning config files... [2023-07-26T04:27:50.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15311748180291272748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:27:50.660Z] ---> docker-login.sh [2023-07-26T04:27:50.660Z] nexus3.edgexfoundry.org:10001 [2023-07-26T04:27:50.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:27:51.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:27:51.196Z] Configure a credential helper to remove this warning. See [2023-07-26T04:27:51.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:27:51.197Z] [2023-07-26T04:27:51.197Z] Login Succeeded [2023-07-26T04:27:51.197Z] nexus3.edgexfoundry.org:10002 [2023-07-26T04:27:51.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:27:51.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:27:51.465Z] Configure a credential helper to remove this warning. See [2023-07-26T04:27:51.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:27:51.465Z] [2023-07-26T04:27:51.465Z] Login Succeeded [2023-07-26T04:27:51.465Z] nexus3.edgexfoundry.org:10003 [2023-07-26T04:27:51.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:27:51.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:27:51.998Z] Configure a credential helper to remove this warning. See [2023-07-26T04:27:51.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:27:51.998Z] [2023-07-26T04:27:51.998Z] Login Succeeded [2023-07-26T04:27:51.998Z] nexus3.edgexfoundry.org:10004 [2023-07-26T04:27:51.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:27:52.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:27:52.272Z] Configure a credential helper to remove this warning. See [2023-07-26T04:27:52.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:27:52.272Z] [2023-07-26T04:27:52.272Z] Login Succeeded [2023-07-26T04:27:52.272Z] docker.io [2023-07-26T04:27:52.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T04:27:52.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T04:27:52.807Z] Configure a credential helper to remove this warning. See [2023-07-26T04:27:52.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T04:27:52.807Z] [2023-07-26T04:27:52.807Z] Login Succeeded [2023-07-26T04:27:52.807Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T04:27:52.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T04:27:53.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T04:27:53.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T04:27:53.314Z] ========================================================= [2023-07-26T04:27:53.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-26T04:27:53.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:27:53.793Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-07-26T04:27:54.060Z] Sending build context to Docker daemon 5.881MB [2023-07-26T04:27:54.060Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T04:27:54.060Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-26T04:27:54.329Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-26T04:27:54.329Z] edb6bdbacee9: Pulling fs layer [2023-07-26T04:27:54.329Z] 5f9638ab2659: Pulling fs layer [2023-07-26T04:27:54.329Z] 8d51d6327a98: Pulling fs layer [2023-07-26T04:27:54.329Z] 8b374f2dd631: Pulling fs layer [2023-07-26T04:27:54.329Z] ec14aa9079de: Pulling fs layer [2023-07-26T04:27:54.329Z] 2f466654f4bb: Pulling fs layer [2023-07-26T04:27:54.329Z] 554e91adad29: Pulling fs layer [2023-07-26T04:27:54.329Z] 8b374f2dd631: Waiting [2023-07-26T04:27:54.329Z] ec14aa9079de: Waiting [2023-07-26T04:27:54.329Z] 2f466654f4bb: Waiting [2023-07-26T04:27:54.329Z] 554e91adad29: Waiting [2023-07-26T04:27:54.329Z] 5f9638ab2659: Verifying Checksum [2023-07-26T04:27:54.329Z] 5f9638ab2659: Download complete [2023-07-26T04:27:54.329Z] 8b374f2dd631: Download complete [2023-07-26T04:27:54.329Z] ec14aa9079de: Verifying Checksum [2023-07-26T04:27:54.329Z] ec14aa9079de: Download complete [2023-07-26T04:27:54.329Z] edb6bdbacee9: Verifying Checksum [2023-07-26T04:27:54.329Z] edb6bdbacee9: Download complete [2023-07-26T04:27:55.303Z] edb6bdbacee9: Pull complete [2023-07-26T04:27:55.574Z] 554e91adad29: Verifying Checksum [2023-07-26T04:27:55.574Z] 554e91adad29: Download complete [2023-07-26T04:27:56.993Z] 8d51d6327a98: Verifying Checksum [2023-07-26T04:27:56.993Z] 8d51d6327a98: Download complete [2023-07-26T04:27:56.993Z] 2f466654f4bb: Download complete [2023-07-26T04:27:57.952Z] 5f9638ab2659: Pull complete [2023-07-26T04:28:13.051Z] 8d51d6327a98: Pull complete [2023-07-26T04:28:13.051Z] 8b374f2dd631: Pull complete [2023-07-26T04:28:13.051Z] ec14aa9079de: Pull complete [2023-07-26T04:28:18.405Z] 2f466654f4bb: Pull complete [2023-07-26T04:28:20.369Z] 554e91adad29: Pull complete [2023-07-26T04:28:20.369Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-26T04:28:20.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-26T04:28:20.369Z] ---> 1e15ea492957 [2023-07-26T04:28:20.369Z] Step 3/10 : ARG MAKE=make build [2023-07-26T04:28:22.311Z] ---> Running in 4209c05261fd [2023-07-26T04:28:22.311Z] Removing intermediate container 4209c05261fd [2023-07-26T04:28:22.311Z] ---> 907a1a03e17d [2023-07-26T04:28:22.311Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-26T04:28:22.311Z] ---> Running in ac9d7d5d0a82 [2023-07-26T04:28:22.583Z] Removing intermediate container ac9d7d5d0a82 [2023-07-26T04:28:22.583Z] ---> b0a7a4daf3c3 [2023-07-26T04:28:22.583Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-26T04:28:22.850Z] ---> Running in 7c34e237bb86 [2023-07-26T04:28:23.117Z] Removing intermediate container 7c34e237bb86 [2023-07-26T04:28:23.117Z] ---> c0be796e097e [2023-07-26T04:28:23.117Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-26T04:28:23.117Z] ---> Running in 21748c55a8ec [2023-07-26T04:28:24.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T04:28:24.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T04:28:25.748Z] OK: 263 MiB in 53 packages [2023-07-26T04:28:26.734Z] Removing intermediate container 21748c55a8ec [2023-07-26T04:28:26.734Z] ---> d0eb6060d11a [2023-07-26T04:28:26.734Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-26T04:28:27.000Z] ---> 5ff4cd3f1042 [2023-07-26T04:28:27.000Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T04:28:27.000Z] ---> Running in 977f11ecfd3a [2023-07-26T04:29:34.858Z] Removing intermediate container 977f11ecfd3a [2023-07-26T04:29:34.858Z] ---> d7129cacf726 [2023-07-26T04:29:34.858Z] Step 9/10 : COPY . . [2023-07-26T04:29:34.858Z] ---> 4f44b9ee36f0 [2023-07-26T04:29:34.858Z] Step 10/10 : RUN ${MAKE} [2023-07-26T04:29:34.858Z] ---> Running in 3ee17650847b [2023-07-26T04:29:34.858Z] noop [2023-07-26T04:29:34.858Z] Removing intermediate container 3ee17650847b [2023-07-26T04:29:34.858Z] ---> 6ce7a97ca7f0 [2023-07-26T04:29:34.858Z] Successfully built 6ce7a97ca7f0 [2023-07-26T04:29:34.858Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:29:35.330Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T04:29:35.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:29:35.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-2183 does not seem to be running inside a container [2023-07-26T04:29:35.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat [2023-07-26T04:29:36.812Z] $ docker top e78a7d124b42eddb96a24dd8b89d7dac56da2ac0cd076ab436a0c2e68e06fc04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T04:29:37.664Z] + go version [2023-07-26T04:29:37.664Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-26T04:29:37.705Z] $ docker stop --time=1 e78a7d124b42eddb96a24dd8b89d7dac56da2ac0cd076ab436a0c2e68e06fc04 [2023-07-26T04:29:39.271Z] $ docker rm -f --volumes e78a7d124b42eddb96a24dd8b89d7dac56da2ac0cd076ab436a0c2e68e06fc04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:29:40.112Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T04:29:40.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:29:40.347Z] prd-ubuntu20.04-docker-arm64-4c-16g-2183 does not seem to be running inside a container [2023-07-26T04:29:40.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat [2023-07-26T04:29:41.535Z] $ docker top b8807c1387af2e6167f0b9d23089abb425cbf8a08092ed197a5d648e86de1129 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T04:29:42.074Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-26T04:29:42.721Z] + make test [2023-07-26T04:29:42.721Z] go test -race -coverprofile=coverage.out ./... [2023-07-26T04:30:21.581Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-26T04:32:28.254Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:65:47: cannot use authenticationHook(c.Discovery) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:65:66: cannot use c.Discovery (value of type func(writer "net/http".ResponseWriter, request *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:67:59: cannot use authenticationHook(c.GetCommand) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:67:78: cannot use c.GetCommand (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:68:59: cannot use authenticationHook(c.SetCommand) (value of type echo.HandlerFunc) as func("net/http".ResponseWriter, *"net/http".Request) value in argument to c.addReservedRoute [2023-07-26T04:32:28.254Z] internal/controller/http/restrouter.go:68:78: cannot use c.SetCommand (value of type func(w "net/http".ResponseWriter, r *"net/http".Request)) as echo.HandlerFunc value in argument to authenticationHook [2023-07-26T04:32:28.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-26T04:32:28.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-26T04:32:28.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-26T04:32:28.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-26T04:32:36.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.211s coverage: 27.6% of statements [2023-07-26T04:32:37.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.248s coverage: 80.2% of statements [2023-07-26T04:32:52.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-26T04:32:52.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-26T04:32:52.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.479s coverage: 86.0% of statements [2023-07-26T04:32:52.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-26T04:32:52.751Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-07-26T04:33:00.975Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-26T04:33:00.975Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-26T04:33:01.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.3% of statements [2023-07-26T04:33:01.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.109s coverage: 43.8% of statements [2023-07-26T04:33:01.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.395s coverage: 68.5% of statements [2023-07-26T04:33:04.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.426s coverage: 89.2% of statements [2023-07-26T04:33:04.136Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-07-26T04:33:04.136Z] FAIL [2023-07-26T04:33:04.717Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-07-26T04:33:04.770Z] $ docker stop --time=1 b8807c1387af2e6167f0b9d23089abb425cbf8a08092ed197a5d648e86de1129 [2023-07-26T04:33:06.556Z] $ docker rm -f --volumes b8807c1387af2e6167f0b9d23089abb425cbf8a08092ed197a5d648e86de1129 [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-07-26T04:33:08.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T04:33:08.300Z] [2023-07-26T04:33:08.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:33:08.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T04:33:08.961Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T04:33:08.961Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T04:33:08.961Z] 04944245beec: Pulling fs layer [2023-07-26T04:33:08.961Z] 699f458cf7ca: Pulling fs layer [2023-07-26T04:33:08.961Z] 765212b225bb: Pulling fs layer [2023-07-26T04:33:08.961Z] f23df028b6ca: Pulling fs layer [2023-07-26T04:33:08.961Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T04:33:08.961Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T04:33:08.961Z] 765212b225bb: Waiting [2023-07-26T04:33:08.961Z] d65c8cfc05b1: Waiting [2023-07-26T04:33:08.961Z] 2437ff75d9bd: Waiting [2023-07-26T04:33:08.961Z] f23df028b6ca: Waiting [2023-07-26T04:33:08.961Z] 04944245beec: Verifying Checksum [2023-07-26T04:33:08.961Z] 04944245beec: Download complete [2023-07-26T04:33:08.961Z] 765212b225bb: Verifying Checksum [2023-07-26T04:33:08.961Z] 765212b225bb: Download complete [2023-07-26T04:33:09.231Z] f23df028b6ca: Verifying Checksum [2023-07-26T04:33:09.231Z] f23df028b6ca: Download complete [2023-07-26T04:33:09.231Z] d65c8cfc05b1: Download complete [2023-07-26T04:33:09.231Z] 699f458cf7ca: Verifying Checksum [2023-07-26T04:33:09.231Z] 699f458cf7ca: Download complete [2023-07-26T04:33:09.499Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T04:33:09.499Z] 8998bd30e6a1: Download complete [2023-07-26T04:33:12.086Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T04:33:12.086Z] 2437ff75d9bd: Download complete [2023-07-26T04:33:13.492Z] 8998bd30e6a1: Pull complete [2023-07-26T04:33:13.760Z] 04944245beec: Pull complete [2023-07-26T04:33:15.169Z] 699f458cf7ca: Pull complete [2023-07-26T04:33:18.505Z] 765212b225bb: Pull complete [2023-07-26T04:33:18.772Z] f23df028b6ca: Pull complete [2023-07-26T04:33:19.039Z] d65c8cfc05b1: Pull complete [2023-07-26T04:33:34.046Z] 2437ff75d9bd: Pull complete [2023-07-26T04:33:34.046Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T04:33:34.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T04:33:34.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:33:34.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-2183 does not seem to be running inside a container [2023-07-26T04:33:34.421Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-26T04:33:36.819Z] $ docker top f34addeb0d8658e9e51f1964e1dcc206e5661ec6cab806e532c8a99b80ac0e18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:37.671Z] ---> job-cost.sh [2023-07-26T04:33:37.672Z] lf-activate-venv: SKIPPING [2023-07-26T04:33:37.672Z] INFO: No Stack... [2023-07-26T04:33:37.937Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T04:33:38.887Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T04:33:39.229Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-07-26T04:33:39.229Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T04:33:39.305Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [2023-07-26T04:33:39.310Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] did not exist. Created. [2023-07-26T04:33:39.310Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T04:33:39.708Z] /w/workspace/device-sdk-go/1@tmp/durable-0ea33b9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T04:33:40.051Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T04:33:40.083Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T04:33:40.467Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T04:33:40.570Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T04:33:40.712Z] $ docker stop --time=1 f34addeb0d8658e9e51f1964e1dcc206e5661ec6cab806e532c8a99b80ac0e18 [2023-07-26T04:33:45.214Z] $ docker rm -f --volumes f34addeb0d8658e9e51f1964e1dcc206e5661ec6cab806e532c8a99b80ac0e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T04:33:45.943Z] 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-07-26T04:33:47.816Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives ] [2023-07-26T04:33:47.816Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives [2023-07-26T04:33:47.816Z] total 16 [2023-07-26T04:33:47.816Z] drwxr-xr-x 3 root root 4096 Jul 26 04:27 . [2023-07-26T04:33:47.816Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 26 04:27 .. [2023-07-26T04:33:47.817Z] drwxr-xr-x 2 root root 4096 Jul 26 04:27 cost [2023-07-26T04:33:47.817Z] -rw-r--r-- 1 root root 86 Jul 26 04:27 cost.csv [2023-07-26T04:33:47.817Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives [2023-07-26T04:33:47.817Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives [2023-07-26T04:33:47.817Z] total 16 [2023-07-26T04:33:47.817Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 04:27 . [2023-07-26T04:33:47.817Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 26 04:27 .. [2023-07-26T04:33:47.817Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 04:27 cost [2023-07-26T04:33:47.817Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 26 04:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:48.142Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:49.028Z] ---> package-listing.sh [2023-07-26T04:33:49.028Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T04:33:49.028Z] ++ facter osfamily [2023-07-26T04:33:49.288Z] + OS_FAMILY=debian [2023-07-26T04:33:49.288Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1485 [2023-07-26T04:33:49.288Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T04:33:49.288Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T04:33:49.288Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T04:33:49.288Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T04:33:49.288Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1485 ']' [2023-07-26T04:33:49.288Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T04:33:49.288Z] + case "${OS_FAMILY}" in [2023-07-26T04:33:49.288Z] + dpkg -l [2023-07-26T04:33:49.288Z] + grep '^ii' [2023-07-26T04:33:49.288Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T04:33:49.288Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T04:33:49.288Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T04:33:49.288Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1485 ']' [2023-07-26T04:33:49.288Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives/ [2023-07-26T04:33:49.288Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1485/archives/ [Pipeline] echo [2023-07-26T04:33:49.325Z] 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-sdk-go_PR-1485/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-26T04:33:49.618Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T04:33:50.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T04:33:50.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T04:33:50.393Z] prd-ubuntu20.04-docker-8c-8g-2182 does not seem to be running inside a container [2023-07-26T04:33:50.427Z] $ 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-sdk-go_PR-1485/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-sdk-go_PR-1485 -v /w/workspace/gexfoundry_device-sdk-go_PR-1485:/w/workspace/gexfoundry_device-sdk-go_PR-1485:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1485@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-07-26T04:33:50.619Z] $ docker top 99ab59b873c2dec077dd2a820cd153ba3e31bab38f35362db161756feffc34d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T04:33:51.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T04:33:51.320Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T04:33:51.631Z] + ls /var/log/sa-host [2023-07-26T04:33:51.631Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T04:33:51.843Z] provisioning config files... [2023-07-26T04:33:51.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1485@tmp/config1756193334132927908tmp [Pipeline] { [Pipeline] echo [2023-07-26T04:33:51.908Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:52.227Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T04:33:52.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:52.645Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T04:33:52.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:52.990Z] ---> sudo-logs.sh [2023-07-26T04:33:52.990Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T04:33:53.071Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:53.382Z] ---> job-cost.sh [2023-07-26T04:33:53.382Z] lf-activate-venv: SKIPPING [2023-07-26T04:33:53.382Z] DEBUG: total: 0.2199999988079071 [2023-07-26T04:33:53.382Z] INFO: Retrieving Stack Cost... [2023-07-26T04:33:53.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T04:33:54.211Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T04:33:54.245Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T04:33:54.551Z] ---> logs-deploy.sh [2023-07-26T04:33:54.552Z] lf-activate-venv: SKIPPING [2023-07-26T04:33:54.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1485/1 [2023-07-26T04:33:54.552Z] INFO: archiving workspace using pattern(s): [2023-07-26T04:33:55.488Z] Archives upload complete. [2023-07-26T04:33:55.488Z] INFO: archiving logs to Nexus