Pull request #1538 opened 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 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6+487ca8dbaf5a7983b4dd4e8681142a99360f28bf (f8b7a1cfa919f7c0f4af9cfe158109a5e966bb1e) 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-ssh5501313047745143638.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4941591798227305356.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16642806818639261812.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh778995020973018150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9916314299954680648.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3751134443324848268.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16766 in /w/workspace/gexfoundry_device-sdk-go_PR-1538 [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-1538 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1538/head:refs/remotes/origin/PR-1538 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 Merge succeeded, producing 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 Checking out Revision 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 (PR-1538) > git config core.sparsecheckout # timeout=10 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 Commit message: "build: Update to use released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:09:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:09:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:09:47 ========================================================= 00:09:47 EdgeX Global Pipelines Version Info 00:09:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:09:48 ------------------- 00:09:48 stable info: 00:09:48 ------------------- 00:09:48 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 00:09:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:09:48 Message: update stable to v1.0.257 00:09:48 ------------------- 00:09:48 experimental info: 00:09:48 ------------------- 00:09:48 Commited By: **** collab-it+edgex@linuxfoundation.org 00:09:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:09:48 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:09:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1538 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1538 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1538 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37d1b51 [Pipeline] echo 00:09:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:50 provisioning config files... 00:09:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config6473715346144820183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:51 ---> docker-login.sh 00:09:51 nexus3.edgexfoundry.org:10001 00:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:51 Configure a credential helper to remove this warning. See 00:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:51 00:09:51 Login Succeeded 00:09:51 nexus3.edgexfoundry.org:10002 00:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:51 Configure a credential helper to remove this warning. See 00:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:51 00:09:51 Login Succeeded 00:09:51 nexus3.edgexfoundry.org:10003 00:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:51 Configure a credential helper to remove this warning. See 00:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:51 00:09:51 Login Succeeded 00:09:51 nexus3.edgexfoundry.org:10004 00:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:51 Configure a credential helper to remove this warning. See 00:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:51 00:09:51 Login Succeeded 00:09:51 docker.io 00:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:52 Configure a credential helper to remove this warning. See 00:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:52 00:09:52 Login Succeeded 00:09:52 ---> docker-login.sh ends [Pipeline] } 00:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:09:52 + git rev-list -1 --merges 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6~1..37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo 00:09:52 -----------> git rev-list -1 --merges 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6~1..37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [false] [Pipeline] sh 00:09:53 + git log --format=format:%s -1 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo 00:09:53 ========================================================= 00:09:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:09:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:53 + git log --format=format:%s -1 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo 00:09:53 [semverPrep] GIT_COMMIT: 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6, Commit Message: build: Update to use released Go Mods [Pipeline] echo 00:09:53 [semverPrep] This is not a build commit. [Pipeline] sh 00:09:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:53 + grep -v github /etc/ssh/ssh_known_hosts 00:09:53 + [ -e /tmp/ssh_known_hosts ] 00:09:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:09:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:09:53 + sudo tee -a /etc/ssh/ssh_known_hosts 00:09:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:54 00:09:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:54 0.1.4: Pulling from edgex-devops/py-git-semver 00:09:54 b85a868b505f: Pulling fs layer 00:09:54 e2be974225ed: Pulling fs layer 00:09:54 339a4e72a1f5: Pulling fs layer 00:09:54 988bab9f4d93: Pulling fs layer 00:09:54 1469e6f7b9e6: Pulling fs layer 00:09:54 eaf3925da568: Pulling fs layer 00:09:54 bab4dde63d76: Pulling fs layer 00:09:54 bde34c3a00c8: Pulling fs layer 00:09:54 b352a97aabf1: Pulling fs layer 00:09:54 4872d77fe225: Pulling fs layer 00:09:54 5851b861e8e6: Pulling fs layer 00:09:54 988bab9f4d93: Waiting 00:09:54 1469e6f7b9e6: Waiting 00:09:54 bab4dde63d76: Waiting 00:09:54 b352a97aabf1: Waiting 00:09:54 bde34c3a00c8: Waiting 00:09:54 4872d77fe225: Waiting 00:09:54 5851b861e8e6: Waiting 00:09:54 e2be974225ed: Verifying Checksum 00:09:54 e2be974225ed: Download complete 00:09:54 988bab9f4d93: Verifying Checksum 00:09:54 988bab9f4d93: Download complete 00:09:54 1469e6f7b9e6: Verifying Checksum 00:09:54 1469e6f7b9e6: Download complete 00:09:54 eaf3925da568: Verifying Checksum 00:09:54 eaf3925da568: Download complete 00:09:54 339a4e72a1f5: Verifying Checksum 00:09:54 339a4e72a1f5: Download complete 00:09:55 bde34c3a00c8: Download complete 00:09:55 b352a97aabf1: Verifying Checksum 00:09:55 b352a97aabf1: Download complete 00:09:55 4872d77fe225: Verifying Checksum 00:09:55 4872d77fe225: Download complete 00:09:55 5851b861e8e6: Verifying Checksum 00:09:55 5851b861e8e6: Download complete 00:09:55 b85a868b505f: Verifying Checksum 00:09:55 b85a868b505f: Download complete 00:09:55 bab4dde63d76: Verifying Checksum 00:09:55 bab4dde63d76: Download complete 00:09:56 b85a868b505f: Pull complete 00:09:56 e2be974225ed: Pull complete 00:09:56 339a4e72a1f5: Pull complete 00:09:56 988bab9f4d93: Pull complete 00:09:57 1469e6f7b9e6: Pull complete 00:09:57 eaf3925da568: Pull complete 00:09:59 bab4dde63d76: Pull complete 00:09:59 bde34c3a00c8: Pull complete 00:09:59 b352a97aabf1: Pull complete 00:09:59 4872d77fe225: Pull complete 00:09:59 5851b861e8e6: Pull complete 00:09:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:59 prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container 00:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:05 $ docker top e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a -eo pid,comm 00:10:05 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). 00:10:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:05 [ssh-agent] Looking for ssh-agent implementation... 00:10:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:05 $ docker exec e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent 00:10:05 SSH_AUTH_SOCK=/tmp/ssh-GJzPjO4pLAZN/agent.21 00:10:05 SSH_AGENT_PID=27 00:10:05 Running ssh-add (command line suppressed) 00:10:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_5941831757126853686.key (/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_5941831757126853686.key) 00:10:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:06 + git tag --points-at HEAD [Pipeline] } 00:10:06 $ docker exec --env ******** --env ******** e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent -k 00:10:06 unset SSH_AUTH_SOCK; 00:10:06 unset SSH_AGENT_PID; 00:10:06 echo Agent pid 27 killed; 00:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:06 [ssh-agent] Looking for ssh-agent implementation... 00:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:06 $ docker exec e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent 00:10:06 SSH_AUTH_SOCK=/tmp/ssh-pzHThLWmZpQ4/agent.71 00:10:06 SSH_AGENT_PID=77 00:10:06 Running ssh-add (command line suppressed) 00:10:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_13124098436388831248.key (/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_13124098436388831248.key) 00:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:07 + git semver init 00:10:07 2023-11-07 00:10:07,375 [run_init] DEBUG init version:0.0.0 force:False 00:10:07 2023-11-07 00:10:07,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver 00:10:07 2023-11-07 00:10:07,377 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver 00:10:07 2023-11-07 00:10:07,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538, universal_newlines=False, shell=None, istream=None) 00:10:08 2023-11-07 00:10:08,707 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.git/info/exclude 00:10:08 2023-11-07 00:10:08,707 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 with force:False 00:10:08 2023-11-07 00:10:08,707 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 00:10:08 2023-11-07 00:10:08,709 [execute] INFO git cat-file --batch-check 00:10:08 2023-11-07 00:10:08,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver, universal_newlines=False, shell=None, istream=) 00:10:08 2023-11-07 00:10:08,714 [execute] INFO git cat-file --batch 00:10:08 2023-11-07 00:10:08,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver, universal_newlines=False, shell=None, istream=) 00:10:08 2023-11-07 00:10:08,719 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 00:10:08 0.0.0 [Pipeline] } 00:10:09 $ docker exec --env ******** --env ******** e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent -k 00:10:09 unset SSH_AUTH_SOCK; 00:10:09 unset SSH_AGENT_PID; 00:10:09 echo Agent pid 77 killed; 00:10:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:09 + git semver [Pipeline] } 00:10:10 $ docker stop --time=1 e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a 00:10:11 $ docker rm -f --volumes e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a [Pipeline] // withDockerContainer [Pipeline] sh 00:10:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:12 Stashed 1 file(s) [Pipeline] echo 00:10:12 [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 00:10:13 provisioning config files... 00:10:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config6805381367536843543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:13 ---> docker-login.sh 00:10:13 nexus3.edgexfoundry.org:10001 00:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:13 Configure a credential helper to remove this warning. See 00:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:13 00:10:13 Login Succeeded 00:10:13 nexus3.edgexfoundry.org:10002 00:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:13 Configure a credential helper to remove this warning. See 00:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:13 00:10:13 Login Succeeded 00:10:14 nexus3.edgexfoundry.org:10003 00:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:14 Configure a credential helper to remove this warning. See 00:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:14 00:10:14 Login Succeeded 00:10:14 nexus3.edgexfoundry.org:10004 00:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:14 Configure a credential helper to remove this warning. See 00:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:14 00:10:14 Login Succeeded 00:10:14 docker.io 00:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:14 Configure a credential helper to remove this warning. See 00:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:14 00:10:14 Login Succeeded 00:10:14 ---> docker-login.sh ends [Pipeline] } 00:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:10:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:10:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:10:14 ========================================================= 00:10:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:10:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:15 + 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 . 00:10:15 Sending build context to Docker daemon 11.3MB 00:10:15 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:10:15 Step 2/10 : FROM ${BASE} AS builder 00:10:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:10:15 7264a8db6415: Pulling fs layer 00:10:15 c4d48a809fc2: Pulling fs layer 00:10:15 4f1c88b9dad5: Pulling fs layer 00:10:15 ad3a456e5733: Pulling fs layer 00:10:15 33e27b845d1e: Pulling fs layer 00:10:15 c68163c4e522: Pulling fs layer 00:10:15 50da416c3ac9: Pulling fs layer 00:10:15 23d2d4c4bb30: Pulling fs layer 00:10:15 33e27b845d1e: Waiting 00:10:15 50da416c3ac9: Waiting 00:10:15 c68163c4e522: Waiting 00:10:15 23d2d4c4bb30: Waiting 00:10:15 ad3a456e5733: Waiting 00:10:15 c4d48a809fc2: Download complete 00:10:15 ad3a456e5733: Verifying Checksum 00:10:15 ad3a456e5733: Download complete 00:10:15 33e27b845d1e: Download complete 00:10:15 7264a8db6415: Verifying Checksum 00:10:15 7264a8db6415: Download complete 00:10:15 c68163c4e522: Verifying Checksum 00:10:15 c68163c4e522: Download complete 00:10:15 7264a8db6415: Pull complete 00:10:15 23d2d4c4bb30: Verifying Checksum 00:10:15 23d2d4c4bb30: Download complete 00:10:15 c4d48a809fc2: Pull complete 00:10:15 4f1c88b9dad5: Verifying Checksum 00:10:15 4f1c88b9dad5: Download complete 00:10:16 50da416c3ac9: Verifying Checksum 00:10:16 50da416c3ac9: Download complete 00:10:18 4f1c88b9dad5: Pull complete 00:10:18 ad3a456e5733: Pull complete 00:10:19 33e27b845d1e: Pull complete 00:10:19 c68163c4e522: Pull complete 00:10:21 50da416c3ac9: Pull complete 00:10:22 23d2d4c4bb30: Pull complete 00:10:22 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:10:22 ---> 0786185ac409 00:10:22 Step 3/10 : ARG MAKE=make build 00:10:27 ---> Running in 65bfc510eeb1 00:10:27 Removing intermediate container 65bfc510eeb1 00:10:27 ---> 41987eee1cd7 00:10:27 Step 4/10 : WORKDIR /device-sdk-go 00:10:27 ---> Running in 99f9c093210e 00:10:27 Removing intermediate container 99f9c093210e 00:10:27 ---> 7472fd7a5caa 00:10:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:10:27 ---> Running in 76568e79ff41 00:10:27 Removing intermediate container 76568e79ff41 00:10:27 ---> eb18216bfd7d 00:10:27 Step 6/10 : RUN apk add --update --no-cache make git 00:10:27 ---> Running in fb3337ce8a2f 00:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:10:27 OK: 264 MiB in 52 packages 00:10:27 Removing intermediate container fb3337ce8a2f 00:10:27 ---> 9e720d4a552a 00:10:27 Step 7/10 : COPY go.mod vendor* ./ 00:10:27 ---> 37e8d47afff9 00:10:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:27 ---> Running in b86106039172 00:10:28 Still waiting to schedule task 00:10:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:11:14 Removing intermediate container b86106039172 00:11:14 ---> 8d5f469e2b7e 00:11:14 Step 9/10 : COPY . . 00:11:14 ---> 7c64f2040665 00:11:14 Step 10/10 : RUN ${MAKE} 00:11:14 ---> Running in 74b6d34c0bad 00:11:14 noop 00:11:14 Removing intermediate container 74b6d34c0bad 00:11:14 ---> 0587d4984a5d 00:11:14 Successfully built 0587d4984a5d 00:11:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:14 + docker inspect -f . ci-base-image-x86_64 00:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:15 prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container 00:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:11:15 $ docker top f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:16 + go version 00:11:16 go version go1.21.0 linux/amd64 [Pipeline] } 00:11:16 $ docker stop --time=1 f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a 00:11:17 $ docker rm -f --volumes f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:18 + docker inspect -f . ci-base-image-x86_64 00:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:18 prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container 00:11:18 $ 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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:11:18 $ docker top f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1538 [Pipeline] fileExists [Pipeline] sh 00:11:19 + make test 00:11:19 go test -race -coverprofile=coverage.out ./... 00:11:26 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:11:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements 00:11:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements 00:11:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.089s coverage: 86.0% of statements 00:11:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements 00:11:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:11:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:11:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:11:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements 00:11:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.967s coverage: 45.9% of statements 00:11:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements 00:11:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements 00:11:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 00:12:01 GO111MODULE=on go vet ./... 00:12:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:05 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:12:05 $ docker stop --time=1 f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b 00:12:13 $ docker rm -f --volumes f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b [Pipeline] // withDockerContainer [Pipeline] sh 00:12:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:14 + ls -al . 00:12:14 total 308 00:12:14 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 00:11 . 00:12:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:09 .. 00:12:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:09 .dockerignore 00:12:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:11 .git 00:12:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:09 .github 00:12:14 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:09 .gitignore 00:12:14 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:09 .golangci.yml 00:12:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:10 .semver 00:12:14 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:09 CHANGELOG.md 00:12:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:09 GOVERNANCE.md 00:12:14 -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:09 Jenkinsfile 00:12:14 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:09 LICENSE 00:12:14 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:09 Makefile 00:12:14 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:09 OWNERS.md 00:12:14 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:09 README.md 00:12:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:10 VERSION 00:12:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:09 bin 00:12:14 -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:11 coverage.out 00:12:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:09 example 00:12:14 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:09 go.mod 00:12:14 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:09 go.sum 00:12:14 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:09 internal 00:12:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:09 openapi 00:12:14 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:09 pkg 00:12:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:09 snap 00:12:14 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:15 + 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=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 --label arch=amd64 --label version=0.0.0 . 00:12:15 Sending build context to Docker daemon 11.42MB 00:12:15 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:12:15 Step 2/23 : FROM ${BASE} AS builder 00:12:15 ---> 0587d4984a5d 00:12:15 Step 3/23 : ARG MAKE=make build 00:12:15 ---> Running in 3e10c3dddb53 00:12:16 Removing intermediate container 3e10c3dddb53 00:12:16 ---> 8bf76f6a1532 00:12:16 Step 4/23 : WORKDIR /device-sdk-go 00:12:16 ---> Running in bd4be94751fd 00:12:16 Removing intermediate container bd4be94751fd 00:12:16 ---> 4c9ea15a61ef 00:12:16 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:12:16 ---> Running in 76143400b843 00:12:17 Removing intermediate container 76143400b843 00:12:17 ---> 5bcdd9a1ccf9 00:12:17 Step 6/23 : RUN apk add --update --no-cache make git 00:12:17 ---> Running in 1b4386610bbc 00:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:12:17 OK: 264 MiB in 52 packages 00:12:18 Removing intermediate container 1b4386610bbc 00:12:18 ---> 8a7cd341a8e4 00:12:18 Step 7/23 : COPY go.mod vendor* ./ 00:12:18 ---> 5b4bff237fb8 00:12:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:18 ---> Running in e3483ab0bf16 00:12:19 Removing intermediate container e3483ab0bf16 00:12:19 ---> 00274f364bc5 00:12:19 Step 9/23 : COPY . . 00:12:20 ---> 0668c0c0e219 00:12:20 Step 10/23 : RUN ${MAKE} 00:12:20 ---> Running in fca2d3c88d30 00:12:20 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 00:12:47 Removing intermediate container fca2d3c88d30 00:12:47 ---> dd26522d9c98 00:12:47 Step 11/23 : FROM alpine:3.18 00:12:47 3.18: Pulling from library/alpine 00:12:47 96526aa774ef: Pulling fs layer 00:12:47 96526aa774ef: Download complete 00:12:47 96526aa774ef: Pull complete 00:12:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:12:47 Status: Downloaded newer image for alpine:3.18 00:12:47 ---> 8ca4688f4f35 00:12:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:12:47 ---> Running in 69cbf9850215 00:12:47 Removing intermediate container 69cbf9850215 00:12:47 ---> 98a4105c64ee 00:12:47 Step 13/23 : RUN apk add --update --no-cache 00:12:47 ---> Running in b627c11118ac 00:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:12:47 OK: 7 MiB in 15 packages 00:12:47 Removing intermediate container b627c11118ac 00:12:47 ---> a98748745bec 00:12:47 Step 14/23 : WORKDIR / 00:12:47 ---> Running in f6aa100657f7 00:12:47 Removing intermediate container f6aa100657f7 00:12:47 ---> c8ba308f65bb 00:12:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:12:47 ---> 98ec112f030a 00:12:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:12:47 ---> 64ff9b439e04 00:12:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:12:47 ---> 09c4d405066f 00:12:47 Step 18/23 : EXPOSE 59999 00:12:47 ---> Running in 7b4fe67eaf76 00:12:47 Removing intermediate container 7b4fe67eaf76 00:12:47 ---> 900a7ad3c952 00:12:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:12:47 ---> Running in 45d7a06f7d33 00:12:47 Removing intermediate container 45d7a06f7d33 00:12:47 ---> 55c0b9b8a4ca 00:12:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:12:47 ---> Running in 82ee576f2fb5 00:12:47 Removing intermediate container 82ee576f2fb5 00:12:47 ---> 4c107bad43d2 00:12:47 Step 21/23 : LABEL arch=amd64 00:12:47 ---> Running in b67b38e4ccd3 00:12:47 Removing intermediate container b67b38e4ccd3 00:12:47 ---> a807b434a10c 00:12:47 Step 22/23 : LABEL git_sha=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 00:12:47 ---> Running in 944b2751b68e 00:12:47 Removing intermediate container 944b2751b68e 00:12:47 ---> d5a72dc801b4 00:12:47 Step 23/23 : LABEL version=0.0.0 00:12:47 ---> Running in c0d2e9ff42ab 00:12:47 Removing intermediate container c0d2e9ff42ab 00:12:47 ---> e53541053825 00:12:47 [Warning] One or more build-args [ARCH] were not consumed 00:12:47 Successfully built e53541053825 00:12:47 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 00:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:48 00:12:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:49 latest: Pulling from edgex-lftools-log-publisher 00:12:49 5eb5b503b376: Pulling fs layer 00:12:49 5c69ac0246d0: Pulling fs layer 00:12:49 ec43610c2a17: Pulling fs layer 00:12:49 3a2ae6a8a46f: Pulling fs layer 00:12:49 33b1e0a273af: Pulling fs layer 00:12:49 5d3b04190fa2: Pulling fs layer 00:12:49 2f39f015ded8: Pulling fs layer 00:12:49 3a2ae6a8a46f: Waiting 00:12:49 2f39f015ded8: Waiting 00:12:49 33b1e0a273af: Waiting 00:12:49 5d3b04190fa2: Waiting 00:12:49 5c69ac0246d0: Verifying Checksum 00:12:49 5c69ac0246d0: Download complete 00:12:49 3a2ae6a8a46f: Verifying Checksum 00:12:49 3a2ae6a8a46f: Download complete 00:12:49 33b1e0a273af: Verifying Checksum 00:12:49 33b1e0a273af: Download complete 00:12:49 5d3b04190fa2: Verifying Checksum 00:12:49 5d3b04190fa2: Download complete 00:12:49 ec43610c2a17: Verifying Checksum 00:12:49 ec43610c2a17: Download complete 00:12:49 5eb5b503b376: Verifying Checksum 00:12:49 5eb5b503b376: Download complete 00:12:49 2f39f015ded8: Download complete 00:12:50 5eb5b503b376: Pull complete 00:12:50 5c69ac0246d0: Pull complete 00:12:50 ec43610c2a17: Pull complete 00:12:50 3a2ae6a8a46f: Pull complete 00:12:51 33b1e0a273af: Pull complete 00:12:51 5d3b04190fa2: Pull complete 00:12:55 2f39f015ded8: Pull complete 00:12:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:12:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:55 prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container 00:12:55 $ 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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:13:01 $ docker top 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:02 ---> job-cost.sh 00:13:02 lf-activate-venv: SKIPPING 00:13:02 INFO: No Stack... 00:13:02 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:03 INFO: Archiving Costs [Pipeline] sh 00:13:03 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/cost.csv 00:13:03 + cut -d, -f6 [Pipeline] lock 00:13:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] 00:13:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] did not exist. Created. 00:13:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:03 + echo total: 0.2199999988079071 [Pipeline] stash 00:13:03 Stashed 1 file(s) [Pipeline] } 00:13:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:04 $ docker stop --time=1 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 00:13:05 $ docker rm -f --volumes 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16768 in /w/workspace/gexfoundry_device-sdk-go_PR-1538 [Pipeline] { [Pipeline] ws 00:14:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:14:05 The recommended git tool is: git 00:14:15 using credential edgex-jenkins-ssh 00:14:15 Cloning the remote Git repository 00:14:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:14:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 00:14:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:14:15 > git --version # timeout=10 00:14:15 > git --version # 'git version 2.25.1' 00:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:14:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:14:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:14:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1538/head:refs/remotes/origin/PR-1538 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:14:19 Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 00:14:20 Merge succeeded, producing 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 00:14:20 Checking out Revision 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 (PR-1538) 00:14:19 > git config core.sparsecheckout # timeout=10 00:14:19 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 00:14:19 > git remote # timeout=10 00:14:20 > git config --get remote.origin.url # timeout=10 00:14:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:20 > git merge 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 00:14:20 > git rev-parse HEAD^{commit} # timeout=10 00:14:20 > git config core.sparsecheckout # timeout=10 00:14:20 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 00:14:23 Commit message: "build: Update to use released Go Mods" 00:14:23 > git --version # timeout=10 00:14:23 > git --version # 'git version 2.25.1' 00:14:23 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:14:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:14:24 Dload Upload Total Spent Left Speed 00:14:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 00:14:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:14:26 + + sudo teesudo /etc/docker/daemon.new jq 00:14:26 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:14:26 { 00:14:26 "registry-mirrors": [ 00:14:26 "https://nexus3.edgexfoundry.org:10001" 00:14:26 ], 00:14:26 "bip": "10.250.0.254/24", 00:14:26 "hosts": [ 00:14:26 "tcp://0.0.0.0:5555", 00:14:26 "unix:///var/run/docker.sock" 00:14:26 ], 00:14:26 "mtu": 1458, 00:14:26 "selinux-enabled": true, 00:14:26 "seccomp-profile": "/etc/docker/seccomp.json" 00:14:26 } [Pipeline] sh 00:14:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:14:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:45 provisioning config files... 00:14:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6672564448504595931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:45 ---> docker-login.sh 00:14:45 nexus3.edgexfoundry.org:10001 00:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:46 Configure a credential helper to remove this warning. See 00:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:46 00:14:46 Login Succeeded 00:14:46 nexus3.edgexfoundry.org:10002 00:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:46 Configure a credential helper to remove this warning. See 00:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:46 00:14:46 Login Succeeded 00:14:46 nexus3.edgexfoundry.org:10003 00:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:46 Configure a credential helper to remove this warning. See 00:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:46 00:14:46 Login Succeeded 00:14:46 nexus3.edgexfoundry.org:10004 00:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:47 Configure a credential helper to remove this warning. See 00:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:47 00:14:47 Login Succeeded 00:14:47 docker.io 00:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 ---> docker-login.sh ends [Pipeline] } 00:14:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:14:48 ========================================================= 00:14:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:14:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:49 + 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 . 00:14:49 Sending build context to Docker daemon 6.062MB 00:14:49 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:14:49 Step 2/10 : FROM ${BASE} AS builder 00:14:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:14:49 9fda8d8052c6: Pulling fs layer 00:14:49 5d54e960e981: Pulling fs layer 00:14:49 c4a7e357bf2a: Pulling fs layer 00:14:49 f0e02332f6b5: Pulling fs layer 00:14:49 cefa15bbcfad: Pulling fs layer 00:14:49 17808c966233: Pulling fs layer 00:14:49 f4c1fc716caa: Pulling fs layer 00:14:49 cefa15bbcfad: Waiting 00:14:49 17808c966233: Waiting 00:14:49 f4c1fc716caa: Waiting 00:14:49 f0e02332f6b5: Waiting 00:14:49 5d54e960e981: Verifying Checksum 00:14:49 5d54e960e981: Download complete 00:14:49 f0e02332f6b5: Download complete 00:14:49 cefa15bbcfad: Verifying Checksum 00:14:49 cefa15bbcfad: Download complete 00:14:49 9fda8d8052c6: Download complete 00:14:50 f4c1fc716caa: Verifying Checksum 00:14:50 f4c1fc716caa: Download complete 00:14:50 9fda8d8052c6: Pull complete 00:14:51 5d54e960e981: Pull complete 00:14:51 c4a7e357bf2a: Verifying Checksum 00:14:51 c4a7e357bf2a: Download complete 00:14:52 17808c966233: Verifying Checksum 00:14:52 17808c966233: Download complete 00:15:04 c4a7e357bf2a: Pull complete 00:15:04 f0e02332f6b5: Pull complete 00:15:05 cefa15bbcfad: Pull complete 00:15:13 17808c966233: Pull complete 00:15:14 f4c1fc716caa: Pull complete 00:15:14 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:15:14 ---> ea914061e18c 00:15:14 Step 3/10 : ARG MAKE=make build 00:15:15 ---> Running in 002fbe8c5672 00:15:15 Removing intermediate container 002fbe8c5672 00:15:15 ---> 1f9262e4ea9e 00:15:15 Step 4/10 : WORKDIR /device-sdk-go 00:15:15 ---> Running in c44f1e352547 00:15:16 Removing intermediate container c44f1e352547 00:15:16 ---> 5e1c7be3e976 00:15:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:15:16 ---> Running in a5744e5c9347 00:15:16 Removing intermediate container a5744e5c9347 00:15:16 ---> cea7f59ca8c2 00:15:16 Step 6/10 : RUN apk add --update --no-cache make git 00:15:16 ---> Running in 127cc5e8df23 00:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:15:19 OK: 266 MiB in 52 packages 00:15:23 Removing intermediate container 127cc5e8df23 00:15:23 ---> 339f0f8e0077 00:15:23 Step 7/10 : COPY go.mod vendor* ./ 00:15:23 ---> 8f4c4760ebb5 00:15:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:23 ---> Running in 795ae8455f2f 00:16:44 Removing intermediate container 795ae8455f2f 00:16:44 ---> 33abf03aa567 00:16:44 Step 9/10 : COPY . . 00:16:45 ---> 0883c25d7502 00:16:45 Step 10/10 : RUN ${MAKE} 00:16:45 ---> Running in 832a714b7614 00:16:50 noop 00:16:50 Removing intermediate container 832a714b7614 00:16:50 ---> c672a8a0deab 00:16:50 Successfully built c672a8a0deab 00:16:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:50 + docker inspect -f . ci-base-image-arm64 00:16:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:50 prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container 00:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:16:52 $ docker top b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:53 + go version 00:16:53 go version go1.21.0 linux/arm64 [Pipeline] } 00:16:53 $ docker stop --time=1 b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f 00:16:54 $ docker rm -f --volumes b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:55 + docker inspect -f . ci-base-image-arm64 00:16:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:56 prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container 00:16:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:16:57 $ docker top 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 00:16:59 + make test 00:16:59 go test -race -coverprofile=coverage.out ./... 00:17:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:19:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:19:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:19:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:19:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:19:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:19:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements 00:19:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.249s coverage: 81.5% of statements 00:19:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:19:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:19:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.331s coverage: 86.0% of statements 00:19:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:19:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.413s coverage: 71.8% of statements 00:19:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.288s coverage: 14.4% of statements 00:19:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.793s coverage: 45.9% of statements 00:19:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:19:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:19:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.396s coverage: 68.5% of statements 00:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.432s coverage: 89.2% of statements 00:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:20:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.229s coverage: 5.5% of statements 00:20:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:05 GO111MODULE=on go vet ./... 00:22:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:22:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:22:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:22:12 $ docker stop --time=1 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a 00:22:16 $ docker rm -f --volumes 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a [Pipeline] // withDockerContainer [Pipeline] sh 00:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:22:18 Warning: overwriting stash ‘coverage-report’ 00:22:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:22:20 + ls -al . 00:22:20 total 304 00:22:20 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:17 . 00:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:14 .. 00:22:20 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:14 .dockerignore 00:22:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:14 .git 00:22:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:14 .github 00:22:20 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:14 .gitignore 00:22:20 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:14 .golangci.yml 00:22:20 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:14 CHANGELOG.md 00:22:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:14 GOVERNANCE.md 00:22:20 -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:14 Jenkinsfile 00:22:20 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:14 LICENSE 00:22:20 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:14 Makefile 00:22:20 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:14 OWNERS.md 00:22:20 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:14 README.md 00:22:20 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:10 VERSION 00:22:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:14 bin 00:22:20 -rw-r--r-- 1 jenkins jenkins 122155 Nov 7 00:20 coverage.out 00:22:20 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:14 example 00:22:20 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:14 go.mod 00:22:20 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:14 go.sum 00:22:20 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:14 internal 00:22:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:14 openapi 00:22:20 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:14 pkg 00:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:14 snap 00:22:20 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:20 + 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=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 --label arch=arm64 --label version=0.0.0 . 00:22:21 Sending build context to Docker daemon 6.184MB 00:22:21 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:22:21 Step 2/23 : FROM ${BASE} AS builder 00:22:21 ---> c672a8a0deab 00:22:21 Step 3/23 : ARG MAKE=make build 00:22:21 ---> Running in 7e491c1f1b83 00:22:21 Removing intermediate container 7e491c1f1b83 00:22:21 ---> a8da460baa5b 00:22:21 Step 4/23 : WORKDIR /device-sdk-go 00:22:21 ---> Running in 118a18f1d766 00:22:22 Removing intermediate container 118a18f1d766 00:22:22 ---> 1544e90bf096 00:22:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:22:22 ---> Running in 73cfe6a017a6 00:22:22 Removing intermediate container 73cfe6a017a6 00:22:22 ---> 0a57a9144f7b 00:22:22 Step 6/23 : RUN apk add --update --no-cache make git 00:22:22 ---> Running in 9f1897d445b5 00:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:22:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:22:25 OK: 266 MiB in 52 packages 00:22:25 Removing intermediate container 9f1897d445b5 00:22:25 ---> fb0dfbd4a721 00:22:25 Step 7/23 : COPY go.mod vendor* ./ 00:22:26 ---> d5e422bd3ea0 00:22:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:26 ---> Running in 099188ef5766 00:22:31 Removing intermediate container 099188ef5766 00:22:31 ---> c8dd409ec5d7 00:22:31 Step 9/23 : COPY . . 00:22:33 ---> e0622299f2b4 00:22:33 Step 10/23 : RUN ${MAKE} 00:22:33 ---> Running in 9fefd69ebe26 00:22:34 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 00:24:25 Removing intermediate container 9fefd69ebe26 00:24:25 ---> ff5eca6dc391 00:24:25 Step 11/23 : FROM alpine:3.18 00:24:25 3.18: Pulling from library/alpine 00:24:25 579b34f0a95b: Pulling fs layer 00:24:25 579b34f0a95b: Verifying Checksum 00:24:25 579b34f0a95b: Download complete 00:24:25 579b34f0a95b: Pull complete 00:24:25 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:24:25 Status: Downloaded newer image for alpine:3.18 00:24:25 ---> 3cc203321400 00:24:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:24:25 ---> Running in 05616128abfd 00:24:25 Removing intermediate container 05616128abfd 00:24:25 ---> 6e53bb7f9454 00:24:25 Step 13/23 : RUN apk add --update --no-cache 00:24:25 ---> Running in 6c66960e0dc6 00:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:24:25 OK: 8 MiB in 15 packages 00:24:27 Removing intermediate container 6c66960e0dc6 00:24:27 ---> de94fbf3b86c 00:24:27 Step 14/23 : WORKDIR / 00:24:27 ---> Running in 742fccaf816e 00:24:28 Removing intermediate container 742fccaf816e 00:24:28 ---> c9a90b7997cf 00:24:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:24:28 ---> bced0664b7fd 00:24:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:24:30 ---> e6adb969ae2a 00:24:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:24:30 ---> 5c3212dc6326 00:24:30 Step 18/23 : EXPOSE 59999 00:24:30 ---> Running in 61f575c1a041 00:24:31 Removing intermediate container 61f575c1a041 00:24:31 ---> 23555d60363a 00:24:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:24:31 ---> Running in b3a86aed68c0 00:24:31 Removing intermediate container b3a86aed68c0 00:24:31 ---> ffb58ee57050 00:24:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:24:32 ---> Running in 96d8e68d611e 00:24:32 Removing intermediate container 96d8e68d611e 00:24:32 ---> 837f6318bc6b 00:24:32 Step 21/23 : LABEL arch=arm64 00:24:32 ---> Running in 66375e08e9b4 00:24:32 Removing intermediate container 66375e08e9b4 00:24:32 ---> 72b7562f2362 00:24:32 Step 22/23 : LABEL git_sha=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 00:24:32 ---> Running in 7d117ef5fc7f 00:24:32 Removing intermediate container 7d117ef5fc7f 00:24:32 ---> 143e32d553ea 00:24:32 Step 23/23 : LABEL version=0.0.0 00:24:33 ---> Running in 4666cfe638c3 00:24:33 Removing intermediate container 4666cfe638c3 00:24:33 ---> ebcc4d02b032 00:24:33 [Warning] One or more build-args [ARCH] were not consumed 00:24:33 Successfully built ebcc4d02b032 00:24:33 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:34 00:24:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:34 arm64: Pulling from edgex-lftools-log-publisher 00:24:34 8998bd30e6a1: Pulling fs layer 00:24:34 04944245beec: Pulling fs layer 00:24:34 699f458cf7ca: Pulling fs layer 00:24:34 765212b225bb: Pulling fs layer 00:24:34 f23df028b6ca: Pulling fs layer 00:24:34 d65c8cfc05b1: Pulling fs layer 00:24:34 2437ff75d9bd: Pulling fs layer 00:24:34 f23df028b6ca: Waiting 00:24:34 d65c8cfc05b1: Waiting 00:24:34 765212b225bb: Waiting 00:24:34 2437ff75d9bd: Waiting 00:24:34 04944245beec: Verifying Checksum 00:24:34 04944245beec: Download complete 00:24:34 765212b225bb: Verifying Checksum 00:24:34 765212b225bb: Download complete 00:24:34 f23df028b6ca: Verifying Checksum 00:24:34 f23df028b6ca: Download complete 00:24:34 d65c8cfc05b1: Verifying Checksum 00:24:34 d65c8cfc05b1: Download complete 00:24:35 699f458cf7ca: Verifying Checksum 00:24:35 699f458cf7ca: Download complete 00:24:35 8998bd30e6a1: Verifying Checksum 00:24:35 8998bd30e6a1: Download complete 00:24:37 2437ff75d9bd: Verifying Checksum 00:24:37 2437ff75d9bd: Download complete 00:24:41 8998bd30e6a1: Pull complete 00:24:41 04944245beec: Pull complete 00:24:43 699f458cf7ca: Pull complete 00:24:43 765212b225bb: Pull complete 00:24:44 f23df028b6ca: Pull complete 00:24:44 d65c8cfc05b1: Pull complete 00:25:02 2437ff75d9bd: Pull complete 00:25:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:03 prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container 00:25:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:25:05 $ docker top 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:08 ---> job-cost.sh 00:25:08 lf-activate-venv: SKIPPING 00:25:08 INFO: No Stack... 00:25:08 INFO: Retrieving Pricing Info for: v3-standard-4 00:25:09 INFO: Archiving Costs [Pipeline] sh 00:25:10 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 00:25:10 + cut -d, -f6 [Pipeline] lock 00:25:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] 00:25:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] did not exist. Created. 00:25:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:10 /w/workspace/device-sdk-go/1@tmp/durable-edbaac9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:25:11 + echo total: 0.10999999940395355 [Pipeline] stash 00:25:11 Warning: overwriting stash ‘stack-cost’ 00:25:11 Stashed 1 file(s) [Pipeline] } 00:25:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:11 $ docker stop --time=1 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d 00:25:13 $ docker rm -f --volumes 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d [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 00:25:14 provisioning config files... 00:25:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config17834564468959895520tmp [Pipeline] { [Pipeline] sh 00:25:14 + set +x 00:25:14 + curl -s https://codecov.io/bash 00:25:14 + bash -s -- 00:25:14 00:25:14 _____ _ 00:25:14 / ____| | | 00:25:14 | | ___ __| | ___ ___ _____ __ 00:25:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:25:14 | |___| (_) | (_| | __/ (_| (_) \ V / 00:25:14 \_____\___/ \__,_|\___|\___\___/ \_/ 00:25:14 Bash-1.0.6 00:25:14 00:25:14 00:25:14 ==> git version 2.25.1 found 00:25:14 ==> 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 00:25:14 Release-Date: 2020-01-08 00:25:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:25:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:25:14 ==> Jenkins CI detected. 00:25:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1538 00:25:14 project root: . 00:25:14 --> token set from env 00:25:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:25:14 ==> Running gcov in . (disable via -X gcov) 00:25:14 ==> Python coveragepy not found 00:25:14 ==> Searching for coverage reports in: 00:25:14 + . 00:25:14 -> Found 1 reports 00:25:14 ==> Detecting git/mercurial file structure 00:25:14 ==> Reading reports 00:25:14 + ./coverage.out bytes=122155 00:25:14 ==> Appending adjustments 00:25:14 https://docs.codecov.io/docs/fixing-reports 00:25:15 + Found adjustments 00:25:15 ==> Gzipping contents 00:25:15 20K /tmp/codecov.loxxDA.gz 00:25:15 ==> Uploading reports 00:25:15 url: https://codecov.io 00:25:15 query: branch=PR-1538&commit=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1538&job=&cmd_args= 00:25:15 -> Pinging Codecov 00:25:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1538&commit=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1538&job=&cmd_args= 00:25:15 -> Uploading to 00:25:15 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7E55EF52A471D76F132DFD9A03CDDE97/37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6/44e1c13c-f0fd-4161-8e71-9092486f0c07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T002515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc4b8767dc7208a732808377dcea2f77383c37cfc02b73901823af9eee209ce 00:25:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:15 Dload Upload Total Spent Left Speed 00:25:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 62256 --:--:-- --:--:-- --:--:-- 62025 100 16747 0 0 100 16747 0 62025 --:--:-- --:--:-- --:--:-- 62025 00:25:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] } 00:25:15 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 00:25:17 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives ] 00:25:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives 00:25:17 total 16 00:25:17 drwxr-xr-x 3 root root 4096 Nov 7 00:13 . 00:25:17 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:13 .. 00:25:17 drwxr-xr-x 2 root root 4096 Nov 7 00:13 cost 00:25:17 -rw-r--r-- 1 root root 86 Nov 7 00:13 cost.csv 00:25:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives 00:25:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives 00:25:17 total 16 00:25:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:13 . 00:25:17 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:13 .. 00:25:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:13 cost 00:25:17 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:25:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:25:18 ---> package-listing.sh 00:25:18 ++ facter osfamily 00:25:18 ++ tr '[:upper:]' '[:lower:]' 00:25:18 + OS_FAMILY=debian 00:25:18 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1538 00:25:18 + START_PACKAGES=/tmp/packages_start.txt 00:25:18 + END_PACKAGES=/tmp/packages_end.txt 00:25:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:25:18 + PACKAGES=/tmp/packages_start.txt 00:25:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1538 ']' 00:25:18 + PACKAGES=/tmp/packages_end.txt 00:25:18 + case "${OS_FAMILY}" in 00:25:18 + dpkg -l 00:25:18 + grep '^ii' 00:25:18 + '[' -f /tmp/packages_start.txt ']' 00:25:18 + '[' -f /tmp/packages_end.txt ']' 00:25:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:25:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1538 ']' 00:25:18 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/ 00:25:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/ [Pipeline] echo 00:25:18 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-1538/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:25:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:19 prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container 00:25:19 $ 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-1538/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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:25:19 $ docker top 0f767dc7bedfe2c8f004e6debcf8961339450e4c1b0c0b99b67d644d00daa6d8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:20 + touch /tmp/pre-build-complete [Pipeline] sh 00:25:20 + mkdir -p /var/log/sysstat [Pipeline] sh 00:25:20 + ls /var/log/sa-host 00:25:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:21 provisioning config files... 00:25:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config10527079630961625052tmp [Pipeline] { [Pipeline] echo 00:25:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:25:21 ---> create-netrc.sh [Pipeline] } 00:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:25:21 ---> python-tools-install.sh [Pipeline] echo 00:25:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:25:22 ---> sudo-logs.sh 00:25:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:25:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:25:22 ---> job-cost.sh 00:25:22 lf-activate-venv: SKIPPING 00:25:22 DEBUG: total: 0.2199999988079071 00:25:22 INFO: Retrieving Stack Cost... 00:25:22 INFO: Retrieving Pricing Info for: v3-standard-8 00:25:23 INFO: Archiving Costs [Pipeline] echo 00:25:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:25:23 ---> logs-deploy.sh 00:25:23 lf-activate-venv: SKIPPING 00:25:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1538/1 00:25:23 INFO: archiving workspace using pattern(s): 00:25:24 Archives upload complete. 00:25:24 INFO: archiving logs to Nexus