Pull request #1607 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2c0f4ed6bb705a30f5bf719c67df6f419fc12bf2+9af2c67acc1b0a717523512c26f369bc9793e2f1 (99b9d54af712f09d6c48a37465be5cec6b256058) 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-ssh5247850419446827770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh10303480258161315881.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh732825673012761103.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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 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-ssh18163365054493195915.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1607/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1607/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14959092802035213758.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-6731’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6734 in /w/workspace/gexfoundry_device-sdk-go_PR-1607 [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-1607 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1607/head:refs/remotes/origin/PR-1607 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9af2c67acc1b0a717523512c26f369bc9793e2f1 into PR head commit 2c0f4ed6bb705a30f5bf719c67df6f419fc12bf2 Merge succeeded, producing 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 Checking out Revision 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 (PR-1607) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c0f4ed6bb705a30f5bf719c67df6f419fc12bf2 # 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 9af2c67acc1b0a717523512c26f369bc9793e2f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 # timeout=10 Commit message: "Merge commit '9af2c67acc1b0a717523512c26f369bc9793e2f1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ce5843b9d205583a38be4661fc0f6d3e28720080 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-30T06:58:55.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-30T06:58:55.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-30T06:58:55.425Z] ========================================================= [2024-07-30T06:58:55.425Z] EdgeX Global Pipelines Version Info [2024-07-30T06:58:55.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:58:56.154Z] ------------------- [2024-07-30T06:58:56.154Z] stable info: [2024-07-30T06:58:56.154Z] ------------------- [2024-07-30T06:58:56.154Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T06:58:56.154Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T06:58:56.154Z] Message: update stable to v1.0.260 [2024-07-30T06:58:56.725Z] ------------------- [2024-07-30T06:58:56.725Z] experimental info: [2024-07-30T06:58:56.725Z] ------------------- [2024-07-30T06:58:56.725Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T06:58:56.725Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-30T06:58:56.725Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-30T06:58:56.806Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-30T06:58:56.827Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-30T06:58:56.845Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-30T06:58:56.865Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-30T06:58:56.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-30T06:58:56.908Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-30T06:58:56.931Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-30T06:58:56.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-30T06:58:56.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-30T06:58:57.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-30T06:58:57.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-30T06:58:57.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-30T06:58:57.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-30T06:58:57.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-30T06:58:57.139Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T06:58:57.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T06:58:57.187Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T06:58:57.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T06:58:57.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-30T06:58:57.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-30T06:58:57.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-30T06:58:57.299Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-30T06:58:57.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-30T06:58:57.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-30T06:58:57.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-30T06:58:57.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-30T06:58:57.424Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-30T06:58:57.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1607 [Pipeline] echo [2024-07-30T06:58:57.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1607 [Pipeline] echo [2024-07-30T06:58:57.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1607 [Pipeline] echo [2024-07-30T06:58:57.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [Pipeline] echo [2024-07-30T06:58:57.541Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6458ce7 [Pipeline] echo [2024-07-30T06:58:57.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T06:58:57.633Z] provisioning config files... [2024-07-30T06:58:57.648Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/config3542853436219035698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:58:57.980Z] ---> ****-login.sh [2024-07-30T06:58:57.980Z] nexus3.edgexfoundry.org:10001 [2024-07-30T06:58:58.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:58:58.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:58:58.500Z] Configure a credential helper to remove this warning. See [2024-07-30T06:58:58.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:58:58.500Z] [2024-07-30T06:58:58.500Z] Login Succeeded [2024-07-30T06:58:58.500Z] nexus3.edgexfoundry.org:10002 [2024-07-30T06:58:58.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:58:58.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:58:58.501Z] Configure a credential helper to remove this warning. See [2024-07-30T06:58:58.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:58:58.501Z] [2024-07-30T06:58:58.501Z] Login Succeeded [2024-07-30T06:58:58.501Z] nexus3.edgexfoundry.org:10003 [2024-07-30T06:58:58.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:58:58.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:58:58.501Z] Configure a credential helper to remove this warning. See [2024-07-30T06:58:58.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:58:58.501Z] [2024-07-30T06:58:58.501Z] Login Succeeded [2024-07-30T06:58:58.501Z] nexus3.edgexfoundry.org:10004 [2024-07-30T06:58:58.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:58:58.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:58:58.761Z] Configure a credential helper to remove this warning. See [2024-07-30T06:58:58.761Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:58:58.761Z] [2024-07-30T06:58:58.761Z] Login Succeeded [2024-07-30T06:58:58.761Z] ****.io [2024-07-30T06:58:58.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:58:59.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:58:59.021Z] Configure a credential helper to remove this warning. See [2024-07-30T06:58:59.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:58:59.021Z] [2024-07-30T06:58:59.021Z] Login Succeeded [2024-07-30T06:58:59.021Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T06:58:59.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-30T06:58:59.433Z] + git rev-list -1 --merges 6458ce70b5a770f89c6533b6e2de6928e90bf5b8~1..6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [Pipeline] echo [2024-07-30T06:58:59.459Z] -----------> git rev-list -1 --merges 6458ce70b5a770f89c6533b6e2de6928e90bf5b8~1..6458ce70b5a770f89c6533b6e2de6928e90bf5b8 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [2024-07-30T06:58:59.459Z] 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [false] [Pipeline] sh [2024-07-30T06:58:59.747Z] + git log --format=format:%s -1 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [Pipeline] echo [2024-07-30T06:58:59.761Z] ========================================================= [2024-07-30T06:58:59.761Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-30T06:58:59.761Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T06:59:00.108Z] + git log --format=format:%s -1 6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [Pipeline] echo [2024-07-30T06:59:00.121Z] [semverPrep] GIT_COMMIT: 6458ce70b5a770f89c6533b6e2de6928e90bf5b8, Commit Message: Merge commit '9af2c67acc1b0a717523512c26f369bc9793e2f1' into HEAD [Pipeline] echo [2024-07-30T06:59:00.139Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-30T06:59:00.509Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-30T06:59:00.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-30T06:59:00.510Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-30T06:59:00.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-30T06:59:00.510Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-30T06:59:00.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-30T06:59:00.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:59:00.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:59:00.920Z] [2024-07-30T06:59:00.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:59:01.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:59:01.235Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-30T06:59:01.235Z] b85a868b505f: Pulling fs layer [2024-07-30T06:59:01.235Z] e2be974225ed: Pulling fs layer [2024-07-30T06:59:01.235Z] 339a4e72a1f5: Pulling fs layer [2024-07-30T06:59:01.235Z] 988bab9f4d93: Pulling fs layer [2024-07-30T06:59:01.235Z] 1469e6f7b9e6: Pulling fs layer [2024-07-30T06:59:01.235Z] eaf3925da568: Pulling fs layer [2024-07-30T06:59:01.235Z] bab4dde63d76: Pulling fs layer [2024-07-30T06:59:01.235Z] 988bab9f4d93: Waiting [2024-07-30T06:59:01.235Z] 1469e6f7b9e6: Waiting [2024-07-30T06:59:01.235Z] eaf3925da568: Waiting [2024-07-30T06:59:01.235Z] bab4dde63d76: Waiting [2024-07-30T06:59:01.235Z] bde34c3a00c8: Pulling fs layer [2024-07-30T06:59:01.235Z] b352a97aabf1: Pulling fs layer [2024-07-30T06:59:01.235Z] 4872d77fe225: Pulling fs layer [2024-07-30T06:59:01.235Z] bde34c3a00c8: Waiting [2024-07-30T06:59:01.235Z] b352a97aabf1: Waiting [2024-07-30T06:59:01.235Z] 5851b861e8e6: Pulling fs layer [2024-07-30T06:59:01.235Z] 4872d77fe225: Waiting [2024-07-30T06:59:01.235Z] 5851b861e8e6: Waiting [2024-07-30T06:59:01.235Z] e2be974225ed: Verifying Checksum [2024-07-30T06:59:01.235Z] e2be974225ed: Download complete [2024-07-30T06:59:01.235Z] 988bab9f4d93: Verifying Checksum [2024-07-30T06:59:01.235Z] 988bab9f4d93: Download complete [2024-07-30T06:59:01.235Z] 1469e6f7b9e6: Verifying Checksum [2024-07-30T06:59:01.235Z] 1469e6f7b9e6: Download complete [2024-07-30T06:59:01.235Z] 339a4e72a1f5: Verifying Checksum [2024-07-30T06:59:01.235Z] 339a4e72a1f5: Download complete [2024-07-30T06:59:01.495Z] eaf3925da568: Download complete [2024-07-30T06:59:01.495Z] bde34c3a00c8: Verifying Checksum [2024-07-30T06:59:01.495Z] bde34c3a00c8: Download complete [2024-07-30T06:59:01.495Z] b352a97aabf1: Download complete [2024-07-30T06:59:01.495Z] 4872d77fe225: Download complete [2024-07-30T06:59:01.495Z] 5851b861e8e6: Download complete [2024-07-30T06:59:01.495Z] b85a868b505f: Verifying Checksum [2024-07-30T06:59:01.495Z] b85a868b505f: Download complete [2024-07-30T06:59:01.754Z] bab4dde63d76: Verifying Checksum [2024-07-30T06:59:01.754Z] bab4dde63d76: Download complete [2024-07-30T06:59:02.687Z] b85a868b505f: Pull complete [2024-07-30T06:59:02.687Z] e2be974225ed: Pull complete [2024-07-30T06:59:02.946Z] 339a4e72a1f5: Pull complete [2024-07-30T06:59:03.206Z] 988bab9f4d93: Pull complete [2024-07-30T06:59:03.464Z] 1469e6f7b9e6: Pull complete [2024-07-30T06:59:03.464Z] eaf3925da568: Pull complete [2024-07-30T06:59:04.840Z] bab4dde63d76: Pull complete [2024-07-30T06:59:05.100Z] bde34c3a00c8: Pull complete [2024-07-30T06:59:05.100Z] b352a97aabf1: Pull complete [2024-07-30T06:59:05.100Z] 4872d77fe225: Pull complete [2024-07-30T06:59:05.361Z] 5851b861e8e6: Pull complete [2024-07-30T06:59:05.361Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-30T06:59:05.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:59:05.361Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:59:05.502Z] prd-ubuntu20.04-docker-8c-8g-6734 does not seem to be running inside a container [2024-07-30T06:59:05.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1607 -v /w/workspace/gexfoundry_device-sdk-go_PR-1607:/w/workspace/gexfoundry_device-sdk-go_PR-1607:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1607@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-30T06:59:06.772Z] $ docker top b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de -eo pid,comm [2024-07-30T06:59:06.826Z] 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-07-30T06:59:06.826Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-30T06:59:06.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T06:59:06.872Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T06:59:06.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T06:59:06.980Z] $ docker exec b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de ssh-agent [2024-07-30T06:59:07.084Z] SSH_AUTH_SOCK=/tmp/ssh-W4VQMvmU3FrU/agent.32 [2024-07-30T06:59:07.084Z] SSH_AGENT_PID=38 [2024-07-30T06:59:07.089Z] Running ssh-add (command line suppressed) [2024-07-30T06:59:07.185Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/private_key_16710454135171550127.key (/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/private_key_16710454135171550127.key) [2024-07-30T06:59:07.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T06:59:07.486Z] + git tag --points-at HEAD [Pipeline] } [2024-07-30T06:59:07.496Z] $ docker exec --env ******** --env ******** b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de ssh-agent -k [2024-07-30T06:59:07.593Z] unset SSH_AUTH_SOCK; [2024-07-30T06:59:07.593Z] unset SSH_AGENT_PID; [2024-07-30T06:59:07.594Z] echo Agent pid 38 killed; [2024-07-30T06:59:07.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-30T06:59:07.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T06:59:07.639Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T06:59:07.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T06:59:07.746Z] $ docker exec b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de ssh-agent [2024-07-30T06:59:07.860Z] SSH_AUTH_SOCK=/tmp/ssh-Hu6cGWeb40I8/agent.71 [2024-07-30T06:59:07.860Z] SSH_AGENT_PID=77 [2024-07-30T06:59:07.865Z] Running ssh-add (command line suppressed) [2024-07-30T06:59:07.956Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/private_key_4632997838787230971.key (/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/private_key_4632997838787230971.key) [2024-07-30T06:59:07.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T06:59:08.259Z] + git semver init [2024-07-30T06:59:08.519Z] 2024-07-30 06:59:08,449 [run_init] DEBUG init version:0.0.0 force:False [2024-07-30T06:59:08.519Z] 2024-07-30 06:59:08,450 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver [2024-07-30T06:59:08.519Z] 2024-07-30 06:59:08,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver [2024-07-30T06:59:08.519Z] 2024-07-30 06:59:08,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1607, universal_newlines=False, shell=None, istream=None) [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,276 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607/.git/info/exclude [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver/PR-1607 with force:False [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,277 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver/PR-1607 [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,281 [execute] INFO git cat-file --batch-check [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,288 [execute] INFO git cat-file --batch [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T06:59:10.427Z] 2024-07-30 06:59:10,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1607/.semver/PR-1607 [2024-07-30T06:59:10.427Z] 0.0.0 [Pipeline] } [2024-07-30T06:59:10.435Z] $ docker exec --env ******** --env ******** b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de ssh-agent -k [2024-07-30T06:59:10.531Z] unset SSH_AUTH_SOCK; [2024-07-30T06:59:10.532Z] unset SSH_AGENT_PID; [2024-07-30T06:59:10.532Z] echo Agent pid 77 killed; [2024-07-30T06:59:10.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-30T06:59:10.871Z] + git semver [Pipeline] } [2024-07-30T06:59:11.142Z] $ docker stop --time=1 b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de [2024-07-30T06:59:12.462Z] $ docker rm -f --volumes b3ff32b4cc2956e5a2829525451fe8a722d3b4916f40d9f518ec63b5709120de [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T06:59:12.808Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-30T06:59:13.051Z] Stashed 1 file(s) [Pipeline] echo [2024-07-30T06:59:13.055Z] [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-07-30T06:59:13.250Z] provisioning config files... [2024-07-30T06:59:13.259Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/config3922733811871212495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:59:13.580Z] ---> ****-login.sh [2024-07-30T06:59:13.580Z] nexus3.edgexfoundry.org:10001 [2024-07-30T06:59:13.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:59:13.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:59:13.580Z] Configure a credential helper to remove this warning. See [2024-07-30T06:59:13.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:59:13.580Z] [2024-07-30T06:59:13.580Z] Login Succeeded [2024-07-30T06:59:13.580Z] nexus3.edgexfoundry.org:10002 [2024-07-30T06:59:13.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:59:13.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:59:13.580Z] Configure a credential helper to remove this warning. See [2024-07-30T06:59:13.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:59:13.581Z] [2024-07-30T06:59:13.581Z] Login Succeeded [2024-07-30T06:59:13.581Z] nexus3.edgexfoundry.org:10003 [2024-07-30T06:59:13.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:59:13.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:59:13.840Z] Configure a credential helper to remove this warning. See [2024-07-30T06:59:13.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:59:13.840Z] [2024-07-30T06:59:13.840Z] Login Succeeded [2024-07-30T06:59:13.840Z] nexus3.edgexfoundry.org:10004 [2024-07-30T06:59:13.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:59:13.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:59:13.841Z] Configure a credential helper to remove this warning. See [2024-07-30T06:59:13.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:59:13.841Z] [2024-07-30T06:59:13.841Z] Login Succeeded [2024-07-30T06:59:13.841Z] ****.io [2024-07-30T06:59:14.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:59:14.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:59:14.101Z] Configure a credential helper to remove this warning. See [2024-07-30T06:59:14.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:59:14.101Z] [2024-07-30T06:59:14.101Z] Login Succeeded [2024-07-30T06:59:14.101Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T06:59:14.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T06:59:14.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:59:14.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:59:14.250Z] ========================================================= [2024-07-30T06:59:14.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-30T06:59:14.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:59:14.593Z] + 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-07-30T06:59:14.593Z] Sending build context to Docker daemon 25.18MB [2024-07-30T06:59:14.593Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T06:59:14.593Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-30T06:59:14.852Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-30T06:59:14.852Z] 619be1103602: Pulling fs layer [2024-07-30T06:59:14.852Z] 7862e08f4a3e: Pulling fs layer [2024-07-30T06:59:14.852Z] 5df492c9dc93: Pulling fs layer [2024-07-30T06:59:14.852Z] 7629e6793208: Pulling fs layer [2024-07-30T06:59:14.852Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T06:59:14.852Z] fb5054dd5b73: Pulling fs layer [2024-07-30T06:59:14.852Z] eeca6798cff9: Pulling fs layer [2024-07-30T06:59:14.852Z] aa269ceb94a6: Pulling fs layer [2024-07-30T06:59:14.852Z] ada007ff1a6a: Pulling fs layer [2024-07-30T06:59:14.852Z] 4f4fb700ef54: Waiting [2024-07-30T06:59:14.852Z] 7629e6793208: Waiting [2024-07-30T06:59:14.852Z] fb5054dd5b73: Waiting [2024-07-30T06:59:14.852Z] ada007ff1a6a: Waiting [2024-07-30T06:59:14.852Z] aa269ceb94a6: Waiting [2024-07-30T06:59:14.852Z] 7862e08f4a3e: Download complete [2024-07-30T06:59:14.852Z] 7629e6793208: Verifying Checksum [2024-07-30T06:59:14.852Z] 7629e6793208: Download complete [2024-07-30T06:59:14.852Z] 4f4fb700ef54: Verifying Checksum [2024-07-30T06:59:14.852Z] 4f4fb700ef54: Download complete [2024-07-30T06:59:14.852Z] 619be1103602: Download complete [2024-07-30T06:59:14.852Z] fb5054dd5b73: Verifying Checksum [2024-07-30T06:59:14.852Z] fb5054dd5b73: Download complete [2024-07-30T06:59:14.852Z] eeca6798cff9: Verifying Checksum [2024-07-30T06:59:14.852Z] eeca6798cff9: Download complete [2024-07-30T06:59:14.852Z] 619be1103602: Pull complete [2024-07-30T06:59:15.110Z] ada007ff1a6a: Verifying Checksum [2024-07-30T06:59:15.110Z] ada007ff1a6a: Download complete [2024-07-30T06:59:15.110Z] 7862e08f4a3e: Pull complete [2024-07-30T06:59:15.110Z] 5df492c9dc93: Verifying Checksum [2024-07-30T06:59:15.110Z] 5df492c9dc93: Download complete [2024-07-30T06:59:15.676Z] aa269ceb94a6: Verifying Checksum [2024-07-30T06:59:15.676Z] aa269ceb94a6: Download complete [2024-07-30T06:59:18.230Z] 5df492c9dc93: Pull complete [2024-07-30T06:59:18.230Z] 7629e6793208: Pull complete [2024-07-30T06:59:18.230Z] 4f4fb700ef54: Pull complete [2024-07-30T06:59:18.230Z] fb5054dd5b73: Pull complete [2024-07-30T06:59:18.230Z] eeca6798cff9: Pull complete [2024-07-30T06:59:20.766Z] aa269ceb94a6: Pull complete [2024-07-30T06:59:21.026Z] ada007ff1a6a: Pull complete [2024-07-30T06:59:21.026Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-30T06:59:21.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-30T06:59:21.026Z] ---> f489d0715acc [2024-07-30T06:59:21.026Z] Step 3/10 : ARG MAKE=make build [2024-07-30T06:59:22.404Z] ---> Running in 2df3470e5dbb [2024-07-30T06:59:22.405Z] Removing intermediate container 2df3470e5dbb [2024-07-30T06:59:22.405Z] ---> 4e17fee6ea49 [2024-07-30T06:59:22.405Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-30T06:59:22.405Z] ---> Running in 47db3d0eb9dd [2024-07-30T06:59:22.405Z] Removing intermediate container 47db3d0eb9dd [2024-07-30T06:59:22.405Z] ---> afd8ec8248e6 [2024-07-30T06:59:22.405Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T06:59:22.405Z] ---> Running in 4f75613a61c5 [2024-07-30T06:59:22.665Z] Removing intermediate container 4f75613a61c5 [2024-07-30T06:59:22.665Z] ---> 4c68328ab603 [2024-07-30T06:59:22.665Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-30T06:59:22.665Z] ---> Running in ce9c5f54e80b [2024-07-30T06:59:22.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T06:59:22.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T06:59:23.185Z] OK: 264 MiB in 52 packages [2024-07-30T06:59:23.753Z] Removing intermediate container ce9c5f54e80b [2024-07-30T06:59:23.753Z] ---> 1abc07c76dbb [2024-07-30T06:59:23.753Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-30T06:59:23.753Z] ---> 63a417fd7ca4 [2024-07-30T06:59:23.753Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T06:59:23.753Z] ---> Running in 47922de24450 [2024-07-30T06:59:28.193Z] Still waiting to schedule task [2024-07-30T06:59:28.193Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6733’ is offline [2024-07-30T07:00:10.440Z] Removing intermediate container 47922de24450 [2024-07-30T07:00:10.440Z] ---> d19d5e077319 [2024-07-30T07:00:10.440Z] Step 9/10 : COPY . . [2024-07-30T07:00:10.440Z] ---> 510d3cdc00ad [2024-07-30T07:00:10.440Z] Step 10/10 : RUN ${MAKE} [2024-07-30T07:00:10.440Z] ---> Running in 3424c83a36c5 [2024-07-30T07:00:10.440Z] noop [2024-07-30T07:00:10.440Z] Removing intermediate container 3424c83a36c5 [2024-07-30T07:00:10.440Z] ---> 25b2d2f26a10 [2024-07-30T07:00:10.440Z] Successfully built 25b2d2f26a10 [2024-07-30T07:00:10.440Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:00:10.774Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T07:00:10.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:00:10.855Z] prd-ubuntu20.04-docker-8c-8g-6734 does not seem to be running inside a container [2024-07-30T07:00:10.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1607 -v /w/workspace/gexfoundry_device-sdk-go_PR-1607:/w/workspace/gexfoundry_device-sdk-go_PR-1607:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1607@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-30T07:00:11.213Z] $ docker top 65fc3e4f685d580f35b83810f485773c797a08416160655336e0181429a967f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T07:00:11.563Z] + go version [2024-07-30T07:00:11.563Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-30T07:00:11.571Z] $ docker stop --time=1 65fc3e4f685d580f35b83810f485773c797a08416160655336e0181429a967f7 [2024-07-30T07:00:12.829Z] $ docker rm -f --volumes 65fc3e4f685d580f35b83810f485773c797a08416160655336e0181429a967f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:00:13.268Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T07:00:13.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:00:13.341Z] prd-ubuntu20.04-docker-8c-8g-6734 does not seem to be running inside a container [2024-07-30T07:00:13.369Z] $ 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-1607 -v /w/workspace/gexfoundry_device-sdk-go_PR-1607:/w/workspace/gexfoundry_device-sdk-go_PR-1607:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1607@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-30T07:00:13.667Z] $ docker top 2624ba022707a14df4206fa47b0198d3914b5f837314b7e0f52ed46e8d185d53 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T07:00:14.020Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1607 [Pipeline] fileExists [Pipeline] sh [2024-07-30T07:00:14.319Z] + make test [2024-07-30T07:00:14.319Z] go test -race -coverprofile=coverage.out ./... [2024-07-30T07:00:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-30T07:00:47.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.0% of statements [2024-07-30T07:00:47.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements [2024-07-30T07:00:47.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements [2024-07-30T07:00:47.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-30T07:00:47.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-30T07:00:47.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-30T07:00:48.311Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 52.2% of statements [2024-07-30T07:00:48.877Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-30T07:00:51.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements [2024-07-30T07:00:51.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.848s coverage: 44.6% of statements [2024-07-30T07:00:51.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.041s coverage: 68.5% of statements [2024-07-30T07:00:51.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.103s coverage: 89.2% of statements [2024-07-30T07:00:51.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.4% of statements [2024-07-30T07:00:53.728Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6735 in /w/workspace/gexfoundry_device-sdk-go_PR-1607 [Pipeline] { [Pipeline] ws [2024-07-30T07:00:53.747Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-07-30T07:00:56.802Z] The recommended git tool is: git [2024-07-30T07:01:00.999Z] using credential edgex-jenkins-ssh [2024-07-30T07:01:01.018Z] Cloning the remote Git repository [2024-07-30T07:01:01.040Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-30T07:01:01.120Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-07-30T07:01:01.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-30T07:01:01.244Z] > git --version # timeout=10 [2024-07-30T07:01:01.265Z] > git --version # 'git version 2.25.1' [2024-07-30T07:01:01.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T07:01:01.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T07:01:04.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-30T07:01:04.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T07:01:06.375Z] Merging remotes/origin/main commit 9af2c67acc1b0a717523512c26f369bc9793e2f1 into PR head commit 2c0f4ed6bb705a30f5bf719c67df6f419fc12bf2 [2024-07-30T07:01:06.747Z] Merge succeeded, producing 925fa31aba29bb759ed3c066ecee779cdcb703ac [2024-07-30T07:01:06.748Z] Checking out Revision 925fa31aba29bb759ed3c066ecee779cdcb703ac (PR-1607) [2024-07-30T07:01:05.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-30T07:01:05.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-30T07:01:05.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T07:01:05.725Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1607/head:refs/remotes/origin/PR-1607 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-30T07:01:06.383Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T07:01:06.451Z] > git checkout -f 2c0f4ed6bb705a30f5bf719c67df6f419fc12bf2 # timeout=10 [2024-07-30T07:01:06.560Z] > git remote # timeout=10 [2024-07-30T07:01:06.577Z] > git config --get remote.origin.url # timeout=10 [2024-07-30T07:01:06.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T07:01:06.614Z] > git merge 9af2c67acc1b0a717523512c26f369bc9793e2f1 # timeout=10 [2024-07-30T07:01:06.712Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-30T07:01:06.743Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T07:01:06.760Z] > git checkout -f 925fa31aba29bb759ed3c066ecee779cdcb703ac # timeout=10 [2024-07-30T07:01:10.356Z] Commit message: "Merge commit '9af2c67acc1b0a717523512c26f369bc9793e2f1' into HEAD" [2024-07-30T07:01:10.379Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T07:01:10.355Z] > git rev-list --no-walk ce5843b9d205583a38be4661fc0f6d3e28720080 # timeout=10 [2024-07-30T07:01:11.930Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-30T07:01:11.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T07:01:11.930Z] Dload Upload Total Spent Left Speed [2024-07-30T07:01:11.930Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh [2024-07-30T07:01:12.276Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-30T07:01:12.602Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-07-30T07:01:12.602Z] sudo tee /etc/docker/daemon.new [2024-07-30T07:01:12.602Z] { [2024-07-30T07:01:12.602Z] "registry-mirrors": [ [2024-07-30T07:01:12.602Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-30T07:01:12.602Z] ], [2024-07-30T07:01:12.602Z] "bip": "10.250.0.254/24", [2024-07-30T07:01:12.602Z] "hosts": [ [2024-07-30T07:01:12.602Z] "tcp://0.0.0.0:5555", [2024-07-30T07:01:12.602Z] "unix:///var/run/docker.sock" [2024-07-30T07:01:12.602Z] ], [2024-07-30T07:01:12.602Z] "mtu": 1458, [2024-07-30T07:01:12.602Z] "selinux-enabled": true, [2024-07-30T07:01:12.602Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-30T07:01:12.602Z] } [Pipeline] sh [2024-07-30T07:01:12.931Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-30T07:01:13.267Z] + sudo service docker restart [2024-07-30T07:01:23.487Z] GO111MODULE=on go vet ./... [2024-07-30T07:01:27.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T07:01:27.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T07:01:27.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-30T07:01:27.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T07:01:27.700Z] $ docker stop --time=1 2624ba022707a14df4206fa47b0198d3914b5f837314b7e0f52ed46e8d185d53 [2024-07-30T07:01:29.935Z] $ docker rm -f --volumes 2624ba022707a14df4206fa47b0198d3914b5f837314b7e0f52ed46e8d185d53 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T07:01:30.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T07:01:30.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-30T07:01:31.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T07:01:31.473Z] + ls -al . [2024-07-30T07:01:31.473Z] total 380 [2024-07-30T07:01:31.473Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 30 07:00 . [2024-07-30T07:01:31.473Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:58 .. [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 06:58 .dockerignore [2024-07-30T07:01:31.473Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 07:00 .git [2024-07-30T07:01:31.473Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:58 .github [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 06:58 .gitignore [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 06:58 .golangci.yml [2024-07-30T07:01:31.473Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 06:59 .semver [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 06:58 CHANGELOG.md [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 06:58 GOVERNANCE.md [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 06:58 Jenkinsfile [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 06:58 LICENSE [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 06:58 Makefile [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 06:58 OWNERS.md [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 06:58 README.md [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:59 VERSION [2024-07-30T07:01:31.473Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:58 bin [2024-07-30T07:01:31.473Z] -rw-r--r-- 1 jenkins jenkins 125704 Jul 30 07:00 coverage.out [2024-07-30T07:01:31.473Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 06:58 example [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 06:58 go.mod [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 06:58 go.sum [2024-07-30T07:01:31.473Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 06:58 internal [2024-07-30T07:01:31.473Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:58 openapi [2024-07-30T07:01:31.473Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 06:58 pkg [2024-07-30T07:01:31.473Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:58 snap [2024-07-30T07:01:31.473Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2024-07-30T07:01:31.563Z] provisioning config files... [2024-07-30T07:01:31.587Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config15700055665165566900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:01:31.806Z] + 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=6458ce70b5a770f89c6533b6e2de6928e90bf5b8 --label arch=amd64 --label version=0.0.0 . [2024-07-30T07:01:31.807Z] Sending build context to Docker daemon 25.3MB [2024-07-30T07:01:31.807Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T07:01:31.807Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-30T07:01:31.807Z] ---> 25b2d2f26a10 [2024-07-30T07:01:31.807Z] Step 3/24 : ARG MAKE=make build [2024-07-30T07:01:32.055Z] ---> ****-login.sh [2024-07-30T07:01:32.056Z] nexus3.edgexfoundry.org:10001 [2024-07-30T07:01:32.063Z] ---> Running in cfc2ce2e7f9f [2024-07-30T07:01:32.063Z] Removing intermediate container cfc2ce2e7f9f [2024-07-30T07:01:32.063Z] ---> 0965f672e8ac [2024-07-30T07:01:32.063Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-30T07:01:32.063Z] ---> Running in 754a47e6a987 [2024-07-30T07:01:32.063Z] Removing intermediate container 754a47e6a987 [2024-07-30T07:01:32.063Z] ---> d10573728a01 [2024-07-30T07:01:32.063Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T07:01:32.063Z] ---> Running in 39f6fb13b8e7 [2024-07-30T07:01:32.322Z] Removing intermediate container 39f6fb13b8e7 [2024-07-30T07:01:32.322Z] ---> 5745f58f9cbc [2024-07-30T07:01:32.322Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-30T07:01:32.322Z] ---> Running in 7772ffb18dab [2024-07-30T07:01:32.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T07:01:32.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T07:01:32.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T07:01:32.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T07:01:32.602Z] Configure a credential helper to remove this warning. See [2024-07-30T07:01:32.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T07:01:32.602Z] [2024-07-30T07:01:32.602Z] Login Succeeded [2024-07-30T07:01:32.602Z] nexus3.edgexfoundry.org:10002 [2024-07-30T07:01:32.839Z] OK: 264 MiB in 52 packages [2024-07-30T07:01:32.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T07:01:32.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T07:01:32.872Z] Configure a credential helper to remove this warning. See [2024-07-30T07:01:32.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T07:01:32.873Z] [2024-07-30T07:01:32.873Z] Login Succeeded [2024-07-30T07:01:32.873Z] nexus3.edgexfoundry.org:10003 [2024-07-30T07:01:33.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T07:01:33.405Z] Removing intermediate container 7772ffb18dab [2024-07-30T07:01:33.405Z] ---> 675aa42bdd57 [2024-07-30T07:01:33.405Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-30T07:01:33.405Z] ---> 068b5c998754 [2024-07-30T07:01:33.405Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T07:01:33.405Z] ---> Running in 0f1ddf7ac835 [2024-07-30T07:01:33.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T07:01:33.413Z] Configure a credential helper to remove this warning. See [2024-07-30T07:01:33.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T07:01:33.413Z] [2024-07-30T07:01:33.413Z] Login Succeeded [2024-07-30T07:01:33.413Z] nexus3.edgexfoundry.org:10004 [2024-07-30T07:01:33.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T07:01:33.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T07:01:33.684Z] Configure a credential helper to remove this warning. See [2024-07-30T07:01:33.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T07:01:33.684Z] [2024-07-30T07:01:33.684Z] Login Succeeded [2024-07-30T07:01:33.684Z] ****.io [2024-07-30T07:01:33.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T07:01:33.970Z] Removing intermediate container 0f1ddf7ac835 [2024-07-30T07:01:33.970Z] ---> d467b90ab182 [2024-07-30T07:01:33.970Z] Step 9/24 : COPY . . [2024-07-30T07:01:34.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T07:01:34.231Z] Configure a credential helper to remove this warning. See [2024-07-30T07:01:34.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T07:01:34.231Z] [2024-07-30T07:01:34.231Z] Login Succeeded [2024-07-30T07:01:34.231Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T07:01:34.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-07-30T07:01:34.538Z] ---> 51f7ff166175 [2024-07-30T07:01:34.538Z] Step 10/24 : RUN ${MAKE} [2024-07-30T07:01:34.538Z] ---> Running in 2cf8c877fa32 [Pipeline] echo [2024-07-30T07:01:34.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T07:01:34.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T07:01:34.634Z] ========================================================= [2024-07-30T07:01:34.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-30T07:01:34.634Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:01:34.798Z] 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-07-30T07:01:35.007Z] + 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-07-30T07:01:35.597Z] Sending build context to Docker daemon 13.03MB [2024-07-30T07:01:35.597Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T07:01:35.597Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-30T07:01:36.185Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-30T07:01:36.185Z] c6b39de5b339: Pulling fs layer [2024-07-30T07:01:36.185Z] a69c41024577: Pulling fs layer [2024-07-30T07:01:36.185Z] d6de4b400683: Pulling fs layer [2024-07-30T07:01:36.185Z] 35cb2a7552d0: Pulling fs layer [2024-07-30T07:01:36.185Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T07:01:36.185Z] 464afbd9ba4c: Pulling fs layer [2024-07-30T07:01:36.185Z] 00f215d4a9da: Pulling fs layer [2024-07-30T07:01:36.185Z] d496ad576159: Pulling fs layer [2024-07-30T07:01:36.185Z] 4f4fb700ef54: Waiting [2024-07-30T07:01:36.185Z] 464afbd9ba4c: Waiting [2024-07-30T07:01:36.185Z] d496ad576159: Waiting [2024-07-30T07:01:36.185Z] 00f215d4a9da: Waiting [2024-07-30T07:01:36.185Z] 35cb2a7552d0: Waiting [2024-07-30T07:01:36.185Z] a69c41024577: Verifying Checksum [2024-07-30T07:01:36.185Z] a69c41024577: Download complete [2024-07-30T07:01:36.185Z] 35cb2a7552d0: Verifying Checksum [2024-07-30T07:01:36.186Z] 35cb2a7552d0: Download complete [2024-07-30T07:01:36.186Z] 4f4fb700ef54: Download complete [2024-07-30T07:01:36.186Z] 464afbd9ba4c: Verifying Checksum [2024-07-30T07:01:36.186Z] 464afbd9ba4c: Download complete [2024-07-30T07:01:36.186Z] c6b39de5b339: Verifying Checksum [2024-07-30T07:01:36.186Z] c6b39de5b339: Download complete [2024-07-30T07:01:36.776Z] d496ad576159: Verifying Checksum [2024-07-30T07:01:36.776Z] d496ad576159: Download complete [2024-07-30T07:01:37.044Z] c6b39de5b339: Pull complete [2024-07-30T07:01:37.635Z] a69c41024577: Pull complete [2024-07-30T07:01:37.904Z] d6de4b400683: Verifying Checksum [2024-07-30T07:01:37.904Z] d6de4b400683: Download complete [2024-07-30T07:01:39.320Z] 00f215d4a9da: Verifying Checksum [2024-07-30T07:01:39.320Z] 00f215d4a9da: Download complete [2024-07-30T07:01:51.663Z] d6de4b400683: Pull complete [2024-07-30T07:01:51.663Z] 35cb2a7552d0: Pull complete [2024-07-30T07:01:51.663Z] 4f4fb700ef54: Pull complete [2024-07-30T07:01:51.663Z] 464afbd9ba4c: Pull complete [2024-07-30T07:01:59.899Z] 00f215d4a9da: Pull complete [2024-07-30T07:02:01.322Z] Removing intermediate container 2cf8c877fa32 [2024-07-30T07:02:01.322Z] ---> d8c4eb3d8d18 [2024-07-30T07:02:01.322Z] Step 11/24 : FROM alpine:3.18 [2024-07-30T07:02:01.322Z] 3.18: Pulling from library/alpine [2024-07-30T07:02:01.322Z] 930bdd4d222e: Pulling fs layer [2024-07-30T07:02:01.322Z] 930bdd4d222e: Verifying Checksum [2024-07-30T07:02:01.322Z] 930bdd4d222e: Download complete [2024-07-30T07:02:01.322Z] 930bdd4d222e: Pull complete [2024-07-30T07:02:01.322Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T07:02:01.322Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T07:02:01.322Z] ---> 18f865063206 [2024-07-30T07:02:01.322Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-30T07:02:01.322Z] ---> Running in a8351b50e05d [2024-07-30T07:02:01.322Z] Removing intermediate container a8351b50e05d [2024-07-30T07:02:01.322Z] ---> 8eaeed20d6d3 [2024-07-30T07:02:01.322Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-30T07:02:01.322Z] ---> Running in 6662bfccb08d [2024-07-30T07:02:01.323Z] d496ad576159: Pull complete [2024-07-30T07:02:01.323Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-30T07:02:01.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-30T07:02:01.323Z] ---> f246e2811388 [2024-07-30T07:02:01.323Z] Step 3/10 : ARG MAKE=make build [2024-07-30T07:02:01.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T07:02:01.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T07:02:01.839Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T07:02:01.839Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T07:02:01.839Z] OK: 7 MiB in 16 packages [2024-07-30T07:02:02.407Z] Removing intermediate container 6662bfccb08d [2024-07-30T07:02:02.407Z] ---> 2b929732700f [2024-07-30T07:02:02.407Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-30T07:02:02.407Z] ---> Running in b1388380c8f1 [2024-07-30T07:02:02.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T07:02:02.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T07:02:02.925Z] OK: 7 MiB in 16 packages [2024-07-30T07:02:03.185Z] Removing intermediate container b1388380c8f1 [2024-07-30T07:02:03.185Z] ---> 74e0f1dd7483 [2024-07-30T07:02:03.185Z] Step 15/24 : WORKDIR / [2024-07-30T07:02:03.185Z] ---> Running in dba077807f69 [2024-07-30T07:02:03.185Z] Removing intermediate container dba077807f69 [2024-07-30T07:02:03.185Z] ---> 109890a702fa [2024-07-30T07:02:03.185Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-30T07:02:03.272Z] ---> Running in cf9062f1f069 [2024-07-30T07:02:03.272Z] Removing intermediate container cf9062f1f069 [2024-07-30T07:02:03.272Z] ---> dc10bbfe99bf [2024-07-30T07:02:03.272Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-30T07:02:03.272Z] ---> Running in 63c235d41936 [2024-07-30T07:02:03.446Z] ---> fded31b02ecd [2024-07-30T07:02:03.446Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-30T07:02:03.540Z] Removing intermediate container 63c235d41936 [2024-07-30T07:02:03.540Z] ---> a9150c5ac1ee [2024-07-30T07:02:03.540Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T07:02:03.810Z] ---> Running in 4bed1d2563d7 [2024-07-30T07:02:04.016Z] ---> 28281bcd8848 [2024-07-30T07:02:04.016Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-30T07:02:04.016Z] ---> e9394a8cfd52 [2024-07-30T07:02:04.016Z] Step 19/24 : EXPOSE 59999 [2024-07-30T07:02:04.080Z] Removing intermediate container 4bed1d2563d7 [2024-07-30T07:02:04.080Z] ---> 8f5cc267b1fd [2024-07-30T07:02:04.080Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-30T07:02:04.080Z] ---> Running in 7ea931ca3999 [2024-07-30T07:02:04.280Z] ---> Running in 4230bc3731cb [2024-07-30T07:02:04.280Z] Removing intermediate container 4230bc3731cb [2024-07-30T07:02:04.280Z] ---> 4b9476356d2c [2024-07-30T07:02:04.280Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-30T07:02:04.280Z] ---> Running in f68d8b196bb6 [2024-07-30T07:02:04.280Z] Removing intermediate container f68d8b196bb6 [2024-07-30T07:02:04.280Z] ---> 215ce2efb226 [2024-07-30T07:02:04.280Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-30T07:02:04.280Z] ---> Running in 294da578f4cc [2024-07-30T07:02:04.280Z] Removing intermediate container 294da578f4cc [2024-07-30T07:02:04.280Z] ---> ba1810817672 [2024-07-30T07:02:04.280Z] Step 22/24 : LABEL arch=amd64 [2024-07-30T07:02:04.539Z] ---> Running in 7b33f9065b05 [2024-07-30T07:02:04.539Z] Removing intermediate container 7b33f9065b05 [2024-07-30T07:02:04.539Z] ---> a7e1d401761d [2024-07-30T07:02:04.539Z] Step 23/24 : LABEL git_sha=6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [2024-07-30T07:02:04.539Z] ---> Running in 510c21a863bb [2024-07-30T07:02:04.539Z] Removing intermediate container 510c21a863bb [2024-07-30T07:02:04.539Z] ---> 05f9f454a4fb [2024-07-30T07:02:04.539Z] Step 24/24 : LABEL version=0.0.0 [2024-07-30T07:02:04.539Z] ---> Running in e29e32a69c8d [2024-07-30T07:02:04.798Z] Removing intermediate container e29e32a69c8d [2024-07-30T07:02:04.798Z] ---> 2dc55cbee67e [2024-07-30T07:02:04.798Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T07:02:04.798Z] Successfully built 2dc55cbee67e [2024-07-30T07:02:04.798Z] 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-07-30T07:02:05.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T07:02:05.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T07:02:05.268Z] [2024-07-30T07:02:05.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:02:05.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T07:02:05.569Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-30T07:02:05.569Z] 5eb5b503b376: Pulling fs layer [2024-07-30T07:02:05.569Z] 5c69ac0246d0: Pulling fs layer [2024-07-30T07:02:05.569Z] ec43610c2a17: Pulling fs layer [2024-07-30T07:02:05.569Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-30T07:02:05.569Z] 33b1e0a273af: Pulling fs layer [2024-07-30T07:02:05.569Z] 5d3b04190fa2: Pulling fs layer [2024-07-30T07:02:05.569Z] 2f39f015ded8: Pulling fs layer [2024-07-30T07:02:05.569Z] 3a2ae6a8a46f: Waiting [2024-07-30T07:02:05.569Z] 33b1e0a273af: Waiting [2024-07-30T07:02:05.569Z] 5c69ac0246d0: Download complete [2024-07-30T07:02:05.569Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-30T07:02:05.569Z] 33b1e0a273af: Verifying Checksum [2024-07-30T07:02:05.569Z] 33b1e0a273af: Download complete [2024-07-30T07:02:05.569Z] ec43610c2a17: Verifying Checksum [2024-07-30T07:02:05.569Z] ec43610c2a17: Download complete [2024-07-30T07:02:05.569Z] 5d3b04190fa2: Verifying Checksum [2024-07-30T07:02:05.569Z] 5d3b04190fa2: Download complete [2024-07-30T07:02:05.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T07:02:05.827Z] 5eb5b503b376: Verifying Checksum [2024-07-30T07:02:05.827Z] 5eb5b503b376: Download complete [2024-07-30T07:02:06.392Z] 2f39f015ded8: Download complete [2024-07-30T07:02:06.580Z] OK: 266 MiB in 52 packages [2024-07-30T07:02:06.960Z] 5eb5b503b376: Pull complete [2024-07-30T07:02:06.960Z] 5c69ac0246d0: Pull complete [2024-07-30T07:02:07.164Z] Removing intermediate container 7ea931ca3999 [2024-07-30T07:02:07.164Z] ---> 5b9cf710f553 [2024-07-30T07:02:07.164Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-30T07:02:07.219Z] ec43610c2a17: Pull complete [2024-07-30T07:02:07.478Z] 3a2ae6a8a46f: Pull complete [2024-07-30T07:02:07.478Z] 33b1e0a273af: Pull complete [2024-07-30T07:02:07.736Z] 5d3b04190fa2: Pull complete [2024-07-30T07:02:07.753Z] ---> 8c7969f99e67 [2024-07-30T07:02:07.753Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T07:02:07.753Z] ---> Running in 56595d02a016 [2024-07-30T07:02:11.925Z] 2f39f015ded8: Pull complete [2024-07-30T07:02:11.925Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-30T07:02:11.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T07:02:11.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:02:12.030Z] prd-ubuntu20.04-docker-8c-8g-6734 does not seem to be running inside a container [2024-07-30T07:02:12.066Z] $ 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-1607 -v /w/workspace/gexfoundry_device-sdk-go_PR-1607:/w/workspace/gexfoundry_device-sdk-go_PR-1607:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1607@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-30T07:02:13.262Z] $ docker top 99be6ea7c30423e6b9480c97647db5d87b77b6e3a1c254a1bd13b02348cc5e13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:02:13.671Z] ---> job-cost.sh [2024-07-30T07:02:13.671Z] lf-activate-venv: SKIPPING [2024-07-30T07:02:13.671Z] INFO: No Stack... [2024-07-30T07:02:13.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T07:02:14.499Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T07:02:14.799Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives/cost.csv [2024-07-30T07:02:14.799Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T07:02:14.814Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [2024-07-30T07:02:14.826Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] did not exist. Created. [2024-07-30T07:02:14.835Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T07:02:15.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-30T07:02:15.188Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T07:02:15.197Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T07:02:15.221Z] $ docker stop --time=1 99be6ea7c30423e6b9480c97647db5d87b77b6e3a1c254a1bd13b02348cc5e13 [2024-07-30T07:02:16.374Z] $ docker rm -f --volumes 99be6ea7c30423e6b9480c97647db5d87b77b6e3a1c254a1bd13b02348cc5e13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-30T07:03:59.436Z] Removing intermediate container 56595d02a016 [2024-07-30T07:03:59.436Z] ---> b292181d8b40 [2024-07-30T07:03:59.436Z] Step 9/10 : COPY . . [2024-07-30T07:03:59.436Z] ---> a96c8091bb90 [2024-07-30T07:03:59.436Z] Step 10/10 : RUN ${MAKE} [2024-07-30T07:03:59.436Z] ---> Running in 8f3c157c9afd [2024-07-30T07:03:59.436Z] noop [2024-07-30T07:03:59.436Z] Removing intermediate container 8f3c157c9afd [2024-07-30T07:03:59.436Z] ---> 215820ea5515 [2024-07-30T07:03:59.436Z] Successfully built 215820ea5515 [2024-07-30T07:03:59.436Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:03:59.906Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T07:03:59.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:04:00.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-6735 does not seem to be running inside a container [2024-07-30T07:04:00.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-30T07:04:01.346Z] $ docker top 4c1021e699ea03413b78c24f62f1febffa269c9a9e090fd2b2158b8e303140d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T07:04:02.159Z] + go version [2024-07-30T07:04:02.159Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-30T07:04:02.185Z] $ docker stop --time=1 4c1021e699ea03413b78c24f62f1febffa269c9a9e090fd2b2158b8e303140d1 [2024-07-30T07:04:03.803Z] $ docker rm -f --volumes 4c1021e699ea03413b78c24f62f1febffa269c9a9e090fd2b2158b8e303140d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:04:04.368Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T07:04:04.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:04:04.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-6735 does not seem to be running inside a container [2024-07-30T07:04:04.615Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-30T07:04:05.691Z] $ docker top cf171fc69f562823c9cc0414b5cad83cfd60f3c1694335270f3ccc3cecdfba1c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T07:04:06.498Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-07-30T07:04:07.166Z] + make test [2024-07-30T07:04:07.166Z] go test -race -coverprofile=coverage.out ./... [2024-07-30T07:04:46.185Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-30T07:08:22.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-30T07:08:22.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-30T07:08:22.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-30T07:08:22.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-30T07:08:22.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-30T07:08:35.235Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.104s coverage: 27.0% of statements [2024-07-30T07:08:37.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.174s coverage: 79.4% of statements [2024-07-30T07:08:46.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-30T07:08:46.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-30T07:08:47.421Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.249s coverage: 86.0% of statements [2024-07-30T07:08:54.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-30T07:08:55.466Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.428s coverage: 52.2% of statements [2024-07-30T07:08:58.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.203s coverage: 14.4% of statements [2024-07-30T07:08:58.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.767s coverage: 44.6% of statements [2024-07-30T07:08:59.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-30T07:08:59.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-30T07:09:00.843Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.297s coverage: 68.5% of statements [2024-07-30T07:09:03.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.413s coverage: 89.2% of statements [2024-07-30T07:09:07.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-30T07:09:08.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.238s coverage: 5.4% of statements [2024-07-30T07:09:10.015Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-30T07:09:10.015Z] GO111MODULE=on go vet ./... [2024-07-30T07:12:46.768Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T07:12:46.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T07:12:46.768Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-30T07:12:46.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T07:12:46.820Z] $ docker stop --time=1 cf171fc69f562823c9cc0414b5cad83cfd60f3c1694335270f3ccc3cecdfba1c [2024-07-30T07:12:48.778Z] $ docker rm -f --volumes cf171fc69f562823c9cc0414b5cad83cfd60f3c1694335270f3ccc3cecdfba1c [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T07:12:50.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T07:12:50.925Z] Warning: overwriting stash ‘coverage-report’ [2024-07-30T07:12:51.476Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T07:12:51.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T07:12:52.205Z] + ls -al . [2024-07-30T07:12:52.205Z] total 376 [2024-07-30T07:12:52.205Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 07:04 . [2024-07-30T07:12:52.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:01 .. [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 07:01 .dockerignore [2024-07-30T07:12:52.205Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 07:01 .git [2024-07-30T07:12:52.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:01 .github [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 07:01 .gitignore [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 07:01 .golangci.yml [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 07:01 CHANGELOG.md [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 07:01 GOVERNANCE.md [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 07:01 Jenkinsfile [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 07:01 LICENSE [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 07:01 Makefile [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 07:01 OWNERS.md [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 07:01 README.md [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:59 VERSION [2024-07-30T07:12:52.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 07:01 bin [2024-07-30T07:12:52.205Z] -rw-r--r-- 1 jenkins jenkins 125705 Jul 30 07:09 coverage.out [2024-07-30T07:12:52.205Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 07:01 example [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 07:01 go.mod [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 07:01 go.sum [2024-07-30T07:12:52.205Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:01 internal [2024-07-30T07:12:52.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 07:01 openapi [2024-07-30T07:12:52.205Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 07:01 pkg [2024-07-30T07:12:52.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 07:01 snap [2024-07-30T07:12:52.205Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 07:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:12:52.547Z] + 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=925fa31aba29bb759ed3c066ecee779cdcb703ac --label arch=arm64 --label version=0.0.0 . [2024-07-30T07:12:53.127Z] Sending build context to Docker daemon 13.16MB [2024-07-30T07:12:53.127Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T07:12:53.127Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-30T07:12:53.127Z] ---> 215820ea5515 [2024-07-30T07:12:53.127Z] Step 3/24 : ARG MAKE=make build [2024-07-30T07:12:53.395Z] ---> Running in 3accbe2fc806 [2024-07-30T07:12:53.661Z] Removing intermediate container 3accbe2fc806 [2024-07-30T07:12:53.661Z] ---> 2f2dd960f98e [2024-07-30T07:12:53.661Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-30T07:12:53.661Z] ---> Running in a2ea6c8fbd2b [2024-07-30T07:12:53.926Z] Removing intermediate container a2ea6c8fbd2b [2024-07-30T07:12:53.926Z] ---> 9a4d71d15184 [2024-07-30T07:12:53.926Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T07:12:53.926Z] ---> Running in d26ca3c22915 [2024-07-30T07:12:54.192Z] Removing intermediate container d26ca3c22915 [2024-07-30T07:12:54.192Z] ---> f2c42c2dd637 [2024-07-30T07:12:54.192Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-30T07:12:54.459Z] ---> Running in c902af5428bd [2024-07-30T07:12:55.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T07:12:56.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T07:12:56.976Z] OK: 266 MiB in 52 packages [2024-07-30T07:12:57.557Z] Removing intermediate container c902af5428bd [2024-07-30T07:12:57.557Z] ---> 2161e848f1c4 [2024-07-30T07:12:57.557Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-30T07:12:58.138Z] ---> 7798d51076fe [2024-07-30T07:12:58.138Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T07:12:58.407Z] ---> Running in bf46e6d9b058 [2024-07-30T07:13:00.338Z] Removing intermediate container bf46e6d9b058 [2024-07-30T07:13:00.338Z] ---> e10f5adf97c8 [2024-07-30T07:13:00.338Z] Step 9/24 : COPY . . [2024-07-30T07:13:02.269Z] ---> 3f85f0e2039c [2024-07-30T07:13:02.269Z] Step 10/24 : RUN ${MAKE} [2024-07-30T07:13:02.269Z] ---> Running in 5b2073c4398d [2024-07-30T07:13:02.850Z] 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-07-30T07:16:24.776Z] Removing intermediate container 5b2073c4398d [2024-07-30T07:16:24.776Z] ---> c728ad1d3c2d [2024-07-30T07:16:24.776Z] Step 11/24 : FROM alpine:3.18 [2024-07-30T07:16:24.776Z] 3.18: Pulling from library/alpine [2024-07-30T07:16:24.776Z] 4983c3fe2029: Pulling fs layer [2024-07-30T07:16:24.776Z] 4983c3fe2029: Verifying Checksum [2024-07-30T07:16:24.776Z] 4983c3fe2029: Download complete [2024-07-30T07:16:24.776Z] 4983c3fe2029: Pull complete [2024-07-30T07:16:24.776Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T07:16:24.776Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T07:16:24.776Z] ---> a0237000ae83 [2024-07-30T07:16:24.776Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-30T07:16:24.776Z] ---> Running in b47c13f54e19 [2024-07-30T07:16:24.776Z] Removing intermediate container b47c13f54e19 [2024-07-30T07:16:24.776Z] ---> 1a2720a2c40e [2024-07-30T07:16:24.776Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-30T07:16:24.776Z] ---> Running in 1d7361cd883a [2024-07-30T07:16:24.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T07:16:24.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T07:16:24.776Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T07:16:24.776Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T07:16:24.776Z] OK: 8 MiB in 16 packages [2024-07-30T07:16:24.776Z] Removing intermediate container 1d7361cd883a [2024-07-30T07:16:24.776Z] ---> 0d3e1487bdd0 [2024-07-30T07:16:24.776Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-30T07:16:24.776Z] ---> Running in c705a79ad746 [2024-07-30T07:16:25.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T07:16:25.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T07:16:26.948Z] OK: 8 MiB in 16 packages [2024-07-30T07:16:27.531Z] Removing intermediate container c705a79ad746 [2024-07-30T07:16:27.531Z] ---> 4e7abb684592 [2024-07-30T07:16:27.531Z] Step 15/24 : WORKDIR / [2024-07-30T07:16:27.531Z] ---> Running in 5f4b1c1ef3cb [2024-07-30T07:16:27.797Z] Removing intermediate container 5f4b1c1ef3cb [2024-07-30T07:16:27.797Z] ---> acd2594f8451 [2024-07-30T07:16:27.797Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-30T07:16:28.382Z] ---> 35627247ecaf [2024-07-30T07:16:28.382Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-30T07:16:30.318Z] ---> 52157d5208a6 [2024-07-30T07:16:30.318Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-30T07:16:30.900Z] ---> be93df5049ea [2024-07-30T07:16:30.900Z] Step 19/24 : EXPOSE 59999 [2024-07-30T07:16:30.900Z] ---> Running in cbdcd8e6abfb [2024-07-30T07:16:31.167Z] Removing intermediate container cbdcd8e6abfb [2024-07-30T07:16:31.167Z] ---> 9d2f4d7a4be9 [2024-07-30T07:16:31.167Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-30T07:16:31.167Z] ---> Running in fd9ce54b806c [2024-07-30T07:16:31.432Z] Removing intermediate container fd9ce54b806c [2024-07-30T07:16:31.432Z] ---> b8c5d9d96d03 [2024-07-30T07:16:31.432Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-30T07:16:31.432Z] ---> Running in 6e81eb561523 [2024-07-30T07:16:31.699Z] Removing intermediate container 6e81eb561523 [2024-07-30T07:16:31.699Z] ---> 0a0e014ad582 [2024-07-30T07:16:31.699Z] Step 22/24 : LABEL arch=arm64 [2024-07-30T07:16:31.964Z] ---> Running in 099b32c0cb15 [2024-07-30T07:16:32.232Z] Removing intermediate container 099b32c0cb15 [2024-07-30T07:16:32.232Z] ---> 20eaa7f03069 [2024-07-30T07:16:32.232Z] Step 23/24 : LABEL git_sha=925fa31aba29bb759ed3c066ecee779cdcb703ac [2024-07-30T07:16:32.232Z] ---> Running in 6e622de52de9 [2024-07-30T07:16:32.497Z] Removing intermediate container 6e622de52de9 [2024-07-30T07:16:32.497Z] ---> 2c86556c867d [2024-07-30T07:16:32.497Z] Step 24/24 : LABEL version=0.0.0 [2024-07-30T07:16:32.497Z] ---> Running in c4c010e10276 [2024-07-30T07:16:32.767Z] Removing intermediate container c4c010e10276 [2024-07-30T07:16:32.767Z] ---> 7faa51467f80 [2024-07-30T07:16:32.767Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T07:16:32.767Z] Successfully built 7faa51467f80 [2024-07-30T07:16:32.767Z] 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-07-30T07:16:33.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T07:16:33.283Z] [2024-07-30T07:16:33.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:16:33.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T07:16:33.611Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-30T07:16:33.611Z] 8998bd30e6a1: Pulling fs layer [2024-07-30T07:16:33.611Z] 04944245beec: Pulling fs layer [2024-07-30T07:16:33.611Z] 699f458cf7ca: Pulling fs layer [2024-07-30T07:16:33.611Z] 765212b225bb: Pulling fs layer [2024-07-30T07:16:33.611Z] f23df028b6ca: Pulling fs layer [2024-07-30T07:16:33.611Z] d65c8cfc05b1: Pulling fs layer [2024-07-30T07:16:33.611Z] 2437ff75d9bd: Pulling fs layer [2024-07-30T07:16:33.611Z] 765212b225bb: Waiting [2024-07-30T07:16:33.611Z] f23df028b6ca: Waiting [2024-07-30T07:16:33.611Z] 2437ff75d9bd: Waiting [2024-07-30T07:16:33.611Z] d65c8cfc05b1: Waiting [2024-07-30T07:16:33.877Z] 04944245beec: Verifying Checksum [2024-07-30T07:16:33.877Z] 04944245beec: Download complete [2024-07-30T07:16:33.877Z] 765212b225bb: Verifying Checksum [2024-07-30T07:16:33.877Z] 765212b225bb: Download complete [2024-07-30T07:16:33.877Z] f23df028b6ca: Verifying Checksum [2024-07-30T07:16:33.877Z] f23df028b6ca: Download complete [2024-07-30T07:16:33.877Z] d65c8cfc05b1: Verifying Checksum [2024-07-30T07:16:33.877Z] d65c8cfc05b1: Download complete [2024-07-30T07:16:33.877Z] 699f458cf7ca: Verifying Checksum [2024-07-30T07:16:33.877Z] 699f458cf7ca: Download complete [2024-07-30T07:16:34.457Z] 8998bd30e6a1: Download complete [2024-07-30T07:16:37.030Z] 2437ff75d9bd: Verifying Checksum [2024-07-30T07:16:37.030Z] 2437ff75d9bd: Download complete [2024-07-30T07:16:38.964Z] 8998bd30e6a1: Pull complete [2024-07-30T07:16:39.544Z] 04944245beec: Pull complete [2024-07-30T07:16:40.946Z] 699f458cf7ca: Pull complete [2024-07-30T07:16:41.211Z] 765212b225bb: Pull complete [2024-07-30T07:16:42.162Z] f23df028b6ca: Pull complete [2024-07-30T07:16:42.162Z] d65c8cfc05b1: Pull complete [2024-07-30T07:17:00.330Z] 2437ff75d9bd: Pull complete [2024-07-30T07:17:00.330Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-30T07:17:00.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T07:17:00.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:17:00.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-6735 does not seem to be running inside a container [2024-07-30T07:17:00.600Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-30T07:17:03.204Z] $ docker top 3195f529bc73c66f276c6dbfe5037a08c51d946b1d30d6ef763cfcd2ff2d07a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:04.031Z] ---> job-cost.sh [2024-07-30T07:17:04.032Z] lf-activate-venv: SKIPPING [2024-07-30T07:17:04.032Z] INFO: No Stack... [2024-07-30T07:17:04.607Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-30T07:17:05.185Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T07:17:05.822Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-07-30T07:17:05.822Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T07:17:05.878Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [2024-07-30T07:17:05.891Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] did not exist. Created. [2024-07-30T07:17:05.899Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T07:17:06.244Z] /w/workspace/device-sdk-go/3@tmp/durable-797d5fbd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-30T07:17:06.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-30T07:17:06.593Z] Warning: overwriting stash ‘stack-cost’ [2024-07-30T07:17:06.667Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T07:17:06.675Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1607-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T07:17:06.713Z] $ docker stop --time=1 3195f529bc73c66f276c6dbfe5037a08c51d946b1d30d6ef763cfcd2ff2d07a6 [2024-07-30T07:17:08.190Z] $ docker rm -f --volumes 3195f529bc73c66f276c6dbfe5037a08c51d946b1d30d6ef763cfcd2ff2d07a6 [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-07-30T07:17:08.669Z] provisioning config files... [2024-07-30T07:17:08.676Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/config13355890881599280233tmp [Pipeline] { [Pipeline] sh [2024-07-30T07:17:08.970Z] + set +x [2024-07-30T07:17:08.970Z] + curl -s https://codecov.io/bash [2024-07-30T07:17:08.970Z] + bash -s -- [2024-07-30T07:17:08.970Z] [2024-07-30T07:17:08.970Z] _____ _ [2024-07-30T07:17:08.970Z] / ____| | | [2024-07-30T07:17:08.970Z] | | ___ __| | ___ ___ _____ __ [2024-07-30T07:17:08.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-30T07:17:08.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-30T07:17:08.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-30T07:17:08.970Z] Bash-1.0.6 [2024-07-30T07:17:08.970Z] [2024-07-30T07:17:08.970Z] [2024-07-30T07:17:08.970Z] ==> git version 2.25.1 found [2024-07-30T07:17:08.970Z] ==> 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-07-30T07:17:08.970Z] Release-Date: 2020-01-08 [2024-07-30T07:17:08.970Z] 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-07-30T07:17:08.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-30T07:17:08.970Z] ==> Jenkins CI detected. [2024-07-30T07:17:08.970Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1607 [2024-07-30T07:17:08.971Z] project root: . [2024-07-30T07:17:08.971Z] --> token set from env [2024-07-30T07:17:08.971Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-30T07:17:09.230Z] ==> Running gcov in . (disable via -X gcov) [2024-07-30T07:17:09.230Z] ==> Python coveragepy not found [2024-07-30T07:17:09.230Z] ==> Searching for coverage reports in: [2024-07-30T07:17:09.230Z] + . [2024-07-30T07:17:09.230Z] -> Found 1 reports [2024-07-30T07:17:09.230Z] ==> Detecting git/mercurial file structure [2024-07-30T07:17:09.230Z] ==> Reading reports [2024-07-30T07:17:09.230Z] + ./coverage.out bytes=125705 [2024-07-30T07:17:09.230Z] ==> Appending adjustments [2024-07-30T07:17:09.230Z] https://docs.codecov.io/docs/fixing-reports [2024-07-30T07:17:09.489Z] + Found adjustments [2024-07-30T07:17:09.489Z] ==> Gzipping contents [2024-07-30T07:17:09.489Z] 20K /tmp/codecov.8Gi3Rn.gz [2024-07-30T07:17:09.490Z] ==> Uploading reports [2024-07-30T07:17:09.490Z] url: https://codecov.io [2024-07-30T07:17:09.490Z] query: branch=PR-1607&commit=6458ce70b5a770f89c6533b6e2de6928e90bf5b8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1607%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1607&job=&cmd_args= [2024-07-30T07:17:09.490Z] -> Pinging Codecov [2024-07-30T07:17:09.490Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1607&commit=6458ce70b5a770f89c6533b6e2de6928e90bf5b8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1607%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1607&job=&cmd_args= [2024-07-30T07:17:09.490Z] -> Uploading to [2024-07-30T07:17:09.490Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-30/7E55EF52A471D76F132DFD9A03CDDE97/6458ce70b5a770f89c6533b6e2de6928e90bf5b8/966f0f99-5b8c-4165-893d-4b148b54f737.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T071709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1bc45c88a79e5cdeeb0c91aacea9cc16408f1d4e880350227b9f3fb515fc7fa [2024-07-30T07:17:09.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T07:17:09.747Z] Dload Upload Total Spent Left Speed [2024-07-30T07:17:09.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17131 0 0 100 17131 0 71082 --:--:-- --:--:-- --:--:-- 71082 [2024-07-30T07:17:09.747Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6458ce70b5a770f89c6533b6e2de6928e90bf5b8 [Pipeline] } [2024-07-30T07:17:09.754Z] 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-07-30T07:17:10.614Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives ] [2024-07-30T07:17:10.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives [2024-07-30T07:17:10.615Z] total 16 [2024-07-30T07:17:10.615Z] drwxr-xr-x 3 root root 4096 Jul 30 07:02 . [2024-07-30T07:17:10.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:02 .. [2024-07-30T07:17:10.615Z] drwxr-xr-x 2 root root 4096 Jul 30 07:02 cost [2024-07-30T07:17:10.615Z] -rw-r--r-- 1 root root 86 Jul 30 07:02 cost.csv [2024-07-30T07:17:10.615Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives [2024-07-30T07:17:10.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives [2024-07-30T07:17:10.615Z] total 16 [2024-07-30T07:17:10.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 07:02 . [2024-07-30T07:17:10.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 07:02 .. [2024-07-30T07:17:10.615Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 07:02 cost [2024-07-30T07:17:10.615Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 30 07:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:10.905Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:11.764Z] ---> package-listing.sh [2024-07-30T07:17:11.764Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-30T07:17:11.764Z] ++ facter osfamily [2024-07-30T07:17:12.024Z] + OS_FAMILY=debian [2024-07-30T07:17:12.024Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1607 [2024-07-30T07:17:12.024Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-30T07:17:12.024Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-30T07:17:12.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-30T07:17:12.024Z] + PACKAGES=/tmp/packages_start.txt [2024-07-30T07:17:12.024Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1607 ']' [2024-07-30T07:17:12.024Z] + PACKAGES=/tmp/packages_end.txt [2024-07-30T07:17:12.024Z] + case "${OS_FAMILY}" in [2024-07-30T07:17:12.024Z] + dpkg -l [2024-07-30T07:17:12.024Z] + grep '^ii' [2024-07-30T07:17:12.024Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-30T07:17:12.024Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-30T07:17:12.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-30T07:17:12.024Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1607 ']' [2024-07-30T07:17:12.024Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives/ [2024-07-30T07:17:12.024Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1607/archives/ [Pipeline] echo [2024-07-30T07:17:12.036Z] 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-1607/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-30T07:17:12.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T07:17:12.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T07:17:12.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T07:17:12.959Z] prd-ubuntu20.04-docker-8c-8g-6734 does not seem to be running inside a container [2024-07-30T07:17:12.987Z] $ 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-1607/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-1607 -v /w/workspace/gexfoundry_device-sdk-go_PR-1607:/w/workspace/gexfoundry_device-sdk-go_PR-1607:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1607@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-30T07:17:13.171Z] $ docker top 5ae1e434fb6a33f5db18719ace39bc363d0e9da34863a7e5b44d1c6d1e6b5797 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T07:17:13.572Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-30T07:17:13.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-30T07:17:14.224Z] + ls /var/log/sa-host [2024-07-30T07:17:14.224Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T07:17:14.407Z] provisioning config files... [2024-07-30T07:17:14.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1607@tmp/config15620694476464277634tmp [Pipeline] { [Pipeline] echo [2024-07-30T07:17:14.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:14.755Z] ---> create-netrc.sh [Pipeline] } [2024-07-30T07:17:14.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:15.133Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-30T07:17:15.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:15.429Z] ---> sudo-logs.sh [2024-07-30T07:17:15.429Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-30T07:17:15.457Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:15.747Z] ---> job-cost.sh [2024-07-30T07:17:15.747Z] lf-activate-venv: SKIPPING [2024-07-30T07:17:15.747Z] DEBUG: total: 0.2199999988079071 [2024-07-30T07:17:15.747Z] INFO: Retrieving Stack Cost... [2024-07-30T07:17:16.007Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T07:17:16.575Z] INFO: Archiving Costs [Pipeline] echo [2024-07-30T07:17:16.590Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T07:17:16.872Z] ---> logs-deploy.sh [2024-07-30T07:17:16.872Z] lf-activate-venv: SKIPPING [2024-07-30T07:17:16.872Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1607/3 [2024-07-30T07:17:16.872Z] INFO: archiving workspace using pattern(s): [2024-07-30T07:17:17.827Z] Archives upload complete. [2024-07-30T07:17:17.827Z] INFO: archiving logs to Nexus