Pull request #1618 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32976106376497f80a51a4ba1ecd880c9a8cabe8+6fbfd523e75a65f7b52cf25b753a535ead5785c5 (fc089e32cdb96d0837c7fd46e848ccc8e2d3e18c) 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-ssh9185485225687623769.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-ssh12312653886834731645.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-1618/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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9882286408707095034.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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12004418048112272892.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-ssh9091138936186387356.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-1618/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-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13746544991238272381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8872’ Running on prd-ubuntu20.04-docker-8c-8g-8890 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [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-1618 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit 32976106376497f80a51a4ba1ecd880c9a8cabe8 Merge succeeded, producing 32976106376497f80a51a4ba1ecd880c9a8cabe8 Checking out Revision 32976106376497f80a51a4ba1ecd880c9a8cabe8 (PR-1618) > 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/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-28T04:52:46.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-28T04:52:46.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-28T04:52:47.111Z] ========================================================= [2024-08-28T04:52:47.112Z] EdgeX Global Pipelines Version Info [2024-08-28T04:52:47.112Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:52:47.884Z] ------------------- [2024-08-28T04:52:47.884Z] stable info: [2024-08-28T04:52:47.884Z] ------------------- [2024-08-28T04:52:47.884Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:52:47.884Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:52:47.884Z] Message: update stable to v1.0.263 [2024-08-28T04:52:48.454Z] ------------------- [2024-08-28T04:52:48.454Z] experimental info: [2024-08-28T04:52:48.454Z] ------------------- [2024-08-28T04:52:48.454Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:52:48.454Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:52:48.454Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-28T04:52:48.719Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-28T04:52:48.782Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-28T04:52:48.843Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-28T04:52:48.901Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-28T04:52:48.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-28T04:52:49.008Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-28T04:52:49.066Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-28T04:52:49.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-28T04:52:49.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-28T04:52:49.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-28T04:52:49.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-28T04:52:49.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-28T04:52:49.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-28T04:52:49.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-28T04:52:49.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T04:52:49.572Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:52:49.628Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:52:49.682Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:52:49.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-28T04:52:49.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-28T04:52:49.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-28T04:52:49.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-28T04:52:49.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-28T04:52:50.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-28T04:52:50.083Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-28T04:52:50.135Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-28T04:52:50.191Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-28T04:52:50.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1618 [Pipeline] echo [2024-08-28T04:52:50.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1618 [Pipeline] echo [2024-08-28T04:52:50.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1618 [Pipeline] echo [2024-08-28T04:52:50.813Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo [2024-08-28T04:52:50.873Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3297610 [Pipeline] echo [2024-08-28T04:52:50.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:52:51.205Z] provisioning config files... [2024-08-28T04:52:51.221Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config1472277843384526986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:52:51.725Z] ---> ****-login.sh [2024-08-28T04:52:51.725Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:52:51.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:52:51.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:52:51.987Z] Configure a credential helper to remove this warning. See [2024-08-28T04:52:51.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:52:51.987Z] [2024-08-28T04:52:51.987Z] Login Succeeded [2024-08-28T04:52:51.987Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:52:51.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:52:52.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:52:52.248Z] Configure a credential helper to remove this warning. See [2024-08-28T04:52:52.248Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:52:52.248Z] [2024-08-28T04:52:52.248Z] Login Succeeded [2024-08-28T04:52:52.248Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:52:52.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:52:52.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:52:52.249Z] Configure a credential helper to remove this warning. See [2024-08-28T04:52:52.249Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:52:52.249Z] [2024-08-28T04:52:52.249Z] Login Succeeded [2024-08-28T04:52:52.249Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:52:52.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:52:52.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:52:52.509Z] Configure a credential helper to remove this warning. See [2024-08-28T04:52:52.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:52:52.509Z] [2024-08-28T04:52:52.509Z] Login Succeeded [2024-08-28T04:52:52.509Z] ****.io [2024-08-28T04:52:52.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:52:52.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:52:52.769Z] Configure a credential helper to remove this warning. See [2024-08-28T04:52:52.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:52:52.770Z] [2024-08-28T04:52:52.770Z] Login Succeeded [2024-08-28T04:52:52.770Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:52:52.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-28T04:52:53.493Z] + git rev-list -1 --merges 32976106376497f80a51a4ba1ecd880c9a8cabe8~1..32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo [2024-08-28T04:52:53.540Z] -----------> git rev-list -1 --merges 32976106376497f80a51a4ba1ecd880c9a8cabe8~1..32976106376497f80a51a4ba1ecd880c9a8cabe8 32976106376497f80a51a4ba1ecd880c9a8cabe8 [false] [Pipeline] sh [2024-08-28T04:52:53.861Z] + git log --format=format:%s -1 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo [2024-08-28T04:52:53.900Z] ========================================================= [2024-08-28T04:52:53.900Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-28T04:52:53.900Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:52:54.360Z] + git log --format=format:%s -1 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo [2024-08-28T04:52:54.402Z] [semverPrep] GIT_COMMIT: 32976106376497f80a51a4ba1ecd880c9a8cabe8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-08-28T04:52:54.446Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-28T04:52:54.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-28T04:52:54.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-28T04:52:54.935Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-28T04:52:54.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-28T04:52:54.935Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-28T04:52:54.935Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-28T04:52:54.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:52:55.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:52:55.463Z] [2024-08-28T04:52:55.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:52:55.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:52:55.862Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-28T04:52:55.862Z] b85a868b505f: Pulling fs layer [2024-08-28T04:52:55.862Z] e2be974225ed: Pulling fs layer [2024-08-28T04:52:55.862Z] 339a4e72a1f5: Pulling fs layer [2024-08-28T04:52:55.862Z] 988bab9f4d93: Pulling fs layer [2024-08-28T04:52:55.862Z] 1469e6f7b9e6: Pulling fs layer [2024-08-28T04:52:55.862Z] eaf3925da568: Pulling fs layer [2024-08-28T04:52:55.862Z] bab4dde63d76: Pulling fs layer [2024-08-28T04:52:55.862Z] bde34c3a00c8: Pulling fs layer [2024-08-28T04:52:55.862Z] b352a97aabf1: Pulling fs layer [2024-08-28T04:52:55.862Z] 4872d77fe225: Pulling fs layer [2024-08-28T04:52:55.862Z] 5851b861e8e6: Pulling fs layer [2024-08-28T04:52:55.862Z] 988bab9f4d93: Waiting [2024-08-28T04:52:55.862Z] 1469e6f7b9e6: Waiting [2024-08-28T04:52:55.862Z] eaf3925da568: Waiting [2024-08-28T04:52:55.862Z] bab4dde63d76: Waiting [2024-08-28T04:52:55.862Z] bde34c3a00c8: Waiting [2024-08-28T04:52:55.862Z] b352a97aabf1: Waiting [2024-08-28T04:52:55.862Z] 4872d77fe225: Waiting [2024-08-28T04:52:55.862Z] 5851b861e8e6: Waiting [2024-08-28T04:52:55.862Z] e2be974225ed: Download complete [2024-08-28T04:52:55.862Z] 988bab9f4d93: Verifying Checksum [2024-08-28T04:52:55.862Z] 988bab9f4d93: Download complete [2024-08-28T04:52:56.121Z] 1469e6f7b9e6: Verifying Checksum [2024-08-28T04:52:56.121Z] 1469e6f7b9e6: Download complete [2024-08-28T04:52:56.121Z] 339a4e72a1f5: Verifying Checksum [2024-08-28T04:52:56.121Z] 339a4e72a1f5: Download complete [2024-08-28T04:52:56.121Z] eaf3925da568: Verifying Checksum [2024-08-28T04:52:56.121Z] eaf3925da568: Download complete [2024-08-28T04:52:56.121Z] bde34c3a00c8: Download complete [2024-08-28T04:52:56.121Z] b352a97aabf1: Verifying Checksum [2024-08-28T04:52:56.121Z] b352a97aabf1: Download complete [2024-08-28T04:52:56.121Z] 4872d77fe225: Verifying Checksum [2024-08-28T04:52:56.121Z] 4872d77fe225: Download complete [2024-08-28T04:52:56.121Z] 5851b861e8e6: Verifying Checksum [2024-08-28T04:52:56.121Z] 5851b861e8e6: Download complete [2024-08-28T04:52:56.121Z] b85a868b505f: Download complete [2024-08-28T04:52:56.379Z] bab4dde63d76: Verifying Checksum [2024-08-28T04:52:56.379Z] bab4dde63d76: Download complete [2024-08-28T04:52:57.315Z] b85a868b505f: Pull complete [2024-08-28T04:52:57.315Z] e2be974225ed: Pull complete [2024-08-28T04:52:57.574Z] 339a4e72a1f5: Pull complete [2024-08-28T04:52:57.833Z] 988bab9f4d93: Pull complete [2024-08-28T04:52:58.093Z] 1469e6f7b9e6: Pull complete [2024-08-28T04:52:58.093Z] eaf3925da568: Pull complete [2024-08-28T04:52:59.997Z] bab4dde63d76: Pull complete [2024-08-28T04:52:59.997Z] bde34c3a00c8: Pull complete [2024-08-28T04:52:59.997Z] b352a97aabf1: Pull complete [2024-08-28T04:52:59.997Z] 4872d77fe225: Pull complete [2024-08-28T04:52:59.997Z] 5851b861e8e6: Pull complete [2024-08-28T04:52:59.997Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-28T04:52:59.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:52:59.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:53:00.298Z] prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container [2024-08-28T04:53:00.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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-08-28T04:53:03.569Z] $ docker top 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 -eo pid,comm [2024-08-28T04:53:03.628Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-28T04:53:03.628Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-28T04:53:03.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:53:03.814Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:53:03.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:53:03.921Z] $ docker exec 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent [2024-08-28T04:53:04.028Z] SSH_AUTH_SOCK=/tmp/ssh-GKqbg47vRzcC/agent.32 [2024-08-28T04:53:04.028Z] SSH_AGENT_PID=38 [2024-08-28T04:53:04.037Z] Running ssh-add (command line suppressed) [2024-08-28T04:53:04.143Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_7211596122816613272.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_7211596122816613272.key) [2024-08-28T04:53:04.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:53:04.503Z] + git tag --points-at HEAD [Pipeline] } [2024-08-28T04:53:04.540Z] $ docker exec --env ******** --env ******** 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent -k [2024-08-28T04:53:04.630Z] unset SSH_AUTH_SOCK; [2024-08-28T04:53:04.630Z] unset SSH_AGENT_PID; [2024-08-28T04:53:04.630Z] echo Agent pid 38 killed; [2024-08-28T04:53:04.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-28T04:53:04.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:53:04.787Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:53:04.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:53:04.904Z] $ docker exec 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent [2024-08-28T04:53:05.015Z] SSH_AUTH_SOCK=/tmp/ssh-B5Sf8DESPIp3/agent.71 [2024-08-28T04:53:05.015Z] SSH_AGENT_PID=77 [2024-08-28T04:53:05.019Z] Running ssh-add (command line suppressed) [2024-08-28T04:53:05.108Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_966299958979695785.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_966299958979695785.key) [2024-08-28T04:53:05.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:53:05.547Z] + git semver init [2024-08-28T04:53:05.807Z] 2024-08-28 04:53:05,721 [run_init] DEBUG init version:0.0.0 force:False [2024-08-28T04:53:05.807Z] 2024-08-28 04:53:05,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver [2024-08-28T04:53:05.807Z] 2024-08-28 04:53:05,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver [2024-08-28T04:53:05.807Z] 2024-08-28 04:53:05,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618, universal_newlines=False, shell=None, istream=None) [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,824 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.git/info/exclude [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 with force:False [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,825 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,829 [execute] INFO git cat-file --batch-check [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,835 [execute] INFO git cat-file --batch [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:53:08.346Z] 2024-08-28 04:53:07,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 [2024-08-28T04:53:08.346Z] 0.0.0 [Pipeline] } [2024-08-28T04:53:08.374Z] $ docker exec --env ******** --env ******** 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent -k [2024-08-28T04:53:08.468Z] unset SSH_AUTH_SOCK; [2024-08-28T04:53:08.469Z] unset SSH_AGENT_PID; [2024-08-28T04:53:08.469Z] echo Agent pid 77 killed; [2024-08-28T04:53:08.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-28T04:53:08.946Z] + git semver [Pipeline] } [2024-08-28T04:53:09.230Z] $ docker stop --time=1 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 [2024-08-28T04:53:10.517Z] $ docker rm -f --volumes 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:53:11.038Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-28T04:53:11.475Z] Stashed 1 file(s) [Pipeline] echo [2024-08-28T04:53:11.502Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:53:12.231Z] provisioning config files... [2024-08-28T04:53:12.241Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config4752948952319815941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:53:12.714Z] ---> ****-login.sh [2024-08-28T04:53:12.714Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:53:12.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:12.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:12.715Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:12.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:12.715Z] [2024-08-28T04:53:12.715Z] Login Succeeded [2024-08-28T04:53:12.715Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:53:12.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:12.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:12.715Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:12.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:12.715Z] [2024-08-28T04:53:12.715Z] Login Succeeded [2024-08-28T04:53:12.715Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:53:12.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:12.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:12.974Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:12.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:12.974Z] [2024-08-28T04:53:12.974Z] Login Succeeded [2024-08-28T04:53:12.974Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:53:12.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:12.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:12.975Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:12.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:12.975Z] [2024-08-28T04:53:12.975Z] Login Succeeded [2024-08-28T04:53:12.975Z] ****.io [2024-08-28T04:53:13.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:13.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:13.233Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:13.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:13.233Z] [2024-08-28T04:53:13.233Z] Login Succeeded [2024-08-28T04:53:13.233Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:53:13.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:53:13.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:53:13.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:53:13.599Z] ========================================================= [2024-08-28T04:53:13.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-28T04:53:13.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:53:14.211Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T04:53:14.211Z] Sending build context to Docker daemon 25.27MB [2024-08-28T04:53:14.211Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:53:14.211Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T04:53:14.211Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-28T04:53:14.211Z] 619be1103602: Pulling fs layer [2024-08-28T04:53:14.211Z] 7862e08f4a3e: Pulling fs layer [2024-08-28T04:53:14.211Z] 5df492c9dc93: Pulling fs layer [2024-08-28T04:53:14.211Z] 7629e6793208: Pulling fs layer [2024-08-28T04:53:14.211Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:53:14.211Z] fb5054dd5b73: Pulling fs layer [2024-08-28T04:53:14.211Z] eeca6798cff9: Pulling fs layer [2024-08-28T04:53:14.211Z] aa269ceb94a6: Pulling fs layer [2024-08-28T04:53:14.211Z] ada007ff1a6a: Pulling fs layer [2024-08-28T04:53:14.211Z] 7629e6793208: Waiting [2024-08-28T04:53:14.211Z] fb5054dd5b73: Waiting [2024-08-28T04:53:14.211Z] 4f4fb700ef54: Waiting [2024-08-28T04:53:14.211Z] eeca6798cff9: Waiting [2024-08-28T04:53:14.211Z] ada007ff1a6a: Waiting [2024-08-28T04:53:14.211Z] aa269ceb94a6: Waiting [2024-08-28T04:53:14.211Z] 7862e08f4a3e: Download complete [2024-08-28T04:53:14.211Z] 7629e6793208: Verifying Checksum [2024-08-28T04:53:14.211Z] 7629e6793208: Download complete [2024-08-28T04:53:14.211Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:53:14.211Z] 4f4fb700ef54: Download complete [2024-08-28T04:53:14.211Z] fb5054dd5b73: Download complete [2024-08-28T04:53:14.211Z] 619be1103602: Verifying Checksum [2024-08-28T04:53:14.211Z] 619be1103602: Download complete [2024-08-28T04:53:14.473Z] eeca6798cff9: Verifying Checksum [2024-08-28T04:53:14.473Z] eeca6798cff9: Download complete [2024-08-28T04:53:14.473Z] 619be1103602: Pull complete [2024-08-28T04:53:14.731Z] ada007ff1a6a: Verifying Checksum [2024-08-28T04:53:14.732Z] ada007ff1a6a: Download complete [2024-08-28T04:53:14.732Z] 7862e08f4a3e: Pull complete [2024-08-28T04:53:14.732Z] 5df492c9dc93: Verifying Checksum [2024-08-28T04:53:14.732Z] 5df492c9dc93: Download complete [2024-08-28T04:53:14.989Z] aa269ceb94a6: Verifying Checksum [2024-08-28T04:53:14.989Z] aa269ceb94a6: Download complete [2024-08-28T04:53:18.271Z] 5df492c9dc93: Pull complete [2024-08-28T04:53:18.271Z] 7629e6793208: Pull complete [2024-08-28T04:53:18.271Z] 4f4fb700ef54: Pull complete [2024-08-28T04:53:18.271Z] fb5054dd5b73: Pull complete [2024-08-28T04:53:18.271Z] eeca6798cff9: Pull complete [2024-08-28T04:53:20.803Z] aa269ceb94a6: Pull complete [2024-08-28T04:53:21.062Z] ada007ff1a6a: Pull complete [2024-08-28T04:53:21.062Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-28T04:53:21.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-28T04:53:21.062Z] ---> f489d0715acc [2024-08-28T04:53:21.062Z] Step 3/10 : ARG MAKE=make build [2024-08-28T04:53:26.448Z] ---> Running in 279ce84cda03 [2024-08-28T04:53:26.448Z] Removing intermediate container 279ce84cda03 [2024-08-28T04:53:26.448Z] ---> 7e2ef6064813 [2024-08-28T04:53:26.448Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-28T04:53:26.448Z] ---> Running in db056de3112f [2024-08-28T04:53:26.448Z] Removing intermediate container db056de3112f [2024-08-28T04:53:26.448Z] ---> 78f80fb34e29 [2024-08-28T04:53:26.448Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:53:26.448Z] ---> Running in c3ca119438ee [2024-08-28T04:53:26.448Z] Removing intermediate container c3ca119438ee [2024-08-28T04:53:26.448Z] ---> 53f8e8925915 [2024-08-28T04:53:26.448Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-28T04:53:26.448Z] ---> Running in b214e25ed9c5 [2024-08-28T04:53:26.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:53:26.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:53:26.707Z] OK: 264 MiB in 52 packages [2024-08-28T04:53:26.967Z] Removing intermediate container b214e25ed9c5 [2024-08-28T04:53:26.967Z] ---> 6f2430b31306 [2024-08-28T04:53:26.967Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T04:53:27.019Z] Still waiting to schedule task [2024-08-28T04:53:27.019Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8889’ [2024-08-28T04:53:27.227Z] ---> f96c52e0f176 [2024-08-28T04:53:27.227Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:53:27.227Z] ---> Running in 1593e02fc1bc [2024-08-28T04:54:34.980Z] Removing intermediate container 1593e02fc1bc [2024-08-28T04:54:34.980Z] ---> 0bfa9bda3646 [2024-08-28T04:54:34.980Z] Step 9/10 : COPY . . [2024-08-28T04:54:34.980Z] ---> 5e50b2ab0a54 [2024-08-28T04:54:34.980Z] Step 10/10 : RUN ${MAKE} [2024-08-28T04:54:34.980Z] ---> Running in b57ac601830a [2024-08-28T04:54:34.980Z] noop [2024-08-28T04:54:34.980Z] Removing intermediate container b57ac601830a [2024-08-28T04:54:34.980Z] ---> 7df71f29170b [2024-08-28T04:54:34.980Z] Successfully built 7df71f29170b [2024-08-28T04:54:34.980Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:54:35.481Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:54:35.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:54:35.657Z] prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container [2024-08-28T04:54:35.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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-08-28T04:54:36.008Z] $ docker top 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:54:36.421Z] + go version [2024-08-28T04:54:36.421Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-28T04:54:36.452Z] $ docker stop --time=1 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 [2024-08-28T04:54:37.746Z] $ docker rm -f --volumes 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:54:38.529Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:54:38.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:54:38.693Z] prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container [2024-08-28T04:54:38.728Z] $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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-08-28T04:54:39.046Z] $ docker top 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:54:39.456Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] fileExists [Pipeline] sh [2024-08-28T04:54:39.825Z] + make test [2024-08-28T04:54:39.825Z] go test -race -coverprofile=coverage.out ./... [2024-08-28T04:54:47.942Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-28T04:55:14.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-28T04:55:16.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements [2024-08-28T04:55:16.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements [2024-08-28T04:55:16.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2024-08-28T04:55:16.311Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-28T04:55:17.245Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-28T04:55:17.245Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-28T04:55:17.245Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-28T04:55:17.503Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 51.6% of statements [2024-08-28T04:55:18.884Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-28T04:55:20.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-08-28T04:55:20.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.839s coverage: 44.6% of statements [2024-08-28T04:55:20.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.041s coverage: 68.5% of statements [2024-08-28T04:55:20.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.087s coverage: 89.2% of statements [2024-08-28T04:55:20.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.3% of statements [2024-08-28T04:55:52.946Z] GO111MODULE=on go vet ./... [2024-08-28T04:55:54.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T04:55:54.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T04:55:54.320Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-28T04:55:54.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T04:55:54.651Z] $ docker stop --time=1 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 [2024-08-28T04:55:59.180Z] $ docker rm -f --volumes 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:55:59.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T04:56:00.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-28T04:56:00.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T04:56:01.105Z] + ls -al . [2024-08-28T04:56:01.105Z] total 380 [2024-08-28T04:56:01.105Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 28 04:54 . [2024-08-28T04:56:01.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:52 .. [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:52 .dockerignore [2024-08-28T04:56:01.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:55 .git [2024-08-28T04:56:01.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:52 .github [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:52 .gitignore [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:52 .golangci.yml [2024-08-28T04:56:01.105Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:53 .semver [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:52 CHANGELOG.md [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:52 GOVERNANCE.md [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:52 Jenkinsfile [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:52 LICENSE [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:52 Makefile [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:52 OWNERS.md [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:52 README.md [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION [2024-08-28T04:56:01.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:52 bin [2024-08-28T04:56:01.105Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 28 04:55 coverage.out [2024-08-28T04:56:01.105Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:52 example [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:52 go.mod [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:52 go.sum [2024-08-28T04:56:01.105Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:52 internal [2024-08-28T04:56:01.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:52 openapi [2024-08-28T04:56:01.105Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:52 pkg [2024-08-28T04:56:01.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:52 snap [2024-08-28T04:56:01.105Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:56:01.581Z] + 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=32976106376497f80a51a4ba1ecd880c9a8cabe8 --label arch=amd64 --label version=0.0.0 . [2024-08-28T04:56:01.581Z] Sending build context to Docker daemon 25.4MB [2024-08-28T04:56:01.581Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:56:01.581Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-28T04:56:01.581Z] ---> 7df71f29170b [2024-08-28T04:56:01.581Z] Step 3/24 : ARG MAKE=make build [2024-08-28T04:56:02.158Z] ---> Running in 92c9211395b2 [2024-08-28T04:56:02.416Z] Removing intermediate container 92c9211395b2 [2024-08-28T04:56:02.416Z] ---> 16af7e80c084 [2024-08-28T04:56:02.416Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-28T04:56:02.416Z] ---> Running in 7f946660a870 [2024-08-28T04:56:02.416Z] Removing intermediate container 7f946660a870 [2024-08-28T04:56:02.416Z] ---> de3c08b7b159 [2024-08-28T04:56:02.416Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:56:02.416Z] ---> Running in c0b099c92d43 [2024-08-28T04:56:02.416Z] Removing intermediate container c0b099c92d43 [2024-08-28T04:56:02.416Z] ---> a775d32747f4 [2024-08-28T04:56:02.416Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-28T04:56:02.416Z] ---> Running in d2e83abfcea4 [2024-08-28T04:56:02.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:02.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:03.202Z] OK: 264 MiB in 52 packages [2024-08-28T04:56:03.464Z] Removing intermediate container d2e83abfcea4 [2024-08-28T04:56:03.464Z] ---> 9b37f2d9fd0e [2024-08-28T04:56:03.464Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-28T04:56:03.732Z] ---> 57634c6770e0 [2024-08-28T04:56:03.732Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:56:03.732Z] ---> Running in 54385494b5ac [2024-08-28T04:56:04.303Z] Removing intermediate container 54385494b5ac [2024-08-28T04:56:04.303Z] ---> 75be5e8b7058 [2024-08-28T04:56:04.303Z] Step 9/24 : COPY . . [2024-08-28T04:56:05.313Z] ---> 57c0df5292ba [2024-08-28T04:56:05.313Z] Step 10/24 : RUN ${MAKE} [2024-08-28T04:56:05.313Z] ---> Running in a3c4ce295aad [2024-08-28T04:56:05.313Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-28T04:56:10.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8895 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] { [Pipeline] ws [2024-08-28T04:56:10.824Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-28T04:56:13.972Z] The recommended git tool is: git [2024-08-28T04:56:23.692Z] using credential edgex-jenkins-ssh [2024-08-28T04:56:23.726Z] Cloning the remote Git repository [2024-08-28T04:56:23.811Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:56:24.000Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-28T04:56:24.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:56:24.323Z] > git --version # timeout=10 [2024-08-28T04:56:24.374Z] > git --version # 'git version 2.25.1' [2024-08-28T04:56:24.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:56:24.666Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:56:29.497Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-28T04:56:29.527Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:56:30.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-28T04:56:30.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:56:30.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:56:30.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-28T04:56:31.661Z] Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit 32976106376497f80a51a4ba1ecd880c9a8cabe8 [2024-08-28T04:56:32.136Z] Merge succeeded, producing 32976106376497f80a51a4ba1ecd880c9a8cabe8 [2024-08-28T04:56:32.137Z] Checking out Revision 32976106376497f80a51a4ba1ecd880c9a8cabe8 (PR-1618) [2024-08-28T04:56:32.885Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-08-28T04:56:32.943Z] > git --version # timeout=10 [2024-08-28T04:56:32.956Z] > git --version # 'git version 2.25.1' [2024-08-28T04:56:32.970Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:56:31.686Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:56:31.785Z] > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 [2024-08-28T04:56:31.957Z] > git remote # timeout=10 [2024-08-28T04:56:32.000Z] > git config --get remote.origin.url # timeout=10 [2024-08-28T04:56:32.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:56:32.079Z] > git merge 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 [2024-08-28T04:56:32.113Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-28T04:56:32.141Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:56:32.162Z] > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:56:37.409Z] Removing intermediate container a3c4ce295aad [2024-08-28T04:56:37.409Z] ---> 181ed4385079 [2024-08-28T04:56:37.409Z] Step 11/24 : FROM alpine:3.18 [2024-08-28T04:56:37.409Z] 3.18: Pulling from library/alpine [2024-08-28T04:56:37.409Z] 930bdd4d222e: Pulling fs layer [2024-08-28T04:56:37.409Z] 930bdd4d222e: Verifying Checksum [2024-08-28T04:56:37.409Z] 930bdd4d222e: Download complete [2024-08-28T04:56:37.409Z] 930bdd4d222e: Pull complete [2024-08-28T04:56:37.409Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T04:56:37.409Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T04:56:37.409Z] ---> 18f865063206 [2024-08-28T04:56:37.409Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-28T04:56:37.409Z] ---> Running in ee591cdeceb6 [2024-08-28T04:56:37.409Z] Removing intermediate container ee591cdeceb6 [2024-08-28T04:56:37.409Z] ---> 72e227e6213f [2024-08-28T04:56:37.409Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-28T04:56:37.409Z] ---> Running in 30781014ec91 [2024-08-28T04:56:37.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:37.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:37.409Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T04:56:37.409Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T04:56:37.409Z] OK: 7 MiB in 16 packages [2024-08-28T04:56:37.409Z] Removing intermediate container 30781014ec91 [2024-08-28T04:56:37.409Z] ---> c851a9bd45a1 [2024-08-28T04:56:37.409Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-28T04:56:37.409Z] ---> Running in 469a34d59810 [2024-08-28T04:56:37.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:37.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:37.409Z] OK: 7 MiB in 16 packages [2024-08-28T04:56:37.668Z] Removing intermediate container 469a34d59810 [2024-08-28T04:56:37.668Z] ---> 07c4ce58e55e [2024-08-28T04:56:37.668Z] Step 15/24 : WORKDIR / [2024-08-28T04:56:37.926Z] ---> Running in d2a16a294bb4 [2024-08-28T04:56:37.926Z] Removing intermediate container d2a16a294bb4 [2024-08-28T04:56:37.926Z] ---> 962330dd5890 [2024-08-28T04:56:37.926Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-28T04:56:37.975Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-28T04:56:37.975Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T04:56:37.975Z] Dload Upload Total Spent Left Speed [2024-08-28T04:56:37.975Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-08-28T04:56:38.325Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-28T04:56:38.491Z] ---> b038ece70c38 [2024-08-28T04:56:38.491Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-28T04:56:38.675Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-28T04:56:38.675Z] + sudo tee /etc/docker/daemon.new [2024-08-28T04:56:38.675Z] { [2024-08-28T04:56:38.675Z] "registry-mirrors": [ [2024-08-28T04:56:38.675Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-28T04:56:38.675Z] ], [2024-08-28T04:56:38.675Z] "bip": "10.250.0.254/24", [2024-08-28T04:56:38.675Z] "hosts": [ [2024-08-28T04:56:38.675Z] "tcp://0.0.0.0:5555", [2024-08-28T04:56:38.675Z] "unix:///var/run/docker.sock" [2024-08-28T04:56:38.675Z] ], [2024-08-28T04:56:38.675Z] "mtu": 1458, [2024-08-28T04:56:38.675Z] "selinux-enabled": true, [2024-08-28T04:56:38.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-28T04:56:38.675Z] } [Pipeline] sh [2024-08-28T04:56:39.032Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-28T04:56:39.400Z] + sudo service docker restart [2024-08-28T04:56:40.482Z] ---> 0a347b1b2848 [2024-08-28T04:56:40.482Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-28T04:56:40.744Z] ---> 023b0df75660 [2024-08-28T04:56:40.744Z] Step 19/24 : EXPOSE 59999 [2024-08-28T04:56:40.744Z] ---> Running in 0618743ba52e [2024-08-28T04:56:40.744Z] Removing intermediate container 0618743ba52e [2024-08-28T04:56:40.744Z] ---> ab1aebab374b [2024-08-28T04:56:40.744Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-28T04:56:40.744Z] ---> Running in 6cdf2d79b15d [2024-08-28T04:56:41.005Z] Removing intermediate container 6cdf2d79b15d [2024-08-28T04:56:41.005Z] ---> b93f60f4494d [2024-08-28T04:56:41.005Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T04:56:41.005Z] ---> Running in e84eb30f9b78 [2024-08-28T04:56:41.005Z] Removing intermediate container e84eb30f9b78 [2024-08-28T04:56:41.005Z] ---> 053a82923636 [2024-08-28T04:56:41.005Z] Step 22/24 : LABEL arch=amd64 [2024-08-28T04:56:41.005Z] ---> Running in 06c26a1ce0b3 [2024-08-28T04:56:41.005Z] Removing intermediate container 06c26a1ce0b3 [2024-08-28T04:56:41.005Z] ---> 262a53581b70 [2024-08-28T04:56:41.005Z] Step 23/24 : LABEL git_sha=32976106376497f80a51a4ba1ecd880c9a8cabe8 [2024-08-28T04:56:41.005Z] ---> Running in 6123f080b30b [2024-08-28T04:56:41.263Z] Removing intermediate container 6123f080b30b [2024-08-28T04:56:41.263Z] ---> 14d6722944f9 [2024-08-28T04:56:41.263Z] Step 24/24 : LABEL version=0.0.0 [2024-08-28T04:56:41.263Z] ---> Running in bf39fda95bbc [2024-08-28T04:56:41.263Z] Removing intermediate container bf39fda95bbc [2024-08-28T04:56:41.263Z] ---> 53fbb447bbbe [2024-08-28T04:56:41.263Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T04:56:41.263Z] Successfully built 53fbb447bbbe [2024-08-28T04:56:41.263Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:56:42.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:56:42.264Z] [2024-08-28T04:56:42.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:56:42.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:56:42.659Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-28T04:56:42.659Z] 5eb5b503b376: Pulling fs layer [2024-08-28T04:56:42.659Z] 5c69ac0246d0: Pulling fs layer [2024-08-28T04:56:42.659Z] ec43610c2a17: Pulling fs layer [2024-08-28T04:56:42.659Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-28T04:56:42.659Z] 33b1e0a273af: Pulling fs layer [2024-08-28T04:56:42.659Z] 5d3b04190fa2: Pulling fs layer [2024-08-28T04:56:42.659Z] 2f39f015ded8: Pulling fs layer [2024-08-28T04:56:42.659Z] 3a2ae6a8a46f: Waiting [2024-08-28T04:56:42.659Z] 33b1e0a273af: Waiting [2024-08-28T04:56:42.659Z] 2f39f015ded8: Waiting [2024-08-28T04:56:42.659Z] 5d3b04190fa2: Waiting [2024-08-28T04:56:42.659Z] 5c69ac0246d0: Verifying Checksum [2024-08-28T04:56:42.659Z] 5c69ac0246d0: Download complete [2024-08-28T04:56:42.659Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-28T04:56:42.659Z] 3a2ae6a8a46f: Download complete [2024-08-28T04:56:42.659Z] 33b1e0a273af: Verifying Checksum [2024-08-28T04:56:42.659Z] 33b1e0a273af: Download complete [2024-08-28T04:56:42.659Z] ec43610c2a17: Verifying Checksum [2024-08-28T04:56:42.659Z] ec43610c2a17: Download complete [2024-08-28T04:56:42.659Z] 5d3b04190fa2: Download complete [2024-08-28T04:56:42.918Z] 5eb5b503b376: Verifying Checksum [2024-08-28T04:56:42.918Z] 5eb5b503b376: Download complete [2024-08-28T04:56:43.484Z] 2f39f015ded8: Verifying Checksum [2024-08-28T04:56:43.484Z] 2f39f015ded8: Download complete [2024-08-28T04:56:44.049Z] 5eb5b503b376: Pull complete [2024-08-28T04:56:44.049Z] 5c69ac0246d0: Pull complete [2024-08-28T04:56:44.307Z] ec43610c2a17: Pull complete [2024-08-28T04:56:44.567Z] 3a2ae6a8a46f: Pull complete [2024-08-28T04:56:44.567Z] 33b1e0a273af: Pull complete [2024-08-28T04:56:44.567Z] 5d3b04190fa2: Pull complete [2024-08-28T04:56:48.751Z] 2f39f015ded8: Pull complete [2024-08-28T04:56:48.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-28T04:56:48.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:56:48.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:56:49.011Z] prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container [2024-08-28T04:56:49.041Z] $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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-08-28T04:56:53.078Z] $ docker top 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:56:53.559Z] ---> job-cost.sh [2024-08-28T04:56:53.559Z] lf-activate-venv: SKIPPING [2024-08-28T04:56:53.559Z] INFO: No Stack... [2024-08-28T04:56:53.818Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T04:56:54.077Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T04:56:54.403Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/cost.csv [2024-08-28T04:56:54.403Z] + cut -d, -f6 [Pipeline] lock [2024-08-28T04:56:54.456Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [2024-08-28T04:56:54.464Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] did not exist. Created. [2024-08-28T04:56:54.470Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T04:56:54.889Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-28T04:56:54.953Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T04:56:54.992Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T04:56:55.097Z] $ docker stop --time=1 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 [2024-08-28T04:56:56.241Z] $ docker rm -f --volumes 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:56:57.757Z] provisioning config files... [2024-08-28T04:56:57.792Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15827453355806735317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:56:58.309Z] ---> ****-login.sh [2024-08-28T04:56:58.309Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:56:58.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:56:58.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:56:58.903Z] Configure a credential helper to remove this warning. See [2024-08-28T04:56:58.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:56:58.903Z] [2024-08-28T04:56:58.903Z] Login Succeeded [2024-08-28T04:56:58.903Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:56:59.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:56:59.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:56:59.446Z] Configure a credential helper to remove this warning. See [2024-08-28T04:56:59.446Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:56:59.446Z] [2024-08-28T04:56:59.446Z] Login Succeeded [2024-08-28T04:56:59.446Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:56:59.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:56:59.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:56:59.721Z] Configure a credential helper to remove this warning. See [2024-08-28T04:56:59.721Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:56:59.721Z] [2024-08-28T04:56:59.721Z] Login Succeeded [2024-08-28T04:56:59.721Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:57:00.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:00.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:00.279Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:00.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:00.279Z] [2024-08-28T04:57:00.279Z] Login Succeeded [2024-08-28T04:57:00.279Z] ****.io [2024-08-28T04:57:00.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:00.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:00.820Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:00.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:00.820Z] [2024-08-28T04:57:00.820Z] Login Succeeded [2024-08-28T04:57:00.820Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:57:00.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:57:01.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:57:01.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:57:01.501Z] ========================================================= [2024-08-28T04:57:01.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-28T04:57:01.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:57:02.175Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T04:57:02.770Z] Sending build context to Docker daemon 13.08MB [2024-08-28T04:57:02.770Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:57:02.770Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T04:57:03.048Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-28T04:57:03.048Z] c6b39de5b339: Pulling fs layer [2024-08-28T04:57:03.048Z] a69c41024577: Pulling fs layer [2024-08-28T04:57:03.048Z] d6de4b400683: Pulling fs layer [2024-08-28T04:57:03.048Z] 35cb2a7552d0: Pulling fs layer [2024-08-28T04:57:03.048Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:57:03.048Z] 464afbd9ba4c: Pulling fs layer [2024-08-28T04:57:03.048Z] 00f215d4a9da: Pulling fs layer [2024-08-28T04:57:03.048Z] d496ad576159: Pulling fs layer [2024-08-28T04:57:03.048Z] 35cb2a7552d0: Waiting [2024-08-28T04:57:03.048Z] 464afbd9ba4c: Waiting [2024-08-28T04:57:03.048Z] 4f4fb700ef54: Waiting [2024-08-28T04:57:03.048Z] d496ad576159: Waiting [2024-08-28T04:57:03.048Z] 00f215d4a9da: Waiting [2024-08-28T04:57:03.048Z] a69c41024577: Verifying Checksum [2024-08-28T04:57:03.048Z] a69c41024577: Download complete [2024-08-28T04:57:03.048Z] 35cb2a7552d0: Download complete [2024-08-28T04:57:03.048Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:57:03.048Z] 4f4fb700ef54: Download complete [2024-08-28T04:57:03.048Z] 464afbd9ba4c: Verifying Checksum [2024-08-28T04:57:03.048Z] 464afbd9ba4c: Download complete [2024-08-28T04:57:03.048Z] c6b39de5b339: Verifying Checksum [2024-08-28T04:57:03.048Z] c6b39de5b339: Download complete [2024-08-28T04:57:03.642Z] d496ad576159: Verifying Checksum [2024-08-28T04:57:03.642Z] d496ad576159: Download complete [2024-08-28T04:57:04.235Z] c6b39de5b339: Pull complete [2024-08-28T04:57:04.890Z] a69c41024577: Pull complete [2024-08-28T04:57:05.165Z] d6de4b400683: Verifying Checksum [2024-08-28T04:57:05.165Z] d6de4b400683: Download complete [2024-08-28T04:57:06.128Z] 00f215d4a9da: Verifying Checksum [2024-08-28T04:57:06.128Z] 00f215d4a9da: Download complete [2024-08-28T04:57:18.474Z] d6de4b400683: Pull complete [2024-08-28T04:57:18.474Z] 35cb2a7552d0: Pull complete [2024-08-28T04:57:18.744Z] 4f4fb700ef54: Pull complete [2024-08-28T04:57:19.016Z] 464afbd9ba4c: Pull complete [2024-08-28T04:57:29.135Z] 00f215d4a9da: Pull complete [2024-08-28T04:57:30.104Z] d496ad576159: Pull complete [2024-08-28T04:57:30.104Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-28T04:57:30.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-28T04:57:30.371Z] ---> f246e2811388 [2024-08-28T04:57:30.371Z] Step 3/10 : ARG MAKE=make build [2024-08-28T04:57:31.351Z] ---> Running in 4fc60d9f21bf [2024-08-28T04:57:31.623Z] Removing intermediate container 4fc60d9f21bf [2024-08-28T04:57:31.623Z] ---> a525d5bbd69e [2024-08-28T04:57:31.623Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-28T04:57:31.623Z] ---> Running in ed93daae66ac [2024-08-28T04:57:31.895Z] Removing intermediate container ed93daae66ac [2024-08-28T04:57:31.895Z] ---> 805f5f803eb8 [2024-08-28T04:57:31.895Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:57:32.166Z] ---> Running in 3c4c6e0d39d0 [2024-08-28T04:57:32.438Z] Removing intermediate container 3c4c6e0d39d0 [2024-08-28T04:57:32.438Z] ---> 15528c00bce7 [2024-08-28T04:57:32.438Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-28T04:57:32.438Z] ---> Running in dfb497c00087 [2024-08-28T04:57:33.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:57:34.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:57:35.600Z] OK: 266 MiB in 52 packages [2024-08-28T04:57:36.573Z] Removing intermediate container dfb497c00087 [2024-08-28T04:57:36.573Z] ---> 2b6fbda5af01 [2024-08-28T04:57:36.573Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T04:57:36.912Z] ---> 499f2537f394 [2024-08-28T04:57:36.912Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:57:37.184Z] ---> Running in 402d306fb425 [2024-08-28T04:59:43.932Z] Removing intermediate container 402d306fb425 [2024-08-28T04:59:43.932Z] ---> 07c278f7ce7a [2024-08-28T04:59:43.932Z] Step 9/10 : COPY . . [2024-08-28T04:59:43.932Z] ---> c1b46187946f [2024-08-28T04:59:43.932Z] Step 10/10 : RUN ${MAKE} [2024-08-28T04:59:43.932Z] ---> Running in 7de453abbbf7 [2024-08-28T04:59:43.932Z] noop [2024-08-28T04:59:43.932Z] Removing intermediate container 7de453abbbf7 [2024-08-28T04:59:43.932Z] ---> 489e1c7d16ff [2024-08-28T04:59:43.932Z] Successfully built 489e1c7d16ff [2024-08-28T04:59:43.932Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:59:44.592Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T04:59:44.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:59:44.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container [2024-08-28T04:59:45.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-28T04:59:46.278Z] $ docker top a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:59:47.225Z] + go version [2024-08-28T04:59:47.226Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-28T04:59:47.263Z] $ docker stop --time=1 a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 [2024-08-28T04:59:48.943Z] $ docker rm -f --volumes a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:59:50.118Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T04:59:50.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:59:50.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container [2024-08-28T04:59:50.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-28T04:59:51.733Z] $ docker top fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:59:52.669Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-28T04:59:53.404Z] + make test [2024-08-28T04:59:53.404Z] go test -race -coverprofile=coverage.out ./... [2024-08-28T05:00:49.222Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-28T05:04:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-28T05:04:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-28T05:04:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-28T05:04:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-28T05:04:41.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-28T05:04:53.322Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.129s coverage: 26.0% of statements [2024-08-28T05:05:00.001Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.194s coverage: 79.4% of statements [2024-08-28T05:05:06.682Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-28T05:05:06.682Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-28T05:05:08.119Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.320s coverage: 86.0% of statements [2024-08-28T05:05:14.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-28T05:05:15.396Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.515s coverage: 51.6% of statements [2024-08-28T05:05:17.981Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.173s coverage: 14.4% of statements [2024-08-28T05:05:19.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.469s coverage: 44.6% of statements [2024-08-28T05:05:21.888Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-28T05:05:21.888Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-28T05:05:21.888Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-28T05:05:23.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.344s coverage: 68.5% of statements [2024-08-28T05:05:28.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements [2024-08-28T05:05:32.037Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-28T05:05:33.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.302s coverage: 5.3% of statements [2024-08-28T05:05:34.853Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-28T05:05:34.853Z] GO111MODULE=on go vet ./... [2024-08-28T05:10:13.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T05:10:13.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T05:10:13.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-28T05:10:13.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T05:10:13.709Z] $ docker stop --time=1 fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 [2024-08-28T05:10:15.820Z] $ docker rm -f --volumes fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T05:10:18.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T05:10:18.433Z] Warning: overwriting stash ‘coverage-report’ [2024-08-28T05:10:19.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T05:10:19.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T05:10:20.230Z] + ls -al . [2024-08-28T05:10:20.230Z] total 376 [2024-08-28T05:10:20.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 04:59 . [2024-08-28T05:10:20.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:56 .. [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:56 .dockerignore [2024-08-28T05:10:20.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:56 .git [2024-08-28T05:10:20.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:56 .github [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:56 .gitignore [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:56 .golangci.yml [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:56 CHANGELOG.md [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:56 GOVERNANCE.md [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:56 Jenkinsfile [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:56 LICENSE [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:56 Makefile [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:56 OWNERS.md [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:56 README.md [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION [2024-08-28T05:10:20.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:56 bin [2024-08-28T05:10:20.230Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 28 05:05 coverage.out [2024-08-28T05:10:20.230Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:56 example [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:56 go.mod [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:56 go.sum [2024-08-28T05:10:20.230Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:56 internal [2024-08-28T05:10:20.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:56 openapi [2024-08-28T05:10:20.230Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:56 pkg [2024-08-28T05:10:20.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:56 snap [2024-08-28T05:10:20.230Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:10:20.693Z] + 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=32976106376497f80a51a4ba1ecd880c9a8cabe8 --label arch=arm64 --label version=0.0.0 . [2024-08-28T05:10:21.279Z] Sending build context to Docker daemon 13.21MB [2024-08-28T05:10:21.279Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:10:21.279Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-28T05:10:21.279Z] ---> 489e1c7d16ff [2024-08-28T05:10:21.279Z] Step 3/24 : ARG MAKE=make build [2024-08-28T05:10:21.547Z] ---> Running in 57aa701c7dfb [2024-08-28T05:10:21.819Z] Removing intermediate container 57aa701c7dfb [2024-08-28T05:10:21.819Z] ---> a67976ae0c95 [2024-08-28T05:10:21.819Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-28T05:10:22.085Z] ---> Running in b2d294d82c0e [2024-08-28T05:10:22.354Z] Removing intermediate container b2d294d82c0e [2024-08-28T05:10:22.354Z] ---> 3aa58bd5caa3 [2024-08-28T05:10:22.354Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T05:10:22.354Z] ---> Running in 60c778f936ee [2024-08-28T05:10:22.621Z] Removing intermediate container 60c778f936ee [2024-08-28T05:10:22.621Z] ---> 65bcbac9aa8d [2024-08-28T05:10:22.621Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-28T05:10:22.891Z] ---> Running in 589585c7f65d [2024-08-28T05:10:23.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:10:24.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:10:25.864Z] OK: 266 MiB in 52 packages [2024-08-28T05:10:26.831Z] Removing intermediate container 589585c7f65d [2024-08-28T05:10:26.832Z] ---> ef2030a6266c [2024-08-28T05:10:26.832Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-28T05:10:27.103Z] ---> fbbd85e0fcce [2024-08-28T05:10:27.103Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:10:27.372Z] ---> Running in f492f103c562 [2024-08-28T05:10:29.963Z] Removing intermediate container f492f103c562 [2024-08-28T05:10:29.963Z] ---> b34c57c366cf [2024-08-28T05:10:29.963Z] Step 9/24 : COPY . . [2024-08-28T05:10:31.912Z] ---> 369baab8d8e9 [2024-08-28T05:10:31.912Z] Step 10/24 : RUN ${MAKE} [2024-08-28T05:10:31.912Z] ---> Running in 1918ef6799de [2024-08-28T05:10:32.877Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-28T05:14:39.756Z] Removing intermediate container 1918ef6799de [2024-08-28T05:14:39.756Z] ---> 04bb5235d550 [2024-08-28T05:14:39.756Z] Step 11/24 : FROM alpine:3.18 [2024-08-28T05:14:39.756Z] 3.18: Pulling from library/alpine [2024-08-28T05:14:39.756Z] 4983c3fe2029: Pulling fs layer [2024-08-28T05:14:39.756Z] 4983c3fe2029: Verifying Checksum [2024-08-28T05:14:39.756Z] 4983c3fe2029: Download complete [2024-08-28T05:14:39.756Z] 4983c3fe2029: Pull complete [2024-08-28T05:14:39.756Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T05:14:39.756Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T05:14:39.756Z] ---> a0237000ae83 [2024-08-28T05:14:39.756Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-28T05:14:39.756Z] ---> Running in 5995a8c3eb0e [2024-08-28T05:14:39.756Z] Removing intermediate container 5995a8c3eb0e [2024-08-28T05:14:39.756Z] ---> 36c7d425eda6 [2024-08-28T05:14:39.757Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-28T05:14:39.757Z] ---> Running in 0b61b9097712 [2024-08-28T05:14:39.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:14:39.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:14:39.757Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T05:14:39.757Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T05:14:39.757Z] OK: 8 MiB in 16 packages [2024-08-28T05:14:39.757Z] Removing intermediate container 0b61b9097712 [2024-08-28T05:14:39.757Z] ---> 04ae58445b05 [2024-08-28T05:14:39.757Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-28T05:14:39.757Z] ---> Running in 472f1c04db04 [2024-08-28T05:14:39.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:14:39.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:14:39.757Z] OK: 8 MiB in 16 packages [2024-08-28T05:14:40.340Z] Removing intermediate container 472f1c04db04 [2024-08-28T05:14:40.340Z] ---> 232020a3b464 [2024-08-28T05:14:40.340Z] Step 15/24 : WORKDIR / [2024-08-28T05:14:40.607Z] ---> Running in f7b6ee606c6f [2024-08-28T05:14:40.874Z] Removing intermediate container f7b6ee606c6f [2024-08-28T05:14:40.874Z] ---> 694ea7acfaf4 [2024-08-28T05:14:40.874Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-28T05:14:41.455Z] ---> 81868338ec0e [2024-08-28T05:14:41.455Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-28T05:14:43.391Z] ---> 7f770ed7b6fc [2024-08-28T05:14:43.391Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-28T05:14:43.987Z] ---> 451bcd5994c7 [2024-08-28T05:14:43.987Z] Step 19/24 : EXPOSE 59999 [2024-08-28T05:14:44.262Z] ---> Running in e834a9d56394 [2024-08-28T05:14:44.531Z] Removing intermediate container e834a9d56394 [2024-08-28T05:14:44.531Z] ---> f98214910d5b [2024-08-28T05:14:44.531Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-28T05:14:44.531Z] ---> Running in 0ead2b59fbf4 [2024-08-28T05:14:44.807Z] Removing intermediate container 0ead2b59fbf4 [2024-08-28T05:14:44.807Z] ---> 67550ecf611f [2024-08-28T05:14:44.807Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T05:14:45.084Z] ---> Running in 4acfcb29a905 [2024-08-28T05:14:45.353Z] Removing intermediate container 4acfcb29a905 [2024-08-28T05:14:45.353Z] ---> 5ef564974778 [2024-08-28T05:14:45.353Z] Step 22/24 : LABEL arch=arm64 [2024-08-28T05:14:45.353Z] ---> Running in e8f0d3d9a5bc [2024-08-28T05:14:45.621Z] Removing intermediate container e8f0d3d9a5bc [2024-08-28T05:14:45.621Z] ---> 8476cba4e815 [2024-08-28T05:14:45.621Z] Step 23/24 : LABEL git_sha=32976106376497f80a51a4ba1ecd880c9a8cabe8 [2024-08-28T05:14:45.896Z] ---> Running in f86866b7c740 [2024-08-28T05:14:46.167Z] Removing intermediate container f86866b7c740 [2024-08-28T05:14:46.167Z] ---> 7d5c05972b6a [2024-08-28T05:14:46.167Z] Step 24/24 : LABEL version=0.0.0 [2024-08-28T05:14:46.167Z] ---> Running in aaeffa9b7bef [2024-08-28T05:14:46.439Z] Removing intermediate container aaeffa9b7bef [2024-08-28T05:14:46.439Z] ---> 9f36ddb21875 [2024-08-28T05:14:46.439Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T05:14:46.708Z] Successfully built 9f36ddb21875 [2024-08-28T05:14:46.708Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:14:47.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:14:47.660Z] [2024-08-28T05:14:47.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:14:48.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:14:48.105Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-28T05:14:48.105Z] 8998bd30e6a1: Pulling fs layer [2024-08-28T05:14:48.105Z] 04944245beec: Pulling fs layer [2024-08-28T05:14:48.105Z] 699f458cf7ca: Pulling fs layer [2024-08-28T05:14:48.105Z] 765212b225bb: Pulling fs layer [2024-08-28T05:14:48.105Z] f23df028b6ca: Pulling fs layer [2024-08-28T05:14:48.105Z] d65c8cfc05b1: Pulling fs layer [2024-08-28T05:14:48.105Z] 2437ff75d9bd: Pulling fs layer [2024-08-28T05:14:48.105Z] d65c8cfc05b1: Waiting [2024-08-28T05:14:48.105Z] 765212b225bb: Waiting [2024-08-28T05:14:48.374Z] 04944245beec: Verifying Checksum [2024-08-28T05:14:48.374Z] 04944245beec: Download complete [2024-08-28T05:14:48.374Z] 765212b225bb: Verifying Checksum [2024-08-28T05:14:48.374Z] 765212b225bb: Download complete [2024-08-28T05:14:48.374Z] f23df028b6ca: Verifying Checksum [2024-08-28T05:14:48.374Z] f23df028b6ca: Download complete [2024-08-28T05:14:48.374Z] d65c8cfc05b1: Verifying Checksum [2024-08-28T05:14:48.374Z] d65c8cfc05b1: Download complete [2024-08-28T05:14:48.641Z] 699f458cf7ca: Verifying Checksum [2024-08-28T05:14:48.641Z] 699f458cf7ca: Download complete [2024-08-28T05:14:49.226Z] 8998bd30e6a1: Download complete [2024-08-28T05:14:51.811Z] 2437ff75d9bd: Verifying Checksum [2024-08-28T05:14:51.811Z] 2437ff75d9bd: Download complete [2024-08-28T05:14:54.390Z] 8998bd30e6a1: Pull complete [2024-08-28T05:14:54.664Z] 04944245beec: Pull complete [2024-08-28T05:14:56.619Z] 699f458cf7ca: Pull complete [2024-08-28T05:14:56.619Z] 765212b225bb: Pull complete [2024-08-28T05:14:57.581Z] f23df028b6ca: Pull complete [2024-08-28T05:14:57.848Z] d65c8cfc05b1: Pull complete [2024-08-28T05:15:16.057Z] 2437ff75d9bd: Pull complete [2024-08-28T05:15:16.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-28T05:15:16.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:15:16.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:15:16.442Z] prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container [2024-08-28T05:15:16.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-28T05:15:19.541Z] $ docker top 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:20.516Z] ---> job-cost.sh [2024-08-28T05:15:20.516Z] lf-activate-venv: SKIPPING [2024-08-28T05:15:20.516Z] INFO: No Stack... [2024-08-28T05:15:21.099Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-28T05:15:22.060Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T05:15:22.728Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-28T05:15:22.728Z] + cut -d, -f6 [Pipeline] lock [2024-08-28T05:15:22.819Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [2024-08-28T05:15:22.826Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] did not exist. Created. [2024-08-28T05:15:22.832Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T05:15:23.720Z] /w/workspace/device-sdk-go/1@tmp/durable-d1e25b08/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-28T05:15:24.400Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-28T05:15:24.445Z] Warning: overwriting stash ‘stack-cost’ [2024-08-28T05:15:24.540Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T05:15:24.559Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T05:15:24.646Z] $ docker stop --time=1 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 [2024-08-28T05:15:26.221Z] $ docker rm -f --volumes 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-28T05:15:27.359Z] provisioning config files... [2024-08-28T05:15:27.367Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config1710229230346440014tmp [Pipeline] { [Pipeline] sh [2024-08-28T05:15:27.715Z] + set +x [2024-08-28T05:15:27.715Z] + curl -s https://codecov.io/bash [2024-08-28T05:15:27.715Z] + bash -s -- [2024-08-28T05:15:27.715Z] [2024-08-28T05:15:27.715Z] _____ _ [2024-08-28T05:15:27.715Z] / ____| | | [2024-08-28T05:15:27.715Z] | | ___ __| | ___ ___ _____ __ [2024-08-28T05:15:27.715Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-28T05:15:27.715Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-28T05:15:27.715Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-28T05:15:27.715Z] Bash-1.0.6 [2024-08-28T05:15:27.715Z] [2024-08-28T05:15:27.715Z] [2024-08-28T05:15:27.715Z] ==> git version 2.25.1 found [2024-08-28T05:15:27.715Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-28T05:15:27.715Z] Release-Date: 2020-01-08 [2024-08-28T05:15:27.715Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-28T05:15:27.715Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-28T05:15:27.715Z] ==> Jenkins CI detected. [2024-08-28T05:15:27.715Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1618 [2024-08-28T05:15:27.715Z] project root: . [2024-08-28T05:15:27.715Z] --> token set from env [2024-08-28T05:15:27.715Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-28T05:15:27.715Z] ==> Running gcov in . (disable via -X gcov) [2024-08-28T05:15:27.715Z] ==> Python coveragepy not found [2024-08-28T05:15:27.715Z] ==> Searching for coverage reports in: [2024-08-28T05:15:27.715Z] + . [2024-08-28T05:15:27.715Z] -> Found 1 reports [2024-08-28T05:15:27.715Z] ==> Detecting git/mercurial file structure [2024-08-28T05:15:27.715Z] ==> Reading reports [2024-08-28T05:15:27.715Z] + ./coverage.out bytes=126492 [2024-08-28T05:15:27.715Z] ==> Appending adjustments [2024-08-28T05:15:27.715Z] https://docs.codecov.io/docs/fixing-reports [2024-08-28T05:15:28.281Z] + Found adjustments [2024-08-28T05:15:28.281Z] ==> Gzipping contents [2024-08-28T05:15:28.281Z] 20K /tmp/codecov.w9bQ9a.gz [2024-08-28T05:15:28.281Z] ==> Uploading reports [2024-08-28T05:15:28.281Z] url: https://codecov.io [2024-08-28T05:15:28.281Z] query: branch=PR-1618&commit=32976106376497f80a51a4ba1ecd880c9a8cabe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= [2024-08-28T05:15:28.281Z] -> Pinging Codecov [2024-08-28T05:15:28.281Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1618&commit=32976106376497f80a51a4ba1ecd880c9a8cabe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= [2024-08-28T05:15:28.281Z] -> Uploading to [2024-08-28T05:15:28.281Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-28/7E55EF52A471D76F132DFD9A03CDDE97/32976106376497f80a51a4ba1ecd880c9a8cabe8/c243c198-ba37-450f-bf80-7284689a665b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T051528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9440ddb2939847684c7a25ae6ac57ccd789d60a1245f3e049b8953845ab55e54 [2024-08-28T05:15:28.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T05:15:28.281Z] Dload Upload Total Spent Left Speed [2024-08-28T05:15:28.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17460 0 0 100 17460 0 75258 --:--:-- --:--:-- --:--:-- 75258 [2024-08-28T05:15:28.539Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] } [2024-08-28T05:15:28.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-28T05:15:30.727Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives ] [2024-08-28T05:15:30.727Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-08-28T05:15:30.727Z] total 16 [2024-08-28T05:15:30.727Z] drwxr-xr-x 3 root root 4096 Aug 28 04:56 . [2024-08-28T05:15:30.727Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:56 .. [2024-08-28T05:15:30.727Z] drwxr-xr-x 2 root root 4096 Aug 28 04:56 cost [2024-08-28T05:15:30.727Z] -rw-r--r-- 1 root root 86 Aug 28 04:56 cost.csv [2024-08-28T05:15:30.727Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-08-28T05:15:30.727Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-08-28T05:15:30.727Z] total 16 [2024-08-28T05:15:30.727Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:56 . [2024-08-28T05:15:30.727Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:56 .. [2024-08-28T05:15:30.727Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 04:56 cost [2024-08-28T05:15:30.727Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 28 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:31.059Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:31.955Z] ---> package-listing.sh [2024-08-28T05:15:31.955Z] ++ facter osfamily [2024-08-28T05:15:31.955Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-28T05:15:32.214Z] + OS_FAMILY=debian [2024-08-28T05:15:32.214Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1618 [2024-08-28T05:15:32.214Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-28T05:15:32.214Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-28T05:15:32.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-28T05:15:32.214Z] + PACKAGES=/tmp/packages_start.txt [2024-08-28T05:15:32.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' [2024-08-28T05:15:32.214Z] + PACKAGES=/tmp/packages_end.txt [2024-08-28T05:15:32.214Z] + case "${OS_FAMILY}" in [2024-08-28T05:15:32.214Z] + dpkg -l [2024-08-28T05:15:32.214Z] + grep '^ii' [2024-08-28T05:15:32.214Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-28T05:15:32.214Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-28T05:15:32.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-28T05:15:32.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' [2024-08-28T05:15:32.214Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [2024-08-28T05:15:32.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [Pipeline] echo [2024-08-28T05:15:32.258Z] 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-1618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-28T05:15:32.553Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:15:33.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:15:33.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:15:33.469Z] prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container [2024-08-28T05:15:33.512Z] $ 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-1618/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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-28T05:15:33.692Z] $ docker top 5259e6769b635b4a512a71903e88566707c49ebbfdc2e95f8aafc165d2e77111 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:15:34.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-28T05:15:34.422Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-28T05:15:34.737Z] + ls /var/log/sa-host [2024-08-28T05:15:34.737Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T05:15:34.868Z] provisioning config files... [2024-08-28T05:15:34.875Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config8848898458797959556tmp [Pipeline] { [Pipeline] echo [2024-08-28T05:15:34.934Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:35.257Z] ---> create-netrc.sh [Pipeline] } [2024-08-28T05:15:35.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:35.720Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-28T05:15:35.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:36.080Z] ---> sudo-logs.sh [2024-08-28T05:15:36.080Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-28T05:15:36.181Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:36.502Z] ---> job-cost.sh [2024-08-28T05:15:36.502Z] lf-activate-venv: SKIPPING [2024-08-28T05:15:36.502Z] DEBUG: total: 0.2199999988079071 [2024-08-28T05:15:36.502Z] INFO: Retrieving Stack Cost... [2024-08-28T05:15:36.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T05:15:37.331Z] INFO: Archiving Costs [Pipeline] echo [2024-08-28T05:15:37.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:37.708Z] ---> logs-deploy.sh [2024-08-28T05:15:37.708Z] lf-activate-venv: SKIPPING [2024-08-28T05:15:37.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1618/1 [2024-08-28T05:15:37.708Z] INFO: archiving workspace using pattern(s): [2024-08-28T05:15:38.645Z] Archives upload complete. [2024-08-28T05:15:38.645Z] INFO: archiving logs to Nexus