Pull request #1617 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccbd45599170da3a7bfb27c29c06e0c34a54473e+a573d62abfd76acfce2b94ed3564a5c4c2542b9a (e766865d11690222a0b52cf740cf8b66ebc05f16) 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-ssh13343075391550663332.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-ssh8743708355516445490.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-1617/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-1617/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11768445853678565851.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-1617/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7562623970175046296.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-ssh6893997956618860824.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-1617/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-1617/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18415936769889518145.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 Running on prd-ubuntu20.04-docker-8c-8g-8759 in /w/workspace/gexfoundry_device-sdk-go_PR-1617 [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-1617 # 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/1617/head:refs/remotes/origin/PR-1617 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit ccbd45599170da3a7bfb27c29c06e0c34a54473e Merge succeeded, producing ccbd45599170da3a7bfb27c29c06e0c34a54473e Checking out Revision ccbd45599170da3a7bfb27c29c06e0c34a54473e (PR-1617) 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 ccbd45599170da3a7bfb27c29c06e0c34a54473e # 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 a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccbd45599170da3a7bfb27c29c06e0c34a54473e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-27T04:47:35.557Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-27T04:47:35.779Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-27T04:47:35.908Z] ========================================================= [2024-08-27T04:47:35.908Z] EdgeX Global Pipelines Version Info [2024-08-27T04:47:35.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-27T04:47:36.682Z] ------------------- [2024-08-27T04:47:36.682Z] stable info: [2024-08-27T04:47:36.682Z] ------------------- [2024-08-27T04:47:36.682Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T04:47:36.682Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T04:47:36.682Z] Message: update stable to v1.0.263 [2024-08-27T04:47:37.263Z] ------------------- [2024-08-27T04:47:37.263Z] experimental info: [2024-08-27T04:47:37.263Z] ------------------- [2024-08-27T04:47:37.263Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T04:47:37.263Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T04:47:37.263Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-27T04:47:37.489Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-27T04:47:37.545Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-27T04:47:37.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-27T04:47:37.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-27T04:47:37.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-27T04:47:37.771Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-27T04:47:37.837Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-27T04:47:37.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-27T04:47:37.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-27T04:47:38.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-27T04:47:38.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-27T04:47:38.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-27T04:47:38.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-27T04:47:38.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-27T04:47:38.332Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-27T04:47:38.395Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T04:47:38.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T04:47:38.519Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T04:47:38.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-27T04:47:38.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-27T04:47:38.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-27T04:47:38.769Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-27T04:47:38.830Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-27T04:47:38.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-27T04:47:38.952Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-27T04:47:39.007Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-27T04:47:39.068Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-27T04:47:39.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1617 [Pipeline] echo [2024-08-27T04:47:39.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1617 [Pipeline] echo [2024-08-27T04:47:39.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1617 [Pipeline] echo [2024-08-27T04:47:39.304Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccbd45599170da3a7bfb27c29c06e0c34a54473e [Pipeline] echo [2024-08-27T04:47:39.367Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccbd455 [Pipeline] echo [2024-08-27T04:47:39.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T04:47:39.589Z] provisioning config files... [2024-08-27T04:47:39.606Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/config17474976034328057943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T04:47:40.052Z] ---> ****-login.sh [2024-08-27T04:47:40.052Z] nexus3.edgexfoundry.org:10001 [2024-08-27T04:47:40.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:47:40.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:47:40.313Z] Configure a credential helper to remove this warning. See [2024-08-27T04:47:40.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:47:40.313Z] [2024-08-27T04:47:40.313Z] Login Succeeded [2024-08-27T04:47:40.313Z] nexus3.edgexfoundry.org:10002 [2024-08-27T04:47:40.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:47:40.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:47:40.578Z] Configure a credential helper to remove this warning. See [2024-08-27T04:47:40.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:47:40.579Z] [2024-08-27T04:47:40.579Z] Login Succeeded [2024-08-27T04:47:40.579Z] nexus3.edgexfoundry.org:10003 [2024-08-27T04:47:40.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:47:40.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:47:40.579Z] Configure a credential helper to remove this warning. See [2024-08-27T04:47:40.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:47:40.579Z] [2024-08-27T04:47:40.579Z] Login Succeeded [2024-08-27T04:47:40.579Z] nexus3.edgexfoundry.org:10004 [2024-08-27T04:47:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:47:40.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:47:40.841Z] Configure a credential helper to remove this warning. See [2024-08-27T04:47:40.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:47:40.841Z] [2024-08-27T04:47:40.841Z] Login Succeeded [2024-08-27T04:47:40.841Z] ****.io [2024-08-27T04:47:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:47:41.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:47:41.102Z] Configure a credential helper to remove this warning. See [2024-08-27T04:47:41.102Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:47:41.102Z] [2024-08-27T04:47:41.102Z] Login Succeeded [2024-08-27T04:47:41.102Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T04:47:41.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-27T04:47:41.847Z] + git rev-list -1 --merges ccbd45599170da3a7bfb27c29c06e0c34a54473e~1..ccbd45599170da3a7bfb27c29c06e0c34a54473e [Pipeline] echo [2024-08-27T04:47:41.902Z] -----------> git rev-list -1 --merges ccbd45599170da3a7bfb27c29c06e0c34a54473e~1..ccbd45599170da3a7bfb27c29c06e0c34a54473e ccbd45599170da3a7bfb27c29c06e0c34a54473e [false] [Pipeline] sh [2024-08-27T04:47:42.224Z] + git log --format=format:%s -1 ccbd45599170da3a7bfb27c29c06e0c34a54473e [Pipeline] echo [2024-08-27T04:47:42.267Z] ========================================================= [2024-08-27T04:47:42.267Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-27T04:47:42.267Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T04:47:42.740Z] + git log --format=format:%s -1 ccbd45599170da3a7bfb27c29c06e0c34a54473e [Pipeline] echo [2024-08-27T04:47:42.781Z] [semverPrep] GIT_COMMIT: ccbd45599170da3a7bfb27c29c06e0c34a54473e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-08-27T04:47:42.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-27T04:47:43.225Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-27T04:47:43.225Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-27T04:47:43.225Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-27T04:47:43.225Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-27T04:47:43.225Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-27T04:47:43.225Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-27T04:47:43.225Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:47:43.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T04:47:43.693Z] [2024-08-27T04:47:43.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:47:44.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T04:47:44.093Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-27T04:47:44.093Z] b85a868b505f: Pulling fs layer [2024-08-27T04:47:44.093Z] e2be974225ed: Pulling fs layer [2024-08-27T04:47:44.093Z] 339a4e72a1f5: Pulling fs layer [2024-08-27T04:47:44.093Z] 988bab9f4d93: Pulling fs layer [2024-08-27T04:47:44.093Z] 1469e6f7b9e6: Pulling fs layer [2024-08-27T04:47:44.093Z] eaf3925da568: Pulling fs layer [2024-08-27T04:47:44.093Z] bab4dde63d76: Pulling fs layer [2024-08-27T04:47:44.093Z] bde34c3a00c8: Pulling fs layer [2024-08-27T04:47:44.093Z] b352a97aabf1: Pulling fs layer [2024-08-27T04:47:44.093Z] 4872d77fe225: Pulling fs layer [2024-08-27T04:47:44.093Z] 5851b861e8e6: Pulling fs layer [2024-08-27T04:47:44.093Z] 1469e6f7b9e6: Waiting [2024-08-27T04:47:44.093Z] eaf3925da568: Waiting [2024-08-27T04:47:44.093Z] 5851b861e8e6: Waiting [2024-08-27T04:47:44.093Z] bab4dde63d76: Waiting [2024-08-27T04:47:44.093Z] 4872d77fe225: Waiting [2024-08-27T04:47:44.093Z] 988bab9f4d93: Waiting [2024-08-27T04:47:44.093Z] bde34c3a00c8: Waiting [2024-08-27T04:47:44.093Z] e2be974225ed: Verifying Checksum [2024-08-27T04:47:44.093Z] e2be974225ed: Download complete [2024-08-27T04:47:44.093Z] 988bab9f4d93: Download complete [2024-08-27T04:47:44.093Z] 1469e6f7b9e6: Verifying Checksum [2024-08-27T04:47:44.093Z] 1469e6f7b9e6: Download complete [2024-08-27T04:47:44.352Z] eaf3925da568: Verifying Checksum [2024-08-27T04:47:44.352Z] eaf3925da568: Download complete [2024-08-27T04:47:44.352Z] 339a4e72a1f5: Verifying Checksum [2024-08-27T04:47:44.352Z] 339a4e72a1f5: Download complete [2024-08-27T04:47:44.352Z] bde34c3a00c8: Download complete [2024-08-27T04:47:44.352Z] b352a97aabf1: Download complete [2024-08-27T04:47:44.352Z] 4872d77fe225: Download complete [2024-08-27T04:47:44.352Z] 5851b861e8e6: Download complete [2024-08-27T04:47:44.352Z] b85a868b505f: Verifying Checksum [2024-08-27T04:47:44.352Z] b85a868b505f: Download complete [2024-08-27T04:47:44.612Z] bab4dde63d76: Verifying Checksum [2024-08-27T04:47:44.612Z] bab4dde63d76: Download complete [2024-08-27T04:47:45.550Z] b85a868b505f: Pull complete [2024-08-27T04:47:45.809Z] e2be974225ed: Pull complete [2024-08-27T04:47:46.068Z] 339a4e72a1f5: Pull complete [2024-08-27T04:47:46.328Z] 988bab9f4d93: Pull complete [2024-08-27T04:47:46.588Z] 1469e6f7b9e6: Pull complete [2024-08-27T04:47:46.588Z] eaf3925da568: Pull complete [2024-08-27T04:47:48.508Z] bab4dde63d76: Pull complete [2024-08-27T04:47:48.508Z] bde34c3a00c8: Pull complete [2024-08-27T04:47:48.508Z] b352a97aabf1: Pull complete [2024-08-27T04:47:48.508Z] 4872d77fe225: Pull complete [2024-08-27T04:47:48.508Z] 5851b861e8e6: Pull complete [2024-08-27T04:47:48.508Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-27T04:47:48.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T04:47:48.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:47:49.069Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2024-08-27T04:47:49.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1617 -v /w/workspace/gexfoundry_device-sdk-go_PR-1617:/w/workspace/gexfoundry_device-sdk-go_PR-1617:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1617@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-27T04:47:51.456Z] $ docker top 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 -eo pid,comm [2024-08-27T04:47:51.513Z] 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-08-27T04:47:51.513Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-27T04:47:51.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T04:47:51.674Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T04:47:51.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T04:47:51.791Z] $ docker exec 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 ssh-agent [2024-08-27T04:47:51.908Z] SSH_AUTH_SOCK=/tmp/ssh-Z6jYNAVwMNss/agent.32 [2024-08-27T04:47:51.908Z] SSH_AGENT_PID=38 [2024-08-27T04:47:51.914Z] Running ssh-add (command line suppressed) [2024-08-27T04:47:52.003Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/private_key_1045449664788055388.key (/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/private_key_1045449664788055388.key) [2024-08-27T04:47:52.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T04:47:52.353Z] + git tag --points-at HEAD [Pipeline] } [2024-08-27T04:47:52.379Z] $ docker exec --env ******** --env ******** 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 ssh-agent -k [2024-08-27T04:47:52.481Z] unset SSH_AUTH_SOCK; [2024-08-27T04:47:52.482Z] unset SSH_AGENT_PID; [2024-08-27T04:47:52.482Z] echo Agent pid 38 killed; [2024-08-27T04:47:52.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-27T04:47:52.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T04:47:52.623Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T04:47:52.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T04:47:52.724Z] $ docker exec 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 ssh-agent [2024-08-27T04:47:52.836Z] SSH_AUTH_SOCK=/tmp/ssh-gLkyrGAIbB9q/agent.71 [2024-08-27T04:47:52.836Z] SSH_AGENT_PID=77 [2024-08-27T04:47:52.842Z] Running ssh-add (command line suppressed) [2024-08-27T04:47:52.947Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/private_key_13622291248269647231.key (/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/private_key_13622291248269647231.key) [2024-08-27T04:47:52.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T04:47:53.308Z] + git semver init [2024-08-27T04:47:53.568Z] 2024-08-27 04:47:53,491 [run_init] DEBUG init version:0.0.0 force:False [2024-08-27T04:47:53.568Z] 2024-08-27 04:47:53,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver [2024-08-27T04:47:53.568Z] 2024-08-27 04:47:53,492 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver [2024-08-27T04:47:53.568Z] 2024-08-27 04:47:53,492 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1617, universal_newlines=False, shell=None, istream=None) [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,609 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617/.git/info/exclude [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver/PR-1617 with force:False [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,610 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver/PR-1617 [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,614 [execute] INFO git cat-file --batch-check [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,619 [execute] INFO git cat-file --batch [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T04:47:56.108Z] 2024-08-27 04:47:55,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1617/.semver/PR-1617 [2024-08-27T04:47:56.108Z] 0.0.0 [Pipeline] } [2024-08-27T04:47:56.132Z] $ docker exec --env ******** --env ******** 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 ssh-agent -k [2024-08-27T04:47:56.236Z] unset SSH_AUTH_SOCK; [2024-08-27T04:47:56.236Z] unset SSH_AGENT_PID; [2024-08-27T04:47:56.236Z] echo Agent pid 77 killed; [2024-08-27T04:47:56.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-27T04:47:56.712Z] + git semver [Pipeline] } [2024-08-27T04:47:56.995Z] $ docker stop --time=1 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 [2024-08-27T04:47:58.307Z] $ docker rm -f --volumes 3b306542ddb4551b3449b0d4eac4d42709410dd1493814066fe2bd9a80b3c093 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T04:47:58.724Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-27T04:47:59.054Z] Stashed 1 file(s) [Pipeline] echo [2024-08-27T04:47:59.083Z] [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-08-27T04:47:59.850Z] provisioning config files... [2024-08-27T04:47:59.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/config8018376283527886279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T04:48:00.239Z] ---> ****-login.sh [2024-08-27T04:48:00.239Z] nexus3.edgexfoundry.org:10001 [2024-08-27T04:48:00.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:48:00.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:48:00.239Z] Configure a credential helper to remove this warning. See [2024-08-27T04:48:00.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:48:00.239Z] [2024-08-27T04:48:00.239Z] Login Succeeded [2024-08-27T04:48:00.239Z] nexus3.edgexfoundry.org:10002 [2024-08-27T04:48:00.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:48:00.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:48:00.240Z] Configure a credential helper to remove this warning. See [2024-08-27T04:48:00.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:48:00.240Z] [2024-08-27T04:48:00.240Z] Login Succeeded [2024-08-27T04:48:00.240Z] nexus3.edgexfoundry.org:10003 [2024-08-27T04:48:00.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:48:00.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:48:00.500Z] Configure a credential helper to remove this warning. See [2024-08-27T04:48:00.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:48:00.500Z] [2024-08-27T04:48:00.500Z] Login Succeeded [2024-08-27T04:48:00.500Z] nexus3.edgexfoundry.org:10004 [2024-08-27T04:48:00.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:48:00.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:48:00.500Z] Configure a credential helper to remove this warning. See [2024-08-27T04:48:00.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:48:00.501Z] [2024-08-27T04:48:00.501Z] Login Succeeded [2024-08-27T04:48:00.501Z] ****.io [2024-08-27T04:48:00.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:48:00.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:48:00.760Z] Configure a credential helper to remove this warning. See [2024-08-27T04:48:00.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:48:00.760Z] [2024-08-27T04:48:00.760Z] Login Succeeded [2024-08-27T04:48:00.760Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T04:48:00.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T04:48:01.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T04:48:01.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T04:48:01.155Z] ========================================================= [2024-08-27T04:48:01.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-27T04:48:01.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:48:01.730Z] + 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-08-27T04:48:01.730Z] Sending build context to Docker daemon 25.21MB [2024-08-27T04:48:01.730Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T04:48:01.730Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T04:48:01.990Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-27T04:48:01.991Z] 619be1103602: Pulling fs layer [2024-08-27T04:48:01.991Z] 7862e08f4a3e: Pulling fs layer [2024-08-27T04:48:01.991Z] 5df492c9dc93: Pulling fs layer [2024-08-27T04:48:01.991Z] 7629e6793208: Pulling fs layer [2024-08-27T04:48:01.991Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T04:48:01.991Z] fb5054dd5b73: Pulling fs layer [2024-08-27T04:48:01.991Z] eeca6798cff9: Pulling fs layer [2024-08-27T04:48:01.991Z] aa269ceb94a6: Pulling fs layer [2024-08-27T04:48:01.991Z] ada007ff1a6a: Pulling fs layer [2024-08-27T04:48:01.991Z] 4f4fb700ef54: Waiting [2024-08-27T04:48:01.991Z] fb5054dd5b73: Waiting [2024-08-27T04:48:01.991Z] ada007ff1a6a: Waiting [2024-08-27T04:48:01.991Z] eeca6798cff9: Waiting [2024-08-27T04:48:01.991Z] 7862e08f4a3e: Download complete [2024-08-27T04:48:01.991Z] 7629e6793208: Verifying Checksum [2024-08-27T04:48:01.991Z] 4f4fb700ef54: Download complete [2024-08-27T04:48:01.991Z] fb5054dd5b73: Download complete [2024-08-27T04:48:01.991Z] 619be1103602: Verifying Checksum [2024-08-27T04:48:01.991Z] 619be1103602: Download complete [2024-08-27T04:48:01.991Z] eeca6798cff9: Verifying Checksum [2024-08-27T04:48:01.991Z] eeca6798cff9: Download complete [2024-08-27T04:48:01.991Z] 619be1103602: Pull complete [2024-08-27T04:48:02.249Z] 7862e08f4a3e: Pull complete [2024-08-27T04:48:02.250Z] ada007ff1a6a: Verifying Checksum [2024-08-27T04:48:02.250Z] ada007ff1a6a: Download complete [2024-08-27T04:48:02.250Z] 5df492c9dc93: Verifying Checksum [2024-08-27T04:48:02.250Z] 5df492c9dc93: Download complete [2024-08-27T04:48:02.508Z] aa269ceb94a6: Verifying Checksum [2024-08-27T04:48:02.508Z] aa269ceb94a6: Download complete [2024-08-27T04:48:05.808Z] 5df492c9dc93: Pull complete [2024-08-27T04:48:05.808Z] 7629e6793208: Pull complete [2024-08-27T04:48:05.808Z] 4f4fb700ef54: Pull complete [2024-08-27T04:48:05.808Z] fb5054dd5b73: Pull complete [2024-08-27T04:48:05.808Z] eeca6798cff9: Pull complete [2024-08-27T04:48:07.708Z] aa269ceb94a6: Pull complete [2024-08-27T04:48:08.281Z] ada007ff1a6a: Pull complete [2024-08-27T04:48:08.281Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-27T04:48:08.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-27T04:48:08.281Z] ---> f489d0715acc [2024-08-27T04:48:08.281Z] Step 3/10 : ARG MAKE=make build [2024-08-27T04:48:13.563Z] ---> Running in 67e5ca7207fa [2024-08-27T04:48:13.563Z] Removing intermediate container 67e5ca7207fa [2024-08-27T04:48:13.563Z] ---> 89df7893127d [2024-08-27T04:48:13.563Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T04:48:13.563Z] ---> Running in 6e1140723046 [2024-08-27T04:48:13.563Z] Removing intermediate container 6e1140723046 [2024-08-27T04:48:13.563Z] ---> 3d5ad0127bf1 [2024-08-27T04:48:13.563Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T04:48:13.563Z] ---> Running in 0404e92d5000 [2024-08-27T04:48:13.563Z] Removing intermediate container 0404e92d5000 [2024-08-27T04:48:13.563Z] ---> 2d3099a359c5 [2024-08-27T04:48:13.563Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T04:48:13.563Z] ---> Running in f751c28acc3d [2024-08-27T04:48:13.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T04:48:14.624Z] Still waiting to schedule task [2024-08-27T04:48:14.624Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8760’ [2024-08-27T04:48:16.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T04:48:16.369Z] OK: 264 MiB in 52 packages [2024-08-27T04:48:16.629Z] Removing intermediate container f751c28acc3d [2024-08-27T04:48:16.629Z] ---> f8c6cf07f7aa [2024-08-27T04:48:16.629Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T04:48:16.890Z] ---> 76ca52926110 [2024-08-27T04:48:16.890Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T04:48:16.890Z] ---> Running in e41789be63e2 [2024-08-27T04:49:13.160Z] Removing intermediate container e41789be63e2 [2024-08-27T04:49:13.160Z] ---> c4a12922cb82 [2024-08-27T04:49:13.160Z] Step 9/10 : COPY . . [2024-08-27T04:49:13.160Z] ---> c74ad017f0e8 [2024-08-27T04:49:13.160Z] Step 10/10 : RUN ${MAKE} [2024-08-27T04:49:13.160Z] ---> Running in 48d2f3e716f0 [2024-08-27T04:49:13.160Z] noop [2024-08-27T04:49:13.160Z] Removing intermediate container 48d2f3e716f0 [2024-08-27T04:49:13.160Z] ---> 161c121ffa1c [2024-08-27T04:49:13.160Z] Successfully built 161c121ffa1c [2024-08-27T04:49:13.160Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:49:13.662Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T04:49:13.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:49:13.834Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2024-08-27T04:49:13.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1617 -v /w/workspace/gexfoundry_device-sdk-go_PR-1617:/w/workspace/gexfoundry_device-sdk-go_PR-1617:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T04:49:14.194Z] $ docker top bb2595ca1c0b5e783a7a4a4d6b48135be4ea53ce38ff9dd630352fc933ef89c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T04:49:14.611Z] + go version [2024-08-27T04:49:14.611Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-27T04:49:14.639Z] $ docker stop --time=1 bb2595ca1c0b5e783a7a4a4d6b48135be4ea53ce38ff9dd630352fc933ef89c9 [2024-08-27T04:49:15.945Z] $ docker rm -f --volumes bb2595ca1c0b5e783a7a4a4d6b48135be4ea53ce38ff9dd630352fc933ef89c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:49:16.770Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T04:49:16.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:49:16.951Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2024-08-27T04:49:16.979Z] $ 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-1617 -v /w/workspace/gexfoundry_device-sdk-go_PR-1617:/w/workspace/gexfoundry_device-sdk-go_PR-1617:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T04:49:17.296Z] $ docker top 88d30ecd0a6155df503fe47e5f02dd5e7f9f0c51234447e2b840b2e0adaa209a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T04:49:17.701Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1617 [Pipeline] fileExists [Pipeline] sh [2024-08-27T04:49:18.089Z] + make test [2024-08-27T04:49:18.089Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T04:49:26.023Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T04:49:52.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T04:49:52.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements [2024-08-27T04:49:52.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.026s coverage: 79.4% of statements [2024-08-27T04:49:52.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements [2024-08-27T04:49:52.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T04:49:53.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T04:49:53.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T04:49:54.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 52.2% of statements [2024-08-27T04:49:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T04:49:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements [2024-08-27T04:49:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.925s coverage: 44.6% of statements [2024-08-27T04:49:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.056s coverage: 68.5% of statements [2024-08-27T04:49:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.113s coverage: 89.2% of statements [2024-08-27T04:49:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.4% of statements [2024-08-27T04:50:26.454Z] GO111MODULE=on go vet ./... [2024-08-27T04:50:31.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T04:50:31.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T04:50:31.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T04:50:31.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T04:50:31.826Z] $ docker stop --time=1 88d30ecd0a6155df503fe47e5f02dd5e7f9f0c51234447e2b840b2e0adaa209a [2024-08-27T04:50:36.780Z] $ docker rm -f --volumes 88d30ecd0a6155df503fe47e5f02dd5e7f9f0c51234447e2b840b2e0adaa209a [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T04:50:37.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T04:50:37.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-27T04:50:38.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T04:50:38.652Z] + ls -al . [2024-08-27T04:50:38.652Z] total 380 [2024-08-27T04:50:38.652Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 04:49 . [2024-08-27T04:50:38.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 04:47 .. [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 04:47 .dockerignore [2024-08-27T04:50:38.652Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 04:49 .git [2024-08-27T04:50:38.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 04:47 .github [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 04:47 .gitignore [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 04:47 .golangci.yml [2024-08-27T04:50:38.652Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 04:47 .semver [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 04:47 CHANGELOG.md [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 04:47 GOVERNANCE.md [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 04:47 Jenkinsfile [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 04:47 LICENSE [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 04:47 Makefile [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 04:47 OWNERS.md [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 04:47 README.md [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 04:47 VERSION [2024-08-27T04:50:38.652Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 04:47 bin [2024-08-27T04:50:38.652Z] -rw-r--r-- 1 jenkins jenkins 126053 Aug 27 04:49 coverage.out [2024-08-27T04:50:38.652Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 04:47 example [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 27 04:47 go.mod [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 04:47 go.sum [2024-08-27T04:50:38.652Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 04:47 internal [2024-08-27T04:50:38.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 04:47 openapi [2024-08-27T04:50:38.652Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 04:47 pkg [2024-08-27T04:50:38.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 04:47 snap [2024-08-27T04:50:38.652Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:50:39.096Z] + 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=ccbd45599170da3a7bfb27c29c06e0c34a54473e --label arch=amd64 --label version=0.0.0 . [2024-08-27T04:50:39.096Z] Sending build context to Docker daemon 25.33MB [2024-08-27T04:50:39.096Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T04:50:39.096Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T04:50:39.096Z] ---> 161c121ffa1c [2024-08-27T04:50:39.096Z] Step 3/24 : ARG MAKE=make build [2024-08-27T04:50:39.665Z] ---> Running in 98f8b2f27a45 [2024-08-27T04:50:39.665Z] Removing intermediate container 98f8b2f27a45 [2024-08-27T04:50:39.665Z] ---> 95e45d4697b1 [2024-08-27T04:50:39.665Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T04:50:39.665Z] ---> Running in cc0d17833ac2 [2024-08-27T04:50:39.665Z] Removing intermediate container cc0d17833ac2 [2024-08-27T04:50:39.665Z] ---> 71898ffcf9d5 [2024-08-27T04:50:39.665Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T04:50:39.924Z] ---> Running in c18d1b1aab15 [2024-08-27T04:50:39.924Z] Removing intermediate container c18d1b1aab15 [2024-08-27T04:50:39.924Z] ---> 2563b5e47a71 [2024-08-27T04:50:39.924Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T04:50:39.924Z] ---> Running in ab32bbc8fcdb [2024-08-27T04:50:40.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T04:50:40.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T04:50:40.443Z] OK: 264 MiB in 52 packages [2024-08-27T04:50:41.011Z] Removing intermediate container ab32bbc8fcdb [2024-08-27T04:50:41.011Z] ---> f23d2358177d [2024-08-27T04:50:41.011Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T04:50:41.011Z] ---> a79f423bb56c [2024-08-27T04:50:41.011Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T04:50:41.011Z] ---> Running in 01efed8a0022 [2024-08-27T04:50:41.578Z] Removing intermediate container 01efed8a0022 [2024-08-27T04:50:41.578Z] ---> 44126fcf1537 [2024-08-27T04:50:41.578Z] Step 9/24 : COPY . . [2024-08-27T04:50:42.526Z] ---> 2d04573fc923 [2024-08-27T04:50:42.526Z] Step 10/24 : RUN ${MAKE} [2024-08-27T04:50:42.526Z] ---> Running in fb033e482c22 [2024-08-27T04:50:42.784Z] 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-08-27T04:51:14.858Z] Removing intermediate container fb033e482c22 [2024-08-27T04:51:14.858Z] ---> c6b2e9752786 [2024-08-27T04:51:14.858Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T04:51:14.858Z] 3.18: Pulling from library/alpine [2024-08-27T04:51:14.858Z] 930bdd4d222e: Pulling fs layer [2024-08-27T04:51:14.858Z] 930bdd4d222e: Verifying Checksum [2024-08-27T04:51:14.858Z] 930bdd4d222e: Download complete [2024-08-27T04:51:14.858Z] 930bdd4d222e: Pull complete [2024-08-27T04:51:14.858Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T04:51:14.858Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T04:51:14.858Z] ---> 18f865063206 [2024-08-27T04:51:14.858Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T04:51:14.858Z] ---> Running in 12807f31346e [2024-08-27T04:51:14.858Z] Removing intermediate container 12807f31346e [2024-08-27T04:51:14.858Z] ---> aa743b5710dd [2024-08-27T04:51:14.858Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T04:51:14.858Z] ---> Running in 7ba51985cbd9 [2024-08-27T04:51:14.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T04:51:14.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T04:51:15.117Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T04:51:15.117Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T04:51:15.117Z] OK: 7 MiB in 16 packages [2024-08-27T04:51:15.378Z] Removing intermediate container 7ba51985cbd9 [2024-08-27T04:51:15.378Z] ---> bae191de54fc [2024-08-27T04:51:15.378Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T04:51:15.378Z] ---> Running in 708c7d332394 [2024-08-27T04:51:15.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T04:51:15.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T04:51:15.896Z] OK: 7 MiB in 16 packages [2024-08-27T04:51:16.154Z] Removing intermediate container 708c7d332394 [2024-08-27T04:51:16.154Z] ---> 7734515294d8 [2024-08-27T04:51:16.154Z] Step 15/24 : WORKDIR / [2024-08-27T04:51:16.414Z] ---> Running in bf3df848701a [2024-08-27T04:51:16.414Z] Removing intermediate container bf3df848701a [2024-08-27T04:51:16.414Z] ---> 7a6f8ca73c97 [2024-08-27T04:51:16.414Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T04:51:16.414Z] ---> 3dada6f3f840 [2024-08-27T04:51:16.414Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T04:51:18.328Z] ---> e16843a1ea76 [2024-08-27T04:51:18.328Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T04:51:18.328Z] ---> 285283f555b1 [2024-08-27T04:51:18.328Z] Step 19/24 : EXPOSE 59999 [2024-08-27T04:51:18.328Z] ---> Running in b9bb5cbe375d [2024-08-27T04:51:18.329Z] Removing intermediate container b9bb5cbe375d [2024-08-27T04:51:18.329Z] ---> b0bcac2dbef7 [2024-08-27T04:51:18.329Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T04:51:18.329Z] ---> Running in 442e8f644786 [2024-08-27T04:51:18.329Z] Removing intermediate container 442e8f644786 [2024-08-27T04:51:18.329Z] ---> c0a24f7ec3b4 [2024-08-27T04:51:18.329Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T04:51:18.329Z] ---> Running in 4bb05505967d [2024-08-27T04:51:18.329Z] Removing intermediate container 4bb05505967d [2024-08-27T04:51:18.329Z] ---> 15ef3523f584 [2024-08-27T04:51:18.329Z] Step 22/24 : LABEL arch=amd64 [2024-08-27T04:51:18.329Z] ---> Running in 551b83c25f99 [2024-08-27T04:51:18.329Z] Removing intermediate container 551b83c25f99 [2024-08-27T04:51:18.329Z] ---> 4377f0b2ab9a [2024-08-27T04:51:18.329Z] Step 23/24 : LABEL git_sha=ccbd45599170da3a7bfb27c29c06e0c34a54473e [2024-08-27T04:51:18.587Z] ---> Running in ac371ae64f7c [2024-08-27T04:51:18.587Z] Removing intermediate container ac371ae64f7c [2024-08-27T04:51:18.587Z] ---> 351f4bd89c3d [2024-08-27T04:51:18.587Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T04:51:18.587Z] ---> Running in c1a0968ab99a [2024-08-27T04:51:18.587Z] Removing intermediate container c1a0968ab99a [2024-08-27T04:51:18.587Z] ---> 0e536274461e [2024-08-27T04:51:18.587Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T04:51:18.587Z] Successfully built 0e536274461e [2024-08-27T04:51:18.587Z] 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-08-27T04:51:19.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T04:51:19.581Z] [2024-08-27T04:51:19.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:51:19.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T04:51:19.993Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-27T04:51:19.993Z] 5eb5b503b376: Pulling fs layer [2024-08-27T04:51:19.993Z] 5c69ac0246d0: Pulling fs layer [2024-08-27T04:51:19.993Z] ec43610c2a17: Pulling fs layer [2024-08-27T04:51:19.993Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-27T04:51:19.993Z] 33b1e0a273af: Pulling fs layer [2024-08-27T04:51:19.993Z] 5d3b04190fa2: Pulling fs layer [2024-08-27T04:51:19.993Z] 2f39f015ded8: Pulling fs layer [2024-08-27T04:51:19.993Z] 33b1e0a273af: Waiting [2024-08-27T04:51:19.993Z] 5d3b04190fa2: Waiting [2024-08-27T04:51:19.993Z] 3a2ae6a8a46f: Waiting [2024-08-27T04:51:19.993Z] 5c69ac0246d0: Download complete [2024-08-27T04:51:19.993Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-27T04:51:19.993Z] 3a2ae6a8a46f: Download complete [2024-08-27T04:51:19.993Z] 33b1e0a273af: Verifying Checksum [2024-08-27T04:51:19.993Z] 33b1e0a273af: Download complete [2024-08-27T04:51:20.251Z] ec43610c2a17: Verifying Checksum [2024-08-27T04:51:20.251Z] ec43610c2a17: Download complete [2024-08-27T04:51:20.251Z] 5d3b04190fa2: Download complete [2024-08-27T04:51:20.251Z] 5eb5b503b376: Verifying Checksum [2024-08-27T04:51:20.251Z] 5eb5b503b376: Download complete [2024-08-27T04:51:20.818Z] 2f39f015ded8: Verifying Checksum [2024-08-27T04:51:20.818Z] 2f39f015ded8: Download complete [2024-08-27T04:51:21.755Z] 5eb5b503b376: Pull complete [2024-08-27T04:51:21.755Z] 5c69ac0246d0: Pull complete [2024-08-27T04:51:22.013Z] ec43610c2a17: Pull complete [2024-08-27T04:51:22.272Z] 3a2ae6a8a46f: Pull complete [2024-08-27T04:51:22.272Z] 33b1e0a273af: Pull complete [2024-08-27T04:51:22.529Z] 5d3b04190fa2: Pull complete [2024-08-27T04:51:26.717Z] 2f39f015ded8: Pull complete [2024-08-27T04:51:26.717Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-27T04:51:26.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T04:51:26.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:51:26.992Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2024-08-27T04:51:27.025Z] $ 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-1617 -v /w/workspace/gexfoundry_device-sdk-go_PR-1617:/w/workspace/gexfoundry_device-sdk-go_PR-1617:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1617@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-08-27T04:51:30.592Z] $ docker top 86e5f1bd5ff14b354475398255fc7fb48c87b0a09d1c6eadcafd43b8165da41d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T04:51:31.052Z] ---> job-cost.sh [2024-08-27T04:51:31.052Z] lf-activate-venv: SKIPPING [2024-08-27T04:51:31.052Z] INFO: No Stack... [2024-08-27T04:51:31.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T04:51:31.880Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T04:51:32.207Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives/cost.csv [2024-08-27T04:51:32.207Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T04:51:32.260Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [2024-08-27T04:51:32.266Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] did not exist. Created. [2024-08-27T04:51:32.272Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T04:51:32.689Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-27T04:51:32.746Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T04:51:32.780Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T04:51:32.873Z] $ docker stop --time=1 86e5f1bd5ff14b354475398255fc7fb48c87b0a09d1c6eadcafd43b8165da41d [2024-08-27T04:51:34.032Z] $ docker rm -f --volumes 86e5f1bd5ff14b354475398255fc7fb48c87b0a09d1c6eadcafd43b8165da41d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-27T04:51:59.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8762 in /w/workspace/gexfoundry_device-sdk-go_PR-1617 [Pipeline] { [Pipeline] ws [2024-08-27T04:51:59.317Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-27T04:52:02.436Z] The recommended git tool is: git [2024-08-27T04:52:09.851Z] using credential edgex-jenkins-ssh [2024-08-27T04:52:09.873Z] Cloning the remote Git repository [2024-08-27T04:52:09.965Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T04:52:10.070Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-27T04:52:10.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T04:52:10.422Z] > git --version # timeout=10 [2024-08-27T04:52:10.560Z] > git --version # 'git version 2.25.1' [2024-08-27T04:52:10.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T04:52:10.780Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T04:52:14.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T04:52:14.529Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T04:52:15.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T04:52:15.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T04:52:15.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T04:52:15.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1617/head:refs/remotes/origin/PR-1617 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-27T04:52:16.305Z] Merging remotes/origin/main commit a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit ccbd45599170da3a7bfb27c29c06e0c34a54473e [2024-08-27T04:52:16.624Z] Merge succeeded, producing ccbd45599170da3a7bfb27c29c06e0c34a54473e [2024-08-27T04:52:16.625Z] Checking out Revision ccbd45599170da3a7bfb27c29c06e0c34a54473e (PR-1617) [2024-08-27T04:52:17.198Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-08-27T04:52:17.247Z] > git --version # timeout=10 [2024-08-27T04:52:17.261Z] > git --version # 'git version 2.25.1' [2024-08-27T04:52:17.290Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T04:52:16.329Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T04:52:16.408Z] > git checkout -f ccbd45599170da3a7bfb27c29c06e0c34a54473e # timeout=10 [2024-08-27T04:52:16.514Z] > git remote # timeout=10 [2024-08-27T04:52:16.535Z] > git config --get remote.origin.url # timeout=10 [2024-08-27T04:52:16.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T04:52:16.581Z] > git merge a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 [2024-08-27T04:52:16.610Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-27T04:52:16.633Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T04:52:16.654Z] > git checkout -f ccbd45599170da3a7bfb27c29c06e0c34a54473e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T04:52:22.138Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-27T04:52:22.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T04:52:22.138Z] Dload Upload Total Spent Left Speed [2024-08-27T04:52:22.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 56263 0 --:--:-- --:--:-- --:--:-- 56263 [Pipeline] sh [2024-08-27T04:52:22.486Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-27T04:52:22.845Z] + sudo tee /etc/docker/daemon.new [2024-08-27T04:52:22.845Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-27T04:52:22.845Z] { [2024-08-27T04:52:22.845Z] "registry-mirrors": [ [2024-08-27T04:52:22.845Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-27T04:52:22.845Z] ], [2024-08-27T04:52:22.845Z] "bip": "10.250.0.254/24", [2024-08-27T04:52:22.845Z] "hosts": [ [2024-08-27T04:52:22.845Z] "tcp://0.0.0.0:5555", [2024-08-27T04:52:22.845Z] "unix:///var/run/docker.sock" [2024-08-27T04:52:22.845Z] ], [2024-08-27T04:52:22.845Z] "mtu": 1458, [2024-08-27T04:52:22.845Z] "selinux-enabled": true, [2024-08-27T04:52:22.845Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-27T04:52:22.845Z] } [Pipeline] sh [2024-08-27T04:52:23.213Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-27T04:52:23.564Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T04:52:41.917Z] provisioning config files... [2024-08-27T04:52:41.942Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14197869630308304610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T04:52:42.447Z] ---> ****-login.sh [2024-08-27T04:52:42.447Z] nexus3.edgexfoundry.org:10001 [2024-08-27T04:52:42.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:52:42.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:52:42.985Z] Configure a credential helper to remove this warning. See [2024-08-27T04:52:42.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:52:42.985Z] [2024-08-27T04:52:42.985Z] Login Succeeded [2024-08-27T04:52:42.985Z] nexus3.edgexfoundry.org:10002 [2024-08-27T04:52:43.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:52:43.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:52:43.520Z] Configure a credential helper to remove this warning. See [2024-08-27T04:52:43.520Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:52:43.520Z] [2024-08-27T04:52:43.520Z] Login Succeeded [2024-08-27T04:52:43.520Z] nexus3.edgexfoundry.org:10003 [2024-08-27T04:52:43.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:52:43.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:52:43.797Z] Configure a credential helper to remove this warning. See [2024-08-27T04:52:43.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:52:43.797Z] [2024-08-27T04:52:43.797Z] Login Succeeded [2024-08-27T04:52:43.797Z] nexus3.edgexfoundry.org:10004 [2024-08-27T04:52:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:52:44.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:52:44.065Z] Configure a credential helper to remove this warning. See [2024-08-27T04:52:44.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:52:44.065Z] [2024-08-27T04:52:44.065Z] Login Succeeded [2024-08-27T04:52:44.065Z] ****.io [2024-08-27T04:52:44.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T04:52:44.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T04:52:44.599Z] Configure a credential helper to remove this warning. See [2024-08-27T04:52:44.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T04:52:44.599Z] [2024-08-27T04:52:44.599Z] Login Succeeded [2024-08-27T04:52:44.599Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T04:52:44.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T04:52:45.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T04:52:45.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T04:52:45.231Z] ========================================================= [2024-08-27T04:52:45.231Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-27T04:52:45.231Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:52:45.790Z] + 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-08-27T04:52:46.389Z] Sending build context to Docker daemon 13.04MB [2024-08-27T04:52:46.389Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T04:52:46.389Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T04:52:46.659Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-27T04:52:46.659Z] c6b39de5b339: Pulling fs layer [2024-08-27T04:52:46.659Z] a69c41024577: Pulling fs layer [2024-08-27T04:52:46.659Z] d6de4b400683: Pulling fs layer [2024-08-27T04:52:46.659Z] 35cb2a7552d0: Pulling fs layer [2024-08-27T04:52:46.659Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T04:52:46.659Z] 464afbd9ba4c: Pulling fs layer [2024-08-27T04:52:46.659Z] 00f215d4a9da: Pulling fs layer [2024-08-27T04:52:46.659Z] d496ad576159: Pulling fs layer [2024-08-27T04:52:46.659Z] 4f4fb700ef54: Waiting [2024-08-27T04:52:46.659Z] 464afbd9ba4c: Waiting [2024-08-27T04:52:46.659Z] 00f215d4a9da: Waiting [2024-08-27T04:52:46.659Z] d496ad576159: Waiting [2024-08-27T04:52:46.659Z] 35cb2a7552d0: Waiting [2024-08-27T04:52:46.659Z] a69c41024577: Verifying Checksum [2024-08-27T04:52:46.659Z] a69c41024577: Download complete [2024-08-27T04:52:46.659Z] 35cb2a7552d0: Verifying Checksum [2024-08-27T04:52:46.659Z] 35cb2a7552d0: Download complete [2024-08-27T04:52:46.659Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T04:52:46.659Z] 4f4fb700ef54: Download complete [2024-08-27T04:52:46.659Z] 464afbd9ba4c: Verifying Checksum [2024-08-27T04:52:46.659Z] 464afbd9ba4c: Download complete [2024-08-27T04:52:46.659Z] c6b39de5b339: Verifying Checksum [2024-08-27T04:52:46.659Z] c6b39de5b339: Download complete [2024-08-27T04:52:47.242Z] d496ad576159: Verifying Checksum [2024-08-27T04:52:47.242Z] d496ad576159: Download complete [2024-08-27T04:52:47.526Z] c6b39de5b339: Pull complete [2024-08-27T04:52:48.112Z] a69c41024577: Pull complete [2024-08-27T04:52:48.697Z] d6de4b400683: Verifying Checksum [2024-08-27T04:52:48.697Z] d6de4b400683: Download complete [2024-08-27T04:52:49.666Z] 00f215d4a9da: Verifying Checksum [2024-08-27T04:52:49.666Z] 00f215d4a9da: Download complete [2024-08-27T04:53:01.994Z] d6de4b400683: Pull complete [2024-08-27T04:53:01.994Z] 35cb2a7552d0: Pull complete [2024-08-27T04:53:01.994Z] 4f4fb700ef54: Pull complete [2024-08-27T04:53:02.264Z] 464afbd9ba4c: Pull complete [2024-08-27T04:53:12.372Z] 00f215d4a9da: Pull complete [2024-08-27T04:53:12.960Z] d496ad576159: Pull complete [2024-08-27T04:53:12.961Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-27T04:53:12.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-27T04:53:12.961Z] ---> f246e2811388 [2024-08-27T04:53:12.961Z] Step 3/10 : ARG MAKE=make build [2024-08-27T04:53:13.925Z] ---> Running in 41172fa31ad2 [2024-08-27T04:53:14.195Z] Removing intermediate container 41172fa31ad2 [2024-08-27T04:53:14.195Z] ---> cf8a0a8a0379 [2024-08-27T04:53:14.195Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T04:53:14.195Z] ---> Running in dbe0a9fa79e3 [2024-08-27T04:53:14.463Z] Removing intermediate container dbe0a9fa79e3 [2024-08-27T04:53:14.463Z] ---> f4aeeb89c9ac [2024-08-27T04:53:14.463Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T04:53:14.733Z] ---> Running in 2e6cb80e9f8b [2024-08-27T04:53:15.003Z] Removing intermediate container 2e6cb80e9f8b [2024-08-27T04:53:15.003Z] ---> 1733070b7879 [2024-08-27T04:53:15.003Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T04:53:15.003Z] ---> Running in 90b94e4c13e0 [2024-08-27T04:53:17.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T04:53:17.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T04:53:18.839Z] OK: 266 MiB in 52 packages [2024-08-27T04:53:19.812Z] Removing intermediate container 90b94e4c13e0 [2024-08-27T04:53:19.812Z] ---> 7abecb844363 [2024-08-27T04:53:19.812Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T04:53:20.408Z] ---> e0a865d8048e [2024-08-27T04:53:20.408Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T04:53:20.408Z] ---> Running in 2db975f3b515 [2024-08-27T04:55:27.179Z] Removing intermediate container 2db975f3b515 [2024-08-27T04:55:27.179Z] ---> 18226e7ac164 [2024-08-27T04:55:27.179Z] Step 9/10 : COPY . . [2024-08-27T04:55:27.179Z] ---> 9c63eb32a98d [2024-08-27T04:55:27.179Z] Step 10/10 : RUN ${MAKE} [2024-08-27T04:55:27.179Z] ---> Running in 136b2f563fde [2024-08-27T04:55:27.179Z] noop [2024-08-27T04:55:27.179Z] Removing intermediate container 136b2f563fde [2024-08-27T04:55:27.179Z] ---> 663e08f19f46 [2024-08-27T04:55:27.179Z] Successfully built 663e08f19f46 [2024-08-27T04:55:27.179Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:55:27.710Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T04:55:27.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:55:28.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container [2024-08-27T04:55:28.139Z] $ 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-08-27T04:55:29.502Z] $ docker top b1fb201ac315ab1bc3acd7b2ed65d0d06018170bf075d33dbe2575c856eb0207 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T04:55:30.447Z] + go version [2024-08-27T04:55:30.447Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-27T04:55:30.496Z] $ docker stop --time=1 b1fb201ac315ab1bc3acd7b2ed65d0d06018170bf075d33dbe2575c856eb0207 [2024-08-27T04:55:32.163Z] $ docker rm -f --volumes b1fb201ac315ab1bc3acd7b2ed65d0d06018170bf075d33dbe2575c856eb0207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T04:55:33.131Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T04:55:33.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T04:55:33.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container [2024-08-27T04:55:33.519Z] $ 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-08-27T04:55:34.742Z] $ docker top 64109e50ae39fb863ba547eb2019ec4d58f0aa2010ba9facf13ee150a8c98440 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T04:55:35.642Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-27T04:55:36.466Z] + make test [2024-08-27T04:55:36.466Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T04:56:33.001Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T05:00:24.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T05:00:24.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T05:00:24.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T05:00:24.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T05:00:24.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T05:00:29.102Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.139s coverage: 26.0% of statements [2024-08-27T05:00:33.362Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.187s coverage: 79.4% of statements [2024-08-27T05:00:43.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T05:00:43.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T05:00:44.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.332s coverage: 86.0% of statements [2024-08-27T05:00:52.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T05:00:53.701Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.574s coverage: 52.2% of statements [2024-08-27T05:00:57.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.248s coverage: 14.4% of statements [2024-08-27T05:00:57.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.692s coverage: 44.6% of statements [2024-08-27T05:00:59.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T05:00:59.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T05:00:59.982Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.332s coverage: 68.5% of statements [2024-08-27T05:01:03.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.447s coverage: 89.2% of statements [2024-08-27T05:01:10.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T05:01:10.287Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.295s coverage: 5.4% of statements [2024-08-27T05:01:11.693Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-27T05:01:11.693Z] GO111MODULE=on go vet ./... [2024-08-27T05:05:33.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T05:05:33.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T05:05:33.551Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T05:05:33.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T05:05:33.670Z] $ docker stop --time=1 64109e50ae39fb863ba547eb2019ec4d58f0aa2010ba9facf13ee150a8c98440 [2024-08-27T05:05:36.069Z] $ docker rm -f --volumes 64109e50ae39fb863ba547eb2019ec4d58f0aa2010ba9facf13ee150a8c98440 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T05:05:38.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T05:05:38.932Z] Warning: overwriting stash ‘coverage-report’ [2024-08-27T05:05:39.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T05:05:40.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T05:05:40.700Z] + ls -al . [2024-08-27T05:05:40.701Z] total 376 [2024-08-27T05:05:40.701Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 04:55 . [2024-08-27T05:05:40.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 04:52 .. [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 04:52 .dockerignore [2024-08-27T05:05:40.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 04:52 .git [2024-08-27T05:05:40.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 04:52 .github [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 04:52 .gitignore [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 04:52 .golangci.yml [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 04:52 CHANGELOG.md [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 04:52 GOVERNANCE.md [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 04:52 Jenkinsfile [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 04:52 LICENSE [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 04:52 Makefile [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 04:52 OWNERS.md [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 04:52 README.md [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 04:47 VERSION [2024-08-27T05:05:40.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 04:52 bin [2024-08-27T05:05:40.701Z] -rw-r--r-- 1 jenkins jenkins 126054 Aug 27 05:01 coverage.out [2024-08-27T05:05:40.701Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 04:52 example [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 27 04:52 go.mod [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 04:52 go.sum [2024-08-27T05:05:40.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 04:52 internal [2024-08-27T05:05:40.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 04:52 openapi [2024-08-27T05:05:40.701Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 04:52 pkg [2024-08-27T05:05:40.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 04:52 snap [2024-08-27T05:05:40.701Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T05:05:41.175Z] + 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=ccbd45599170da3a7bfb27c29c06e0c34a54473e --label arch=arm64 --label version=0.0.0 . [2024-08-27T05:05:41.758Z] Sending build context to Docker daemon 13.17MB [2024-08-27T05:05:41.758Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T05:05:41.758Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T05:05:41.758Z] ---> 663e08f19f46 [2024-08-27T05:05:41.758Z] Step 3/24 : ARG MAKE=make build [2024-08-27T05:05:42.025Z] ---> Running in 244c2c46d50e [2024-08-27T05:05:42.292Z] Removing intermediate container 244c2c46d50e [2024-08-27T05:05:42.292Z] ---> 5904fad12a75 [2024-08-27T05:05:42.292Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T05:05:42.292Z] ---> Running in eea577ff60c8 [2024-08-27T05:05:42.874Z] Removing intermediate container eea577ff60c8 [2024-08-27T05:05:42.874Z] ---> 28da9d2c60e6 [2024-08-27T05:05:42.874Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T05:05:42.874Z] ---> Running in cd8d696fb0ca [2024-08-27T05:05:43.141Z] Removing intermediate container cd8d696fb0ca [2024-08-27T05:05:43.141Z] ---> c549fc2123df [2024-08-27T05:05:43.141Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T05:05:43.141Z] ---> Running in 0c48309ff9ca [2024-08-27T05:05:44.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T05:05:44.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T05:05:45.959Z] OK: 266 MiB in 52 packages [2024-08-27T05:05:46.543Z] Removing intermediate container 0c48309ff9ca [2024-08-27T05:05:46.543Z] ---> dab79157acb1 [2024-08-27T05:05:46.543Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T05:05:47.125Z] ---> bfff4e9939a1 [2024-08-27T05:05:47.125Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T05:05:47.125Z] ---> Running in c588d15e089b [2024-08-27T05:05:49.726Z] Removing intermediate container c588d15e089b [2024-08-27T05:05:49.726Z] ---> 3a87ad6a50de [2024-08-27T05:05:49.726Z] Step 9/24 : COPY . . [2024-08-27T05:05:51.146Z] ---> 15dddbd859f2 [2024-08-27T05:05:51.146Z] Step 10/24 : RUN ${MAKE} [2024-08-27T05:05:51.423Z] ---> Running in 67a6617bc5cc [2024-08-27T05:05:52.386Z] 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-08-27T05:09:59.276Z] Removing intermediate container 67a6617bc5cc [2024-08-27T05:09:59.276Z] ---> f3a9859b09f6 [2024-08-27T05:09:59.276Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T05:09:59.276Z] 3.18: Pulling from library/alpine [2024-08-27T05:09:59.276Z] 4983c3fe2029: Pulling fs layer [2024-08-27T05:09:59.276Z] 4983c3fe2029: Verifying Checksum [2024-08-27T05:09:59.276Z] 4983c3fe2029: Download complete [2024-08-27T05:09:59.276Z] 4983c3fe2029: Pull complete [2024-08-27T05:09:59.276Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T05:09:59.276Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T05:09:59.276Z] ---> a0237000ae83 [2024-08-27T05:09:59.276Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T05:09:59.276Z] ---> Running in 269534482cb5 [2024-08-27T05:09:59.276Z] Removing intermediate container 269534482cb5 [2024-08-27T05:09:59.276Z] ---> 33527c76186c [2024-08-27T05:09:59.276Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T05:09:59.276Z] ---> Running in fd973e6ffd9e [2024-08-27T05:09:59.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T05:09:59.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T05:09:59.276Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T05:09:59.276Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T05:09:59.276Z] OK: 8 MiB in 16 packages [2024-08-27T05:09:59.276Z] Removing intermediate container fd973e6ffd9e [2024-08-27T05:09:59.276Z] ---> 1ff887032203 [2024-08-27T05:09:59.276Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T05:09:59.276Z] ---> Running in 55183a988046 [2024-08-27T05:09:59.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T05:09:59.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T05:09:59.276Z] OK: 8 MiB in 16 packages [2024-08-27T05:09:59.863Z] Removing intermediate container 55183a988046 [2024-08-27T05:09:59.863Z] ---> 6a9a50a58d88 [2024-08-27T05:09:59.863Z] Step 15/24 : WORKDIR / [2024-08-27T05:10:00.135Z] ---> Running in d6e1b6474133 [2024-08-27T05:10:00.405Z] Removing intermediate container d6e1b6474133 [2024-08-27T05:10:00.405Z] ---> b4cbb0e0b79f [2024-08-27T05:10:00.405Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T05:10:00.992Z] ---> 73994979aa63 [2024-08-27T05:10:00.992Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T05:10:03.579Z] ---> 736787096495 [2024-08-27T05:10:03.579Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T05:10:04.164Z] ---> 1729a157d4e2 [2024-08-27T05:10:04.164Z] Step 19/24 : EXPOSE 59999 [2024-08-27T05:10:04.164Z] ---> Running in 8d64ccf4a50d [2024-08-27T05:10:04.441Z] Removing intermediate container 8d64ccf4a50d [2024-08-27T05:10:04.441Z] ---> d6b9fce781cb [2024-08-27T05:10:04.441Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T05:10:04.711Z] ---> Running in 100c0dea8293 [2024-08-27T05:10:04.978Z] Removing intermediate container 100c0dea8293 [2024-08-27T05:10:04.978Z] ---> b9321a1eaaff [2024-08-27T05:10:04.978Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T05:10:04.978Z] ---> Running in 42cffbf8bfe2 [2024-08-27T05:10:05.245Z] Removing intermediate container 42cffbf8bfe2 [2024-08-27T05:10:05.245Z] ---> 4a28e1a21250 [2024-08-27T05:10:05.245Z] Step 22/24 : LABEL arch=arm64 [2024-08-27T05:10:05.511Z] ---> Running in 63147f0fbf2a [2024-08-27T05:10:05.780Z] Removing intermediate container 63147f0fbf2a [2024-08-27T05:10:05.780Z] ---> 1372cc1150d1 [2024-08-27T05:10:05.780Z] Step 23/24 : LABEL git_sha=ccbd45599170da3a7bfb27c29c06e0c34a54473e [2024-08-27T05:10:05.780Z] ---> Running in 0f4fb0b1a0d9 [2024-08-27T05:10:06.057Z] Removing intermediate container 0f4fb0b1a0d9 [2024-08-27T05:10:06.057Z] ---> 993f21a5d71a [2024-08-27T05:10:06.057Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T05:10:06.324Z] ---> Running in c9ec12ae02e7 [2024-08-27T05:10:06.601Z] Removing intermediate container c9ec12ae02e7 [2024-08-27T05:10:06.601Z] ---> e4c93a170b50 [2024-08-27T05:10:06.601Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T05:10:06.601Z] Successfully built e4c93a170b50 [2024-08-27T05:10:06.601Z] 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-08-27T05:10:07.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T05:10:07.529Z] [2024-08-27T05:10:07.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T05:10:07.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T05:10:07.961Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-27T05:10:07.961Z] 8998bd30e6a1: Pulling fs layer [2024-08-27T05:10:07.961Z] 04944245beec: Pulling fs layer [2024-08-27T05:10:07.961Z] 699f458cf7ca: Pulling fs layer [2024-08-27T05:10:07.961Z] 765212b225bb: Pulling fs layer [2024-08-27T05:10:07.961Z] f23df028b6ca: Pulling fs layer [2024-08-27T05:10:08.228Z] d65c8cfc05b1: Pulling fs layer [2024-08-27T05:10:08.228Z] 2437ff75d9bd: Pulling fs layer [2024-08-27T05:10:08.228Z] 765212b225bb: Waiting [2024-08-27T05:10:08.228Z] f23df028b6ca: Waiting [2024-08-27T05:10:08.228Z] d65c8cfc05b1: Waiting [2024-08-27T05:10:08.228Z] 2437ff75d9bd: Waiting [2024-08-27T05:10:08.228Z] 04944245beec: Verifying Checksum [2024-08-27T05:10:08.228Z] 04944245beec: Download complete [2024-08-27T05:10:08.228Z] 765212b225bb: Download complete [2024-08-27T05:10:08.228Z] f23df028b6ca: Verifying Checksum [2024-08-27T05:10:08.228Z] f23df028b6ca: Download complete [2024-08-27T05:10:08.228Z] d65c8cfc05b1: Download complete [2024-08-27T05:10:08.496Z] 699f458cf7ca: Verifying Checksum [2024-08-27T05:10:08.496Z] 699f458cf7ca: Download complete [2024-08-27T05:10:09.089Z] 8998bd30e6a1: Download complete [2024-08-27T05:10:11.685Z] 2437ff75d9bd: Verifying Checksum [2024-08-27T05:10:11.685Z] 2437ff75d9bd: Download complete [2024-08-27T05:10:13.633Z] 8998bd30e6a1: Pull complete [2024-08-27T05:10:14.598Z] 04944245beec: Pull complete [2024-08-27T05:10:16.012Z] 699f458cf7ca: Pull complete [2024-08-27T05:10:16.280Z] 765212b225bb: Pull complete [2024-08-27T05:10:17.319Z] f23df028b6ca: Pull complete [2024-08-27T05:10:17.597Z] d65c8cfc05b1: Pull complete [2024-08-27T05:10:35.877Z] 2437ff75d9bd: Pull complete [2024-08-27T05:10:35.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-27T05:10:35.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T05:10:35.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T05:10:36.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container [2024-08-27T05:10:36.321Z] $ 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-08-27T05:10:39.231Z] $ docker top a8d310cf0d5fe88612588d59ce430e9fd77a3a0c2ca72338dec3664d0c3f55cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:40.189Z] ---> job-cost.sh [2024-08-27T05:10:40.189Z] lf-activate-venv: SKIPPING [2024-08-27T05:10:40.189Z] INFO: No Stack... [2024-08-27T05:10:40.773Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-27T05:10:41.732Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T05:10:42.486Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-27T05:10:42.487Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T05:10:42.581Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [2024-08-27T05:10:42.593Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] did not exist. Created. [2024-08-27T05:10:42.601Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T05:10:43.409Z] /w/workspace/device-sdk-go/1@tmp/durable-f83ba692/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-27T05:10:44.099Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-27T05:10:44.143Z] Warning: overwriting stash ‘stack-cost’ [2024-08-27T05:10:44.236Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T05:10:44.259Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1617-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T05:10:44.373Z] $ docker stop --time=1 a8d310cf0d5fe88612588d59ce430e9fd77a3a0c2ca72338dec3664d0c3f55cd [2024-08-27T05:10:45.943Z] $ docker rm -f --volumes a8d310cf0d5fe88612588d59ce430e9fd77a3a0c2ca72338dec3664d0c3f55cd [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-08-27T05:10:47.159Z] provisioning config files... [2024-08-27T05:10:47.179Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/config16675971113405659280tmp [Pipeline] { [Pipeline] sh [2024-08-27T05:10:47.542Z] + set +x [2024-08-27T05:10:47.542Z] + curl -s+ https://codecov.io/bash [2024-08-27T05:10:47.542Z] bash -s -- [2024-08-27T05:10:47.542Z] [2024-08-27T05:10:47.542Z] _____ _ [2024-08-27T05:10:47.542Z] / ____| | | [2024-08-27T05:10:47.542Z] | | ___ __| | ___ ___ _____ __ [2024-08-27T05:10:47.542Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-27T05:10:47.542Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-27T05:10:47.542Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-27T05:10:47.542Z] Bash-1.0.6 [2024-08-27T05:10:47.542Z] [2024-08-27T05:10:47.542Z] [2024-08-27T05:10:47.542Z] ==> git version 2.25.1 found [2024-08-27T05:10:47.542Z] ==> 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-08-27T05:10:47.542Z] Release-Date: 2020-01-08 [2024-08-27T05:10:47.542Z] 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-08-27T05:10:47.542Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-27T05:10:47.542Z] ==> Jenkins CI detected. [2024-08-27T05:10:47.542Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1617 [2024-08-27T05:10:47.542Z] project root: . [2024-08-27T05:10:47.542Z] --> token set from env [2024-08-27T05:10:47.542Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-27T05:10:47.542Z] ==> Running gcov in . (disable via -X gcov) [2024-08-27T05:10:47.542Z] ==> Python coveragepy not found [2024-08-27T05:10:47.542Z] ==> Searching for coverage reports in: [2024-08-27T05:10:47.542Z] + . [2024-08-27T05:10:47.542Z] -> Found 1 reports [2024-08-27T05:10:47.542Z] ==> Detecting git/mercurial file structure [2024-08-27T05:10:47.542Z] ==> Reading reports [2024-08-27T05:10:47.542Z] + ./coverage.out bytes=126054 [2024-08-27T05:10:47.542Z] ==> Appending adjustments [2024-08-27T05:10:47.542Z] https://docs.codecov.io/docs/fixing-reports [2024-08-27T05:10:48.111Z] + Found adjustments [2024-08-27T05:10:48.112Z] ==> Gzipping contents [2024-08-27T05:10:48.112Z] 20K /tmp/codecov.rihyEq.gz [2024-08-27T05:10:48.112Z] ==> Uploading reports [2024-08-27T05:10:48.112Z] url: https://codecov.io [2024-08-27T05:10:48.112Z] query: branch=PR-1617&commit=ccbd45599170da3a7bfb27c29c06e0c34a54473e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1617&job=&cmd_args= [2024-08-27T05:10:48.112Z] -> Pinging Codecov [2024-08-27T05:10:48.112Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1617&commit=ccbd45599170da3a7bfb27c29c06e0c34a54473e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1617&job=&cmd_args= [2024-08-27T05:10:48.112Z] -> Uploading to [2024-08-27T05:10:48.112Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-27/7E55EF52A471D76F132DFD9A03CDDE97/ccbd45599170da3a7bfb27c29c06e0c34a54473e/43b0fe25-406e-47e6-b2f5-578602870619.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T051047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a77c0bbcbb91ada3ebd3649afeedf266475ff268fc784c89c6f049943bc20dc [2024-08-27T05:10:48.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T05:10:48.112Z] Dload Upload Total Spent Left Speed [2024-08-27T05:10:48.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17144 0 0 100 17144 0 69408 --:--:-- --:--:-- --:--:-- 69408 [2024-08-27T05:10:48.370Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ccbd45599170da3a7bfb27c29c06e0c34a54473e [Pipeline] } [2024-08-27T05:10:48.401Z] 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-08-27T05:10:50.673Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives ] [2024-08-27T05:10:50.673Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives [2024-08-27T05:10:50.673Z] total 16 [2024-08-27T05:10:50.673Z] drwxr-xr-x 3 root root 4096 Aug 27 04:51 . [2024-08-27T05:10:50.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 04:51 .. [2024-08-27T05:10:50.673Z] drwxr-xr-x 2 root root 4096 Aug 27 04:51 cost [2024-08-27T05:10:50.673Z] -rw-r--r-- 1 root root 86 Aug 27 04:51 cost.csv [2024-08-27T05:10:50.673Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives [2024-08-27T05:10:50.673Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives [2024-08-27T05:10:50.673Z] total 16 [2024-08-27T05:10:50.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 04:51 . [2024-08-27T05:10:50.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 04:51 .. [2024-08-27T05:10:50.673Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 04:51 cost [2024-08-27T05:10:50.673Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 27 04:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:51.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:51.916Z] ---> package-listing.sh [2024-08-27T05:10:51.916Z] ++ facter osfamily [2024-08-27T05:10:51.916Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-27T05:10:52.176Z] + OS_FAMILY=debian [2024-08-27T05:10:52.176Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1617 [2024-08-27T05:10:52.176Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-27T05:10:52.176Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-27T05:10:52.176Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-27T05:10:52.176Z] + PACKAGES=/tmp/packages_start.txt [2024-08-27T05:10:52.176Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1617 ']' [2024-08-27T05:10:52.176Z] + PACKAGES=/tmp/packages_end.txt [2024-08-27T05:10:52.176Z] + case "${OS_FAMILY}" in [2024-08-27T05:10:52.176Z] + dpkg -l [2024-08-27T05:10:52.176Z] + grep '^ii' [2024-08-27T05:10:52.176Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-27T05:10:52.176Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-27T05:10:52.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-27T05:10:52.176Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1617 ']' [2024-08-27T05:10:52.176Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives/ [2024-08-27T05:10:52.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1617/archives/ [Pipeline] echo [2024-08-27T05:10:52.216Z] 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-1617/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-27T05:10:52.516Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T05:10:53.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T05:10:53.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T05:10:53.385Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2024-08-27T05:10:53.409Z] $ 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-1617/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-1617 -v /w/workspace/gexfoundry_device-sdk-go_PR-1617:/w/workspace/gexfoundry_device-sdk-go_PR-1617:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1617@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T05:10:53.630Z] $ docker top 049ffb51e8fba432c92e004cdda3c4c45b442e8595dcb7ef08dab4fcce81d225 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T05:10:54.052Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-27T05:10:54.373Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-27T05:10:54.699Z] + ls /var/log/sa-host [2024-08-27T05:10:54.699Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T05:10:54.861Z] provisioning config files... [2024-08-27T05:10:54.870Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1617@tmp/config7909106402626469102tmp [Pipeline] { [Pipeline] echo [2024-08-27T05:10:54.939Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:55.269Z] ---> create-netrc.sh [Pipeline] } [2024-08-27T05:10:55.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:55.732Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-27T05:10:55.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:56.098Z] ---> sudo-logs.sh [2024-08-27T05:10:56.098Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-27T05:10:56.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:56.524Z] ---> job-cost.sh [2024-08-27T05:10:56.524Z] lf-activate-venv: SKIPPING [2024-08-27T05:10:56.524Z] DEBUG: total: 0.2199999988079071 [2024-08-27T05:10:56.524Z] INFO: Retrieving Stack Cost... [2024-08-27T05:10:57.092Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T05:10:57.352Z] INFO: Archiving Costs [Pipeline] echo [2024-08-27T05:10:57.401Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T05:10:57.727Z] ---> logs-deploy.sh [2024-08-27T05:10:57.727Z] lf-activate-venv: SKIPPING [2024-08-27T05:10:57.727Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1617/1 [2024-08-27T05:10:57.727Z] INFO: archiving workspace using pattern(s): [2024-08-27T05:10:58.660Z] Archives upload complete. [2024-08-27T05:10:58.660Z] INFO: archiving logs to Nexus