Pull request #1624 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5f0eed32f87aaa18c73f1d3c21303874aaef1ba+083c381ac4cc923d13d653dabf1097f47e3433f3 (6c3405a2376f03491696b5f91387e0e453ad5525) 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-ssh1247750286044169372.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-ssh10582313067352331509.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-1624/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-1624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2430531419121381499.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-1624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13336473857888574522.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-ssh13889257600320988580.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-1624/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-1624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14279024682368383466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9560 in /w/workspace/gexfoundry_device-sdk-go_PR-1624 [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-1624 # 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 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit f5f0eed32f87aaa18c73f1d3c21303874aaef1ba Merge succeeded, producing f5f0eed32f87aaa18c73f1d3c21303874aaef1ba Checking out Revision f5f0eed32f87aaa18c73f1d3c21303874aaef1ba (PR-1624) > 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/1624/head:refs/remotes/origin/PR-1624 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-06T04:20:25.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-06T04:20:26.014Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-06T04:20:26.119Z] ========================================================= [2024-09-06T04:20:26.119Z] EdgeX Global Pipelines Version Info [2024-09-06T04:20:26.119Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:20:26.857Z] ------------------- [2024-09-06T04:20:26.857Z] stable info: [2024-09-06T04:20:26.857Z] ------------------- [2024-09-06T04:20:26.857Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-06T04:20:26.857Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-06T04:20:26.857Z] Message: update stable to v1.0.263 [2024-09-06T04:20:27.426Z] ------------------- [2024-09-06T04:20:27.426Z] experimental info: [2024-09-06T04:20:27.426Z] ------------------- [2024-09-06T04:20:27.426Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-06T04:20:27.426Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-06T04:20:27.426Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-06T04:20:27.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-06T04:20:27.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-06T04:20:27.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-06T04:20:27.823Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-06T04:20:27.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-06T04:20:27.943Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-06T04:20:27.998Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-06T04:20:28.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-06T04:20:28.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-06T04:20:28.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-06T04:20:28.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-06T04:20:28.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-06T04:20:28.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-06T04:20:28.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-06T04:20:28.475Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-06T04:20:28.534Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-06T04:20:28.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-06T04:20:28.650Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-06T04:20:28.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-06T04:20:28.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-06T04:20:28.839Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-06T04:20:28.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-06T04:20:28.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-06T04:20:29.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-06T04:20:29.090Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-06T04:20:29.156Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-06T04:20:29.214Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-06T04:20:29.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1624 [Pipeline] echo [2024-09-06T04:20:29.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1624 [Pipeline] echo [2024-09-06T04:20:29.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1624 [Pipeline] echo [2024-09-06T04:20:29.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo [2024-09-06T04:20:29.516Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f0eed [Pipeline] echo [2024-09-06T04:20:29.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-06T04:20:29.716Z] provisioning config files... [2024-09-06T04:20:29.728Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config13917196924861833884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:20:30.118Z] ---> ****-login.sh [2024-09-06T04:20:30.119Z] nexus3.edgexfoundry.org:10001 [2024-09-06T04:20:30.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:30.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:30.379Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:30.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:30.379Z] [2024-09-06T04:20:30.379Z] Login Succeeded [2024-09-06T04:20:30.379Z] nexus3.edgexfoundry.org:10002 [2024-09-06T04:20:30.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:30.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:30.637Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:30.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:30.637Z] [2024-09-06T04:20:30.637Z] Login Succeeded [2024-09-06T04:20:30.637Z] nexus3.edgexfoundry.org:10003 [2024-09-06T04:20:30.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:30.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:30.638Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:30.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:30.638Z] [2024-09-06T04:20:30.638Z] Login Succeeded [2024-09-06T04:20:30.638Z] nexus3.edgexfoundry.org:10004 [2024-09-06T04:20:30.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:30.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:30.898Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:30.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:30.898Z] [2024-09-06T04:20:30.898Z] Login Succeeded [2024-09-06T04:20:30.898Z] ****.io [2024-09-06T04:20:30.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:31.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:31.158Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:31.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:31.158Z] [2024-09-06T04:20:31.158Z] Login Succeeded [2024-09-06T04:20:31.158Z] ---> ****-login.sh ends [Pipeline] } [2024-09-06T04:20:31.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-06T04:20:31.950Z] + git rev-list -1 --merges f5f0eed32f87aaa18c73f1d3c21303874aaef1ba~1..f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo [2024-09-06T04:20:32.001Z] -----------> git rev-list -1 --merges f5f0eed32f87aaa18c73f1d3c21303874aaef1ba~1..f5f0eed32f87aaa18c73f1d3c21303874aaef1ba f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [false] [Pipeline] sh [2024-09-06T04:20:32.324Z] + git log --format=format:%s -1 f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo [2024-09-06T04:20:32.364Z] ========================================================= [2024-09-06T04:20:32.364Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-06T04:20:32.364Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-06T04:20:32.794Z] + git log --format=format:%s -1 f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo [2024-09-06T04:20:32.831Z] [semverPrep] GIT_COMMIT: f5f0eed32f87aaa18c73f1d3c21303874aaef1ba, Commit Message: build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0 [Pipeline] echo [2024-09-06T04:20:32.868Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-06T04:20:33.268Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-06T04:20:33.268Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-06T04:20:33.268Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-06T04:20:33.268Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-06T04:20:33.268Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-06T04:20:33.268Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-06T04:20:33.268Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:20:33.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-06T04:20:33.712Z] [2024-09-06T04:20:33.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:20:34.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-06T04:20:34.115Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-06T04:20:34.115Z] b85a868b505f: Pulling fs layer [2024-09-06T04:20:34.115Z] e2be974225ed: Pulling fs layer [2024-09-06T04:20:34.115Z] 339a4e72a1f5: Pulling fs layer [2024-09-06T04:20:34.115Z] 988bab9f4d93: Pulling fs layer [2024-09-06T04:20:34.116Z] 1469e6f7b9e6: Pulling fs layer [2024-09-06T04:20:34.116Z] eaf3925da568: Pulling fs layer [2024-09-06T04:20:34.116Z] bab4dde63d76: Pulling fs layer [2024-09-06T04:20:34.116Z] bde34c3a00c8: Pulling fs layer [2024-09-06T04:20:34.116Z] b352a97aabf1: Pulling fs layer [2024-09-06T04:20:34.116Z] 4872d77fe225: Pulling fs layer [2024-09-06T04:20:34.116Z] 5851b861e8e6: Pulling fs layer [2024-09-06T04:20:34.116Z] 1469e6f7b9e6: Waiting [2024-09-06T04:20:34.116Z] eaf3925da568: Waiting [2024-09-06T04:20:34.116Z] bab4dde63d76: Waiting [2024-09-06T04:20:34.116Z] 4872d77fe225: Waiting [2024-09-06T04:20:34.116Z] 988bab9f4d93: Waiting [2024-09-06T04:20:34.116Z] 5851b861e8e6: Waiting [2024-09-06T04:20:34.116Z] b352a97aabf1: Waiting [2024-09-06T04:20:34.116Z] e2be974225ed: Download complete [2024-09-06T04:20:34.116Z] 988bab9f4d93: Verifying Checksum [2024-09-06T04:20:34.116Z] 988bab9f4d93: Download complete [2024-09-06T04:20:34.116Z] 1469e6f7b9e6: Verifying Checksum [2024-09-06T04:20:34.116Z] 1469e6f7b9e6: Download complete [2024-09-06T04:20:34.374Z] eaf3925da568: Verifying Checksum [2024-09-06T04:20:34.374Z] eaf3925da568: Download complete [2024-09-06T04:20:34.374Z] 339a4e72a1f5: Verifying Checksum [2024-09-06T04:20:34.374Z] 339a4e72a1f5: Download complete [2024-09-06T04:20:34.374Z] bde34c3a00c8: Verifying Checksum [2024-09-06T04:20:34.374Z] bde34c3a00c8: Download complete [2024-09-06T04:20:34.374Z] b352a97aabf1: Download complete [2024-09-06T04:20:34.374Z] 4872d77fe225: Verifying Checksum [2024-09-06T04:20:34.374Z] 4872d77fe225: Download complete [2024-09-06T04:20:34.374Z] 5851b861e8e6: Verifying Checksum [2024-09-06T04:20:34.374Z] 5851b861e8e6: Download complete [2024-09-06T04:20:34.374Z] b85a868b505f: Verifying Checksum [2024-09-06T04:20:34.374Z] b85a868b505f: Download complete [2024-09-06T04:20:34.633Z] bab4dde63d76: Verifying Checksum [2024-09-06T04:20:34.633Z] bab4dde63d76: Download complete [2024-09-06T04:20:35.569Z] b85a868b505f: Pull complete [2024-09-06T04:20:35.569Z] e2be974225ed: Pull complete [2024-09-06T04:20:36.138Z] 339a4e72a1f5: Pull complete [2024-09-06T04:20:36.138Z] 988bab9f4d93: Pull complete [2024-09-06T04:20:36.396Z] 1469e6f7b9e6: Pull complete [2024-09-06T04:20:36.396Z] eaf3925da568: Pull complete [2024-09-06T04:20:38.297Z] bab4dde63d76: Pull complete [2024-09-06T04:20:38.297Z] bde34c3a00c8: Pull complete [2024-09-06T04:20:38.297Z] b352a97aabf1: Pull complete [2024-09-06T04:20:38.297Z] 4872d77fe225: Pull complete [2024-09-06T04:20:38.556Z] 5851b861e8e6: Pull complete [2024-09-06T04:20:38.556Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-06T04:20:38.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-06T04:20:38.556Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:20:38.836Z] prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container [2024-09-06T04:20:38.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-06T04:20:41.003Z] $ docker top fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 -eo pid,comm [2024-09-06T04:20:41.050Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-06T04:20:41.050Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-06T04:20:41.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-06T04:20:41.197Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-06T04:20:41.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-06T04:20:41.312Z] $ docker exec fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent [2024-09-06T04:20:41.412Z] SSH_AUTH_SOCK=/tmp/ssh-fJsCmOeAS2D5/agent.32 [2024-09-06T04:20:41.412Z] SSH_AGENT_PID=38 [2024-09-06T04:20:41.417Z] Running ssh-add (command line suppressed) [2024-09-06T04:20:41.517Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_13873072502484891834.key (/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_13873072502484891834.key) [2024-09-06T04:20:41.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-06T04:20:41.870Z] + git tag --points-at HEAD [Pipeline] } [2024-09-06T04:20:41.896Z] $ docker exec --env ******** --env ******** fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent -k [2024-09-06T04:20:41.986Z] unset SSH_AUTH_SOCK; [2024-09-06T04:20:41.986Z] unset SSH_AGENT_PID; [2024-09-06T04:20:41.986Z] echo Agent pid 38 killed; [2024-09-06T04:20:41.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-06T04:20:42.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-06T04:20:42.106Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-06T04:20:42.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-06T04:20:42.222Z] $ docker exec fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent [2024-09-06T04:20:42.324Z] SSH_AUTH_SOCK=/tmp/ssh-qhP7Vi4mrAik/agent.71 [2024-09-06T04:20:42.324Z] SSH_AGENT_PID=77 [2024-09-06T04:20:42.328Z] Running ssh-add (command line suppressed) [2024-09-06T04:20:42.434Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_8572193670552736594.key (/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_8572193670552736594.key) [2024-09-06T04:20:42.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-06T04:20:42.786Z] + git semver init [2024-09-06T04:20:43.050Z] 2024-09-06 04:20:42,952 [run_init] DEBUG init version:0.0.0 force:False [2024-09-06T04:20:43.050Z] 2024-09-06 04:20:42,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver [2024-09-06T04:20:43.050Z] 2024-09-06 04:20:42,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver [2024-09-06T04:20:43.050Z] 2024-09-06 04:20:42,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624, universal_newlines=False, shell=None, istream=None) [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,938 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.git/info/exclude [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 with force:False [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,943 [execute] INFO git cat-file --batch-check [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver, universal_newlines=False, shell=None, istream=) [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,951 [execute] INFO git cat-file --batch [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver, universal_newlines=False, shell=None, istream=) [2024-09-06T04:20:44.960Z] 2024-09-06 04:20:44,956 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 [2024-09-06T04:20:44.960Z] 0.0.0 [Pipeline] } [2024-09-06T04:20:45.236Z] $ docker exec --env ******** --env ******** fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent -k [2024-09-06T04:20:45.334Z] unset SSH_AUTH_SOCK; [2024-09-06T04:20:45.335Z] unset SSH_AGENT_PID; [2024-09-06T04:20:45.335Z] echo Agent pid 77 killed; [2024-09-06T04:20:45.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-06T04:20:45.813Z] + git semver [Pipeline] } [2024-09-06T04:20:46.099Z] $ docker stop --time=1 fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 [2024-09-06T04:20:47.383Z] $ docker rm -f --volumes fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-06T04:20:47.814Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-06T04:20:48.112Z] Stashed 1 file(s) [Pipeline] echo [2024-09-06T04:20:48.136Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-06T04:20:48.817Z] provisioning config files... [2024-09-06T04:20:48.826Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config4624813022527752481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:20:49.195Z] ---> ****-login.sh [2024-09-06T04:20:49.195Z] nexus3.edgexfoundry.org:10001 [2024-09-06T04:20:49.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:49.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:49.195Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:49.195Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:49.195Z] [2024-09-06T04:20:49.195Z] Login Succeeded [2024-09-06T04:20:49.195Z] nexus3.edgexfoundry.org:10002 [2024-09-06T04:20:49.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:49.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:49.195Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:49.195Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:49.195Z] [2024-09-06T04:20:49.195Z] Login Succeeded [2024-09-06T04:20:49.195Z] nexus3.edgexfoundry.org:10003 [2024-09-06T04:20:49.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:49.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:49.454Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:49.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:49.454Z] [2024-09-06T04:20:49.454Z] Login Succeeded [2024-09-06T04:20:49.454Z] nexus3.edgexfoundry.org:10004 [2024-09-06T04:20:49.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:49.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:49.454Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:49.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:49.454Z] [2024-09-06T04:20:49.454Z] Login Succeeded [2024-09-06T04:20:49.454Z] ****.io [2024-09-06T04:20:49.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:20:49.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:20:49.716Z] Configure a credential helper to remove this warning. See [2024-09-06T04:20:49.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:20:49.716Z] [2024-09-06T04:20:49.716Z] Login Succeeded [2024-09-06T04:20:49.716Z] ---> ****-login.sh ends [Pipeline] } [2024-09-06T04:20:49.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-06T04:20:49.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-06T04:20:50.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-06T04:20:50.051Z] ========================================================= [2024-09-06T04:20:50.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-06T04:20:50.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:20:50.547Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-06T04:20:50.547Z] Sending build context to Docker daemon 25.3MB [2024-09-06T04:20:50.547Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-06T04:20:50.547Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-06T04:20:50.808Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-06T04:20:50.808Z] 619be1103602: Pulling fs layer [2024-09-06T04:20:50.808Z] 7862e08f4a3e: Pulling fs layer [2024-09-06T04:20:50.808Z] 5df492c9dc93: Pulling fs layer [2024-09-06T04:20:50.808Z] 7629e6793208: Pulling fs layer [2024-09-06T04:20:50.808Z] 4f4fb700ef54: Pulling fs layer [2024-09-06T04:20:50.808Z] fb5054dd5b73: Pulling fs layer [2024-09-06T04:20:50.808Z] eeca6798cff9: Pulling fs layer [2024-09-06T04:20:50.808Z] aa269ceb94a6: Pulling fs layer [2024-09-06T04:20:50.808Z] ada007ff1a6a: Pulling fs layer [2024-09-06T04:20:50.808Z] 4f4fb700ef54: Waiting [2024-09-06T04:20:50.808Z] fb5054dd5b73: Waiting [2024-09-06T04:20:50.808Z] eeca6798cff9: Waiting [2024-09-06T04:20:50.808Z] aa269ceb94a6: Waiting [2024-09-06T04:20:50.808Z] 7629e6793208: Waiting [2024-09-06T04:20:50.808Z] ada007ff1a6a: Waiting [2024-09-06T04:20:50.808Z] 7862e08f4a3e: Verifying Checksum [2024-09-06T04:20:50.808Z] 7862e08f4a3e: Download complete [2024-09-06T04:20:50.808Z] 7629e6793208: Verifying Checksum [2024-09-06T04:20:50.808Z] 7629e6793208: Download complete [2024-09-06T04:20:50.808Z] 4f4fb700ef54: Download complete [2024-09-06T04:20:50.808Z] fb5054dd5b73: Verifying Checksum [2024-09-06T04:20:50.808Z] fb5054dd5b73: Download complete [2024-09-06T04:20:50.808Z] 619be1103602: Verifying Checksum [2024-09-06T04:20:50.808Z] 619be1103602: Download complete [2024-09-06T04:20:50.808Z] eeca6798cff9: Verifying Checksum [2024-09-06T04:20:50.808Z] eeca6798cff9: Download complete [2024-09-06T04:20:51.069Z] 619be1103602: Pull complete [2024-09-06T04:20:51.069Z] ada007ff1a6a: Verifying Checksum [2024-09-06T04:20:51.069Z] ada007ff1a6a: Download complete [2024-09-06T04:20:51.069Z] 7862e08f4a3e: Pull complete [2024-09-06T04:20:51.069Z] 5df492c9dc93: Verifying Checksum [2024-09-06T04:20:51.069Z] 5df492c9dc93: Download complete [2024-09-06T04:20:51.636Z] aa269ceb94a6: Download complete [2024-09-06T04:20:54.172Z] 5df492c9dc93: Pull complete [2024-09-06T04:20:54.432Z] 7629e6793208: Pull complete [2024-09-06T04:20:54.432Z] 4f4fb700ef54: Pull complete [2024-09-06T04:20:54.432Z] fb5054dd5b73: Pull complete [2024-09-06T04:20:54.690Z] eeca6798cff9: Pull complete [2024-09-06T04:20:57.218Z] aa269ceb94a6: Pull complete [2024-09-06T04:20:57.218Z] ada007ff1a6a: Pull complete [2024-09-06T04:20:57.218Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-06T04:20:57.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-06T04:20:57.218Z] ---> f489d0715acc [2024-09-06T04:20:57.218Z] Step 3/10 : ARG MAKE=make build [2024-09-06T04:21:01.412Z] ---> Running in 45df01b5d122 [2024-09-06T04:21:01.412Z] Removing intermediate container 45df01b5d122 [2024-09-06T04:21:01.412Z] ---> 691238f59d78 [2024-09-06T04:21:01.412Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-06T04:21:01.412Z] ---> Running in 4d6e5f13d58e [2024-09-06T04:21:01.412Z] Removing intermediate container 4d6e5f13d58e [2024-09-06T04:21:01.412Z] ---> 4b9be892c732 [2024-09-06T04:21:01.412Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-06T04:21:01.412Z] ---> Running in b1e6c8d23cf6 [2024-09-06T04:21:01.412Z] Removing intermediate container b1e6c8d23cf6 [2024-09-06T04:21:01.412Z] ---> d3752c5eb30b [2024-09-06T04:21:01.412Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-06T04:21:01.412Z] ---> Running in bc3d2af5322b [2024-09-06T04:21:01.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-06T04:21:01.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-06T04:21:01.672Z] OK: 264 MiB in 52 packages [2024-09-06T04:21:01.932Z] Removing intermediate container bc3d2af5322b [2024-09-06T04:21:01.933Z] ---> 42580a3c393b [2024-09-06T04:21:01.933Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-06T04:21:02.192Z] ---> 89d764a03683 [2024-09-06T04:21:02.192Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-06T04:21:02.192Z] ---> Running in 12e5d45a1539 [2024-09-06T04:21:03.589Z] Still waiting to schedule task [2024-09-06T04:21:03.590Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9559’ [2024-09-06T04:21:48.900Z] Removing intermediate container 12e5d45a1539 [2024-09-06T04:21:48.900Z] ---> 76d8943033f9 [2024-09-06T04:21:48.900Z] Step 9/10 : COPY . . [2024-09-06T04:21:48.900Z] ---> 30051fe5a145 [2024-09-06T04:21:48.900Z] Step 10/10 : RUN ${MAKE} [2024-09-06T04:21:48.900Z] ---> Running in 89ad1094dbb1 [2024-09-06T04:21:48.900Z] noop [2024-09-06T04:21:48.900Z] Removing intermediate container 89ad1094dbb1 [2024-09-06T04:21:48.900Z] ---> fcbceb772c20 [2024-09-06T04:21:48.900Z] Successfully built fcbceb772c20 [2024-09-06T04:21:48.900Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:21:49.383Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-06T04:21:49.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:21:49.559Z] prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container [2024-09-06T04:21:49.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-06T04:21:49.911Z] $ docker top e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-06T04:21:50.343Z] + go version [2024-09-06T04:21:50.344Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-06T04:21:50.380Z] $ docker stop --time=1 e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 [2024-09-06T04:21:51.654Z] $ docker rm -f --volumes e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:21:52.716Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-06T04:21:52.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:21:52.888Z] prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container [2024-09-06T04:21:52.921Z] $ 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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-06T04:21:53.231Z] $ docker top 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-06T04:21:53.629Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1624 [Pipeline] fileExists [Pipeline] sh [2024-09-06T04:21:53.992Z] + make test [2024-09-06T04:21:53.992Z] go test -race -coverprofile=coverage.out ./... [2024-09-06T04:22:00.558Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-06T04:22:27.113Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 26.0% of statements [2024-09-06T04:22:27.113Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-09-06T04:22:27.113Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-06T04:22:27.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-06T04:22:28.052Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements [2024-09-06T04:22:28.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-06T04:22:31.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-09-06T04:22:31.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.798s coverage: 44.6% of statements [2024-09-06T04:22:31.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements [2024-09-06T04:22:31.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.076s coverage: 89.2% of statements [2024-09-06T04:22:31.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.3% of statements [2024-09-06T04:23:03.238Z] GO111MODULE=on go vet ./... [2024-09-06T04:23:07.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-06T04:23:07.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-06T04:23:07.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-06T04:23:07.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-06T04:23:07.750Z] $ docker stop --time=1 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d [2024-09-06T04:23:11.452Z] $ docker rm -f --volumes 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-06T04:23:12.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-06T04:23:12.265Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-06T04:23:12.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-06T04:23:13.220Z] + ls -al . [2024-09-06T04:23:13.220Z] total 384 [2024-09-06T04:23:13.220Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 04:21 . [2024-09-06T04:23:13.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:20 .. [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:20 .dockerignore [2024-09-06T04:23:13.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:22 .git [2024-09-06T04:23:13.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:20 .github [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:20 .gitignore [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:20 .golangci.yml [2024-09-06T04:23:13.220Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:20 .semver [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 6 04:20 CHANGELOG.md [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:20 GOVERNANCE.md [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:20 Jenkinsfile [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:20 LICENSE [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:20 Makefile [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:20 OWNERS.md [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 6 04:20 README.md [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:20 VERSION [2024-09-06T04:23:13.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:20 bin [2024-09-06T04:23:13.220Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 6 04:22 coverage.out [2024-09-06T04:23:13.220Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:20 example [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 6 04:20 go.mod [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 6 04:20 go.sum [2024-09-06T04:23:13.220Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 6 04:20 internal [2024-09-06T04:23:13.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:20 openapi [2024-09-06T04:23:13.220Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:20 pkg [2024-09-06T04:23:13.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:20 snap [2024-09-06T04:23:13.220Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:23:13.649Z] + 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=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba --label arch=amd64 --label version=0.0.0 . [2024-09-06T04:23:13.649Z] Sending build context to Docker daemon 25.43MB [2024-09-06T04:23:13.649Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-06T04:23:13.649Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-06T04:23:13.649Z] ---> fcbceb772c20 [2024-09-06T04:23:13.649Z] Step 3/24 : ARG MAKE=make build [2024-09-06T04:23:13.907Z] ---> Running in f9068483068b [2024-09-06T04:23:14.166Z] Removing intermediate container f9068483068b [2024-09-06T04:23:14.166Z] ---> c8495d88d294 [2024-09-06T04:23:14.166Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-06T04:23:14.166Z] ---> Running in e64f171379a2 [2024-09-06T04:23:14.166Z] Removing intermediate container e64f171379a2 [2024-09-06T04:23:14.166Z] ---> 4c71a30d4890 [2024-09-06T04:23:14.166Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-06T04:23:14.166Z] ---> Running in 81216be44a70 [2024-09-06T04:23:14.166Z] Removing intermediate container 81216be44a70 [2024-09-06T04:23:14.166Z] ---> 6968d873b87d [2024-09-06T04:23:14.166Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-06T04:23:14.166Z] ---> Running in 4ae679800ddd [2024-09-06T04:23:14.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:14.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:14.994Z] OK: 264 MiB in 52 packages [2024-09-06T04:23:15.252Z] Removing intermediate container 4ae679800ddd [2024-09-06T04:23:15.252Z] ---> 7a12e2944b3b [2024-09-06T04:23:15.252Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-06T04:23:15.510Z] ---> 510487f43453 [2024-09-06T04:23:15.510Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-06T04:23:15.510Z] ---> Running in ce663bc646a7 [2024-09-06T04:23:16.077Z] Removing intermediate container ce663bc646a7 [2024-09-06T04:23:16.077Z] ---> 76828500e5a5 [2024-09-06T04:23:16.077Z] Step 9/24 : COPY . . [2024-09-06T04:23:16.647Z] ---> 0234f3423ad0 [2024-09-06T04:23:16.647Z] Step 10/24 : RUN ${MAKE} [2024-09-06T04:23:16.647Z] ---> Running in 5eaf2059a888 [2024-09-06T04:23:16.908Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-09-06T04:23:49.016Z] Removing intermediate container 5eaf2059a888 [2024-09-06T04:23:49.016Z] ---> 65df0645cdaa [2024-09-06T04:23:49.016Z] Step 11/24 : FROM alpine:3.18 [2024-09-06T04:23:49.016Z] 3.18: Pulling from library/alpine [2024-09-06T04:23:49.016Z] 930bdd4d222e: Pulling fs layer [2024-09-06T04:23:49.016Z] 930bdd4d222e: Verifying Checksum [2024-09-06T04:23:49.016Z] 930bdd4d222e: Download complete [2024-09-06T04:23:49.016Z] 930bdd4d222e: Pull complete [2024-09-06T04:23:49.016Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-06T04:23:49.016Z] Status: Downloaded newer image for alpine:3.18 [2024-09-06T04:23:49.016Z] ---> 18f865063206 [2024-09-06T04:23:49.016Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-06T04:23:49.016Z] ---> Running in a52add8bd8c4 [2024-09-06T04:23:49.016Z] Removing intermediate container a52add8bd8c4 [2024-09-06T04:23:49.016Z] ---> 6b10726eb369 [2024-09-06T04:23:49.016Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-06T04:23:49.016Z] ---> Running in 59184d25d214 [2024-09-06T04:23:49.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:49.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:49.016Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-06T04:23:49.016Z] Executing busybox-1.36.1-r7.trigger [2024-09-06T04:23:49.016Z] OK: 7 MiB in 16 packages [2024-09-06T04:23:49.016Z] Removing intermediate container 59184d25d214 [2024-09-06T04:23:49.016Z] ---> 9365faeebe6a [2024-09-06T04:23:49.016Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-06T04:23:49.016Z] ---> Running in 887ead3651e8 [2024-09-06T04:23:49.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:49.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-06T04:23:49.016Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-06T04:23:49.016Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-06T04:23:49.016Z] OK: 7 MiB in 16 packages [2024-09-06T04:23:49.016Z] Removing intermediate container 887ead3651e8 [2024-09-06T04:23:49.016Z] ---> ae0a4ecb238f [2024-09-06T04:23:49.016Z] Step 15/24 : WORKDIR / [2024-09-06T04:23:49.016Z] ---> Running in 41a9a99e2222 [2024-09-06T04:23:49.016Z] Removing intermediate container 41a9a99e2222 [2024-09-06T04:23:49.016Z] ---> 3ef6ee7e469e [2024-09-06T04:23:49.016Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-06T04:23:49.016Z] ---> acaa0c440c3b [2024-09-06T04:23:49.016Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-06T04:23:49.275Z] ---> 43bcc596e4f1 [2024-09-06T04:23:49.275Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-06T04:23:49.275Z] ---> a0f5a603a08b [2024-09-06T04:23:49.275Z] Step 19/24 : EXPOSE 59999 [2024-09-06T04:23:49.275Z] ---> Running in 9c86209497f1 [2024-09-06T04:23:49.535Z] Removing intermediate container 9c86209497f1 [2024-09-06T04:23:49.535Z] ---> 1d48596755a4 [2024-09-06T04:23:49.535Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-06T04:23:49.535Z] ---> Running in ca6ebb4a1e6e [2024-09-06T04:23:49.535Z] Removing intermediate container ca6ebb4a1e6e [2024-09-06T04:23:49.535Z] ---> d7e8b15e0c61 [2024-09-06T04:23:49.535Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-06T04:23:49.535Z] ---> Running in 15e6ca8a71fd [2024-09-06T04:23:49.794Z] Removing intermediate container 15e6ca8a71fd [2024-09-06T04:23:49.794Z] ---> 0a988c94be13 [2024-09-06T04:23:49.794Z] Step 22/24 : LABEL arch=amd64 [2024-09-06T04:23:49.794Z] ---> Running in e862f866263b [2024-09-06T04:23:49.794Z] Removing intermediate container e862f866263b [2024-09-06T04:23:49.794Z] ---> b65c30dbc916 [2024-09-06T04:23:49.794Z] Step 23/24 : LABEL git_sha=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [2024-09-06T04:23:49.794Z] ---> Running in 0627ea90e07b [2024-09-06T04:23:49.794Z] Removing intermediate container 0627ea90e07b [2024-09-06T04:23:49.794Z] ---> e027a8feea03 [2024-09-06T04:23:49.794Z] Step 24/24 : LABEL version=0.0.0 [2024-09-06T04:23:49.794Z] ---> Running in cb5efad2a43e [2024-09-06T04:23:50.054Z] Removing intermediate container cb5efad2a43e [2024-09-06T04:23:50.054Z] ---> 53705821aef2 [2024-09-06T04:23:50.054Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-06T04:23:50.054Z] Successfully built 53705821aef2 [2024-09-06T04:23:50.054Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:23:51.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-06T04:23:51.244Z] [2024-09-06T04:23:51.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:23:51.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-06T04:23:51.636Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-06T04:23:51.636Z] 5eb5b503b376: Pulling fs layer [2024-09-06T04:23:51.636Z] 5c69ac0246d0: Pulling fs layer [2024-09-06T04:23:51.636Z] ec43610c2a17: Pulling fs layer [2024-09-06T04:23:51.636Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-06T04:23:51.636Z] 33b1e0a273af: Pulling fs layer [2024-09-06T04:23:51.636Z] 5d3b04190fa2: Pulling fs layer [2024-09-06T04:23:51.636Z] 2f39f015ded8: Pulling fs layer [2024-09-06T04:23:51.636Z] 33b1e0a273af: Waiting [2024-09-06T04:23:51.636Z] 3a2ae6a8a46f: Waiting [2024-09-06T04:23:51.636Z] 5d3b04190fa2: Waiting [2024-09-06T04:23:51.636Z] 5c69ac0246d0: Verifying Checksum [2024-09-06T04:23:51.636Z] 5c69ac0246d0: Download complete [2024-09-06T04:23:51.636Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-06T04:23:51.636Z] 3a2ae6a8a46f: Download complete [2024-09-06T04:23:51.636Z] 33b1e0a273af: Verifying Checksum [2024-09-06T04:23:51.636Z] 33b1e0a273af: Download complete [2024-09-06T04:23:51.636Z] 5d3b04190fa2: Verifying Checksum [2024-09-06T04:23:51.636Z] 5d3b04190fa2: Download complete [2024-09-06T04:23:51.636Z] ec43610c2a17: Verifying Checksum [2024-09-06T04:23:51.636Z] ec43610c2a17: Download complete [2024-09-06T04:23:51.895Z] 5eb5b503b376: Verifying Checksum [2024-09-06T04:23:51.895Z] 5eb5b503b376: Download complete [2024-09-06T04:23:52.459Z] 2f39f015ded8: Download complete [2024-09-06T04:23:53.025Z] 5eb5b503b376: Pull complete [2024-09-06T04:23:53.025Z] 5c69ac0246d0: Pull complete [2024-09-06T04:23:53.283Z] ec43610c2a17: Pull complete [2024-09-06T04:23:53.545Z] 3a2ae6a8a46f: Pull complete [2024-09-06T04:23:53.807Z] 33b1e0a273af: Pull complete [2024-09-06T04:23:53.807Z] 5d3b04190fa2: Pull complete [2024-09-06T04:23:56.687Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9561 in /w/workspace/gexfoundry_device-sdk-go_PR-1624 [Pipeline] { [Pipeline] ws [2024-09-06T04:23:56.765Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-09-06T04:23:57.984Z] 2f39f015ded8: Pull complete [2024-09-06T04:23:57.984Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-06T04:23:57.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-06T04:23:57.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-06T04:23:59.868Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:24:00.133Z] prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container [2024-09-06T04:24:00.166Z] $ 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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-06T04:24:03.340Z] $ docker top 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:24:03.806Z] ---> job-cost.sh [2024-09-06T04:24:03.806Z] lf-activate-venv: SKIPPING [2024-09-06T04:24:03.806Z] INFO: No Stack... [2024-09-06T04:24:04.064Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-06T04:24:04.323Z] INFO: Archiving Costs [2024-09-06T04:24:04.336Z] using credential edgex-jenkins-ssh [2024-09-06T04:24:04.358Z] Cloning the remote Git repository [Pipeline] sh [2024-09-06T04:24:04.646Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/cost.csv [2024-09-06T04:24:04.646Z] + cut -d, -f6 [Pipeline] lock [2024-09-06T04:24:04.699Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [2024-09-06T04:24:04.706Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] did not exist. Created. [2024-09-06T04:24:04.713Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] { [2024-09-06T04:24:04.396Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-06T04:24:04.487Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-06T04:24:04.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-06T04:24:04.634Z] > git --version # timeout=10 [2024-09-06T04:24:04.655Z] > git --version # 'git version 2.25.1' [2024-09-06T04:24:04.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] unstash [Pipeline] sh [2024-09-06T04:24:05.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-06T04:24:05.203Z] Stashed 1 file(s) [Pipeline] } [2024-09-06T04:24:05.236Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-06T04:24:05.318Z] $ docker stop --time=1 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 [2024-09-06T04:24:04.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-06T04:24:06.480Z] $ docker rm -f --volumes 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-06T04:24:08.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-06T04:24:08.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-06T04:24:09.543Z] Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [2024-09-06T04:24:09.860Z] Merge succeeded, producing f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [2024-09-06T04:24:09.861Z] Checking out Revision f5f0eed32f87aaa18c73f1d3c21303874aaef1ba (PR-1624) [2024-09-06T04:24:08.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-06T04:24:08.982Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-06T04:24:08.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-06T04:24:09.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1624/head:refs/remotes/origin/PR-1624 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-06T04:24:09.559Z] > git config core.sparsecheckout # timeout=10 [2024-09-06T04:24:09.629Z] > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 [2024-09-06T04:24:09.742Z] > git remote # timeout=10 [2024-09-06T04:24:09.765Z] > git config --get remote.origin.url # timeout=10 [2024-09-06T04:24:09.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-06T04:24:09.805Z] > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [2024-09-06T04:24:09.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-06T04:24:09.866Z] > git config core.sparsecheckout # timeout=10 [2024-09-06T04:24:09.882Z] > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 [2024-09-06T04:24:10.443Z] Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0" [2024-09-06T04:24:10.485Z] > git --version # timeout=10 [2024-09-06T04:24:10.496Z] > git --version # 'git version 2.25.1' [2024-09-06T04:24:10.514Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-06T04:24:15.568Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-06T04:24:15.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-06T04:24:15.568Z] Dload Upload Total Spent Left Speed [2024-09-06T04:24:15.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-09-06T04:24:15.933Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-06T04:24:16.288Z] + sudo tee /etc/docker/daemon.new [2024-09-06T04:24:16.288Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-06T04:24:16.288Z] { [2024-09-06T04:24:16.288Z] "registry-mirrors": [ [2024-09-06T04:24:16.288Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-06T04:24:16.288Z] ], [2024-09-06T04:24:16.288Z] "bip": "10.250.0.254/24", [2024-09-06T04:24:16.288Z] "hosts": [ [2024-09-06T04:24:16.288Z] "tcp://0.0.0.0:5555", [2024-09-06T04:24:16.288Z] "unix:///var/run/docker.sock" [2024-09-06T04:24:16.288Z] ], [2024-09-06T04:24:16.288Z] "mtu": 1458, [2024-09-06T04:24:16.288Z] "selinux-enabled": true, [2024-09-06T04:24:16.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-06T04:24:16.288Z] } [Pipeline] sh [2024-09-06T04:24:16.646Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-06T04:24:17.008Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-06T04:24:35.370Z] provisioning config files... [2024-09-06T04:24:35.404Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15859285133948319549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:24:35.900Z] ---> ****-login.sh [2024-09-06T04:24:35.900Z] nexus3.edgexfoundry.org:10001 [2024-09-06T04:24:36.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:24:36.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:24:36.444Z] Configure a credential helper to remove this warning. See [2024-09-06T04:24:36.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:24:36.445Z] [2024-09-06T04:24:36.445Z] Login Succeeded [2024-09-06T04:24:36.445Z] nexus3.edgexfoundry.org:10002 [2024-09-06T04:24:36.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:24:36.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:24:36.981Z] Configure a credential helper to remove this warning. See [2024-09-06T04:24:36.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:24:36.981Z] [2024-09-06T04:24:36.981Z] Login Succeeded [2024-09-06T04:24:36.981Z] nexus3.edgexfoundry.org:10003 [2024-09-06T04:24:37.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:24:37.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:24:37.249Z] Configure a credential helper to remove this warning. See [2024-09-06T04:24:37.249Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:24:37.249Z] [2024-09-06T04:24:37.249Z] Login Succeeded [2024-09-06T04:24:37.249Z] nexus3.edgexfoundry.org:10004 [2024-09-06T04:24:37.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:24:37.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:24:37.521Z] Configure a credential helper to remove this warning. See [2024-09-06T04:24:37.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:24:37.521Z] [2024-09-06T04:24:37.521Z] Login Succeeded [2024-09-06T04:24:37.521Z] ****.io [2024-09-06T04:24:37.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-06T04:24:38.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-06T04:24:38.064Z] Configure a credential helper to remove this warning. See [2024-09-06T04:24:38.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-06T04:24:38.064Z] [2024-09-06T04:24:38.064Z] Login Succeeded [2024-09-06T04:24:38.064Z] ---> ****-login.sh ends [Pipeline] } [2024-09-06T04:24:38.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-06T04:24:38.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-06T04:24:38.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-06T04:24:38.672Z] ========================================================= [2024-09-06T04:24:38.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-06T04:24:38.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:24:39.203Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-06T04:24:39.792Z] Sending build context to Docker daemon 13.1MB [2024-09-06T04:24:39.792Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-06T04:24:39.792Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-06T04:24:40.061Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-06T04:24:40.061Z] c6b39de5b339: Pulling fs layer [2024-09-06T04:24:40.061Z] a69c41024577: Pulling fs layer [2024-09-06T04:24:40.061Z] d6de4b400683: Pulling fs layer [2024-09-06T04:24:40.061Z] 35cb2a7552d0: Pulling fs layer [2024-09-06T04:24:40.061Z] 4f4fb700ef54: Pulling fs layer [2024-09-06T04:24:40.061Z] 464afbd9ba4c: Pulling fs layer [2024-09-06T04:24:40.061Z] 00f215d4a9da: Pulling fs layer [2024-09-06T04:24:40.061Z] d496ad576159: Pulling fs layer [2024-09-06T04:24:40.061Z] 4f4fb700ef54: Waiting [2024-09-06T04:24:40.061Z] 464afbd9ba4c: Waiting [2024-09-06T04:24:40.061Z] 00f215d4a9da: Waiting [2024-09-06T04:24:40.061Z] 35cb2a7552d0: Waiting [2024-09-06T04:24:40.061Z] a69c41024577: Verifying Checksum [2024-09-06T04:24:40.061Z] a69c41024577: Download complete [2024-09-06T04:24:40.061Z] 35cb2a7552d0: Verifying Checksum [2024-09-06T04:24:40.061Z] 35cb2a7552d0: Download complete [2024-09-06T04:24:40.061Z] 4f4fb700ef54: Verifying Checksum [2024-09-06T04:24:40.061Z] 4f4fb700ef54: Download complete [2024-09-06T04:24:40.061Z] 464afbd9ba4c: Verifying Checksum [2024-09-06T04:24:40.061Z] 464afbd9ba4c: Download complete [2024-09-06T04:24:40.061Z] c6b39de5b339: Verifying Checksum [2024-09-06T04:24:40.061Z] c6b39de5b339: Download complete [2024-09-06T04:24:40.655Z] d496ad576159: Verifying Checksum [2024-09-06T04:24:40.655Z] d496ad576159: Download complete [2024-09-06T04:24:41.244Z] c6b39de5b339: Pull complete [2024-09-06T04:24:41.834Z] a69c41024577: Pull complete [2024-09-06T04:24:41.834Z] d6de4b400683: Verifying Checksum [2024-09-06T04:24:41.834Z] d6de4b400683: Download complete [2024-09-06T04:24:42.809Z] 00f215d4a9da: Verifying Checksum [2024-09-06T04:24:42.809Z] 00f215d4a9da: Download complete [2024-09-06T04:24:55.126Z] d6de4b400683: Pull complete [2024-09-06T04:24:55.126Z] 35cb2a7552d0: Pull complete [2024-09-06T04:24:55.126Z] 4f4fb700ef54: Pull complete [2024-09-06T04:24:55.126Z] 464afbd9ba4c: Pull complete [2024-09-06T04:25:03.330Z] 00f215d4a9da: Pull complete [2024-09-06T04:25:05.272Z] d496ad576159: Pull complete [2024-09-06T04:25:05.272Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-06T04:25:05.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-06T04:25:05.272Z] ---> f246e2811388 [2024-09-06T04:25:05.272Z] Step 3/10 : ARG MAKE=make build [2024-09-06T04:25:06.675Z] ---> Running in 51f7fa8349f1 [2024-09-06T04:25:06.942Z] Removing intermediate container 51f7fa8349f1 [2024-09-06T04:25:06.942Z] ---> da5e6bfb561b [2024-09-06T04:25:06.942Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-06T04:25:07.208Z] ---> Running in 26c8fbbe8340 [2024-09-06T04:25:07.474Z] Removing intermediate container 26c8fbbe8340 [2024-09-06T04:25:07.474Z] ---> 84308da2153f [2024-09-06T04:25:07.474Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-06T04:25:07.474Z] ---> Running in 19aec508dd4b [2024-09-06T04:25:07.740Z] Removing intermediate container 19aec508dd4b [2024-09-06T04:25:07.740Z] ---> 543bb540fd38 [2024-09-06T04:25:07.740Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-06T04:25:07.740Z] ---> Running in b36e2a109436 [2024-09-06T04:25:09.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-06T04:25:09.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-06T04:25:10.374Z] OK: 266 MiB in 52 packages [2024-09-06T04:25:11.333Z] Removing intermediate container b36e2a109436 [2024-09-06T04:25:11.333Z] ---> c220bc80f85e [2024-09-06T04:25:11.333Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-06T04:25:11.915Z] ---> f45fda64f28c [2024-09-06T04:25:11.915Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-06T04:25:11.915Z] ---> Running in 6e1cb90ca15d [2024-09-06T04:27:03.569Z] Removing intermediate container 6e1cb90ca15d [2024-09-06T04:27:03.570Z] ---> ea430eb85d76 [2024-09-06T04:27:03.570Z] Step 9/10 : COPY . . [2024-09-06T04:27:03.842Z] ---> 320e9f4659b1 [2024-09-06T04:27:03.842Z] Step 10/10 : RUN ${MAKE} [2024-09-06T04:27:03.842Z] ---> Running in 8473c5aa9b22 [2024-09-06T04:27:04.817Z] noop [2024-09-06T04:27:05.789Z] Removing intermediate container 8473c5aa9b22 [2024-09-06T04:27:05.789Z] ---> 5c0e5edc748f [2024-09-06T04:27:05.789Z] Successfully built 5c0e5edc748f [2024-09-06T04:27:05.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:27:06.291Z] + docker inspect -f . ci-base-image-arm64 [2024-09-06T04:27:06.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:27:06.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container [2024-09-06T04:27:06.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-06T04:27:07.920Z] $ docker top 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-06T04:27:08.839Z] + go version [2024-09-06T04:27:08.839Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-06T04:27:08.875Z] $ docker stop --time=1 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a [2024-09-06T04:27:10.531Z] $ docker rm -f --volumes 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:27:11.604Z] + docker inspect -f . ci-base-image-arm64 [2024-09-06T04:27:11.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:27:11.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container [2024-09-06T04:27:11.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-06T04:27:13.244Z] $ docker top dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-06T04:27:14.161Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-06T04:27:14.884Z] + make test [2024-09-06T04:27:14.885Z] go test -race -coverprofile=coverage.out ./... [2024-09-06T04:28:01.744Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-06T04:31:53.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-06T04:31:53.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-06T04:31:53.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-06T04:31:53.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-06T04:31:53.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-06T04:32:00.252Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.108s coverage: 26.0% of statements [2024-09-06T04:32:04.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.161s coverage: 79.4% of statements [2024-09-06T04:32:12.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-06T04:32:12.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-06T04:32:12.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.267s coverage: 86.0% of statements [2024-09-06T04:32:21.166Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-06T04:32:21.432Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.484s coverage: 45.2% of statements [2024-09-06T04:32:24.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.153s coverage: 14.4% of statements [2024-09-06T04:32:24.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.768s coverage: 44.6% of statements [2024-09-06T04:32:25.940Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-06T04:32:25.940Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-06T04:32:25.940Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-06T04:32:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.302s coverage: 68.5% of statements [2024-09-06T04:32:31.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.369s coverage: 89.2% of statements [2024-09-06T04:32:34.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-06T04:32:35.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.248s coverage: 5.3% of statements [2024-09-06T04:32:36.818Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-06T04:32:36.818Z] GO111MODULE=on go vet ./... [2024-09-06T04:36:28.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-06T04:36:28.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-06T04:36:28.589Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-06T04:36:28.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-06T04:36:28.680Z] $ docker stop --time=1 dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c [2024-09-06T04:36:30.665Z] $ docker rm -f --volumes dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-06T04:36:33.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-06T04:36:33.319Z] Warning: overwriting stash ‘coverage-report’ [2024-09-06T04:36:33.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-06T04:36:34.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-06T04:36:34.931Z] + ls -al . [2024-09-06T04:36:34.931Z] total 380 [2024-09-06T04:36:34.931Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 04:27 . [2024-09-06T04:36:34.931Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:24 .. [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:24 .dockerignore [2024-09-06T04:36:34.931Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:24 .git [2024-09-06T04:36:34.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:24 .github [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:24 .gitignore [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:24 .golangci.yml [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 6 04:24 CHANGELOG.md [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:24 GOVERNANCE.md [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:24 Jenkinsfile [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:24 LICENSE [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:24 Makefile [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:24 OWNERS.md [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 6 04:24 README.md [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:20 VERSION [2024-09-06T04:36:34.931Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:24 bin [2024-09-06T04:36:34.931Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 6 04:32 coverage.out [2024-09-06T04:36:34.931Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:24 example [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 6 04:24 go.mod [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 6 04:24 go.sum [2024-09-06T04:36:34.931Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 6 04:24 internal [2024-09-06T04:36:34.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:24 openapi [2024-09-06T04:36:34.931Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:24 pkg [2024-09-06T04:36:34.931Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:24 snap [2024-09-06T04:36:34.931Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:36:35.382Z] + 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=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba --label arch=arm64 --label version=0.0.0 . [2024-09-06T04:36:35.966Z] Sending build context to Docker daemon 13.23MB [2024-09-06T04:36:35.966Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-06T04:36:35.966Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-06T04:36:35.966Z] ---> 5c0e5edc748f [2024-09-06T04:36:35.966Z] Step 3/24 : ARG MAKE=make build [2024-09-06T04:36:36.232Z] ---> Running in 9b93f88faa33 [2024-09-06T04:36:36.499Z] Removing intermediate container 9b93f88faa33 [2024-09-06T04:36:36.499Z] ---> e8d9042e60fb [2024-09-06T04:36:36.499Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-06T04:36:36.499Z] ---> Running in 2ec765507e85 [2024-09-06T04:36:37.905Z] Removing intermediate container 2ec765507e85 [2024-09-06T04:36:37.905Z] ---> f827907cc4b4 [2024-09-06T04:36:37.905Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-06T04:36:37.905Z] ---> Running in a96e4de8c24c [2024-09-06T04:36:38.174Z] Removing intermediate container a96e4de8c24c [2024-09-06T04:36:38.174Z] ---> 335e164cb9f8 [2024-09-06T04:36:38.174Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-06T04:36:38.174Z] ---> Running in a0a32beed886 [2024-09-06T04:36:39.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-06T04:36:39.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-06T04:36:40.807Z] OK: 266 MiB in 52 packages [2024-09-06T04:36:41.768Z] Removing intermediate container a0a32beed886 [2024-09-06T04:36:41.768Z] ---> ae8e0ab66575 [2024-09-06T04:36:41.768Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-06T04:36:42.035Z] ---> 40c1279e02b1 [2024-09-06T04:36:42.035Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-06T04:36:42.302Z] ---> Running in 1106a57f0017 [2024-09-06T04:36:44.878Z] Removing intermediate container 1106a57f0017 [2024-09-06T04:36:44.878Z] ---> e3f47c540a4f [2024-09-06T04:36:44.878Z] Step 9/24 : COPY . . [2024-09-06T04:36:46.290Z] ---> 9200d2c9f5c4 [2024-09-06T04:36:46.290Z] Step 10/24 : RUN ${MAKE} [2024-09-06T04:36:46.290Z] ---> Running in 5a0f42b45b33 [2024-09-06T04:36:47.247Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-09-06T04:40:23.969Z] Removing intermediate container 5a0f42b45b33 [2024-09-06T04:40:23.969Z] ---> fd75a9f9c955 [2024-09-06T04:40:23.969Z] Step 11/24 : FROM alpine:3.18 [2024-09-06T04:40:23.969Z] 3.18: Pulling from library/alpine [2024-09-06T04:40:23.969Z] 4983c3fe2029: Pulling fs layer [2024-09-06T04:40:23.969Z] 4983c3fe2029: Verifying Checksum [2024-09-06T04:40:23.969Z] 4983c3fe2029: Download complete [2024-09-06T04:40:23.969Z] 4983c3fe2029: Pull complete [2024-09-06T04:40:23.969Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-06T04:40:23.969Z] Status: Downloaded newer image for alpine:3.18 [2024-09-06T04:40:23.969Z] ---> a0237000ae83 [2024-09-06T04:40:23.969Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-06T04:40:23.969Z] ---> Running in 4268ca1153ca [2024-09-06T04:40:23.969Z] Removing intermediate container 4268ca1153ca [2024-09-06T04:40:23.969Z] ---> 97e3f45b832c [2024-09-06T04:40:23.969Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-06T04:40:23.969Z] ---> Running in 288cd2f70249 [2024-09-06T04:40:23.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-06T04:40:23.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-06T04:40:23.969Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-06T04:40:23.969Z] Executing busybox-1.36.1-r7.trigger [2024-09-06T04:40:23.969Z] OK: 8 MiB in 16 packages [2024-09-06T04:40:23.969Z] Removing intermediate container 288cd2f70249 [2024-09-06T04:40:23.969Z] ---> 556d3e870cdc [2024-09-06T04:40:23.969Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-06T04:40:23.969Z] ---> Running in 9e965f1bc52d [2024-09-06T04:40:23.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-06T04:40:23.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-06T04:40:23.969Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-06T04:40:23.969Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-06T04:40:23.969Z] OK: 8 MiB in 16 packages [2024-09-06T04:40:23.969Z] Removing intermediate container 9e965f1bc52d [2024-09-06T04:40:23.969Z] ---> d3841c6accaa [2024-09-06T04:40:23.969Z] Step 15/24 : WORKDIR / [2024-09-06T04:40:23.969Z] ---> Running in 2517ac8d47ef [2024-09-06T04:40:23.969Z] Removing intermediate container 2517ac8d47ef [2024-09-06T04:40:23.969Z] ---> 29cb58746d45 [2024-09-06T04:40:23.969Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-06T04:40:23.969Z] ---> 398ff0bbeecc [2024-09-06T04:40:23.969Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-06T04:40:23.969Z] ---> 1c928e073925 [2024-09-06T04:40:23.969Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-06T04:40:23.969Z] ---> 281825569862 [2024-09-06T04:40:23.969Z] Step 19/24 : EXPOSE 59999 [2024-09-06T04:40:23.969Z] ---> Running in a3c96d163fd8 [2024-09-06T04:40:23.969Z] Removing intermediate container a3c96d163fd8 [2024-09-06T04:40:23.969Z] ---> 88e99381eb61 [2024-09-06T04:40:23.969Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-06T04:40:23.969Z] ---> Running in 8a49bf10cbdc [2024-09-06T04:40:23.969Z] Removing intermediate container 8a49bf10cbdc [2024-09-06T04:40:23.969Z] ---> 838b34c6b22c [2024-09-06T04:40:23.969Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-06T04:40:23.969Z] ---> Running in 3ddfbbb21634 [2024-09-06T04:40:23.969Z] Removing intermediate container 3ddfbbb21634 [2024-09-06T04:40:23.969Z] ---> 1d0b02d0a073 [2024-09-06T04:40:23.969Z] Step 22/24 : LABEL arch=arm64 [2024-09-06T04:40:23.969Z] ---> Running in 1b1543818e50 [2024-09-06T04:40:24.242Z] Removing intermediate container 1b1543818e50 [2024-09-06T04:40:24.242Z] ---> 31d659ee2cf8 [2024-09-06T04:40:24.242Z] Step 23/24 : LABEL git_sha=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [2024-09-06T04:40:24.242Z] ---> Running in eb1681f15a83 [2024-09-06T04:40:24.509Z] Removing intermediate container eb1681f15a83 [2024-09-06T04:40:24.509Z] ---> 21ffd247cc29 [2024-09-06T04:40:24.509Z] Step 24/24 : LABEL version=0.0.0 [2024-09-06T04:40:24.777Z] ---> Running in ee82bb8eab26 [2024-09-06T04:40:25.049Z] Removing intermediate container ee82bb8eab26 [2024-09-06T04:40:25.049Z] ---> d72d3998e621 [2024-09-06T04:40:25.049Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-06T04:40:25.049Z] Successfully built d72d3998e621 [2024-09-06T04:40:25.049Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:40:26.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-06T04:40:26.083Z] [2024-09-06T04:40:26.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:40:26.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-06T04:40:26.504Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-06T04:40:26.504Z] 8998bd30e6a1: Pulling fs layer [2024-09-06T04:40:26.504Z] 04944245beec: Pulling fs layer [2024-09-06T04:40:26.504Z] 699f458cf7ca: Pulling fs layer [2024-09-06T04:40:26.504Z] 765212b225bb: Pulling fs layer [2024-09-06T04:40:26.504Z] f23df028b6ca: Pulling fs layer [2024-09-06T04:40:26.504Z] d65c8cfc05b1: Pulling fs layer [2024-09-06T04:40:26.504Z] 2437ff75d9bd: Pulling fs layer [2024-09-06T04:40:26.504Z] 765212b225bb: Waiting [2024-09-06T04:40:26.504Z] f23df028b6ca: Waiting [2024-09-06T04:40:26.504Z] d65c8cfc05b1: Waiting [2024-09-06T04:40:26.504Z] 2437ff75d9bd: Waiting [2024-09-06T04:40:26.770Z] 04944245beec: Verifying Checksum [2024-09-06T04:40:26.770Z] 04944245beec: Download complete [2024-09-06T04:40:26.770Z] 765212b225bb: Verifying Checksum [2024-09-06T04:40:26.770Z] 765212b225bb: Download complete [2024-09-06T04:40:26.770Z] f23df028b6ca: Verifying Checksum [2024-09-06T04:40:26.770Z] f23df028b6ca: Download complete [2024-09-06T04:40:26.770Z] d65c8cfc05b1: Verifying Checksum [2024-09-06T04:40:26.770Z] d65c8cfc05b1: Download complete [2024-09-06T04:40:26.770Z] 699f458cf7ca: Verifying Checksum [2024-09-06T04:40:26.770Z] 699f458cf7ca: Download complete [2024-09-06T04:40:27.353Z] 8998bd30e6a1: Download complete [2024-09-06T04:40:29.930Z] 2437ff75d9bd: Verifying Checksum [2024-09-06T04:40:29.930Z] 2437ff75d9bd: Download complete [2024-09-06T04:40:31.868Z] 8998bd30e6a1: Pull complete [2024-09-06T04:40:32.448Z] 04944245beec: Pull complete [2024-09-06T04:40:33.851Z] 699f458cf7ca: Pull complete [2024-09-06T04:40:34.117Z] 765212b225bb: Pull complete [2024-09-06T04:40:35.073Z] f23df028b6ca: Pull complete [2024-09-06T04:40:35.073Z] d65c8cfc05b1: Pull complete [2024-09-06T04:40:53.292Z] 2437ff75d9bd: Pull complete [2024-09-06T04:40:53.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-06T04:40:53.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-06T04:40:53.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:40:53.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container [2024-09-06T04:40:53.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-06T04:40:56.528Z] $ docker top e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:40:57.458Z] ---> job-cost.sh [2024-09-06T04:40:57.458Z] lf-activate-venv: SKIPPING [2024-09-06T04:40:57.458Z] INFO: No Stack... [2024-09-06T04:40:57.726Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-06T04:40:58.731Z] INFO: Archiving Costs [Pipeline] sh [2024-09-06T04:40:59.074Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-09-06T04:40:59.074Z] + cut -d, -f6 [Pipeline] lock [2024-09-06T04:40:59.413Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [2024-09-06T04:40:59.420Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] did not exist. Created. [2024-09-06T04:40:59.427Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-06T04:40:59.849Z] /w/workspace/device-sdk-go/1@tmp/durable-624272a8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-06T04:41:00.204Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-06T04:41:00.252Z] Warning: overwriting stash ‘stack-cost’ [2024-09-06T04:41:00.329Z] Stashed 1 file(s) [Pipeline] } [2024-09-06T04:41:00.352Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-06T04:41:00.430Z] $ docker stop --time=1 e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e [2024-09-06T04:41:01.930Z] $ docker rm -f --volumes e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-09-06T04:41:03.087Z] provisioning config files... [2024-09-06T04:41:03.097Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config13881318335086455707tmp [Pipeline] { [Pipeline] sh [2024-09-06T04:41:03.472Z] + set +x [2024-09-06T04:41:03.472Z] + curl -s https://codecov.io/bash [2024-09-06T04:41:03.472Z] + bash -s -- [2024-09-06T04:41:03.472Z] [2024-09-06T04:41:03.472Z] _____ _ [2024-09-06T04:41:03.472Z] / ____| | | [2024-09-06T04:41:03.472Z] | | ___ __| | ___ ___ _____ __ [2024-09-06T04:41:03.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-06T04:41:03.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-06T04:41:03.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-06T04:41:03.472Z] Bash-1.0.6 [2024-09-06T04:41:03.472Z] [2024-09-06T04:41:03.472Z] [2024-09-06T04:41:03.472Z] ==> git version 2.25.1 found [2024-09-06T04:41:03.472Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-09-06T04:41:03.472Z] Release-Date: 2020-01-08 [2024-09-06T04:41:03.472Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-06T04:41:03.472Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-06T04:41:03.472Z] ==> Jenkins CI detected. [2024-09-06T04:41:03.472Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1624 [2024-09-06T04:41:03.472Z] project root: . [2024-09-06T04:41:03.472Z] --> token set from env [2024-09-06T04:41:03.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-06T04:41:03.472Z] ==> Running gcov in . (disable via -X gcov) [2024-09-06T04:41:03.472Z] ==> Python coveragepy not found [2024-09-06T04:41:03.472Z] ==> Searching for coverage reports in: [2024-09-06T04:41:03.472Z] + . [2024-09-06T04:41:03.472Z] -> Found 1 reports [2024-09-06T04:41:03.472Z] ==> Detecting git/mercurial file structure [2024-09-06T04:41:03.472Z] ==> Reading reports [2024-09-06T04:41:03.472Z] + ./coverage.out bytes=127940 [2024-09-06T04:41:03.472Z] ==> Appending adjustments [2024-09-06T04:41:03.472Z] https://docs.codecov.io/docs/fixing-reports [2024-09-06T04:41:04.065Z] + Found adjustments [2024-09-06T04:41:04.065Z] ==> Gzipping contents [2024-09-06T04:41:04.065Z] 20K /tmp/codecov.e2WwLy.gz [2024-09-06T04:41:04.065Z] ==> Uploading reports [2024-09-06T04:41:04.065Z] url: https://codecov.io [2024-09-06T04:41:04.065Z] query: branch=PR-1624&commit=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1624&job=&cmd_args= [2024-09-06T04:41:04.065Z] -> Pinging Codecov [2024-09-06T04:41:04.065Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1624&commit=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1624&job=&cmd_args= [2024-09-06T04:41:04.065Z] -> Uploading to [2024-09-06T04:41:04.065Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-06/7E55EF52A471D76F132DFD9A03CDDE97/f5f0eed32f87aaa18c73f1d3c21303874aaef1ba/1be1a839-f83a-44b6-80b7-4faa49ed6d3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240906%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240906T044103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ab677cefa5a0b0eb15bc2b1e7a78161570db2011cabd58fac7bce4dbc79f486 [2024-09-06T04:41:04.065Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-06T04:41:04.065Z] Dload Upload Total Spent Left Speed [2024-09-06T04:41:04.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17668 0 0 100 17668 0 66924 --:--:-- --:--:-- --:--:-- 66924 [2024-09-06T04:41:04.336Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] } [2024-09-06T04:41:04.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-06T04:41:06.755Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives ] [2024-09-06T04:41:06.756Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives [2024-09-06T04:41:06.756Z] total 16 [2024-09-06T04:41:06.756Z] drwxr-xr-x 3 root root 4096 Sep 6 04:24 . [2024-09-06T04:41:06.756Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:24 .. [2024-09-06T04:41:06.756Z] drwxr-xr-x 2 root root 4096 Sep 6 04:24 cost [2024-09-06T04:41:06.756Z] -rw-r--r-- 1 root root 86 Sep 6 04:24 cost.csv [2024-09-06T04:41:06.756Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives [2024-09-06T04:41:06.756Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives [2024-09-06T04:41:06.756Z] total 16 [2024-09-06T04:41:06.756Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:24 . [2024-09-06T04:41:06.756Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:24 .. [2024-09-06T04:41:06.756Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 04:24 cost [2024-09-06T04:41:06.756Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 6 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:07.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:08.073Z] ---> package-listing.sh [2024-09-06T04:41:08.073Z] ++ facter osfamily [2024-09-06T04:41:08.073Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-06T04:41:08.332Z] + OS_FAMILY=debian [2024-09-06T04:41:08.332Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1624 [2024-09-06T04:41:08.332Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-06T04:41:08.332Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-06T04:41:08.332Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-06T04:41:08.332Z] + PACKAGES=/tmp/packages_start.txt [2024-09-06T04:41:08.332Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1624 ']' [2024-09-06T04:41:08.332Z] + PACKAGES=/tmp/packages_end.txt [2024-09-06T04:41:08.332Z] + case "${OS_FAMILY}" in [2024-09-06T04:41:08.332Z] + grep '^ii' [2024-09-06T04:41:08.332Z] + dpkg -l [2024-09-06T04:41:08.332Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-06T04:41:08.332Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-06T04:41:08.332Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-06T04:41:08.332Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1624 ']' [2024-09-06T04:41:08.332Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/ [2024-09-06T04:41:08.332Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/ [Pipeline] echo [2024-09-06T04:41:08.376Z] 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-1624/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-06T04:41:08.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-06T04:41:09.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-06T04:41:09.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-06T04:41:09.633Z] prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container [2024-09-06T04:41:09.661Z] $ 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-1624/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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-06T04:41:09.850Z] $ docker top d5bae59151288afe0cfe62442bce8f0c8de410e6cbcd9fb1212f9b39abfc457b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-06T04:41:10.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-06T04:41:10.576Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-06T04:41:10.901Z] + ls /var/log/sa-host [2024-09-06T04:41:10.901Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-06T04:41:11.070Z] provisioning config files... [2024-09-06T04:41:11.079Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config16268970663067715113tmp [Pipeline] { [Pipeline] echo [2024-09-06T04:41:11.149Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:11.486Z] ---> create-netrc.sh [Pipeline] } [2024-09-06T04:41:11.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:11.949Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-06T04:41:11.994Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:12.323Z] ---> sudo-logs.sh [2024-09-06T04:41:12.323Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-06T04:41:12.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:12.756Z] ---> job-cost.sh [2024-09-06T04:41:12.756Z] lf-activate-venv: SKIPPING [2024-09-06T04:41:12.756Z] DEBUG: total: 0.2199999988079071 [2024-09-06T04:41:12.756Z] INFO: Retrieving Stack Cost... [2024-09-06T04:41:13.015Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-06T04:41:13.584Z] INFO: Archiving Costs [Pipeline] echo [2024-09-06T04:41:13.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-06T04:41:13.955Z] ---> logs-deploy.sh [2024-09-06T04:41:13.955Z] lf-activate-venv: SKIPPING [2024-09-06T04:41:13.955Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1624/1 [2024-09-06T04:41:13.955Z] INFO: archiving workspace using pattern(s): [2024-09-06T04:41:14.893Z] Archives upload complete. [2024-09-06T04:41:14.893Z] INFO: archiving logs to Nexus