Pull request #1244 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (1da242d00a4bf6746d08dfce9433381060af1493) 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-ssh7158085292211999829.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13481086843497863684.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6623323316317911063.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5004717160625361395.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3063422887192053464.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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.18 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/v2 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-9197 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing c86f3382c5af20230a0e7f19b8225d91b13900b4 Checking out Revision c86f3382c5af20230a0e7f19b8225d91b13900b4 (PR-1244) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:15:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:15:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:15:19 ========================================================= 07:15:19 EdgeX Global Pipelines Version Info 07:15:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 > git rev-list --no-walk 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 07:15:20 ------------------- 07:15:20 stable info: 07:15:20 ------------------- 07:15:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:15:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:15:20 Message: update stable to v1.0.243 07:15:20 ------------------- 07:15:20 experimental info: 07:15:20 ------------------- 07:15:20 Commited By: **** collab-it+edgex@linuxfoundation.org 07:15:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:15:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:15:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c86f338 [Pipeline] echo 07:15:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:21 provisioning config files... 07:15:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config12158675944008433291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:21 ---> docker-login.sh 07:15:21 nexus3.edgexfoundry.org:10001 07:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:21 Configure a credential helper to remove this warning. See 07:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:21 07:15:21 Login Succeeded 07:15:21 nexus3.edgexfoundry.org:10002 07:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:22 Configure a credential helper to remove this warning. See 07:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:22 07:15:22 Login Succeeded 07:15:22 nexus3.edgexfoundry.org:10003 07:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:22 Configure a credential helper to remove this warning. See 07:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:22 07:15:22 Login Succeeded 07:15:22 nexus3.edgexfoundry.org:10004 07:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:22 Configure a credential helper to remove this warning. See 07:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:22 07:15:22 Login Succeeded 07:15:22 docker.io 07:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:22 Configure a credential helper to remove this warning. See 07:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:22 07:15:22 Login Succeeded 07:15:22 ---> docker-login.sh ends [Pipeline] } 07:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:15:23 + git rev-list -1 --merges c86f3382c5af20230a0e7f19b8225d91b13900b4~1..c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo 07:15:23 -----------> git rev-list -1 --merges c86f3382c5af20230a0e7f19b8225d91b13900b4~1..c86f3382c5af20230a0e7f19b8225d91b13900b4 c86f3382c5af20230a0e7f19b8225d91b13900b4 [false] [Pipeline] sh 07:15:23 + git log --format=format:%s -1 c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo 07:15:23 ========================================================= 07:15:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:15:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:23 + git log --format=format:%s -1 c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] echo 07:15:23 [semverPrep] GIT_COMMIT: c86f3382c5af20230a0e7f19b8225d91b13900b4, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 07:15:23 [semverPrep] This is not a build commit. [Pipeline] sh 07:15:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:24 + grep -v github /etc/ssh/ssh_known_hosts 07:15:24 + [ -e /tmp/ssh_known_hosts ] 07:15:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:15:24 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 07:15:24 tee -a /etc/ssh/ssh_known_hosts 07:15:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:24 07:15:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:24 0.1.4: Pulling from edgex-devops/py-git-semver 07:15:24 b85a868b505f: Pulling fs layer 07:15:24 e2be974225ed: Pulling fs layer 07:15:24 339a4e72a1f5: Pulling fs layer 07:15:24 988bab9f4d93: Pulling fs layer 07:15:24 1469e6f7b9e6: Pulling fs layer 07:15:24 eaf3925da568: Pulling fs layer 07:15:24 bab4dde63d76: Pulling fs layer 07:15:24 bde34c3a00c8: Pulling fs layer 07:15:24 b352a97aabf1: Pulling fs layer 07:15:24 4872d77fe225: Pulling fs layer 07:15:24 5851b861e8e6: Pulling fs layer 07:15:24 eaf3925da568: Waiting 07:15:24 bab4dde63d76: Waiting 07:15:24 4872d77fe225: Waiting 07:15:24 bde34c3a00c8: Waiting 07:15:24 5851b861e8e6: Waiting 07:15:24 b352a97aabf1: Waiting 07:15:24 988bab9f4d93: Waiting 07:15:24 1469e6f7b9e6: Waiting 07:15:24 e2be974225ed: Download complete 07:15:24 988bab9f4d93: Verifying Checksum 07:15:24 988bab9f4d93: Download complete 07:15:24 1469e6f7b9e6: Verifying Checksum 07:15:24 1469e6f7b9e6: Download complete 07:15:24 339a4e72a1f5: Verifying Checksum 07:15:24 339a4e72a1f5: Download complete 07:15:24 eaf3925da568: Verifying Checksum 07:15:24 eaf3925da568: Download complete 07:15:24 bde34c3a00c8: Verifying Checksum 07:15:24 bde34c3a00c8: Download complete 07:15:24 b352a97aabf1: Verifying Checksum 07:15:24 b352a97aabf1: Download complete 07:15:24 4872d77fe225: Verifying Checksum 07:15:24 4872d77fe225: Download complete 07:15:24 5851b861e8e6: Verifying Checksum 07:15:24 5851b861e8e6: Download complete 07:15:24 b85a868b505f: Download complete 07:15:25 bab4dde63d76: Verifying Checksum 07:15:25 bab4dde63d76: Download complete 07:15:26 b85a868b505f: Pull complete 07:15:26 e2be974225ed: Pull complete 07:15:27 339a4e72a1f5: Pull complete 07:15:27 988bab9f4d93: Pull complete 07:15:27 1469e6f7b9e6: Pull complete 07:15:27 eaf3925da568: Pull complete 07:15:29 bab4dde63d76: Pull complete 07:15:29 bde34c3a00c8: Pull complete 07:15:29 b352a97aabf1: Pull complete 07:15:29 4872d77fe225: Pull complete 07:15:29 5851b861e8e6: Pull complete 07:15:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:29 prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container 07:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:30 $ docker top 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc -eo pid,comm 07:15:30 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). 07:15:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:30 [ssh-agent] Looking for ssh-agent implementation... 07:15:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:31 $ docker exec 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent 07:15:31 SSH_AUTH_SOCK=/tmp/ssh-qPvKDqglAnQq/agent.33 07:15:31 SSH_AGENT_PID=39 07:15:31 Running ssh-add (command line suppressed) 07:15:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7055646037347990487.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7055646037347990487.key) 07:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:31 + git tag --points-at HEAD [Pipeline] } 07:15:31 $ docker exec --env ******** --env ******** 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent -k 07:15:31 unset SSH_AUTH_SOCK; 07:15:31 unset SSH_AGENT_PID; 07:15:31 echo Agent pid 39 killed; 07:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:31 [ssh-agent] Looking for ssh-agent implementation... 07:15:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:31 $ docker exec 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent 07:15:31 SSH_AUTH_SOCK=/tmp/ssh-ccEAZMuAwN4S/agent.71 07:15:31 SSH_AGENT_PID=77 07:15:31 Running ssh-add (command line suppressed) 07:15:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_15740462021847049022.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_15740462021847049022.key) 07:15:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:32 + git semver init 07:15:32 2022-10-24 07:15:32,590 [run_init] DEBUG init version:0.0.0 force:False 07:15:32 2022-10-24 07:15:32,591 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 07:15:32 2022-10-24 07:15:32,591 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 07:15:32 2022-10-24 07:15:32,591 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) 07:15:33 2022-10-24 07:15:33,576 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude 07:15:33 2022-10-24 07:15:33,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False 07:15:33 2022-10-24 07:15:33,577 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 07:15:33 2022-10-24 07:15:33,582 [execute] INFO git cat-file --batch-check 07:15:33 2022-10-24 07:15:33,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 07:15:33 2022-10-24 07:15:33,588 [execute] INFO git cat-file --batch 07:15:33 2022-10-24 07:15:33,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 07:15:33 2022-10-24 07:15:33,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 07:15:33 0.0.0 [Pipeline] } 07:15:33 $ docker exec --env ******** --env ******** 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc ssh-agent -k 07:15:33 unset SSH_AUTH_SOCK; 07:15:33 unset SSH_AGENT_PID; 07:15:33 echo Agent pid 77 killed; 07:15:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:34 + git semver [Pipeline] } 07:15:34 $ docker stop --time=1 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc 07:15:35 $ docker rm -f 9a7d333114d173c2cac974912c2d1c412c26384e3543c21c0009968043e2aedc [Pipeline] // withDockerContainer [Pipeline] sh 07:15:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:36 Stashed 1 file(s) [Pipeline] echo 07:15:36 [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 07:15:36 provisioning config files... 07:15:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15986299498523128437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:36 ---> docker-login.sh 07:15:36 nexus3.edgexfoundry.org:10001 07:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:36 Configure a credential helper to remove this warning. See 07:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:36 07:15:36 Login Succeeded 07:15:36 nexus3.edgexfoundry.org:10002 07:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 nexus3.edgexfoundry.org:10003 07:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 nexus3.edgexfoundry.org:10004 07:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 docker.io 07:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:37 Configure a credential helper to remove this warning. See 07:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:37 07:15:37 Login Succeeded 07:15:37 ---> docker-login.sh ends [Pipeline] } 07:15:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:37 ========================================================= 07:15:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:15:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:37 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 07:15:37 Sending build context to Docker daemon 10.04MB 07:15:37 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:15:37 Step 2/11 : FROM ${BASE} AS builder 07:15:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:37 213ec9aee27d: Pulling fs layer 07:15:37 4583459ba037: Pulling fs layer 07:15:37 93c1e223e6f2: Pulling fs layer 07:15:37 53926ce57604: Pulling fs layer 07:15:37 21b2b0c7a3f4: Pulling fs layer 07:15:37 30f14e443154: Pulling fs layer 07:15:37 801331c1e519: Pulling fs layer 07:15:37 99cc6dd402b0: Pulling fs layer 07:15:37 7d9ed39f4882: Pulling fs layer 07:15:37 30f14e443154: Waiting 07:15:37 801331c1e519: Waiting 07:15:37 99cc6dd402b0: Waiting 07:15:37 7d9ed39f4882: Waiting 07:15:37 53926ce57604: Waiting 07:15:37 21b2b0c7a3f4: Waiting 07:15:37 93c1e223e6f2: Verifying Checksum 07:15:37 93c1e223e6f2: Download complete 07:15:37 4583459ba037: Verifying Checksum 07:15:37 4583459ba037: Download complete 07:15:37 21b2b0c7a3f4: Verifying Checksum 07:15:37 21b2b0c7a3f4: Download complete 07:15:38 30f14e443154: Download complete 07:15:38 213ec9aee27d: Verifying Checksum 07:15:38 213ec9aee27d: Download complete 07:15:38 801331c1e519: Verifying Checksum 07:15:38 801331c1e519: Download complete 07:15:38 213ec9aee27d: Pull complete 07:15:38 4583459ba037: Pull complete 07:15:38 93c1e223e6f2: Pull complete 07:15:38 7d9ed39f4882: Verifying Checksum 07:15:38 7d9ed39f4882: Download complete 07:15:38 99cc6dd402b0: Verifying Checksum 07:15:38 99cc6dd402b0: Download complete 07:15:39 53926ce57604: Verifying Checksum 07:15:39 53926ce57604: Download complete 07:15:43 53926ce57604: Pull complete 07:15:43 21b2b0c7a3f4: Pull complete 07:15:43 30f14e443154: Pull complete 07:15:43 801331c1e519: Pull complete 07:15:45 99cc6dd402b0: Pull complete 07:15:46 7d9ed39f4882: Pull complete 07:15:46 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:15:46 ---> 1dedd983c030 07:15:46 Step 3/11 : ARG MAKE=make build 07:15:47 ---> Running in 0c6171269005 07:15:47 Removing intermediate container 0c6171269005 07:15:47 ---> 9346849f215d 07:15:47 Step 4/11 : WORKDIR /device-sdk-go 07:15:47 ---> Running in ee1e70973529 07:15:47 Removing intermediate container ee1e70973529 07:15:47 ---> 767c45076793 07:15:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:15:47 ---> Running in 64e187a21d0d 07:15:47 Removing intermediate container 64e187a21d0d 07:15:47 ---> cecacf3137f1 07:15:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:48 ---> Running in a6046674a63e 07:15:48 Removing intermediate container a6046674a63e 07:15:48 ---> 825ddfe0a781 07:15:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:15:48 ---> Running in c3a5932d205e 07:15:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:15:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:15:50 OK: 211 MiB in 51 packages 07:15:50 Removing intermediate container c3a5932d205e 07:15:50 ---> 19020da5c539 07:15:50 Step 8/11 : COPY go.mod vendor* ./ 07:15:50 ---> 23763600142f 07:15:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:50 ---> Running in 13d78a77044d 07:15:51 Still waiting to schedule task 07:15:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9194’ 07:16:08 Removing intermediate container 13d78a77044d 07:16:08 ---> 1f347a1b72a2 07:16:08 Step 10/11 : COPY . . 07:16:08 ---> 0388fa39a171 07:16:08 Step 11/11 : RUN ${MAKE} 07:16:08 ---> Running in 84ddd62835dd 07:16:08 noop 07:16:08 Removing intermediate container 84ddd62835dd 07:16:08 ---> 3edcc78515e6 07:16:08 Successfully built 3edcc78515e6 07:16:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:09 + docker inspect -f . ci-base-image-x86_64 07:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:09 prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container 07:16:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:16:09 $ docker top f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:09 + go version 07:16:09 go version go1.18.7 linux/amd64 [Pipeline] } 07:16:09 $ docker stop --time=1 f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 07:16:11 $ docker rm -f f67fc5692c4acaeea7042548fa512eca1102e706c267f50435a5dde3b7e05e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:11 + docker inspect -f . ci-base-image-x86_64 07:16:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:11 prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container 07:16:11 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:16:12 $ docker top 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh 07:16:12 + make test 07:16:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:16:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 73.1% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 07:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:16:52 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:16:52 GO111MODULE=on go vet ./... 07:16:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:55 ./bin/test-attribution-txt.sh 07:16:55 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 07:16:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:16:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:16:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 07:16:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:55 $ docker stop --time=1 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c 07:16:57 $ docker rm -f 910b78e11195755386c3c5f764f7e80359dcf12fb310c6c46f0b2b5ef79ed42c [Pipeline] // withDockerContainer [Pipeline] sh 07:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:59 + ls -al . 07:16:59 total 280 07:16:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:16 . 07:16:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:15 .. 07:16:59 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:15 .dockerignore 07:16:59 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:16 .git 07:16:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:15 .github 07:16:59 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:15 .gitignore 07:16:59 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:15 .golangci.yml 07:16:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:15 .semver 07:16:59 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:15 CHANGELOG.md 07:16:59 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:15 GOVERNANCE.md 07:16:59 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:15 Jenkinsfile 07:16:59 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:15 LICENSE 07:16:59 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:15 Makefile 07:16:59 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:15 OWNERS.md 07:16:59 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:15 README.md 07:16:59 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:15 VERSION 07:16:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:15 bin 07:16:59 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:16 coverage.out 07:16:59 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:15 example 07:16:59 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:15 go.mod 07:16:59 -rw-rw-r-- 1 jenkins jenkins 44682 Oct 24 07:15 go.sum 07:16:59 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:15 internal 07:16:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:15 openapi 07:16:59 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:15 pkg 07:16:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:15 snap 07:16:59 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:59 + 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=c86f3382c5af20230a0e7f19b8225d91b13900b4 --label arch=amd64 --label version=0.0.0 . 07:16:59 Sending build context to Docker daemon 10.15MB 07:16:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:16:59 Step 2/25 : FROM ${BASE} AS builder 07:16:59 ---> 3edcc78515e6 07:16:59 Step 3/25 : ARG MAKE=make build 07:16:59 ---> Running in bf31609b3e52 07:16:59 Removing intermediate container bf31609b3e52 07:16:59 ---> 408aefae4c17 07:16:59 Step 4/25 : WORKDIR /device-sdk-go 07:16:59 ---> Running in 8a19f4d50e6f 07:16:59 Removing intermediate container 8a19f4d50e6f 07:16:59 ---> 11b8045e9ebd 07:16:59 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:16:59 ---> Running in b4621396730e 07:16:59 Removing intermediate container b4621396730e 07:16:59 ---> f80e68dede96 07:16:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:59 ---> Running in 3fb7514db406 07:17:00 Removing intermediate container 3fb7514db406 07:17:00 ---> f9137aecaca3 07:17:00 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:17:00 ---> Running in 2e2812feb6f8 07:17:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:17:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:17:01 OK: 211 MiB in 51 packages 07:17:02 Removing intermediate container 2e2812feb6f8 07:17:02 ---> 8c22f37c872b 07:17:02 Step 8/25 : COPY go.mod vendor* ./ 07:17:02 ---> 5044f8081544 07:17:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:02 ---> Running in 2981cb8ef9ad 07:17:02 Removing intermediate container 2981cb8ef9ad 07:17:02 ---> 843fd573e72a 07:17:02 Step 10/25 : COPY . . 07:17:03 ---> f45de0688fcb 07:17:03 Step 11/25 : RUN ${MAKE} 07:17:03 ---> Running in cd844abc16fd 07:17:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:17:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:17:25 Removing intermediate container cd844abc16fd 07:17:25 ---> 35c035244729 07:17:25 Step 12/25 : FROM alpine:3.16 07:17:25 3.16: Pulling from library/alpine 07:17:25 213ec9aee27d: Already exists 07:17:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:17:25 Status: Downloaded newer image for alpine:3.16 07:17:25 ---> 9c6f07244728 07:17:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:17:25 ---> Running in 095d9796fa2a 07:17:25 Removing intermediate container 095d9796fa2a 07:17:25 ---> 569aad9fa519 07:17:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:25 ---> Running in a2aa3dda8cf5 07:17:26 Removing intermediate container a2aa3dda8cf5 07:17:26 ---> 64238b792fbb 07:17:26 Step 15/25 : RUN apk add --update --no-cache zeromq 07:17:26 ---> Running in fcdc94a7b733 07:17:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:17:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:17:28 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:17:28 (2/5) Installing libsodium (1.0.18-r0) 07:17:28 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:17:28 (4/5) Installing libzmq (4.3.4-r0) 07:17:28 (5/5) Installing zeromq (4.3.4-r0) 07:17:28 Executing busybox-1.35.0-r17.trigger 07:17:28 OK: 8 MiB in 19 packages 07:17:29 Removing intermediate container fcdc94a7b733 07:17:29 ---> 2ce23645170f 07:17:29 Step 16/25 : WORKDIR / 07:17:29 ---> Running in e0fd9a2b274b 07:17:29 Removing intermediate container e0fd9a2b274b 07:17:29 ---> bc74cf7d88ab 07:17:29 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:17:29 ---> 290077c5d0e9 07:17:29 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:17:29 ---> 0ab109484fe3 07:17:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:17:29 ---> 807ac0093bf5 07:17:29 Step 20/25 : EXPOSE 59999 07:17:29 ---> Running in 8dc3688294bd 07:17:30 Removing intermediate container 8dc3688294bd 07:17:30 ---> 7e5d0f6c1f93 07:17:30 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:17:30 ---> Running in b2b4d051e887 07:17:30 Removing intermediate container b2b4d051e887 07:17:30 ---> 11182e8ce84b 07:17:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:17:30 ---> Running in bbb93e4cce77 07:17:30 Removing intermediate container bbb93e4cce77 07:17:30 ---> f29e064b13aa 07:17:30 Step 23/25 : LABEL arch=amd64 07:17:30 ---> Running in 219f58cdfb7d 07:17:30 Removing intermediate container 219f58cdfb7d 07:17:30 ---> 38d90e9d8421 07:17:30 Step 24/25 : LABEL git_sha=c86f3382c5af20230a0e7f19b8225d91b13900b4 07:17:30 ---> Running in 17243bb0a4d9 07:17:30 Removing intermediate container 17243bb0a4d9 07:17:30 ---> 4061d18c6678 07:17:30 Step 25/25 : LABEL version=0.0.0 07:17:30 ---> Running in ba1b4e1e833e 07:17:30 Removing intermediate container ba1b4e1e833e 07:17:30 ---> dd3c20c17ce6 07:17:30 [Warning] One or more build-args [ARCH] were not consumed 07:17:30 Successfully built dd3c20c17ce6 07:17:30 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 07:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:31 07:17:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:31 latest: Pulling from edgex-lftools-log-publisher 07:17:31 5eb5b503b376: Pulling fs layer 07:17:31 5c69ac0246d0: Pulling fs layer 07:17:31 ec43610c2a17: Pulling fs layer 07:17:31 3a2ae6a8a46f: Pulling fs layer 07:17:31 3a2ae6a8a46f: Waiting 07:17:31 33b1e0a273af: Pulling fs layer 07:17:31 5d3b04190fa2: Pulling fs layer 07:17:31 2f39f015ded8: Pulling fs layer 07:17:31 33b1e0a273af: Waiting 07:17:31 5d3b04190fa2: Waiting 07:17:31 2f39f015ded8: Waiting 07:17:31 5c69ac0246d0: Verifying Checksum 07:17:31 5c69ac0246d0: Download complete 07:17:31 3a2ae6a8a46f: Verifying Checksum 07:17:31 3a2ae6a8a46f: Download complete 07:17:31 33b1e0a273af: Verifying Checksum 07:17:31 33b1e0a273af: Download complete 07:17:31 5d3b04190fa2: Verifying Checksum 07:17:31 5d3b04190fa2: Download complete 07:17:31 ec43610c2a17: Verifying Checksum 07:17:31 ec43610c2a17: Download complete 07:17:31 5eb5b503b376: Download complete 07:17:32 2f39f015ded8: Download complete 07:17:33 5eb5b503b376: Pull complete 07:17:33 5c69ac0246d0: Pull complete 07:17:33 ec43610c2a17: Pull complete 07:17:33 3a2ae6a8a46f: Pull complete 07:17:34 33b1e0a273af: Pull complete 07:17:34 5d3b04190fa2: Pull complete 07:17:39 2f39f015ded8: Pull complete 07:17:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:39 prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container 07:17:39 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:17:41 $ docker top eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:41 ---> job-cost.sh 07:17:41 lf-activate-venv: SKIPPING 07:17:41 INFO: No Stack... 07:17:42 INFO: Retrieving Pricing Info for: v3-standard-8 07:17:42 INFO: Archiving Costs [Pipeline] sh 07:17:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv 07:17:42 + cut -d, -f6 [Pipeline] lock 07:17:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] 07:17:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] did not exist. Created. 07:17:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:17:43 + echo total: 0.2199999988079071 [Pipeline] stash 07:17:43 Stashed 1 file(s) [Pipeline] } 07:17:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:17:43 $ docker stop --time=1 eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 07:17:44 $ docker rm -f eae4cedb8e6936e5c0f78a44de8fc1f0371bcef5ca2dce596d30b64008fdd1f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:18:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9199 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws 07:18:55 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:18:55 The recommended git tool is: git 07:19:01 using credential edgex-jenkins-ssh 07:19:01 Cloning the remote Git repository 07:19:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:19:01 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:19:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:01 > git --version # timeout=10 07:19:01 > git --version # 'git version 2.25.1' 07:19:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:01 Verifying host key using known hosts file 07:19:01 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:19:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:04 Verifying host key using known hosts file 07:19:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:19:05 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 07:19:05 Merge succeeded, producing c86f3382c5af20230a0e7f19b8225d91b13900b4 07:19:05 Checking out Revision c86f3382c5af20230a0e7f19b8225d91b13900b4 (PR-1244) 07:19:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:19:05 > git config core.sparsecheckout # timeout=10 07:19:05 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 07:19:05 > git remote # timeout=10 07:19:05 > git config --get remote.origin.url # timeout=10 07:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:05 Verifying host key using known hosts file 07:19:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:19:05 > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 07:19:05 > git rev-parse HEAD^{commit} # timeout=10 07:19:05 > git config core.sparsecheckout # timeout=10 07:19:05 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 07:19:05 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:19:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:06 Dload Upload Total Spent Left Speed 07:19:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 07:19:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:19:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:19:07 + sudo tee /etc/docker/daemon.new 07:19:13 { 07:19:13 "registry-mirrors": [ 07:19:13 "https://nexus3.edgexfoundry.org:10001" 07:19:13 ], 07:19:13 "bip": "10.250.0.254/24", 07:19:13 "hosts": [ 07:19:13 "tcp://0.0.0.0:5555", 07:19:13 "unix:///var/run/docker.sock" 07:19:13 ], 07:19:13 "mtu": 1458, 07:19:13 "selinux-enabled": true, 07:19:13 "seccomp-profile": "/etc/docker/seccomp.json" 07:19:13 } [Pipeline] sh 07:19:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:19:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:32 provisioning config files... 07:19:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config666551129376143265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:32 ---> docker-login.sh 07:19:32 nexus3.edgexfoundry.org:10001 07:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:32 Configure a credential helper to remove this warning. See 07:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:32 07:19:32 Login Succeeded 07:19:32 nexus3.edgexfoundry.org:10002 07:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:33 Configure a credential helper to remove this warning. See 07:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:33 07:19:33 Login Succeeded 07:19:33 nexus3.edgexfoundry.org:10003 07:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:33 Configure a credential helper to remove this warning. See 07:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:33 07:19:33 Login Succeeded 07:19:33 nexus3.edgexfoundry.org:10004 07:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:34 Configure a credential helper to remove this warning. See 07:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:34 07:19:34 Login Succeeded 07:19:34 docker.io 07:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:34 Configure a credential helper to remove this warning. See 07:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:34 07:19:34 Login Succeeded 07:19:34 ---> docker-login.sh ends [Pipeline] } 07:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:34 ========================================================= 07:19:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:19:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:35 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 07:19:35 Sending build context to Docker daemon 5.399MB 07:19:35 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:19:35 Step 2/11 : FROM ${BASE} AS builder 07:19:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:19:35 9b18e9b68314: Pulling fs layer 07:19:35 d32db5db7311: Pulling fs layer 07:19:35 d0c4b47475fc: Pulling fs layer 07:19:35 5831b945b038: Pulling fs layer 07:19:35 86bbec2aaacd: Pulling fs layer 07:19:35 e10730c5d714: Pulling fs layer 07:19:35 5dd5c2283517: Pulling fs layer 07:19:35 d5ac0230b979: Pulling fs layer 07:19:35 e10730c5d714: Waiting 07:19:35 5dd5c2283517: Waiting 07:19:35 d5ac0230b979: Waiting 07:19:35 86bbec2aaacd: Waiting 07:19:35 5831b945b038: Waiting 07:19:35 d0c4b47475fc: Verifying Checksum 07:19:35 d0c4b47475fc: Download complete 07:19:35 d32db5db7311: Verifying Checksum 07:19:35 d32db5db7311: Download complete 07:19:35 86bbec2aaacd: Download complete 07:19:35 e10730c5d714: Verifying Checksum 07:19:35 e10730c5d714: Download complete 07:19:35 9b18e9b68314: Verifying Checksum 07:19:36 9b18e9b68314: Pull complete 07:19:36 d5ac0230b979: Verifying Checksum 07:19:36 d5ac0230b979: Download complete 07:19:37 d32db5db7311: Pull complete 07:19:37 d0c4b47475fc: Pull complete 07:19:38 5dd5c2283517: Verifying Checksum 07:19:38 5dd5c2283517: Download complete 07:19:39 5831b945b038: Verifying Checksum 07:19:39 5831b945b038: Download complete 07:19:51 5831b945b038: Pull complete 07:19:51 86bbec2aaacd: Pull complete 07:19:51 e10730c5d714: Pull complete 07:19:58 5dd5c2283517: Pull complete 07:20:00 d5ac0230b979: Pull complete 07:20:00 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:20:00 ---> 59b3b1a385d4 07:20:00 Step 3/11 : ARG MAKE=make build 07:20:02 ---> Running in 505c5c17b52a 07:20:03 Removing intermediate container 505c5c17b52a 07:20:03 ---> 73ed0726b3aa 07:20:03 Step 4/11 : WORKDIR /device-sdk-go 07:20:03 ---> Running in e53c29564f94 07:20:03 Removing intermediate container e53c29564f94 07:20:03 ---> c3e865fdd5bf 07:20:03 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:20:03 ---> Running in 1409d18d5d8d 07:20:03 Removing intermediate container 1409d18d5d8d 07:20:03 ---> c086214d2ecb 07:20:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:04 ---> Running in 4e422df1e63e 07:20:06 Removing intermediate container 4e422df1e63e 07:20:06 ---> d5c28c6a5e54 07:20:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:20:06 ---> Running in 2573143700d1 07:20:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:20:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:20:09 OK: 221 MiB in 51 packages 07:20:11 Removing intermediate container 2573143700d1 07:20:11 ---> 6407fc09248e 07:20:11 Step 8/11 : COPY go.mod vendor* ./ 07:20:11 ---> 58fd7c738d06 07:20:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:11 ---> Running in 70f026de08dd 07:21:08 Removing intermediate container 70f026de08dd 07:21:08 ---> f9da13ada4e0 07:21:08 Step 10/11 : COPY . . 07:21:08 ---> cb649e024637 07:21:08 Step 11/11 : RUN ${MAKE} 07:21:08 ---> Running in 0639e13c7971 07:21:08 noop 07:21:08 Removing intermediate container 0639e13c7971 07:21:08 ---> dd36b3552db6 07:21:08 Successfully built dd36b3552db6 07:21:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:08 + docker inspect -f . ci-base-image-arm64 07:21:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:08 prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container 07:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:21:10 $ docker top b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:11 + go version 07:21:11 go version go1.18.7 linux/arm64 [Pipeline] } 07:21:11 $ docker stop --time=1 b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 07:21:12 $ docker rm -f b5907e7e49ea74350e06c2b52ad496947d721cc66a44fe0ba0c99e98bf653228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:13 + docker inspect -f . ci-base-image-arm64 07:21:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:13 prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container 07:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:21:14 $ docker top 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 07:21:16 + make test 07:21:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:21:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:24:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:24:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:24:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:24:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:24:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:24:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.303s coverage: 27.6% of statements 07:24:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.294s coverage: 78.9% of statements 07:24:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 07:24:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.489s coverage: 73.1% of statements 07:24:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:24:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:24:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.573s coverage: 54.4% of statements 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:24:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:24:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.912s coverage: 89.2% of statements 07:24:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:24:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.277s coverage: 4.7% of statements 07:24:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:24:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:24:39 GO111MODULE=on go vet ./... 07:26:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:26:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:26:15 ./bin/test-attribution-txt.sh 07:26:15 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 07:26:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:26:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:26:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 07:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:26:15 $ docker stop --time=1 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 07:26:17 $ docker rm -f 399d4670cb326f84a1984d649ca60ee21962a0cc7f75c496556e9eacd4e3c192 [Pipeline] // withDockerContainer [Pipeline] sh 07:26:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:26:19 Warning: overwriting stash ‘coverage-report’ 07:26:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:26:20 + ls -al . 07:26:20 total 276 07:26:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:21 . 07:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:19 .. 07:26:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:19 .dockerignore 07:26:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:19 .git 07:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:19 .github 07:26:20 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:19 .gitignore 07:26:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:19 .golangci.yml 07:26:20 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:19 CHANGELOG.md 07:26:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:19 GOVERNANCE.md 07:26:20 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:19 Jenkinsfile 07:26:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:19 LICENSE 07:26:20 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:19 Makefile 07:26:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:19 OWNERS.md 07:26:20 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:19 README.md 07:26:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:15 VERSION 07:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:19 bin 07:26:20 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:24 coverage.out 07:26:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:19 example 07:26:20 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:19 go.mod 07:26:20 -rw-rw-r-- 1 jenkins jenkins 44682 Oct 24 07:19 go.sum 07:26:20 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:19 internal 07:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:19 openapi 07:26:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:19 pkg 07:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:19 snap 07:26:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26: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=c86f3382c5af20230a0e7f19b8225d91b13900b4 --label arch=arm64 --label version=0.0.0 . 07:26:20 Sending build context to Docker daemon 5.501MB 07:26:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:26:21 Step 2/25 : FROM ${BASE} AS builder 07:26:21 ---> dd36b3552db6 07:26:21 Step 3/25 : ARG MAKE=make build 07:26:21 ---> Running in 51a4306fdade 07:26:21 Removing intermediate container 51a4306fdade 07:26:21 ---> 1e8c41a35bb7 07:26:21 Step 4/25 : WORKDIR /device-sdk-go 07:26:21 ---> Running in 74ecf936c2b2 07:26:22 Removing intermediate container 74ecf936c2b2 07:26:22 ---> add96ece6fd8 07:26:22 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:26:22 ---> Running in 798888f4b20d 07:26:22 Removing intermediate container 798888f4b20d 07:26:22 ---> 76e61a82836f 07:26:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:26:22 ---> Running in 9499025ee42d 07:26:24 Removing intermediate container 9499025ee42d 07:26:24 ---> aa05e0775a94 07:26:24 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:26:24 ---> Running in c3ec1250c686 07:26:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:26:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:26:27 OK: 221 MiB in 51 packages 07:26:28 Removing intermediate container c3ec1250c686 07:26:28 ---> 0b6ae0efb397 07:26:28 Step 8/25 : COPY go.mod vendor* ./ 07:26:28 ---> 8a13a84978dd 07:26:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:26:28 ---> Running in 343ef23622c2 07:26:30 Removing intermediate container 343ef23622c2 07:26:30 ---> bd46861b8a19 07:26:30 Step 10/25 : COPY . . 07:26:31 ---> d6f4dd6a8a31 07:26:31 Step 11/25 : RUN ${MAKE} 07:26:31 ---> Running in 59914928e190 07:26:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:28:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:28:54 Removing intermediate container 59914928e190 07:28:54 ---> d43dcb46d921 07:28:54 Step 12/25 : FROM alpine:3.16 07:28:54 3.16: Pulling from library/alpine 07:28:54 9b18e9b68314: Already exists 07:28:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:28:54 Status: Downloaded newer image for alpine:3.16 07:28:54 ---> a6215f271958 07:28:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:28:54 ---> Running in cf9194eddf20 07:28:54 Removing intermediate container cf9194eddf20 07:28:54 ---> 45ae707fe127 07:28:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:54 ---> Running in a8905709afe9 07:28:54 Removing intermediate container a8905709afe9 07:28:54 ---> 748641e55811 07:28:54 Step 15/25 : RUN apk add --update --no-cache zeromq 07:28:54 ---> Running in 6ecb7789c285 07:28:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:28:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:28:56 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:28:56 (2/5) Installing libsodium (1.0.18-r0) 07:28:56 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:28:57 (4/5) Installing libzmq (4.3.4-r0) 07:28:57 (5/5) Installing zeromq (4.3.4-r0) 07:28:57 Executing busybox-1.35.0-r17.trigger 07:28:57 OK: 8 MiB in 19 packages 07:28:58 Removing intermediate container 6ecb7789c285 07:28:58 ---> f29844619aea 07:28:58 Step 16/25 : WORKDIR / 07:28:58 ---> Running in 0f569da28d50 07:28:58 Removing intermediate container 0f569da28d50 07:28:58 ---> 258737960f74 07:28:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:28:59 ---> 38bb4bb8b1a4 07:28:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:29:00 ---> ce58a7b729be 07:29:00 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:29:01 ---> 911b0ef14788 07:29:01 Step 20/25 : EXPOSE 59999 07:29:01 ---> Running in 82ef1f04a50e 07:29:01 Removing intermediate container 82ef1f04a50e 07:29:01 ---> a580defafe26 07:29:01 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:29:01 ---> Running in b1ca699c4e12 07:29:01 Removing intermediate container b1ca699c4e12 07:29:01 ---> 20f874de3930 07:29:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:29:01 ---> Running in 6f6e6fc240c9 07:29:02 Removing intermediate container 6f6e6fc240c9 07:29:02 ---> 308b598b1c18 07:29:02 Step 23/25 : LABEL arch=arm64 07:29:02 ---> Running in 303be51ad539 07:29:02 Removing intermediate container 303be51ad539 07:29:02 ---> 7b0ecb68e44e 07:29:02 Step 24/25 : LABEL git_sha=c86f3382c5af20230a0e7f19b8225d91b13900b4 07:29:02 ---> Running in 42a43bb97534 07:29:02 Removing intermediate container 42a43bb97534 07:29:02 ---> 4ca77a6f09c5 07:29:02 Step 25/25 : LABEL version=0.0.0 07:29:02 ---> Running in a1b36d965402 07:29:03 Removing intermediate container a1b36d965402 07:29:03 ---> df2e83c6c8b2 07:29:03 [Warning] One or more build-args [ARCH] were not consumed 07:29:03 Successfully built df2e83c6c8b2 07:29:03 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 07:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:03 07:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:03 arm64: Pulling from edgex-lftools-log-publisher 07:29:03 8998bd30e6a1: Pulling fs layer 07:29:03 04944245beec: Pulling fs layer 07:29:03 699f458cf7ca: Pulling fs layer 07:29:03 765212b225bb: Pulling fs layer 07:29:03 f23df028b6ca: Pulling fs layer 07:29:03 d65c8cfc05b1: Pulling fs layer 07:29:03 2437ff75d9bd: Pulling fs layer 07:29:03 765212b225bb: Waiting 07:29:03 f23df028b6ca: Waiting 07:29:03 d65c8cfc05b1: Waiting 07:29:03 2437ff75d9bd: Waiting 07:29:04 04944245beec: Verifying Checksum 07:29:04 04944245beec: Download complete 07:29:04 765212b225bb: Verifying Checksum 07:29:04 765212b225bb: Download complete 07:29:04 f23df028b6ca: Download complete 07:29:04 d65c8cfc05b1: Verifying Checksum 07:29:04 d65c8cfc05b1: Download complete 07:29:04 699f458cf7ca: Verifying Checksum 07:29:04 699f458cf7ca: Download complete 07:29:04 8998bd30e6a1: Verifying Checksum 07:29:04 8998bd30e6a1: Download complete 07:29:07 2437ff75d9bd: Verifying Checksum 07:29:07 2437ff75d9bd: Download complete 07:29:08 8998bd30e6a1: Pull complete 07:29:09 04944245beec: Pull complete 07:29:10 699f458cf7ca: Pull complete 07:29:10 765212b225bb: Pull complete 07:29:11 f23df028b6ca: Pull complete 07:29:11 d65c8cfc05b1: Pull complete 07:29:26 2437ff75d9bd: Pull complete 07:29:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:26 prd-ubuntu20.04-docker-arm64-4c-16g-9199 does not seem to be running inside a container 07:29:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:29:29 $ docker top 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:30 ---> job-cost.sh 07:29:30 lf-activate-venv: SKIPPING 07:29:30 INFO: No Stack... 07:29:30 INFO: Retrieving Pricing Info for: v3-standard-4 07:29:31 INFO: Archiving Costs [Pipeline] sh 07:29:31 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 07:29:31 + cut -d, -f6 [Pipeline] lock 07:29:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] 07:29:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] did not exist. Created. 07:29:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:29:32 /w/workspace/device-sdk-go/2@tmp/durable-24cae7b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:29:32 + echo total: 0.10999999940395355 [Pipeline] stash 07:29:32 Warning: overwriting stash ‘stack-cost’ 07:29:32 Stashed 1 file(s) [Pipeline] } 07:29:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:29:32 $ docker stop --time=1 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b 07:29:34 $ docker rm -f 0ea9be493aac252dacc9724a52276f05120dd168d64f57c2850e050beb3c311b [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 07:29:34 provisioning config files... 07:29:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9889649302596747135tmp [Pipeline] { [Pipeline] sh 07:29:34 + set +x 07:29:34 + curl -s https://codecov.io/bash 07:29:34 + bash -s -- 07:29:34 07:29:34 _____ _ 07:29:34 / ____| | | 07:29:34 | | ___ __| | ___ ___ _____ __ 07:29:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:29:34 | |___| (_) | (_| | __/ (_| (_) \ V / 07:29:34 \_____\___/ \__,_|\___|\___\___/ \_/ 07:29:34 Bash-1.0.6 07:29:34 07:29:34 07:29:34 ==> git version 2.25.1 found 07:29:34 ==> 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 07:29:34 Release-Date: 2020-01-08 07:29:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:29:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:29:34 ==> Jenkins CI detected. 07:29:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 07:29:34 project root: . 07:29:34 --> token set from env 07:29:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:29:34 ==> Running gcov in . (disable via -X gcov) 07:29:34 ==> Python coveragepy not found 07:29:34 ==> Searching for coverage reports in: 07:29:34 + . 07:29:34 -> Found 1 reports 07:29:34 ==> Detecting git/mercurial file structure 07:29:34 ==> Reading reports 07:29:34 + ./coverage.out bytes=101759 07:29:34 ==> Appending adjustments 07:29:34 https://docs.codecov.io/docs/fixing-reports 07:29:35 + Found adjustments 07:29:35 ==> Gzipping contents 07:29:35 16K /tmp/codecov.090iXm.gz 07:29:35 ==> Uploading reports 07:29:35 url: https://codecov.io 07:29:35 query: branch=PR-1244&commit=c86f3382c5af20230a0e7f19b8225d91b13900b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 07:29:35 -> Pinging Codecov 07:29:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=c86f3382c5af20230a0e7f19b8225d91b13900b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 07:29:35 -> Uploading to 07:29:35 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/c86f3382c5af20230a0e7f19b8225d91b13900b4/b6f1d2c6-1988-4b43-a7d9-e0fc390fc15e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T072935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ce865e3adcbe6065817329a4043222397084219e4f4652988ceeffb0cfd51ed 07:29:35 % Total % Received % Xferd Average Speed Time Time Time Current 07:29:35 Dload Upload Total Spent Left Speed 07:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14733 0 0 100 14733 0 67582 --:--:-- --:--:-- --:--:-- 67582 07:29:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] } 07:29:35 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 07:29:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] 07:29:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 07:29:36 total 16 07:29:36 drwxr-xr-x 3 root root 4096 Oct 24 07:17 . 07:29:36 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:17 .. 07:29:36 drwxr-xr-x 2 root root 4096 Oct 24 07:17 cost 07:29:36 -rw-r--r-- 1 root root 86 Oct 24 07:17 cost.csv 07:29:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 07:29:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 07:29:36 total 16 07:29:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:17 . 07:29:36 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:17 .. 07:29:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:17 cost 07:29:36 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:29:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:29:37 ---> package-listing.sh 07:29:37 ++ facter osfamily 07:29:37 ++ tr '[:upper:]' '[:lower:]' 07:29:38 + OS_FAMILY=debian 07:29:38 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 07:29:38 + START_PACKAGES=/tmp/packages_start.txt 07:29:38 + END_PACKAGES=/tmp/packages_end.txt 07:29:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:29:38 + PACKAGES=/tmp/packages_start.txt 07:29:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 07:29:38 + PACKAGES=/tmp/packages_end.txt 07:29:38 + case "${OS_FAMILY}" in 07:29:38 + dpkg -l 07:29:38 + grep '^ii' 07:29:38 + '[' -f /tmp/packages_start.txt ']' 07:29:38 + '[' -f /tmp/packages_end.txt ']' 07:29:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:29:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 07:29:38 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ 07:29:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo 07:29:38 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:29:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:38 prd-ubuntu20.04-docker-8c-8g-9197 does not seem to be running inside a container 07:29:38 $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 07:29:39 $ docker top 60ecad1cb9ae1357e490883cd6f970d3f9ec062fb345467f598aeeb3354ccf36 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:39 + touch /tmp/pre-build-complete [Pipeline] sh 07:29:39 + mkdir -p /var/log/sysstat [Pipeline] sh 07:29:40 + ls /var/log/sa-host 07:29:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:40 provisioning config files... 07:29:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15628136535359737492tmp [Pipeline] { [Pipeline] echo 07:29:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:29:40 ---> create-netrc.sh [Pipeline] } 07:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:29:40 ---> python-tools-install.sh [Pipeline] echo 07:29:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:29:41 ---> sudo-logs.sh 07:29:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:29:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:29:41 ---> job-cost.sh 07:29:41 lf-activate-venv: SKIPPING 07:29:41 DEBUG: total: 0.2199999988079071 07:29:41 INFO: Retrieving Stack Cost... 07:29:41 INFO: Retrieving Pricing Info for: v3-standard-8 07:29:42 INFO: Archiving Costs [Pipeline] echo 07:29:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:29:42 ---> logs-deploy.sh 07:29:42 lf-activate-venv: SKIPPING 07:29:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/2 07:29:42 INFO: archiving workspace using pattern(s): 07:29:43 Archives upload complete. 07:29:43 INFO: archiving logs to Nexus