Pull request #1486 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5b53c07a5f29193894930fed166ce05a34e3817+5a7d05295c20c4306666c126d05bdc304538796c (8b6641d75749cdb4985172188820ffb0abe48881) 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-ssh10682228923150455837.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-ssh917401996972447607.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-1486/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-1486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8683276896910194336.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-1486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1818983163487823917.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-ssh17222315090431807112.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-1486/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-1486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16548501292038797421.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-2428 in /w/workspace/gexfoundry_device-sdk-go_PR-1486 [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-1486 # 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 e5b53c07a5f29193894930fed166ce05a34e3817 Merge succeeded, producing e5b53c07a5f29193894930fed166ce05a34e3817 Checking out Revision e5b53c07a5f29193894930fed166ce05a34e3817 (PR-1486) 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/1486/head:refs/remotes/origin/PR-1486 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5b53c07a5f29193894930fed166ce05a34e3817 # 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 e5b53c07a5f29193894930fed166ce05a34e3817 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-28T04:18:00.658Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-28T04:18:00.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-28T04:18:00.954Z] ========================================================= [2023-07-28T04:18:00.954Z] EdgeX Global Pipelines Version Info [2023-07-28T04:18:00.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:18:01.696Z] ------------------- [2023-07-28T04:18:01.696Z] stable info: [2023-07-28T04:18:01.696Z] ------------------- [2023-07-28T04:18:01.696Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-28T04:18:01.696Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T04:18:01.696Z] Message: update stable to v1.0.250 [2023-07-28T04:18:02.272Z] ------------------- [2023-07-28T04:18:02.272Z] experimental info: [2023-07-28T04:18:02.272Z] ------------------- [2023-07-28T04:18:02.272Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-28T04:18:02.272Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T04:18:02.272Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-28T04:18:02.534Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-28T04:18:02.572Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-28T04:18:02.611Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-28T04:18:02.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-28T04:18:02.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-28T04:18:02.727Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-28T04:18:02.761Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-28T04:18:02.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-28T04:18:02.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-28T04:18:02.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-28T04:18:02.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-28T04:18:02.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-28T04:18:02.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-28T04:18:03.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-28T04:18:03.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-28T04:18:03.102Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-28T04:18:03.139Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-28T04:18:03.174Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-28T04:18:03.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-28T04:18:03.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-28T04:18:03.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-28T04:18:03.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-28T04:18:03.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-28T04:18:03.410Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-28T04:18:03.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-28T04:18:03.483Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-28T04:18:03.518Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-28T04:18:03.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1486 [Pipeline] echo [2023-07-28T04:18:03.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1486 [Pipeline] echo [2023-07-28T04:18:03.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1486 [Pipeline] echo [2023-07-28T04:18:03.670Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5b53c07a5f29193894930fed166ce05a34e3817 [Pipeline] echo [2023-07-28T04:18:03.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5b53c0 [Pipeline] echo [2023-07-28T04:18:03.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T04:18:03.849Z] provisioning config files... [2023-07-28T04:18:03.910Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/config9955094711979602894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:18:04.258Z] ---> docker-login.sh [2023-07-28T04:18:04.258Z] nexus3.edgexfoundry.org:10001 [2023-07-28T04:18:04.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:04.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:04.797Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:04.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:04.797Z] [2023-07-28T04:18:04.797Z] Login Succeeded [2023-07-28T04:18:04.797Z] nexus3.edgexfoundry.org:10002 [2023-07-28T04:18:04.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:04.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:04.797Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:04.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:04.797Z] [2023-07-28T04:18:04.797Z] Login Succeeded [2023-07-28T04:18:04.797Z] nexus3.edgexfoundry.org:10003 [2023-07-28T04:18:04.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:05.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:05.058Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:05.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:05.058Z] [2023-07-28T04:18:05.058Z] Login Succeeded [2023-07-28T04:18:05.058Z] nexus3.edgexfoundry.org:10004 [2023-07-28T04:18:05.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:05.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:05.058Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:05.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:05.058Z] [2023-07-28T04:18:05.058Z] Login Succeeded [2023-07-28T04:18:05.058Z] docker.io [2023-07-28T04:18:05.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:05.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:05.579Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:05.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:05.579Z] [2023-07-28T04:18:05.579Z] Login Succeeded [2023-07-28T04:18:05.579Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T04:18:05.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-28T04:18:06.227Z] + git rev-list -1 --merges e5b53c07a5f29193894930fed166ce05a34e3817~1..e5b53c07a5f29193894930fed166ce05a34e3817 [Pipeline] echo [2023-07-28T04:18:06.305Z] -----------> git rev-list -1 --merges e5b53c07a5f29193894930fed166ce05a34e3817~1..e5b53c07a5f29193894930fed166ce05a34e3817 e5b53c07a5f29193894930fed166ce05a34e3817 [false] [Pipeline] sh [2023-07-28T04:18:06.617Z] + git log --format=format:%s -1 e5b53c07a5f29193894930fed166ce05a34e3817 [Pipeline] echo [2023-07-28T04:18:06.654Z] ========================================================= [2023-07-28T04:18:06.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T04:18:06.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T04:18:07.097Z] + git log --format=format:%s -1 e5b53c07a5f29193894930fed166ce05a34e3817 [Pipeline] echo [2023-07-28T04:18:07.141Z] [semverPrep] GIT_COMMIT: e5b53c07a5f29193894930fed166ce05a34e3817, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-07-28T04:18:07.167Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-28T04:18:07.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-28T04:18:07.572Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-28T04:18:07.572Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-28T04:18:07.572Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-28T04:18:07.572Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-28T04:18:07.572Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-28T04:18:07.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:18:08.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T04:18:08.069Z] [2023-07-28T04:18:08.069Z] 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-28T04:18:08.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T04:18:08.459Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-28T04:18:08.459Z] b85a868b505f: Pulling fs layer [2023-07-28T04:18:08.459Z] e2be974225ed: Pulling fs layer [2023-07-28T04:18:08.459Z] 339a4e72a1f5: Pulling fs layer [2023-07-28T04:18:08.459Z] 988bab9f4d93: Pulling fs layer [2023-07-28T04:18:08.459Z] 1469e6f7b9e6: Pulling fs layer [2023-07-28T04:18:08.459Z] eaf3925da568: Pulling fs layer [2023-07-28T04:18:08.459Z] bab4dde63d76: Pulling fs layer [2023-07-28T04:18:08.459Z] bde34c3a00c8: Pulling fs layer [2023-07-28T04:18:08.459Z] b352a97aabf1: Pulling fs layer [2023-07-28T04:18:08.459Z] 4872d77fe225: Pulling fs layer [2023-07-28T04:18:08.459Z] 5851b861e8e6: Pulling fs layer [2023-07-28T04:18:08.459Z] 988bab9f4d93: Waiting [2023-07-28T04:18:08.459Z] 1469e6f7b9e6: Waiting [2023-07-28T04:18:08.459Z] eaf3925da568: Waiting [2023-07-28T04:18:08.459Z] bab4dde63d76: Waiting [2023-07-28T04:18:08.459Z] b352a97aabf1: Waiting [2023-07-28T04:18:08.459Z] bde34c3a00c8: Waiting [2023-07-28T04:18:08.459Z] e2be974225ed: Download complete [2023-07-28T04:18:08.459Z] 988bab9f4d93: Download complete [2023-07-28T04:18:08.730Z] 1469e6f7b9e6: Verifying Checksum [2023-07-28T04:18:08.730Z] 1469e6f7b9e6: Download complete [2023-07-28T04:18:08.730Z] 339a4e72a1f5: Verifying Checksum [2023-07-28T04:18:08.730Z] 339a4e72a1f5: Download complete [2023-07-28T04:18:08.730Z] bde34c3a00c8: Download complete [2023-07-28T04:18:08.730Z] b352a97aabf1: Download complete [2023-07-28T04:18:08.730Z] 4872d77fe225: Verifying Checksum [2023-07-28T04:18:08.730Z] 4872d77fe225: Download complete [2023-07-28T04:18:08.730Z] 5851b861e8e6: Verifying Checksum [2023-07-28T04:18:08.730Z] 5851b861e8e6: Download complete [2023-07-28T04:18:08.730Z] b85a868b505f: Verifying Checksum [2023-07-28T04:18:08.730Z] b85a868b505f: Download complete [2023-07-28T04:18:08.990Z] bab4dde63d76: Verifying Checksum [2023-07-28T04:18:08.990Z] bab4dde63d76: Download complete [2023-07-28T04:18:10.370Z] b85a868b505f: Pull complete [2023-07-28T04:18:10.370Z] e2be974225ed: Pull complete [2023-07-28T04:18:10.630Z] 339a4e72a1f5: Pull complete [2023-07-28T04:18:10.889Z] 988bab9f4d93: Pull complete [2023-07-28T04:18:11.148Z] 1469e6f7b9e6: Pull complete [2023-07-28T04:18:11.148Z] eaf3925da568: Pull complete [2023-07-28T04:18:13.049Z] bab4dde63d76: Pull complete [2023-07-28T04:18:13.049Z] bde34c3a00c8: Pull complete [2023-07-28T04:18:13.049Z] b352a97aabf1: Pull complete [2023-07-28T04:18:13.309Z] 4872d77fe225: Pull complete [2023-07-28T04:18:13.309Z] 5851b861e8e6: Pull complete [2023-07-28T04:18:13.309Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-28T04:18:13.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T04:18:13.309Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:18:13.539Z] prd-ubuntu20.04-docker-8c-8g-2428 does not seem to be running inside a container [2023-07-28T04:18:13.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1486 -v /w/workspace/gexfoundry_device-sdk-go_PR-1486:/w/workspace/gexfoundry_device-sdk-go_PR-1486:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1486@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-28T04:18:16.065Z] $ docker top 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a -eo pid,comm [2023-07-28T04:18:16.121Z] 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-28T04:18:16.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-28T04:18:16.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T04:18:16.251Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T04:18:16.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T04:18:16.390Z] $ docker exec 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a ssh-agent [2023-07-28T04:18:16.516Z] SSH_AUTH_SOCK=/tmp/ssh-SwORh38iq0sP/agent.33 [2023-07-28T04:18:16.516Z] SSH_AGENT_PID=39 [2023-07-28T04:18:16.522Z] Running ssh-add (command line suppressed) [2023-07-28T04:18:16.634Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/private_key_12562361825780449733.key (/w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/private_key_12562361825780449733.key) [2023-07-28T04:18:16.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T04:18:16.980Z] + git tag --points-at HEAD [Pipeline] } [2023-07-28T04:18:17.007Z] $ docker exec --env ******** --env ******** 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a ssh-agent -k [2023-07-28T04:18:17.112Z] unset SSH_AUTH_SOCK; [2023-07-28T04:18:17.113Z] unset SSH_AGENT_PID; [2023-07-28T04:18:17.113Z] echo Agent pid 39 killed; [2023-07-28T04:18:17.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-28T04:18:17.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T04:18:17.216Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T04:18:17.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T04:18:17.337Z] $ docker exec 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a ssh-agent [2023-07-28T04:18:17.444Z] SSH_AUTH_SOCK=/tmp/ssh-s1DPDTXc8OLv/agent.71 [2023-07-28T04:18:17.444Z] SSH_AGENT_PID=77 [2023-07-28T04:18:17.449Z] Running ssh-add (command line suppressed) [2023-07-28T04:18:17.558Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/private_key_14567728468602591335.key (/w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/private_key_14567728468602591335.key) [2023-07-28T04:18:17.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T04:18:17.907Z] + git semver init [2023-07-28T04:18:18.166Z] 2023-07-28 04:18:18,090 [run_init] DEBUG init version:0.0.0 force:False [2023-07-28T04:18:18.166Z] 2023-07-28 04:18:18,091 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver [2023-07-28T04:18:18.166Z] 2023-07-28 04:18:18,091 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver [2023-07-28T04:18:18.166Z] 2023-07-28 04:18:18,091 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1486, universal_newlines=False, shell=None, istream=None) [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,116 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1486/.git/info/exclude [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,116 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver/PR-1486 with force:False [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,116 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver/PR-1486 [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,121 [execute] INFO git cat-file --batch-check [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,128 [execute] INFO git cat-file --batch [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T04:18:19.547Z] 2023-07-28 04:18:19,134 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1486/.semver/PR-1486 [2023-07-28T04:18:19.547Z] 0.0.0 [Pipeline] } [2023-07-28T04:18:19.574Z] $ docker exec --env ******** --env ******** 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a ssh-agent -k [2023-07-28T04:18:19.690Z] unset SSH_AUTH_SOCK; [2023-07-28T04:18:19.691Z] unset SSH_AGENT_PID; [2023-07-28T04:18:19.691Z] echo Agent pid 77 killed; [2023-07-28T04:18:19.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-28T04:18:20.138Z] + git semver [Pipeline] } [2023-07-28T04:18:20.422Z] $ docker stop --time=1 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a [2023-07-28T04:18:21.702Z] $ docker rm -f --volumes 07d8ff37305dc3e773630199beb62591f712ff15eabdce0f14b67fb95c20c80a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-28T04:18:22.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-28T04:18:22.386Z] Stashed 1 file(s) [Pipeline] echo [2023-07-28T04:18:22.403Z] [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-28T04:18:22.963Z] provisioning config files... [2023-07-28T04:18:22.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/config12118098191377726774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:18:23.317Z] ---> docker-login.sh [2023-07-28T04:18:23.317Z] nexus3.edgexfoundry.org:10001 [2023-07-28T04:18:23.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:23.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:23.317Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:23.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:23.317Z] [2023-07-28T04:18:23.317Z] Login Succeeded [2023-07-28T04:18:23.317Z] nexus3.edgexfoundry.org:10002 [2023-07-28T04:18:23.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:23.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:23.317Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:23.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:23.317Z] [2023-07-28T04:18:23.317Z] Login Succeeded [2023-07-28T04:18:23.317Z] nexus3.edgexfoundry.org:10003 [2023-07-28T04:18:23.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:23.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:23.576Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:23.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:23.576Z] [2023-07-28T04:18:23.576Z] Login Succeeded [2023-07-28T04:18:23.576Z] nexus3.edgexfoundry.org:10004 [2023-07-28T04:18:23.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:23.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:23.576Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:23.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:23.576Z] [2023-07-28T04:18:23.576Z] Login Succeeded [2023-07-28T04:18:23.576Z] docker.io [2023-07-28T04:18:23.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:18:24.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:18:24.098Z] Configure a credential helper to remove this warning. See [2023-07-28T04:18:24.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:18:24.098Z] [2023-07-28T04:18:24.098Z] Login Succeeded [2023-07-28T04:18:24.098Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T04:18:24.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T04:18:24.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T04:18:24.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T04:18:24.387Z] ========================================================= [2023-07-28T04:18:24.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-28T04:18:24.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:18:24.846Z] + 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-28T04:18:24.846Z] Sending build context to Docker daemon 11.02MB [2023-07-28T04:18:24.846Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-28T04:18:24.846Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-28T04:18:24.846Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-28T04:18:24.846Z] 4db1b89c0bd1: Pulling fs layer [2023-07-28T04:18:24.846Z] 6911f1a30b25: Pulling fs layer [2023-07-28T04:18:24.846Z] e194b8c5c2a9: Pulling fs layer [2023-07-28T04:18:24.846Z] 6863d3e3a2b1: Pulling fs layer [2023-07-28T04:18:24.846Z] ec0bb842ea78: Pulling fs layer [2023-07-28T04:18:24.846Z] 40a00589a448: Pulling fs layer [2023-07-28T04:18:24.846Z] 6c08303d61cc: Pulling fs layer [2023-07-28T04:18:24.846Z] 798269fcf238: Pulling fs layer [2023-07-28T04:18:24.846Z] 6863d3e3a2b1: Waiting [2023-07-28T04:18:24.846Z] ec0bb842ea78: Waiting [2023-07-28T04:18:24.846Z] 40a00589a448: Waiting [2023-07-28T04:18:24.846Z] 6c08303d61cc: Waiting [2023-07-28T04:18:24.846Z] 798269fcf238: Waiting [2023-07-28T04:18:25.106Z] 6911f1a30b25: Download complete [2023-07-28T04:18:25.106Z] 6863d3e3a2b1: Verifying Checksum [2023-07-28T04:18:25.106Z] 6863d3e3a2b1: Download complete [2023-07-28T04:18:25.106Z] ec0bb842ea78: Verifying Checksum [2023-07-28T04:18:25.106Z] ec0bb842ea78: Download complete [2023-07-28T04:18:25.106Z] 4db1b89c0bd1: Verifying Checksum [2023-07-28T04:18:25.106Z] 4db1b89c0bd1: Download complete [2023-07-28T04:18:25.106Z] 40a00589a448: Verifying Checksum [2023-07-28T04:18:25.106Z] 40a00589a448: Download complete [2023-07-28T04:18:25.366Z] 4db1b89c0bd1: Pull complete [2023-07-28T04:18:25.366Z] 6911f1a30b25: Pull complete [2023-07-28T04:18:25.951Z] 798269fcf238: Verifying Checksum [2023-07-28T04:18:25.951Z] 798269fcf238: Download complete [2023-07-28T04:18:25.951Z] e194b8c5c2a9: Verifying Checksum [2023-07-28T04:18:25.951Z] e194b8c5c2a9: Download complete [2023-07-28T04:18:26.209Z] 6c08303d61cc: Verifying Checksum [2023-07-28T04:18:26.209Z] 6c08303d61cc: Download complete [2023-07-28T04:18:29.492Z] e194b8c5c2a9: Pull complete [2023-07-28T04:18:29.492Z] 6863d3e3a2b1: Pull complete [2023-07-28T04:18:29.752Z] ec0bb842ea78: Pull complete [2023-07-28T04:18:29.752Z] 40a00589a448: Pull complete [2023-07-28T04:18:32.301Z] 6c08303d61cc: Pull complete [2023-07-28T04:18:33.240Z] 798269fcf238: Pull complete [2023-07-28T04:18:33.240Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-28T04:18:33.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-28T04:18:33.240Z] ---> ec979cd7f677 [2023-07-28T04:18:33.240Z] Step 3/10 : ARG MAKE=make build [2023-07-28T04:18:37.431Z] ---> Running in 1188f699b445 [2023-07-28T04:18:37.431Z] Removing intermediate container 1188f699b445 [2023-07-28T04:18:37.431Z] ---> 2b1052fa8177 [2023-07-28T04:18:37.431Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-28T04:18:37.431Z] ---> Running in 30e0863219ef [2023-07-28T04:18:37.431Z] Removing intermediate container 30e0863219ef [2023-07-28T04:18:37.431Z] ---> 683a94da79db [2023-07-28T04:18:37.431Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-28T04:18:37.431Z] ---> Running in da8b4700fd59 [2023-07-28T04:18:37.431Z] Removing intermediate container da8b4700fd59 [2023-07-28T04:18:37.431Z] ---> 698228f24706 [2023-07-28T04:18:37.431Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-28T04:18:37.691Z] ---> Running in 829932cc9e0c [2023-07-28T04:18:37.796Z] Still waiting to schedule task [2023-07-28T04:18:37.797Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-28T04:18:37.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-28T04:18:37.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-28T04:18:38.519Z] OK: 265 MiB in 53 packages [2023-07-28T04:18:38.778Z] Removing intermediate container 829932cc9e0c [2023-07-28T04:18:38.778Z] ---> 530f3e04e474 [2023-07-28T04:18:38.778Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-28T04:18:38.778Z] ---> 6a08ddf71882 [2023-07-28T04:18:38.778Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-28T04:18:38.778Z] ---> Running in d8e833d38855 [2023-07-28T04:19:35.040Z] Removing intermediate container d8e833d38855 [2023-07-28T04:19:35.040Z] ---> 79d483b339ef [2023-07-28T04:19:35.040Z] Step 9/10 : COPY . . [2023-07-28T04:19:35.040Z] ---> 58643c282f78 [2023-07-28T04:19:35.040Z] Step 10/10 : RUN ${MAKE} [2023-07-28T04:19:35.040Z] ---> Running in 284a75f96e50 [2023-07-28T04:19:35.040Z] noop [2023-07-28T04:19:35.040Z] Removing intermediate container 284a75f96e50 [2023-07-28T04:19:35.040Z] ---> 110ca23ce231 [2023-07-28T04:19:35.040Z] Successfully built 110ca23ce231 [2023-07-28T04:19:35.040Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:19:35.490Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-28T04:19:35.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:19:35.650Z] prd-ubuntu20.04-docker-8c-8g-2428 does not seem to be running inside a container [2023-07-28T04:19:35.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1486 -v /w/workspace/gexfoundry_device-sdk-go_PR-1486:/w/workspace/gexfoundry_device-sdk-go_PR-1486:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1486@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-28T04:19:36.022Z] $ docker top b180b7d0b6cb48c71cc3b94838ad7f145816a23759b6e1375c15c4f04c28c4de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T04:19:36.411Z] + go version [2023-07-28T04:19:36.411Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-28T04:19:36.442Z] $ docker stop --time=1 b180b7d0b6cb48c71cc3b94838ad7f145816a23759b6e1375c15c4f04c28c4de [2023-07-28T04:19:37.702Z] $ docker rm -f --volumes b180b7d0b6cb48c71cc3b94838ad7f145816a23759b6e1375c15c4f04c28c4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:19:38.402Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-28T04:19:38.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:19:38.547Z] prd-ubuntu20.04-docker-8c-8g-2428 does not seem to be running inside a container [2023-07-28T04:19:38.574Z] $ 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-1486 -v /w/workspace/gexfoundry_device-sdk-go_PR-1486:/w/workspace/gexfoundry_device-sdk-go_PR-1486:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1486@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-28T04:19:38.886Z] $ docker top 537185cceb86079f8c4b0fa5563f70120e8c539d6e0408dc501452082f7656aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T04:19:39.330Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1486 [Pipeline] fileExists [Pipeline] sh [2023-07-28T04:19:39.747Z] + make test [2023-07-28T04:19:39.747Z] go test -race -coverprofile=coverage.out ./... [2023-07-28T04:19:46.314Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-28T04:19:58.540Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-07-28T04:19:58.540Z] 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-28T04:19:58.540Z] 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-28T04:19:58.540Z] 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-28T04:19:58.540Z] 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-28T04:19:58.540Z] 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-28T04:19:58.540Z] 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-28T04:19:58.800Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-28T04:19:58.800Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-28T04:19:58.800Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-28T04:19:58.800Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-28T04:20:00.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-07-28T04:20:00.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-28T04:20:00.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-28T04:20:00.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-28T04:20:00.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements [2023-07-28T04:20:00.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 86.0% of statements [2023-07-28T04:20:00.176Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-07-28T04:20:01.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-28T04:20:01.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-28T04:20:03.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 14.3% of statements [2023-07-28T04:20:03.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.122s coverage: 43.8% of statements [2023-07-28T04:20:03.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements [2023-07-28T04:20:03.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-07-28T04:20:03.496Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-07-28T04:20:03.496Z] FAIL [2023-07-28T04:20:03.496Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-07-28T04:20:03.538Z] $ docker stop --time=1 537185cceb86079f8c4b0fa5563f70120e8c539d6e0408dc501452082f7656aa [2023-07-28T04:20:06.275Z] $ docker rm -f --volumes 537185cceb86079f8c4b0fa5563f70120e8c539d6e0408dc501452082f7656aa [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-28T04:20:07.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T04:20:07.487Z] [2023-07-28T04:20:07.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:20:07.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T04:20:07.885Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-28T04:20:07.885Z] 5eb5b503b376: Pulling fs layer [2023-07-28T04:20:07.885Z] 5c69ac0246d0: Pulling fs layer [2023-07-28T04:20:07.885Z] ec43610c2a17: Pulling fs layer [2023-07-28T04:20:07.885Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-28T04:20:07.885Z] 33b1e0a273af: Pulling fs layer [2023-07-28T04:20:07.885Z] 3a2ae6a8a46f: Waiting [2023-07-28T04:20:07.885Z] 33b1e0a273af: Waiting [2023-07-28T04:20:07.885Z] 5d3b04190fa2: Pulling fs layer [2023-07-28T04:20:07.885Z] 2f39f015ded8: Pulling fs layer [2023-07-28T04:20:07.885Z] 5d3b04190fa2: Waiting [2023-07-28T04:20:07.885Z] 2f39f015ded8: Waiting [2023-07-28T04:20:07.885Z] 5c69ac0246d0: Download complete [2023-07-28T04:20:07.885Z] 3a2ae6a8a46f: Download complete [2023-07-28T04:20:08.159Z] 33b1e0a273af: Verifying Checksum [2023-07-28T04:20:08.159Z] 33b1e0a273af: Download complete [2023-07-28T04:20:08.159Z] ec43610c2a17: Verifying Checksum [2023-07-28T04:20:08.159Z] ec43610c2a17: Download complete [2023-07-28T04:20:08.159Z] 5d3b04190fa2: Verifying Checksum [2023-07-28T04:20:08.159Z] 5d3b04190fa2: Download complete [2023-07-28T04:20:08.159Z] 5eb5b503b376: Download complete [2023-07-28T04:20:08.730Z] 2f39f015ded8: Verifying Checksum [2023-07-28T04:20:08.730Z] 2f39f015ded8: Download complete [2023-07-28T04:20:09.296Z] 5eb5b503b376: Pull complete [2023-07-28T04:20:09.555Z] 5c69ac0246d0: Pull complete [2023-07-28T04:20:10.122Z] ec43610c2a17: Pull complete [2023-07-28T04:20:10.122Z] 3a2ae6a8a46f: Pull complete [2023-07-28T04:20:10.382Z] 33b1e0a273af: Pull complete [2023-07-28T04:20:10.382Z] 5d3b04190fa2: Pull complete [2023-07-28T04:20:11.046Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2429 in /w/workspace/gexfoundry_device-sdk-go_PR-1486 [Pipeline] { [Pipeline] ws [2023-07-28T04:20:11.106Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-07-28T04:20:11.188Z] The recommended git tool is: git [2023-07-28T04:20:15.648Z] 2f39f015ded8: Pull complete [2023-07-28T04:20:15.648Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-28T04:20:15.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T04:20:15.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:20:15.882Z] prd-ubuntu20.04-docker-8c-8g-2428 does not seem to be running inside a container [2023-07-28T04:20:15.916Z] $ 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-1486 -v /w/workspace/gexfoundry_device-sdk-go_PR-1486:/w/workspace/gexfoundry_device-sdk-go_PR-1486:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1486@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-28T04:20:16.166Z] using credential edgex-jenkins-ssh [2023-07-28T04:20:16.185Z] Cloning the remote Git repository [2023-07-28T04:20:16.215Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-28T04:20:16.306Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-28T04:20:16.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-28T04:20:16.449Z] > git --version # timeout=10 [2023-07-28T04:20:16.472Z] > git --version # 'git version 2.25.1' [2023-07-28T04:20:16.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T04:20:16.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T04:20:18.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-28T04:20:18.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T04:20:18.815Z] $ docker top eb730ebe379b5e898f047be1dd40c8ce423c9fc18810e5a1796d9105c9041698 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:20:19.289Z] ---> job-cost.sh [2023-07-28T04:20:19.289Z] lf-activate-venv: SKIPPING [2023-07-28T04:20:19.289Z] INFO: No Stack... [2023-07-28T04:20:19.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T04:20:19.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-28T04:20:19.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-28T04:20:19.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T04:20:19.230Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1486/head:refs/remotes/origin/PR-1486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-28T04:20:19.987Z] Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit e5b53c07a5f29193894930fed166ce05a34e3817 [2023-07-28T04:20:20.118Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T04:20:20.257Z] Merge succeeded, producing e5b53c07a5f29193894930fed166ce05a34e3817 [2023-07-28T04:20:20.258Z] Checking out Revision e5b53c07a5f29193894930fed166ce05a34e3817 (PR-1486) [2023-07-28T04:20:20.434Z] + cut -d, -f6 [2023-07-28T04:20:20.435Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives/cost.csv [Pipeline] lock [2023-07-28T04:20:20.484Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [2023-07-28T04:20:20.489Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] did not exist. Created. [2023-07-28T04:20:20.489Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T04:20:20.706Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-07-28T04:20:20.742Z] > git --version # timeout=10 [2023-07-28T04:20:20.752Z] > git --version # 'git version 2.25.1' [2023-07-28T04:20:20.767Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T04:20:20.885Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-28T04:20:20.949Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T04:20:20.963Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T04:20:21.043Z] $ docker stop --time=1 eb730ebe379b5e898f047be1dd40c8ce423c9fc18810e5a1796d9105c9041698 [2023-07-28T04:20:21.222Z] [2023-07-28T04:20:21.223Z] GitHub has been notified of this commit’s build result [2023-07-28T04:20:21.223Z] [2023-07-28T04:20:19.995Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T04:20:20.055Z] > git checkout -f e5b53c07a5f29193894930fed166ce05a34e3817 # timeout=10 [2023-07-28T04:20:20.162Z] > git remote # timeout=10 [2023-07-28T04:20:20.180Z] > git config --get remote.origin.url # timeout=10 [2023-07-28T04:20:20.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T04:20:20.208Z] > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [2023-07-28T04:20:20.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-28T04:20:20.255Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T04:20:20.267Z] > git checkout -f e5b53c07a5f29193894930fed166ce05a34e3817 # timeout=10 [2023-07-28T04:20:22.203Z] $ docker rm -f --volumes eb730ebe379b5e898f047be1dd40c8ce423c9fc18810e5a1796d9105c9041698 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T04:20:22.530Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T04:20:23.180Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-28T04:20:23.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-28T04:20:23.180Z] Dload Upload Total Spent Left Speed [2023-07-28T04:20:23.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-07-28T04:20:23.801Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-28T04:20:24.155Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-28T04:20:24.155Z] + sudo tee /etc/docker/daemon.new [2023-07-28T04:20:24.155Z] { [2023-07-28T04:20:24.155Z] "registry-mirrors": [ [2023-07-28T04:20:24.155Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-28T04:20:24.155Z] ], [2023-07-28T04:20:24.155Z] "bip": "10.250.0.254/24", [2023-07-28T04:20:24.155Z] "hosts": [ [2023-07-28T04:20:24.155Z] "tcp://0.0.0.0:5555", [2023-07-28T04:20:24.155Z] "unix:///var/run/docker.sock" [2023-07-28T04:20:24.155Z] ], [2023-07-28T04:20:24.155Z] "mtu": 1458, [2023-07-28T04:20:24.155Z] "selinux-enabled": true, [2023-07-28T04:20:24.155Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-28T04:20:24.155Z] } [Pipeline] sh [2023-07-28T04:20:24.501Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-28T04:20:24.845Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T04:20:43.152Z] provisioning config files... [2023-07-28T04:20:43.177Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1278341595875492808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:20:43.550Z] ---> docker-login.sh [2023-07-28T04:20:43.550Z] nexus3.edgexfoundry.org:10001 [2023-07-28T04:20:43.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:20:44.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:20:44.086Z] Configure a credential helper to remove this warning. See [2023-07-28T04:20:44.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:20:44.086Z] [2023-07-28T04:20:44.086Z] Login Succeeded [2023-07-28T04:20:44.086Z] nexus3.edgexfoundry.org:10002 [2023-07-28T04:20:44.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:20:44.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:20:44.355Z] Configure a credential helper to remove this warning. See [2023-07-28T04:20:44.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:20:44.355Z] [2023-07-28T04:20:44.355Z] Login Succeeded [2023-07-28T04:20:44.355Z] nexus3.edgexfoundry.org:10003 [2023-07-28T04:20:44.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:20:44.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:20:44.888Z] Configure a credential helper to remove this warning. See [2023-07-28T04:20:44.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:20:44.888Z] [2023-07-28T04:20:44.888Z] Login Succeeded [2023-07-28T04:20:44.888Z] nexus3.edgexfoundry.org:10004 [2023-07-28T04:20:44.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:20:45.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:20:45.159Z] Configure a credential helper to remove this warning. See [2023-07-28T04:20:45.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:20:45.159Z] [2023-07-28T04:20:45.159Z] Login Succeeded [2023-07-28T04:20:45.159Z] docker.io [2023-07-28T04:20:45.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T04:20:45.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T04:20:45.695Z] Configure a credential helper to remove this warning. See [2023-07-28T04:20:45.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T04:20:45.695Z] [2023-07-28T04:20:45.695Z] Login Succeeded [2023-07-28T04:20:45.695Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T04:20:45.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T04:20:46.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T04:20:46.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T04:20:46.178Z] ========================================================= [2023-07-28T04:20:46.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-28T04:20:46.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:20:46.666Z] + 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-28T04:20:46.934Z] Sending build context to Docker daemon 5.881MB [2023-07-28T04:20:46.934Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-28T04:20:46.934Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-28T04:20:47.201Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-28T04:20:47.201Z] edb6bdbacee9: Pulling fs layer [2023-07-28T04:20:47.201Z] 5f9638ab2659: Pulling fs layer [2023-07-28T04:20:47.201Z] 8d51d6327a98: Pulling fs layer [2023-07-28T04:20:47.201Z] 8b374f2dd631: Pulling fs layer [2023-07-28T04:20:47.201Z] ec14aa9079de: Pulling fs layer [2023-07-28T04:20:47.201Z] 2f466654f4bb: Pulling fs layer [2023-07-28T04:20:47.201Z] 554e91adad29: Pulling fs layer [2023-07-28T04:20:47.201Z] 8b374f2dd631: Waiting [2023-07-28T04:20:47.201Z] 2f466654f4bb: Waiting [2023-07-28T04:20:47.201Z] ec14aa9079de: Waiting [2023-07-28T04:20:47.201Z] 554e91adad29: Waiting [2023-07-28T04:20:47.201Z] 5f9638ab2659: Verifying Checksum [2023-07-28T04:20:47.201Z] 5f9638ab2659: Download complete [2023-07-28T04:20:47.201Z] 8b374f2dd631: Verifying Checksum [2023-07-28T04:20:47.201Z] 8b374f2dd631: Download complete [2023-07-28T04:20:47.201Z] ec14aa9079de: Verifying Checksum [2023-07-28T04:20:47.201Z] ec14aa9079de: Download complete [2023-07-28T04:20:47.201Z] edb6bdbacee9: Verifying Checksum [2023-07-28T04:20:47.201Z] edb6bdbacee9: Download complete [2023-07-28T04:20:48.179Z] edb6bdbacee9: Pull complete [2023-07-28T04:20:48.772Z] 554e91adad29: Verifying Checksum [2023-07-28T04:20:48.772Z] 554e91adad29: Download complete [2023-07-28T04:20:48.772Z] 5f9638ab2659: Pull complete [2023-07-28T04:20:49.736Z] 8d51d6327a98: Verifying Checksum [2023-07-28T04:20:49.736Z] 8d51d6327a98: Download complete [2023-07-28T04:20:49.736Z] 2f466654f4bb: Verifying Checksum [2023-07-28T04:20:49.736Z] 2f466654f4bb: Download complete [2023-07-28T04:21:00.014Z] 8d51d6327a98: Pull complete [2023-07-28T04:21:00.282Z] 8b374f2dd631: Pull complete [2023-07-28T04:21:00.282Z] ec14aa9079de: Pull complete [2023-07-28T04:21:06.931Z] 2f466654f4bb: Pull complete [2023-07-28T04:21:09.522Z] 554e91adad29: Pull complete [2023-07-28T04:21:09.522Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-28T04:21:09.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-28T04:21:09.522Z] ---> 1e15ea492957 [2023-07-28T04:21:09.522Z] Step 3/10 : ARG MAKE=make build [2023-07-28T04:21:10.944Z] ---> Running in 1024b5829159 [2023-07-28T04:21:11.214Z] Removing intermediate container 1024b5829159 [2023-07-28T04:21:11.214Z] ---> 5b148e039351 [2023-07-28T04:21:11.214Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-28T04:21:11.481Z] ---> Running in 449d7e4a1718 [2023-07-28T04:21:11.749Z] Removing intermediate container 449d7e4a1718 [2023-07-28T04:21:11.749Z] ---> 6c8f558f5ac8 [2023-07-28T04:21:11.749Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-28T04:21:11.749Z] ---> Running in b96554a9f17c [2023-07-28T04:21:12.025Z] Removing intermediate container b96554a9f17c [2023-07-28T04:21:12.025Z] ---> 0f8b1e805070 [2023-07-28T04:21:12.025Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-28T04:21:12.025Z] ---> Running in b456d3b11e79 [2023-07-28T04:21:13.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-28T04:21:13.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-28T04:21:14.676Z] OK: 263 MiB in 53 packages [2023-07-28T04:21:15.639Z] Removing intermediate container b456d3b11e79 [2023-07-28T04:21:15.639Z] ---> 849a3a9d4e88 [2023-07-28T04:21:15.639Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-28T04:21:16.228Z] ---> 233177470131 [2023-07-28T04:21:16.228Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-28T04:21:16.228Z] ---> Running in ea3240cf3b0a [2023-07-28T04:22:24.121Z] Removing intermediate container ea3240cf3b0a [2023-07-28T04:22:24.121Z] ---> 816ae1237bfc [2023-07-28T04:22:24.121Z] Step 9/10 : COPY . . [2023-07-28T04:22:24.121Z] ---> 483d15c596fb [2023-07-28T04:22:24.121Z] Step 10/10 : RUN ${MAKE} [2023-07-28T04:22:24.121Z] ---> Running in bdb7ede82048 [2023-07-28T04:22:24.121Z] noop [2023-07-28T04:22:24.121Z] Removing intermediate container bdb7ede82048 [2023-07-28T04:22:24.121Z] ---> e4a573a619a1 [2023-07-28T04:22:24.121Z] Successfully built e4a573a619a1 [2023-07-28T04:22:24.121Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:22:24.586Z] + docker inspect -f . ci-base-image-arm64 [2023-07-28T04:22:24.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:22:24.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-2429 does not seem to be running inside a container [2023-07-28T04:22:24.925Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-28T04:22:26.065Z] $ docker top 595a5309e3dc1759155070eb02bd28277668660870d060da531a8fc0c37abead -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T04:22:26.945Z] + go version [2023-07-28T04:22:26.945Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-28T04:22:26.985Z] $ docker stop --time=1 595a5309e3dc1759155070eb02bd28277668660870d060da531a8fc0c37abead [2023-07-28T04:22:28.596Z] $ docker rm -f --volumes 595a5309e3dc1759155070eb02bd28277668660870d060da531a8fc0c37abead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:22:29.419Z] + docker inspect -f . ci-base-image-arm64 [2023-07-28T04:22:29.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:22:29.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-2429 does not seem to be running inside a container [2023-07-28T04:22:29.713Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-28T04:22:30.805Z] $ docker top ccb03e5c1563dd934aa56464999a78f1f796d54be3f0ac546b9b2caa75d0e634 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T04:22:31.344Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-28T04:22:31.729Z] + make test [2023-07-28T04:22:31.729Z] go test -race -coverprofile=coverage.out ./... [2023-07-28T04:23:10.605Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-28T04:25:32.285Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-07-28T04:25:32.285Z] 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-28T04:25:32.285Z] 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-28T04:25:32.285Z] 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-28T04:25:32.285Z] 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-28T04:25:32.285Z] 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-28T04:25:32.285Z] 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-28T04:25:32.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-28T04:25:32.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-28T04:25:32.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-28T04:25:32.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-28T04:25:34.853Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements [2023-07-28T04:25:40.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.277s coverage: 80.2% of statements [2023-07-28T04:25:55.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-28T04:25:55.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-28T04:25:55.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements [2023-07-28T04:25:55.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-28T04:25:55.219Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-07-28T04:26:01.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-28T04:26:01.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-28T04:26:02.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.3% of statements [2023-07-28T04:26:02.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.871s coverage: 43.8% of statements [2023-07-28T04:26:02.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements [2023-07-28T04:26:05.440Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.431s coverage: 89.2% of statements [2023-07-28T04:26:05.440Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-07-28T04:26:05.440Z] FAIL [2023-07-28T04:26:06.397Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-07-28T04:26:06.444Z] $ docker stop --time=1 ccb03e5c1563dd934aa56464999a78f1f796d54be3f0ac546b9b2caa75d0e634 [2023-07-28T04:26:08.234Z] $ docker rm -f --volumes ccb03e5c1563dd934aa56464999a78f1f796d54be3f0ac546b9b2caa75d0e634 [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-28T04:26:09.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T04:26:09.986Z] [2023-07-28T04:26:09.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:26:10.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T04:26:10.390Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-28T04:26:10.390Z] 8998bd30e6a1: Pulling fs layer [2023-07-28T04:26:10.390Z] 04944245beec: Pulling fs layer [2023-07-28T04:26:10.390Z] 699f458cf7ca: Pulling fs layer [2023-07-28T04:26:10.390Z] 765212b225bb: Pulling fs layer [2023-07-28T04:26:10.390Z] f23df028b6ca: Pulling fs layer [2023-07-28T04:26:10.390Z] d65c8cfc05b1: Pulling fs layer [2023-07-28T04:26:10.390Z] 2437ff75d9bd: Pulling fs layer [2023-07-28T04:26:10.390Z] f23df028b6ca: Waiting [2023-07-28T04:26:10.390Z] 765212b225bb: Waiting [2023-07-28T04:26:10.390Z] d65c8cfc05b1: Waiting [2023-07-28T04:26:10.390Z] 2437ff75d9bd: Waiting [2023-07-28T04:26:10.684Z] 04944245beec: Verifying Checksum [2023-07-28T04:26:10.684Z] 04944245beec: Download complete [2023-07-28T04:26:10.684Z] 765212b225bb: Verifying Checksum [2023-07-28T04:26:10.684Z] 765212b225bb: Download complete [2023-07-28T04:26:10.684Z] f23df028b6ca: Verifying Checksum [2023-07-28T04:26:10.684Z] f23df028b6ca: Download complete [2023-07-28T04:26:10.684Z] d65c8cfc05b1: Verifying Checksum [2023-07-28T04:26:10.684Z] d65c8cfc05b1: Download complete [2023-07-28T04:26:10.684Z] 699f458cf7ca: Verifying Checksum [2023-07-28T04:26:10.684Z] 699f458cf7ca: Download complete [2023-07-28T04:26:11.273Z] 8998bd30e6a1: Verifying Checksum [2023-07-28T04:26:11.273Z] 8998bd30e6a1: Download complete [2023-07-28T04:26:13.869Z] 2437ff75d9bd: Verifying Checksum [2023-07-28T04:26:13.869Z] 2437ff75d9bd: Download complete [2023-07-28T04:26:15.282Z] 8998bd30e6a1: Pull complete [2023-07-28T04:26:15.865Z] 04944245beec: Pull complete [2023-07-28T04:26:17.279Z] 699f458cf7ca: Pull complete [2023-07-28T04:26:17.547Z] 765212b225bb: Pull complete [2023-07-28T04:26:18.133Z] f23df028b6ca: Pull complete [2023-07-28T04:26:18.401Z] d65c8cfc05b1: Pull complete [2023-07-28T04:26:33.426Z] 2437ff75d9bd: Pull complete [2023-07-28T04:26:33.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-28T04:26:33.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T04:26:33.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:26:33.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-2429 does not seem to be running inside a container [2023-07-28T04:26:33.834Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-28T04:26:36.303Z] $ docker top 99420d69f0496fc30edabe1b48a1fbf5cd7bdbc9ca581ae93caba124b87d0239 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:37.225Z] ---> job-cost.sh [2023-07-28T04:26:37.225Z] lf-activate-venv: SKIPPING [2023-07-28T04:26:37.225Z] INFO: No Stack... [2023-07-28T04:26:37.492Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-28T04:26:38.453Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T04:26:39.112Z] + cut -d, -f6 [2023-07-28T04:26:39.112Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-07-28T04:26:39.194Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [2023-07-28T04:26:39.199Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] did not exist. Created. [2023-07-28T04:26:39.199Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T04:26:39.932Z] /w/workspace/device-sdk-go/1@tmp/durable-2cbaa24b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-28T04:26:40.681Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-28T04:26:40.719Z] Warning: overwriting stash ‘stack-cost’ [2023-07-28T04:26:41.256Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T04:26:41.271Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T04:26:41.364Z] $ docker stop --time=1 99420d69f0496fc30edabe1b48a1fbf5cd7bdbc9ca581ae93caba124b87d0239 [2023-07-28T04:26:42.864Z] $ docker rm -f --volumes 99420d69f0496fc30edabe1b48a1fbf5cd7bdbc9ca581ae93caba124b87d0239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T04:26:43.594Z] 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-28T04:26:45.578Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives ] [2023-07-28T04:26:45.578Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives [2023-07-28T04:26:45.578Z] total 16 [2023-07-28T04:26:45.578Z] drwxr-xr-x 3 root root 4096 Jul 28 04:20 . [2023-07-28T04:26:45.578Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 04:20 .. [2023-07-28T04:26:45.578Z] drwxr-xr-x 2 root root 4096 Jul 28 04:20 cost [2023-07-28T04:26:45.578Z] -rw-r--r-- 1 root root 86 Jul 28 04:20 cost.csv [2023-07-28T04:26:45.578Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives [2023-07-28T04:26:45.578Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives [2023-07-28T04:26:45.578Z] total 16 [2023-07-28T04:26:45.578Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 04:20 . [2023-07-28T04:26:45.578Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 04:20 .. [2023-07-28T04:26:45.578Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 04:20 cost [2023-07-28T04:26:45.578Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 28 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:45.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:46.805Z] ---> package-listing.sh [2023-07-28T04:26:46.805Z] ++ facter osfamily [2023-07-28T04:26:46.805Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-28T04:26:46.805Z] + OS_FAMILY=debian [2023-07-28T04:26:46.805Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1486 [2023-07-28T04:26:46.805Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-28T04:26:46.805Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-28T04:26:46.805Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-28T04:26:46.805Z] + PACKAGES=/tmp/packages_start.txt [2023-07-28T04:26:46.805Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1486 ']' [2023-07-28T04:26:46.805Z] + PACKAGES=/tmp/packages_end.txt [2023-07-28T04:26:46.805Z] + case "${OS_FAMILY}" in [2023-07-28T04:26:46.805Z] + dpkg -l [2023-07-28T04:26:46.805Z] + grep '^ii' [2023-07-28T04:26:47.064Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-28T04:26:47.064Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-28T04:26:47.064Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-28T04:26:47.064Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1486 ']' [2023-07-28T04:26:47.064Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives/ [2023-07-28T04:26:47.064Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1486/archives/ [Pipeline] echo [2023-07-28T04:26:47.097Z] 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-1486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-28T04:26:47.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T04:26:48.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T04:26:48.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T04:26:48.157Z] prd-ubuntu20.04-docker-8c-8g-2428 does not seem to be running inside a container [2023-07-28T04:26:48.185Z] $ 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-1486/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-1486 -v /w/workspace/gexfoundry_device-sdk-go_PR-1486:/w/workspace/gexfoundry_device-sdk-go_PR-1486:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1486@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-28T04:26:48.396Z] $ docker top e3f7769803c54b63e52c56986abf77c75498f5ce863eee5320a2ee350170bb8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T04:26:48.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-28T04:26:49.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-28T04:26:49.414Z] + ls /var/log/sa-host [2023-07-28T04:26:49.414Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T04:26:49.643Z] provisioning config files... [2023-07-28T04:26:49.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1486@tmp/config5331521962499993178tmp [Pipeline] { [Pipeline] echo [2023-07-28T04:26:49.707Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:50.021Z] ---> create-netrc.sh [Pipeline] } [2023-07-28T04:26:50.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:50.449Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-28T04:26:50.480Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:50.791Z] ---> sudo-logs.sh [2023-07-28T04:26:50.791Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-28T04:26:50.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:51.206Z] ---> job-cost.sh [2023-07-28T04:26:51.206Z] lf-activate-venv: SKIPPING [2023-07-28T04:26:51.206Z] DEBUG: total: 0.2199999988079071 [2023-07-28T04:26:51.206Z] INFO: Retrieving Stack Cost... [2023-07-28T04:26:51.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T04:26:51.724Z] INFO: Archiving Costs [Pipeline] echo [2023-07-28T04:26:51.756Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T04:26:52.069Z] ---> logs-deploy.sh [2023-07-28T04:26:52.069Z] lf-activate-venv: SKIPPING [2023-07-28T04:26:52.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1486/1 [2023-07-28T04:26:52.069Z] INFO: archiving workspace using pattern(s): [2023-07-28T04:26:53.004Z] Archives upload complete. [2023-07-28T04:26:53.004Z] INFO: archiving logs to Nexus