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 18:41:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:32 ========================================================= 18:41:32 EdgeX Global Pipelines Version Info 18:41:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe # timeout=10 18:41:33 ------------------- 18:41:33 stable info: 18:41:33 ------------------- 18:41:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:33 Message: update stable to v1.0.258 18:41:33 ------------------- 18:41:33 experimental info: 18:41:33 ------------------- 18:41:33 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e3c76 [Pipeline] echo 18:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:34 provisioning config files... 18:41:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config5668435981688162327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:35 ---> ****-login.sh 18:41:35 nexus3.edgexfoundry.org:10001 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 nexus3.edgexfoundry.org:10002 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 nexus3.edgexfoundry.org:10003 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:35 Configure a credential helper to remove this warning. See 18:41:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:35 18:41:35 Login Succeeded 18:41:35 nexus3.edgexfoundry.org:10004 18:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:36 Configure a credential helper to remove this warning. See 18:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:36 18:41:36 Login Succeeded 18:41:36 ****.io 18:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:36 Configure a credential helper to remove this warning. See 18:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:36 18:41:36 Login Succeeded 18:41:36 ---> ****-login.sh ends [Pipeline] } 18:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:36 + git rev-list -1 --merges 71e3c76e72e2f3ba814a34e77b8695c4d9b90168~1..71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo 18:41:36 -----------> git rev-list -1 --merges 71e3c76e72e2f3ba814a34e77b8695c4d9b90168~1..71e3c76e72e2f3ba814a34e77b8695c4d9b90168 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 18:41:36 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [false] [Pipeline] sh 18:41:37 + git log --format=format:%s -1 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo 18:41:37 ========================================================= 18:41:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:37 + git log --format=format:%s -1 71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] echo 18:41:37 [semverPrep] GIT_COMMIT: 71e3c76e72e2f3ba814a34e77b8695c4d9b90168, Commit Message: Merge commit '1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4' into HEAD [Pipeline] echo 18:41:37 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:37 + grep -v github /etc/ssh/ssh_known_hosts 18:41:37 + [ -e /tmp/ssh_known_hosts ] 18:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:38 18:41:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:38 b85a868b505f: Pulling fs layer 18:41:38 e2be974225ed: Pulling fs layer 18:41:38 339a4e72a1f5: Pulling fs layer 18:41:38 988bab9f4d93: Pulling fs layer 18:41:38 1469e6f7b9e6: Pulling fs layer 18:41:38 eaf3925da568: Pulling fs layer 18:41:38 bab4dde63d76: Pulling fs layer 18:41:38 bde34c3a00c8: Pulling fs layer 18:41:38 b352a97aabf1: Pulling fs layer 18:41:38 4872d77fe225: Pulling fs layer 18:41:38 5851b861e8e6: Pulling fs layer 18:41:38 eaf3925da568: Waiting 18:41:38 bab4dde63d76: Waiting 18:41:38 bde34c3a00c8: Waiting 18:41:38 b352a97aabf1: Waiting 18:41:38 4872d77fe225: Waiting 18:41:38 5851b861e8e6: Waiting 18:41:38 988bab9f4d93: Waiting 18:41:38 1469e6f7b9e6: Waiting 18:41:38 e2be974225ed: Verifying Checksum 18:41:38 e2be974225ed: Download complete 18:41:38 988bab9f4d93: Verifying Checksum 18:41:38 988bab9f4d93: Download complete 18:41:38 1469e6f7b9e6: Verifying Checksum 18:41:38 1469e6f7b9e6: Download complete 18:41:38 339a4e72a1f5: Verifying Checksum 18:41:38 339a4e72a1f5: Download complete 18:41:38 eaf3925da568: Verifying Checksum 18:41:38 eaf3925da568: Download complete 18:41:38 bde34c3a00c8: Download complete 18:41:39 b352a97aabf1: Download complete 18:41:39 4872d77fe225: Download complete 18:41:39 5851b861e8e6: Download complete 18:41:39 b85a868b505f: Verifying Checksum 18:41:39 b85a868b505f: Download complete 18:41:39 bab4dde63d76: Verifying Checksum 18:41:39 bab4dde63d76: Download complete 18:41:40 b85a868b505f: Pull complete 18:41:40 e2be974225ed: Pull complete 18:41:40 339a4e72a1f5: Pull complete 18:41:40 988bab9f4d93: Pull complete 18:41:40 1469e6f7b9e6: Pull complete 18:41:40 eaf3925da568: Pull complete 18:41:42 bab4dde63d76: Pull complete 18:41:42 bde34c3a00c8: Pull complete 18:41:42 b352a97aabf1: Pull complete 18:41:42 4872d77fe225: Pull complete 18:41:42 5851b861e8e6: Pull complete 18:41:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:42 prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container 18:41:42 $ 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 18:41:43 $ docker top 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d -eo pid,comm 18:41:44 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). 18:41:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:44 [ssh-agent] Looking for ssh-agent implementation... 18:41:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:44 $ docker exec 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent 18:41:44 SSH_AUTH_SOCK=/tmp/ssh-zF5fsmGLbP6H/agent.32 18:41:44 SSH_AGENT_PID=38 18:41:44 Running ssh-add (command line suppressed) 18:41:44 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) 18:41:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:44 + git tag --points-at HEAD [Pipeline] } 18:41:44 $ docker exec --env ******** --env ******** 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent -k 18:41:44 unset SSH_AUTH_SOCK; 18:41:44 unset SSH_AGENT_PID; 18:41:44 echo Agent pid 38 killed; 18:41:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:44 [ssh-agent] Looking for ssh-agent implementation... 18:41:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:45 $ docker exec 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent 18:41:45 SSH_AUTH_SOCK=/tmp/ssh-73lTgqydJtTG/agent.71 18:41:45 SSH_AGENT_PID=77 18:41:45 Running ssh-add (command line suppressed) 18:41:45 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) 18:41:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:45 + git semver init 18:41:45 2023-12-28 18:41:45,813 [run_init] DEBUG init version:0.0.0 force:False 18:41:45 2023-12-28 18:41:45,813 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:41:45 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 18:41:45 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) 18:41:47 2023-12-28 18:41:46,973 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude 18:41:47 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 18:41:47 2023-12-28 18:41:46,974 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:41:47 2023-12-28 18:41:46,978 [execute] INFO git cat-file --batch-check 18:41:47 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=) 18:41:47 2023-12-28 18:41:46,983 [execute] INFO git cat-file --batch 18:41:47 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=) 18:41:47 2023-12-28 18:41:46,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:41:47 0.0.0 [Pipeline] } 18:41:47 $ docker exec --env ******** --env ******** 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d ssh-agent -k 18:41:47 unset SSH_AUTH_SOCK; 18:41:47 unset SSH_AGENT_PID; 18:41:47 echo Agent pid 77 killed; 18:41:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:47 + git semver [Pipeline] } 18:41:48 $ docker stop --time=1 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d 18:41:49 $ docker rm -f --volumes 7bf16e992a9c8d3a23aa975d7dc48dce350995e0f4950e604ead56d5e7f4456d [Pipeline] // withDockerContainer [Pipeline] sh 18:41:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:49 Stashed 1 file(s) [Pipeline] echo 18:41:49 [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 18:41:50 provisioning config files... 18:41:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config4940142375809270472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:50 ---> ****-login.sh 18:41:50 nexus3.edgexfoundry.org:10001 18:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:50 Configure a credential helper to remove this warning. See 18:41:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:50 18:41:50 Login Succeeded 18:41:50 nexus3.edgexfoundry.org:10002 18:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:50 Configure a credential helper to remove this warning. See 18:41:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:50 18:41:50 Login Succeeded 18:41:50 nexus3.edgexfoundry.org:10003 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10004 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 ****.io 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 ---> ****-login.sh ends [Pipeline] } 18:41:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:41:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:41:51 ========================================================= 18:41:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:41:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:52 + 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 . 18:41:52 Sending build context to Docker daemon 21.91MB 18:41:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:41:52 Step 2/10 : FROM ${BASE} AS builder 18:41:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:41:52 7264a8db6415: Pulling fs layer 18:41:52 c4d48a809fc2: Pulling fs layer 18:41:52 4f1c88b9dad5: Pulling fs layer 18:41:52 ad3a456e5733: Pulling fs layer 18:41:52 69c7f0334f64: Pulling fs layer 18:41:52 1f1c1a5573a3: Pulling fs layer 18:41:52 ce7588e14bc9: Pulling fs layer 18:41:52 b5e4710f87ac: Pulling fs layer 18:41:52 69c7f0334f64: Waiting 18:41:52 1f1c1a5573a3: Waiting 18:41:52 ce7588e14bc9: Waiting 18:41:52 b5e4710f87ac: Waiting 18:41:52 ad3a456e5733: Waiting 18:41:52 c4d48a809fc2: Download complete 18:41:52 ad3a456e5733: Download complete 18:41:52 69c7f0334f64: Verifying Checksum 18:41:52 69c7f0334f64: Download complete 18:41:52 7264a8db6415: Verifying Checksum 18:41:52 7264a8db6415: Download complete 18:41:52 1f1c1a5573a3: Verifying Checksum 18:41:52 1f1c1a5573a3: Download complete 18:41:52 7264a8db6415: Pull complete 18:41:52 b5e4710f87ac: Verifying Checksum 18:41:52 b5e4710f87ac: Download complete 18:41:52 c4d48a809fc2: Pull complete 18:41:52 4f1c88b9dad5: Verifying Checksum 18:41:52 4f1c88b9dad5: Download complete 18:41:53 ce7588e14bc9: Verifying Checksum 18:41:53 ce7588e14bc9: Download complete 18:41:55 4f1c88b9dad5: Pull complete 18:41:55 ad3a456e5733: Pull complete 18:41:55 69c7f0334f64: Pull complete 18:41:55 1f1c1a5573a3: Pull complete 18:41:58 ce7588e14bc9: Pull complete 18:41:58 b5e4710f87ac: Pull complete 18:41:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:41:58 ---> 88b5674ff536 18:41:58 Step 3/10 : ARG MAKE=make build 18:41:59 ---> Running in 1fb6d65b8b70 18:41:59 Removing intermediate container 1fb6d65b8b70 18:41:59 ---> 83930d6c1b0b 18:41:59 Step 4/10 : WORKDIR /device-sdk-go 18:41:59 ---> Running in 1c7232afc83a 18:41:59 Removing intermediate container 1c7232afc83a 18:41:59 ---> 120398cbe363 18:41:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:00 ---> Running in 76ef66b2d5df 18:42:00 Removing intermediate container 76ef66b2d5df 18:42:00 ---> 9f2e7da529cb 18:42:00 Step 6/10 : RUN apk add --update --no-cache make git 18:42:00 ---> Running in 77af72c0d1c9 18:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:42:00 OK: 264 MiB in 52 packages 18:42:01 Removing intermediate container 77af72c0d1c9 18:42:01 ---> 10f025c7392e 18:42:01 Step 7/10 : COPY go.mod vendor* ./ 18:42:01 ---> 0ea184386148 18:42:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:01 ---> Running in 828503753d45 18:42:05 Still waiting to schedule task 18:42:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:42:27 Removing intermediate container 828503753d45 18:42:27 ---> 4286534a2ee9 18:42:27 Step 9/10 : COPY . . 18:42:27 ---> ebaeff10762d 18:42:27 Step 10/10 : RUN ${MAKE} 18:42:27 ---> Running in 8bb2864e67d2 18:42:27 noop 18:42:27 Removing intermediate container 8bb2864e67d2 18:42:27 ---> 89e47badc5bb 18:42:27 Successfully built 89e47badc5bb 18:42:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:28 + docker inspect -f . ci-base-image-x86_64 18:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:28 prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container 18:42:28 $ 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 18:42:28 $ docker top 1d5d34bb0081d38c1b8422ff9744e46625bd813b33239714920431f16cfa8440 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:28 + go version 18:42:28 go version go1.21.0 linux/amd64 [Pipeline] } 18:42:28 $ docker stop --time=1 1d5d34bb0081d38c1b8422ff9744e46625bd813b33239714920431f16cfa8440 18:42:30 $ 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 18:42:30 + docker inspect -f . ci-base-image-x86_64 18:42:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:30 prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container 18:42:31 $ 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 18:42:31 $ docker top 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh 18:42:32 + make test 18:42:32 go test -race -coverprofile=coverage.out ./... 18:42:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:42:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:42:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements 18:42:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 81.5% of statements 18:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements 18:42:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 71.8% of statements 18:42:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:42:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:42:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements 18:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.097s coverage: 45.9% of statements 18:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.076s coverage: 68.5% of statements 18:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.097s coverage: 89.2% of statements 18:42:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.038s coverage: 5.5% of statements 18:43:15 GO111MODULE=on go vet ./... 18:43:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:17 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:43:17 $ docker stop --time=1 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef 18:43:19 $ docker rm -f --volumes 536b5eb618121204ad44e088c22fce1cdded06265ffcd1bc36a85b49c95fc1ef [Pipeline] // withDockerContainer [Pipeline] sh 18:43:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:21 + ls -al . 18:43:21 total 308 18:43:21 drwxrwxr-x 11 jenkins jenkins 4096 Dec 28 18:42 . 18:43:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:41 .. 18:43:21 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:41 .dockerignore 18:43:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:42 .git 18:43:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:41 .github 18:43:21 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 18:41 .gitignore 18:43:21 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 18:41 .golangci.yml 18:43:21 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:41 .semver 18:43:21 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 18:41 CHANGELOG.md 18:43:21 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:41 GOVERNANCE.md 18:43:21 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 18:41 Jenkinsfile 18:43:21 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 18:41 LICENSE 18:43:21 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 18:41 Makefile 18:43:21 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 18:41 OWNERS.md 18:43:21 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 18:41 README.md 18:43:21 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:41 VERSION 18:43:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:41 bin 18:43:21 -rw-r--r-- 1 jenkins jenkins 122153 Dec 28 18:42 coverage.out 18:43:21 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 18:41 example 18:43:21 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 18:41 go.mod 18:43:21 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 18:41 go.sum 18:43:21 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:41 internal 18:43:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:41 openapi 18:43:21 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 18:41 pkg 18:43:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:41 snap 18:43:21 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:21 + 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 . 18:43:21 Sending build context to Docker daemon 22.04MB 18:43:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:43:21 Step 2/24 : FROM ${BASE} AS builder 18:43:21 ---> 89e47badc5bb 18:43:21 Step 3/24 : ARG MAKE=make build 18:43:21 ---> Running in d03d1ec50cc6 18:43:21 Removing intermediate container d03d1ec50cc6 18:43:21 ---> bcc6fd97a543 18:43:21 Step 4/24 : WORKDIR /device-sdk-go 18:43:21 ---> Running in aedb1f4eac2a 18:43:21 Removing intermediate container aedb1f4eac2a 18:43:21 ---> 0063ca3d7d74 18:43:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:21 ---> Running in e864c304bf70 18:43:22 Removing intermediate container e864c304bf70 18:43:22 ---> b0787eae0d90 18:43:22 Step 6/24 : RUN apk add --update --no-cache make git 18:43:22 ---> Running in 1f6516bde017 18:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:22 OK: 264 MiB in 52 packages 18:43:23 Removing intermediate container 1f6516bde017 18:43:23 ---> 3e37b320f965 18:43:23 Step 7/24 : COPY go.mod vendor* ./ 18:43:23 ---> 24d1ae16fac8 18:43:23 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:23 ---> Running in 465af18d7b0c 18:43:23 Removing intermediate container 465af18d7b0c 18:43:23 ---> 8521f7dcc074 18:43:23 Step 9/24 : COPY . . 18:43:24 ---> 4fa31daa0cec 18:43:24 Step 10/24 : RUN ${MAKE} 18:43:24 ---> Running in bce330d951bf 18:43:24 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 18:43:42 Removing intermediate container bce330d951bf 18:43:42 ---> 27858245da41 18:43:42 Step 11/24 : FROM alpine:3.18 18:43:42 3.18: Pulling from library/alpine 18:43:42 c926b61bad3b: Pulling fs layer 18:43:42 c926b61bad3b: Verifying Checksum 18:43:42 c926b61bad3b: Download complete 18:43:42 c926b61bad3b: Pull complete 18:43:42 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:43:42 Status: Downloaded newer image for alpine:3.18 18:43:42 ---> b541f2080109 18:43:42 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:42 ---> Running in d8a9aa14cfa4 18:43:42 Removing intermediate container d8a9aa14cfa4 18:43:42 ---> 5c2a26af09a9 18:43:42 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:43:42 ---> Running in c3d9ef7f96a9 18:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:42 (1/1) Installing dumb-init (1.2.5-r2) 18:43:42 Executing busybox-1.36.1-r5.trigger 18:43:42 OK: 7 MiB in 16 packages 18:43:42 Removing intermediate container c3d9ef7f96a9 18:43:42 ---> e7712d989306 18:43:42 Step 14/24 : RUN apk --no-cache upgrade 18:43:42 ---> Running in 1ea85504b89f 18:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:42 OK: 7 MiB in 16 packages 18:43:42 Removing intermediate container 1ea85504b89f 18:43:42 ---> 7235b93ac276 18:43:42 Step 15/24 : WORKDIR / 18:43:42 ---> Running in 3d120aa0f546 18:43:42 Removing intermediate container 3d120aa0f546 18:43:42 ---> b91f5c2adda0 18:43:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:43:42 ---> 070dd617d731 18:43:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:43:43 ---> e6c114b08653 18:43:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:43:43 ---> 3abd59a669eb 18:43:43 Step 19/24 : EXPOSE 59999 18:43:43 ---> Running in d54f1ad8e96e 18:43:43 Removing intermediate container d54f1ad8e96e 18:43:43 ---> afee626d6116 18:43:43 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:43:43 ---> Running in 3feab701ed2f 18:43:43 Removing intermediate container 3feab701ed2f 18:43:43 ---> ff84a9c8c1bc 18:43:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:43:43 ---> Running in 012ff6e2dcd1 18:43:43 Removing intermediate container 012ff6e2dcd1 18:43:43 ---> 63b77be44a2d 18:43:43 Step 22/24 : LABEL arch=amd64 18:43:43 ---> Running in 426a6765cdb7 18:43:43 Removing intermediate container 426a6765cdb7 18:43:43 ---> 69700e62847e 18:43:43 Step 23/24 : LABEL git_sha=71e3c76e72e2f3ba814a34e77b8695c4d9b90168 18:43:43 ---> Running in ba9a3305ab9f 18:43:43 Removing intermediate container ba9a3305ab9f 18:43:43 ---> 1c1b959d7b59 18:43:43 Step 24/24 : LABEL version=0.0.0 18:43:43 ---> Running in 4753abc0e70e 18:43:43 Removing intermediate container 4753abc0e70e 18:43:43 ---> 6c5464af0fc5 18:43:43 [Warning] One or more build-args [ARCH] were not consumed 18:43:43 Successfully built 6c5464af0fc5 18:43:43 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 18:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:44 18:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:44 latest: Pulling from edgex-lftools-log-publisher 18:43:44 5eb5b503b376: Pulling fs layer 18:43:44 5c69ac0246d0: Pulling fs layer 18:43:44 ec43610c2a17: Pulling fs layer 18:43:44 3a2ae6a8a46f: Pulling fs layer 18:43:44 33b1e0a273af: Pulling fs layer 18:43:44 5d3b04190fa2: Pulling fs layer 18:43:44 2f39f015ded8: Pulling fs layer 18:43:44 3a2ae6a8a46f: Waiting 18:43:44 33b1e0a273af: Waiting 18:43:44 5d3b04190fa2: Waiting 18:43:44 2f39f015ded8: Waiting 18:43:44 5c69ac0246d0: Verifying Checksum 18:43:44 5c69ac0246d0: Download complete 18:43:44 3a2ae6a8a46f: Verifying Checksum 18:43:44 3a2ae6a8a46f: Download complete 18:43:44 33b1e0a273af: Verifying Checksum 18:43:44 33b1e0a273af: Download complete 18:43:44 5d3b04190fa2: Verifying Checksum 18:43:44 5d3b04190fa2: Download complete 18:43:44 ec43610c2a17: Verifying Checksum 18:43:44 ec43610c2a17: Download complete 18:43:45 5eb5b503b376: Verifying Checksum 18:43:45 5eb5b503b376: Download complete 18:43:45 2f39f015ded8: Download complete 18:43:46 5eb5b503b376: Pull complete 18:43:46 5c69ac0246d0: Pull complete 18:43:46 ec43610c2a17: Pull complete 18:43:46 3a2ae6a8a46f: Pull complete 18:43:46 33b1e0a273af: Pull complete 18:43:46 5d3b04190fa2: Pull complete 18:43:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26323 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws 18:43:50 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:43:50 The recommended git tool is: git 18:43:50 2f39f015ded8: Pull complete 18:43:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:51 prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container 18:43:51 $ 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 18:43:52 $ docker top fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:52 ---> job-cost.sh 18:43:52 lf-activate-venv: SKIPPING 18:43:52 INFO: No Stack... 18:43:53 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:53 INFO: Archiving Costs [Pipeline] sh 18:43:53 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv 18:43:53 + cut -d, -f6 [Pipeline] lock 18:43:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] 18:43:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] did not exist. Created. 18:43:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:54 + echo total: 0.2199999988079071 [Pipeline] stash 18:43:54 Stashed 1 file(s) [Pipeline] } 18:43:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:54 $ docker stop --time=1 fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 18:43:55 $ docker rm -f --volumes fa5ece050d8a826904e7634b053a1ec0f3157d3ca0dcd42706efb0b633b99668 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:43:56 using credential edgex-jenkins-ssh 18:43:56 Cloning the remote Git repository 18:43:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:43:56 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:43:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:56 > git --version # timeout=10 18:43:56 > git --version # 'git version 2.25.1' 18:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:00 Merging remotes/origin/main commit 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 18:44:00 Merge succeeded, producing 94435fe0121bcc2eabab1621dee75a766b8f50e2 18:44:00 Checking out Revision 94435fe0121bcc2eabab1621dee75a766b8f50e2 (PR-1540) 18:43:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:59 > 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 18:44:00 > git config core.sparsecheckout # timeout=10 18:44:00 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 18:44:00 > git remote # timeout=10 18:44:00 > git config --get remote.origin.url # timeout=10 18:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:00 > git merge 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 18:44:00 > git rev-parse HEAD^{commit} # timeout=10 18:44:00 > git config core.sparsecheckout # timeout=10 18:44:00 > git checkout -f 94435fe0121bcc2eabab1621dee75a766b8f50e2 # timeout=10 18:44:04 Commit message: "Merge commit '1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4' into HEAD" 18:44:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:05 Dload Upload Total Spent Left Speed 18:44:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88069 18:44:04 > git rev-list --no-walk 96f4e1c2dca43b8c4cba0f1fdd7354e34fc8f6fe # timeout=10 [Pipeline] sh 18:44:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:06 + sudo tee /etc/docker/daemon.new 18:44:06 { 18:44:06 "registry-mirrors": [ 18:44:06 "https://nexus3.edgexfoundry.org:10001" 18:44:06 ], 18:44:06 "bip": "10.250.0.254/24", 18:44:06 "hosts": [ 18:44:06 "tcp://0.0.0.0:5555", 18:44:06 "unix:///var/run/docker.sock" 18:44:06 ], 18:44:06 "mtu": 1458, 18:44:06 "selinux-enabled": true, 18:44:06 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:06 } [Pipeline] sh 18:44:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:25 provisioning config files... 18:44:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1613266618019335215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:25 ---> ****-login.sh 18:44:25 nexus3.edgexfoundry.org:10001 18:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:26 Configure a credential helper to remove this warning. See 18:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:26 18:44:26 Login Succeeded 18:44:26 nexus3.edgexfoundry.org:10002 18:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:26 Configure a credential helper to remove this warning. See 18:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:26 18:44:26 Login Succeeded 18:44:26 nexus3.edgexfoundry.org:10003 18:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:26 Configure a credential helper to remove this warning. See 18:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:26 18:44:26 Login Succeeded 18:44:26 nexus3.edgexfoundry.org:10004 18:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:27 Configure a credential helper to remove this warning. See 18:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:27 18:44:27 Login Succeeded 18:44:27 ****.io 18:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:27 Configure a credential helper to remove this warning. See 18:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:27 18:44:27 Login Succeeded 18:44:27 ---> ****-login.sh ends [Pipeline] } 18:44:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:27 ========================================================= 18:44:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:44:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:28 + 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 . 18:44:29 #0 building with "default" instance using docker driver 18:44:29 18:44:29 #1 [internal] load build definition from Dockerfile 18:44:29 #1 transferring dockerfile: 1.66kB 0.0s done 18:44:29 #1 DONE 0.1s 18:44:29 18:44:29 #2 [internal] load .dockerignore 18:44:29 #2 transferring context: 182B done 18:44:29 #2 DONE 0.1s 18:44:29 18:44:29 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:44:29 #3 DONE 0.1s 18:44:29 18:44:29 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:44:29 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:44:29 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:44:29 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:44:29 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:44:29 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:44:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.96MB / 63.99MB 0.2s 18:44:29 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 18:44:29 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 18:44:29 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:44:29 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 18:44:29 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 18:44:29 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s 18:44:29 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.96MB / 63.99MB 0.4s 18:44:30 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.5s 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.59MB / 97.63MB 0.5s 18:44:30 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s 18:44:30 #4 ... 18:44:30 18:44:30 #5 [internal] load build context 18:44:30 #5 transferring context: 11.14MB 0.6s done 18:44:30 #5 DONE 0.6s 18:44:30 18:44:30 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.7s 18:44:30 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.8s 18:44:30 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.28MB / 97.63MB 0.8s 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.9s 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 0.9s 18:44:30 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.1s 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.1s 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.3s 18:44:30 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.96MB / 97.63MB 1.3s 18:44:30 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 18:44:30 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.87MB / 63.99MB 1.4s 18:44:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s 18:44:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.5s 18:44:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.53MB / 97.63MB 1.6s 18:44:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s 18:44:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.54MB / 97.63MB 1.9s 18:44:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.0s 18:44:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.0s done 18:44:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.1s done 18:44:33 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:44:39 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 18:44:44 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 18:44:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.0s done 18:44:51 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:44:51 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 18:44:51 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:44:51 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:44:56 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 18:45:00 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 18:45:00 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:45:01 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 18:45:01 #4 DONE 32.3s 18:45:01 18:45:01 #6 [builder 2/7] WORKDIR /device-sdk-go 18:45:03 #6 DONE 1.6s 18:45:03 18:45:03 #7 [builder 3/7] RUN apk add --update --no-cache make git 18:45:04 #7 0.652 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:45:04 #7 1.025 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:45:05 #7 1.966 OK: 266 MiB in 52 packages 18:45:05 #7 DONE 2.2s 18:45:05 18:45:05 #8 [builder 4/7] COPY go.mod vendor* ./ 18:45:05 #8 DONE 0.1s 18:45:05 18:45:05 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:27 #9 DONE 20.9s 18:45:27 18:45:27 #10 [builder 6/7] COPY . . 18:45:27 #10 DONE 0.4s 18:45:27 18:45:27 #11 [builder 7/7] RUN echo noop 18:45:27 #11 0.595 noop 18:45:32 #11 DONE 4.6s 18:45:32 18:45:32 #12 exporting to image 18:45:32 #12 exporting layers 18:45:54 #12 exporting layers 22.1s done 18:45:54 #12 writing image sha256:7b1c60ca761250111ced58001bf0cb294d6814f81de9d924c028782df65fb56d done 18:45:54 #12 naming to docker.io/library/ci-base-image-arm64 done 18:45:54 #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:54 + docker inspect -f . ci-base-image-arm64 18:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:54 prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container 18:45:54 $ 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 18:45:56 $ docker top 294ec48003a46f5bc5932d100d537a4a5605a2a5b2369e04ddfd64d1d4acee8d -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:56 + go version 18:45:56 go version go1.21.0 linux/arm64 [Pipeline] } 18:45:56 $ docker stop --time=1 294ec48003a46f5bc5932d100d537a4a5605a2a5b2369e04ddfd64d1d4acee8d 18:46:01 $ 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 18:46:02 + docker inspect -f . ci-base-image-arm64 18:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container 18:46:02 $ 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 18:46:03 $ docker top 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:04 + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh 18:46:04 + make test 18:46:04 go test -race -coverprofile=coverage.out ./... 18:46:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:47:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:47:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.235s coverage: 27.6% of statements 18:47:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.275s coverage: 81.5% of statements 18:47:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.305s coverage: 86.0% of statements 18:47:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:47:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.394s coverage: 71.8% of statements 18:47:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:47:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:47:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:47:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.270s coverage: 14.4% of statements 18:47:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.791s coverage: 45.6% of statements 18:47:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.403s coverage: 68.5% of statements 18:47:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.437s coverage: 89.2% of statements 18:47:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements 18:47:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:47:51 GO111MODULE=on go vet ./... 18:48:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:48:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:48:59 ./bin/test-attribution-txt.sh [Pipeline] echo 18:48:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:48:59 $ docker stop --time=1 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 18:49:01 $ docker rm -f --volumes 5e9a9a4fee68fe17e1753a49b8f42e048f275108e3909cff4d70be10b2367d73 [Pipeline] // withDockerContainer [Pipeline] sh 18:49:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:49:02 Warning: overwriting stash ‘coverage-report’ 18:49:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:04 + ls -al . 18:49:04 total 304 18:49:04 drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 18:46 . 18:49:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:43 .. 18:49:04 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 18:44 .dockerignore 18:49:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 18:44 .git 18:49:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:44 .github 18:49:04 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 18:44 .gitignore 18:49:04 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 18:44 .golangci.yml 18:49:04 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 18:44 CHANGELOG.md 18:49:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 18:44 GOVERNANCE.md 18:49:04 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 18:44 Jenkinsfile 18:49:04 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 18:44 LICENSE 18:49:04 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 18:44 Makefile 18:49:04 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 18:44 OWNERS.md 18:49:04 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 18:44 README.md 18:49:04 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 18:41 VERSION 18:49:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 18:44 bin 18:49:04 -rw-r--r-- 1 jenkins jenkins 122156 Dec 28 18:47 coverage.out 18:49:04 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 18:44 example 18:49:04 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 18:44 go.mod 18:49:04 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 18:44 go.sum 18:49:04 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:44 internal 18:49:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 18:44 openapi 18:49:04 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 18:44 pkg 18:49:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 18:44 snap 18:49:04 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:04 + 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 . 18:49:05 #0 building with "default" instance using docker driver 18:49:05 18:49:05 #1 [internal] load .dockerignore 18:49:05 #1 transferring context: 18:49:05 #1 transferring context: 182B done 18:49:05 #1 DONE 0.0s 18:49:05 18:49:05 #2 [internal] load build definition from Dockerfile 18:49:05 #2 transferring dockerfile: 1.66kB done 18:49:05 #2 DONE 0.0s 18:49:05 18:49:05 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:49:05 #3 DONE 0.0s 18:49:05 18:49:05 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:49:05 #4 DONE 0.3s 18:49:05 18:49:05 #5 [internal] load build context 18:49:05 #5 transferring context: 137.25kB 0.1s done 18:49:05 #5 DONE 0.1s 18:49:05 18:49:05 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:49:05 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:49:05 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:49:05 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:49:05 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:49:05 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 18:49:05 #6 ... 18:49:05 18:49:05 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:49:05 #7 DONE 0.2s 18:49:05 18:49:05 #8 [builder 2/7] WORKDIR /device-sdk-go 18:49:05 #8 DONE 0.1s 18:49:05 18:49:05 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:49:05 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:49:05 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:49:06 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 18:49:08 #6 DONE 3.3s 18:49:08 18:49:08 #9 [builder 3/7] RUN apk add --update --no-cache make git 18:49:08 #9 3.049 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:49:09 #9 3.487 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:49:10 #9 4.596 OK: 266 MiB in 52 packages 18:49:10 #9 DONE 4.9s 18:49:10 18:49:10 #10 [builder 4/7] COPY go.mod vendor* ./ 18:49:10 #10 DONE 0.3s 18:49:10 18:49:10 #11 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:49:10 #11 0.641 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:49:10 #11 0.962 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:49:10 #11 1.938 (1/1) Installing dumb-init (1.2.5-r2) 18:49:10 #11 1.949 Executing busybox-1.36.1-r5.trigger 18:49:10 #11 1.976 OK: 8 MiB in 16 packages 18:49:11 #11 DONE 2.3s 18:49:11 18:49:11 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:49:12 #12 0.901 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:49:12 #12 1.258 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:49:12 #12 ... 18:49:12 18:49:12 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:12 #13 DONE 1.3s 18:49:12 18:49:12 #14 [builder 6/7] COPY . . 18:49:12 #14 DONE 0.4s 18:49:12 18:49:12 #15 [builder 7/7] RUN make build 18:49:13 #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 18:49:13 #15 ... 18:49:13 18:49:13 #12 [stage-1 3/7] RUN apk --no-cache upgrade 18:49:13 #12 2.391 OK: 8 MiB in 16 packages 18:49:13 #12 DONE 2.7s 18:49:13 18:49:13 #15 [builder 7/7] RUN make build 18:50:21 #15 DONE 60.9s 18:50:21 18:50:21 #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:50:21 #16 DONE 0.1s 18:50:21 18:50:21 #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:50:21 #17 DONE 0.3s 18:50:21 18:50:21 #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:50:21 #18 DONE 0.1s 18:50:21 18:50:21 #19 exporting to image 18:50:21 #19 exporting layers 18:50:21 #19 exporting layers 0.3s done 18:50:21 #19 writing image sha256:1f2f854268763416040358bf18368567efdee6c8959898687a0f7a0e63f286e4 done 18:50:21 #19 naming to docker.io/library/device-sdk-simple-arm64 done 18:50:21 #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 18:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:22 18:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:22 arm64: Pulling from edgex-lftools-log-publisher 18:50:22 8998bd30e6a1: Pulling fs layer 18:50:22 04944245beec: Pulling fs layer 18:50:22 699f458cf7ca: Pulling fs layer 18:50:22 765212b225bb: Pulling fs layer 18:50:22 f23df028b6ca: Pulling fs layer 18:50:22 d65c8cfc05b1: Pulling fs layer 18:50:22 f23df028b6ca: Waiting 18:50:22 d65c8cfc05b1: Waiting 18:50:22 2437ff75d9bd: Pulling fs layer 18:50:22 2437ff75d9bd: Waiting 18:50:22 765212b225bb: Waiting 18:50:23 04944245beec: Verifying Checksum 18:50:23 04944245beec: Download complete 18:50:23 765212b225bb: Verifying Checksum 18:50:23 765212b225bb: Download complete 18:50:23 f23df028b6ca: Verifying Checksum 18:50:23 f23df028b6ca: Download complete 18:50:23 d65c8cfc05b1: Verifying Checksum 18:50:23 d65c8cfc05b1: Download complete 18:50:23 699f458cf7ca: Verifying Checksum 18:50:23 699f458cf7ca: Download complete 18:50:23 8998bd30e6a1: Verifying Checksum 18:50:23 8998bd30e6a1: Download complete 18:50:25 2437ff75d9bd: Verifying Checksum 18:50:25 2437ff75d9bd: Download complete 18:50:29 8998bd30e6a1: Pull complete 18:50:30 04944245beec: Pull complete 18:50:34 699f458cf7ca: Pull complete 18:50:34 765212b225bb: Pull complete 18:50:34 f23df028b6ca: Pull complete 18:50:34 d65c8cfc05b1: Pull complete 18:50:57 2437ff75d9bd: Pull complete 18:50:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:57 prd-ubuntu20.04-docker-arm64-4c-16g-26323 does not seem to be running inside a container 18:50:57 $ 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 18:50:59 $ docker top 4348b59f75f7f2e2d9d4b5f7c4da637ef30c88ccebc760aa26bbddbbebefd251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:00 ---> job-cost.sh 18:51:00 lf-activate-venv: SKIPPING 18:51:00 INFO: No Stack... 18:51:00 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:01 INFO: Archiving Costs [Pipeline] sh 18:51:01 + cat /w/workspace/device-sdk-go/7/archives/cost.csv 18:51:01 + cut -d, -f6 [Pipeline] lock 18:51:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] 18:51:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] did not exist. Created. 18:51:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:02 /w/workspace/device-sdk-go/7@tmp/durable-3c0afe31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:51:02 + echo total: 0.2199999988079071 [Pipeline] stash 18:51:02 Warning: overwriting stash ‘stack-cost’ 18:51:02 Stashed 1 file(s) [Pipeline] } 18:51:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-7-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:02 $ docker stop --time=1 4348b59f75f7f2e2d9d4b5f7c4da637ef30c88ccebc760aa26bbddbbebefd251 18:51:05 $ 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 18:51:06 provisioning config files... 18:51:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config9510617854742934082tmp [Pipeline] { [Pipeline] sh 18:51:06 + set +x 18:51:06 + curl -s https://codecov.io/bash 18:51:06 + bash -s -- 18:51:06 18:51:06 _____ _ 18:51:06 / ____| | | 18:51:06 | | ___ __| | ___ ___ _____ __ 18:51:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:51:06 | |___| (_) | (_| | __/ (_| (_) \ V / 18:51:06 \_____\___/ \__,_|\___|\___\___/ \_/ 18:51:06 Bash-1.0.6 18:51:06 18:51:06 18:51:06 ==> git version 2.25.1 found 18:51:06 ==> 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 18:51:06 Release-Date: 2020-01-08 18:51:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:51:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:51:06 ==> Jenkins CI detected. 18:51:06 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 18:51:06 project root: . 18:51:06 --> token set from env 18:51:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:51:06 ==> Running gcov in . (disable via -X gcov) 18:51:06 ==> Python coveragepy not found 18:51:06 ==> Searching for coverage reports in: 18:51:06 + . 18:51:07 -> Found 1 reports 18:51:07 ==> Detecting git/mercurial file structure 18:51:07 ==> Reading reports 18:51:07 + ./coverage.out bytes=122156 18:51:07 ==> Appending adjustments 18:51:07 https://docs.codecov.io/docs/fixing-reports 18:51:07 + Found adjustments 18:51:07 ==> Gzipping contents 18:51:07 20K /tmp/codecov.AtT7S5.gz 18:51:07 ==> Uploading reports 18:51:07 url: https://codecov.io 18:51:07 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= 18:51:07 -> Pinging Codecov 18:51:07 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= 18:51:07 -> Uploading to 18:51:07 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 18:51:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:07 Dload Upload Total Spent Left Speed 18:51:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16788 0 0 100 16788 0 72362 --:--:-- --:--:-- --:--:-- 72362 18:51:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/71e3c76e72e2f3ba814a34e77b8695c4d9b90168 [Pipeline] } 18:51:07 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 18:51:09 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] 18:51:09 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:51:09 total 16 18:51:09 drwxr-xr-x 3 root root 4096 Dec 28 18:43 . 18:51:09 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:43 .. 18:51:09 drwxr-xr-x 2 root root 4096 Dec 28 18:43 cost 18:51:09 -rw-r--r-- 1 root root 86 Dec 28 18:43 cost.csv 18:51:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:51:09 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:51:09 total 16 18:51:09 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 18:43 . 18:51:09 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 18:43 .. 18:51:09 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 18:43 cost 18:51:09 -rw-r--r-- 1 jenkins jenkins 86 Dec 28 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:51:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:51:10 ---> package-listing.sh 18:51:10 ++ facter osfamily 18:51:10 ++ tr '[:upper:]' '[:lower:]' 18:51:10 + OS_FAMILY=debian 18:51:10 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 18:51:10 + START_PACKAGES=/tmp/packages_start.txt 18:51:10 + END_PACKAGES=/tmp/packages_end.txt 18:51:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:51:10 + PACKAGES=/tmp/packages_start.txt 18:51:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:51:10 + PACKAGES=/tmp/packages_end.txt 18:51:10 + case "${OS_FAMILY}" in 18:51:10 + dpkg -l 18:51:10 + grep '^ii' 18:51:10 + '[' -f /tmp/packages_start.txt ']' 18:51:10 + '[' -f /tmp/packages_end.txt ']' 18:51:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:51:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:51:10 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ 18:51:10 + 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 18:51:10 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 18:51:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:11 prd-ubuntu20.04-docker-8c-8g-26322 does not seem to be running inside a container 18:51:12 $ 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 18:51:12 $ docker top 1a1d2f0eacefcea14229289832d99ab71502dfdac32c05b3afc774b5837804c6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:51:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:51:13 + ls /var/log/sa-host 18:51:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:13 provisioning config files... 18:51:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config3204270761461397720tmp [Pipeline] { [Pipeline] echo 18:51:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:51:13 ---> create-netrc.sh [Pipeline] } 18:51:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:51:14 ---> python-tools-install.sh [Pipeline] echo 18:51:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:51:14 ---> sudo-logs.sh 18:51:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:51:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:51:14 ---> job-cost.sh 18:51:14 lf-activate-venv: SKIPPING 18:51:14 DEBUG: total: 0.2199999988079071 18:51:14 INFO: Retrieving Stack Cost... 18:51:15 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:15 INFO: Archiving Costs [Pipeline] echo 18:51:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:51:15 ---> logs-deploy.sh 18:51:16 lf-activate-venv: SKIPPING 18:51:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/7 18:51:16 INFO: archiving workspace using pattern(s): 18:51:16 Archives upload complete. 18:51:16 INFO: archiving logs to Nexus