Pull request #1256 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b06b16b52e9c0a9908edac663519e507ae5ee55d+0b0fd8621743a303648e9248d2aa1db21f4d7aab (ca9d88050219b0de0ca403250fc0f78d32205825) 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-ssh15609589059870391758.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-ssh8165652488971750660.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7528588800221369723.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1256/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6965328066842007240.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16656813582282249038.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1256/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1256/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16151195907872783673.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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-117808 in /w/workspace/gexfoundry_device-sdk-go_PR-1256 [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-1256 # 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/1256/head:refs/remotes/origin/PR-1256 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit b06b16b52e9c0a9908edac663519e507ae5ee55d Merge succeeded, producing b06b16b52e9c0a9908edac663519e507ae5ee55d Checking out Revision b06b16b52e9c0a9908edac663519e507ae5ee55d (PR-1256) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # 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 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:23 ========================================================= 04:06:23 EdgeX Global Pipelines Version Info 04:06:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:24 ------------------- 04:06:24 stable info: 04:06:24 ------------------- 04:06:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:24 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:06:24 Message: update stable to v1.0.243 04:06:25 ------------------- 04:06:25 experimental info: 04:06:25 ------------------- 04:06:25 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:25 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:06:25 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1256 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1256 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1256 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b06b16b [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:26 provisioning config files... 04:06:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config12488470235521736093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:27 ---> docker-login.sh 04:06:27 nexus3.edgexfoundry.org:10001 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 nexus3.edgexfoundry.org:10002 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 nexus3.edgexfoundry.org:10003 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 nexus3.edgexfoundry.org:10004 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 docker.io 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 ---> docker-login.sh ends [Pipeline] } 04:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:29 + git rev-list -1 --merges b06b16b52e9c0a9908edac663519e507ae5ee55d~1..b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo 04:06:29 -----------> git rev-list -1 --merges b06b16b52e9c0a9908edac663519e507ae5ee55d~1..b06b16b52e9c0a9908edac663519e507ae5ee55d b06b16b52e9c0a9908edac663519e507ae5ee55d [false] [Pipeline] sh 04:06:29 + git log --format=format:%s -1 b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo 04:06:29 ========================================================= 04:06:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:30 + git log --format=format:%s -1 b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] echo 04:06:30 [semverPrep] GIT_COMMIT: b06b16b52e9c0a9908edac663519e507ae5ee55d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 04:06:30 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:30 + grep -v github /etc/ssh/ssh_known_hosts 04:06:30 + [ -e /tmp/ssh_known_hosts ] 04:06:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:30 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:31 04:06:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:31 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:31 b85a868b505f: Pulling fs layer 04:06:31 e2be974225ed: Pulling fs layer 04:06:31 339a4e72a1f5: Pulling fs layer 04:06:31 988bab9f4d93: Pulling fs layer 04:06:31 1469e6f7b9e6: Pulling fs layer 04:06:31 eaf3925da568: Pulling fs layer 04:06:31 bab4dde63d76: Pulling fs layer 04:06:31 bde34c3a00c8: Pulling fs layer 04:06:31 b352a97aabf1: Pulling fs layer 04:06:31 4872d77fe225: Pulling fs layer 04:06:31 5851b861e8e6: Pulling fs layer 04:06:31 1469e6f7b9e6: Waiting 04:06:31 eaf3925da568: Waiting 04:06:31 bab4dde63d76: Waiting 04:06:31 4872d77fe225: Waiting 04:06:31 bde34c3a00c8: Waiting 04:06:31 b352a97aabf1: Waiting 04:06:31 5851b861e8e6: Waiting 04:06:31 988bab9f4d93: Waiting 04:06:31 e2be974225ed: Download complete 04:06:31 988bab9f4d93: Verifying Checksum 04:06:31 988bab9f4d93: Download complete 04:06:31 339a4e72a1f5: Verifying Checksum 04:06:31 339a4e72a1f5: Download complete 04:06:31 1469e6f7b9e6: Download complete 04:06:31 eaf3925da568: Verifying Checksum 04:06:31 eaf3925da568: Download complete 04:06:31 bde34c3a00c8: Download complete 04:06:31 b352a97aabf1: Download complete 04:06:31 4872d77fe225: Verifying Checksum 04:06:31 4872d77fe225: Download complete 04:06:31 5851b861e8e6: Verifying Checksum 04:06:31 5851b861e8e6: Download complete 04:06:31 b85a868b505f: Verifying Checksum 04:06:31 b85a868b505f: Download complete 04:06:32 bab4dde63d76: Verifying Checksum 04:06:32 bab4dde63d76: Download complete 04:06:33 b85a868b505f: Pull complete 04:06:33 e2be974225ed: Pull complete 04:06:34 339a4e72a1f5: Pull complete 04:06:34 988bab9f4d93: Pull complete 04:06:34 1469e6f7b9e6: Pull complete 04:06:35 eaf3925da568: Pull complete 04:06:37 bab4dde63d76: Pull complete 04:06:37 bde34c3a00c8: Pull complete 04:06:37 b352a97aabf1: Pull complete 04:06:38 4872d77fe225: Pull complete 04:06:38 5851b861e8e6: Pull complete 04:06:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:06:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:39 prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container 04:06:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:44 $ docker top 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 -eo pid,comm 04:06:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:06:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:44 [ssh-agent] Looking for ssh-agent implementation... 04:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:45 $ docker exec 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent 04:06:45 SSH_AUTH_SOCK=/tmp/ssh-K6go2BxAx0sw/agent.31 04:06:45 SSH_AGENT_PID=38 04:06:45 Running ssh-add (command line suppressed) 04:06:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_15488118612730094257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_15488118612730094257.key) 04:06:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:45 + git tag --points-at HEAD [Pipeline] } 04:06:45 $ docker exec --env ******** --env ******** 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent -k 04:06:45 unset SSH_AUTH_SOCK; 04:06:45 unset SSH_AGENT_PID; 04:06:45 echo Agent pid 38 killed; 04:06:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:45 [ssh-agent] Looking for ssh-agent implementation... 04:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:45 $ docker exec 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent 04:06:46 SSH_AUTH_SOCK=/tmp/ssh-xmfv9QguMW9f/agent.70 04:06:46 SSH_AGENT_PID=76 04:06:46 Running ssh-add (command line suppressed) 04:06:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_8333203208114952787.key (/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/private_key_8333203208114952787.key) 04:06:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:46 + git semver init 04:06:46 2022-11-02 04:06:46,737 [run_init] DEBUG init version:0.0.0 force:False 04:06:46 2022-11-02 04:06:46,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver 04:06:46 2022-11-02 04:06:46,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver 04:06:46 2022-11-02 04:06:46,740 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256, universal_newlines=False, shell=None, istream=None) 04:06:48 2022-11-02 04:06:47,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.git/info/exclude 04:06:48 2022-11-02 04:06:47,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 with force:False 04:06:48 2022-11-02 04:06:47,778 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 04:06:48 2022-11-02 04:06:47,783 [execute] INFO git cat-file --batch-check 04:06:48 2022-11-02 04:06:47,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver, universal_newlines=False, shell=None, istream=) 04:06:48 2022-11-02 04:06:47,790 [execute] INFO git cat-file --batch 04:06:48 2022-11-02 04:06:47,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver, universal_newlines=False, shell=None, istream=) 04:06:48 2022-11-02 04:06:47,796 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1256/.semver/PR-1256 04:06:48 0.0.0 [Pipeline] } 04:06:48 $ docker exec --env ******** --env ******** 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 ssh-agent -k 04:06:48 unset SSH_AUTH_SOCK; 04:06:48 unset SSH_AGENT_PID; 04:06:48 echo Agent pid 76 killed; 04:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:48 + git semver [Pipeline] } 04:06:49 $ docker stop --time=1 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 04:06:50 $ docker rm -f 09f60dad1da383a90712d7451676c07b24ac0ebaaf8c7d9314d0f08f7d8251a3 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:50 Stashed 1 file(s) [Pipeline] echo 04:06:51 [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 04:06:51 provisioning config files... 04:06:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config18148014776581553368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:52 ---> docker-login.sh 04:06:52 nexus3.edgexfoundry.org:10001 04:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:52 Configure a credential helper to remove this warning. See 04:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:52 04:06:52 Login Succeeded 04:06:52 nexus3.edgexfoundry.org:10002 04:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:52 Configure a credential helper to remove this warning. See 04:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:52 04:06:52 Login Succeeded 04:06:52 nexus3.edgexfoundry.org:10003 04:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:52 Configure a credential helper to remove this warning. See 04:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:52 04:06:52 Login Succeeded 04:06:52 nexus3.edgexfoundry.org:10004 04:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:52 Configure a credential helper to remove this warning. See 04:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:52 04:06:52 Login Succeeded 04:06:52 docker.io 04:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:52 Configure a credential helper to remove this warning. See 04:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:52 04:06:52 Login Succeeded 04:06:52 ---> docker-login.sh ends [Pipeline] } 04:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:53 ========================================================= 04:06:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:06:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:53 + 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 . 04:06:53 Sending build context to Docker daemon 10.13MB 04:06:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:06:53 Step 2/10 : FROM ${BASE} AS builder 04:06:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:53 213ec9aee27d: Pulling fs layer 04:06:53 4583459ba037: Pulling fs layer 04:06:53 93c1e223e6f2: Pulling fs layer 04:06:53 53926ce57604: Pulling fs layer 04:06:53 21b2b0c7a3f4: Pulling fs layer 04:06:53 30f14e443154: Pulling fs layer 04:06:53 801331c1e519: Pulling fs layer 04:06:53 99cc6dd402b0: Pulling fs layer 04:06:53 7d9ed39f4882: Pulling fs layer 04:06:53 53926ce57604: Waiting 04:06:53 21b2b0c7a3f4: Waiting 04:06:53 801331c1e519: Waiting 04:06:53 99cc6dd402b0: Waiting 04:06:53 7d9ed39f4882: Waiting 04:06:53 30f14e443154: Waiting 04:06:53 93c1e223e6f2: Verifying Checksum 04:06:53 93c1e223e6f2: Download complete 04:06:53 4583459ba037: Verifying Checksum 04:06:53 4583459ba037: Download complete 04:06:53 21b2b0c7a3f4: Verifying Checksum 04:06:53 21b2b0c7a3f4: Download complete 04:06:53 30f14e443154: Verifying Checksum 04:06:53 30f14e443154: Download complete 04:06:53 213ec9aee27d: Verifying Checksum 04:06:53 213ec9aee27d: Download complete 04:06:53 801331c1e519: Verifying Checksum 04:06:53 801331c1e519: Download complete 04:06:53 213ec9aee27d: Pull complete 04:06:54 4583459ba037: Pull complete 04:06:54 93c1e223e6f2: Pull complete 04:06:54 7d9ed39f4882: Download complete 04:06:54 99cc6dd402b0: Verifying Checksum 04:06:54 99cc6dd402b0: Download complete 04:06:54 53926ce57604: Verifying Checksum 04:06:54 53926ce57604: Download complete 04:06:58 53926ce57604: Pull complete 04:06:58 21b2b0c7a3f4: Pull complete 04:06:58 30f14e443154: Pull complete 04:06:58 801331c1e519: Pull complete 04:07:01 99cc6dd402b0: Pull complete 04:07:01 7d9ed39f4882: Pull complete 04:07:01 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:07:01 ---> 1dedd983c030 04:07:01 Step 3/10 : ARG MAKE=make build 04:07:06 Still waiting to schedule task 04:07:06 ‘prd-centos7-blackbox-4c-2g-117564’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:07:06 ‘prd-centos7-builder-2c-1g-117801’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:07:06 ‘prd-ubuntu20.04-docker-8c-8g-117800’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:07:06 ‘prd-ubuntu20.04-docker-8c-8g-117811’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:07:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117814’ is offline 04:07:10 ---> Running in d351b014d98d 04:07:10 Removing intermediate container d351b014d98d 04:07:10 ---> fea3f7da892b 04:07:10 Step 4/10 : WORKDIR /device-sdk-go 04:07:10 ---> Running in 455c58ada888 04:07:10 Removing intermediate container 455c58ada888 04:07:10 ---> 7b24c065710f 04:07:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:10 ---> Running in d57d844556de 04:07:10 Removing intermediate container d57d844556de 04:07:10 ---> d33f543a8d62 04:07:10 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:10 ---> Running in 83a980e6eb8f 04:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:10 OK: 211 MiB in 51 packages 04:07:11 Removing intermediate container 83a980e6eb8f 04:07:11 ---> cae3bb664e9a 04:07:11 Step 7/10 : COPY go.mod vendor* ./ 04:07:11 ---> 90f77fbc9f04 04:07:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:11 ---> Running in 46b880246b12 04:07:43 Removing intermediate container 46b880246b12 04:07:43 ---> 27f64505f226 04:07:43 Step 9/10 : COPY . . 04:07:43 ---> 5530b163530c 04:07:43 Step 10/10 : RUN ${MAKE} 04:07:43 ---> Running in 7e96ce294c13 04:07:43 noop 04:07:43 Removing intermediate container 7e96ce294c13 04:07:43 ---> 3426268d66fa 04:07:43 Successfully built 3426268d66fa 04:07:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:43 + docker inspect -f . ci-base-image-x86_64 04:07:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:44 prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container 04:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@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 ******** ci-base-image-x86_64 cat 04:07:44 $ docker top 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:44 + go version 04:07:44 go version go1.18.7 linux/amd64 [Pipeline] } 04:07:44 $ docker stop --time=1 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 04:07:46 $ docker rm -f 257c5f49d25cadf45a80723b24c485d7a603373b1150796a585115594fc47e47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:46 + docker inspect -f . ci-base-image-x86_64 04:07:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:47 prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container 04:07:47 $ 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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@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 ******** ci-base-image-x86_64 cat 04:07:47 $ docker top 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1256 [Pipeline] fileExists [Pipeline] sh 04:07:48 + make test 04:07:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.094s coverage: 78.9% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.101s coverage: 73.1% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.7% of statements 04:08:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:08:24 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." 04:08:24 GO111MODULE=on go vet ./... 04:08:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:27 ./bin/test-attribution-txt.sh 04:08:27 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:08:27 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:08:27 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:08:27 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:08:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:27 $ docker stop --time=1 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff 04:08:31 $ docker rm -f 8f5f9195c899ba3d99eab806d2f9ed9d3bc3dd4d9f6e99eac65929966c4b9dff [Pipeline] // withDockerContainer [Pipeline] sh 04:08:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:33 + ls -al . 04:08:33 total 280 04:08:33 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 04:07 . 04:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:06 .. 04:08:33 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:06 .dockerignore 04:08:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:08 .git 04:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:06 .github 04:08:33 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:06 .gitignore 04:08:33 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:06 .golangci.yml 04:08:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:06 .semver 04:08:33 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:06 CHANGELOG.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:06 GOVERNANCE.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:06 Jenkinsfile 04:08:33 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:06 LICENSE 04:08:33 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:06 Makefile 04:08:33 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:06 OWNERS.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:06 README.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:06 VERSION 04:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:06 bin 04:08:33 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:08 coverage.out 04:08:33 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:06 example 04:08:33 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:06 go.mod 04:08:33 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:06 go.sum 04:08:33 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:06 internal 04:08:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:06 openapi 04:08:33 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:06 pkg 04:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:06 snap 04:08:33 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:33 + 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=b06b16b52e9c0a9908edac663519e507ae5ee55d --label arch=amd64 --label version=0.0.0 . 04:08:33 Sending build context to Docker daemon 10.23MB 04:08:33 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:08:33 Step 2/23 : FROM ${BASE} AS builder 04:08:33 ---> 3426268d66fa 04:08:33 Step 3/23 : ARG MAKE=make build 04:08:34 ---> Running in b8d159708411 04:08:34 Removing intermediate container b8d159708411 04:08:34 ---> 6cbd6bcfb61e 04:08:34 Step 4/23 : WORKDIR /device-sdk-go 04:08:34 ---> Running in 3be26d8db1f1 04:08:34 Removing intermediate container 3be26d8db1f1 04:08:34 ---> 5c8111951fb9 04:08:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:34 ---> Running in 28b16e21f3d6 04:08:34 Removing intermediate container 28b16e21f3d6 04:08:34 ---> ce1569162191 04:08:34 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:34 ---> Running in 6499e5827d67 04:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:35 OK: 211 MiB in 51 packages 04:08:35 Removing intermediate container 6499e5827d67 04:08:35 ---> 2cab2c2bdd7c 04:08:35 Step 7/23 : COPY go.mod vendor* ./ 04:08:35 ---> f711b75878ba 04:08:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:35 ---> Running in de8e5bcb3d1d 04:08:36 Removing intermediate container de8e5bcb3d1d 04:08:36 ---> 834bdd2bfdc2 04:08:36 Step 9/23 : COPY . . 04:08:36 ---> ce0ea0edcc44 04:08:36 Step 10/23 : RUN ${MAKE} 04:08:36 ---> Running in f15637d877d4 04:08:37 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 04:08:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:00 Removing intermediate container f15637d877d4 04:09:00 ---> 4ce0f3e60bcb 04:09:00 Step 11/23 : FROM alpine:3.16 04:09:01 3.16: Pulling from library/alpine 04:09:01 213ec9aee27d: Already exists 04:09:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:09:01 Status: Downloaded newer image for alpine:3.16 04:09:01 ---> 9c6f07244728 04:09:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:01 ---> Running in 003713d9367c 04:09:01 Removing intermediate container 003713d9367c 04:09:01 ---> 971165694a73 04:09:01 Step 13/23 : RUN apk add --update --no-cache zeromq 04:09:01 ---> Running in 189c35d2ee9f 04:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:02 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:09:02 (2/5) Installing libsodium (1.0.18-r0) 04:09:02 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:09:02 (4/5) Installing libzmq (4.3.4-r0) 04:09:02 (5/5) Installing zeromq (4.3.4-r0) 04:09:02 Executing busybox-1.35.0-r17.trigger 04:09:02 OK: 8 MiB in 19 packages 04:09:02 Removing intermediate container 189c35d2ee9f 04:09:02 ---> ada816debdea 04:09:02 Step 14/23 : WORKDIR / 04:09:02 ---> Running in e3a41b9b3c9e 04:09:03 Removing intermediate container e3a41b9b3c9e 04:09:03 ---> 5dee467ad5f9 04:09:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:03 ---> ba8d23b04702 04:09:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:04 ---> eb7bdb27d576 04:09:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:04 ---> cfc0b62112c2 04:09:04 Step 18/23 : EXPOSE 59999 04:09:04 ---> Running in 63b9ce060d47 04:09:04 Removing intermediate container 63b9ce060d47 04:09:04 ---> ea2c462d56e9 04:09:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:09:04 ---> Running in 733e64cfbb2a 04:09:04 Removing intermediate container 733e64cfbb2a 04:09:04 ---> 6ec64f8005fc 04:09:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:04 ---> Running in c7f2925454bf 04:09:04 Removing intermediate container c7f2925454bf 04:09:04 ---> 82ee2c074764 04:09:04 Step 21/23 : LABEL arch=amd64 04:09:04 ---> Running in fba11837d1d1 04:09:04 Removing intermediate container fba11837d1d1 04:09:04 ---> 691071a527e0 04:09:04 Step 22/23 : LABEL git_sha=b06b16b52e9c0a9908edac663519e507ae5ee55d 04:09:04 ---> Running in 3de5ddfab74e 04:09:04 Removing intermediate container 3de5ddfab74e 04:09:04 ---> d4e17e2a3012 04:09:04 Step 23/23 : LABEL version=0.0.0 04:09:04 ---> Running in a2b7195ec956 04:09:05 Removing intermediate container a2b7195ec956 04:09:05 ---> a5a9d328b654 04:09:05 [Warning] One or more build-args [ARCH] were not consumed 04:09:05 Successfully built a5a9d328b654 04:09:05 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 04:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:05 04:09:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:06 latest: Pulling from edgex-lftools-log-publisher 04:09:06 5eb5b503b376: Pulling fs layer 04:09:06 5c69ac0246d0: Pulling fs layer 04:09:06 ec43610c2a17: Pulling fs layer 04:09:06 3a2ae6a8a46f: Pulling fs layer 04:09:06 33b1e0a273af: Pulling fs layer 04:09:06 5d3b04190fa2: Pulling fs layer 04:09:06 2f39f015ded8: Pulling fs layer 04:09:06 33b1e0a273af: Waiting 04:09:06 5d3b04190fa2: Waiting 04:09:06 2f39f015ded8: Waiting 04:09:06 3a2ae6a8a46f: Waiting 04:09:06 5c69ac0246d0: Verifying Checksum 04:09:06 5c69ac0246d0: Download complete 04:09:06 3a2ae6a8a46f: Download complete 04:09:06 33b1e0a273af: Verifying Checksum 04:09:06 33b1e0a273af: Download complete 04:09:06 5d3b04190fa2: Verifying Checksum 04:09:06 5d3b04190fa2: Download complete 04:09:06 ec43610c2a17: Download complete 04:09:06 5eb5b503b376: Verifying Checksum 04:09:06 5eb5b503b376: Download complete 04:09:07 2f39f015ded8: Download complete 04:09:07 5eb5b503b376: Pull complete 04:09:07 5c69ac0246d0: Pull complete 04:09:08 ec43610c2a17: Pull complete 04:09:08 3a2ae6a8a46f: Pull complete 04:09:08 33b1e0a273af: Pull complete 04:09:08 5d3b04190fa2: Pull complete 04:09:12 2f39f015ded8: Pull complete 04:09:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:13 prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container 04:09:13 $ 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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@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-lftools-log-publisher:latest cat 04:09:20 $ docker top 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:20 ---> job-cost.sh 04:09:20 lf-activate-venv: SKIPPING 04:09:20 INFO: No Stack... 04:09:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:21 INFO: Archiving Costs [Pipeline] sh 04:09:21 + + cut -d, -f6 04:09:21 cat /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/cost.csv [Pipeline] lock 04:09:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] 04:09:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] did not exist. Created. 04:09:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:22 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:22 Stashed 1 file(s) [Pipeline] } 04:09:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:22 $ docker stop --time=1 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 04:09:24 $ docker rm -f 793fadf8dac656f3913135c7be1700206452bb09347e7075a6b7e975ebd9e353 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:09:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117820 in /w/workspace/gexfoundry_device-sdk-go_PR-1256 [Pipeline] { [Pipeline] ws 04:09:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:38 The recommended git tool is: git 04:09:46 using credential edgex-jenkins-ssh 04:09:46 Cloning the remote Git repository 04:09:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:09:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:09:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:46 > git --version # timeout=10 04:09:46 > git --version # 'git version 2.25.1' 04:09:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:46 Verifying host key using known hosts file 04:09:47 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. 04:09:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:50 Verifying host key using known hosts file 04:09:51 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit b06b16b52e9c0a9908edac663519e507ae5ee55d 04:09:51 Merge succeeded, producing b06b16b52e9c0a9908edac663519e507ae5ee55d 04:09:51 Checking out Revision b06b16b52e9c0a9908edac663519e507ae5ee55d (PR-1256) 04:09:50 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. 04:09:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1256/head:refs/remotes/origin/PR-1256 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:09:51 > git config core.sparsecheckout # timeout=10 04:09:51 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 04:09:51 > git remote # timeout=10 04:09:51 > git config --get remote.origin.url # timeout=10 04:09:51 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:51 Verifying host key using known hosts file 04:09:51 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. 04:09:51 > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 04:09:51 > git rev-parse HEAD^{commit} # timeout=10 04:09:51 > git config core.sparsecheckout # timeout=10 04:09:51 > git checkout -f b06b16b52e9c0a9908edac663519e507ae5ee55d # timeout=10 04:09:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 04:09:52 > git --version # timeout=10 04:09:52 > git --version # 'git version 2.25.1' 04:09:52 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:09:53 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:53 Dload Upload Total Spent Left Speed 04:09:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh 04:09:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:09:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:09:54 + sudo tee /etc/docker/daemon.new 04:09:54 { 04:09:54 "registry-mirrors": [ 04:09:54 "https://nexus3.edgexfoundry.org:10001" 04:09:54 ], 04:09:54 "bip": "10.250.0.254/24", 04:09:54 "hosts": [ 04:09:54 "tcp://0.0.0.0:5555", 04:09:54 "unix:///var/run/docker.sock" 04:09:54 ], 04:09:54 "mtu": 1458, 04:09:54 "selinux-enabled": true, 04:09:54 "seccomp-profile": "/etc/docker/seccomp.json" 04:09:54 } [Pipeline] sh 04:09:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:09:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:14 provisioning config files... 04:10:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13063316331728624232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:14 ---> docker-login.sh 04:10:14 nexus3.edgexfoundry.org:10001 04:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:15 Configure a credential helper to remove this warning. See 04:10:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:15 04:10:15 Login Succeeded 04:10:15 nexus3.edgexfoundry.org:10002 04:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:16 Configure a credential helper to remove this warning. See 04:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:16 04:10:16 Login Succeeded 04:10:16 nexus3.edgexfoundry.org:10003 04:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:16 Configure a credential helper to remove this warning. See 04:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:16 04:10:16 Login Succeeded 04:10:16 nexus3.edgexfoundry.org:10004 04:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:17 Configure a credential helper to remove this warning. See 04:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:17 04:10:17 Login Succeeded 04:10:17 docker.io 04:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:17 Configure a credential helper to remove this warning. See 04:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:17 04:10:17 Login Succeeded 04:10:17 ---> docker-login.sh ends [Pipeline] } 04:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:18 ========================================================= 04:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:18 + 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 . 04:10:19 Sending build context to Docker daemon 5.449MB 04:10:19 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:10:19 Step 2/10 : FROM ${BASE} AS builder 04:10:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:19 9b18e9b68314: Pulling fs layer 04:10:19 d32db5db7311: Pulling fs layer 04:10:19 d0c4b47475fc: Pulling fs layer 04:10:19 5831b945b038: Pulling fs layer 04:10:19 86bbec2aaacd: Pulling fs layer 04:10:19 e10730c5d714: Pulling fs layer 04:10:19 5dd5c2283517: Pulling fs layer 04:10:19 d5ac0230b979: Pulling fs layer 04:10:19 5831b945b038: Waiting 04:10:19 86bbec2aaacd: Waiting 04:10:19 e10730c5d714: Waiting 04:10:19 5dd5c2283517: Waiting 04:10:19 d5ac0230b979: Waiting 04:10:19 d0c4b47475fc: Verifying Checksum 04:10:19 d0c4b47475fc: Download complete 04:10:19 d32db5db7311: Verifying Checksum 04:10:19 d32db5db7311: Download complete 04:10:19 86bbec2aaacd: Verifying Checksum 04:10:19 86bbec2aaacd: Download complete 04:10:20 e10730c5d714: Verifying Checksum 04:10:20 e10730c5d714: Download complete 04:10:20 9b18e9b68314: Verifying Checksum 04:10:20 9b18e9b68314: Download complete 04:10:21 9b18e9b68314: Pull complete 04:10:21 d32db5db7311: Pull complete 04:10:21 d5ac0230b979: Verifying Checksum 04:10:21 d5ac0230b979: Download complete 04:10:21 d0c4b47475fc: Pull complete 04:10:22 5dd5c2283517: Verifying Checksum 04:10:22 5dd5c2283517: Download complete 04:10:23 5831b945b038: Verifying Checksum 04:10:23 5831b945b038: Download complete 04:10:38 5831b945b038: Pull complete 04:10:38 86bbec2aaacd: Pull complete 04:10:38 e10730c5d714: Pull complete 04:10:43 5dd5c2283517: Pull complete 04:10:44 d5ac0230b979: Pull complete 04:10:44 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:10:44 ---> 59b3b1a385d4 04:10:44 Step 3/10 : ARG MAKE=make build 04:10:47 ---> Running in e04193a75687 04:10:47 Removing intermediate container e04193a75687 04:10:47 ---> 98e7816cb944 04:10:47 Step 4/10 : WORKDIR /device-sdk-go 04:10:47 ---> Running in 0a1a6503f5de 04:10:47 Removing intermediate container 0a1a6503f5de 04:10:47 ---> 4501ce2598b1 04:10:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:10:47 ---> Running in 18ebeb942cd4 04:10:47 Removing intermediate container 18ebeb942cd4 04:10:47 ---> a8382c212e48 04:10:47 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:47 ---> Running in 137500385be6 04:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:10:51 OK: 221 MiB in 51 packages 04:10:52 Removing intermediate container 137500385be6 04:10:52 ---> 862e060f25fd 04:10:52 Step 7/10 : COPY go.mod vendor* ./ 04:10:52 ---> 1147d5b53ba2 04:10:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:52 ---> Running in ef32f04bd8cb 04:12:00 Removing intermediate container ef32f04bd8cb 04:12:00 ---> d820dfb7935e 04:12:00 Step 9/10 : COPY . . 04:12:00 ---> e1164cf4e16b 04:12:00 Step 10/10 : RUN ${MAKE} 04:12:00 ---> Running in 8c06dd4ba6f2 04:12:00 noop 04:12:00 Removing intermediate container 8c06dd4ba6f2 04:12:00 ---> e61df66baeda 04:12:00 Successfully built e61df66baeda 04:12:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:01 + docker inspect -f . ci-base-image-arm64 04:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:01 prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container 04:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:03 $ docker top 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:04 + go version 04:12:04 go version go1.18.7 linux/arm64 [Pipeline] } 04:12:04 $ docker stop --time=1 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 04:12:06 $ docker rm -f 7ac174310cba91890a1d06b078272096506ba075e72d5bc47d97f711420e0f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:07 + docker inspect -f . ci-base-image-arm64 04:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:07 prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container 04:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:08 $ docker top 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:09 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:12:10 + make test 04:12:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:12:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.304s coverage: 27.6% of statements 04:16:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.371s coverage: 78.9% of statements 04:16:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:16:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.657s coverage: 73.1% of statements 04:16:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.666s coverage: 54.4% of statements 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.525s coverage: 65.1% of statements 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.585s coverage: 89.2% of statements 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.405s coverage: 4.7% of statements 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:16:28 GO111MODULE=on go vet ./... 04:18:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:35 ./bin/test-attribution-txt.sh 04:18:35 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:18:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:35 $ docker stop --time=1 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae 04:18:37 $ docker rm -f 1a7b75f152cc7e87b9deedc95db84bc9f03462eb47ca1ff6d4f37e492ccf9eae [Pipeline] // withDockerContainer [Pipeline] sh 04:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:39 Warning: overwriting stash ‘coverage-report’ 04:18:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:41 + ls -al . 04:18:41 total 276 04:18:41 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 04:12 . 04:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:09 .. 04:18:41 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:09 .dockerignore 04:18:41 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:09 .git 04:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 .github 04:18:41 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:09 .gitignore 04:18:41 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:09 .golangci.yml 04:18:41 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:09 CHANGELOG.md 04:18:41 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:09 GOVERNANCE.md 04:18:41 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:09 Jenkinsfile 04:18:41 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:09 LICENSE 04:18:41 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:09 Makefile 04:18:41 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:09 OWNERS.md 04:18:41 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:09 README.md 04:18:41 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:06 VERSION 04:18:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:09 bin 04:18:41 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:16 coverage.out 04:18:41 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:09 example 04:18:41 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:09 go.mod 04:18:41 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:09 go.sum 04:18:41 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:09 internal 04:18:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:09 openapi 04:18:41 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:09 pkg 04:18:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:09 snap 04:18:41 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:41 + 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=b06b16b52e9c0a9908edac663519e507ae5ee55d --label arch=arm64 --label version=0.0.0 . 04:18:42 Sending build context to Docker daemon 5.552MB 04:18:42 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:18:42 Step 2/23 : FROM ${BASE} AS builder 04:18:42 ---> e61df66baeda 04:18:42 Step 3/23 : ARG MAKE=make build 04:18:42 ---> Running in acbbcc5be305 04:18:43 Removing intermediate container acbbcc5be305 04:18:43 ---> ae89c999ea21 04:18:43 Step 4/23 : WORKDIR /device-sdk-go 04:18:43 ---> Running in 43d47fe6cd7e 04:18:43 Removing intermediate container 43d47fe6cd7e 04:18:43 ---> a202b545e04a 04:18:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:43 ---> Running in e956474ff5eb 04:18:43 Removing intermediate container e956474ff5eb 04:18:43 ---> 78e1fe821681 04:18:43 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:18:44 ---> Running in 919c7adb9367 04:18:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:18:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:46 OK: 221 MiB in 51 packages 04:18:47 Removing intermediate container 919c7adb9367 04:18:47 ---> 81f3043cd6f6 04:18:47 Step 7/23 : COPY go.mod vendor* ./ 04:18:48 ---> c95306c4519d 04:18:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:48 ---> Running in c5c7d31f7c34 04:18:50 Removing intermediate container c5c7d31f7c34 04:18:50 ---> eb2fe85093a7 04:18:50 Step 9/23 : COPY . . 04:18:52 ---> a0e7e09e489b 04:18:52 Step 10/23 : RUN ${MAKE} 04:18:52 ---> Running in 6a7a63a5ad76 04:18:53 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 04:21:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:21:47 Removing intermediate container 6a7a63a5ad76 04:21:47 ---> 97d950162a42 04:21:47 Step 11/23 : FROM alpine:3.16 04:21:48 3.16: Pulling from library/alpine 04:21:48 9b18e9b68314: Already exists 04:21:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:21:48 Status: Downloaded newer image for alpine:3.16 04:21:48 ---> a6215f271958 04:21:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:48 ---> Running in 436c18075922 04:21:48 Removing intermediate container 436c18075922 04:21:48 ---> db1fe2914929 04:21:48 Step 13/23 : RUN apk add --update --no-cache zeromq 04:21:48 ---> Running in b15f44bb132b 04:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:21:51 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:21:51 (2/5) Installing libsodium (1.0.18-r0) 04:21:51 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:21:51 (4/5) Installing libzmq (4.3.4-r0) 04:21:51 (5/5) Installing zeromq (4.3.4-r0) 04:21:51 Executing busybox-1.35.0-r17.trigger 04:21:51 OK: 8 MiB in 19 packages 04:21:52 Removing intermediate container b15f44bb132b 04:21:52 ---> e2d2a64dfbb5 04:21:52 Step 14/23 : WORKDIR / 04:21:52 ---> Running in 77114898cf48 04:21:53 Removing intermediate container 77114898cf48 04:21:53 ---> e708ed90ca60 04:21:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:53 ---> 35a5b56526ad 04:21:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:55 ---> f6950dc55b0d 04:21:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:55 ---> 69ff4f7ba6d3 04:21:55 Step 18/23 : EXPOSE 59999 04:21:55 ---> Running in 42d9cc886dae 04:21:56 Removing intermediate container 42d9cc886dae 04:21:56 ---> 93f9484d5da6 04:21:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:21:56 ---> Running in cf24c43d57c6 04:21:56 Removing intermediate container cf24c43d57c6 04:21:56 ---> c8862700e7c9 04:21:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:56 ---> Running in 82e09ee124c4 04:21:56 Removing intermediate container 82e09ee124c4 04:21:56 ---> 2c5edfee5339 04:21:56 Step 21/23 : LABEL arch=arm64 04:21:56 ---> Running in 6b1afeb24988 04:21:57 Removing intermediate container 6b1afeb24988 04:21:57 ---> 3c5a43d0db6e 04:21:57 Step 22/23 : LABEL git_sha=b06b16b52e9c0a9908edac663519e507ae5ee55d 04:21:57 ---> Running in 524f5d919e19 04:21:57 Removing intermediate container 524f5d919e19 04:21:57 ---> bcd770252bb9 04:21:57 Step 23/23 : LABEL version=0.0.0 04:21:57 ---> Running in a03fee01ca4f 04:21:58 Removing intermediate container a03fee01ca4f 04:21:58 ---> 6e77114641c3 04:21:58 [Warning] One or more build-args [ARCH] were not consumed 04:21:58 Successfully built 6e77114641c3 04:21:58 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 04:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:59 04:21:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:59 arm64: Pulling from edgex-lftools-log-publisher 04:21:59 8998bd30e6a1: Pulling fs layer 04:21:59 04944245beec: Pulling fs layer 04:21:59 699f458cf7ca: Pulling fs layer 04:21:59 765212b225bb: Pulling fs layer 04:21:59 f23df028b6ca: Pulling fs layer 04:21:59 d65c8cfc05b1: Pulling fs layer 04:21:59 2437ff75d9bd: Pulling fs layer 04:21:59 765212b225bb: Waiting 04:21:59 f23df028b6ca: Waiting 04:21:59 d65c8cfc05b1: Waiting 04:21:59 2437ff75d9bd: Waiting 04:21:59 04944245beec: Verifying Checksum 04:21:59 04944245beec: Download complete 04:21:59 765212b225bb: Verifying Checksum 04:21:59 765212b225bb: Download complete 04:21:59 f23df028b6ca: Verifying Checksum 04:21:59 f23df028b6ca: Download complete 04:22:00 d65c8cfc05b1: Download complete 04:22:00 699f458cf7ca: Verifying Checksum 04:22:00 699f458cf7ca: Download complete 04:22:00 8998bd30e6a1: Verifying Checksum 04:22:00 8998bd30e6a1: Download complete 04:22:02 2437ff75d9bd: Verifying Checksum 04:22:04 8998bd30e6a1: Pull complete 04:22:04 04944245beec: Pull complete 04:22:06 699f458cf7ca: Pull complete 04:22:06 765212b225bb: Pull complete 04:22:07 f23df028b6ca: Pull complete 04:22:07 d65c8cfc05b1: Pull complete 04:22:22 2437ff75d9bd: Pull complete 04:22:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:22 prd-ubuntu20.04-docker-arm64-4c-16g-117820 does not seem to be running inside a container 04:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:22:26 $ docker top 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:27 ---> job-cost.sh 04:22:27 lf-activate-venv: SKIPPING 04:22:27 INFO: No Stack... 04:22:27 INFO: Retrieving Pricing Info for: v3-standard-4 04:22:28 INFO: Archiving Costs [Pipeline] sh 04:22:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:22:28 + cut -d, -f6 [Pipeline] lock 04:22:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] 04:22:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] did not exist. Created. 04:22:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:29 /w/workspace/device-sdk-go/1@tmp/durable-ce10b980/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:22:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:22:30 Warning: overwriting stash ‘stack-cost’ 04:22:30 Stashed 1 file(s) [Pipeline] } 04:22:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1256-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:30 $ docker stop --time=1 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 04:22:32 $ docker rm -f 27c78d0b0a047f419317176c84a2a6c8e3a64544455d6780e2d2be242d445a79 [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 04:22:33 provisioning config files... 04:22:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config822016855150925789tmp [Pipeline] { [Pipeline] sh 04:22:33 + set +x 04:22:33 + curl -s https://codecov.io/bash 04:22:33 + bash -s -- 04:22:33 04:22:33 _____ _ 04:22:33 / ____| | | 04:22:33 | | ___ __| | ___ ___ _____ __ 04:22:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:22:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:22:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:22:33 Bash-1.0.6 04:22:33 04:22:33 04:22:33 ==> git version 2.25.1 found 04:22:33 ==> 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 04:22:33 Release-Date: 2020-01-08 04:22:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:22:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:22:33 ==> Jenkins CI detected. 04:22:33 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1256 04:22:33 project root: . 04:22:33 --> token set from env 04:22:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:22:33 ==> Running gcov in . (disable via -X gcov) 04:22:33 ==> Python coveragepy not found 04:22:33 ==> Searching for coverage reports in: 04:22:33 + . 04:22:33 -> Found 1 reports 04:22:33 ==> Detecting git/mercurial file structure 04:22:33 ==> Reading reports 04:22:33 + ./coverage.out bytes=101759 04:22:33 ==> Appending adjustments 04:22:33 https://docs.codecov.io/docs/fixing-reports 04:22:33 + Found adjustments 04:22:33 ==> Gzipping contents 04:22:34 16K /tmp/codecov.15LPeC.gz 04:22:34 ==> Uploading reports 04:22:34 url: https://codecov.io 04:22:34 query: branch=PR-1256&commit=b06b16b52e9c0a9908edac663519e507ae5ee55d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1256&job=&cmd_args= 04:22:34 -> Pinging Codecov 04:22:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1256&commit=b06b16b52e9c0a9908edac663519e507ae5ee55d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1256&job=&cmd_args= 04:22:34 -> Uploading to 04:22:34 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/b06b16b52e9c0a9908edac663519e507ae5ee55d/183fbcde-dd63-4b60-9ba8-7a0708ae6477.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T042234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efb0fac30b10655b714818017965562c1d60c9c503295ca24a62713c051864c2 04:22:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:34 Dload Upload Total Spent Left Speed 04:22:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14758 0 0 100 14758 0 63339 --:--:-- --:--:-- --:--:-- 63339 04:22:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b06b16b52e9c0a9908edac663519e507ae5ee55d [Pipeline] } 04:22:34 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 04:22:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives ] 04:22:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives 04:22:36 total 16 04:22:36 drwxr-xr-x 3 root root 4096 Nov 2 04:09 . 04:22:36 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:09 .. 04:22:36 drwxr-xr-x 2 root root 4096 Nov 2 04:09 cost 04:22:36 -rw-r--r-- 1 root root 86 Nov 2 04:09 cost.csv 04:22:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives 04:22:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives 04:22:36 total 16 04:22:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:09 . 04:22:36 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:09 .. 04:22:36 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 04:09 cost 04:22:36 -rw-r--r-- 1 jenkins jenkins 86 Nov 2 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:22:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:22:37 ---> package-listing.sh 04:22:37 ++ facter osfamily 04:22:37 ++ tr '[:upper:]' '[:lower:]' 04:22:37 + OS_FAMILY=debian 04:22:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1256 04:22:37 + START_PACKAGES=/tmp/packages_start.txt 04:22:37 + END_PACKAGES=/tmp/packages_end.txt 04:22:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:22:37 + PACKAGES=/tmp/packages_start.txt 04:22:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1256 ']' 04:22:37 + PACKAGES=/tmp/packages_end.txt 04:22:37 + case "${OS_FAMILY}" in 04:22:37 + dpkg -l 04:22:37 + grep '^ii' 04:22:37 + '[' -f /tmp/packages_start.txt ']' 04:22:37 + '[' -f /tmp/packages_end.txt ']' 04:22:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:22:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1256 ']' 04:22:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/ 04:22:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1256/archives/ [Pipeline] echo 04:22:37 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-1256/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:22:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:38 prd-ubuntu20.04-docker-8c-8g-117808 does not seem to be running inside a container 04:22: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-1256/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-1256 -v /w/workspace/gexfoundry_device-sdk-go_PR-1256:/w/workspace/gexfoundry_device-sdk-go_PR-1256:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:22:39 $ docker top 3c42a51b2f3c6468a8504cee5d2dd6bc93801aa601e2bae0ddd233fcaee3ea90 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:40 + touch /tmp/pre-build-complete [Pipeline] sh 04:22:40 + mkdir -p /var/log/sysstat [Pipeline] sh 04:22:40 + ls /var/log/sa-host 04:22:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:40 provisioning config files... 04:22:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1256@tmp/config6434474753528121017tmp [Pipeline] { [Pipeline] echo 04:22:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:22:41 ---> create-netrc.sh [Pipeline] } 04:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:22:41 ---> python-tools-install.sh [Pipeline] echo 04:22:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:22:42 ---> sudo-logs.sh 04:22:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:22:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:22:42 ---> job-cost.sh 04:22:42 lf-activate-venv: SKIPPING 04:22:42 DEBUG: total: 0.2199999988079071 04:22:42 INFO: Retrieving Stack Cost... 04:22:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:43 INFO: Archiving Costs [Pipeline] echo 04:22:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:22:43 ---> logs-deploy.sh 04:22:43 lf-activate-venv: SKIPPING 04:22:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1256/1 04:22:43 INFO: archiving workspace using pattern(s): 04:22:44 Archives upload complete. 04:22:44 INFO: archiving logs to Nexus