Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d16e8182ecb0913aee36e010bf21ba70b942b39+53be42878d98bd81d8f19abe7357388c82439207 (3425c41c9f80cf5dceb0ca54fa81e270392aa9fe) 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-ssh12118487085835386863.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-ssh12085184904385040376.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-1610/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-1610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11496926155997969352.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-ssh1353696213353486087.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-1610/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-1610/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1680873586920935382.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7310 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [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-1610 # 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 Merging remotes/origin/main commit 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 Merge succeeded, producing d2e0eee8c9224615611eae98a87183ff2ecbc72d Checking out Revision d2e0eee8c9224615611eae98a87183ff2ecbc72d (PR-1610) > 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/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # 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 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e0eee8c9224615611eae98a87183ff2ecbc72d # timeout=10 Commit message: "Merge commit '53be42878d98bd81d8f19abe7357388c82439207' into HEAD" > git rev-list --no-walk 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T18:41:31.316Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T18:41:31.401Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T18:41:31.428Z] ========================================================= [2024-08-07T18:41:31.428Z] EdgeX Global Pipelines Version Info [2024-08-07T18:41:31.429Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:41:32.158Z] ------------------- [2024-08-07T18:41:32.159Z] stable info: [2024-08-07T18:41:32.159Z] ------------------- [2024-08-07T18:41:32.159Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T18:41:32.159Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T18:41:32.159Z] Message: update stable to v1.0.260 [2024-08-07T18:41:32.729Z] ------------------- [2024-08-07T18:41:32.729Z] experimental info: [2024-08-07T18:41:32.729Z] ------------------- [2024-08-07T18:41:32.729Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T18:41:32.729Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T18:41:32.729Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T18:41:32.807Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-07T18:41:32.830Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-07T18:41:32.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T18:41:32.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T18:41:32.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T18:41:32.913Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T18:41:32.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T18:41:32.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-07T18:41:32.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T18:41:33.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T18:41:33.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T18:41:33.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-07T18:41:33.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T18:41:33.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T18:41:33.114Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T18:41:33.139Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T18:41:33.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T18:41:33.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T18:41:33.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T18:41:33.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T18:41:33.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-07T18:41:33.296Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-07T18:41:33.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T18:41:33.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T18:41:33.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T18:41:33.402Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T18:41:33.428Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T18:41:33.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1610 [Pipeline] echo [2024-08-07T18:41:33.465Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1610 [Pipeline] echo [2024-08-07T18:41:33.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1610 [Pipeline] echo [2024-08-07T18:41:33.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2e0eee8c9224615611eae98a87183ff2ecbc72d [Pipeline] echo [2024-08-07T18:41:33.528Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2e0eee [Pipeline] echo [2024-08-07T18:41:33.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:41:33.620Z] provisioning config files... [2024-08-07T18:41:33.633Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config16898050469201445960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:41:33.964Z] ---> ****-login.sh [2024-08-07T18:41:33.964Z] nexus3.edgexfoundry.org:10001 [2024-08-07T18:41:34.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:34.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:34.225Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:34.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:34.225Z] [2024-08-07T18:41:34.225Z] Login Succeeded [2024-08-07T18:41:34.225Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:41:34.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:34.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:34.485Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:34.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:34.485Z] [2024-08-07T18:41:34.485Z] Login Succeeded [2024-08-07T18:41:34.485Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:41:34.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:34.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:34.485Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:34.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:34.485Z] [2024-08-07T18:41:34.485Z] Login Succeeded [2024-08-07T18:41:34.485Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:41:34.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:34.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:34.745Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:34.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:34.745Z] [2024-08-07T18:41:34.745Z] Login Succeeded [2024-08-07T18:41:34.745Z] ****.io [2024-08-07T18:41:34.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:34.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:34.745Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:34.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:34.745Z] [2024-08-07T18:41:34.745Z] Login Succeeded [2024-08-07T18:41:34.745Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:41:34.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T18:41:35.159Z] + git rev-list -1 --merges d2e0eee8c9224615611eae98a87183ff2ecbc72d~1..d2e0eee8c9224615611eae98a87183ff2ecbc72d [Pipeline] echo [2024-08-07T18:41:35.188Z] -----------> git rev-list -1 --merges d2e0eee8c9224615611eae98a87183ff2ecbc72d~1..d2e0eee8c9224615611eae98a87183ff2ecbc72d d2e0eee8c9224615611eae98a87183ff2ecbc72d [2024-08-07T18:41:35.188Z] d2e0eee8c9224615611eae98a87183ff2ecbc72d [false] [Pipeline] sh [2024-08-07T18:41:35.482Z] + git log --format=format:%s -1 d2e0eee8c9224615611eae98a87183ff2ecbc72d [Pipeline] echo [2024-08-07T18:41:35.499Z] ========================================================= [2024-08-07T18:41:35.499Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T18:41:35.499Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T18:41:35.829Z] + git log --format=format:%s -1 d2e0eee8c9224615611eae98a87183ff2ecbc72d [Pipeline] echo [2024-08-07T18:41:35.841Z] [semverPrep] GIT_COMMIT: d2e0eee8c9224615611eae98a87183ff2ecbc72d, Commit Message: Merge commit '53be42878d98bd81d8f19abe7357388c82439207' into HEAD [Pipeline] echo [2024-08-07T18:41:35.981Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T18:41:36.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T18:41:36.354Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T18:41:36.354Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T18:41:36.354Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T18:41:36.354Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T18:41:36.354Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T18:41:36.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:41:36.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:41:36.765Z] [2024-08-07T18:41:36.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:41:37.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:41:37.072Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T18:41:37.072Z] b85a868b505f: Pulling fs layer [2024-08-07T18:41:37.072Z] e2be974225ed: Pulling fs layer [2024-08-07T18:41:37.072Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T18:41:37.072Z] 988bab9f4d93: Pulling fs layer [2024-08-07T18:41:37.072Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T18:41:37.072Z] eaf3925da568: Pulling fs layer [2024-08-07T18:41:37.072Z] bab4dde63d76: Pulling fs layer [2024-08-07T18:41:37.072Z] bde34c3a00c8: Pulling fs layer [2024-08-07T18:41:37.072Z] b352a97aabf1: Pulling fs layer [2024-08-07T18:41:37.072Z] 4872d77fe225: Pulling fs layer [2024-08-07T18:41:37.072Z] 5851b861e8e6: Pulling fs layer [2024-08-07T18:41:37.072Z] bab4dde63d76: Waiting [2024-08-07T18:41:37.072Z] bde34c3a00c8: Waiting [2024-08-07T18:41:37.072Z] b352a97aabf1: Waiting [2024-08-07T18:41:37.072Z] 4872d77fe225: Waiting [2024-08-07T18:41:37.072Z] 988bab9f4d93: Waiting [2024-08-07T18:41:37.072Z] 5851b861e8e6: Waiting [2024-08-07T18:41:37.072Z] 1469e6f7b9e6: Waiting [2024-08-07T18:41:37.072Z] eaf3925da568: Waiting [2024-08-07T18:41:37.072Z] e2be974225ed: Download complete [2024-08-07T18:41:37.072Z] 988bab9f4d93: Verifying Checksum [2024-08-07T18:41:37.072Z] 988bab9f4d93: Download complete [2024-08-07T18:41:37.072Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T18:41:37.072Z] 1469e6f7b9e6: Download complete [2024-08-07T18:41:37.072Z] eaf3925da568: Download complete [2024-08-07T18:41:37.072Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T18:41:37.072Z] 339a4e72a1f5: Download complete [2024-08-07T18:41:37.333Z] bde34c3a00c8: Download complete [2024-08-07T18:41:37.333Z] b352a97aabf1: Verifying Checksum [2024-08-07T18:41:37.333Z] b352a97aabf1: Download complete [2024-08-07T18:41:37.333Z] 4872d77fe225: Verifying Checksum [2024-08-07T18:41:37.333Z] 4872d77fe225: Download complete [2024-08-07T18:41:37.333Z] 5851b861e8e6: Verifying Checksum [2024-08-07T18:41:37.333Z] 5851b861e8e6: Download complete [2024-08-07T18:41:37.333Z] b85a868b505f: Verifying Checksum [2024-08-07T18:41:37.333Z] b85a868b505f: Download complete [2024-08-07T18:41:37.593Z] bab4dde63d76: Verifying Checksum [2024-08-07T18:41:37.593Z] bab4dde63d76: Download complete [2024-08-07T18:41:38.528Z] b85a868b505f: Pull complete [2024-08-07T18:41:38.528Z] e2be974225ed: Pull complete [2024-08-07T18:41:39.097Z] 339a4e72a1f5: Pull complete [2024-08-07T18:41:39.097Z] 988bab9f4d93: Pull complete [2024-08-07T18:41:39.357Z] 1469e6f7b9e6: Pull complete [2024-08-07T18:41:39.357Z] eaf3925da568: Pull complete [2024-08-07T18:41:41.270Z] bab4dde63d76: Pull complete [2024-08-07T18:41:41.270Z] bde34c3a00c8: Pull complete [2024-08-07T18:41:41.270Z] b352a97aabf1: Pull complete [2024-08-07T18:41:41.270Z] 4872d77fe225: Pull complete [2024-08-07T18:41:41.270Z] 5851b861e8e6: Pull complete [2024-08-07T18:41:41.270Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T18:41:41.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:41:41.270Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:41:41.409Z] prd-ubuntu20.04-docker-8c-8g-7310 does not seem to be running inside a container [2024-08-07T18:41:41.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-07T18:41:44.735Z] $ docker top f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d -eo pid,comm [2024-08-07T18:41:44.792Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-07T18:41:44.792Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T18:41:44.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T18:41:44.857Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T18:41:44.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T18:41:44.967Z] $ docker exec f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d ssh-agent [2024-08-07T18:41:45.065Z] SSH_AUTH_SOCK=/tmp/ssh-eQPn3bMRHLPL/agent.32 [2024-08-07T18:41:45.065Z] SSH_AGENT_PID=38 [2024-08-07T18:41:45.071Z] Running ssh-add (command line suppressed) [2024-08-07T18:41:45.168Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_10232043870536093592.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_10232043870536093592.key) [2024-08-07T18:41:45.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T18:41:45.475Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T18:41:45.482Z] $ docker exec --env ******** --env ******** f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d ssh-agent -k [2024-08-07T18:41:45.571Z] unset SSH_AUTH_SOCK; [2024-08-07T18:41:45.571Z] unset SSH_AGENT_PID; [2024-08-07T18:41:45.572Z] echo Agent pid 38 killed; [2024-08-07T18:41:45.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T18:41:45.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T18:41:45.621Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T18:41:45.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T18:41:45.731Z] $ docker exec f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d ssh-agent [2024-08-07T18:41:45.827Z] SSH_AUTH_SOCK=/tmp/ssh-ajtnx81mKMUp/agent.71 [2024-08-07T18:41:45.827Z] SSH_AGENT_PID=77 [2024-08-07T18:41:45.830Z] Running ssh-add (command line suppressed) [2024-08-07T18:41:45.919Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_6775516428912581879.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_6775516428912581879.key) [2024-08-07T18:41:45.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T18:41:46.227Z] + git semver init [2024-08-07T18:41:46.486Z] 2024-08-07 18:41:46,392 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T18:41:46.486Z] 2024-08-07 18:41:46,393 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-07T18:41:46.486Z] 2024-08-07 18:41:46,393 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-07T18:41:46.486Z] 2024-08-07 18:41:46,393 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610, universal_newlines=False, shell=None, istream=None) [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,452 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.git/info/exclude [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,453 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 with force:False [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,453 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,457 [execute] INFO git cat-file --batch-check [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,463 [execute] INFO git cat-file --batch [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T18:41:49.025Z] 2024-08-07 18:41:48,469 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-07T18:41:49.025Z] 0.0.0 [Pipeline] } [2024-08-07T18:41:49.033Z] $ docker exec --env ******** --env ******** f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d ssh-agent -k [2024-08-07T18:41:49.127Z] unset SSH_AUTH_SOCK; [2024-08-07T18:41:49.128Z] unset SSH_AGENT_PID; [2024-08-07T18:41:49.128Z] echo Agent pid 77 killed; [2024-08-07T18:41:49.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T18:41:49.462Z] + git semver [Pipeline] } [2024-08-07T18:41:49.735Z] $ docker stop --time=1 f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d [2024-08-07T18:41:51.012Z] $ docker rm -f --volumes f04a58fefaa7f14e8bc6789178828d2caac2be198f98ca33b8b1ea6decde8b3d [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T18:41:51.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T18:41:51.591Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T18:41:51.595Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:41:51.787Z] provisioning config files... [2024-08-07T18:41:51.797Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config14509568337549477110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:41:52.100Z] ---> ****-login.sh [2024-08-07T18:41:52.100Z] nexus3.edgexfoundry.org:10001 [2024-08-07T18:41:52.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:52.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:52.100Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:52.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:52.101Z] [2024-08-07T18:41:52.101Z] Login Succeeded [2024-08-07T18:41:52.101Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:41:52.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:52.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:52.101Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:52.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:52.101Z] [2024-08-07T18:41:52.101Z] Login Succeeded [2024-08-07T18:41:52.101Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:41:52.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:52.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:52.360Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:52.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:52.360Z] [2024-08-07T18:41:52.360Z] Login Succeeded [2024-08-07T18:41:52.360Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:41:52.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:52.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:52.360Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:52.361Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:52.361Z] [2024-08-07T18:41:52.361Z] Login Succeeded [2024-08-07T18:41:52.361Z] ****.io [2024-08-07T18:41:52.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:41:52.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:41:52.620Z] Configure a credential helper to remove this warning. See [2024-08-07T18:41:52.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:41:52.620Z] [2024-08-07T18:41:52.620Z] Login Succeeded [2024-08-07T18:41:52.620Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:41:52.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T18:41:52.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:41:52.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:41:52.766Z] ========================================================= [2024-08-07T18:41:52.766Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T18:41:52.766Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:41:53.091Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T18:41:53.091Z] Sending build context to Docker daemon 25.18MB [2024-08-07T18:41:53.091Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:41:53.091Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T18:41:53.350Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T18:41:53.350Z] 619be1103602: Pulling fs layer [2024-08-07T18:41:53.350Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T18:41:53.350Z] 5df492c9dc93: Pulling fs layer [2024-08-07T18:41:53.350Z] 7629e6793208: Pulling fs layer [2024-08-07T18:41:53.350Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T18:41:53.350Z] fb5054dd5b73: Pulling fs layer [2024-08-07T18:41:53.350Z] eeca6798cff9: Pulling fs layer [2024-08-07T18:41:53.350Z] aa269ceb94a6: Pulling fs layer [2024-08-07T18:41:53.350Z] 7629e6793208: Waiting [2024-08-07T18:41:53.350Z] fb5054dd5b73: Waiting [2024-08-07T18:41:53.350Z] eeca6798cff9: Waiting [2024-08-07T18:41:53.350Z] ada007ff1a6a: Pulling fs layer [2024-08-07T18:41:53.350Z] 4f4fb700ef54: Waiting [2024-08-07T18:41:53.350Z] aa269ceb94a6: Waiting [2024-08-07T18:41:53.350Z] 7862e08f4a3e: Verifying Checksum [2024-08-07T18:41:53.350Z] 7862e08f4a3e: Download complete [2024-08-07T18:41:53.350Z] 7629e6793208: Verifying Checksum [2024-08-07T18:41:53.350Z] 7629e6793208: Download complete [2024-08-07T18:41:53.350Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T18:41:53.350Z] 4f4fb700ef54: Download complete [2024-08-07T18:41:53.350Z] fb5054dd5b73: Verifying Checksum [2024-08-07T18:41:53.350Z] fb5054dd5b73: Download complete [2024-08-07T18:41:53.350Z] 619be1103602: Verifying Checksum [2024-08-07T18:41:53.350Z] 619be1103602: Download complete [2024-08-07T18:41:53.350Z] eeca6798cff9: Verifying Checksum [2024-08-07T18:41:53.350Z] eeca6798cff9: Download complete [2024-08-07T18:41:53.350Z] 619be1103602: Pull complete [2024-08-07T18:41:53.608Z] ada007ff1a6a: Verifying Checksum [2024-08-07T18:41:53.609Z] ada007ff1a6a: Download complete [2024-08-07T18:41:53.609Z] 7862e08f4a3e: Pull complete [2024-08-07T18:41:53.609Z] 5df492c9dc93: Verifying Checksum [2024-08-07T18:41:53.609Z] 5df492c9dc93: Download complete [2024-08-07T18:41:54.174Z] aa269ceb94a6: Verifying Checksum [2024-08-07T18:41:56.704Z] 5df492c9dc93: Pull complete [2024-08-07T18:41:56.704Z] 7629e6793208: Pull complete [2024-08-07T18:41:56.704Z] 4f4fb700ef54: Pull complete [2024-08-07T18:41:56.704Z] fb5054dd5b73: Pull complete [2024-08-07T18:41:56.704Z] eeca6798cff9: Pull complete [2024-08-07T18:41:59.230Z] aa269ceb94a6: Pull complete [2024-08-07T18:41:59.487Z] ada007ff1a6a: Pull complete [2024-08-07T18:41:59.488Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T18:41:59.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T18:41:59.747Z] ---> f489d0715acc [2024-08-07T18:41:59.747Z] Step 3/10 : ARG MAKE=make build [2024-08-07T18:42:05.022Z] ---> Running in 14837d3f4b43 [2024-08-07T18:42:05.022Z] Removing intermediate container 14837d3f4b43 [2024-08-07T18:42:05.022Z] ---> bf6bcdf0a731 [2024-08-07T18:42:05.022Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-07T18:42:05.022Z] ---> Running in 3e76e10f1c18 [2024-08-07T18:42:05.022Z] Removing intermediate container 3e76e10f1c18 [2024-08-07T18:42:05.022Z] ---> 502163bf1a07 [2024-08-07T18:42:05.022Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T18:42:05.022Z] ---> Running in 89109b4fd4b4 [2024-08-07T18:42:05.022Z] Removing intermediate container 89109b4fd4b4 [2024-08-07T18:42:05.022Z] ---> 292044406cf4 [2024-08-07T18:42:05.022Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-07T18:42:05.022Z] ---> Running in 587ceb5d5eff [2024-08-07T18:42:05.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:42:05.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:42:05.280Z] OK: 264 MiB in 52 packages [2024-08-07T18:42:05.538Z] Removing intermediate container 587ceb5d5eff [2024-08-07T18:42:05.538Z] ---> 6efeb2409d1d [2024-08-07T18:42:05.538Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T18:42:05.799Z] ---> 20cd9a33d2c8 [2024-08-07T18:42:05.799Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:42:05.799Z] ---> Running in 1a83a3976de9 [2024-08-07T18:42:06.739Z] Still waiting to schedule task [2024-08-07T18:42:06.740Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-07T18:43:02.042Z] Removing intermediate container 1a83a3976de9 [2024-08-07T18:43:02.042Z] ---> cccc0936cf18 [2024-08-07T18:43:02.042Z] Step 9/10 : COPY . . [2024-08-07T18:43:02.042Z] ---> 76a1c3293046 [2024-08-07T18:43:02.042Z] Step 10/10 : RUN ${MAKE} [2024-08-07T18:43:02.042Z] ---> Running in f4f96276618d [2024-08-07T18:43:02.042Z] noop [2024-08-07T18:43:02.042Z] Removing intermediate container f4f96276618d [2024-08-07T18:43:02.042Z] ---> 325ada692692 [2024-08-07T18:43:02.042Z] Successfully built 325ada692692 [2024-08-07T18:43:02.042Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:43:02.368Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T18:43:02.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:43:02.454Z] prd-ubuntu20.04-docker-8c-8g-7310 does not seem to be running inside a container [2024-08-07T18:43:02.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@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 ******** ci-base-image-x86_64 cat [2024-08-07T18:43:02.792Z] $ docker top 20906ab14db5d12099250cfa37000000f0fd8216659b4a362f354ef28fee14b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:43:03.144Z] + go version [2024-08-07T18:43:03.144Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T18:43:03.153Z] $ docker stop --time=1 20906ab14db5d12099250cfa37000000f0fd8216659b4a362f354ef28fee14b0 [2024-08-07T18:43:04.389Z] $ docker rm -f --volumes 20906ab14db5d12099250cfa37000000f0fd8216659b4a362f354ef28fee14b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:43:04.839Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T18:43:04.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:43:04.922Z] prd-ubuntu20.04-docker-8c-8g-7310 does not seem to be running inside a container [2024-08-07T18:43:04.953Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@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 ******** ci-base-image-x86_64 cat [2024-08-07T18:43:05.273Z] $ docker top 1d8ae9a5a04747acd1fde54a3b712728ae1362f14a2b1301ac887a286fcc45aa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:43:05.619Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] fileExists [Pipeline] sh [2024-08-07T18:43:05.921Z] + make test [2024-08-07T18:43:05.921Z] go test -race -coverprofile=coverage.out ./... [2024-08-07T18:43:14.037Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-07T18:43:41.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-07T18:43:41.026Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 27.0% of statements [2024-08-07T18:43:41.026Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 79.4% of statements [2024-08-07T18:43:41.026Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements [2024-08-07T18:43:41.287Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-07T18:43:41.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-07T18:43:41.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-07T18:43:42.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 52.2% of statements [2024-08-07T18:43:43.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-07T18:43:43.578Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7311 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] { [Pipeline] ws [2024-08-07T18:43:43.594Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-08-07T18:43:43.634Z] The recommended git tool is: git [2024-08-07T18:43:45.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.030s coverage: 14.4% of statements [2024-08-07T18:43:45.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.357s coverage: 44.6% of statements [2024-08-07T18:43:45.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.5% of statements [2024-08-07T18:43:45.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.127s coverage: 89.2% of statements [2024-08-07T18:43:45.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.4% of statements [2024-08-07T18:43:51.937Z] using credential edgex-jenkins-ssh [2024-08-07T18:43:51.963Z] Cloning the remote Git repository [2024-08-07T18:43:52.017Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T18:43:52.141Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-08-07T18:43:52.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T18:43:52.366Z] > git --version # timeout=10 [2024-08-07T18:43:52.407Z] > git --version # 'git version 2.25.1' [2024-08-07T18:43:52.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:43:52.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T18:43:56.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-07T18:43:56.239Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T18:43:57.958Z] Merging remotes/origin/main commit 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-07T18:43:58.364Z] Merge succeeded, producing 41a02f1660e79b632e177c6fac435da123a79680 [2024-08-07T18:43:58.365Z] Checking out Revision 41a02f1660e79b632e177c6fac435da123a79680 (PR-1610) [2024-08-07T18:43:57.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-07T18:43:57.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T18:43:57.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:43:57.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T18:43:57.972Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T18:43:58.040Z] > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [2024-08-07T18:43:58.186Z] > git remote # timeout=10 [2024-08-07T18:43:58.209Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T18:43:58.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:43:58.243Z] > git merge 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 [2024-08-07T18:43:58.341Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T18:43:58.366Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T18:43:58.382Z] > git checkout -f 41a02f1660e79b632e177c6fac435da123a79680 # timeout=10 [2024-08-07T18:44:02.019Z] Commit message: "Merge commit '53be42878d98bd81d8f19abe7357388c82439207' into HEAD" [2024-08-07T18:44:02.020Z] > git rev-list --no-walk 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T18:44:03.764Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T18:44:03.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T18:44:03.764Z] Dload Upload Total Spent Left Speed [2024-08-07T18:44:03.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-08-07T18:44:04.092Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T18:44:04.433Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T18:44:04.433Z] + sudo tee /etc/docker/daemon.new [2024-08-07T18:44:04.433Z] { [2024-08-07T18:44:04.433Z] "registry-mirrors": [ [2024-08-07T18:44:04.433Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T18:44:04.433Z] ], [2024-08-07T18:44:04.433Z] "bip": "10.250.0.254/24", [2024-08-07T18:44:04.433Z] "hosts": [ [2024-08-07T18:44:04.433Z] "tcp://0.0.0.0:5555", [2024-08-07T18:44:04.433Z] "unix:///var/run/docker.sock" [2024-08-07T18:44:04.433Z] ], [2024-08-07T18:44:04.433Z] "mtu": 1458, [2024-08-07T18:44:04.433Z] "selinux-enabled": true, [2024-08-07T18:44:04.433Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T18:44:04.433Z] } [Pipeline] sh [2024-08-07T18:44:04.765Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T18:44:05.080Z] + sudo service docker restart [2024-08-07T18:44:17.438Z] GO111MODULE=on go vet ./... [2024-08-07T18:44:22.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T18:44:22.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T18:44:22.960Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-07T18:44:22.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T18:44:22.993Z] $ docker stop --time=1 1d8ae9a5a04747acd1fde54a3b712728ae1362f14a2b1301ac887a286fcc45aa [2024-08-07T18:44:27.296Z] $ docker rm -f --volumes 1d8ae9a5a04747acd1fde54a3b712728ae1362f14a2b1301ac887a286fcc45aa [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:44:27.726Z] provisioning config files... [2024-08-07T18:44:27.750Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15750050699800039770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:44:27.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T18:44:28.026Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-08-07T18:44:28.173Z] ---> ****-login.sh [2024-08-07T18:44:28.173Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2024-08-07T18:44:28.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:44:28.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T18:44:28.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:44:28.712Z] Configure a credential helper to remove this warning. See [2024-08-07T18:44:28.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:44:28.713Z] [2024-08-07T18:44:28.713Z] Login Succeeded [2024-08-07T18:44:28.713Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:44:28.856Z] + ls -al . [2024-08-07T18:44:28.856Z] total 380 [2024-08-07T18:44:28.856Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 7 18:43 . [2024-08-07T18:44:28.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:41 .. [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 18:41 .dockerignore [2024-08-07T18:44:28.856Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 18:43 .git [2024-08-07T18:44:28.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:41 .github [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 18:41 .gitignore [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 18:41 .golangci.yml [2024-08-07T18:44:28.856Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 18:41 .semver [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 18:41 CHANGELOG.md [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 18:41 GOVERNANCE.md [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 18:41 Jenkinsfile [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 18:41 LICENSE [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 18:41 Makefile [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 18:41 OWNERS.md [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 18:41 README.md [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 18:41 VERSION [2024-08-07T18:44:28.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 18:41 bin [2024-08-07T18:44:28.856Z] -rw-r--r-- 1 jenkins jenkins 125705 Aug 7 18:43 coverage.out [2024-08-07T18:44:28.856Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 18:41 example [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 18:41 go.mod [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 18:41 go.sum [2024-08-07T18:44:28.856Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 18:41 internal [2024-08-07T18:44:28.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:41 openapi [2024-08-07T18:44:28.856Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 18:41 pkg [2024-08-07T18:44:28.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:41 snap [2024-08-07T18:44:28.856Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:44:28.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:44:28.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:44:28.980Z] Configure a credential helper to remove this warning. See [2024-08-07T18:44:28.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:44:28.980Z] [2024-08-07T18:44:28.980Z] Login Succeeded [2024-08-07T18:44:29.260Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:44:29.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:44:29.281Z] + 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=d2e0eee8c9224615611eae98a87183ff2ecbc72d --label arch=amd64 --label version=0.0.0 . [2024-08-07T18:44:29.281Z] Sending build context to Docker daemon 25.3MB [2024-08-07T18:44:29.281Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:44:29.281Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-07T18:44:29.281Z] ---> 325ada692692 [2024-08-07T18:44:29.281Z] Step 3/24 : ARG MAKE=make build [2024-08-07T18:44:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:44:29.529Z] Configure a credential helper to remove this warning. See [2024-08-07T18:44:29.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:44:29.529Z] [2024-08-07T18:44:29.529Z] Login Succeeded [2024-08-07T18:44:29.529Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:44:29.540Z] ---> Running in 01a79d90b8ed [2024-08-07T18:44:29.798Z] Removing intermediate container 01a79d90b8ed [2024-08-07T18:44:29.798Z] ---> af3cfcc835d9 [2024-08-07T18:44:29.798Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-07T18:44:29.798Z] ---> Running in 0582ba1fc1d3 [2024-08-07T18:44:29.798Z] Removing intermediate container 0582ba1fc1d3 [2024-08-07T18:44:29.798Z] ---> b9d7c27fef65 [2024-08-07T18:44:29.798Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T18:44:29.798Z] ---> Running in 12c27e4308b8 [2024-08-07T18:44:29.798Z] Removing intermediate container 12c27e4308b8 [2024-08-07T18:44:29.798Z] ---> 36fcebac80c4 [2024-08-07T18:44:29.798Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-07T18:44:29.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:44:29.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:44:29.800Z] Configure a credential helper to remove this warning. See [2024-08-07T18:44:29.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:44:29.800Z] [2024-08-07T18:44:29.800Z] Login Succeeded [2024-08-07T18:44:29.800Z] ****.io [2024-08-07T18:44:30.057Z] ---> Running in ec2e85dcac9a [2024-08-07T18:44:30.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:44:30.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:44:30.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:44:30.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:44:30.332Z] Configure a credential helper to remove this warning. See [2024-08-07T18:44:30.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:44:30.332Z] [2024-08-07T18:44:30.332Z] Login Succeeded [2024-08-07T18:44:30.332Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:44:30.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-08-07T18:44:30.574Z] OK: 264 MiB in 52 packages [Pipeline] echo [2024-08-07T18:44:30.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:44:30.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:44:30.683Z] ========================================================= [2024-08-07T18:44:30.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T18:44:30.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:44:30.833Z] Removing intermediate container ec2e85dcac9a [2024-08-07T18:44:30.833Z] ---> c639a6ebbbfa [2024-08-07T18:44:30.833Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-07T18:44:31.053Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T18:44:31.092Z] ---> ee3ead41d4a1 [2024-08-07T18:44:31.092Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:44:31.092Z] ---> Running in 9856b3999e3d [2024-08-07T18:44:31.649Z] Sending build context to Docker daemon 13.02MB [2024-08-07T18:44:31.649Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:44:31.649Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T18:44:31.670Z] Removing intermediate container 9856b3999e3d [2024-08-07T18:44:31.670Z] ---> a7c6776f7cd6 [2024-08-07T18:44:31.670Z] Step 9/24 : COPY . . [2024-08-07T18:44:31.933Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T18:44:31.933Z] c6b39de5b339: Pulling fs layer [2024-08-07T18:44:31.933Z] a69c41024577: Pulling fs layer [2024-08-07T18:44:31.933Z] d6de4b400683: Pulling fs layer [2024-08-07T18:44:31.933Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T18:44:31.933Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T18:44:31.933Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T18:44:31.933Z] 00f215d4a9da: Pulling fs layer [2024-08-07T18:44:31.933Z] d496ad576159: Pulling fs layer [2024-08-07T18:44:31.933Z] 35cb2a7552d0: Waiting [2024-08-07T18:44:31.933Z] 4f4fb700ef54: Waiting [2024-08-07T18:44:31.933Z] 464afbd9ba4c: Waiting [2024-08-07T18:44:31.933Z] 00f215d4a9da: Waiting [2024-08-07T18:44:31.933Z] d496ad576159: Waiting [2024-08-07T18:44:31.933Z] a69c41024577: Verifying Checksum [2024-08-07T18:44:31.933Z] a69c41024577: Download complete [2024-08-07T18:44:31.933Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T18:44:31.933Z] 35cb2a7552d0: Download complete [2024-08-07T18:44:31.933Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T18:44:31.933Z] 4f4fb700ef54: Download complete [2024-08-07T18:44:31.933Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T18:44:31.933Z] 464afbd9ba4c: Download complete [2024-08-07T18:44:31.933Z] c6b39de5b339: Verifying Checksum [2024-08-07T18:44:31.933Z] c6b39de5b339: Download complete [2024-08-07T18:44:32.523Z] d496ad576159: Verifying Checksum [2024-08-07T18:44:32.523Z] d496ad576159: Download complete [2024-08-07T18:44:32.605Z] ---> 5cc5f47ac299 [2024-08-07T18:44:32.605Z] Step 10/24 : RUN ${MAKE} [2024-08-07T18:44:32.605Z] ---> Running in b7190f4f6994 [2024-08-07T18:44:32.795Z] c6b39de5b339: Pull complete [2024-08-07T18:44:32.863Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-07T18:44:33.382Z] a69c41024577: Pull complete [2024-08-07T18:44:33.650Z] d6de4b400683: Verifying Checksum [2024-08-07T18:44:33.650Z] d6de4b400683: Download complete [2024-08-07T18:44:35.061Z] 00f215d4a9da: Verifying Checksum [2024-08-07T18:44:35.061Z] 00f215d4a9da: Download complete [2024-08-07T18:44:47.391Z] d6de4b400683: Pull complete [2024-08-07T18:44:47.391Z] 35cb2a7552d0: Pull complete [2024-08-07T18:44:47.391Z] 4f4fb700ef54: Pull complete [2024-08-07T18:44:47.391Z] 464afbd9ba4c: Pull complete [2024-08-07T18:44:55.613Z] 00f215d4a9da: Pull complete [2024-08-07T18:44:57.026Z] d496ad576159: Pull complete [2024-08-07T18:44:57.026Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T18:44:57.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T18:44:57.026Z] ---> f246e2811388 [2024-08-07T18:44:57.026Z] Step 3/10 : ARG MAKE=make build [2024-08-07T18:44:58.434Z] ---> Running in 0c70f6c2a065 [2024-08-07T18:44:58.702Z] Removing intermediate container 0c70f6c2a065 [2024-08-07T18:44:58.702Z] ---> 60c9a814551b [2024-08-07T18:44:58.702Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-07T18:44:58.702Z] ---> Running in 109a2d94e173 [2024-08-07T18:45:00.107Z] Removing intermediate container 109a2d94e173 [2024-08-07T18:45:00.107Z] ---> accdb15104e2 [2024-08-07T18:45:00.107Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T18:45:00.107Z] ---> Running in b4b541fd7be2 [2024-08-07T18:45:00.374Z] Removing intermediate container b4b541fd7be2 [2024-08-07T18:45:00.374Z] ---> f88585dffbb4 [2024-08-07T18:45:00.374Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-07T18:45:00.374Z] ---> Running in c53cf4f3fff8 [2024-08-07T18:45:01.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:45:01.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:45:02.899Z] OK: 266 MiB in 52 packages [2024-08-07T18:45:03.479Z] Removing intermediate container c53cf4f3fff8 [2024-08-07T18:45:03.479Z] ---> 71121bd2c54f [2024-08-07T18:45:03.479Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T18:45:04.073Z] ---> e18cf5168547 [2024-08-07T18:45:04.073Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:45:04.073Z] ---> Running in cb411e5b27aa [2024-08-07T18:45:04.935Z] Removing intermediate container b7190f4f6994 [2024-08-07T18:45:04.935Z] ---> 4cd91592ae8f [2024-08-07T18:45:04.935Z] Step 11/24 : FROM alpine:3.18 [2024-08-07T18:45:04.935Z] 3.18: Pulling from library/alpine [2024-08-07T18:45:04.935Z] 930bdd4d222e: Pulling fs layer [2024-08-07T18:45:04.935Z] 930bdd4d222e: Verifying Checksum [2024-08-07T18:45:04.935Z] 930bdd4d222e: Download complete [2024-08-07T18:45:04.935Z] 930bdd4d222e: Pull complete [2024-08-07T18:45:05.194Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T18:45:05.194Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T18:45:05.194Z] ---> 18f865063206 [2024-08-07T18:45:05.194Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-07T18:45:05.194Z] ---> Running in a7bd000652b9 [2024-08-07T18:45:05.194Z] Removing intermediate container a7bd000652b9 [2024-08-07T18:45:05.194Z] ---> 4a46387f4187 [2024-08-07T18:45:05.194Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-07T18:45:05.453Z] ---> Running in de7ffeb891ca [2024-08-07T18:45:05.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:45:05.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:45:05.971Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T18:45:05.971Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T18:45:05.971Z] OK: 7 MiB in 16 packages [2024-08-07T18:45:06.538Z] Removing intermediate container de7ffeb891ca [2024-08-07T18:45:06.538Z] ---> c5c3de27c631 [2024-08-07T18:45:06.538Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-07T18:45:06.538Z] ---> Running in 305a6ae0a541 [2024-08-07T18:45:06.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:45:06.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:45:07.056Z] OK: 7 MiB in 16 packages [2024-08-07T18:45:07.317Z] Removing intermediate container 305a6ae0a541 [2024-08-07T18:45:07.317Z] ---> c278c0633470 [2024-08-07T18:45:07.317Z] Step 15/24 : WORKDIR / [2024-08-07T18:45:07.317Z] ---> Running in 10d60ca0e7d8 [2024-08-07T18:45:07.317Z] Removing intermediate container 10d60ca0e7d8 [2024-08-07T18:45:07.317Z] ---> 610d5c23f255 [2024-08-07T18:45:07.317Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-07T18:45:07.578Z] ---> 3f843aa70446 [2024-08-07T18:45:07.578Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-07T18:45:08.958Z] ---> da20c103a1f1 [2024-08-07T18:45:08.958Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-07T18:45:08.958Z] ---> 5e279c6f8274 [2024-08-07T18:45:08.958Z] Step 19/24 : EXPOSE 59999 [2024-08-07T18:45:08.958Z] ---> Running in 2b49a79309d7 [2024-08-07T18:45:08.958Z] Removing intermediate container 2b49a79309d7 [2024-08-07T18:45:08.958Z] ---> c1c0305c46f3 [2024-08-07T18:45:08.958Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-07T18:45:08.958Z] ---> Running in aa8f6dc8b10b [2024-08-07T18:45:08.958Z] Removing intermediate container aa8f6dc8b10b [2024-08-07T18:45:08.958Z] ---> 1dbbcd037d79 [2024-08-07T18:45:08.958Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T18:45:09.218Z] ---> Running in 685655fbc813 [2024-08-07T18:45:09.218Z] Removing intermediate container 685655fbc813 [2024-08-07T18:45:09.218Z] ---> 896c1b1c36fc [2024-08-07T18:45:09.218Z] Step 22/24 : LABEL arch=amd64 [2024-08-07T18:45:09.218Z] ---> Running in 6532c996b139 [2024-08-07T18:45:09.218Z] Removing intermediate container 6532c996b139 [2024-08-07T18:45:09.218Z] ---> 0931b7ba9b3b [2024-08-07T18:45:09.218Z] Step 23/24 : LABEL git_sha=d2e0eee8c9224615611eae98a87183ff2ecbc72d [2024-08-07T18:45:09.218Z] ---> Running in b480156490c9 [2024-08-07T18:45:09.218Z] Removing intermediate container b480156490c9 [2024-08-07T18:45:09.218Z] ---> 3dd899ebc4f0 [2024-08-07T18:45:09.218Z] Step 24/24 : LABEL version=0.0.0 [2024-08-07T18:45:09.477Z] ---> Running in 7edbc6f7e820 [2024-08-07T18:45:09.478Z] Removing intermediate container 7edbc6f7e820 [2024-08-07T18:45:09.478Z] ---> d7227b3ca9ed [2024-08-07T18:45:09.478Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T18:45:09.478Z] Successfully built d7227b3ca9ed [2024-08-07T18:45:09.478Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:45:09.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:45:09.965Z] [2024-08-07T18:45:09.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:45:10.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:45:10.265Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T18:45:10.265Z] 5eb5b503b376: Pulling fs layer [2024-08-07T18:45:10.265Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T18:45:10.265Z] ec43610c2a17: Pulling fs layer [2024-08-07T18:45:10.265Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T18:45:10.265Z] 33b1e0a273af: Pulling fs layer [2024-08-07T18:45:10.265Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T18:45:10.265Z] 2f39f015ded8: Pulling fs layer [2024-08-07T18:45:10.265Z] 3a2ae6a8a46f: Waiting [2024-08-07T18:45:10.265Z] 33b1e0a273af: Waiting [2024-08-07T18:45:10.265Z] 5d3b04190fa2: Waiting [2024-08-07T18:45:10.265Z] 2f39f015ded8: Waiting [2024-08-07T18:45:10.265Z] 5c69ac0246d0: Verifying Checksum [2024-08-07T18:45:10.265Z] 5c69ac0246d0: Download complete [2024-08-07T18:45:10.265Z] 3a2ae6a8a46f: Download complete [2024-08-07T18:45:10.265Z] 33b1e0a273af: Verifying Checksum [2024-08-07T18:45:10.265Z] 33b1e0a273af: Download complete [2024-08-07T18:45:10.265Z] 5d3b04190fa2: Download complete [2024-08-07T18:45:10.265Z] ec43610c2a17: Verifying Checksum [2024-08-07T18:45:10.265Z] ec43610c2a17: Download complete [2024-08-07T18:45:10.523Z] 5eb5b503b376: Verifying Checksum [2024-08-07T18:45:10.523Z] 5eb5b503b376: Download complete [2024-08-07T18:45:11.088Z] 2f39f015ded8: Download complete [2024-08-07T18:45:11.654Z] 5eb5b503b376: Pull complete [2024-08-07T18:45:11.911Z] 5c69ac0246d0: Pull complete [2024-08-07T18:45:12.477Z] ec43610c2a17: Pull complete [2024-08-07T18:45:12.477Z] 3a2ae6a8a46f: Pull complete [2024-08-07T18:45:12.736Z] 33b1e0a273af: Pull complete [2024-08-07T18:45:12.736Z] 5d3b04190fa2: Pull complete [2024-08-07T18:45:16.915Z] 2f39f015ded8: Pull complete [2024-08-07T18:45:16.915Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T18:45:16.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:45:16.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:45:17.008Z] prd-ubuntu20.04-docker-8c-8g-7310 does not seem to be running inside a container [2024-08-07T18:45:17.028Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T18:45:20.285Z] $ docker top d48dbdb27e36006b731137f8b9193c12e7510128059fefd38462b57e1a153e7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:45:20.691Z] ---> job-cost.sh [2024-08-07T18:45:20.691Z] lf-activate-venv: SKIPPING [2024-08-07T18:45:20.691Z] INFO: No Stack... [2024-08-07T18:45:20.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T18:45:21.209Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T18:45:21.502Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/cost.csv [2024-08-07T18:45:21.502Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T18:45:21.516Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [2024-08-07T18:45:21.594Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] did not exist. Created. [2024-08-07T18:45:21.601Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T18:45:21.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T18:45:21.936Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T18:45:21.945Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T18:45:21.966Z] $ docker stop --time=1 d48dbdb27e36006b731137f8b9193c12e7510128059fefd38462b57e1a153e7a [2024-08-07T18:45:23.118Z] $ docker rm -f --volumes d48dbdb27e36006b731137f8b9193c12e7510128059fefd38462b57e1a153e7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T18:46:55.713Z] Removing intermediate container cb411e5b27aa [2024-08-07T18:46:55.713Z] ---> 7c04d397cc99 [2024-08-07T18:46:55.713Z] Step 9/10 : COPY . . [2024-08-07T18:46:55.713Z] ---> 855eb433115e [2024-08-07T18:46:55.713Z] Step 10/10 : RUN ${MAKE} [2024-08-07T18:46:55.713Z] ---> Running in 60861bb62b04 [2024-08-07T18:46:55.713Z] noop [2024-08-07T18:46:55.713Z] Removing intermediate container 60861bb62b04 [2024-08-07T18:46:55.713Z] ---> 240ee9e3955b [2024-08-07T18:46:55.713Z] Successfully built 240ee9e3955b [2024-08-07T18:46:55.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:46:56.069Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T18:46:56.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:46:56.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-7311 does not seem to be running inside a container [2024-08-07T18:46:56.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2024-08-07T18:46:57.513Z] $ docker top 7485d394d95a29220be21cda6ee98bdcd70509611305e028687bc5aebf106f64 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:46:58.355Z] + go version [2024-08-07T18:46:58.355Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T18:46:58.368Z] $ docker stop --time=1 7485d394d95a29220be21cda6ee98bdcd70509611305e028687bc5aebf106f64 [2024-08-07T18:46:59.923Z] $ docker rm -f --volumes 7485d394d95a29220be21cda6ee98bdcd70509611305e028687bc5aebf106f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:47:00.498Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T18:47:00.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:47:00.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-7311 does not seem to be running inside a container [2024-08-07T18:47:00.731Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2024-08-07T18:47:01.982Z] $ docker top e18b01fc7ee4d625423e6053aab4c7338860f5bc3d3d3faca488c84d1bac9b61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:47:02.811Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-08-07T18:47:03.143Z] + make test [2024-08-07T18:47:03.409Z] go test -race -coverprofile=coverage.out ./... [2024-08-07T18:47:42.258Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-07T18:51:04.333Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-07T18:51:04.333Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-07T18:51:04.333Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-07T18:51:04.333Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-07T18:51:04.333Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-07T18:51:04.333Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.128s coverage: 27.0% of statements [2024-08-07T18:51:07.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.158s coverage: 79.4% of statements [2024-08-07T18:51:14.323Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-07T18:51:14.323Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-07T18:51:15.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.256s coverage: 86.0% of statements [2024-08-07T18:51:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-07T18:51:19.733Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.445s coverage: 52.2% of statements [2024-08-07T18:51:23.987Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.136s coverage: 14.4% of statements [2024-08-07T18:51:24.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-07T18:51:24.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-07T18:51:24.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.502s coverage: 44.6% of statements [2024-08-07T18:51:25.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.282s coverage: 68.5% of statements [2024-08-07T18:51:29.324Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.345s coverage: 89.2% of statements [2024-08-07T18:51:32.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-07T18:51:33.619Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.241s coverage: 5.4% of statements [2024-08-07T18:51:35.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T18:51:35.039Z] GO111MODULE=on go vet ./... [2024-08-07T18:55:26.858Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T18:55:26.858Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T18:55:26.858Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-07T18:55:27.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T18:55:27.469Z] $ docker stop --time=1 e18b01fc7ee4d625423e6053aab4c7338860f5bc3d3d3faca488c84d1bac9b61 [2024-08-07T18:55:29.595Z] $ docker rm -f --volumes e18b01fc7ee4d625423e6053aab4c7338860f5bc3d3d3faca488c84d1bac9b61 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T18:55:32.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T18:55:32.268Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T18:55:32.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T18:55:33.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T18:55:33.682Z] + ls -al . [2024-08-07T18:55:33.682Z] total 376 [2024-08-07T18:55:33.682Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 18:47 . [2024-08-07T18:55:33.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:43 .. [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 18:43 .dockerignore [2024-08-07T18:55:33.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 18:43 .git [2024-08-07T18:55:33.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:43 .github [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 18:43 .gitignore [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 18:43 .golangci.yml [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 18:43 CHANGELOG.md [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 18:43 GOVERNANCE.md [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 18:43 Jenkinsfile [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 18:43 LICENSE [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 18:43 Makefile [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 18:43 OWNERS.md [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 18:43 README.md [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 18:41 VERSION [2024-08-07T18:55:33.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 18:43 bin [2024-08-07T18:55:33.682Z] -rw-r--r-- 1 jenkins jenkins 125703 Aug 7 18:51 coverage.out [2024-08-07T18:55:33.682Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 18:43 example [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 18:43 go.mod [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 18:43 go.sum [2024-08-07T18:55:33.682Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 18:43 internal [2024-08-07T18:55:33.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:43 openapi [2024-08-07T18:55:33.682Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 18:43 pkg [2024-08-07T18:55:33.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:43 snap [2024-08-07T18:55:33.682Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:55:34.031Z] + 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=41a02f1660e79b632e177c6fac435da123a79680 --label arch=arm64 --label version=0.0.0 . [2024-08-07T18:55:34.616Z] Sending build context to Docker daemon 13.15MB [2024-08-07T18:55:34.616Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:55:34.616Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-07T18:55:34.616Z] ---> 240ee9e3955b [2024-08-07T18:55:34.616Z] Step 3/24 : ARG MAKE=make build [2024-08-07T18:55:34.885Z] ---> Running in 947f8dba3b13 [2024-08-07T18:55:35.163Z] Removing intermediate container 947f8dba3b13 [2024-08-07T18:55:35.163Z] ---> 36ebbb9c8211 [2024-08-07T18:55:35.163Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-07T18:55:35.163Z] ---> Running in b27830c0e4b7 [2024-08-07T18:55:35.748Z] Removing intermediate container b27830c0e4b7 [2024-08-07T18:55:35.748Z] ---> 65c1efa0c417 [2024-08-07T18:55:35.748Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T18:55:35.748Z] ---> Running in 4c760e96d62b [2024-08-07T18:55:36.018Z] Removing intermediate container 4c760e96d62b [2024-08-07T18:55:36.018Z] ---> 3f4cc9de6962 [2024-08-07T18:55:36.018Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-07T18:55:36.018Z] ---> Running in 751adace26b6 [2024-08-07T18:55:37.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:55:37.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:55:38.848Z] OK: 266 MiB in 52 packages [2024-08-07T18:55:39.433Z] Removing intermediate container 751adace26b6 [2024-08-07T18:55:39.433Z] ---> 4bd4b2599120 [2024-08-07T18:55:39.433Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-07T18:55:40.017Z] ---> e0611b782c49 [2024-08-07T18:55:40.017Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:55:40.286Z] ---> Running in 7ac9cc17f21a [2024-08-07T18:55:42.872Z] Removing intermediate container 7ac9cc17f21a [2024-08-07T18:55:42.872Z] ---> 5e3ed00722dc [2024-08-07T18:55:42.872Z] Step 9/24 : COPY . . [2024-08-07T18:55:44.297Z] ---> eb90c4473654 [2024-08-07T18:55:44.297Z] Step 10/24 : RUN ${MAKE} [2024-08-07T18:55:44.297Z] ---> Running in 064353e7d71e [2024-08-07T18:55:45.257Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-07T18:59:37.025Z] Removing intermediate container 064353e7d71e [2024-08-07T18:59:37.025Z] ---> b485d787974e [2024-08-07T18:59:37.025Z] Step 11/24 : FROM alpine:3.18 [2024-08-07T18:59:37.025Z] 3.18: Pulling from library/alpine [2024-08-07T18:59:37.025Z] 4983c3fe2029: Pulling fs layer [2024-08-07T18:59:37.025Z] 4983c3fe2029: Verifying Checksum [2024-08-07T18:59:37.025Z] 4983c3fe2029: Download complete [2024-08-07T18:59:37.025Z] 4983c3fe2029: Pull complete [2024-08-07T18:59:37.025Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T18:59:37.025Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T18:59:37.025Z] ---> a0237000ae83 [2024-08-07T18:59:37.025Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-07T18:59:37.025Z] ---> Running in 4a8a943898ce [2024-08-07T18:59:37.025Z] Removing intermediate container 4a8a943898ce [2024-08-07T18:59:37.025Z] ---> 60ceb1bd1b44 [2024-08-07T18:59:37.025Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-07T18:59:37.025Z] ---> Running in 59cf38ad105e [2024-08-07T18:59:37.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:59:37.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:59:37.025Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T18:59:37.025Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T18:59:37.025Z] OK: 8 MiB in 16 packages [2024-08-07T18:59:37.025Z] Removing intermediate container 59cf38ad105e [2024-08-07T18:59:37.025Z] ---> 57563c84f49e [2024-08-07T18:59:37.025Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-07T18:59:37.025Z] ---> Running in ac15bc009b8c [2024-08-07T18:59:37.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:59:37.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:59:37.025Z] OK: 8 MiB in 16 packages [2024-08-07T18:59:37.291Z] Removing intermediate container ac15bc009b8c [2024-08-07T18:59:37.291Z] ---> b7d27c3585cb [2024-08-07T18:59:37.291Z] Step 15/24 : WORKDIR / [2024-08-07T18:59:37.291Z] ---> Running in bed6720470b8 [2024-08-07T18:59:37.557Z] Removing intermediate container bed6720470b8 [2024-08-07T18:59:37.557Z] ---> 6260a61f85ed [2024-08-07T18:59:37.557Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-07T18:59:38.141Z] ---> 82067eefc525 [2024-08-07T18:59:38.141Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-07T18:59:40.717Z] ---> 2b58e02e0e6e [2024-08-07T18:59:40.717Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-07T18:59:40.982Z] ---> e0f19914850d [2024-08-07T18:59:40.982Z] Step 19/24 : EXPOSE 59999 [2024-08-07T18:59:40.982Z] ---> Running in a03138aadc9a [2024-08-07T18:59:41.562Z] Removing intermediate container a03138aadc9a [2024-08-07T18:59:41.562Z] ---> cafd7a5d59f8 [2024-08-07T18:59:41.562Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-07T18:59:41.562Z] ---> Running in 15df50d2c7d9 [2024-08-07T18:59:41.828Z] Removing intermediate container 15df50d2c7d9 [2024-08-07T18:59:41.828Z] ---> 778a054d1a6e [2024-08-07T18:59:41.828Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T18:59:41.828Z] ---> Running in 27ad7fd74a56 [2024-08-07T18:59:42.095Z] Removing intermediate container 27ad7fd74a56 [2024-08-07T18:59:42.095Z] ---> d22a74beb1c6 [2024-08-07T18:59:42.095Z] Step 22/24 : LABEL arch=arm64 [2024-08-07T18:59:42.361Z] ---> Running in 3d13adf3b8cb [2024-08-07T18:59:42.627Z] Removing intermediate container 3d13adf3b8cb [2024-08-07T18:59:42.627Z] ---> 07a936c49c4e [2024-08-07T18:59:42.627Z] Step 23/24 : LABEL git_sha=41a02f1660e79b632e177c6fac435da123a79680 [2024-08-07T18:59:42.627Z] ---> Running in 3ef028afed1a [2024-08-07T18:59:42.895Z] Removing intermediate container 3ef028afed1a [2024-08-07T18:59:42.895Z] ---> 1f36066c3692 [2024-08-07T18:59:42.895Z] Step 24/24 : LABEL version=0.0.0 [2024-08-07T18:59:43.160Z] ---> Running in 82c9daae3265 [2024-08-07T18:59:43.426Z] Removing intermediate container 82c9daae3265 [2024-08-07T18:59:43.426Z] ---> 1a61564e0b04 [2024-08-07T18:59:43.426Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T18:59:43.426Z] Successfully built 1a61564e0b04 [2024-08-07T18:59:43.426Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:59:43.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T18:59:43.928Z] [2024-08-07T18:59:43.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:59:44.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T18:59:44.536Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T18:59:44.536Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T18:59:44.536Z] 04944245beec: Pulling fs layer [2024-08-07T18:59:44.536Z] 699f458cf7ca: Pulling fs layer [2024-08-07T18:59:44.536Z] 765212b225bb: Pulling fs layer [2024-08-07T18:59:44.536Z] f23df028b6ca: Pulling fs layer [2024-08-07T18:59:44.536Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T18:59:44.536Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T18:59:44.536Z] f23df028b6ca: Waiting [2024-08-07T18:59:44.536Z] d65c8cfc05b1: Waiting [2024-08-07T18:59:44.536Z] 2437ff75d9bd: Waiting [2024-08-07T18:59:44.536Z] 765212b225bb: Waiting [2024-08-07T18:59:44.536Z] 04944245beec: Verifying Checksum [2024-08-07T18:59:44.536Z] 04944245beec: Download complete [2024-08-07T18:59:44.536Z] 765212b225bb: Verifying Checksum [2024-08-07T18:59:44.536Z] 765212b225bb: Download complete [2024-08-07T18:59:44.536Z] f23df028b6ca: Verifying Checksum [2024-08-07T18:59:44.536Z] f23df028b6ca: Download complete [2024-08-07T18:59:44.536Z] d65c8cfc05b1: Download complete [2024-08-07T18:59:44.804Z] 699f458cf7ca: Verifying Checksum [2024-08-07T18:59:44.804Z] 699f458cf7ca: Download complete [2024-08-07T18:59:45.388Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T18:59:45.388Z] 8998bd30e6a1: Download complete [2024-08-07T18:59:47.440Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T18:59:47.440Z] 2437ff75d9bd: Download complete [2024-08-07T18:59:50.061Z] 8998bd30e6a1: Pull complete [2024-08-07T18:59:50.661Z] 04944245beec: Pull complete [2024-08-07T18:59:52.604Z] 699f458cf7ca: Pull complete [2024-08-07T18:59:52.604Z] 765212b225bb: Pull complete [2024-08-07T18:59:53.564Z] f23df028b6ca: Pull complete [2024-08-07T18:59:53.564Z] d65c8cfc05b1: Pull complete [2024-08-07T19:00:11.768Z] 2437ff75d9bd: Pull complete [2024-08-07T19:00:11.769Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T19:00:11.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T19:00:11.769Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T19:00:11.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-7311 does not seem to be running inside a container [2024-08-07T19:00:12.056Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-lftools-log-publisher:arm64 cat [2024-08-07T19:00:15.008Z] $ docker top 6fd07765135bd5db212d6a0396f01f78443ee6d5fad93e2cbcf515a63e4b0ed9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:15.864Z] ---> job-cost.sh [2024-08-07T19:00:15.864Z] lf-activate-venv: SKIPPING [2024-08-07T19:00:15.864Z] INFO: No Stack... [2024-08-07T19:00:16.132Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T19:00:17.091Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T19:00:17.727Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-08-07T19:00:17.727Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T19:00:17.782Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [2024-08-07T19:00:17.791Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] did not exist. Created. [2024-08-07T19:00:17.798Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T19:00:18.462Z] /w/workspace/device-sdk-go/2@tmp/durable-bef3dccc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T19:00:19.103Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T19:00:19.132Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T19:00:19.218Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T19:00:19.233Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T19:00:19.247Z] $ docker stop --time=1 6fd07765135bd5db212d6a0396f01f78443ee6d5fad93e2cbcf515a63e4b0ed9 [2024-08-07T19:00:20.807Z] $ docker rm -f --volumes 6fd07765135bd5db212d6a0396f01f78443ee6d5fad93e2cbcf515a63e4b0ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-07T19:00:21.363Z] provisioning config files... [2024-08-07T19:00:21.371Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config6566466833279108351tmp [Pipeline] { [Pipeline] sh [2024-08-07T19:00:21.672Z] + set +x [2024-08-07T19:00:21.672Z] + curl -s https://codecov.io/bash [2024-08-07T19:00:21.672Z] + bash -s -- [2024-08-07T19:00:21.672Z] [2024-08-07T19:00:21.672Z] _____ _ [2024-08-07T19:00:21.672Z] / ____| | | [2024-08-07T19:00:21.672Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T19:00:21.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T19:00:21.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T19:00:21.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T19:00:21.672Z] Bash-1.0.6 [2024-08-07T19:00:21.672Z] [2024-08-07T19:00:21.672Z] [2024-08-07T19:00:21.672Z] ==> git version 2.25.1 found [2024-08-07T19:00:21.672Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-07T19:00:21.672Z] Release-Date: 2020-01-08 [2024-08-07T19:00:21.672Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-07T19:00:21.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T19:00:21.672Z] ==> Jenkins CI detected. [2024-08-07T19:00:21.672Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-07T19:00:21.672Z] project root: . [2024-08-07T19:00:21.672Z] --> token set from env [2024-08-07T19:00:21.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T19:00:21.931Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T19:00:21.931Z] ==> Python coveragepy not found [2024-08-07T19:00:21.931Z] ==> Searching for coverage reports in: [2024-08-07T19:00:21.931Z] + . [2024-08-07T19:00:21.931Z] -> Found 1 reports [2024-08-07T19:00:21.931Z] ==> Detecting git/mercurial file structure [2024-08-07T19:00:21.931Z] ==> Reading reports [2024-08-07T19:00:21.931Z] + ./coverage.out bytes=125703 [2024-08-07T19:00:21.931Z] ==> Appending adjustments [2024-08-07T19:00:21.931Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T19:00:22.191Z] + Found adjustments [2024-08-07T19:00:22.191Z] ==> Gzipping contents [2024-08-07T19:00:22.191Z] 20K /tmp/codecov.u7ybp7.gz [2024-08-07T19:00:22.191Z] ==> Uploading reports [2024-08-07T19:00:22.191Z] url: https://codecov.io [2024-08-07T19:00:22.191Z] query: branch=PR-1610&commit=d2e0eee8c9224615611eae98a87183ff2ecbc72d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-07T19:00:22.191Z] -> Pinging Codecov [2024-08-07T19:00:22.191Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1610&commit=d2e0eee8c9224615611eae98a87183ff2ecbc72d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-07T19:00:22.450Z] -> Uploading to [2024-08-07T19:00:22.450Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/7E55EF52A471D76F132DFD9A03CDDE97/d2e0eee8c9224615611eae98a87183ff2ecbc72d/f8296d8a-284f-4165-b85b-b4a4059fb923.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T190022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f09b59eb8006186ebf5092ad703d6e55225a31fa144ac1429a1a8b7a9f473f6 [2024-08-07T19:00:22.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T19:00:22.450Z] Dload Upload Total Spent Left Speed [2024-08-07T19:00:22.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17128 0 0 100 17128 0 72885 --:--:-- --:--:-- --:--:-- 72576 100 17128 0 0 100 17128 0 72885 --:--:-- --:--:-- --:--:-- 72576 [2024-08-07T19:00:22.709Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d2e0eee8c9224615611eae98a87183ff2ecbc72d [Pipeline] } [2024-08-07T19:00:22.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-07T19:00:23.699Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives ] [2024-08-07T19:00:23.699Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T19:00:23.699Z] total 16 [2024-08-07T19:00:23.699Z] drwxr-xr-x 3 root root 4096 Aug 7 18:45 . [2024-08-07T19:00:23.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 18:45 .. [2024-08-07T19:00:23.699Z] drwxr-xr-x 2 root root 4096 Aug 7 18:45 cost [2024-08-07T19:00:23.699Z] -rw-r--r-- 1 root root 86 Aug 7 18:45 cost.csv [2024-08-07T19:00:23.699Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T19:00:23.699Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T19:00:23.699Z] total 16 [2024-08-07T19:00:23.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 18:45 . [2024-08-07T19:00:23.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 18:45 .. [2024-08-07T19:00:23.699Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 18:45 cost [2024-08-07T19:00:23.699Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 7 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:23.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:24.891Z] ---> package-listing.sh [2024-08-07T19:00:24.891Z] ++ facter osfamily [2024-08-07T19:00:24.891Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T19:00:25.150Z] + OS_FAMILY=debian [2024-08-07T19:00:25.150Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-07T19:00:25.151Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T19:00:25.151Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T19:00:25.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T19:00:25.151Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T19:00:25.151Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-07T19:00:25.151Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T19:00:25.151Z] + case "${OS_FAMILY}" in [2024-08-07T19:00:25.151Z] + dpkg -l [2024-08-07T19:00:25.151Z] + grep '^ii' [2024-08-07T19:00:25.151Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T19:00:25.151Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T19:00:25.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T19:00:25.151Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-07T19:00:25.151Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [2024-08-07T19:00:25.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [Pipeline] echo [2024-08-07T19:00:25.162Z] 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-1610/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T19:00:25.441Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T19:00:26.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T19:00:26.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T19:00:26.193Z] prd-ubuntu20.04-docker-8c-8g-7310 does not seem to be running inside a container [2024-08-07T19:00:26.277Z] $ 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-1610/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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@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-lftools-log-publisher:latest cat [2024-08-07T19:00:26.493Z] $ docker top f621387d151802af99d01498b09d847660ad3e8e5405c235941d15a63e726b97 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T19:00:26.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T19:00:27.219Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T19:00:27.498Z] + ls /var/log/sa-host [2024-08-07T19:00:27.498Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T19:00:27.672Z] provisioning config files... [2024-08-07T19:00:27.681Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config8215097297799848617tmp [Pipeline] { [Pipeline] echo [2024-08-07T19:00:27.701Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:27.984Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T19:00:27.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:28.361Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T19:00:28.371Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:28.655Z] ---> sudo-logs.sh [2024-08-07T19:00:28.655Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T19:00:28.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:28.968Z] ---> job-cost.sh [2024-08-07T19:00:28.968Z] lf-activate-venv: SKIPPING [2024-08-07T19:00:28.968Z] DEBUG: total: 0.2199999988079071 [2024-08-07T19:00:28.968Z] INFO: Retrieving Stack Cost... [2024-08-07T19:00:29.227Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T19:00:29.484Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T19:00:29.498Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:00:29.777Z] ---> logs-deploy.sh [2024-08-07T19:00:29.777Z] lf-activate-venv: SKIPPING [2024-08-07T19:00:29.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1610/2 [2024-08-07T19:00:29.777Z] INFO: archiving workspace using pattern(s): [2024-08-07T19:00:30.713Z] Archives upload complete. [2024-08-07T19:00:30.713Z] INFO: archiving logs to Nexus