Pull request #1625 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0273bc1903c20c0119abaa3ddf16b67a83272bfa+224db1e0e192554ed613955b9810071aef8a346e (9332aab21e40aef25297891cb9acb96df8e99ebf) 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-ssh12836321165115278801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2242901069979429210.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1625/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-1625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14251837490862201283.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-1625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6311034901799812528.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh12198996168245232574.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-1625/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-1625/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16997827243453664666.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 f3350a1713306dce7682ed7e37d5774890d03277 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9988 in /w/workspace/gexfoundry_device-sdk-go_PR-1625 [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-1625 # 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/1625/head:refs/remotes/origin/PR-1625 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 0273bc1903c20c0119abaa3ddf16b67a83272bfa Merge succeeded, producing 0273bc1903c20c0119abaa3ddf16b67a83272bfa Checking out Revision 0273bc1903c20c0119abaa3ddf16b67a83272bfa (PR-1625) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-10T04:42:37.980Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-10T04:42:38.211Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-10T04:42:38.338Z] ========================================================= [2024-09-10T04:42:38.338Z] EdgeX Global Pipelines Version Info [2024-09-10T04:42:38.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-10T04:42:39.129Z] ------------------- [2024-09-10T04:42:39.130Z] stable info: [2024-09-10T04:42:39.130Z] ------------------- [2024-09-10T04:42:39.130Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-10T04:42:39.130Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-10T04:42:39.130Z] Message: update stable to v1.0.263 [2024-09-10T04:42:39.700Z] ------------------- [2024-09-10T04:42:39.700Z] experimental info: [2024-09-10T04:42:39.700Z] ------------------- [2024-09-10T04:42:39.700Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-10T04:42:39.700Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-10T04:42:39.700Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-10T04:42:39.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-10T04:42:40.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-10T04:42:40.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-10T04:42:40.150Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-10T04:42:40.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-10T04:42:40.268Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-10T04:42:40.325Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-10T04:42:40.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-10T04:42:40.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-10T04:42:40.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-10T04:42:40.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-10T04:42:40.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-10T04:42:40.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-10T04:42:40.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-10T04:42:40.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-10T04:42:40.873Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-10T04:42:40.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-10T04:42:41.004Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-10T04:42:41.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-10T04:42:41.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-10T04:42:41.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-10T04:42:41.288Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-10T04:42:41.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-10T04:42:41.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-10T04:42:41.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-10T04:42:41.761Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-10T04:42:41.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-10T04:42:41.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1625 [Pipeline] echo [2024-09-10T04:42:41.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1625 [Pipeline] echo [2024-09-10T04:42:41.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1625 [Pipeline] echo [2024-09-10T04:42:42.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo [2024-09-10T04:42:42.121Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0273bc1 [Pipeline] echo [2024-09-10T04:42:42.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T04:42:42.334Z] provisioning config files... [2024-09-10T04:42:42.347Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config17164850581682436065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T04:42:42.744Z] ---> ****-login.sh [2024-09-10T04:42:42.744Z] nexus3.edgexfoundry.org:10001 [2024-09-10T04:42:43.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:42:43.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:42:43.004Z] Configure a credential helper to remove this warning. See [2024-09-10T04:42:43.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:42:43.004Z] [2024-09-10T04:42:43.004Z] Login Succeeded [2024-09-10T04:42:43.004Z] nexus3.edgexfoundry.org:10002 [2024-09-10T04:42:43.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:42:43.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:42:43.264Z] Configure a credential helper to remove this warning. See [2024-09-10T04:42:43.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:42:43.264Z] [2024-09-10T04:42:43.264Z] Login Succeeded [2024-09-10T04:42:43.264Z] nexus3.edgexfoundry.org:10003 [2024-09-10T04:42:43.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:42:43.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:42:43.264Z] Configure a credential helper to remove this warning. See [2024-09-10T04:42:43.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:42:43.264Z] [2024-09-10T04:42:43.264Z] Login Succeeded [2024-09-10T04:42:43.264Z] nexus3.edgexfoundry.org:10004 [2024-09-10T04:42:43.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:42:43.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:42:43.264Z] Configure a credential helper to remove this warning. See [2024-09-10T04:42:43.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:42:43.265Z] [2024-09-10T04:42:43.265Z] Login Succeeded [2024-09-10T04:42:43.265Z] ****.io [2024-09-10T04:42:43.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:42:43.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:42:43.524Z] Configure a credential helper to remove this warning. See [2024-09-10T04:42:43.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:42:43.524Z] [2024-09-10T04:42:43.524Z] Login Succeeded [2024-09-10T04:42:43.524Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T04:42:43.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-10T04:42:44.235Z] + git rev-list -1 --merges 0273bc1903c20c0119abaa3ddf16b67a83272bfa~1..0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo [2024-09-10T04:42:44.286Z] -----------> git rev-list -1 --merges 0273bc1903c20c0119abaa3ddf16b67a83272bfa~1..0273bc1903c20c0119abaa3ddf16b67a83272bfa 0273bc1903c20c0119abaa3ddf16b67a83272bfa [false] [Pipeline] sh [2024-09-10T04:42:44.602Z] + git log --format=format:%s -1 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo [2024-09-10T04:42:44.653Z] ========================================================= [2024-09-10T04:42:44.653Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-10T04:42:44.653Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T04:42:45.122Z] + git log --format=format:%s -1 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo [2024-09-10T04:42:45.163Z] [semverPrep] GIT_COMMIT: 0273bc1903c20c0119abaa3ddf16b67a83272bfa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-09-10T04:42:45.205Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-10T04:42:45.619Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-10T04:42:45.619Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-10T04:42:45.619Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-10T04:42:45.619Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-10T04:42:45.619Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-10T04:42:45.619Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-10T04:42:45.619Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:42:46.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T04:42:46.090Z] [2024-09-10T04:42:46.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:42:46.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T04:42:46.498Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-10T04:42:46.498Z] b85a868b505f: Pulling fs layer [2024-09-10T04:42:46.498Z] e2be974225ed: Pulling fs layer [2024-09-10T04:42:46.498Z] 339a4e72a1f5: Pulling fs layer [2024-09-10T04:42:46.498Z] 988bab9f4d93: Pulling fs layer [2024-09-10T04:42:46.498Z] 1469e6f7b9e6: Pulling fs layer [2024-09-10T04:42:46.498Z] eaf3925da568: Pulling fs layer [2024-09-10T04:42:46.498Z] bab4dde63d76: Pulling fs layer [2024-09-10T04:42:46.498Z] bde34c3a00c8: Pulling fs layer [2024-09-10T04:42:46.498Z] b352a97aabf1: Pulling fs layer [2024-09-10T04:42:46.498Z] 4872d77fe225: Pulling fs layer [2024-09-10T04:42:46.498Z] 5851b861e8e6: Pulling fs layer [2024-09-10T04:42:46.498Z] bab4dde63d76: Waiting [2024-09-10T04:42:46.498Z] 988bab9f4d93: Waiting [2024-09-10T04:42:46.498Z] 1469e6f7b9e6: Waiting [2024-09-10T04:42:46.498Z] bde34c3a00c8: Waiting [2024-09-10T04:42:46.498Z] b352a97aabf1: Waiting [2024-09-10T04:42:46.498Z] eaf3925da568: Waiting [2024-09-10T04:42:46.498Z] 4872d77fe225: Waiting [2024-09-10T04:42:46.498Z] 5851b861e8e6: Waiting [2024-09-10T04:42:46.498Z] e2be974225ed: Download complete [2024-09-10T04:42:46.498Z] 988bab9f4d93: Verifying Checksum [2024-09-10T04:42:46.498Z] 988bab9f4d93: Download complete [2024-09-10T04:42:46.498Z] 1469e6f7b9e6: Verifying Checksum [2024-09-10T04:42:46.498Z] 1469e6f7b9e6: Download complete [2024-09-10T04:42:46.498Z] eaf3925da568: Verifying Checksum [2024-09-10T04:42:46.498Z] eaf3925da568: Download complete [2024-09-10T04:42:46.759Z] 339a4e72a1f5: Verifying Checksum [2024-09-10T04:42:46.759Z] 339a4e72a1f5: Download complete [2024-09-10T04:42:46.759Z] bde34c3a00c8: Verifying Checksum [2024-09-10T04:42:46.759Z] bde34c3a00c8: Download complete [2024-09-10T04:42:46.759Z] b352a97aabf1: Verifying Checksum [2024-09-10T04:42:46.759Z] b352a97aabf1: Download complete [2024-09-10T04:42:46.759Z] 4872d77fe225: Verifying Checksum [2024-09-10T04:42:46.759Z] 4872d77fe225: Download complete [2024-09-10T04:42:46.759Z] 5851b861e8e6: Download complete [2024-09-10T04:42:46.759Z] b85a868b505f: Verifying Checksum [2024-09-10T04:42:46.759Z] b85a868b505f: Download complete [2024-09-10T04:42:47.023Z] bab4dde63d76: Verifying Checksum [2024-09-10T04:42:47.023Z] bab4dde63d76: Download complete [2024-09-10T04:42:47.960Z] b85a868b505f: Pull complete [2024-09-10T04:42:47.960Z] e2be974225ed: Pull complete [2024-09-10T04:42:48.530Z] 339a4e72a1f5: Pull complete [2024-09-10T04:42:48.530Z] 988bab9f4d93: Pull complete [2024-09-10T04:42:48.792Z] 1469e6f7b9e6: Pull complete [2024-09-10T04:42:48.792Z] eaf3925da568: Pull complete [2024-09-10T04:42:50.705Z] bab4dde63d76: Pull complete [2024-09-10T04:42:50.705Z] bde34c3a00c8: Pull complete [2024-09-10T04:42:50.705Z] b352a97aabf1: Pull complete [2024-09-10T04:42:50.705Z] 4872d77fe225: Pull complete [2024-09-10T04:42:50.705Z] 5851b861e8e6: Pull complete [2024-09-10T04:42:50.966Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-10T04:42:50.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T04:42:50.966Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:42:51.287Z] prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container [2024-09-10T04:42:51.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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-09-10T04:42:54.561Z] $ docker top c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 -eo pid,comm [2024-09-10T04:42:54.606Z] 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-09-10T04:42:54.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-10T04:42:54.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T04:42:54.887Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T04:42:55.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T04:42:55.025Z] $ docker exec c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent [2024-09-10T04:42:55.131Z] SSH_AUTH_SOCK=/tmp/ssh-hHq63FTrFw3y/agent.32 [2024-09-10T04:42:55.131Z] SSH_AGENT_PID=38 [2024-09-10T04:42:55.137Z] Running ssh-add (command line suppressed) [2024-09-10T04:42:55.240Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13173225873447648957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13173225873447648957.key) [2024-09-10T04:42:55.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T04:42:55.591Z] + git tag --points-at HEAD [Pipeline] } [2024-09-10T04:42:55.623Z] $ docker exec --env ******** --env ******** c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent -k [2024-09-10T04:42:55.707Z] unset SSH_AUTH_SOCK; [2024-09-10T04:42:55.707Z] unset SSH_AGENT_PID; [2024-09-10T04:42:55.707Z] echo Agent pid 38 killed; [2024-09-10T04:42:55.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-10T04:42:55.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T04:42:55.846Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T04:42:55.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T04:42:55.962Z] $ docker exec c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent [2024-09-10T04:42:56.061Z] SSH_AUTH_SOCK=/tmp/ssh-Q4qlrBbfiE7f/agent.71 [2024-09-10T04:42:56.061Z] SSH_AGENT_PID=78 [2024-09-10T04:42:56.065Z] Running ssh-add (command line suppressed) [2024-09-10T04:42:56.163Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13606689292964755382.key (/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13606689292964755382.key) [2024-09-10T04:42:56.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T04:42:56.526Z] + git semver init [2024-09-10T04:42:56.784Z] 2024-09-10 04:42:56,759 [run_init] DEBUG init version:0.0.0 force:False [2024-09-10T04:42:56.784Z] 2024-09-10 04:42:56,760 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver [2024-09-10T04:42:56.784Z] 2024-09-10 04:42:56,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver [2024-09-10T04:42:56.784Z] 2024-09-10 04:42:56,761 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625, universal_newlines=False, shell=None, istream=None) [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,759 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.git/info/exclude [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 with force:False [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,760 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,763 [execute] INFO git cat-file --batch-check [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver, universal_newlines=False, shell=None, istream=) [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,768 [execute] INFO git cat-file --batch [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver, universal_newlines=False, shell=None, istream=) [2024-09-10T04:42:59.343Z] 2024-09-10 04:42:58,773 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 [2024-09-10T04:42:59.343Z] 0.0.0 [Pipeline] } [2024-09-10T04:42:59.450Z] $ docker exec --env ******** --env ******** c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent -k [2024-09-10T04:42:59.534Z] unset SSH_AUTH_SOCK; [2024-09-10T04:42:59.535Z] unset SSH_AGENT_PID; [2024-09-10T04:42:59.535Z] echo Agent pid 78 killed; [2024-09-10T04:42:59.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-10T04:43:00.027Z] + git semver [Pipeline] } [2024-09-10T04:43:00.317Z] $ docker stop --time=1 c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 [2024-09-10T04:43:01.603Z] $ docker rm -f --volumes c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T04:43:02.043Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-10T04:43:02.352Z] Stashed 1 file(s) [Pipeline] echo [2024-09-10T04:43:02.379Z] [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-09-10T04:43:03.372Z] provisioning config files... [2024-09-10T04:43:03.383Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config3316670989446438711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T04:43:03.765Z] ---> ****-login.sh [2024-09-10T04:43:03.765Z] nexus3.edgexfoundry.org:10001 [2024-09-10T04:43:03.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:43:03.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:43:03.765Z] Configure a credential helper to remove this warning. See [2024-09-10T04:43:03.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:43:03.766Z] [2024-09-10T04:43:03.766Z] Login Succeeded [2024-09-10T04:43:03.766Z] nexus3.edgexfoundry.org:10002 [2024-09-10T04:43:03.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:43:03.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:43:03.766Z] Configure a credential helper to remove this warning. See [2024-09-10T04:43:03.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:43:03.766Z] [2024-09-10T04:43:03.766Z] Login Succeeded [2024-09-10T04:43:03.766Z] nexus3.edgexfoundry.org:10003 [2024-09-10T04:43:04.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:43:04.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:43:04.025Z] Configure a credential helper to remove this warning. See [2024-09-10T04:43:04.025Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:43:04.025Z] [2024-09-10T04:43:04.025Z] Login Succeeded [2024-09-10T04:43:04.025Z] nexus3.edgexfoundry.org:10004 [2024-09-10T04:43:04.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:43:04.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:43:04.025Z] Configure a credential helper to remove this warning. See [2024-09-10T04:43:04.025Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:43:04.025Z] [2024-09-10T04:43:04.025Z] Login Succeeded [2024-09-10T04:43:04.025Z] ****.io [2024-09-10T04:43:04.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:43:04.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:43:04.286Z] Configure a credential helper to remove this warning. See [2024-09-10T04:43:04.287Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:43:04.287Z] [2024-09-10T04:43:04.287Z] Login Succeeded [2024-09-10T04:43:04.287Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T04:43:04.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-10T04:43:04.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T04:43:04.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T04:43:04.807Z] ========================================================= [2024-09-10T04:43:04.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-10T04:43:04.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:43:05.398Z] + 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-09-10T04:43:05.398Z] Sending build context to Docker daemon 25.31MB [2024-09-10T04:43:05.398Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T04:43:05.398Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-10T04:43:05.658Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-10T04:43:05.658Z] 619be1103602: Pulling fs layer [2024-09-10T04:43:05.658Z] 7862e08f4a3e: Pulling fs layer [2024-09-10T04:43:05.658Z] 5df492c9dc93: Pulling fs layer [2024-09-10T04:43:05.658Z] 7629e6793208: Pulling fs layer [2024-09-10T04:43:05.658Z] 4f4fb700ef54: Pulling fs layer [2024-09-10T04:43:05.658Z] fb5054dd5b73: Pulling fs layer [2024-09-10T04:43:05.658Z] eeca6798cff9: Pulling fs layer [2024-09-10T04:43:05.658Z] aa269ceb94a6: Pulling fs layer [2024-09-10T04:43:05.658Z] ada007ff1a6a: Pulling fs layer [2024-09-10T04:43:05.658Z] fb5054dd5b73: Waiting [2024-09-10T04:43:05.658Z] eeca6798cff9: Waiting [2024-09-10T04:43:05.658Z] 7629e6793208: Waiting [2024-09-10T04:43:05.658Z] aa269ceb94a6: Waiting [2024-09-10T04:43:05.658Z] 4f4fb700ef54: Waiting [2024-09-10T04:43:05.658Z] ada007ff1a6a: Waiting [2024-09-10T04:43:05.658Z] 7862e08f4a3e: Download complete [2024-09-10T04:43:05.658Z] 7629e6793208: Verifying Checksum [2024-09-10T04:43:05.658Z] 7629e6793208: Download complete [2024-09-10T04:43:05.658Z] 4f4fb700ef54: Verifying Checksum [2024-09-10T04:43:05.658Z] 4f4fb700ef54: Download complete [2024-09-10T04:43:05.658Z] fb5054dd5b73: Verifying Checksum [2024-09-10T04:43:05.658Z] fb5054dd5b73: Download complete [2024-09-10T04:43:05.658Z] 619be1103602: Verifying Checksum [2024-09-10T04:43:05.658Z] eeca6798cff9: Verifying Checksum [2024-09-10T04:43:05.658Z] eeca6798cff9: Download complete [2024-09-10T04:43:05.919Z] 619be1103602: Pull complete [2024-09-10T04:43:05.919Z] ada007ff1a6a: Verifying Checksum [2024-09-10T04:43:05.919Z] ada007ff1a6a: Download complete [2024-09-10T04:43:05.919Z] 7862e08f4a3e: Pull complete [2024-09-10T04:43:06.180Z] 5df492c9dc93: Verifying Checksum [2024-09-10T04:43:06.180Z] 5df492c9dc93: Download complete [2024-09-10T04:43:06.440Z] aa269ceb94a6: Verifying Checksum [2024-09-10T04:43:06.440Z] aa269ceb94a6: Download complete [2024-09-10T04:43:08.971Z] 5df492c9dc93: Pull complete [2024-09-10T04:43:09.233Z] 7629e6793208: Pull complete [2024-09-10T04:43:09.233Z] 4f4fb700ef54: Pull complete [2024-09-10T04:43:09.233Z] fb5054dd5b73: Pull complete [2024-09-10T04:43:09.233Z] eeca6798cff9: Pull complete [2024-09-10T04:43:11.762Z] aa269ceb94a6: Pull complete [2024-09-10T04:43:12.028Z] ada007ff1a6a: Pull complete [2024-09-10T04:43:12.028Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-10T04:43:12.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-10T04:43:12.028Z] ---> f489d0715acc [2024-09-10T04:43:12.028Z] Step 3/10 : ARG MAKE=make build [2024-09-10T04:43:18.145Z] Still waiting to schedule task [2024-09-10T04:43:18.145Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-09-10T04:43:18.601Z] ---> Running in e378c906e45c [2024-09-10T04:43:18.601Z] Removing intermediate container e378c906e45c [2024-09-10T04:43:18.601Z] ---> 904e424bcf4c [2024-09-10T04:43:18.601Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-10T04:43:18.601Z] ---> Running in 4196312a3090 [2024-09-10T04:43:18.601Z] Removing intermediate container 4196312a3090 [2024-09-10T04:43:18.601Z] ---> b01f2d17fec2 [2024-09-10T04:43:18.601Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T04:43:18.601Z] ---> Running in d874bfc9757a [2024-09-10T04:43:18.601Z] Removing intermediate container d874bfc9757a [2024-09-10T04:43:18.601Z] ---> 7572d88a5b3c [2024-09-10T04:43:18.601Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-10T04:43:18.601Z] ---> Running in 539176396d5d [2024-09-10T04:43:19.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T04:43:19.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T04:43:19.429Z] OK: 264 MiB in 52 packages [2024-09-10T04:43:19.690Z] Removing intermediate container 539176396d5d [2024-09-10T04:43:19.690Z] ---> e7f12f0a8e4b [2024-09-10T04:43:19.690Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-10T04:43:19.948Z] ---> 8d9012e9305f [2024-09-10T04:43:19.948Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T04:43:19.948Z] ---> Running in 7981c27156ae [2024-09-10T04:44:16.201Z] Removing intermediate container 7981c27156ae [2024-09-10T04:44:16.201Z] ---> 3d0fe5781904 [2024-09-10T04:44:16.201Z] Step 9/10 : COPY . . [2024-09-10T04:44:16.201Z] ---> d84ce157efb1 [2024-09-10T04:44:16.201Z] Step 10/10 : RUN ${MAKE} [2024-09-10T04:44:16.201Z] ---> Running in c66d25f5beb4 [2024-09-10T04:44:16.201Z] noop [2024-09-10T04:44:16.201Z] Removing intermediate container c66d25f5beb4 [2024-09-10T04:44:16.201Z] ---> 108536fe094f [2024-09-10T04:44:16.201Z] Successfully built 108536fe094f [2024-09-10T04:44:16.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:44:16.689Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-10T04:44:16.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:44:16.854Z] prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container [2024-09-10T04:44:16.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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-09-10T04:44:17.205Z] $ docker top 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T04:44:17.635Z] + go version [2024-09-10T04:44:17.635Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-10T04:44:17.678Z] $ docker stop --time=1 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a [2024-09-10T04:44:18.898Z] $ docker rm -f --volumes 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:44:19.659Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-10T04:44:19.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:44:19.823Z] prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container [2024-09-10T04:44:19.854Z] $ 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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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-09-10T04:44:20.155Z] $ docker top daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T04:44:20.556Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1625 [Pipeline] fileExists [Pipeline] sh [2024-09-10T04:44:20.937Z] + make test [2024-09-10T04:44:20.937Z] go test -race -coverprofile=coverage.out ./... [2024-09-10T04:44:29.063Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-10T04:44:55.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-10T04:44:55.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements [2024-09-10T04:44:55.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-09-10T04:44:55.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements [2024-09-10T04:44:55.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-10T04:44:56.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-10T04:44:56.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-10T04:44:56.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-10T04:44:57.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 45.2% of statements [2024-09-10T04:44:58.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-10T04:44:59.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.027s coverage: 14.4% of statements [2024-09-10T04:44:59.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.466s coverage: 44.6% of statements [2024-09-10T04:44:59.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements [2024-09-10T04:44:59.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements [2024-09-10T04:44:59.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements [2024-09-10T04:45:32.219Z] GO111MODULE=on go vet ./... [2024-09-10T04:45:34.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-10T04:45:34.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-10T04:45:34.748Z] ./bin/test-attribution-txt.sh [2024-09-10T04:45:35.006Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-09-10T04:45:35.006Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-10T04:45:35.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-10T04:45:35.086Z] $ docker stop --time=1 daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 [2024-09-10T04:45:40.830Z] $ docker rm -f --volumes daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T04:45:41.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-10T04:45:41.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-10T04:45:42.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-10T04:45:42.782Z] + ls -al . [2024-09-10T04:45:42.782Z] total 384 [2024-09-10T04:45:42.782Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 04:44 . [2024-09-10T04:45:42.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:42 .. [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 04:42 .dockerignore [2024-09-10T04:45:42.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 04:45 .git [2024-09-10T04:45:42.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:42 .github [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 10 04:42 .gitignore [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 10 04:42 .golangci.yml [2024-09-10T04:45:42.782Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 04:42 .semver [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 10 04:42 CHANGELOG.md [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 04:42 GOVERNANCE.md [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 10 04:42 Jenkinsfile [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 04:42 LICENSE [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 10 04:42 Makefile [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 10 04:42 OWNERS.md [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 10 04:42 README.md [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 04:43 VERSION [2024-09-10T04:45:42.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 04:42 bin [2024-09-10T04:45:42.782Z] -rw-r--r-- 1 jenkins jenkins 127942 Sep 10 04:44 coverage.out [2024-09-10T04:45:42.782Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 04:42 example [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 10 04:42 go.mod [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 101627 Sep 10 04:42 go.sum [2024-09-10T04:45:42.782Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 04:42 internal [2024-09-10T04:45:42.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:42 openapi [2024-09-10T04:45:42.782Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 10 04:42 pkg [2024-09-10T04:45:42.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:42 snap [2024-09-10T04:45:42.782Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:45:43.198Z] + 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=0273bc1903c20c0119abaa3ddf16b67a83272bfa --label arch=amd64 --label version=0.0.0 . [2024-09-10T04:45:43.198Z] Sending build context to Docker daemon 25.44MB [2024-09-10T04:45:43.198Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T04:45:43.198Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-10T04:45:43.198Z] ---> 108536fe094f [2024-09-10T04:45:43.198Z] Step 3/24 : ARG MAKE=make build [2024-09-10T04:45:43.769Z] ---> Running in 22047af54e21 [2024-09-10T04:45:43.769Z] Removing intermediate container 22047af54e21 [2024-09-10T04:45:43.769Z] ---> bd8b0fb9f17b [2024-09-10T04:45:43.769Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-10T04:45:43.769Z] ---> Running in 9893ca508835 [2024-09-10T04:45:44.030Z] Removing intermediate container 9893ca508835 [2024-09-10T04:45:44.030Z] ---> d44c02c59735 [2024-09-10T04:45:44.030Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T04:45:44.030Z] ---> Running in dbbda82cb27e [2024-09-10T04:45:44.300Z] Removing intermediate container dbbda82cb27e [2024-09-10T04:45:44.300Z] ---> bf9af5e21809 [2024-09-10T04:45:44.300Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-10T04:45:44.300Z] ---> Running in 6017d4018f8b [2024-09-10T04:45:44.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T04:45:44.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T04:45:44.824Z] OK: 264 MiB in 52 packages [2024-09-10T04:45:45.394Z] Removing intermediate container 6017d4018f8b [2024-09-10T04:45:45.394Z] ---> 9cc4ae0513df [2024-09-10T04:45:45.394Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-10T04:45:45.394Z] ---> 06ba97f176bf [2024-09-10T04:45:45.394Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T04:45:45.394Z] ---> Running in 2aabf713ea82 [2024-09-10T04:45:45.962Z] Removing intermediate container 2aabf713ea82 [2024-09-10T04:45:45.962Z] ---> 98ac137ebffc [2024-09-10T04:45:45.962Z] Step 9/24 : COPY . . [2024-09-10T04:45:46.917Z] ---> 435e5f0a15ab [2024-09-10T04:45:46.917Z] Step 10/24 : RUN ${MAKE} [2024-09-10T04:45:46.917Z] ---> Running in bfb3d09fe0cf [2024-09-10T04:45:47.178Z] 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-09-10T04:46:25.940Z] Removing intermediate container bfb3d09fe0cf [2024-09-10T04:46:25.940Z] ---> ae33a8c0d3a1 [2024-09-10T04:46:25.940Z] Step 11/24 : FROM alpine:3.18 [2024-09-10T04:46:25.940Z] 3.18: Pulling from library/alpine [2024-09-10T04:46:25.940Z] 1cc3d825d8b2: Pulling fs layer [2024-09-10T04:46:25.940Z] 1cc3d825d8b2: Verifying Checksum [2024-09-10T04:46:25.940Z] 1cc3d825d8b2: Download complete [2024-09-10T04:46:25.940Z] 1cc3d825d8b2: Pull complete [2024-09-10T04:46:25.940Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-10T04:46:25.940Z] Status: Downloaded newer image for alpine:3.18 [2024-09-10T04:46:25.940Z] ---> 2c64cf60f6f0 [2024-09-10T04:46:25.940Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-10T04:46:25.940Z] ---> Running in a7de2e12f35b [2024-09-10T04:46:25.940Z] Removing intermediate container a7de2e12f35b [2024-09-10T04:46:25.940Z] ---> 7aaf3f33230e [2024-09-10T04:46:25.940Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-10T04:46:25.940Z] ---> Running in ee91c056366c [2024-09-10T04:46:25.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T04:46:25.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T04:46:25.940Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-10T04:46:25.940Z] Executing busybox-1.36.1-r7.trigger [2024-09-10T04:46:25.940Z] OK: 7 MiB in 16 packages [2024-09-10T04:46:25.941Z] Removing intermediate container ee91c056366c [2024-09-10T04:46:25.941Z] ---> 58fd1c5522e4 [2024-09-10T04:46:25.941Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-10T04:46:25.941Z] ---> Running in 386dbb01108f [2024-09-10T04:46:25.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T04:46:25.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T04:46:25.941Z] OK: 7 MiB in 16 packages [2024-09-10T04:46:25.941Z] Removing intermediate container 386dbb01108f [2024-09-10T04:46:25.941Z] ---> ae3352d6073c [2024-09-10T04:46:25.941Z] Step 15/24 : WORKDIR / [2024-09-10T04:46:25.941Z] ---> Running in 4e1d798b8e2f [2024-09-10T04:46:25.941Z] Removing intermediate container 4e1d798b8e2f [2024-09-10T04:46:25.941Z] ---> 5cb01939ffee [2024-09-10T04:46:25.941Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-10T04:46:25.941Z] ---> 4f3ec3a68ec6 [2024-09-10T04:46:25.941Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-10T04:46:26.199Z] ---> c9fa0dedb2b2 [2024-09-10T04:46:26.199Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-10T04:46:26.461Z] ---> 0f7a890bd530 [2024-09-10T04:46:26.461Z] Step 19/24 : EXPOSE 59999 [2024-09-10T04:46:26.461Z] ---> Running in 0f75aca07414 [2024-09-10T04:46:26.461Z] Removing intermediate container 0f75aca07414 [2024-09-10T04:46:26.461Z] ---> 988454eac718 [2024-09-10T04:46:26.461Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-10T04:46:26.461Z] ---> Running in f1c9368f5f58 [2024-09-10T04:46:26.721Z] Removing intermediate container f1c9368f5f58 [2024-09-10T04:46:26.721Z] ---> 772ec617b121 [2024-09-10T04:46:26.721Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-10T04:46:26.721Z] ---> Running in 9ad14ed3654d [2024-09-10T04:46:26.721Z] Removing intermediate container 9ad14ed3654d [2024-09-10T04:46:26.721Z] ---> a588b7406ae0 [2024-09-10T04:46:26.721Z] Step 22/24 : LABEL arch=amd64 [2024-09-10T04:46:26.721Z] ---> Running in 31941ebe1f19 [2024-09-10T04:46:26.721Z] Removing intermediate container 31941ebe1f19 [2024-09-10T04:46:26.721Z] ---> b52091064b1e [2024-09-10T04:46:26.721Z] Step 23/24 : LABEL git_sha=0273bc1903c20c0119abaa3ddf16b67a83272bfa [2024-09-10T04:46:26.721Z] ---> Running in 7daf546a5b98 [2024-09-10T04:46:26.979Z] Removing intermediate container 7daf546a5b98 [2024-09-10T04:46:26.979Z] ---> ea2f2f7b0561 [2024-09-10T04:46:26.979Z] Step 24/24 : LABEL version=0.0.0 [2024-09-10T04:46:26.979Z] ---> Running in 8a4bf61f5a29 [2024-09-10T04:46:26.979Z] Removing intermediate container 8a4bf61f5a29 [2024-09-10T04:46:26.979Z] ---> 5c8f53f70982 [2024-09-10T04:46:26.979Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-10T04:46:26.979Z] Successfully built 5c8f53f70982 [2024-09-10T04:46:26.979Z] 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-09-10T04:46:28.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T04:46:28.022Z] [2024-09-10T04:46:28.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:46:28.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T04:46:28.424Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-10T04:46:28.424Z] 5eb5b503b376: Pulling fs layer [2024-09-10T04:46:28.424Z] 5c69ac0246d0: Pulling fs layer [2024-09-10T04:46:28.424Z] ec43610c2a17: Pulling fs layer [2024-09-10T04:46:28.424Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-10T04:46:28.424Z] 33b1e0a273af: Pulling fs layer [2024-09-10T04:46:28.424Z] 5d3b04190fa2: Pulling fs layer [2024-09-10T04:46:28.424Z] 2f39f015ded8: Pulling fs layer [2024-09-10T04:46:28.424Z] 33b1e0a273af: Waiting [2024-09-10T04:46:28.424Z] 5d3b04190fa2: Waiting [2024-09-10T04:46:28.424Z] 2f39f015ded8: Waiting [2024-09-10T04:46:28.424Z] 3a2ae6a8a46f: Waiting [2024-09-10T04:46:28.424Z] 5c69ac0246d0: Download complete [2024-09-10T04:46:28.424Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-10T04:46:28.424Z] 3a2ae6a8a46f: Download complete [2024-09-10T04:46:28.424Z] 33b1e0a273af: Verifying Checksum [2024-09-10T04:46:28.424Z] 33b1e0a273af: Download complete [2024-09-10T04:46:28.424Z] 5d3b04190fa2: Verifying Checksum [2024-09-10T04:46:28.424Z] 5d3b04190fa2: Download complete [2024-09-10T04:46:28.424Z] ec43610c2a17: Verifying Checksum [2024-09-10T04:46:28.424Z] ec43610c2a17: Download complete [2024-09-10T04:46:28.683Z] 5eb5b503b376: Verifying Checksum [2024-09-10T04:46:28.683Z] 5eb5b503b376: Download complete [2024-09-10T04:46:29.249Z] 2f39f015ded8: Verifying Checksum [2024-09-10T04:46:29.249Z] 2f39f015ded8: Download complete [2024-09-10T04:46:29.817Z] 5eb5b503b376: Pull complete [2024-09-10T04:46:30.076Z] 5c69ac0246d0: Pull complete [2024-09-10T04:46:30.334Z] ec43610c2a17: Pull complete [2024-09-10T04:46:30.334Z] 3a2ae6a8a46f: Pull complete [2024-09-10T04:46:30.593Z] 33b1e0a273af: Pull complete [2024-09-10T04:46:30.593Z] 5d3b04190fa2: Pull complete [2024-09-10T04:46:34.790Z] 2f39f015ded8: Pull complete [2024-09-10T04:46:34.790Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-10T04:46:34.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T04:46:34.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:46:35.070Z] prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container [2024-09-10T04:46:35.102Z] $ 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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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-09-10T04:46:38.933Z] $ docker top ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T04:46:39.410Z] ---> job-cost.sh [2024-09-10T04:46:39.410Z] lf-activate-venv: SKIPPING [2024-09-10T04:46:39.410Z] INFO: No Stack... [2024-09-10T04:46:39.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-10T04:46:40.239Z] INFO: Archiving Costs [Pipeline] sh [2024-09-10T04:46:40.568Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/cost.csv [2024-09-10T04:46:40.568Z] + cut -d, -f6 [Pipeline] lock [2024-09-10T04:46:40.624Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [2024-09-10T04:46:40.631Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] did not exist. Created. [2024-09-10T04:46:40.638Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-10T04:46:41.066Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-10T04:46:41.118Z] Stashed 1 file(s) [Pipeline] } [2024-09-10T04:46:41.144Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-10T04:46:41.227Z] $ docker stop --time=1 ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 [2024-09-10T04:46:42.363Z] $ docker rm -f --volumes ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-10T04:47:56.832Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9989 in /w/workspace/gexfoundry_device-sdk-go_PR-1625 [Pipeline] { [Pipeline] ws [2024-09-10T04:47:56.898Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-09-10T04:48:00.018Z] The recommended git tool is: git [2024-09-10T04:48:10.037Z] using credential edgex-jenkins-ssh [2024-09-10T04:48:10.063Z] Cloning the remote Git repository [2024-09-10T04:48:10.153Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-10T04:48:10.261Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-10T04:48:10.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-10T04:48:10.492Z] > git --version # timeout=10 [2024-09-10T04:48:10.527Z] > git --version # 'git version 2.25.1' [2024-09-10T04:48:10.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-10T04:48:10.814Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-10T04:48:14.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-10T04:48:14.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-10T04:48:16.594Z] Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 0273bc1903c20c0119abaa3ddf16b67a83272bfa [2024-09-10T04:48:16.956Z] Merge succeeded, producing 0273bc1903c20c0119abaa3ddf16b67a83272bfa [2024-09-10T04:48:16.957Z] Checking out Revision 0273bc1903c20c0119abaa3ddf16b67a83272bfa (PR-1625) [2024-09-10T04:48:15.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-10T04:48:15.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-10T04:48:15.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-10T04:48:16.006Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1625/head:refs/remotes/origin/PR-1625 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-10T04:48:16.615Z] > git config core.sparsecheckout # timeout=10 [2024-09-10T04:48:16.706Z] > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 [2024-09-10T04:48:16.842Z] > git remote # timeout=10 [2024-09-10T04:48:16.863Z] > git config --get remote.origin.url # timeout=10 [2024-09-10T04:48:16.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-10T04:48:16.902Z] > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [2024-09-10T04:48:16.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-10T04:48:16.963Z] > git config core.sparsecheckout # timeout=10 [2024-09-10T04:48:16.979Z] > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 [2024-09-10T04:48:17.828Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-09-10T04:48:17.892Z] > git --version # timeout=10 [2024-09-10T04:48:17.904Z] > git --version # 'git version 2.25.1' [2024-09-10T04:48:17.920Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T04:48:22.894Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-10T04:48:22.894Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-10T04:48:22.894Z] Dload Upload Total Spent Left Speed [2024-09-10T04:48:22.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2024-09-10T04:48:23.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-10T04:48:23.611Z] + sudo tee /etc/docker/daemon.new [2024-09-10T04:48:23.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-10T04:48:23.612Z] { [2024-09-10T04:48:23.612Z] "registry-mirrors": [ [2024-09-10T04:48:23.612Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-10T04:48:23.612Z] ], [2024-09-10T04:48:23.612Z] "bip": "10.250.0.254/24", [2024-09-10T04:48:23.612Z] "hosts": [ [2024-09-10T04:48:23.612Z] "tcp://0.0.0.0:5555", [2024-09-10T04:48:23.612Z] "unix:///var/run/docker.sock" [2024-09-10T04:48:23.612Z] ], [2024-09-10T04:48:23.612Z] "mtu": 1458, [2024-09-10T04:48:23.612Z] "selinux-enabled": true, [2024-09-10T04:48:23.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-10T04:48:23.612Z] } [Pipeline] sh [2024-09-10T04:48:23.985Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-10T04:48:24.379Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T04:48:42.774Z] provisioning config files... [2024-09-10T04:48:42.806Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10989568138106849440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T04:48:43.306Z] ---> ****-login.sh [2024-09-10T04:48:43.306Z] nexus3.edgexfoundry.org:10001 [2024-09-10T04:48:43.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:48:43.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:48:43.898Z] Configure a credential helper to remove this warning. See [2024-09-10T04:48:43.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:48:43.898Z] [2024-09-10T04:48:43.898Z] Login Succeeded [2024-09-10T04:48:43.898Z] nexus3.edgexfoundry.org:10002 [2024-09-10T04:48:44.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:48:44.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:48:44.442Z] Configure a credential helper to remove this warning. See [2024-09-10T04:48:44.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:48:44.442Z] [2024-09-10T04:48:44.442Z] Login Succeeded [2024-09-10T04:48:44.442Z] nexus3.edgexfoundry.org:10003 [2024-09-10T04:48:44.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:48:44.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:48:44.718Z] Configure a credential helper to remove this warning. See [2024-09-10T04:48:44.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:48:44.718Z] [2024-09-10T04:48:44.719Z] Login Succeeded [2024-09-10T04:48:44.719Z] nexus3.edgexfoundry.org:10004 [2024-09-10T04:48:44.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:48:45.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:48:45.260Z] Configure a credential helper to remove this warning. See [2024-09-10T04:48:45.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:48:45.260Z] [2024-09-10T04:48:45.261Z] Login Succeeded [2024-09-10T04:48:45.261Z] ****.io [2024-09-10T04:48:45.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T04:48:45.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T04:48:45.794Z] Configure a credential helper to remove this warning. See [2024-09-10T04:48:45.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T04:48:45.794Z] [2024-09-10T04:48:45.794Z] Login Succeeded [2024-09-10T04:48:45.794Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T04:48:45.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-10T04:48:46.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T04:48:46.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T04:48:46.470Z] ========================================================= [2024-09-10T04:48:46.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-10T04:48:46.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:48:47.026Z] + 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-09-10T04:48:47.617Z] Sending build context to Docker daemon 13.11MB [2024-09-10T04:48:47.617Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T04:48:47.617Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-10T04:48:47.891Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-10T04:48:47.891Z] c6b39de5b339: Pulling fs layer [2024-09-10T04:48:47.891Z] a69c41024577: Pulling fs layer [2024-09-10T04:48:47.891Z] d6de4b400683: Pulling fs layer [2024-09-10T04:48:47.891Z] 35cb2a7552d0: Pulling fs layer [2024-09-10T04:48:47.891Z] 4f4fb700ef54: Pulling fs layer [2024-09-10T04:48:47.891Z] 464afbd9ba4c: Pulling fs layer [2024-09-10T04:48:47.891Z] 00f215d4a9da: Pulling fs layer [2024-09-10T04:48:47.891Z] d496ad576159: Pulling fs layer [2024-09-10T04:48:47.891Z] 35cb2a7552d0: Waiting [2024-09-10T04:48:47.891Z] 4f4fb700ef54: Waiting [2024-09-10T04:48:47.891Z] 464afbd9ba4c: Waiting [2024-09-10T04:48:47.891Z] 00f215d4a9da: Waiting [2024-09-10T04:48:47.891Z] d496ad576159: Waiting [2024-09-10T04:48:47.891Z] a69c41024577: Verifying Checksum [2024-09-10T04:48:47.891Z] a69c41024577: Download complete [2024-09-10T04:48:47.891Z] 35cb2a7552d0: Verifying Checksum [2024-09-10T04:48:47.891Z] 35cb2a7552d0: Download complete [2024-09-10T04:48:47.891Z] 4f4fb700ef54: Verifying Checksum [2024-09-10T04:48:47.891Z] 4f4fb700ef54: Download complete [2024-09-10T04:48:47.891Z] c6b39de5b339: Verifying Checksum [2024-09-10T04:48:47.891Z] c6b39de5b339: Download complete [2024-09-10T04:48:47.891Z] 464afbd9ba4c: Verifying Checksum [2024-09-10T04:48:47.891Z] 464afbd9ba4c: Download complete [2024-09-10T04:48:48.162Z] d496ad576159: Verifying Checksum [2024-09-10T04:48:48.162Z] d496ad576159: Download complete [2024-09-10T04:48:49.149Z] c6b39de5b339: Pull complete [2024-09-10T04:48:49.747Z] a69c41024577: Pull complete [2024-09-10T04:48:49.747Z] d6de4b400683: Verifying Checksum [2024-09-10T04:48:49.747Z] d6de4b400683: Download complete [2024-09-10T04:48:51.166Z] 00f215d4a9da: Verifying Checksum [2024-09-10T04:48:51.166Z] 00f215d4a9da: Download complete [2024-09-10T04:49:03.523Z] d6de4b400683: Pull complete [2024-09-10T04:49:03.523Z] 35cb2a7552d0: Pull complete [2024-09-10T04:49:03.523Z] 4f4fb700ef54: Pull complete [2024-09-10T04:49:03.523Z] 464afbd9ba4c: Pull complete [2024-09-10T04:49:13.646Z] 00f215d4a9da: Pull complete [2024-09-10T04:49:14.619Z] d496ad576159: Pull complete [2024-09-10T04:49:14.620Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-10T04:49:14.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-10T04:49:14.620Z] ---> f246e2811388 [2024-09-10T04:49:14.620Z] Step 3/10 : ARG MAKE=make build [2024-09-10T04:49:16.574Z] ---> Running in f63040a0c309 [2024-09-10T04:49:17.166Z] Removing intermediate container f63040a0c309 [2024-09-10T04:49:17.166Z] ---> 5e7a6f8413a6 [2024-09-10T04:49:17.166Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-10T04:49:17.166Z] ---> Running in ad4e34af4fca [2024-09-10T04:49:18.583Z] Removing intermediate container ad4e34af4fca [2024-09-10T04:49:18.583Z] ---> ad5cccf508b1 [2024-09-10T04:49:18.583Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T04:49:18.583Z] ---> Running in 61a4bb5d206d [2024-09-10T04:49:18.856Z] Removing intermediate container 61a4bb5d206d [2024-09-10T04:49:18.856Z] ---> 4d65cb562228 [2024-09-10T04:49:18.856Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-10T04:49:18.856Z] ---> Running in 6105eeef566d [2024-09-10T04:49:20.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T04:49:20.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T04:49:21.521Z] OK: 266 MiB in 52 packages [2024-09-10T04:49:22.489Z] Removing intermediate container 6105eeef566d [2024-09-10T04:49:22.489Z] ---> ddfd94071705 [2024-09-10T04:49:22.489Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-10T04:49:23.077Z] ---> f04c984ac948 [2024-09-10T04:49:23.077Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T04:49:23.077Z] ---> Running in 41d10038ef48 [2024-09-10T04:51:14.779Z] Removing intermediate container 41d10038ef48 [2024-09-10T04:51:14.779Z] ---> a3edd4a5cca0 [2024-09-10T04:51:14.779Z] Step 9/10 : COPY . . [2024-09-10T04:51:15.374Z] ---> 55a8447a395d [2024-09-10T04:51:15.374Z] Step 10/10 : RUN ${MAKE} [2024-09-10T04:51:15.374Z] ---> Running in f472fc186f9a [2024-09-10T04:51:16.792Z] noop [2024-09-10T04:51:17.379Z] Removing intermediate container f472fc186f9a [2024-09-10T04:51:17.379Z] ---> b278b23cf78f [2024-09-10T04:51:17.379Z] Successfully built b278b23cf78f [2024-09-10T04:51:17.379Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:51:17.915Z] + docker inspect -f . ci-base-image-arm64 [2024-09-10T04:51:17.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:51:18.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container [2024-09-10T04:51:18.313Z] $ 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-09-10T04:51:19.587Z] $ docker top 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T04:51:20.723Z] + go version [2024-09-10T04:51:20.723Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-10T04:51:20.762Z] $ docker stop --time=1 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 [2024-09-10T04:51:22.418Z] $ docker rm -f --volumes 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T04:51:23.524Z] + docker inspect -f . ci-base-image-arm64 [2024-09-10T04:51:23.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T04:51:23.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container [2024-09-10T04:51:23.895Z] $ 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-09-10T04:51:25.195Z] $ docker top f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T04:51:26.277Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-10T04:51:27.061Z] + make test [2024-09-10T04:51:27.061Z] go test -race -coverprofile=coverage.out ./... [2024-09-10T04:52:13.998Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-10T04:55:50.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-10T04:55:50.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-10T04:55:50.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-10T04:55:50.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-10T04:55:50.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-10T04:55:56.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.125s coverage: 26.0% of statements [2024-09-10T04:56:01.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.170s coverage: 79.4% of statements [2024-09-10T04:56:08.175Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-10T04:56:08.175Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-10T04:56:09.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.277s coverage: 86.0% of statements [2024-09-10T04:56:13.403Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-10T04:56:14.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.638s coverage: 45.2% of statements [2024-09-10T04:56:19.057Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.144s coverage: 14.4% of statements [2024-09-10T04:56:19.328Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.944s coverage: 44.6% of statements [2024-09-10T04:56:19.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-10T04:56:19.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-10T04:56:19.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-10T04:56:21.342Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.305s coverage: 68.5% of statements [2024-09-10T04:56:25.616Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.377s coverage: 89.2% of statements [2024-09-10T04:56:28.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-10T04:56:29.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.252s coverage: 5.3% of statements [2024-09-10T04:56:30.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-10T04:56:30.567Z] GO111MODULE=on go vet ./... [2024-09-10T05:00:23.315Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-10T05:00:23.315Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-10T05:00:23.315Z] ./bin/test-attribution-txt.sh [2024-09-10T05:00:23.315Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-09-10T05:00:23.315Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-10T05:00:23.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-10T05:00:23.417Z] $ docker stop --time=1 f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 [2024-09-10T05:00:25.310Z] $ docker rm -f --volumes f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T05:00:27.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-10T05:00:27.699Z] Warning: overwriting stash ‘coverage-report’ [2024-09-10T05:00:28.249Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T05:00:28.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-10T05:00:29.238Z] + ls -al . [2024-09-10T05:00:29.238Z] total 380 [2024-09-10T05:00:29.238Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 04:51 . [2024-09-10T05:00:29.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:48 .. [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 04:48 .dockerignore [2024-09-10T05:00:29.238Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 04:48 .git [2024-09-10T05:00:29.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:48 .github [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 10 04:48 .gitignore [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 10 04:48 .golangci.yml [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 10 04:48 CHANGELOG.md [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 04:48 GOVERNANCE.md [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 10 04:48 Jenkinsfile [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 04:48 LICENSE [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 10 04:48 Makefile [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 10 04:48 OWNERS.md [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 10 04:48 README.md [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 04:43 VERSION [2024-09-10T05:00:29.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 04:48 bin [2024-09-10T05:00:29.238Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 10 04:56 coverage.out [2024-09-10T05:00:29.238Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 04:48 example [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 10 04:48 go.mod [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 101627 Sep 10 04:48 go.sum [2024-09-10T05:00:29.238Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 04:48 internal [2024-09-10T05:00:29.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:48 openapi [2024-09-10T05:00:29.238Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 10 04:48 pkg [2024-09-10T05:00:29.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:48 snap [2024-09-10T05:00:29.238Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T05:00:29.684Z] + 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=0273bc1903c20c0119abaa3ddf16b67a83272bfa --label arch=arm64 --label version=0.0.0 . [2024-09-10T05:00:30.264Z] Sending build context to Docker daemon 13.24MB [2024-09-10T05:00:30.264Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T05:00:30.264Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-10T05:00:30.264Z] ---> b278b23cf78f [2024-09-10T05:00:30.264Z] Step 3/24 : ARG MAKE=make build [2024-09-10T05:00:30.264Z] ---> Running in 0c4f829a1913 [2024-09-10T05:00:30.842Z] Removing intermediate container 0c4f829a1913 [2024-09-10T05:00:30.842Z] ---> 54476d9f0ba3 [2024-09-10T05:00:30.842Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-10T05:00:30.842Z] ---> Running in fec17ee35eb8 [2024-09-10T05:00:31.109Z] Removing intermediate container fec17ee35eb8 [2024-09-10T05:00:31.109Z] ---> 672a11c4ee7c [2024-09-10T05:00:31.109Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T05:00:31.109Z] ---> Running in 7fa26ff0d88d [2024-09-10T05:00:31.375Z] Removing intermediate container 7fa26ff0d88d [2024-09-10T05:00:31.376Z] ---> 59570ac2f687 [2024-09-10T05:00:31.376Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-10T05:00:31.376Z] ---> Running in ec308a08344e [2024-09-10T05:00:32.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T05:00:32.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T05:00:33.877Z] OK: 266 MiB in 52 packages [2024-09-10T05:00:34.840Z] Removing intermediate container ec308a08344e [2024-09-10T05:00:34.840Z] ---> 3917e1e053ae [2024-09-10T05:00:34.840Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-10T05:00:35.107Z] ---> 74cc17142ed8 [2024-09-10T05:00:35.107Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T05:00:35.107Z] ---> Running in 425b1c5e1075 [2024-09-10T05:00:37.680Z] Removing intermediate container 425b1c5e1075 [2024-09-10T05:00:37.680Z] ---> 19125e6d96df [2024-09-10T05:00:37.680Z] Step 9/24 : COPY . . [2024-09-10T05:00:39.623Z] ---> 9ec951b50778 [2024-09-10T05:00:39.623Z] Step 10/24 : RUN ${MAKE} [2024-09-10T05:00:39.623Z] ---> Running in 35e1865b0a83 [2024-09-10T05:00:40.583Z] 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-09-10T05:04:05.759Z] Removing intermediate container 35e1865b0a83 [2024-09-10T05:04:05.759Z] ---> 7992640cc0ba [2024-09-10T05:04:05.759Z] Step 11/24 : FROM alpine:3.18 [2024-09-10T05:04:05.759Z] 3.18: Pulling from library/alpine [2024-09-10T05:04:05.759Z] 720f3032cd11: Pulling fs layer [2024-09-10T05:04:05.759Z] 720f3032cd11: Verifying Checksum [2024-09-10T05:04:05.759Z] 720f3032cd11: Download complete [2024-09-10T05:04:05.759Z] 720f3032cd11: Pull complete [2024-09-10T05:04:05.759Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-10T05:04:05.759Z] Status: Downloaded newer image for alpine:3.18 [2024-09-10T05:04:05.759Z] ---> 3e834921e367 [2024-09-10T05:04:05.759Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-10T05:04:05.759Z] ---> Running in df83d3ca2675 [2024-09-10T05:04:05.759Z] Removing intermediate container df83d3ca2675 [2024-09-10T05:04:05.759Z] ---> 80fb65c8209a [2024-09-10T05:04:05.759Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-10T05:04:05.759Z] ---> Running in 84f22dd3bc5f [2024-09-10T05:04:05.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T05:04:05.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T05:04:05.759Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-10T05:04:05.759Z] Executing busybox-1.36.1-r7.trigger [2024-09-10T05:04:05.759Z] OK: 8 MiB in 16 packages [2024-09-10T05:04:05.759Z] Removing intermediate container 84f22dd3bc5f [2024-09-10T05:04:05.759Z] ---> c6f4b2f131be [2024-09-10T05:04:05.759Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-10T05:04:05.759Z] ---> Running in 99a386535071 [2024-09-10T05:04:05.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T05:04:05.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T05:04:05.759Z] OK: 8 MiB in 16 packages [2024-09-10T05:04:05.759Z] Removing intermediate container 99a386535071 [2024-09-10T05:04:05.759Z] ---> b0888cb9681a [2024-09-10T05:04:05.759Z] Step 15/24 : WORKDIR / [2024-09-10T05:04:05.759Z] ---> Running in aa0e819f8964 [2024-09-10T05:04:05.759Z] Removing intermediate container aa0e819f8964 [2024-09-10T05:04:05.759Z] ---> 59d9bb78889c [2024-09-10T05:04:05.759Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-10T05:04:05.759Z] ---> 4cca23cdafd1 [2024-09-10T05:04:05.759Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-10T05:04:07.768Z] ---> 8f2946c27da0 [2024-09-10T05:04:07.768Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-10T05:04:08.377Z] ---> 6ae6996e3565 [2024-09-10T05:04:08.377Z] Step 19/24 : EXPOSE 59999 [2024-09-10T05:04:08.377Z] ---> Running in f5406f349558 [2024-09-10T05:04:08.655Z] Removing intermediate container f5406f349558 [2024-09-10T05:04:08.655Z] ---> 2c0647342a64 [2024-09-10T05:04:08.655Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-10T05:04:08.943Z] ---> Running in aa7e7a877360 [2024-09-10T05:04:09.219Z] Removing intermediate container aa7e7a877360 [2024-09-10T05:04:09.219Z] ---> a204fc66d92d [2024-09-10T05:04:09.219Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-10T05:04:09.219Z] ---> Running in ef58694f45b5 [2024-09-10T05:04:09.496Z] Removing intermediate container ef58694f45b5 [2024-09-10T05:04:09.496Z] ---> 33e67598b52a [2024-09-10T05:04:09.496Z] Step 22/24 : LABEL arch=arm64 [2024-09-10T05:04:09.496Z] ---> Running in a0f967863f56 [2024-09-10T05:04:09.763Z] Removing intermediate container a0f967863f56 [2024-09-10T05:04:09.763Z] ---> 8b3021781974 [2024-09-10T05:04:09.763Z] Step 23/24 : LABEL git_sha=0273bc1903c20c0119abaa3ddf16b67a83272bfa [2024-09-10T05:04:09.763Z] ---> Running in d6dd6023236f [2024-09-10T05:04:10.030Z] Removing intermediate container d6dd6023236f [2024-09-10T05:04:10.030Z] ---> 14b7e4c057a9 [2024-09-10T05:04:10.030Z] Step 24/24 : LABEL version=0.0.0 [2024-09-10T05:04:10.307Z] ---> Running in 60b342ccfed3 [2024-09-10T05:04:10.571Z] Removing intermediate container 60b342ccfed3 [2024-09-10T05:04:10.571Z] ---> 9f2e538b286b [2024-09-10T05:04:10.571Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-10T05:04:10.571Z] Successfully built 9f2e538b286b [2024-09-10T05:04:10.571Z] 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-09-10T05:04:11.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T05:04:11.541Z] [2024-09-10T05:04:11.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T05:04:11.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T05:04:11.973Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-10T05:04:11.973Z] 8998bd30e6a1: Pulling fs layer [2024-09-10T05:04:11.973Z] 04944245beec: Pulling fs layer [2024-09-10T05:04:11.973Z] 699f458cf7ca: Pulling fs layer [2024-09-10T05:04:11.973Z] 765212b225bb: Pulling fs layer [2024-09-10T05:04:11.973Z] f23df028b6ca: Pulling fs layer [2024-09-10T05:04:11.973Z] d65c8cfc05b1: Pulling fs layer [2024-09-10T05:04:11.973Z] 2437ff75d9bd: Pulling fs layer [2024-09-10T05:04:11.973Z] f23df028b6ca: Waiting [2024-09-10T05:04:11.973Z] 2437ff75d9bd: Waiting [2024-09-10T05:04:11.973Z] 765212b225bb: Waiting [2024-09-10T05:04:11.973Z] d65c8cfc05b1: Waiting [2024-09-10T05:04:12.239Z] 04944245beec: Verifying Checksum [2024-09-10T05:04:12.239Z] 04944245beec: Download complete [2024-09-10T05:04:12.239Z] 765212b225bb: Verifying Checksum [2024-09-10T05:04:12.239Z] 765212b225bb: Download complete [2024-09-10T05:04:12.239Z] f23df028b6ca: Verifying Checksum [2024-09-10T05:04:12.239Z] f23df028b6ca: Download complete [2024-09-10T05:04:12.239Z] d65c8cfc05b1: Verifying Checksum [2024-09-10T05:04:12.239Z] d65c8cfc05b1: Download complete [2024-09-10T05:04:12.239Z] 699f458cf7ca: Verifying Checksum [2024-09-10T05:04:12.239Z] 699f458cf7ca: Download complete [2024-09-10T05:04:12.820Z] 8998bd30e6a1: Verifying Checksum [2024-09-10T05:04:12.820Z] 8998bd30e6a1: Download complete [2024-09-10T05:04:15.395Z] 2437ff75d9bd: Verifying Checksum [2024-09-10T05:04:15.395Z] 2437ff75d9bd: Download complete [2024-09-10T05:04:17.339Z] 8998bd30e6a1: Pull complete [2024-09-10T05:04:17.605Z] 04944245beec: Pull complete [2024-09-10T05:04:19.015Z] 699f458cf7ca: Pull complete [2024-09-10T05:04:19.281Z] 765212b225bb: Pull complete [2024-09-10T05:04:20.240Z] f23df028b6ca: Pull complete [2024-09-10T05:04:20.505Z] d65c8cfc05b1: Pull complete [2024-09-10T05:04:38.710Z] 2437ff75d9bd: Pull complete [2024-09-10T05:04:38.710Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-10T05:04:38.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T05:04:38.710Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T05:04:39.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container [2024-09-10T05:04:39.124Z] $ 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-09-10T05:04:41.763Z] $ docker top 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:42.665Z] ---> job-cost.sh [2024-09-10T05:04:42.665Z] lf-activate-venv: SKIPPING [2024-09-10T05:04:42.665Z] INFO: No Stack... [2024-09-10T05:04:42.929Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-10T05:04:43.884Z] INFO: Archiving Costs [Pipeline] sh [2024-09-10T05:04:44.250Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-09-10T05:04:44.250Z] + cut -d, -f6 [Pipeline] lock [2024-09-10T05:04:44.341Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [2024-09-10T05:04:44.350Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] did not exist. Created. [2024-09-10T05:04:44.357Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-10T05:04:44.781Z] /w/workspace/device-sdk-go/1@tmp/durable-c46953d7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-10T05:04:45.128Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-10T05:04:45.171Z] Warning: overwriting stash ‘stack-cost’ [2024-09-10T05:04:45.247Z] Stashed 1 file(s) [Pipeline] } [2024-09-10T05:04:45.277Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-10T05:04:45.366Z] $ docker stop --time=1 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 [2024-09-10T05:04:46.803Z] $ docker rm -f --volumes 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 [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-09-10T05:04:48.049Z] provisioning config files... [2024-09-10T05:04:48.057Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config13439795146936691494tmp [Pipeline] { [Pipeline] sh [2024-09-10T05:04:48.412Z] + set +x [2024-09-10T05:04:48.412Z] + + bash -s -- [2024-09-10T05:04:48.412Z] curl -s https://codecov.io/bash [2024-09-10T05:04:48.412Z] [2024-09-10T05:04:48.412Z] _____ _ [2024-09-10T05:04:48.412Z] / ____| | | [2024-09-10T05:04:48.412Z] | | ___ __| | ___ ___ _____ __ [2024-09-10T05:04:48.412Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-10T05:04:48.412Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-10T05:04:48.412Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-10T05:04:48.412Z] Bash-1.0.6 [2024-09-10T05:04:48.412Z] [2024-09-10T05:04:48.413Z] [2024-09-10T05:04:48.413Z] ==> git version 2.25.1 found [2024-09-10T05:04:48.413Z] ==> 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-09-10T05:04:48.413Z] Release-Date: 2020-01-08 [2024-09-10T05:04:48.413Z] 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-09-10T05:04:48.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-10T05:04:48.413Z] ==> Jenkins CI detected. [2024-09-10T05:04:48.413Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1625 [2024-09-10T05:04:48.413Z] project root: . [2024-09-10T05:04:48.413Z] --> token set from env [2024-09-10T05:04:48.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-10T05:04:48.413Z] ==> Running gcov in . (disable via -X gcov) [2024-09-10T05:04:48.413Z] ==> Python coveragepy not found [2024-09-10T05:04:48.413Z] ==> Searching for coverage reports in: [2024-09-10T05:04:48.413Z] + . [2024-09-10T05:04:48.413Z] -> Found 1 reports [2024-09-10T05:04:48.413Z] ==> Detecting git/mercurial file structure [2024-09-10T05:04:48.413Z] ==> Reading reports [2024-09-10T05:04:48.671Z] + ./coverage.out bytes=127940 [2024-09-10T05:04:48.671Z] ==> Appending adjustments [2024-09-10T05:04:48.671Z] https://docs.codecov.io/docs/fixing-reports [2024-09-10T05:04:48.930Z] + Found adjustments [2024-09-10T05:04:48.930Z] ==> Gzipping contents [2024-09-10T05:04:48.930Z] 20K /tmp/codecov.MaruSj.gz [2024-09-10T05:04:48.930Z] ==> Uploading reports [2024-09-10T05:04:48.930Z] url: https://codecov.io [2024-09-10T05:04:48.930Z] query: branch=PR-1625&commit=0273bc1903c20c0119abaa3ddf16b67a83272bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1625&job=&cmd_args= [2024-09-10T05:04:48.930Z] -> Pinging Codecov [2024-09-10T05:04:48.930Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1625&commit=0273bc1903c20c0119abaa3ddf16b67a83272bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1625&job=&cmd_args= [2024-09-10T05:04:48.930Z] -> Uploading to [2024-09-10T05:04:48.931Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-10/7E55EF52A471D76F132DFD9A03CDDE97/0273bc1903c20c0119abaa3ddf16b67a83272bfa/66869ba8-8e63-4d89-93da-d18ce39961a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240910%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240910T050448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71e23e30e7eb5420636b796787063ca55f2faa7eb7776863a557e8abd67dae9d [2024-09-10T05:04:48.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-10T05:04:48.931Z] Dload Upload Total Spent Left Speed [2024-09-10T05:04:49.190Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 76480 --:--:-- --:--:-- --:--:-- 76480 [2024-09-10T05:04:49.190Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] } [2024-09-10T05:04:49.225Z] 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-09-10T05:04:51.636Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives ] [2024-09-10T05:04:51.636Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives [2024-09-10T05:04:51.636Z] total 16 [2024-09-10T05:04:51.636Z] drwxr-xr-x 3 root root 4096 Sep 10 04:46 . [2024-09-10T05:04:51.636Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 10 04:46 .. [2024-09-10T05:04:51.636Z] drwxr-xr-x 2 root root 4096 Sep 10 04:46 cost [2024-09-10T05:04:51.636Z] -rw-r--r-- 1 root root 86 Sep 10 04:46 cost.csv [2024-09-10T05:04:51.636Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives [2024-09-10T05:04:51.636Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives [2024-09-10T05:04:51.636Z] total 16 [2024-09-10T05:04:51.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 04:46 . [2024-09-10T05:04:51.636Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 10 04:46 .. [2024-09-10T05:04:51.636Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 10 04:46 cost [2024-09-10T05:04:51.636Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 10 04:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:51.982Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:52.886Z] ---> package-listing.sh [2024-09-10T05:04:52.886Z] ++ facter osfamily [2024-09-10T05:04:52.886Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-10T05:04:53.145Z] + OS_FAMILY=debian [2024-09-10T05:04:53.145Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1625 [2024-09-10T05:04:53.145Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-10T05:04:53.145Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-10T05:04:53.145Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-10T05:04:53.145Z] + PACKAGES=/tmp/packages_start.txt [2024-09-10T05:04:53.145Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1625 ']' [2024-09-10T05:04:53.145Z] + PACKAGES=/tmp/packages_end.txt [2024-09-10T05:04:53.145Z] + case "${OS_FAMILY}" in [2024-09-10T05:04:53.145Z] + dpkg -l [2024-09-10T05:04:53.145Z] + grep '^ii' [2024-09-10T05:04:53.145Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-10T05:04:53.145Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-10T05:04:53.145Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-10T05:04:53.145Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1625 ']' [2024-09-10T05:04:53.145Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/ [2024-09-10T05:04:53.145Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/ [Pipeline] echo [2024-09-10T05:04:53.183Z] 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-1625/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-10T05:04:53.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T05:04:54.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T05:04:54.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T05:04:54.301Z] prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container [2024-09-10T05:04:54.325Z] $ 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-1625/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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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-09-10T05:04:54.517Z] $ docker top e756062f9b71bf0e11b3e8ef842d8ef2bcf180f314a89b3204252b2d68bb2b4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T05:04:54.925Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-10T05:04:55.267Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-10T05:04:55.593Z] + ls /var/log/sa-host [2024-09-10T05:04:55.593Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T05:04:55.850Z] provisioning config files... [2024-09-10T05:04:55.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config8371832667883631490tmp [Pipeline] { [Pipeline] echo [2024-09-10T05:04:55.932Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:56.377Z] ---> create-netrc.sh [Pipeline] } [2024-09-10T05:04:56.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:56.899Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-10T05:04:56.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:57.275Z] ---> sudo-logs.sh [2024-09-10T05:04:57.275Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-10T05:04:57.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:57.726Z] ---> job-cost.sh [2024-09-10T05:04:57.726Z] lf-activate-venv: SKIPPING [2024-09-10T05:04:57.726Z] DEBUG: total: 0.2199999988079071 [2024-09-10T05:04:57.726Z] INFO: Retrieving Stack Cost... [2024-09-10T05:04:58.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-10T05:04:58.554Z] INFO: Archiving Costs [Pipeline] echo [2024-09-10T05:04:58.613Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T05:04:58.940Z] ---> logs-deploy.sh [2024-09-10T05:04:58.940Z] lf-activate-venv: SKIPPING [2024-09-10T05:04:58.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1625/1 [2024-09-10T05:04:58.940Z] INFO: archiving workspace using pattern(s): [2024-09-10T05:04:59.877Z] Archives upload complete. [2024-09-10T05:04:59.877Z] INFO: archiving logs to Nexus