Pull request #1630 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03f106a99230557bb6112794c6d142a53b00ad5a+63adea828cf4ed1d876d09a9d3feb5428c04fd58 (80557f378f123e49391e9b3e0dfe428930deb504) 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-ssh15492161494894802778.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh2943568645656542568.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-1630/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-1630/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16443665853362899625.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-1630/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12256970081135524993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh1727497309038611453.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-1630/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-1630/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12604282827883969119.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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.21 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12569’ Running on prd-ubuntu20.04-docker-8c-8g-12576 in /w/workspace/gexfoundry_device-sdk-go_PR-1630 [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-1630 # 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 > 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/1630/head:refs/remotes/origin/PR-1630 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63adea828cf4ed1d876d09a9d3feb5428c04fd58 into PR head commit 03f106a99230557bb6112794c6d142a53b00ad5a Merge succeeded, producing 03f106a99230557bb6112794c6d142a53b00ad5a Checking out Revision 03f106a99230557bb6112794c6d142a53b00ad5a (PR-1630) 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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f 03f106a99230557bb6112794c6d142a53b00ad5a # 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 63adea828cf4ed1d876d09a9d3feb5428c04fd58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03f106a99230557bb6112794c6d142a53b00ad5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-02T04:14:17.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-02T04:14:17.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-02T04:14:18.075Z] ========================================================= [2024-10-02T04:14:18.075Z] EdgeX Global Pipelines Version Info [2024-10-02T04:14:18.075Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:14:18.864Z] ------------------- [2024-10-02T04:14:18.864Z] stable info: [2024-10-02T04:14:18.864Z] ------------------- [2024-10-02T04:14:18.864Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T04:14:18.864Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T04:14:18.864Z] Message: update stable to v1.0.264 [2024-10-02T04:14:19.435Z] ------------------- [2024-10-02T04:14:19.435Z] experimental info: [2024-10-02T04:14:19.435Z] ------------------- [2024-10-02T04:14:19.435Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T04:14:19.435Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T04:14:19.435Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-02T04:14:19.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-02T04:14:19.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-02T04:14:19.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-02T04:14:19.855Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-02T04:14:19.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-02T04:14:19.982Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-02T04:14:20.041Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-02T04:14:20.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-02T04:14:20.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-02T04:14:20.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-02T04:14:20.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-02T04:14:20.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-02T04:14:20.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-02T04:14:20.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-02T04:14:20.558Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T04:14:20.621Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T04:14:20.684Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T04:14:20.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T04:14:20.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-02T04:14:20.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-02T04:14:20.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-02T04:14:20.998Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-02T04:14:21.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-02T04:14:21.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-02T04:14:21.187Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-02T04:14:21.254Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-02T04:14:21.388Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-02T04:14:21.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1630 [Pipeline] echo [2024-10-02T04:14:21.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1630 [Pipeline] echo [2024-10-02T04:14:21.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1630 [Pipeline] echo [2024-10-02T04:14:21.642Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03f106a99230557bb6112794c6d142a53b00ad5a [Pipeline] echo [2024-10-02T04:14:21.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03f106a [Pipeline] echo [2024-10-02T04:14:21.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T04:14:21.914Z] provisioning config files... [2024-10-02T04:14:21.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/config682449215693081024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:14:22.344Z] ---> ****-login.sh [2024-10-02T04:14:22.344Z] nexus3.edgexfoundry.org:10001 [2024-10-02T04:14:22.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:22.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:22.606Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:22.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:22.606Z] [2024-10-02T04:14:22.606Z] Login Succeeded [2024-10-02T04:14:22.606Z] nexus3.edgexfoundry.org:10002 [2024-10-02T04:14:22.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:22.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:22.606Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:22.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:22.606Z] [2024-10-02T04:14:22.606Z] Login Succeeded [2024-10-02T04:14:22.606Z] nexus3.edgexfoundry.org:10003 [2024-10-02T04:14:22.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:22.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:22.868Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:22.868Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:22.868Z] [2024-10-02T04:14:22.868Z] Login Succeeded [2024-10-02T04:14:22.868Z] nexus3.edgexfoundry.org:10004 [2024-10-02T04:14:22.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:22.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:22.868Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:22.868Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:22.868Z] [2024-10-02T04:14:22.868Z] Login Succeeded [2024-10-02T04:14:22.868Z] ****.io [2024-10-02T04:14:22.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:23.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:23.130Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:23.130Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:23.130Z] [2024-10-02T04:14:23.130Z] Login Succeeded [2024-10-02T04:14:23.130Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T04:14:23.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-02T04:14:23.876Z] + git rev-list -1 --merges 03f106a99230557bb6112794c6d142a53b00ad5a~1..03f106a99230557bb6112794c6d142a53b00ad5a [Pipeline] echo [2024-10-02T04:14:23.929Z] -----------> git rev-list -1 --merges 03f106a99230557bb6112794c6d142a53b00ad5a~1..03f106a99230557bb6112794c6d142a53b00ad5a 03f106a99230557bb6112794c6d142a53b00ad5a [false] [Pipeline] sh [2024-10-02T04:14:24.253Z] + git log --format=format:%s -1 03f106a99230557bb6112794c6d142a53b00ad5a [Pipeline] echo [2024-10-02T04:14:24.299Z] ========================================================= [2024-10-02T04:14:24.299Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-02T04:14:24.299Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T04:14:24.779Z] + git log --format=format:%s -1 03f106a99230557bb6112794c6d142a53b00ad5a [Pipeline] echo [2024-10-02T04:14:24.823Z] [semverPrep] GIT_COMMIT: 03f106a99230557bb6112794c6d142a53b00ad5a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-10-02T04:14:24.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-02T04:14:25.407Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-02T04:14:25.407Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-02T04:14:25.407Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-02T04:14:25.407Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-02T04:14:25.407Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-02T04:14:25.407Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-02T04:14:25.407Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:14:25.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T04:14:25.950Z] [2024-10-02T04:14:25.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:14:26.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T04:14:26.365Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-02T04:14:26.365Z] b85a868b505f: Pulling fs layer [2024-10-02T04:14:26.365Z] e2be974225ed: Pulling fs layer [2024-10-02T04:14:26.365Z] 339a4e72a1f5: Pulling fs layer [2024-10-02T04:14:26.365Z] 988bab9f4d93: Pulling fs layer [2024-10-02T04:14:26.365Z] 1469e6f7b9e6: Pulling fs layer [2024-10-02T04:14:26.365Z] eaf3925da568: Pulling fs layer [2024-10-02T04:14:26.365Z] bab4dde63d76: Pulling fs layer [2024-10-02T04:14:26.365Z] bde34c3a00c8: Pulling fs layer [2024-10-02T04:14:26.365Z] b352a97aabf1: Pulling fs layer [2024-10-02T04:14:26.365Z] 4872d77fe225: Pulling fs layer [2024-10-02T04:14:26.365Z] 5851b861e8e6: Pulling fs layer [2024-10-02T04:14:26.365Z] b352a97aabf1: Waiting [2024-10-02T04:14:26.365Z] 1469e6f7b9e6: Waiting [2024-10-02T04:14:26.365Z] eaf3925da568: Waiting [2024-10-02T04:14:26.365Z] bab4dde63d76: Waiting [2024-10-02T04:14:26.365Z] 4872d77fe225: Waiting [2024-10-02T04:14:26.365Z] bde34c3a00c8: Waiting [2024-10-02T04:14:26.365Z] 988bab9f4d93: Waiting [2024-10-02T04:14:26.365Z] e2be974225ed: Verifying Checksum [2024-10-02T04:14:26.365Z] e2be974225ed: Download complete [2024-10-02T04:14:26.365Z] 1469e6f7b9e6: Verifying Checksum [2024-10-02T04:14:26.365Z] 1469e6f7b9e6: Download complete [2024-10-02T04:14:26.365Z] 339a4e72a1f5: Verifying Checksum [2024-10-02T04:14:26.365Z] 339a4e72a1f5: Download complete [2024-10-02T04:14:26.365Z] eaf3925da568: Verifying Checksum [2024-10-02T04:14:26.365Z] eaf3925da568: Download complete [2024-10-02T04:14:26.365Z] bde34c3a00c8: Verifying Checksum [2024-10-02T04:14:26.365Z] bde34c3a00c8: Download complete [2024-10-02T04:14:26.624Z] b352a97aabf1: Verifying Checksum [2024-10-02T04:14:26.624Z] b352a97aabf1: Download complete [2024-10-02T04:14:26.624Z] 4872d77fe225: Download complete [2024-10-02T04:14:26.624Z] 5851b861e8e6: Verifying Checksum [2024-10-02T04:14:26.624Z] 5851b861e8e6: Download complete [2024-10-02T04:14:26.624Z] b85a868b505f: Verifying Checksum [2024-10-02T04:14:26.624Z] b85a868b505f: Download complete [2024-10-02T04:14:26.883Z] bab4dde63d76: Verifying Checksum [2024-10-02T04:14:26.883Z] bab4dde63d76: Download complete [2024-10-02T04:14:27.819Z] b85a868b505f: Pull complete [2024-10-02T04:14:27.819Z] e2be974225ed: Pull complete [2024-10-02T04:14:28.388Z] 339a4e72a1f5: Pull complete [2024-10-02T04:14:28.388Z] 988bab9f4d93: Pull complete [2024-10-02T04:14:28.651Z] 1469e6f7b9e6: Pull complete [2024-10-02T04:14:28.651Z] eaf3925da568: Pull complete [2024-10-02T04:14:30.030Z] bab4dde63d76: Pull complete [2024-10-02T04:14:30.290Z] bde34c3a00c8: Pull complete [2024-10-02T04:14:30.290Z] b352a97aabf1: Pull complete [2024-10-02T04:14:30.290Z] 4872d77fe225: Pull complete [2024-10-02T04:14:30.549Z] 5851b861e8e6: Pull complete [2024-10-02T04:14:30.549Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-02T04:14:30.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T04:14:30.549Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:14:30.850Z] prd-ubuntu20.04-docker-8c-8g-12576 does not seem to be running inside a container [2024-10-02T04:14:30.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1630 -v /w/workspace/gexfoundry_device-sdk-go_PR-1630:/w/workspace/gexfoundry_device-sdk-go_PR-1630:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1630@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 [2024-10-02T04:14:33.236Z] $ docker top 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 -eo pid,comm [2024-10-02T04:14:33.282Z] 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). [2024-10-02T04:14:33.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-02T04:14:33.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T04:14:33.464Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T04:14:33.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T04:14:33.579Z] $ docker exec 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 ssh-agent [2024-10-02T04:14:33.670Z] SSH_AUTH_SOCK=/tmp/ssh-xPwkRtS3w1kt/agent.31 [2024-10-02T04:14:33.670Z] SSH_AGENT_PID=38 [2024-10-02T04:14:33.676Z] Running ssh-add (command line suppressed) [2024-10-02T04:14:33.768Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/private_key_8596320655810451528.key (/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/private_key_8596320655810451528.key) [2024-10-02T04:14:33.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T04:14:37.335Z] + git tag --points-at HEAD [Pipeline] } [2024-10-02T04:14:37.366Z] $ docker exec --env ******** --env ******** 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 ssh-agent -k [2024-10-02T04:14:37.446Z] unset SSH_AUTH_SOCK; [2024-10-02T04:14:37.447Z] unset SSH_AGENT_PID; [2024-10-02T04:14:37.447Z] echo Agent pid 38 killed; [2024-10-02T04:14:37.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-02T04:14:37.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T04:14:37.560Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T04:14:37.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T04:14:37.675Z] $ docker exec 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 ssh-agent [2024-10-02T04:14:37.767Z] SSH_AUTH_SOCK=/tmp/ssh-l1BjL1mjZABQ/agent.71 [2024-10-02T04:14:37.767Z] SSH_AGENT_PID=77 [2024-10-02T04:14:37.771Z] Running ssh-add (command line suppressed) [2024-10-02T04:14:37.868Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/private_key_8909013972441084103.key (/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/private_key_8909013972441084103.key) [2024-10-02T04:14:37.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T04:14:38.218Z] + git semver init [2024-10-02T04:14:38.477Z] 2024-10-02 04:14:38,393 [run_init] DEBUG init version:0.0.0 force:False [2024-10-02T04:14:38.477Z] 2024-10-02 04:14:38,394 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver [2024-10-02T04:14:38.477Z] 2024-10-02 04:14:38,394 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver [2024-10-02T04:14:38.477Z] 2024-10-02 04:14:38,394 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1630, universal_newlines=False, shell=None, istream=None) [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630/.git/info/exclude [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver/PR-1630 with force:False [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,306 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver/PR-1630 [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,310 [execute] INFO git cat-file --batch-check [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,316 [execute] INFO git cat-file --batch [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T04:14:40.385Z] 2024-10-02 04:14:40,320 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1630/.semver/PR-1630 [2024-10-02T04:14:40.385Z] 0.0.0 [Pipeline] } [2024-10-02T04:14:40.416Z] $ docker exec --env ******** --env ******** 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 ssh-agent -k [2024-10-02T04:14:40.502Z] unset SSH_AUTH_SOCK; [2024-10-02T04:14:40.502Z] unset SSH_AGENT_PID; [2024-10-02T04:14:40.502Z] echo Agent pid 77 killed; [2024-10-02T04:14:40.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-02T04:14:40.967Z] + git semver [Pipeline] } [2024-10-02T04:14:41.259Z] $ docker stop --time=1 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 [2024-10-02T04:14:42.527Z] $ docker rm -f --volumes 2d324550d953271de11991d45254a559500e934a920b5ed7f6c2063e4cca11b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T04:14:42.963Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-02T04:14:43.314Z] Stashed 1 file(s) [Pipeline] echo [2024-10-02T04:14:43.339Z] [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 [2024-10-02T04:14:44.223Z] provisioning config files... [2024-10-02T04:14:44.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/config5201895222708236658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:14:44.605Z] ---> ****-login.sh [2024-10-02T04:14:44.606Z] nexus3.edgexfoundry.org:10001 [2024-10-02T04:14:44.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:44.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:44.606Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:44.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:44.606Z] [2024-10-02T04:14:44.606Z] Login Succeeded [2024-10-02T04:14:44.606Z] nexus3.edgexfoundry.org:10002 [2024-10-02T04:14:44.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:44.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:44.606Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:44.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:44.606Z] [2024-10-02T04:14:44.606Z] Login Succeeded [2024-10-02T04:14:44.606Z] nexus3.edgexfoundry.org:10003 [2024-10-02T04:14:44.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:44.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:44.865Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:44.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:44.865Z] [2024-10-02T04:14:44.865Z] Login Succeeded [2024-10-02T04:14:44.865Z] nexus3.edgexfoundry.org:10004 [2024-10-02T04:14:44.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:44.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:44.866Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:44.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:44.866Z] [2024-10-02T04:14:44.866Z] Login Succeeded [2024-10-02T04:14:44.866Z] ****.io [2024-10-02T04:14:44.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:14:45.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:14:45.125Z] Configure a credential helper to remove this warning. See [2024-10-02T04:14:45.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:14:45.125Z] [2024-10-02T04:14:45.125Z] Login Succeeded [2024-10-02T04:14:45.125Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T04:14:45.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T04:14:45.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T04:14:45.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T04:14:45.501Z] ========================================================= [2024-10-02T04:14:45.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-02T04:14:45.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:14:46.039Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T04:14:46.039Z] Sending build context to Docker daemon 25.39MB [2024-10-02T04:14:46.039Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T04:14:46.039Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-02T04:14:46.300Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-02T04:14:46.300Z] 619be1103602: Pulling fs layer [2024-10-02T04:14:46.300Z] 7862e08f4a3e: Pulling fs layer [2024-10-02T04:14:46.300Z] 5df492c9dc93: Pulling fs layer [2024-10-02T04:14:46.300Z] 7629e6793208: Pulling fs layer [2024-10-02T04:14:46.300Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T04:14:46.300Z] fb5054dd5b73: Pulling fs layer [2024-10-02T04:14:46.300Z] eeca6798cff9: Pulling fs layer [2024-10-02T04:14:46.300Z] aa269ceb94a6: Pulling fs layer [2024-10-02T04:14:46.300Z] ada007ff1a6a: Pulling fs layer [2024-10-02T04:14:46.300Z] fb5054dd5b73: Waiting [2024-10-02T04:14:46.300Z] eeca6798cff9: Waiting [2024-10-02T04:14:46.300Z] aa269ceb94a6: Waiting [2024-10-02T04:14:46.300Z] 7629e6793208: Waiting [2024-10-02T04:14:46.300Z] ada007ff1a6a: Waiting [2024-10-02T04:14:46.300Z] 4f4fb700ef54: Waiting [2024-10-02T04:14:46.300Z] 7862e08f4a3e: Download complete [2024-10-02T04:14:46.300Z] 7629e6793208: Verifying Checksum [2024-10-02T04:14:46.300Z] 7629e6793208: Download complete [2024-10-02T04:14:46.300Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T04:14:46.300Z] 4f4fb700ef54: Download complete [2024-10-02T04:14:46.300Z] fb5054dd5b73: Verifying Checksum [2024-10-02T04:14:46.300Z] fb5054dd5b73: Download complete [2024-10-02T04:14:46.300Z] 619be1103602: Verifying Checksum [2024-10-02T04:14:46.300Z] 619be1103602: Download complete [2024-10-02T04:14:46.300Z] eeca6798cff9: Verifying Checksum [2024-10-02T04:14:46.300Z] eeca6798cff9: Download complete [2024-10-02T04:14:46.560Z] 619be1103602: Pull complete [2024-10-02T04:14:46.560Z] ada007ff1a6a: Download complete [2024-10-02T04:14:46.560Z] 7862e08f4a3e: Pull complete [2024-10-02T04:14:46.820Z] 5df492c9dc93: Verifying Checksum [2024-10-02T04:14:46.820Z] 5df492c9dc93: Download complete [2024-10-02T04:14:47.079Z] aa269ceb94a6: Verifying Checksum [2024-10-02T04:14:49.614Z] 5df492c9dc93: Pull complete [2024-10-02T04:14:49.614Z] 7629e6793208: Pull complete [2024-10-02T04:14:49.873Z] 4f4fb700ef54: Pull complete [2024-10-02T04:14:49.873Z] fb5054dd5b73: Pull complete [2024-10-02T04:14:49.873Z] eeca6798cff9: Pull complete [2024-10-02T04:14:52.404Z] aa269ceb94a6: Pull complete [2024-10-02T04:14:52.664Z] ada007ff1a6a: Pull complete [2024-10-02T04:14:52.664Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-02T04:14:52.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-02T04:14:52.664Z] ---> f489d0715acc [2024-10-02T04:14:52.664Z] Step 3/10 : ARG MAKE=make build [2024-10-02T04:14:56.879Z] ---> Running in 5382e3955b84 [2024-10-02T04:14:56.879Z] Removing intermediate container 5382e3955b84 [2024-10-02T04:14:56.879Z] ---> 6c4c71677263 [2024-10-02T04:14:56.879Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-02T04:14:56.879Z] ---> Running in fa884c1bec1d [2024-10-02T04:14:56.879Z] Removing intermediate container fa884c1bec1d [2024-10-02T04:14:56.879Z] ---> 96ec2cbae2bd [2024-10-02T04:14:56.879Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T04:14:56.879Z] ---> Running in eec7cefd213a [2024-10-02T04:14:56.879Z] Removing intermediate container eec7cefd213a [2024-10-02T04:14:56.879Z] ---> c61387085e15 [2024-10-02T04:14:56.879Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-02T04:14:56.879Z] ---> Running in 784a7b598dde [2024-10-02T04:14:56.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T04:14:57.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T04:14:57.396Z] OK: 264 MiB in 52 packages [2024-10-02T04:14:57.655Z] Removing intermediate container 784a7b598dde [2024-10-02T04:14:57.655Z] ---> 87e3eed9f9b3 [2024-10-02T04:14:57.655Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-02T04:14:57.655Z] ---> 1aee6def8b59 [2024-10-02T04:14:57.655Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T04:14:57.655Z] ---> Running in bdf9df4c4108 [2024-10-02T04:14:58.917Z] Still waiting to schedule task [2024-10-02T04:14:58.917Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-12573’ is offline [2024-10-02T04:16:05.361Z] Removing intermediate container bdf9df4c4108 [2024-10-02T04:16:05.361Z] ---> 94a8004e211f [2024-10-02T04:16:05.361Z] Step 9/10 : COPY . . [2024-10-02T04:16:05.361Z] ---> 81991f4feacf [2024-10-02T04:16:05.361Z] Step 10/10 : RUN ${MAKE} [2024-10-02T04:16:05.361Z] ---> Running in bf13266c8c1c [2024-10-02T04:16:05.361Z] noop [2024-10-02T04:16:05.361Z] Removing intermediate container bf13266c8c1c [2024-10-02T04:16:05.361Z] ---> 6e85d1f627ef [2024-10-02T04:16:05.361Z] Successfully built 6e85d1f627ef [2024-10-02T04:16:05.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:16:05.850Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T04:16:05.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:16:06.018Z] prd-ubuntu20.04-docker-8c-8g-12576 does not seem to be running inside a container [2024-10-02T04:16:06.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1630 -v /w/workspace/gexfoundry_device-sdk-go_PR-1630:/w/workspace/gexfoundry_device-sdk-go_PR-1630:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1630@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 [2024-10-02T04:16:06.398Z] $ docker top f1cd266f979bea404b10ec4c52449b33f71c6428233588023b6bd602d46b836d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T04:16:06.828Z] + go version [2024-10-02T04:16:06.828Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-02T04:16:06.860Z] $ docker stop --time=1 f1cd266f979bea404b10ec4c52449b33f71c6428233588023b6bd602d46b836d [2024-10-02T04:16:08.094Z] $ docker rm -f --volumes f1cd266f979bea404b10ec4c52449b33f71c6428233588023b6bd602d46b836d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:16:08.916Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T04:16:08.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:16:09.106Z] prd-ubuntu20.04-docker-8c-8g-12576 does not seem to be running inside a container [2024-10-02T04:16:09.136Z] $ 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-1630 -v /w/workspace/gexfoundry_device-sdk-go_PR-1630:/w/workspace/gexfoundry_device-sdk-go_PR-1630:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1630@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 [2024-10-02T04:16:09.436Z] $ docker top ad5ef68d07f2e333924bae12e587acab71139838a9c713e2aabb355b9dcefa3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T04:16:09.857Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1630 [Pipeline] fileExists [Pipeline] sh [2024-10-02T04:16:10.240Z] + make test [2024-10-02T04:16:10.240Z] go test -race -coverprofile=coverage.out ./... [2024-10-02T04:16:16.819Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-02T04:16:21.595Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12577 in /w/workspace/gexfoundry_device-sdk-go_PR-1630 [Pipeline] { [Pipeline] ws [2024-10-02T04:16:21.673Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-02T04:16:24.782Z] The recommended git tool is: git [2024-10-02T04:16:29.510Z] using credential edgex-jenkins-ssh [2024-10-02T04:16:29.535Z] Cloning the remote Git repository [2024-10-02T04:16:29.574Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T04:16:29.662Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-02T04:16:29.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T04:16:29.800Z] > git --version # timeout=10 [2024-10-02T04:16:29.819Z] > git --version # 'git version 2.25.1' [2024-10-02T04:16:29.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T04:16:29.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T04:16:33.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-02T04:16:33.305Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T04:16:34.776Z] Merging remotes/origin/main commit 63adea828cf4ed1d876d09a9d3feb5428c04fd58 into PR head commit 03f106a99230557bb6112794c6d142a53b00ad5a [2024-10-02T04:16:34.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-02T04:16:34.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T04:16:34.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T04:16:34.234Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1630/head:refs/remotes/origin/PR-1630 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-02T04:16:34.807Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T04:16:34.867Z] > git checkout -f 03f106a99230557bb6112794c6d142a53b00ad5a # timeout=10 [2024-10-02T04:16:35.078Z] Merge succeeded, producing 03f106a99230557bb6112794c6d142a53b00ad5a [2024-10-02T04:16:35.078Z] Checking out Revision 03f106a99230557bb6112794c6d142a53b00ad5a (PR-1630) [2024-10-02T04:16:35.672Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-10-02T04:16:35.720Z] > git --version # timeout=10 [2024-10-02T04:16:35.733Z] > git --version # 'git version 2.25.1' [2024-10-02T04:16:35.756Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T04:16:34.977Z] > git remote # timeout=10 [2024-10-02T04:16:34.995Z] > git config --get remote.origin.url # timeout=10 [2024-10-02T04:16:35.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T04:16:35.036Z] > git merge 63adea828cf4ed1d876d09a9d3feb5428c04fd58 # timeout=10 [2024-10-02T04:16:35.063Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-02T04:16:35.085Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T04:16:35.109Z] > git checkout -f 03f106a99230557bb6112794c6d142a53b00ad5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T04:16:40.765Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-02T04:16:40.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T04:16:40.765Z] Dload Upload Total Spent Left Speed [2024-10-02T04:16:40.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-10-02T04:16:41.111Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-02T04:16:41.455Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-02T04:16:41.455Z] + sudo tee /etc/docker/daemon.new [2024-10-02T04:16:41.455Z] { [2024-10-02T04:16:41.455Z] "registry-mirrors": [ [2024-10-02T04:16:41.455Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-02T04:16:41.455Z] ], [2024-10-02T04:16:41.455Z] "bip": "10.250.0.254/24", [2024-10-02T04:16:41.455Z] "hosts": [ [2024-10-02T04:16:41.455Z] "tcp://0.0.0.0:5555", [2024-10-02T04:16:41.455Z] "unix:///var/run/docker.sock" [2024-10-02T04:16:41.455Z] ], [2024-10-02T04:16:41.455Z] "mtu": 1458, [2024-10-02T04:16:41.455Z] "selinux-enabled": true, [2024-10-02T04:16:41.455Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-02T04:16:41.455Z] } [Pipeline] sh [2024-10-02T04:16:41.808Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-02T04:16:42.159Z] + sudo service docker restart [2024-10-02T04:16:48.914Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-02T04:16:48.914Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-02T04:16:48.914Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-02T04:16:48.914Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-02T04:16:48.914Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-02T04:16:49.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 26.0% of statements [2024-10-02T04:16:49.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-10-02T04:16:50.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-02T04:16:50.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-02T04:16:51.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-02T04:16:51.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-02T04:16:51.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-02T04:16:51.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-02T04:16:51.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-10-02T04:16:52.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.099s coverage: 45.2% of statements [2024-10-02T04:16:53.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-02T04:16:55.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.032s coverage: 14.1% of statements [2024-10-02T04:16:55.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.099s coverage: 44.6% of statements [2024-10-02T04:16:55.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.054s coverage: 68.5% of statements [2024-10-02T04:16:55.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.097s coverage: 89.2% of statements [2024-10-02T04:16:55.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T04:17:00.475Z] provisioning config files... [2024-10-02T04:17:00.498Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3834423610216614744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:17:00.987Z] ---> ****-login.sh [2024-10-02T04:17:00.987Z] nexus3.edgexfoundry.org:10001 [2024-10-02T04:17:01.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:17:01.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:17:01.543Z] Configure a credential helper to remove this warning. See [2024-10-02T04:17:01.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:17:01.543Z] [2024-10-02T04:17:01.543Z] Login Succeeded [2024-10-02T04:17:01.543Z] nexus3.edgexfoundry.org:10002 [2024-10-02T04:17:01.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:17:02.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:17:02.083Z] Configure a credential helper to remove this warning. See [2024-10-02T04:17:02.083Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:17:02.083Z] [2024-10-02T04:17:02.083Z] Login Succeeded [2024-10-02T04:17:02.083Z] nexus3.edgexfoundry.org:10003 [2024-10-02T04:17:02.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:17:02.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:17:02.353Z] Configure a credential helper to remove this warning. See [2024-10-02T04:17:02.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:17:02.353Z] [2024-10-02T04:17:02.353Z] Login Succeeded [2024-10-02T04:17:02.353Z] nexus3.edgexfoundry.org:10004 [2024-10-02T04:17:02.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:17:02.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:17:02.626Z] Configure a credential helper to remove this warning. See [2024-10-02T04:17:02.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:17:02.626Z] [2024-10-02T04:17:02.626Z] Login Succeeded [2024-10-02T04:17:02.626Z] ****.io [2024-10-02T04:17:02.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T04:17:03.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T04:17:03.163Z] Configure a credential helper to remove this warning. See [2024-10-02T04:17:03.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T04:17:03.163Z] [2024-10-02T04:17:03.163Z] Login Succeeded [2024-10-02T04:17:03.163Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T04:17:03.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T04:17:03.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T04:17:03.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T04:17:03.761Z] ========================================================= [2024-10-02T04:17:03.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-02T04:17:03.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:17:04.357Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T04:17:04.952Z] Sending build context to Docker daemon 13.15MB [2024-10-02T04:17:04.952Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T04:17:04.952Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-02T04:17:05.220Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-02T04:17:05.220Z] c6b39de5b339: Pulling fs layer [2024-10-02T04:17:05.220Z] a69c41024577: Pulling fs layer [2024-10-02T04:17:05.220Z] d6de4b400683: Pulling fs layer [2024-10-02T04:17:05.220Z] 35cb2a7552d0: Pulling fs layer [2024-10-02T04:17:05.220Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T04:17:05.220Z] 464afbd9ba4c: Pulling fs layer [2024-10-02T04:17:05.220Z] 00f215d4a9da: Pulling fs layer [2024-10-02T04:17:05.220Z] d496ad576159: Pulling fs layer [2024-10-02T04:17:05.220Z] 35cb2a7552d0: Waiting [2024-10-02T04:17:05.220Z] 4f4fb700ef54: Waiting [2024-10-02T04:17:05.220Z] 464afbd9ba4c: Waiting [2024-10-02T04:17:05.220Z] 00f215d4a9da: Waiting [2024-10-02T04:17:05.220Z] d496ad576159: Waiting [2024-10-02T04:17:05.220Z] a69c41024577: Verifying Checksum [2024-10-02T04:17:05.220Z] a69c41024577: Download complete [2024-10-02T04:17:05.220Z] 35cb2a7552d0: Verifying Checksum [2024-10-02T04:17:05.220Z] 35cb2a7552d0: Download complete [2024-10-02T04:17:05.220Z] 4f4fb700ef54: Download complete [2024-10-02T04:17:05.220Z] 464afbd9ba4c: Verifying Checksum [2024-10-02T04:17:05.220Z] 464afbd9ba4c: Download complete [2024-10-02T04:17:05.220Z] c6b39de5b339: Download complete [2024-10-02T04:17:05.808Z] d496ad576159: Verifying Checksum [2024-10-02T04:17:05.808Z] d496ad576159: Download complete [2024-10-02T04:17:06.079Z] c6b39de5b339: Pull complete [2024-10-02T04:17:06.677Z] a69c41024577: Pull complete [2024-10-02T04:17:06.945Z] d6de4b400683: Verifying Checksum [2024-10-02T04:17:06.945Z] d6de4b400683: Download complete [2024-10-02T04:17:07.906Z] 00f215d4a9da: Verifying Checksum [2024-10-02T04:17:07.906Z] 00f215d4a9da: Download complete [2024-10-02T04:17:20.221Z] d6de4b400683: Pull complete [2024-10-02T04:17:20.221Z] 35cb2a7552d0: Pull complete [2024-10-02T04:17:20.221Z] 4f4fb700ef54: Pull complete [2024-10-02T04:17:20.221Z] 464afbd9ba4c: Pull complete [2024-10-02T04:17:27.210Z] GO111MODULE=on go vet ./... [2024-10-02T04:17:28.440Z] 00f215d4a9da: Pull complete [2024-10-02T04:17:28.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T04:17:28.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T04:17:28.588Z] ./bin/test-attribution-txt.sh [2024-10-02T04:17:28.588Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T04:17:28.846Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T04:17:28.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T04:17:28.937Z] $ docker stop --time=1 ad5ef68d07f2e333924bae12e587acab71139838a9c713e2aabb355b9dcefa3d [2024-10-02T04:17:29.853Z] d496ad576159: Pull complete [2024-10-02T04:17:29.853Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-02T04:17:29.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-02T04:17:29.853Z] ---> f246e2811388 [2024-10-02T04:17:29.853Z] Step 3/10 : ARG MAKE=make build [2024-10-02T04:17:31.794Z] ---> Running in 9de4eef07247 [2024-10-02T04:17:31.794Z] Removing intermediate container 9de4eef07247 [2024-10-02T04:17:31.794Z] ---> e737f1b4e22b [2024-10-02T04:17:31.794Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-02T04:17:31.794Z] ---> Running in fc89cf27e53a [2024-10-02T04:17:32.068Z] Removing intermediate container fc89cf27e53a [2024-10-02T04:17:32.068Z] ---> ce4f92cf24a6 [2024-10-02T04:17:32.068Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T04:17:32.339Z] ---> Running in 67854b943dcc [2024-10-02T04:17:32.610Z] Removing intermediate container 67854b943dcc [2024-10-02T04:17:32.610Z] ---> 3bb6896a7426 [2024-10-02T04:17:32.610Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-02T04:17:32.610Z] ---> Running in 9d1ee8af92cf [2024-10-02T04:17:33.796Z] $ docker rm -f --volumes ad5ef68d07f2e333924bae12e587acab71139838a9c713e2aabb355b9dcefa3d [2024-10-02T04:17:34.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T04:17:34.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T04:17:34.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T04:17:34.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-02T04:17:35.267Z] OK: 266 MiB in 52 packages [Pipeline] sh [2024-10-02T04:17:35.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T04:17:35.859Z] Removing intermediate container 9d1ee8af92cf [2024-10-02T04:17:35.859Z] ---> 62434868ef27 [2024-10-02T04:17:35.859Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-02T04:17:35.902Z] + ls -al . [2024-10-02T04:17:35.902Z] total 384 [2024-10-02T04:17:35.902Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 04:16 . [2024-10-02T04:17:35.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 04:14 .. [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 04:14 .dockerignore [2024-10-02T04:17:35.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 04:16 .git [2024-10-02T04:17:35.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 04:14 .github [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 04:14 .gitignore [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 04:14 .golangci.yml [2024-10-02T04:17:35.902Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 04:14 .semver [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 04:14 CHANGELOG.md [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 04:14 GOVERNANCE.md [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 04:14 Jenkinsfile [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 04:14 LICENSE [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 04:14 Makefile [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 04:14 OWNERS.md [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 04:14 README.md [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 04:14 VERSION [2024-10-02T04:17:35.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 04:14 bin [2024-10-02T04:17:35.902Z] -rw-r--r-- 1 jenkins jenkins 128350 Oct 2 04:16 coverage.out [2024-10-02T04:17:35.902Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 04:14 example [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 2 04:14 go.mod [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 2 04:14 go.sum [2024-10-02T04:17:35.902Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 04:14 internal [2024-10-02T04:17:35.902Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 04:14 openapi [2024-10-02T04:17:35.902Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 04:14 pkg [2024-10-02T04:17:35.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 04:14 snap [2024-10-02T04:17:35.902Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:17:36.298Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=03f106a99230557bb6112794c6d142a53b00ad5a --label arch=amd64 --label version=0.0.0 . [2024-10-02T04:17:36.299Z] Sending build context to Docker daemon 25.51MB [2024-10-02T04:17:36.299Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T04:17:36.299Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-02T04:17:36.299Z] ---> 6e85d1f627ef [2024-10-02T04:17:36.299Z] Step 3/24 : ARG MAKE=make build [2024-10-02T04:17:36.450Z] ---> ae3766d18896 [2024-10-02T04:17:36.450Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T04:17:36.450Z] ---> Running in ab59e413768e [2024-10-02T04:17:36.864Z] ---> Running in c9c34355350a [2024-10-02T04:17:36.864Z] Removing intermediate container c9c34355350a [2024-10-02T04:17:36.864Z] ---> 7e0abf36e372 [2024-10-02T04:17:36.864Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-02T04:17:36.864Z] ---> Running in 18b821cae983 [2024-10-02T04:17:36.864Z] Removing intermediate container 18b821cae983 [2024-10-02T04:17:36.864Z] ---> 62bce1555c07 [2024-10-02T04:17:36.864Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T04:17:36.864Z] ---> Running in 0a53575c172a [2024-10-02T04:17:37.121Z] Removing intermediate container 0a53575c172a [2024-10-02T04:17:37.121Z] ---> 9ebd2494558f [2024-10-02T04:17:37.121Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-02T04:17:37.121Z] ---> Running in 46c76a5b44a7 [2024-10-02T04:17:37.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T04:17:37.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T04:17:37.640Z] OK: 264 MiB in 52 packages [2024-10-02T04:17:38.207Z] Removing intermediate container 46c76a5b44a7 [2024-10-02T04:17:38.207Z] ---> 2c841ccdb607 [2024-10-02T04:17:38.207Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-02T04:17:38.207Z] ---> 8395975cce0c [2024-10-02T04:17:38.207Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T04:17:38.207Z] ---> Running in 7dada6b2899b [2024-10-02T04:17:38.775Z] Removing intermediate container 7dada6b2899b [2024-10-02T04:17:38.775Z] ---> da7db16a4fe2 [2024-10-02T04:17:38.775Z] Step 9/24 : COPY . . [2024-10-02T04:17:39.847Z] ---> 083f9507454c [2024-10-02T04:17:39.847Z] Step 10/24 : RUN ${MAKE} [2024-10-02T04:17:39.847Z] ---> Running in a66626518c5b [2024-10-02T04:17:39.847Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-02T04:18:11.941Z] Removing intermediate container a66626518c5b [2024-10-02T04:18:11.941Z] ---> 10fe61dd62ec [2024-10-02T04:18:11.941Z] Step 11/24 : FROM alpine:3.18 [2024-10-02T04:18:11.941Z] 3.18: Pulling from library/alpine [2024-10-02T04:18:11.941Z] 1cc3d825d8b2: Pulling fs layer [2024-10-02T04:18:11.941Z] 1cc3d825d8b2: Verifying Checksum [2024-10-02T04:18:11.941Z] 1cc3d825d8b2: Download complete [2024-10-02T04:18:11.941Z] 1cc3d825d8b2: Pull complete [2024-10-02T04:18:11.941Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T04:18:11.941Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T04:18:11.941Z] ---> 2c64cf60f6f0 [2024-10-02T04:18:11.941Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-02T04:18:11.941Z] ---> Running in 60cf038c8a50 [2024-10-02T04:18:11.941Z] Removing intermediate container 60cf038c8a50 [2024-10-02T04:18:11.941Z] ---> fb199baaf80c [2024-10-02T04:18:11.941Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-02T04:18:11.941Z] ---> Running in 1eac00c7852c [2024-10-02T04:18:11.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T04:18:11.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T04:18:11.941Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T04:18:11.941Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T04:18:11.941Z] OK: 7 MiB in 16 packages [2024-10-02T04:18:11.941Z] Removing intermediate container 1eac00c7852c [2024-10-02T04:18:11.941Z] ---> 2eebd1b7dc44 [2024-10-02T04:18:11.941Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-02T04:18:11.941Z] ---> Running in 27e557689ff4 [2024-10-02T04:18:11.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T04:18:11.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T04:18:11.941Z] OK: 7 MiB in 16 packages [2024-10-02T04:18:11.941Z] Removing intermediate container 27e557689ff4 [2024-10-02T04:18:11.941Z] ---> 605aa4b7c7bc [2024-10-02T04:18:11.941Z] Step 15/24 : WORKDIR / [2024-10-02T04:18:11.941Z] ---> Running in ed6aabf613af [2024-10-02T04:18:11.941Z] Removing intermediate container ed6aabf613af [2024-10-02T04:18:11.941Z] ---> 3246c552bceb [2024-10-02T04:18:11.941Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-02T04:18:11.941Z] ---> a709871d09be [2024-10-02T04:18:11.941Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-02T04:18:12.878Z] ---> 2691858f5c91 [2024-10-02T04:18:12.878Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-02T04:18:13.137Z] ---> 79bd2ba95e00 [2024-10-02T04:18:13.137Z] Step 19/24 : EXPOSE 59999 [2024-10-02T04:18:13.137Z] ---> Running in 46d5654dc156 [2024-10-02T04:18:13.137Z] Removing intermediate container 46d5654dc156 [2024-10-02T04:18:13.137Z] ---> 2e6be1ed1e24 [2024-10-02T04:18:13.137Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-02T04:18:13.137Z] ---> Running in 68ad1704852e [2024-10-02T04:18:13.137Z] Removing intermediate container 68ad1704852e [2024-10-02T04:18:13.137Z] ---> 07b381e561e6 [2024-10-02T04:18:13.137Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T04:18:13.137Z] ---> Running in bf9ff91df564 [2024-10-02T04:18:13.396Z] Removing intermediate container bf9ff91df564 [2024-10-02T04:18:13.396Z] ---> 70489587e262 [2024-10-02T04:18:13.396Z] Step 22/24 : LABEL arch=amd64 [2024-10-02T04:18:13.396Z] ---> Running in d0061e768cff [2024-10-02T04:18:13.396Z] Removing intermediate container d0061e768cff [2024-10-02T04:18:13.396Z] ---> 4d1e026a5b0c [2024-10-02T04:18:13.396Z] Step 23/24 : LABEL git_sha=03f106a99230557bb6112794c6d142a53b00ad5a [2024-10-02T04:18:13.396Z] ---> Running in e871ab2e1392 [2024-10-02T04:18:13.396Z] Removing intermediate container e871ab2e1392 [2024-10-02T04:18:13.396Z] ---> 28140b6b65f6 [2024-10-02T04:18:13.396Z] Step 24/24 : LABEL version=0.0.0 [2024-10-02T04:18:13.396Z] ---> Running in d508e54ef096 [2024-10-02T04:18:13.655Z] Removing intermediate container d508e54ef096 [2024-10-02T04:18:13.655Z] ---> 471604522729 [2024-10-02T04:18:13.655Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T04:18:13.655Z] Successfully built 471604522729 [2024-10-02T04:18:13.655Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:18:14.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T04:18:14.704Z] [2024-10-02T04:18:14.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:18:15.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T04:18:15.273Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-02T04:18:15.273Z] 5eb5b503b376: Pulling fs layer [2024-10-02T04:18:15.273Z] 5c69ac0246d0: Pulling fs layer [2024-10-02T04:18:15.273Z] ec43610c2a17: Pulling fs layer [2024-10-02T04:18:15.273Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-02T04:18:15.273Z] 33b1e0a273af: Pulling fs layer [2024-10-02T04:18:15.273Z] 5d3b04190fa2: Pulling fs layer [2024-10-02T04:18:15.273Z] 2f39f015ded8: Pulling fs layer [2024-10-02T04:18:15.273Z] 33b1e0a273af: Waiting [2024-10-02T04:18:15.273Z] 2f39f015ded8: Waiting [2024-10-02T04:18:15.273Z] 5d3b04190fa2: Waiting [2024-10-02T04:18:15.273Z] 5c69ac0246d0: Verifying Checksum [2024-10-02T04:18:15.273Z] 5c69ac0246d0: Download complete [2024-10-02T04:18:15.273Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-02T04:18:15.273Z] 3a2ae6a8a46f: Download complete [2024-10-02T04:18:15.273Z] 33b1e0a273af: Verifying Checksum [2024-10-02T04:18:15.273Z] 33b1e0a273af: Download complete [2024-10-02T04:18:15.273Z] 5d3b04190fa2: Verifying Checksum [2024-10-02T04:18:15.273Z] 5d3b04190fa2: Download complete [2024-10-02T04:18:15.273Z] ec43610c2a17: Verifying Checksum [2024-10-02T04:18:15.273Z] ec43610c2a17: Download complete [2024-10-02T04:18:15.532Z] 5eb5b503b376: Verifying Checksum [2024-10-02T04:18:15.532Z] 5eb5b503b376: Download complete [2024-10-02T04:18:16.097Z] 2f39f015ded8: Download complete [2024-10-02T04:18:16.664Z] 5eb5b503b376: Pull complete [2024-10-02T04:18:16.664Z] 5c69ac0246d0: Pull complete [2024-10-02T04:18:17.230Z] ec43610c2a17: Pull complete [2024-10-02T04:18:17.230Z] 3a2ae6a8a46f: Pull complete [2024-10-02T04:18:17.488Z] 33b1e0a273af: Pull complete [2024-10-02T04:18:17.488Z] 5d3b04190fa2: Pull complete [2024-10-02T04:18:21.676Z] 2f39f015ded8: Pull complete [2024-10-02T04:18:21.676Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-02T04:18:21.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T04:18:21.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:18:21.929Z] prd-ubuntu20.04-docker-8c-8g-12576 does not seem to be running inside a container [2024-10-02T04:18:21.954Z] $ 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-1630 -v /w/workspace/gexfoundry_device-sdk-go_PR-1630:/w/workspace/gexfoundry_device-sdk-go_PR-1630:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1630@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 [2024-10-02T04:18:25.475Z] $ docker top 78e401eab079a2c7b5767eec6f27993c50840e740ecffb5b20736cd5013d7df7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:18:26.001Z] ---> job-cost.sh [2024-10-02T04:18:26.001Z] lf-activate-venv: SKIPPING [2024-10-02T04:18:26.001Z] INFO: No Stack... [2024-10-02T04:18:26.259Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T04:18:26.518Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T04:18:26.875Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives/cost.csv [2024-10-02T04:18:26.876Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T04:18:26.932Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [2024-10-02T04:18:26.938Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] did not exist. Created. [2024-10-02T04:18:26.944Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T04:18:27.378Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-02T04:18:27.439Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T04:18:27.478Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T04:18:27.593Z] $ docker stop --time=1 78e401eab079a2c7b5767eec6f27993c50840e740ecffb5b20736cd5013d7df7 [2024-10-02T04:18:28.743Z] $ docker rm -f --volumes 78e401eab079a2c7b5767eec6f27993c50840e740ecffb5b20736cd5013d7df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-02T04:19:28.302Z] Removing intermediate container ab59e413768e [2024-10-02T04:19:28.302Z] ---> 6273f762e859 [2024-10-02T04:19:28.302Z] Step 9/10 : COPY . . [2024-10-02T04:19:28.302Z] ---> 03cf6527d552 [2024-10-02T04:19:28.302Z] Step 10/10 : RUN ${MAKE} [2024-10-02T04:19:28.302Z] ---> Running in d6c9d4c54992 [2024-10-02T04:19:28.302Z] noop [2024-10-02T04:19:28.302Z] Removing intermediate container d6c9d4c54992 [2024-10-02T04:19:28.302Z] ---> e018ca1232ef [2024-10-02T04:19:28.302Z] Successfully built e018ca1232ef [2024-10-02T04:19:28.302Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:19:30.618Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T04:19:30.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:19:30.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-12577 does not seem to be running inside a container [2024-10-02T04:19:30.985Z] $ 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 [2024-10-02T04:19:32.212Z] $ docker top e53259b96a17a60678d3910d4eaddbe9ab59ed1abd730a26d555a2d1235baedd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T04:19:33.131Z] + go version [2024-10-02T04:19:33.132Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-02T04:19:33.195Z] $ docker stop --time=1 e53259b96a17a60678d3910d4eaddbe9ab59ed1abd730a26d555a2d1235baedd [2024-10-02T04:19:35.621Z] $ docker rm -f --volumes e53259b96a17a60678d3910d4eaddbe9ab59ed1abd730a26d555a2d1235baedd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:19:36.526Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T04:19:36.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:19:36.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-12577 does not seem to be running inside a container [2024-10-02T04:19:36.847Z] $ 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 [2024-10-02T04:19:37.966Z] $ docker top 1443ff96ea336205c4850c031f1d6093c445dad148c05caa42fbb765e08bba3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T04:19:38.635Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-02T04:19:39.616Z] + make test [2024-10-02T04:19:39.616Z] go test -race -coverprofile=coverage.out ./... [2024-10-02T04:20:18.484Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-02T04:24:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-02T04:24:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-02T04:24:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-02T04:24:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-02T04:24:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-02T04:24:10.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.121s coverage: 26.0% of statements [2024-10-02T04:24:14.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.165s coverage: 79.4% of statements [2024-10-02T04:24:23.071Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-02T04:24:23.071Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-02T04:24:23.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.264s coverage: 86.0% of statements [2024-10-02T04:24:31.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-02T04:24:32.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.500s coverage: 45.2% of statements [2024-10-02T04:24:35.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.147s coverage: 14.1% of statements [2024-10-02T04:24:35.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.816s coverage: 44.6% of statements [2024-10-02T04:24:36.967Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-02T04:24:36.967Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-02T04:24:36.967Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-02T04:24:37.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.306s coverage: 68.5% of statements [2024-10-02T04:24:42.264Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.367s coverage: 89.2% of statements [2024-10-02T04:24:44.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-02T04:24:45.853Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.233s coverage: 5.3% of statements [2024-10-02T04:24:47.810Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-02T04:24:47.810Z] GO111MODULE=on go vet ./... [2024-10-02T04:28:39.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T04:28:39.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T04:28:39.625Z] ./bin/test-attribution-txt.sh [2024-10-02T04:28:39.625Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T04:28:39.625Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T04:28:39.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T04:28:39.721Z] $ docker stop --time=1 1443ff96ea336205c4850c031f1d6093c445dad148c05caa42fbb765e08bba3d [2024-10-02T04:28:41.675Z] $ docker rm -f --volumes 1443ff96ea336205c4850c031f1d6093c445dad148c05caa42fbb765e08bba3d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T04:28:44.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T04:28:44.119Z] Warning: overwriting stash ‘coverage-report’ [2024-10-02T04:28:44.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T04:28:45.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T04:28:45.659Z] + ls -al . [2024-10-02T04:28:45.659Z] total 380 [2024-10-02T04:28:45.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 04:19 . [2024-10-02T04:28:45.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 04:16 .. [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 04:16 .dockerignore [2024-10-02T04:28:45.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 04:16 .git [2024-10-02T04:28:45.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 04:16 .github [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 04:16 .gitignore [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 04:16 .golangci.yml [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 04:16 CHANGELOG.md [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 04:16 GOVERNANCE.md [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 04:16 Jenkinsfile [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 04:16 LICENSE [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 04:16 Makefile [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 04:16 OWNERS.md [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 04:16 README.md [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 04:14 VERSION [2024-10-02T04:28:45.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 04:16 bin [2024-10-02T04:28:45.659Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 04:24 coverage.out [2024-10-02T04:28:45.659Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 04:16 example [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 2 04:16 go.mod [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 2 04:16 go.sum [2024-10-02T04:28:45.659Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 04:16 internal [2024-10-02T04:28:45.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 04:16 openapi [2024-10-02T04:28:45.659Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 04:16 pkg [2024-10-02T04:28:45.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 04:16 snap [2024-10-02T04:28:45.659Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:28:46.104Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=03f106a99230557bb6112794c6d142a53b00ad5a --label arch=arm64 --label version=0.0.0 . [2024-10-02T04:28:46.689Z] Sending build context to Docker daemon 13.28MB [2024-10-02T04:28:46.689Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T04:28:46.689Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-02T04:28:46.689Z] ---> e018ca1232ef [2024-10-02T04:28:46.689Z] Step 3/24 : ARG MAKE=make build [2024-10-02T04:28:46.956Z] ---> Running in 4d64b2846274 [2024-10-02T04:28:47.221Z] Removing intermediate container 4d64b2846274 [2024-10-02T04:28:47.221Z] ---> 7aff3f6f8840 [2024-10-02T04:28:47.221Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-02T04:28:47.221Z] ---> Running in 2f632de99d5e [2024-10-02T04:28:47.486Z] Removing intermediate container 2f632de99d5e [2024-10-02T04:28:47.486Z] ---> 96c8aecf7b87 [2024-10-02T04:28:47.486Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T04:28:47.486Z] ---> Running in f655de9be719 [2024-10-02T04:28:47.758Z] Removing intermediate container f655de9be719 [2024-10-02T04:28:47.758Z] ---> ef1add1a217a [2024-10-02T04:28:47.758Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-02T04:28:48.027Z] ---> Running in fef10939dec7 [2024-10-02T04:28:48.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T04:28:49.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T04:28:50.210Z] OK: 266 MiB in 52 packages [2024-10-02T04:28:51.181Z] Removing intermediate container fef10939dec7 [2024-10-02T04:28:51.181Z] ---> 8b2554bcb9c2 [2024-10-02T04:28:51.181Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-02T04:28:51.763Z] ---> 51f3c5042f9d [2024-10-02T04:28:51.763Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T04:28:51.763Z] ---> Running in 01aeeb300496 [2024-10-02T04:28:54.341Z] Removing intermediate container 01aeeb300496 [2024-10-02T04:28:54.341Z] ---> 2d747203ca93 [2024-10-02T04:28:54.341Z] Step 9/24 : COPY . . [2024-10-02T04:28:55.746Z] ---> e2f01a38d4d1 [2024-10-02T04:28:55.746Z] Step 10/24 : RUN ${MAKE} [2024-10-02T04:28:55.746Z] ---> Running in 454a63f03e99 [2024-10-02T04:28:56.708Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-02T04:32:18.465Z] Removing intermediate container 454a63f03e99 [2024-10-02T04:32:18.465Z] ---> 4d618d57ab43 [2024-10-02T04:32:18.465Z] Step 11/24 : FROM alpine:3.18 [2024-10-02T04:32:18.465Z] 3.18: Pulling from library/alpine [2024-10-02T04:32:18.465Z] 720f3032cd11: Pulling fs layer [2024-10-02T04:32:18.465Z] 720f3032cd11: Verifying Checksum [2024-10-02T04:32:18.465Z] 720f3032cd11: Download complete [2024-10-02T04:32:18.740Z] 720f3032cd11: Pull complete [2024-10-02T04:32:18.740Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T04:32:18.740Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T04:32:18.740Z] ---> 3e834921e367 [2024-10-02T04:32:18.740Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-02T04:32:19.045Z] ---> Running in 31a13fe1f4f6 [2024-10-02T04:32:19.324Z] Removing intermediate container 31a13fe1f4f6 [2024-10-02T04:32:19.324Z] ---> f461399db0b8 [2024-10-02T04:32:19.324Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-02T04:32:19.324Z] ---> Running in b1a8d797ce20 [2024-10-02T04:32:20.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T04:32:20.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T04:32:21.839Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T04:32:21.839Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T04:32:21.839Z] OK: 8 MiB in 16 packages [2024-10-02T04:32:22.806Z] Removing intermediate container b1a8d797ce20 [2024-10-02T04:32:22.806Z] ---> f09372bb6406 [2024-10-02T04:32:22.806Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-02T04:32:22.806Z] ---> Running in bd050b678344 [2024-10-02T04:32:23.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T04:32:24.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T04:32:24.991Z] OK: 8 MiB in 16 packages [2024-10-02T04:32:25.951Z] Removing intermediate container bd050b678344 [2024-10-02T04:32:25.951Z] ---> 8f22881f814e [2024-10-02T04:32:25.951Z] Step 15/24 : WORKDIR / [2024-10-02T04:32:25.951Z] ---> Running in d6ac722d882f [2024-10-02T04:32:26.218Z] Removing intermediate container d6ac722d882f [2024-10-02T04:32:26.218Z] ---> 865654c68263 [2024-10-02T04:32:26.218Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-02T04:32:26.801Z] ---> 33ea5731d2c9 [2024-10-02T04:32:26.801Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-02T04:32:29.373Z] ---> 4d4285f735cf [2024-10-02T04:32:29.373Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-02T04:32:29.640Z] ---> 87d93e222051 [2024-10-02T04:32:29.640Z] Step 19/24 : EXPOSE 59999 [2024-10-02T04:32:29.640Z] ---> Running in 6bc4e2944e53 [2024-10-02T04:32:30.222Z] Removing intermediate container 6bc4e2944e53 [2024-10-02T04:32:30.222Z] ---> 96b8c4860aba [2024-10-02T04:32:30.222Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-02T04:32:30.222Z] ---> Running in c71d27639ce7 [2024-10-02T04:32:30.488Z] Removing intermediate container c71d27639ce7 [2024-10-02T04:32:30.488Z] ---> cf24296bbac2 [2024-10-02T04:32:30.488Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T04:32:30.488Z] ---> Running in ddb7130653a4 [2024-10-02T04:32:30.755Z] Removing intermediate container ddb7130653a4 [2024-10-02T04:32:30.755Z] ---> 1f080721a852 [2024-10-02T04:32:30.755Z] Step 22/24 : LABEL arch=arm64 [2024-10-02T04:32:30.755Z] ---> Running in 53dd4ce9b567 [2024-10-02T04:32:31.025Z] Removing intermediate container 53dd4ce9b567 [2024-10-02T04:32:31.025Z] ---> 945d6287dc8b [2024-10-02T04:32:31.025Z] Step 23/24 : LABEL git_sha=03f106a99230557bb6112794c6d142a53b00ad5a [2024-10-02T04:32:31.296Z] ---> Running in a9d0d6e2ccb3 [2024-10-02T04:32:31.567Z] Removing intermediate container a9d0d6e2ccb3 [2024-10-02T04:32:31.567Z] ---> fb30fb97290d [2024-10-02T04:32:31.567Z] Step 24/24 : LABEL version=0.0.0 [2024-10-02T04:32:31.567Z] ---> Running in fc1a44bf0637 [2024-10-02T04:32:31.836Z] Removing intermediate container fc1a44bf0637 [2024-10-02T04:32:31.836Z] ---> e63d175dd907 [2024-10-02T04:32:31.836Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T04:32:31.836Z] Successfully built e63d175dd907 [2024-10-02T04:32:31.836Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:32:33.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T04:32:33.059Z] [2024-10-02T04:32:33.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:32:33.485Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T04:32:33.485Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-02T04:32:33.485Z] 8998bd30e6a1: Pulling fs layer [2024-10-02T04:32:33.485Z] 04944245beec: Pulling fs layer [2024-10-02T04:32:33.485Z] 699f458cf7ca: Pulling fs layer [2024-10-02T04:32:33.485Z] 765212b225bb: Pulling fs layer [2024-10-02T04:32:33.485Z] f23df028b6ca: Pulling fs layer [2024-10-02T04:32:33.485Z] d65c8cfc05b1: Pulling fs layer [2024-10-02T04:32:33.485Z] 2437ff75d9bd: Pulling fs layer [2024-10-02T04:32:33.485Z] 765212b225bb: Waiting [2024-10-02T04:32:33.485Z] f23df028b6ca: Waiting [2024-10-02T04:32:33.485Z] 2437ff75d9bd: Waiting [2024-10-02T04:32:33.754Z] 04944245beec: Verifying Checksum [2024-10-02T04:32:33.754Z] 04944245beec: Download complete [2024-10-02T04:32:33.754Z] 765212b225bb: Verifying Checksum [2024-10-02T04:32:33.754Z] 765212b225bb: Download complete [2024-10-02T04:32:33.754Z] f23df028b6ca: Verifying Checksum [2024-10-02T04:32:33.754Z] f23df028b6ca: Download complete [2024-10-02T04:32:33.754Z] d65c8cfc05b1: Verifying Checksum [2024-10-02T04:32:33.754Z] d65c8cfc05b1: Download complete [2024-10-02T04:32:34.026Z] 699f458cf7ca: Verifying Checksum [2024-10-02T04:32:34.027Z] 699f458cf7ca: Download complete [2024-10-02T04:32:34.295Z] 8998bd30e6a1: Verifying Checksum [2024-10-02T04:32:34.295Z] 8998bd30e6a1: Download complete [2024-10-02T04:32:36.876Z] 2437ff75d9bd: Verifying Checksum [2024-10-02T04:32:36.876Z] 2437ff75d9bd: Download complete [2024-10-02T04:32:38.818Z] 8998bd30e6a1: Pull complete [2024-10-02T04:32:39.084Z] 04944245beec: Pull complete [2024-10-02T04:32:40.490Z] 699f458cf7ca: Pull complete [2024-10-02T04:32:40.756Z] 765212b225bb: Pull complete [2024-10-02T04:32:41.715Z] f23df028b6ca: Pull complete [2024-10-02T04:32:41.982Z] d65c8cfc05b1: Pull complete [2024-10-02T04:33:00.187Z] 2437ff75d9bd: Pull complete [2024-10-02T04:33:00.187Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-02T04:33:00.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T04:33:00.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:33:00.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-12577 does not seem to be running inside a container [2024-10-02T04:33:00.626Z] $ 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 [2024-10-02T04:33:04.022Z] $ docker top e2d33280e501e75746a4bafb810ba6f5decefc18dd9a3e92894d2d5331a9f368 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:04.981Z] ---> job-cost.sh [2024-10-02T04:33:04.981Z] lf-activate-venv: SKIPPING [2024-10-02T04:33:04.981Z] INFO: No Stack... [2024-10-02T04:33:05.566Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-02T04:33:06.527Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T04:33:07.205Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-02T04:33:07.205Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T04:33:07.304Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [2024-10-02T04:33:07.310Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] did not exist. Created. [2024-10-02T04:33:07.316Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T04:33:08.073Z] /w/workspace/device-sdk-go/1@tmp/durable-6c12d302/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-02T04:33:08.746Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-02T04:33:08.789Z] Warning: overwriting stash ‘stack-cost’ [2024-10-02T04:33:08.877Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T04:33:08.899Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1630-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T04:33:08.983Z] $ docker stop --time=1 e2d33280e501e75746a4bafb810ba6f5decefc18dd9a3e92894d2d5331a9f368 [2024-10-02T04:33:10.527Z] $ docker rm -f --volumes e2d33280e501e75746a4bafb810ba6f5decefc18dd9a3e92894d2d5331a9f368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-02T04:33:11.809Z] provisioning config files... [2024-10-02T04:33:11.816Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/config1840222281615077495tmp [Pipeline] { [Pipeline] sh [2024-10-02T04:33:12.185Z] + set +x [2024-10-02T04:33:12.185Z] + bash -s -- [2024-10-02T04:33:12.185Z] + curl -s https://codecov.io/bash [2024-10-02T04:33:12.185Z] [2024-10-02T04:33:12.185Z] _____ _ [2024-10-02T04:33:12.185Z] / ____| | | [2024-10-02T04:33:12.185Z] | | ___ __| | ___ ___ _____ __ [2024-10-02T04:33:12.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-02T04:33:12.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-02T04:33:12.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-02T04:33:12.185Z] Bash-1.0.6 [2024-10-02T04:33:12.185Z] [2024-10-02T04:33:12.185Z] [2024-10-02T04:33:12.185Z] ==> git version 2.25.1 found [2024-10-02T04:33:12.185Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-02T04:33:12.185Z] Release-Date: 2020-01-08 [2024-10-02T04:33:12.185Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-02T04:33:12.185Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-02T04:33:12.185Z] ==> Jenkins CI detected. [2024-10-02T04:33:12.185Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1630 [2024-10-02T04:33:12.185Z] project root: . [2024-10-02T04:33:12.185Z] --> token set from env [2024-10-02T04:33:12.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-02T04:33:12.185Z] ==> Running gcov in . (disable via -X gcov) [2024-10-02T04:33:12.185Z] ==> Python coveragepy not found [2024-10-02T04:33:12.185Z] ==> Searching for coverage reports in: [2024-10-02T04:33:12.185Z] + . [2024-10-02T04:33:12.185Z] -> Found 1 reports [2024-10-02T04:33:12.185Z] ==> Detecting git/mercurial file structure [2024-10-02T04:33:12.185Z] ==> Reading reports [2024-10-02T04:33:12.185Z] + ./coverage.out bytes=128347 [2024-10-02T04:33:12.448Z] ==> Appending adjustments [2024-10-02T04:33:12.448Z] https://docs.codecov.io/docs/fixing-reports [2024-10-02T04:33:12.707Z] + Found adjustments [2024-10-02T04:33:12.707Z] ==> Gzipping contents [2024-10-02T04:33:12.707Z] 20K /tmp/codecov.mbnIZx.gz [2024-10-02T04:33:12.707Z] ==> Uploading reports [2024-10-02T04:33:12.707Z] url: https://codecov.io [2024-10-02T04:33:12.707Z] query: branch=PR-1630&commit=03f106a99230557bb6112794c6d142a53b00ad5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1630%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1630&job=&cmd_args= [2024-10-02T04:33:12.707Z] -> Pinging Codecov [2024-10-02T04:33:12.707Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1630&commit=03f106a99230557bb6112794c6d142a53b00ad5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1630%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1630&job=&cmd_args= [2024-10-02T04:33:12.707Z] -> Uploading to [2024-10-02T04:33:12.707Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/03f106a99230557bb6112794c6d142a53b00ad5a/0361f9a7-67aa-4e24-8e92-28f5a7c6a81c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T043312Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=3e2643326e7ce6d9b5392b4a4cb35fb5befad4b7917671eae97818804db597d9 [2024-10-02T04:33:12.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T04:33:12.968Z] Dload Upload Total Spent Left Speed [2024-10-02T04:33:12.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17705 0 0 100 17705 0 76314 --:--:-- --:--:-- --:--:-- 76314 [2024-10-02T04:33:12.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/03f106a99230557bb6112794c6d142a53b00ad5a [Pipeline] } [2024-10-02T04:33:13.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-02T04:33:15.364Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives ] [2024-10-02T04:33:15.364Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives [2024-10-02T04:33:15.364Z] total 16 [2024-10-02T04:33:15.364Z] drwxr-xr-x 3 root root 4096 Oct 2 04:18 . [2024-10-02T04:33:15.364Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 04:18 .. [2024-10-02T04:33:15.364Z] drwxr-xr-x 2 root root 4096 Oct 2 04:18 cost [2024-10-02T04:33:15.364Z] -rw-r--r-- 1 root root 86 Oct 2 04:18 cost.csv [2024-10-02T04:33:15.364Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives [2024-10-02T04:33:15.364Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives [2024-10-02T04:33:15.364Z] total 16 [2024-10-02T04:33:15.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 04:18 . [2024-10-02T04:33:15.364Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 04:18 .. [2024-10-02T04:33:15.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 04:18 cost [2024-10-02T04:33:15.364Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 2 04:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:15.709Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:16.613Z] ---> package-listing.sh [2024-10-02T04:33:16.613Z] ++ facter osfamily [2024-10-02T04:33:16.613Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-02T04:33:16.873Z] + OS_FAMILY=debian [2024-10-02T04:33:16.874Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1630 [2024-10-02T04:33:16.874Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-02T04:33:16.874Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-02T04:33:16.874Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-02T04:33:16.874Z] + PACKAGES=/tmp/packages_start.txt [2024-10-02T04:33:16.874Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1630 ']' [2024-10-02T04:33:16.874Z] + PACKAGES=/tmp/packages_end.txt [2024-10-02T04:33:16.874Z] + case "${OS_FAMILY}" in [2024-10-02T04:33:16.874Z] + dpkg -l [2024-10-02T04:33:16.874Z] + grep '^ii' [2024-10-02T04:33:16.874Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-02T04:33:16.874Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-02T04:33:16.874Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-02T04:33:16.874Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1630 ']' [2024-10-02T04:33:16.874Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives/ [2024-10-02T04:33:16.874Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1630/archives/ [Pipeline] echo [2024-10-02T04:33:16.917Z] 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-1630/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-02T04:33:17.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T04:33:17.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T04:33:17.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T04:33:17.989Z] prd-ubuntu20.04-docker-8c-8g-12576 does not seem to be running inside a container [2024-10-02T04:33:18.024Z] $ 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-1630/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-1630 -v /w/workspace/gexfoundry_device-sdk-go_PR-1630:/w/workspace/gexfoundry_device-sdk-go_PR-1630:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1630@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 [2024-10-02T04:33:18.204Z] $ docker top f62806d80108858ea6e9ee31705a6644cfd27356cbacf60c5f1c88fcb790ac5e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T04:33:18.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-02T04:33:18.936Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-02T04:33:19.256Z] + ls /var/log/sa-host [2024-10-02T04:33:19.257Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T04:33:19.522Z] provisioning config files... [2024-10-02T04:33:19.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1630@tmp/config5902323626315032303tmp [Pipeline] { [Pipeline] echo [2024-10-02T04:33:19.599Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:19.922Z] ---> create-netrc.sh [Pipeline] } [2024-10-02T04:33:19.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:20.383Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-02T04:33:20.426Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:20.751Z] ---> sudo-logs.sh [2024-10-02T04:33:20.751Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-02T04:33:20.863Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:21.185Z] ---> job-cost.sh [2024-10-02T04:33:21.185Z] lf-activate-venv: SKIPPING [2024-10-02T04:33:21.185Z] DEBUG: total: 0.2199999988079071 [2024-10-02T04:33:21.185Z] INFO: Retrieving Stack Cost... [2024-10-02T04:33:21.444Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T04:33:22.012Z] INFO: Archiving Costs [Pipeline] echo [2024-10-02T04:33:22.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T04:33:22.400Z] ---> logs-deploy.sh [2024-10-02T04:33:22.400Z] lf-activate-venv: SKIPPING [2024-10-02T04:33:22.400Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1630/1 [2024-10-02T04:33:22.400Z] INFO: archiving workspace using pattern(s): [2024-10-02T04:33:23.336Z] Archives upload complete. [2024-10-02T04:33:23.336Z] INFO: archiving logs to Nexus