Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 (f7e6e46ad80072f4ff5b2f3981b43b897c7dc4fa) 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-ssh9549692918935239695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9975542549729795785.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12802895253043015699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh14513825147790992740.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13859507700152789112.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-26322 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 Checking out Revision 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 (PR-1540) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 # timeout=10 Commit message: "Merge commit '1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-28T18:41:32.194Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-28T18:41:32.273Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-28T18:41:32.300Z] ========================================================= [2023-12-28T18:41:32.300Z] EdgeX Global Pipelines Version Info [2023-12-28T18:41:32.300Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe # timeout=10 [2023-12-28T18:41:33.021Z] ------------------- [2023-12-28T18:41:33.021Z] stable info: [2023-12-28T18:41:33.021Z] ------------------- [2023-12-28T18:41:33.021Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-28T18:41:33.021Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-28T18:41:33.021Z] Message: update stable to v1.0.258 [2023-12-28T18:41:33.591Z] ------------------- [2023-12-28T18:41:33.591Z] experimental info: [2023-12-28T18:41:33.591Z] ------------------- [2023-12-28T18:41:33.591Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-28T18:41:33.591Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-28T18:41:33.591Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-28T18:41:33.679Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-12-28T18:41:33.706Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-12-28T18:41:33.737Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-28T18:41:33.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-28T18:41:33.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-28T18:41:33.821Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-28T18:41:33.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-28T18:41:33.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-12-28T18:41:33.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-28T18:41:33.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-28T18:41:33.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-28T18:41:34.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-12-28T18:41:34.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-28T18:41:34.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-28T18:41:34.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-28T18:41:34.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-28T18:41:34.169Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-28T18:41:34.205Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-28T18:41:34.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-28T18:41:34.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-28T18:41:34.310Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-12-28T18:41:34.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-12-28T18:41:34.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-28T18:41:34.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-28T18:41:34.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-28T18:41:34.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-28T18:41:34.538Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-28T18:41:34.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-12-28T18:41:34.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-12-28T18:41:34.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-12-28T18:41:34.696Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo [2023-12-28T18:41:34.743Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e3c76 [Pipeline] echo [2023-12-28T18:41:34.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T18:41:34.889Z] provisioning config files... [2023-12-28T18:41:34.901Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config5668435981688162327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:41:35.254Z] ---> ****-login.sh [2023-12-28T18:41:35.254Z] nexus3.edgexfoundry.org:10001 [2023-12-28T18:41:35.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:35.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:35.513Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:35.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:35.513Z] [2023-12-28T18:41:35.513Z] Login Succeeded [2023-12-28T18:41:35.513Z] nexus3.edgexfoundry.org:10002 [2023-12-28T18:41:35.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:35.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:35.772Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:35.772Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:35.772Z] [2023-12-28T18:41:35.772Z] Login Succeeded [2023-12-28T18:41:35.772Z] nexus3.edgexfoundry.org:10003 [2023-12-28T18:41:35.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:35.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:35.772Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:35.772Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:35.772Z] [2023-12-28T18:41:35.772Z] Login Succeeded [2023-12-28T18:41:35.772Z] nexus3.edgexfoundry.org:10004 [2023-12-28T18:41:35.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:36.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:36.031Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:36.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:36.032Z] [2023-12-28T18:41:36.032Z] Login Succeeded [2023-12-28T18:41:36.032Z] ****.io [2023-12-28T18:41:36.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:36.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:36.291Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:36.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:36.291Z] [2023-12-28T18:41:36.291Z] Login Succeeded [2023-12-28T18:41:36.291Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T18:41:36.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-28T18:41:36.813Z] + git rev-list -1 --merges 71e3c76e72e2f3ba814a34e77b8695c4d9b90168~1..71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo [2023-12-28T18:41:36.839Z] -----------> git rev-list -1 --merges 71e3c76e72e2f3ba814a34e77b8695c4d9b90168~1..71e3c76e72e2f3ba814a34e77b8695c4d9b90168 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [2023-12-28T18:41:36.839Z] 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [false] [Pipeline] sh [2023-12-28T18:41:37.144Z] + git log --format=format:%s -1 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo [2023-12-28T18:41:37.158Z] ========================================================= [2023-12-28T18:41:37.159Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-28T18:41:37.159Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T18:41:37.541Z] + git log --format=format:%s -1 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo [2023-12-28T18:41:37.552Z] [semverPrep] GIT_COMMIT: 71e3c76e72e2f3ba814a34e77b8695c4d9b90168, Commit Message: Merge commit '1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4' into HEAD [Pipeline] echo [2023-12-28T18:41:37.578Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-28T18:41:37.985Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-28T18:41:37.986Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-28T18:41:37.986Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-28T18:41:37.986Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-28T18:41:37.986Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-28T18:41:37.986Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-28T18:41:37.986Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:41:38.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T18:41:38.422Z] [2023-12-28T18:41:38.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:41:38.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T18:41:38.742Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-28T18:41:38.742Z] b85a868b505f: Pulling fs layer [2023-12-28T18:41:38.742Z] e2be974225ed: Pulling fs layer [2023-12-28T18:41:38.742Z] 339a4e72a1f5: Pulling fs layer [2023-12-28T18:41:38.742Z] 988bab9f4d93: Pulling fs layer [2023-12-28T18:41:38.742Z] 1469e6f7b9e6: Pulling fs layer [2023-12-28T18:41:38.742Z] eaf3925da568: Pulling fs layer [2023-12-28T18:41:38.743Z] bab4dde63d76: Pulling fs layer [2023-12-28T18:41:38.743Z] bde34c3a00c8: Pulling fs layer [2023-12-28T18:41:38.743Z] b352a97aabf1: Pulling fs layer [2023-12-28T18:41:38.743Z] 4872d77fe225: Pulling fs layer [2023-12-28T18:41:38.743Z] 5851b861e8e6: Pulling fs layer [2023-12-28T18:41:38.743Z] eaf3925da568: Waiting [2023-12-28T18:41:38.743Z] bab4dde63d76: Waiting [2023-12-28T18:41:38.743Z] bde34c3a00c8: Waiting [2023-12-28T18:41:38.743Z] b352a97aabf1: Waiting [2023-12-28T18:41:38.743Z] 4872d77fe225: Waiting [2023-12-28T18:41:38.743Z] 5851b861e8e6: Waiting [2023-12-28T18:41:38.743Z] 988bab9f4d93: Waiting [2023-12-28T18:41:38.743Z] 1469e6f7b9e6: Waiting [2023-12-28T18:41:38.743Z] e2be974225ed: Verifying Checksum [2023-12-28T18:41:38.743Z] e2be974225ed: Download complete [2023-12-28T18:41:38.743Z] 988bab9f4d93: Verifying Checksum [2023-12-28T18:41:38.743Z] 988bab9f4d93: Download complete [2023-12-28T18:41:38.743Z] 1469e6f7b9e6: Verifying Checksum [2023-12-28T18:41:38.743Z] 1469e6f7b9e6: Download complete [2023-12-28T18:41:38.743Z] 339a4e72a1f5: Verifying Checksum [2023-12-28T18:41:38.743Z] 339a4e72a1f5: Download complete [2023-12-28T18:41:38.743Z] eaf3925da568: Verifying Checksum [2023-12-28T18:41:38.743Z] eaf3925da568: Download complete [2023-12-28T18:41:38.743Z] bde34c3a00c8: Download complete [2023-12-28T18:41:39.001Z] b352a97aabf1: Download complete [2023-12-28T18:41:39.001Z] 4872d77fe225: Download complete [2023-12-28T18:41:39.001Z] 5851b861e8e6: Download complete [2023-12-28T18:41:39.001Z] b85a868b505f: Verifying Checksum [2023-12-28T18:41:39.001Z] b85a868b505f: Download complete [2023-12-28T18:41:39.259Z] bab4dde63d76: Verifying Checksum [2023-12-28T18:41:39.259Z] bab4dde63d76: Download complete [2023-12-28T18:41:40.196Z] b85a868b505f: Pull complete [2023-12-28T18:41:40.196Z] e2be974225ed: Pull complete [2023-12-28T18:41:40.455Z] 339a4e72a1f5: Pull complete [2023-12-28T18:41:40.716Z] 988bab9f4d93: Pull complete [2023-12-28T18:41:40.716Z] 1469e6f7b9e6: Pull complete [2023-12-28T18:41:40.975Z] eaf3925da568: Pull complete [2023-12-28T18:41:42.356Z] bab4dde63d76: Pull complete [2023-12-28T18:41:42.356Z] bde34c3a00c8: Pull complete [2023-12-28T18:41:42.616Z] b352a97aabf1: Pull complete [2023-12-28T18:41:42.616Z] 4872d77fe225: Pull complete [2023-12-28T18:41:42.616Z] 5851b861e8e6: Pull complete [2023-12-28T18:41:42.616Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-28T18:41:42.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-28T18:41:42.616Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:41:42.807Z] prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container [2023-12-28T18:41:42.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-28T18:41:43.970Z] $ docker top 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d -eo pid,comm [2023-12-28T18:41:44.018Z] 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). [2023-12-28T18:41:44.018Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-28T18:41:44.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-28T18:41:44.123Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-28T18:41:44.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-28T18:41:44.240Z] $ docker exec 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent [2023-12-28T18:41:44.339Z] SSH_AUTH_SOCK=/tmp/ssh-zF5fsmGLbP6H/agent.32 [2023-12-28T18:41:44.339Z] SSH_AGENT_PID=38 [2023-12-28T18:41:44.346Z] Running ssh-add (command line suppressed) [2023-12-28T18:41:44.448Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15832083397838858979.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15832083397838858979.key) [2023-12-28T18:41:44.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-28T18:41:44.775Z] + git tag --points-at HEAD [Pipeline] } [2023-12-28T18:41:44.790Z] $ docker exec --env ******** --env ******** 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent -k [2023-12-28T18:41:44.899Z] unset SSH_AUTH_SOCK; [2023-12-28T18:41:44.899Z] unset SSH_AGENT_PID; [2023-12-28T18:41:44.899Z] echo Agent pid 38 killed; [2023-12-28T18:41:44.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-28T18:41:44.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-28T18:41:44.975Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-28T18:41:45.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-28T18:41:45.096Z] $ docker exec 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent [2023-12-28T18:41:45.199Z] SSH_AUTH_SOCK=/tmp/ssh-73lTgqydJtTG/agent.71 [2023-12-28T18:41:45.199Z] SSH_AGENT_PID=77 [2023-12-28T18:41:45.203Z] Running ssh-add (command line suppressed) [2023-12-28T18:41:45.311Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_14095064334431608110.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_14095064334431608110.key) [2023-12-28T18:41:45.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-28T18:41:45.635Z] + git semver init [2023-12-28T18:41:45.894Z] 2023-12-28 18:41:45,813 [run_init] DEBUG init version:0.0.0 force:False [2023-12-28T18:41:45.894Z] 2023-12-28 18:41:45,813 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-28T18:41:45.894Z] 2023-12-28 18:41:45,814 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-28T18:41:45.894Z] 2023-12-28 18:41:45,814 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,973 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,973 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,974 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,978 [execute] INFO git cat-file --batch-check [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,983 [execute] INFO git cat-file --batch [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-28T18:41:47.275Z] 2023-12-28 18:41:46,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-28T18:41:47.275Z] 0.0.0 [Pipeline] } [2023-12-28T18:41:47.288Z] $ docker exec --env ******** --env ******** 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent -k [2023-12-28T18:41:47.382Z] unset SSH_AUTH_SOCK; [2023-12-28T18:41:47.382Z] unset SSH_AGENT_PID; [2023-12-28T18:41:47.383Z] echo Agent pid 77 killed; [2023-12-28T18:41:47.389Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-28T18:41:47.789Z] + git semver [Pipeline] } [2023-12-28T18:41:48.066Z] $ docker stop --time=1 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d [2023-12-28T18:41:49.348Z] $ docker rm -f --volumes 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T18:41:49.726Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-28T18:41:49.989Z] Stashed 1 file(s) [Pipeline] echo [2023-12-28T18:41:49.993Z] [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 [2023-12-28T18:41:50.423Z] provisioning config files... [2023-12-28T18:41:50.435Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config4940142375809270472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:41:50.760Z] ---> ****-login.sh [2023-12-28T18:41:50.761Z] nexus3.edgexfoundry.org:10001 [2023-12-28T18:41:50.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:50.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:50.761Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:50.761Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:50.761Z] [2023-12-28T18:41:50.761Z] Login Succeeded [2023-12-28T18:41:50.761Z] nexus3.edgexfoundry.org:10002 [2023-12-28T18:41:50.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:50.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:50.761Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:50.761Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:50.761Z] [2023-12-28T18:41:50.761Z] Login Succeeded [2023-12-28T18:41:50.761Z] nexus3.edgexfoundry.org:10003 [2023-12-28T18:41:51.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:51.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:51.023Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:51.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:51.023Z] [2023-12-28T18:41:51.023Z] Login Succeeded [2023-12-28T18:41:51.023Z] nexus3.edgexfoundry.org:10004 [2023-12-28T18:41:51.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:51.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:51.024Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:51.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:51.024Z] [2023-12-28T18:41:51.024Z] Login Succeeded [2023-12-28T18:41:51.024Z] ****.io [2023-12-28T18:41:51.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:41:51.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:41:51.284Z] Configure a credential helper to remove this warning. See [2023-12-28T18:41:51.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:41:51.284Z] [2023-12-28T18:41:51.284Z] Login Succeeded [2023-12-28T18:41:51.284Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T18:41:51.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-28T18:41:51.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T18:41:51.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T18:41:51.663Z] ========================================================= [2023-12-28T18:41:51.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-28T18:41:51.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:41:52.074Z] + 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 . [2023-12-28T18:41:52.074Z] Sending build context to Docker daemon 21.91MB [2023-12-28T18:41:52.074Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-28T18:41:52.074Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-28T18:41:52.074Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-28T18:41:52.074Z] 7264a8db6415: Pulling fs layer [2023-12-28T18:41:52.074Z] c4d48a809fc2: Pulling fs layer [2023-12-28T18:41:52.074Z] 4f1c88b9dad5: Pulling fs layer [2023-12-28T18:41:52.074Z] ad3a456e5733: Pulling fs layer [2023-12-28T18:41:52.074Z] 69c7f0334f64: Pulling fs layer [2023-12-28T18:41:52.074Z] 1f1c1a5573a3: Pulling fs layer [2023-12-28T18:41:52.074Z] ce7588e14bc9: Pulling fs layer [2023-12-28T18:41:52.074Z] b5e4710f87ac: Pulling fs layer [2023-12-28T18:41:52.074Z] 69c7f0334f64: Waiting [2023-12-28T18:41:52.074Z] 1f1c1a5573a3: Waiting [2023-12-28T18:41:52.074Z] ce7588e14bc9: Waiting [2023-12-28T18:41:52.074Z] b5e4710f87ac: Waiting [2023-12-28T18:41:52.074Z] ad3a456e5733: Waiting [2023-12-28T18:41:52.333Z] c4d48a809fc2: Download complete [2023-12-28T18:41:52.333Z] ad3a456e5733: Download complete [2023-12-28T18:41:52.333Z] 69c7f0334f64: Verifying Checksum [2023-12-28T18:41:52.333Z] 69c7f0334f64: Download complete [2023-12-28T18:41:52.333Z] 7264a8db6415: Verifying Checksum [2023-12-28T18:41:52.333Z] 7264a8db6415: Download complete [2023-12-28T18:41:52.333Z] 1f1c1a5573a3: Verifying Checksum [2023-12-28T18:41:52.333Z] 1f1c1a5573a3: Download complete [2023-12-28T18:41:52.333Z] 7264a8db6415: Pull complete [2023-12-28T18:41:52.593Z] b5e4710f87ac: Verifying Checksum [2023-12-28T18:41:52.593Z] b5e4710f87ac: Download complete [2023-12-28T18:41:52.593Z] c4d48a809fc2: Pull complete [2023-12-28T18:41:52.593Z] 4f1c88b9dad5: Verifying Checksum [2023-12-28T18:41:52.593Z] 4f1c88b9dad5: Download complete [2023-12-28T18:41:53.160Z] ce7588e14bc9: Verifying Checksum [2023-12-28T18:41:53.160Z] ce7588e14bc9: Download complete [2023-12-28T18:41:55.691Z] 4f1c88b9dad5: Pull complete [2023-12-28T18:41:55.691Z] ad3a456e5733: Pull complete [2023-12-28T18:41:55.691Z] 69c7f0334f64: Pull complete [2023-12-28T18:41:55.951Z] 1f1c1a5573a3: Pull complete [2023-12-28T18:41:58.484Z] ce7588e14bc9: Pull complete [2023-12-28T18:41:58.484Z] b5e4710f87ac: Pull complete [2023-12-28T18:41:58.484Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-28T18:41:58.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-28T18:41:58.484Z] ---> 88b5674ff536 [2023-12-28T18:41:58.484Z] Step 3/10 : ARG MAKE=make build [2023-12-28T18:41:59.867Z] ---> Running in 1fb6d65b8b70 [2023-12-28T18:41:59.867Z] Removing intermediate container 1fb6d65b8b70 [2023-12-28T18:41:59.867Z] ---> 83930d6c1b0b [2023-12-28T18:41:59.867Z] Step 4/10 : WORKDIR /device-sdk-go [2023-12-28T18:41:59.867Z] ---> Running in 1c7232afc83a [2023-12-28T18:41:59.867Z] Removing intermediate container 1c7232afc83a [2023-12-28T18:41:59.867Z] ---> 120398cbe363 [2023-12-28T18:41:59.867Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-28T18:42:00.127Z] ---> Running in 76ef66b2d5df [2023-12-28T18:42:00.127Z] Removing intermediate container 76ef66b2d5df [2023-12-28T18:42:00.127Z] ---> 9f2e7da529cb [2023-12-28T18:42:00.127Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-12-28T18:42:00.127Z] ---> Running in 77af72c0d1c9 [2023-12-28T18:42:00.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T18:42:00.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T18:42:00.904Z] OK: 264 MiB in 52 packages [2023-12-28T18:42:01.163Z] Removing intermediate container 77af72c0d1c9 [2023-12-28T18:42:01.163Z] ---> 10f025c7392e [2023-12-28T18:42:01.163Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-28T18:42:01.163Z] ---> 0ea184386148 [2023-12-28T18:42:01.163Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T18:42:01.163Z] ---> Running in 828503753d45 [2023-12-28T18:42:05.305Z] Still waiting to schedule task [2023-12-28T18:42:05.305Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-28T18:42:27.708Z] Removing intermediate container 828503753d45 [2023-12-28T18:42:27.708Z] ---> 4286534a2ee9 [2023-12-28T18:42:27.708Z] Step 9/10 : COPY . . [2023-12-28T18:42:27.708Z] ---> ebaeff10762d [2023-12-28T18:42:27.708Z] Step 10/10 : RUN ${MAKE} [2023-12-28T18:42:27.708Z] ---> Running in 8bb2864e67d2 [2023-12-28T18:42:27.708Z] noop [2023-12-28T18:42:27.708Z] Removing intermediate container 8bb2864e67d2 [2023-12-28T18:42:27.708Z] ---> 89e47badc5bb [2023-12-28T18:42:27.708Z] Successfully built 89e47badc5bb [2023-12-28T18:42:27.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:42:28.103Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-28T18:42:28.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:42:28.221Z] prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container [2023-12-28T18:42:28.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-28T18:42:28.582Z] $ docker top 1d5d34bb0081d38c1b8422ff9744e46625bd813b33239714920431f16cfa8440 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T18:42:28.978Z] + go version [2023-12-28T18:42:28.978Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-28T18:42:28.994Z] $ docker stop --time=1 1d5d34bb0081d38c1b8422ff9744e46625bd813b33239714920431f16cfa8440 [2023-12-28T18:42:30.237Z] $ docker rm -f --volumes 1d5d34bb0081d38c1b8422ff9744e46625bd813b33239714920431f16cfa8440 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:42:30.864Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-28T18:42:30.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:42:30.984Z] prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container [2023-12-28T18:42:31.017Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-28T18:42:31.373Z] $ docker top 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T18:42:31.759Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-12-28T18:42:32.084Z] + make test [2023-12-28T18:42:32.084Z] go test -race -coverprofile=coverage.out ./... [2023-12-28T18:42:38.649Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-28T18:42:50.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-28T18:42:50.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-28T18:42:50.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-28T18:42:50.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-28T18:42:50.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-28T18:42:51.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-28T18:42:51.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-28T18:42:52.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements [2023-12-28T18:42:52.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-28T18:42:52.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 81.5% of statements [2023-12-28T18:42:52.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements [2023-12-28T18:42:53.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 71.8% of statements [2023-12-28T18:42:53.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-28T18:42:53.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-28T18:42:53.916Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-28T18:42:57.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2023-12-28T18:42:57.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.097s coverage: 45.9% of statements [2023-12-28T18:42:57.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.076s coverage: 68.5% of statements [2023-12-28T18:42:57.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.097s coverage: 89.2% of statements [2023-12-28T18:42:57.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.038s coverage: 5.5% of statements [2023-12-28T18:43:15.274Z] GO111MODULE=on go vet ./... [2023-12-28T18:43:17.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-28T18:43:17.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-28T18:43:17.801Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-28T18:43:17.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-28T18:43:17.859Z] $ docker stop --time=1 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef [2023-12-28T18:43:19.710Z] $ docker rm -f --volumes 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T18:43:20.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-28T18:43:20.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-28T18:43:20.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-28T18:43:21.274Z] + ls -al . [2023-12-28T18:43:21.274Z] total 308 [2023-12-28T18:43:21.274Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 28 18:42 . [2023-12-28T18:43:21.274Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:41 .. [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:41 .dockerignore [2023-12-28T18:43:21.274Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:42 .git [2023-12-28T18:43:21.274Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:41 .github [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 18:41 .gitignore [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 18:41 .golangci.yml [2023-12-28T18:43:21.274Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:41 .semver [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 18:41 CHANGELOG.md [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:41 GOVERNANCE.md [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 18:41 Jenkinsfile [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 18:41 LICENSE [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 18:41 Makefile [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 18:41 OWNERS.md [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 18:41 README.md [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:41 VERSION [2023-12-28T18:43:21.274Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:41 bin [2023-12-28T18:43:21.274Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 28 18:42 coverage.out [2023-12-28T18:43:21.274Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 18:41 example [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 18:41 go.mod [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 18:41 go.sum [2023-12-28T18:43:21.274Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:41 internal [2023-12-28T18:43:21.274Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:41 openapi [2023-12-28T18:43:21.274Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 18:41 pkg [2023-12-28T18:43:21.274Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:41 snap [2023-12-28T18:43:21.274Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:43:21.637Z] + 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=71e3c76e72e2f3ba814a34e77b8695c4d9b90168 --label arch=amd64 --label version=0.0.0 . [2023-12-28T18:43:21.637Z] Sending build context to Docker daemon 22.04MB [2023-12-28T18:43:21.637Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-12-28T18:43:21.637Z] Step 2/24 : FROM ${BASE} AS builder [2023-12-28T18:43:21.637Z] ---> 89e47badc5bb [2023-12-28T18:43:21.637Z] Step 3/24 : ARG MAKE=make build [2023-12-28T18:43:21.897Z] ---> Running in d03d1ec50cc6 [2023-12-28T18:43:21.897Z] Removing intermediate container d03d1ec50cc6 [2023-12-28T18:43:21.897Z] ---> bcc6fd97a543 [2023-12-28T18:43:21.897Z] Step 4/24 : WORKDIR /device-sdk-go [2023-12-28T18:43:21.897Z] ---> Running in aedb1f4eac2a [2023-12-28T18:43:21.897Z] Removing intermediate container aedb1f4eac2a [2023-12-28T18:43:21.897Z] ---> 0063ca3d7d74 [2023-12-28T18:43:21.897Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-28T18:43:21.897Z] ---> Running in e864c304bf70 [2023-12-28T18:43:22.156Z] Removing intermediate container e864c304bf70 [2023-12-28T18:43:22.156Z] ---> b0787eae0d90 [2023-12-28T18:43:22.156Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-12-28T18:43:22.156Z] ---> Running in 1f6516bde017 [2023-12-28T18:43:22.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:22.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:22.676Z] OK: 264 MiB in 52 packages [2023-12-28T18:43:23.245Z] Removing intermediate container 1f6516bde017 [2023-12-28T18:43:23.245Z] ---> 3e37b320f965 [2023-12-28T18:43:23.245Z] Step 7/24 : COPY go.mod vendor* ./ [2023-12-28T18:43:23.245Z] ---> 24d1ae16fac8 [2023-12-28T18:43:23.245Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T18:43:23.245Z] ---> Running in 465af18d7b0c [2023-12-28T18:43:23.813Z] Removing intermediate container 465af18d7b0c [2023-12-28T18:43:23.813Z] ---> 8521f7dcc074 [2023-12-28T18:43:23.813Z] Step 9/24 : COPY . . [2023-12-28T18:43:24.380Z] ---> 4fa31daa0cec [2023-12-28T18:43:24.380Z] Step 10/24 : RUN ${MAKE} [2023-12-28T18:43:24.380Z] ---> Running in bce330d951bf [2023-12-28T18:43:24.639Z] 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 [2023-12-28T18:43:42.711Z] Removing intermediate container bce330d951bf [2023-12-28T18:43:42.711Z] ---> 27858245da41 [2023-12-28T18:43:42.711Z] Step 11/24 : FROM alpine:3.18 [2023-12-28T18:43:42.711Z] 3.18: Pulling from library/alpine [2023-12-28T18:43:42.711Z] c926b61bad3b: Pulling fs layer [2023-12-28T18:43:42.711Z] c926b61bad3b: Verifying Checksum [2023-12-28T18:43:42.711Z] c926b61bad3b: Download complete [2023-12-28T18:43:42.711Z] c926b61bad3b: Pull complete [2023-12-28T18:43:42.711Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T18:43:42.711Z] Status: Downloaded newer image for alpine:3.18 [2023-12-28T18:43:42.711Z] ---> b541f2080109 [2023-12-28T18:43:42.711Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-12-28T18:43:42.711Z] ---> Running in d8a9aa14cfa4 [2023-12-28T18:43:42.711Z] Removing intermediate container d8a9aa14cfa4 [2023-12-28T18:43:42.711Z] ---> 5c2a26af09a9 [2023-12-28T18:43:42.711Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-12-28T18:43:42.711Z] ---> Running in c3d9ef7f96a9 [2023-12-28T18:43:42.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:42.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:42.711Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-28T18:43:42.711Z] Executing busybox-1.36.1-r5.trigger [2023-12-28T18:43:42.711Z] OK: 7 MiB in 16 packages [2023-12-28T18:43:42.711Z] Removing intermediate container c3d9ef7f96a9 [2023-12-28T18:43:42.711Z] ---> e7712d989306 [2023-12-28T18:43:42.711Z] Step 14/24 : RUN apk --no-cache upgrade [2023-12-28T18:43:42.711Z] ---> Running in 1ea85504b89f [2023-12-28T18:43:42.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:42.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-28T18:43:42.711Z] OK: 7 MiB in 16 packages [2023-12-28T18:43:42.711Z] Removing intermediate container 1ea85504b89f [2023-12-28T18:43:42.711Z] ---> 7235b93ac276 [2023-12-28T18:43:42.711Z] Step 15/24 : WORKDIR / [2023-12-28T18:43:42.711Z] ---> Running in 3d120aa0f546 [2023-12-28T18:43:42.711Z] Removing intermediate container 3d120aa0f546 [2023-12-28T18:43:42.711Z] ---> b91f5c2adda0 [2023-12-28T18:43:42.711Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-28T18:43:42.711Z] ---> 070dd617d731 [2023-12-28T18:43:42.711Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-28T18:43:43.304Z] ---> e6c114b08653 [2023-12-28T18:43:43.304Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-28T18:43:43.304Z] ---> 3abd59a669eb [2023-12-28T18:43:43.304Z] Step 19/24 : EXPOSE 59999 [2023-12-28T18:43:43.304Z] ---> Running in d54f1ad8e96e [2023-12-28T18:43:43.304Z] Removing intermediate container d54f1ad8e96e [2023-12-28T18:43:43.304Z] ---> afee626d6116 [2023-12-28T18:43:43.304Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-12-28T18:43:43.563Z] ---> Running in 3feab701ed2f [2023-12-28T18:43:43.563Z] Removing intermediate container 3feab701ed2f [2023-12-28T18:43:43.563Z] ---> ff84a9c8c1bc [2023-12-28T18:43:43.563Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-12-28T18:43:43.563Z] ---> Running in 012ff6e2dcd1 [2023-12-28T18:43:43.563Z] Removing intermediate container 012ff6e2dcd1 [2023-12-28T18:43:43.563Z] ---> 63b77be44a2d [2023-12-28T18:43:43.563Z] Step 22/24 : LABEL arch=amd64 [2023-12-28T18:43:43.563Z] ---> Running in 426a6765cdb7 [2023-12-28T18:43:43.824Z] Removing intermediate container 426a6765cdb7 [2023-12-28T18:43:43.824Z] ---> 69700e62847e [2023-12-28T18:43:43.824Z] Step 23/24 : LABEL git_sha=71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [2023-12-28T18:43:43.824Z] ---> Running in ba9a3305ab9f [2023-12-28T18:43:43.824Z] Removing intermediate container ba9a3305ab9f [2023-12-28T18:43:43.824Z] ---> 1c1b959d7b59 [2023-12-28T18:43:43.824Z] Step 24/24 : LABEL version=0.0.0 [2023-12-28T18:43:43.824Z] ---> Running in 4753abc0e70e [2023-12-28T18:43:43.824Z] Removing intermediate container 4753abc0e70e [2023-12-28T18:43:43.824Z] ---> 6c5464af0fc5 [2023-12-28T18:43:43.824Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-28T18:43:43.824Z] Successfully built 6c5464af0fc5 [2023-12-28T18:43:43.824Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:43:44.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T18:43:44.541Z] [2023-12-28T18:43:44.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:43:44.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T18:43:44.865Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-28T18:43:44.865Z] 5eb5b503b376: Pulling fs layer [2023-12-28T18:43:44.865Z] 5c69ac0246d0: Pulling fs layer [2023-12-28T18:43:44.865Z] ec43610c2a17: Pulling fs layer [2023-12-28T18:43:44.865Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-28T18:43:44.865Z] 33b1e0a273af: Pulling fs layer [2023-12-28T18:43:44.865Z] 5d3b04190fa2: Pulling fs layer [2023-12-28T18:43:44.865Z] 2f39f015ded8: Pulling fs layer [2023-12-28T18:43:44.865Z] 3a2ae6a8a46f: Waiting [2023-12-28T18:43:44.865Z] 33b1e0a273af: Waiting [2023-12-28T18:43:44.865Z] 5d3b04190fa2: Waiting [2023-12-28T18:43:44.865Z] 2f39f015ded8: Waiting [2023-12-28T18:43:44.865Z] 5c69ac0246d0: Verifying Checksum [2023-12-28T18:43:44.865Z] 5c69ac0246d0: Download complete [2023-12-28T18:43:44.865Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-28T18:43:44.865Z] 3a2ae6a8a46f: Download complete [2023-12-28T18:43:44.865Z] 33b1e0a273af: Verifying Checksum [2023-12-28T18:43:44.865Z] 33b1e0a273af: Download complete [2023-12-28T18:43:44.865Z] 5d3b04190fa2: Verifying Checksum [2023-12-28T18:43:44.865Z] 5d3b04190fa2: Download complete [2023-12-28T18:43:44.865Z] ec43610c2a17: Verifying Checksum [2023-12-28T18:43:44.865Z] ec43610c2a17: Download complete [2023-12-28T18:43:45.122Z] 5eb5b503b376: Verifying Checksum [2023-12-28T18:43:45.122Z] 5eb5b503b376: Download complete [2023-12-28T18:43:45.686Z] 2f39f015ded8: Download complete [2023-12-28T18:43:46.249Z] 5eb5b503b376: Pull complete [2023-12-28T18:43:46.249Z] 5c69ac0246d0: Pull complete [2023-12-28T18:43:46.507Z] ec43610c2a17: Pull complete [2023-12-28T18:43:46.765Z] 3a2ae6a8a46f: Pull complete [2023-12-28T18:43:46.765Z] 33b1e0a273af: Pull complete [2023-12-28T18:43:46.765Z] 5d3b04190fa2: Pull complete [2023-12-28T18:43:50.683Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26323 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-12-28T18:43:50.725Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-12-28T18:43:50.793Z] The recommended git tool is: git [2023-12-28T18:43:50.951Z] 2f39f015ded8: Pull complete [2023-12-28T18:43:50.951Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-28T18:43:50.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T18:43:50.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:43:51.142Z] prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container [2023-12-28T18:43:51.174Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-28T18:43:52.388Z] $ docker top fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:43:52.869Z] ---> job-cost.sh [2023-12-28T18:43:52.869Z] lf-activate-venv: SKIPPING [2023-12-28T18:43:52.869Z] INFO: No Stack... [2023-12-28T18:43:53.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T18:43:53.386Z] INFO: Archiving Costs [Pipeline] sh [2023-12-28T18:43:53.676Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-12-28T18:43:53.676Z] + cut -d, -f6 [Pipeline] lock [2023-12-28T18:43:53.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [2023-12-28T18:43:53.696Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] did not exist. Created. [2023-12-28T18:43:53.696Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-28T18:43:54.045Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-28T18:43:54.075Z] Stashed 1 file(s) [Pipeline] } [2023-12-28T18:43:54.105Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-28T18:43:54.185Z] $ docker stop --time=1 fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 [2023-12-28T18:43:55.343Z] $ docker rm -f --volumes fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-28T18:43:56.129Z] using credential edgex-jenkins-ssh [2023-12-28T18:43:56.156Z] Cloning the remote Git repository [2023-12-28T18:43:56.198Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-12-28T18:43:56.284Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-12-28T18:43:56.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-28T18:43:56.414Z] > git --version # timeout=10 [2023-12-28T18:43:56.442Z] > git --version # 'git version 2.25.1' [2023-12-28T18:43:56.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T18:43:56.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-28T18:43:58.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-28T18:43:58.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-28T18:44:00.359Z] Merging remotes/origin/main commit 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-12-28T18:44:00.709Z] Merge succeeded, producing 94435fe0121bcc2eabab1621dee75a766b8f50e2 [2023-12-28T18:44:00.710Z] Checking out Revision 94435fe0121bcc2eabab1621dee75a766b8f50e2 (PR-1540) [2023-12-28T18:43:59.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-28T18:43:59.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-28T18:43:59.683Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T18:43:59.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-28T18:44:00.377Z] > git config core.sparsecheckout # timeout=10 [2023-12-28T18:44:00.446Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-12-28T18:44:00.556Z] > git remote # timeout=10 [2023-12-28T18:44:00.573Z] > git config --get remote.origin.url # timeout=10 [2023-12-28T18:44:00.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-28T18:44:00.601Z] > git merge 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 [2023-12-28T18:44:00.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-28T18:44:00.717Z] > git config core.sparsecheckout # timeout=10 [2023-12-28T18:44:00.729Z] > git checkout -f 94435fe0121bcc2eabab1621dee75a766b8f50e2 # timeout=10 [2023-12-28T18:44:04.315Z] Commit message: "Merge commit '1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4' into HEAD" [2023-12-28T18:44:04.340Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T18:44:05.561Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-28T18:44:05.561Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-28T18:44:05.561Z] Dload Upload Total Spent Left Speed [2023-12-28T18:44:05.561Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88069 [2023-12-28T18:44:04.323Z] > git rev-list --no-walk 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe # timeout=10 [Pipeline] sh [2023-12-28T18:44:05.991Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-28T18:44:06.315Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-28T18:44:06.315Z] + sudo tee /etc/docker/daemon.new [2023-12-28T18:44:06.315Z] { [2023-12-28T18:44:06.315Z] "registry-mirrors": [ [2023-12-28T18:44:06.315Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-28T18:44:06.315Z] ], [2023-12-28T18:44:06.315Z] "bip": "10.250.0.254/24", [2023-12-28T18:44:06.315Z] "hosts": [ [2023-12-28T18:44:06.315Z] "tcp://0.0.0.0:5555", [2023-12-28T18:44:06.315Z] "unix:///var/run/docker.sock" [2023-12-28T18:44:06.315Z] ], [2023-12-28T18:44:06.315Z] "mtu": 1458, [2023-12-28T18:44:06.315Z] "selinux-enabled": true, [2023-12-28T18:44:06.315Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-28T18:44:06.315Z] } [Pipeline] sh [2023-12-28T18:44:06.633Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-28T18:44:06.958Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T18:44:25.237Z] provisioning config files... [2023-12-28T18:44:25.261Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1613266618019335215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:44:25.705Z] ---> ****-login.sh [2023-12-28T18:44:25.705Z] nexus3.edgexfoundry.org:10001 [2023-12-28T18:44:25.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:44:26.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:44:26.249Z] Configure a credential helper to remove this warning. See [2023-12-28T18:44:26.249Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:44:26.249Z] [2023-12-28T18:44:26.249Z] Login Succeeded [2023-12-28T18:44:26.249Z] nexus3.edgexfoundry.org:10002 [2023-12-28T18:44:26.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:44:26.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:44:26.519Z] Configure a credential helper to remove this warning. See [2023-12-28T18:44:26.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:44:26.519Z] [2023-12-28T18:44:26.519Z] Login Succeeded [2023-12-28T18:44:26.519Z] nexus3.edgexfoundry.org:10003 [2023-12-28T18:44:26.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:44:26.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:44:26.789Z] Configure a credential helper to remove this warning. See [2023-12-28T18:44:26.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:44:26.789Z] [2023-12-28T18:44:26.789Z] Login Succeeded [2023-12-28T18:44:26.789Z] nexus3.edgexfoundry.org:10004 [2023-12-28T18:44:26.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:44:27.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:44:27.058Z] Configure a credential helper to remove this warning. See [2023-12-28T18:44:27.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:44:27.058Z] [2023-12-28T18:44:27.058Z] Login Succeeded [2023-12-28T18:44:27.058Z] ****.io [2023-12-28T18:44:27.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-28T18:44:27.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-28T18:44:27.330Z] Configure a credential helper to remove this warning. See [2023-12-28T18:44:27.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-28T18:44:27.330Z] [2023-12-28T18:44:27.330Z] Login Succeeded [2023-12-28T18:44:27.330Z] ---> ****-login.sh ends [Pipeline] } [2023-12-28T18:44:27.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-28T18:44:27.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T18:44:27.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-28T18:44:27.813Z] ========================================================= [2023-12-28T18:44:27.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-28T18:44:27.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:44:28.271Z] + 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 . [2023-12-28T18:44:29.234Z] #0 building with "default" instance using docker driver [2023-12-28T18:44:29.234Z] [2023-12-28T18:44:29.234Z] #1 [internal] load build definition from Dockerfile [2023-12-28T18:44:29.234Z] #1 transferring dockerfile: 1.66kB 0.0s done [2023-12-28T18:44:29.234Z] #1 DONE 0.1s [2023-12-28T18:44:29.234Z] [2023-12-28T18:44:29.234Z] #2 [internal] load .dockerignore [2023-12-28T18:44:29.234Z] #2 transferring context: 182B done [2023-12-28T18:44:29.234Z] #2 DONE 0.1s [2023-12-28T18:44:29.502Z] [2023-12-28T18:44:29.502Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-28T18:44:29.502Z] #3 DONE 0.1s [2023-12-28T18:44:29.502Z] [2023-12-28T18:44:29.502Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-28T18:44:29.502Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-28T18:44:29.775Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-28T18:44:29.775Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-28T18:44:29.775Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-28T18:44:29.775Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-28T18:44:29.775Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.96MB / 63.99MB 0.2s [2023-12-28T18:44:29.775Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s [2023-12-28T18:44:29.775Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s [2023-12-28T18:44:29.775Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-28T18:44:29.775Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-28T18:44:29.775Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-28T18:44:29.775Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s [2023-12-28T18:44:29.775Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s [2023-12-28T18:44:30.047Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.96MB / 63.99MB 0.4s [2023-12-28T18:44:30.047Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s [2023-12-28T18:44:30.047Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.5s [2023-12-28T18:44:30.047Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.59MB / 97.63MB 0.5s [2023-12-28T18:44:30.047Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s [2023-12-28T18:44:30.315Z] #4 ... [2023-12-28T18:44:30.315Z] [2023-12-28T18:44:30.315Z] #5 [internal] load build context [2023-12-28T18:44:30.315Z] #5 transferring context: 11.14MB 0.6s done [2023-12-28T18:44:30.315Z] #5 DONE 0.6s [2023-12-28T18:44:30.315Z] [2023-12-28T18:44:30.315Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-28T18:44:30.315Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s [2023-12-28T18:44:30.315Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.7s [2023-12-28T18:44:30.315Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done [2023-12-28T18:44:30.315Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.8s [2023-12-28T18:44:30.315Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-28T18:44:30.315Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.28MB / 97.63MB 0.8s [2023-12-28T18:44:30.586Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.9s [2023-12-28T18:44:30.586Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 0.9s [2023-12-28T18:44:30.586Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-28T18:44:30.586Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.1s [2023-12-28T18:44:30.586Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.1s [2023-12-28T18:44:30.856Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.3s [2023-12-28T18:44:30.856Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.96MB / 97.63MB 1.3s [2023-12-28T18:44:30.856Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-28T18:44:30.856Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.87MB / 63.99MB 1.4s [2023-12-28T18:44:31.124Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s [2023-12-28T18:44:31.124Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.5s [2023-12-28T18:44:31.124Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.53MB / 97.63MB 1.6s [2023-12-28T18:44:31.392Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s [2023-12-28T18:44:31.392Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.54MB / 97.63MB 1.9s [2023-12-28T18:44:31.661Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.0s [2023-12-28T18:44:33.605Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.0s done [2023-12-28T18:44:33.874Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.1s done [2023-12-28T18:44:33.874Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-28T18:44:39.232Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s [2023-12-28T18:44:44.577Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s [2023-12-28T18:44:49.951Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.0s done [2023-12-28T18:44:51.364Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-28T18:44:51.364Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2023-12-28T18:44:51.364Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-28T18:44:51.364Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-28T18:44:56.707Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-28T18:45:00.148Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done [2023-12-28T18:45:00.148Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2023-12-28T18:45:01.569Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2023-12-28T18:45:01.834Z] #4 DONE 32.3s [2023-12-28T18:45:01.834Z] [2023-12-28T18:45:01.834Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2023-12-28T18:45:03.768Z] #6 DONE 1.6s [2023-12-28T18:45:03.768Z] [2023-12-28T18:45:03.768Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-28T18:45:04.038Z] #7 0.652 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T18:45:04.618Z] #7 1.025 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T18:45:05.200Z] #7 1.966 OK: 266 MiB in 52 packages [2023-12-28T18:45:05.785Z] #7 DONE 2.2s [2023-12-28T18:45:05.785Z] [2023-12-28T18:45:05.785Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-28T18:45:05.785Z] #8 DONE 0.1s [2023-12-28T18:45:05.785Z] [2023-12-28T18:45:05.785Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T18:45:27.902Z] #9 DONE 20.9s [2023-12-28T18:45:27.902Z] [2023-12-28T18:45:27.902Z] #10 [builder 6/7] COPY . . [2023-12-28T18:45:27.902Z] #10 DONE 0.4s [2023-12-28T18:45:27.902Z] [2023-12-28T18:45:27.902Z] #11 [builder 7/7] RUN echo noop [2023-12-28T18:45:27.902Z] #11 0.595 noop [2023-12-28T18:45:32.139Z] #11 DONE 4.6s [2023-12-28T18:45:32.139Z] [2023-12-28T18:45:32.139Z] #12 exporting to image [2023-12-28T18:45:32.139Z] #12 exporting layers [2023-12-28T18:45:54.203Z] #12 exporting layers 22.1s done [2023-12-28T18:45:54.203Z] #12 writing image sha256:7b1c60ca761250111ced58001bf0cb294d6814f81de9d924c028782df65fb56d done [2023-12-28T18:45:54.203Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-28T18:45:54.203Z] #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:45:54.643Z] + docker inspect -f . ci-base-image-arm64 [2023-12-28T18:45:54.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:45:54.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container [2023-12-28T18:45:54.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-28T18:45:56.045Z] $ docker top 294ec48003a46f5bc5932d100d537a4a5605a2a5b2369e04ddfd64d1d4acee8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T18:45:56.565Z] + go version [2023-12-28T18:45:56.565Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-28T18:45:56.582Z] $ docker stop --time=1 294ec48003a46f5bc5932d100d537a4a5605a2a5b2369e04ddfd64d1d4acee8d [2023-12-28T18:46:01.822Z] $ docker rm -f --volumes 294ec48003a46f5bc5932d100d537a4a5605a2a5b2369e04ddfd64d1d4acee8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:46:02.614Z] + docker inspect -f . ci-base-image-arm64 [2023-12-28T18:46:02.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:46:02.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container [2023-12-28T18:46:02.894Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-28T18:46:03.779Z] $ docker top 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T18:46:04.300Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-12-28T18:46:04.661Z] + make test [2023-12-28T18:46:04.661Z] go test -race -coverprofile=coverage.out ./... [2023-12-28T18:46:36.874Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-28T18:47:44.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-28T18:47:44.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.235s coverage: 27.6% of statements [2023-12-28T18:47:44.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.275s coverage: 81.5% of statements [2023-12-28T18:47:44.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.305s coverage: 86.0% of statements [2023-12-28T18:47:45.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-28T18:47:46.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.394s coverage: 71.8% of statements [2023-12-28T18:47:47.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-28T18:47:47.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-28T18:47:49.597Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-28T18:47:49.597Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.270s coverage: 14.4% of statements [2023-12-28T18:47:49.597Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.791s coverage: 45.6% of statements [2023-12-28T18:47:49.597Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.403s coverage: 68.5% of statements [2023-12-28T18:47:49.597Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.437s coverage: 89.2% of statements [2023-12-28T18:47:50.559Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements [2023-12-28T18:47:51.143Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-28T18:47:51.144Z] GO111MODULE=on go vet ./... [2023-12-28T18:48:59.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-28T18:48:59.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-28T18:48:59.018Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-28T18:48:59.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-28T18:48:59.087Z] $ docker stop --time=1 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 [2023-12-28T18:49:01.053Z] $ docker rm -f --volumes 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-28T18:49:02.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-28T18:49:02.664Z] Warning: overwriting stash ‘coverage-report’ [2023-12-28T18:49:03.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-28T18:49:03.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-28T18:49:04.046Z] + ls -al . [2023-12-28T18:49:04.046Z] total 304 [2023-12-28T18:49:04.046Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 18:46 . [2023-12-28T18:49:04.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:43 .. [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:44 .dockerignore [2023-12-28T18:49:04.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:44 .git [2023-12-28T18:49:04.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:44 .github [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 18:44 .gitignore [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 18:44 .golangci.yml [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 18:44 CHANGELOG.md [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:44 GOVERNANCE.md [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 18:44 Jenkinsfile [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 18:44 LICENSE [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 18:44 Makefile [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 18:44 OWNERS.md [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 18:44 README.md [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:41 VERSION [2023-12-28T18:49:04.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:44 bin [2023-12-28T18:49:04.046Z] -rw-r--r-- 1 jenkins jenkins 122156 Dec 28 18:47 coverage.out [2023-12-28T18:49:04.046Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 18:44 example [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 18:44 go.mod [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 18:44 go.sum [2023-12-28T18:49:04.046Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:44 internal [2023-12-28T18:49:04.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:44 openapi [2023-12-28T18:49:04.046Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 18:44 pkg [2023-12-28T18:49:04.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:44 snap [2023-12-28T18:49:04.046Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:49:04.453Z] + 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=94435fe0121bcc2eabab1621dee75a766b8f50e2 --label arch=arm64 --label version=0.0.0 . [2023-12-28T18:49:05.034Z] #0 building with "default" instance using docker driver [2023-12-28T18:49:05.034Z] [2023-12-28T18:49:05.034Z] #1 [internal] load .dockerignore [2023-12-28T18:49:05.034Z] #1 transferring context: [2023-12-28T18:49:05.301Z] #1 transferring context: 182B done [2023-12-28T18:49:05.301Z] #1 DONE 0.0s [2023-12-28T18:49:05.301Z] [2023-12-28T18:49:05.301Z] #2 [internal] load build definition from Dockerfile [2023-12-28T18:49:05.301Z] #2 transferring dockerfile: 1.66kB done [2023-12-28T18:49:05.301Z] #2 DONE 0.0s [2023-12-28T18:49:05.301Z] [2023-12-28T18:49:05.301Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-28T18:49:05.301Z] #3 DONE 0.0s [2023-12-28T18:49:05.301Z] [2023-12-28T18:49:05.301Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-28T18:49:05.568Z] #4 DONE 0.3s [2023-12-28T18:49:05.568Z] [2023-12-28T18:49:05.568Z] #5 [internal] load build context [2023-12-28T18:49:05.568Z] #5 transferring context: 137.25kB 0.1s done [2023-12-28T18:49:05.568Z] #5 DONE 0.1s [2023-12-28T18:49:05.568Z] [2023-12-28T18:49:05.568Z] #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T18:49:05.568Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-28T18:49:05.568Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-28T18:49:05.568Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-28T18:49:05.568Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-28T18:49:05.568Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-28T18:49:05.841Z] #6 ... [2023-12-28T18:49:05.841Z] [2023-12-28T18:49:05.841Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-28T18:49:05.841Z] #7 DONE 0.2s [2023-12-28T18:49:05.841Z] [2023-12-28T18:49:05.841Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2023-12-28T18:49:05.841Z] #8 DONE 0.1s [2023-12-28T18:49:05.841Z] [2023-12-28T18:49:05.841Z] #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-28T18:49:05.841Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-28T18:49:05.841Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-28T18:49:06.109Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-28T18:49:08.680Z] #6 DONE 3.3s [2023-12-28T18:49:08.680Z] [2023-12-28T18:49:08.680Z] #9 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-28T18:49:08.948Z] #9 3.049 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:09.214Z] #9 3.487 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:10.621Z] #9 4.596 OK: 266 MiB in 52 packages [2023-12-28T18:49:10.887Z] #9 DONE 4.9s [2023-12-28T18:49:10.887Z] [2023-12-28T18:49:10.887Z] #10 [builder 4/7] COPY go.mod vendor* ./ [2023-12-28T18:49:10.887Z] #10 DONE 0.3s [2023-12-28T18:49:10.887Z] [2023-12-28T18:49:10.887Z] #11 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-28T18:49:10.887Z] #11 0.641 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:10.887Z] #11 0.962 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:10.887Z] #11 1.938 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-28T18:49:10.887Z] #11 1.949 Executing busybox-1.36.1-r5.trigger [2023-12-28T18:49:10.887Z] #11 1.976 OK: 8 MiB in 16 packages [2023-12-28T18:49:11.157Z] #11 DONE 2.3s [2023-12-28T18:49:11.157Z] [2023-12-28T18:49:11.157Z] #12 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-28T18:49:12.124Z] #12 0.901 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:12.391Z] #12 1.258 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-28T18:49:12.391Z] #12 ... [2023-12-28T18:49:12.391Z] [2023-12-28T18:49:12.391Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-28T18:49:12.391Z] #13 DONE 1.3s [2023-12-28T18:49:12.659Z] [2023-12-28T18:49:12.659Z] #14 [builder 6/7] COPY . . [2023-12-28T18:49:12.929Z] #14 DONE 0.4s [2023-12-28T18:49:12.929Z] [2023-12-28T18:49:12.929Z] #15 [builder 7/7] RUN make build [2023-12-28T18:49:13.518Z] #15 0.693 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 [2023-12-28T18:49:13.788Z] #15 ... [2023-12-28T18:49:13.788Z] [2023-12-28T18:49:13.788Z] #12 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-28T18:49:13.788Z] #12 2.391 OK: 8 MiB in 16 packages [2023-12-28T18:49:13.788Z] #12 DONE 2.7s [2023-12-28T18:49:13.788Z] [2023-12-28T18:49:13.788Z] #15 [builder 7/7] RUN make build [2023-12-28T18:50:21.650Z] #15 DONE 60.9s [2023-12-28T18:50:21.650Z] [2023-12-28T18:50:21.650Z] #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-28T18:50:21.650Z] #16 DONE 0.1s [2023-12-28T18:50:21.650Z] [2023-12-28T18:50:21.650Z] #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-28T18:50:21.650Z] #17 DONE 0.3s [2023-12-28T18:50:21.650Z] [2023-12-28T18:50:21.650Z] #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-28T18:50:21.650Z] #18 DONE 0.1s [2023-12-28T18:50:21.650Z] [2023-12-28T18:50:21.650Z] #19 exporting to image [2023-12-28T18:50:21.650Z] #19 exporting layers [2023-12-28T18:50:21.650Z] #19 exporting layers 0.3s done [2023-12-28T18:50:21.650Z] #19 writing image sha256:1f2f854268763416040358bf18368567efdee6c8959898687a0f7a0e63f286e4 done [2023-12-28T18:50:21.650Z] #19 naming to docker.io/library/device-sdk-simple-arm64 done [2023-12-28T18:50:21.650Z] #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:50:22.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T18:50:22.498Z] [2023-12-28T18:50:22.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:50:22.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T18:50:22.859Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-28T18:50:22.859Z] 8998bd30e6a1: Pulling fs layer [2023-12-28T18:50:22.859Z] 04944245beec: Pulling fs layer [2023-12-28T18:50:22.859Z] 699f458cf7ca: Pulling fs layer [2023-12-28T18:50:22.859Z] 765212b225bb: Pulling fs layer [2023-12-28T18:50:22.859Z] f23df028b6ca: Pulling fs layer [2023-12-28T18:50:22.859Z] d65c8cfc05b1: Pulling fs layer [2023-12-28T18:50:22.859Z] f23df028b6ca: Waiting [2023-12-28T18:50:22.859Z] d65c8cfc05b1: Waiting [2023-12-28T18:50:22.859Z] 2437ff75d9bd: Pulling fs layer [2023-12-28T18:50:22.859Z] 2437ff75d9bd: Waiting [2023-12-28T18:50:22.859Z] 765212b225bb: Waiting [2023-12-28T18:50:23.126Z] 04944245beec: Verifying Checksum [2023-12-28T18:50:23.126Z] 04944245beec: Download complete [2023-12-28T18:50:23.126Z] 765212b225bb: Verifying Checksum [2023-12-28T18:50:23.126Z] 765212b225bb: Download complete [2023-12-28T18:50:23.126Z] f23df028b6ca: Verifying Checksum [2023-12-28T18:50:23.126Z] f23df028b6ca: Download complete [2023-12-28T18:50:23.126Z] d65c8cfc05b1: Verifying Checksum [2023-12-28T18:50:23.126Z] d65c8cfc05b1: Download complete [2023-12-28T18:50:23.393Z] 699f458cf7ca: Verifying Checksum [2023-12-28T18:50:23.393Z] 699f458cf7ca: Download complete [2023-12-28T18:50:23.660Z] 8998bd30e6a1: Verifying Checksum [2023-12-28T18:50:23.660Z] 8998bd30e6a1: Download complete [2023-12-28T18:50:25.604Z] 2437ff75d9bd: Verifying Checksum [2023-12-28T18:50:25.604Z] 2437ff75d9bd: Download complete [2023-12-28T18:50:29.854Z] 8998bd30e6a1: Pull complete [2023-12-28T18:50:30.121Z] 04944245beec: Pull complete [2023-12-28T18:50:34.370Z] 699f458cf7ca: Pull complete [2023-12-28T18:50:34.370Z] 765212b225bb: Pull complete [2023-12-28T18:50:34.951Z] f23df028b6ca: Pull complete [2023-12-28T18:50:34.951Z] d65c8cfc05b1: Pull complete [2023-12-28T18:50:57.001Z] 2437ff75d9bd: Pull complete [2023-12-28T18:50:57.001Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-28T18:50:57.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-28T18:50:57.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:50:57.621Z] prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container [2023-12-28T18:50:57.676Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-28T18:50:59.626Z] $ docker top 4348b59f75f7f2e2d9d4b5f7c4da637ef30c88ccebc760aa26bbddbbebefd251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:00.165Z] ---> job-cost.sh [2023-12-28T18:51:00.431Z] lf-activate-venv: SKIPPING [2023-12-28T18:51:00.431Z] INFO: No Stack... [2023-12-28T18:51:00.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T18:51:01.279Z] INFO: Archiving Costs [Pipeline] sh [2023-12-28T18:51:01.860Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-12-28T18:51:01.860Z] + cut -d, -f6 [Pipeline] lock [2023-12-28T18:51:01.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [2023-12-28T18:51:01.919Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] did not exist. Created. [2023-12-28T18:51:01.920Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-28T18:51:02.328Z] /w/workspace/device-sdk-go/7@tmp/durable-3c0afe31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-28T18:51:02.645Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-28T18:51:02.700Z] Warning: overwriting stash ‘stack-cost’ [2023-12-28T18:51:02.773Z] Stashed 1 file(s) [Pipeline] } [2023-12-28T18:51:02.779Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-28T18:51:02.881Z] $ docker stop --time=1 4348b59f75f7f2e2d9d4b5f7c4da637ef30c88ccebc760aa26bbddbbebefd251 [2023-12-28T18:51:05.311Z] $ docker rm -f --volumes 4348b59f75f7f2e2d9d4b5f7c4da637ef30c88ccebc760aa26bbddbbebefd251 [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 [2023-12-28T18:51:06.477Z] provisioning config files... [2023-12-28T18:51:06.484Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config9510617854742934082tmp [Pipeline] { [Pipeline] sh [2023-12-28T18:51:06.845Z] + set +x [2023-12-28T18:51:06.845Z] + curl -s https://codecov.io/bash [2023-12-28T18:51:06.845Z] + bash -s -- [2023-12-28T18:51:06.845Z] [2023-12-28T18:51:06.845Z] _____ _ [2023-12-28T18:51:06.845Z] / ____| | | [2023-12-28T18:51:06.845Z] | | ___ __| | ___ ___ _____ __ [2023-12-28T18:51:06.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-28T18:51:06.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-28T18:51:06.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-28T18:51:06.845Z] Bash-1.0.6 [2023-12-28T18:51:06.845Z] [2023-12-28T18:51:06.845Z] [2023-12-28T18:51:06.845Z] ==> git version 2.25.1 found [2023-12-28T18:51:06.845Z] ==> 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 [2023-12-28T18:51:06.845Z] Release-Date: 2020-01-08 [2023-12-28T18:51:06.845Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-28T18:51:06.845Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-28T18:51:06.845Z] ==> Jenkins CI detected. [2023-12-28T18:51:06.845Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-28T18:51:06.845Z] project root: . [2023-12-28T18:51:06.845Z] --> token set from env [2023-12-28T18:51:06.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-28T18:51:06.845Z] ==> Running gcov in . (disable via -X gcov) [2023-12-28T18:51:06.845Z] ==> Python coveragepy not found [2023-12-28T18:51:06.845Z] ==> Searching for coverage reports in: [2023-12-28T18:51:06.845Z] + . [2023-12-28T18:51:07.103Z] -> Found 1 reports [2023-12-28T18:51:07.104Z] ==> Detecting git/mercurial file structure [2023-12-28T18:51:07.104Z] ==> Reading reports [2023-12-28T18:51:07.104Z] + ./coverage.out bytes=122156 [2023-12-28T18:51:07.104Z] ==> Appending adjustments [2023-12-28T18:51:07.104Z] https://docs.codecov.io/docs/fixing-reports [2023-12-28T18:51:07.362Z] + Found adjustments [2023-12-28T18:51:07.362Z] ==> Gzipping contents [2023-12-28T18:51:07.362Z] 20K /tmp/codecov.AtT7S5.gz [2023-12-28T18:51:07.362Z] ==> Uploading reports [2023-12-28T18:51:07.362Z] url: https://codecov.io [2023-12-28T18:51:07.362Z] query: branch=PR-1540&commit=71e3c76e72e2f3ba814a34e77b8695c4d9b90168&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-28T18:51:07.362Z] -> Pinging Codecov [2023-12-28T18:51:07.362Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=71e3c76e72e2f3ba814a34e77b8695c4d9b90168&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-28T18:51:07.362Z] -> Uploading to [2023-12-28T18:51:07.362Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-28/7E55EF52A471D76F132DFD9A03CDDE97/71e3c76e72e2f3ba814a34e77b8695c4d9b90168/deb38062-945c-474a-91be-949abc71baa2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T185107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52c1845aef808382aa9704bbedf8824a9c2b427d9b4c22df31af1b112d00d7b0 [2023-12-28T18:51:07.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-28T18:51:07.362Z] Dload Upload Total Spent Left Speed [2023-12-28T18:51:07.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16788 0 0 100 16788 0 72362 --:--:-- --:--:-- --:--:-- 72362 [2023-12-28T18:51:07.621Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] } [2023-12-28T18:51:07.628Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-28T18:51:09.550Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-12-28T18:51:09.550Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-28T18:51:09.550Z] total 16 [2023-12-28T18:51:09.550Z] drwxr-xr-x 3 root root 4096 Dec 28 18:43 . [2023-12-28T18:51:09.550Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:43 .. [2023-12-28T18:51:09.550Z] drwxr-xr-x 2 root root 4096 Dec 28 18:43 cost [2023-12-28T18:51:09.550Z] -rw-r--r-- 1 root root 86 Dec 28 18:43 cost.csv [2023-12-28T18:51:09.550Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-28T18:51:09.550Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-28T18:51:09.550Z] total 16 [2023-12-28T18:51:09.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:43 . [2023-12-28T18:51:09.550Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:43 .. [2023-12-28T18:51:09.550Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 18:43 cost [2023-12-28T18:51:09.550Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 28 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:09.836Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:10.694Z] ---> package-listing.sh [2023-12-28T18:51:10.694Z] ++ facter osfamily [2023-12-28T18:51:10.694Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-28T18:51:10.953Z] + OS_FAMILY=debian [2023-12-28T18:51:10.953Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-28T18:51:10.953Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-28T18:51:10.953Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-28T18:51:10.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-28T18:51:10.953Z] + PACKAGES=/tmp/packages_start.txt [2023-12-28T18:51:10.953Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-28T18:51:10.953Z] + PACKAGES=/tmp/packages_end.txt [2023-12-28T18:51:10.953Z] + case "${OS_FAMILY}" in [2023-12-28T18:51:10.953Z] + dpkg -l [2023-12-28T18:51:10.953Z] + grep '^ii' [2023-12-28T18:51:10.953Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-28T18:51:10.953Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-28T18:51:10.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-28T18:51:10.953Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-28T18:51:10.953Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-12-28T18:51:10.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2023-12-28T18:51:10.965Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-28T18:51:11.246Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-28T18:51:11.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-28T18:51:11.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-28T18:51:11.997Z] prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container [2023-12-28T18:51:12.024Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-28T18:51:12.193Z] $ docker top 1a1d2f0eacefcea14229289832d99ab71502dfdac32c05b3afc774b5837804c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-28T18:51:12.623Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-28T18:51:12.911Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-28T18:51:13.202Z] + ls /var/log/sa-host [2023-12-28T18:51:13.202Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-28T18:51:13.402Z] provisioning config files... [2023-12-28T18:51:13.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config3204270761461397720tmp [Pipeline] { [Pipeline] echo [2023-12-28T18:51:13.504Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:13.790Z] ---> create-netrc.sh [Pipeline] } [2023-12-28T18:51:13.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:14.221Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-28T18:51:14.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:14.515Z] ---> sudo-logs.sh [2023-12-28T18:51:14.515Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-28T18:51:14.578Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:14.861Z] ---> job-cost.sh [2023-12-28T18:51:14.861Z] lf-activate-venv: SKIPPING [2023-12-28T18:51:14.861Z] DEBUG: total: 0.2199999988079071 [2023-12-28T18:51:14.861Z] INFO: Retrieving Stack Cost... [2023-12-28T18:51:15.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-28T18:51:15.692Z] INFO: Archiving Costs [Pipeline] echo [2023-12-28T18:51:15.713Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-28T18:51:15.999Z] ---> logs-deploy.sh [2023-12-28T18:51:16.000Z] lf-activate-venv: SKIPPING [2023-12-28T18:51:16.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/7 [2023-12-28T18:51:16.000Z] INFO: archiving workspace using pattern(s): [2023-12-28T18:51:16.936Z] Archives upload complete. [2023-12-28T18:51:16.936Z] INFO: archiving logs to Nexus