Pull request #1252 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4b193d41d886300f143caaacc5ff1808b034d205+8250e301d92a025f83865f5663963929d81085da (ca4eff0e4a131db932eafc2d7c06956cb1ddff9f) 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-ssh14424089083299585462.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-ssh10690465556238332175.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-1252/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-1252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4170541267823460606.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-1252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4589646043967040209.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-ssh12348569059101051232.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-1252/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-1252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9395227386446040988.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117743 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [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-1252 # 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/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit 4b193d41d886300f143caaacc5ff1808b034d205 Merge succeeded, producing 53c794fe567d8de765249db7322f4c53eed1de5b Checking out Revision 53c794fe567d8de765249db7322f4c53eed1de5b (PR-1252) > git config core.sparsecheckout # timeout=10 > git checkout -f 4b193d41d886300f143caaacc5ff1808b034d205 # 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 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53c794fe567d8de765249db7322f4c53eed1de5b # timeout=10 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" 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 17:20:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:20:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:20:43 ========================================================= 17:20:43 EdgeX Global Pipelines Version Info 17:20:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:20:44 ------------------- 17:20:44 stable info: 17:20:44 ------------------- 17:20:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:20:44 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:20:44 Message: update stable to v1.0.243 17:20:44 ------------------- 17:20:44 experimental info: 17:20:44 ------------------- 17:20:44 Commited By: **** collab-it+edgex@linuxfoundation.org 17:20:44 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:20:44 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:20:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1252 [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1252 [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1252 [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53c794f [Pipeline] echo 17:20:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:46 provisioning config files... 17:20:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config5654316946785061235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:46 ---> docker-login.sh 17:20:46 nexus3.edgexfoundry.org:10001 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10002 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10003 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10004 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 docker.io 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:48 Configure a credential helper to remove this warning. See 17:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:48 17:20:48 Login Succeeded 17:20:48 ---> docker-login.sh ends [Pipeline] } 17:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:20:48 + git rev-list -1 --merges 53c794fe567d8de765249db7322f4c53eed1de5b~1..53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo 17:20:48 -----------> git rev-list -1 --merges 53c794fe567d8de765249db7322f4c53eed1de5b~1..53c794fe567d8de765249db7322f4c53eed1de5b 53c794fe567d8de765249db7322f4c53eed1de5b 17:20:48 53c794fe567d8de765249db7322f4c53eed1de5b [false] [Pipeline] sh 17:20:49 + git log --format=format:%s -1 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo 17:20:49 ========================================================= 17:20:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:20:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:49 + git log --format=format:%s -1 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo 17:20:49 [semverPrep] GIT_COMMIT: 53c794fe567d8de765249db7322f4c53eed1de5b, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo 17:20:49 [semverPrep] This is not a build commit. [Pipeline] sh 17:20:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:20:50 + grep -v github /etc/ssh/ssh_known_hosts 17:20:50 + [ -e /tmp/ssh_known_hosts ] 17:20:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:20:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:20:50 + sudo tee -a /etc/ssh/ssh_known_hosts 17:20:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:50 17:20:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:51 0.1.4: Pulling from edgex-devops/py-git-semver 17:20:51 b85a868b505f: Pulling fs layer 17:20:51 e2be974225ed: Pulling fs layer 17:20:51 339a4e72a1f5: Pulling fs layer 17:20:51 988bab9f4d93: Pulling fs layer 17:20:51 1469e6f7b9e6: Pulling fs layer 17:20:51 eaf3925da568: Pulling fs layer 17:20:51 bab4dde63d76: Pulling fs layer 17:20:51 bde34c3a00c8: Pulling fs layer 17:20:51 b352a97aabf1: Pulling fs layer 17:20:51 4872d77fe225: Pulling fs layer 17:20:51 5851b861e8e6: Pulling fs layer 17:20:51 bab4dde63d76: Waiting 17:20:51 eaf3925da568: Waiting 17:20:51 bde34c3a00c8: Waiting 17:20:51 988bab9f4d93: Waiting 17:20:51 4872d77fe225: Waiting 17:20:51 1469e6f7b9e6: Waiting 17:20:51 5851b861e8e6: Waiting 17:20:51 b352a97aabf1: Waiting 17:20:51 e2be974225ed: Download complete 17:20:51 988bab9f4d93: Download complete 17:20:51 1469e6f7b9e6: Verifying Checksum 17:20:51 1469e6f7b9e6: Download complete 17:20:51 339a4e72a1f5: Verifying Checksum 17:20:51 339a4e72a1f5: Download complete 17:20:51 eaf3925da568: Verifying Checksum 17:20:51 eaf3925da568: Download complete 17:20:51 bde34c3a00c8: Download complete 17:20:51 b352a97aabf1: Verifying Checksum 17:20:51 b352a97aabf1: Download complete 17:20:51 4872d77fe225: Verifying Checksum 17:20:51 4872d77fe225: Download complete 17:20:51 5851b861e8e6: Download complete 17:20:51 b85a868b505f: Verifying Checksum 17:20:51 b85a868b505f: Download complete 17:20:51 bab4dde63d76: Verifying Checksum 17:20:51 bab4dde63d76: Download complete 17:20:52 b85a868b505f: Pull complete 17:20:52 e2be974225ed: Pull complete 17:20:53 339a4e72a1f5: Pull complete 17:20:53 988bab9f4d93: Pull complete 17:20:53 1469e6f7b9e6: Pull complete 17:20:53 eaf3925da568: Pull complete 17:20:55 bab4dde63d76: Pull complete 17:20:55 bde34c3a00c8: Pull complete 17:20:55 b352a97aabf1: Pull complete 17:20:55 4872d77fe225: Pull complete 17:20:55 5851b861e8e6: Pull complete 17:20:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:56 prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container 17:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:20:57 $ docker top 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 -eo pid,comm 17:20:57 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). 17:20:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:57 [ssh-agent] Looking for ssh-agent implementation... 17:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:57 $ docker exec 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent 17:20:57 SSH_AUTH_SOCK=/tmp/ssh-3lQ3UINMlMk2/agent.32 17:20:57 SSH_AGENT_PID=38 17:20:57 Running ssh-add (command line suppressed) 17:20:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_15877323772306605499.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_15877323772306605499.key) 17:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:58 + git tag --points-at HEAD [Pipeline] } 17:20:58 $ docker exec --env ******** --env ******** 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent -k 17:20:58 unset SSH_AUTH_SOCK; 17:20:58 unset SSH_AGENT_PID; 17:20:58 echo Agent pid 38 killed; 17:20:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:58 [ssh-agent] Looking for ssh-agent implementation... 17:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:58 $ docker exec 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent 17:20:58 SSH_AUTH_SOCK=/tmp/ssh-2zjfOYwVd8nO/agent.70 17:20:58 SSH_AGENT_PID=76 17:20:58 Running ssh-add (command line suppressed) 17:20:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_11808495892883236322.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_11808495892883236322.key) 17:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:59 + git semver init 17:20:59 2022-11-01 17:20:59,506 [run_init] DEBUG init version:0.0.0 force:False 17:20:59 2022-11-01 17:20:59,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver 17:20:59 2022-11-01 17:20:59,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver 17:20:59 2022-11-01 17:20:59,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252, universal_newlines=False, shell=None, istream=None) 17:21:00 2022-11-01 17:21:00,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.git/info/exclude 17:21:00 2022-11-01 17:21:00,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 with force:False 17:21:00 2022-11-01 17:21:00,496 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 17:21:00 2022-11-01 17:21:00,500 [execute] INFO git cat-file --batch-check 17:21:00 2022-11-01 17:21:00,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) 17:21:00 2022-11-01 17:21:00,511 [execute] INFO git cat-file --batch 17:21:00 2022-11-01 17:21:00,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) 17:21:00 2022-11-01 17:21:00,518 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 17:21:00 0.0.0 [Pipeline] } 17:21:00 $ docker exec --env ******** --env ******** 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent -k 17:21:00 unset SSH_AUTH_SOCK; 17:21:00 unset SSH_AGENT_PID; 17:21:00 echo Agent pid 76 killed; 17:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:01 + git semver [Pipeline] } 17:21:01 $ docker stop --time=1 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 17:21:03 $ docker rm -f 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 [Pipeline] // withDockerContainer [Pipeline] sh 17:21:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:21:03 Stashed 1 file(s) [Pipeline] echo 17:21:03 [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 17:21:04 provisioning config files... 17:21:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config9646715711678398537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:04 ---> docker-login.sh 17:21:04 nexus3.edgexfoundry.org:10001 17:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:04 Configure a credential helper to remove this warning. See 17:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:04 17:21:04 Login Succeeded 17:21:04 nexus3.edgexfoundry.org:10002 17:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:04 Configure a credential helper to remove this warning. See 17:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:04 17:21:04 Login Succeeded 17:21:04 nexus3.edgexfoundry.org:10003 17:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:04 Configure a credential helper to remove this warning. See 17:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:04 17:21:04 Login Succeeded 17:21:04 nexus3.edgexfoundry.org:10004 17:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:04 Configure a credential helper to remove this warning. See 17:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:04 17:21:04 Login Succeeded 17:21:04 docker.io 17:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:05 Configure a credential helper to remove this warning. See 17:21:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:05 17:21:05 Login Succeeded 17:21:05 ---> docker-login.sh ends [Pipeline] } 17:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:05 ========================================================= 17:21:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:21:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:06 + 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 . 17:21:06 Sending build context to Docker daemon 10.11MB 17:21:06 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:21:06 Step 2/10 : FROM ${BASE} AS builder 17:21:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:21:06 213ec9aee27d: Pulling fs layer 17:21:06 4583459ba037: Pulling fs layer 17:21:06 93c1e223e6f2: Pulling fs layer 17:21:06 53926ce57604: Pulling fs layer 17:21:06 21b2b0c7a3f4: Pulling fs layer 17:21:06 30f14e443154: Pulling fs layer 17:21:06 801331c1e519: Pulling fs layer 17:21:06 99cc6dd402b0: Pulling fs layer 17:21:06 7d9ed39f4882: Pulling fs layer 17:21:06 53926ce57604: Waiting 17:21:06 99cc6dd402b0: Waiting 17:21:06 7d9ed39f4882: Waiting 17:21:06 801331c1e519: Waiting 17:21:06 30f14e443154: Waiting 17:21:06 21b2b0c7a3f4: Waiting 17:21:06 93c1e223e6f2: Download complete 17:21:06 4583459ba037: Verifying Checksum 17:21:06 4583459ba037: Download complete 17:21:06 21b2b0c7a3f4: Verifying Checksum 17:21:06 21b2b0c7a3f4: Download complete 17:21:06 30f14e443154: Verifying Checksum 17:21:06 30f14e443154: Download complete 17:21:06 213ec9aee27d: Verifying Checksum 17:21:06 213ec9aee27d: Download complete 17:21:06 801331c1e519: Download complete 17:21:06 213ec9aee27d: Pull complete 17:21:06 4583459ba037: Pull complete 17:21:06 93c1e223e6f2: Pull complete 17:21:07 7d9ed39f4882: Download complete 17:21:07 99cc6dd402b0: Verifying Checksum 17:21:07 99cc6dd402b0: Download complete 17:21:07 53926ce57604: Verifying Checksum 17:21:07 53926ce57604: Download complete 17:21:11 53926ce57604: Pull complete 17:21:11 21b2b0c7a3f4: Pull complete 17:21:11 30f14e443154: Pull complete 17:21:11 801331c1e519: Pull complete 17:21:14 99cc6dd402b0: Pull complete 17:21:14 7d9ed39f4882: Pull complete 17:21:14 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 17:21:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:21:14 ---> 1dedd983c030 17:21:14 Step 3/10 : ARG MAKE=make build 17:21:16 ---> Running in 4b0df18f887a 17:21:16 Removing intermediate container 4b0df18f887a 17:21:16 ---> caadf3b7b2fa 17:21:16 Step 4/10 : WORKDIR /device-sdk-go 17:21:16 ---> Running in d2c74b1ecb60 17:21:16 Removing intermediate container d2c74b1ecb60 17:21:16 ---> a269d9a05b08 17:21:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:21:16 ---> Running in 5878b3c0aef7 17:21:16 Removing intermediate container 5878b3c0aef7 17:21:16 ---> 0846bd44a4ca 17:21:16 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:21:16 ---> Running in 5e648a8bb91c 17:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:21:17 OK: 211 MiB in 51 packages 17:21:17 Removing intermediate container 5e648a8bb91c 17:21:17 ---> 29c6d8b3cced 17:21:17 Step 7/10 : COPY go.mod vendor* ./ 17:21:17 ---> e3f79b73fd9d 17:21:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:17 ---> Running in 3d9c8eff6867 17:21:19 Still waiting to schedule task 17:21:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:21:39 Removing intermediate container 3d9c8eff6867 17:21:39 ---> fe393b6536a6 17:21:39 Step 9/10 : COPY . . 17:21:39 ---> 2cde022594c4 17:21:39 Step 10/10 : RUN ${MAKE} 17:21:39 ---> Running in e322275cdef5 17:21:39 noop 17:21:39 Removing intermediate container e322275cdef5 17:21:39 ---> 7c05f53e07e8 17:21:39 Successfully built 7c05f53e07e8 17:21:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:40 + docker inspect -f . ci-base-image-x86_64 17:21:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:40 prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container 17:21:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:21:40 $ docker top e00cf3c2ff4588b07f283ceb5888c809b760e5ec4f81dfcd990d78475e9801e6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:41 + go version 17:21:41 go version go1.18.7 linux/amd64 [Pipeline] } 17:21:41 $ docker stop --time=1 e00cf3c2ff4588b07f283ceb5888c809b760e5ec4f81dfcd990d78475e9801e6 17:21:42 $ docker rm -f e00cf3c2ff4588b07f283ceb5888c809b760e5ec4f81dfcd990d78475e9801e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:43 + docker inspect -f . ci-base-image-x86_64 17:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:43 prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container 17:21:43 $ 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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:21:43 $ docker top 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] fileExists [Pipeline] sh 17:21:44 + make test 17:21:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:21:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 73.1% of statements 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:22:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements 17:22:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:22:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 17:22:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:22:20 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." 17:22:20 GO111MODULE=on go vet ./... 17:22:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:24 ./bin/test-attribution-txt.sh 17:22:24 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:22:24 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:22:24 $ docker stop --time=1 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 17:22:26 $ docker rm -f 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:22:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:22:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:27 + ls -al . 17:22:27 total 280 17:22:27 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:21 . 17:22:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:20 .. 17:22:27 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:20 .dockerignore 17:22:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:22 .git 17:22:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:20 .github 17:22:27 -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:20 .gitignore 17:22:27 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:20 .golangci.yml 17:22:27 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:21 .semver 17:22:27 -rw-rw-r-- 1 jenkins jenkins 31678 Nov 1 17:20 CHANGELOG.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:20 GOVERNANCE.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:20 Jenkinsfile 17:22:27 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:20 LICENSE 17:22:27 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:20 Makefile 17:22:27 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:20 OWNERS.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:20 README.md 17:22:27 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:21 VERSION 17:22:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:20 bin 17:22:27 -rw-r--r-- 1 jenkins jenkins 101760 Nov 1 17:22 coverage.out 17:22:27 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:20 example 17:22:27 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:20 go.mod 17:22:27 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:20 go.sum 17:22:27 drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:20 internal 17:22:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:20 openapi 17:22:27 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:20 pkg 17:22:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:20 snap 17:22:27 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:28 + 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=53c794fe567d8de765249db7322f4c53eed1de5b --label arch=amd64 --label version=0.0.0 . 17:22:28 Sending build context to Docker daemon 10.21MB 17:22:28 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:22:28 Step 2/23 : FROM ${BASE} AS builder 17:22:28 ---> 7c05f53e07e8 17:22:28 Step 3/23 : ARG MAKE=make build 17:22:28 ---> Running in e2f3446b211e 17:22:28 Removing intermediate container e2f3446b211e 17:22:28 ---> 9dc8de2b08d9 17:22:28 Step 4/23 : WORKDIR /device-sdk-go 17:22:28 ---> Running in f66d6e4c0746 17:22:28 Removing intermediate container f66d6e4c0746 17:22:28 ---> b4ad3a154cba 17:22:28 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:22:28 ---> Running in beb185440e9f 17:22:28 Removing intermediate container beb185440e9f 17:22:28 ---> 2bc9ba10549d 17:22:28 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:22:28 ---> Running in 07ba6480faac 17:22:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:29 OK: 211 MiB in 51 packages 17:22:29 Removing intermediate container 07ba6480faac 17:22:29 ---> d2b71740ba6c 17:22:29 Step 7/23 : COPY go.mod vendor* ./ 17:22:29 ---> ab95a9d43e00 17:22:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:29 ---> Running in 7733d7b47a78 17:22:30 Removing intermediate container 7733d7b47a78 17:22:30 ---> 85e1f12d692b 17:22:30 Step 9/23 : COPY . . 17:22:31 ---> a0463c84ab3a 17:22:31 Step 10/23 : RUN ${MAKE} 17:22:31 ---> Running in d1f775bf0e6e 17:22:31 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 17:22:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117744 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] { [Pipeline] ws 17:22:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:22:45 The recommended git tool is: git 17:22:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:22:50 using credential edgex-jenkins-ssh 17:22:50 Cloning the remote Git repository 17:22:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:22:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:50 > git --version # timeout=10 17:22:50 > git --version # 'git version 2.25.1' 17:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:50 Verifying host key using known hosts file 17:22: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. 17:22:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:51 Removing intermediate container d1f775bf0e6e 17:22:51 ---> 9752d647f1b0 17:22:51 Step 11/23 : FROM alpine:3.16 17:22:51 3.16: Pulling from library/alpine 17:22:52 213ec9aee27d: Already exists 17:22:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:22:52 Status: Downloaded newer image for alpine:3.16 17:22:52 ---> 9c6f07244728 17:22:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:22:52 ---> Running in 627f4f977c23 17:22:52 Removing intermediate container 627f4f977c23 17:22:52 ---> 3d739bf941c1 17:22:52 Step 13/23 : RUN apk add --update --no-cache zeromq 17:22:52 ---> Running in 4bc6ce617d27 17:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:52 (1/5) Installing libgcc (11.2.1_git20220219-r2) 17:22:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:53 (2/5) Installing libsodium (1.0.18-r0) 17:22:53 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 17:22:53 (4/5) Installing libzmq (4.3.4-r0) 17:22:53 (5/5) Installing zeromq (4.3.4-r0) 17:22:53 Executing busybox-1.35.0-r17.trigger 17:22:53 OK: 8 MiB in 19 packages 17:22:53 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit 4b193d41d886300f143caaacc5ff1808b034d205 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:54 Failed in branch arm64 17:22:54 Removing intermediate container 4bc6ce617d27 17:22:54 ---> 7089861665a3 17:22:54 Step 14/23 : WORKDIR / 17:22:54 ---> Running in a48edb3e2151 17:22:54 Removing intermediate container a48edb3e2151 17:22:54 ---> 43456fd8bcc6 17:22:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:53 Verifying host key using known hosts file 17:22:53 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. 17:22:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:22:53 > git config core.sparsecheckout # timeout=10 17:22:53 > git checkout -f 4b193d41d886300f143caaacc5ff1808b034d205 # timeout=10 17:22:54 ---> bbbc73083701 17:22:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:22:55 ---> 71423c329eab 17:22:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:22:55 ---> 27e9400c211f 17:22:55 Step 18/23 : EXPOSE 59999 17:22:55 ---> Running in 358bc8f42a7f 17:22:55 Removing intermediate container 358bc8f42a7f 17:22:55 ---> 55803a15cd24 17:22:55 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:22:55 ---> Running in bed86a09a035 17:22:55 Removing intermediate container bed86a09a035 17:22:55 ---> ffe7155c0350 17:22:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:22:55 ---> Running in f7a45cf2f975 17:22:55 Removing intermediate container f7a45cf2f975 17:22:55 ---> fbbc53134876 17:22:55 Step 21/23 : LABEL arch=amd64 17:22:55 ---> Running in 596b1d0d7be8 17:22:55 Removing intermediate container 596b1d0d7be8 17:22:55 ---> 9bd02e2a5173 17:22:55 Step 22/23 : LABEL git_sha=53c794fe567d8de765249db7322f4c53eed1de5b 17:22:55 ---> Running in 95340c18c2e2 17:22:55 Removing intermediate container 95340c18c2e2 17:22:55 ---> 132fba6fdcfb 17:22:55 Step 23/23 : LABEL version=0.0.0 17:22:55 ---> Running in e6e9088265c0 17:22:55 Removing intermediate container e6e9088265c0 17:22:55 ---> 0e27fd8d48a7 17:22:55 [Warning] One or more build-args [ARCH] were not consumed 17:22:55 Successfully built 0e27fd8d48a7 17:22:55 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 17:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:56 17:22:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:56 latest: Pulling from edgex-lftools-log-publisher 17:22:56 5eb5b503b376: Pulling fs layer 17:22:56 5c69ac0246d0: Pulling fs layer 17:22:56 ec43610c2a17: Pulling fs layer 17:22:56 3a2ae6a8a46f: Pulling fs layer 17:22:56 33b1e0a273af: Pulling fs layer 17:22:56 5d3b04190fa2: Pulling fs layer 17:22:56 2f39f015ded8: Pulling fs layer 17:22:56 33b1e0a273af: Waiting 17:22:56 5d3b04190fa2: Waiting 17:22:56 5c69ac0246d0: Verifying Checksum 17:22:56 5c69ac0246d0: Download complete 17:22:56 3a2ae6a8a46f: Verifying Checksum 17:22:56 3a2ae6a8a46f: Download complete 17:22:57 33b1e0a273af: Verifying Checksum 17:22:57 33b1e0a273af: Download complete 17:22:57 ec43610c2a17: Verifying Checksum 17:22:57 ec43610c2a17: Download complete 17:22:57 5d3b04190fa2: Download complete 17:22:57 5eb5b503b376: Verifying Checksum 17:22:57 5eb5b503b376: Download complete 17:22:57 2f39f015ded8: Download complete 17:22:58 5eb5b503b376: Pull complete 17:22:58 5c69ac0246d0: Pull complete 17:22:58 ec43610c2a17: Pull complete 17:22:58 3a2ae6a8a46f: Pull complete 17:22:59 33b1e0a273af: Pull complete 17:22:59 5d3b04190fa2: Pull complete 17:23:03 2f39f015ded8: Pull complete 17:23:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:03 prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container 17:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:23:05 $ docker top 95d532829f358f579832a076fd2a234c3357fb9272138b8027212fd439d095d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:05 ---> job-cost.sh 17:23:05 lf-activate-venv: SKIPPING 17:23:05 INFO: No Stack... 17:23:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:06 INFO: Archiving Costs [Pipeline] sh 17:23:06 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/cost.csv 17:23:06 + cut -d, -f6 [Pipeline] lock 17:23:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] 17:23:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] did not exist. Created. 17:23:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:23:07 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:07 Stashed 1 file(s) [Pipeline] } 17:23:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:23:07 $ docker stop --time=1 95d532829f358f579832a076fd2a234c3357fb9272138b8027212fd439d095d0 17:23:08 $ docker rm -f 95d532829f358f579832a076fd2a234c3357fb9272138b8027212fd439d095d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:23:10 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives ] 17:23:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:23:10 total 16 17:23:10 drwxr-xr-x 3 root root 4096 Nov 1 17:23 . 17:23:10 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:23 .. 17:23:10 drwxr-xr-x 2 root root 4096 Nov 1 17:23 cost 17:23:10 -rw-r--r-- 1 root root 86 Nov 1 17:23 cost.csv 17:23:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:23:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:23:10 total 16 17:23:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:23 . 17:23:10 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:23 .. 17:23:10 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:23 cost 17:23:10 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:23:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:23:12 ---> package-listing.sh 17:23:12 ++ facter osfamily 17:23:12 ++ tr '[:upper:]' '[:lower:]' 17:23:12 + OS_FAMILY=debian 17:23:12 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1252 17:23:12 + START_PACKAGES=/tmp/packages_start.txt 17:23:12 + END_PACKAGES=/tmp/packages_end.txt 17:23:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:23:12 + PACKAGES=/tmp/packages_start.txt 17:23:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' 17:23:12 + PACKAGES=/tmp/packages_end.txt 17:23:12 + case "${OS_FAMILY}" in 17:23:12 + dpkg -l 17:23:12 + grep '^ii' 17:23:12 + '[' -f /tmp/packages_start.txt ']' 17:23:12 + '[' -f /tmp/packages_end.txt ']' 17:23:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:23:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' 17:23:12 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ 17:23:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ [Pipeline] echo 17:23:12 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-1252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:23:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:13 prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container 17:23:13 $ 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-1252/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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:23:13 $ docker top 7f29f1057598745b6ea1c41206a753910b534cbee0f2776f93aa7ee620fc1249 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:14 + touch /tmp/pre-build-complete [Pipeline] sh 17:23:14 + mkdir -p /var/log/sysstat [Pipeline] sh 17:23:14 + ls /var/log/sa-host 17:23:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:14 provisioning config files... 17:23:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config2646261238577852559tmp [Pipeline] { [Pipeline] echo 17:23:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:23:15 ---> create-netrc.sh [Pipeline] } 17:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:23:15 ---> python-tools-install.sh [Pipeline] echo 17:23:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:23:16 ---> sudo-logs.sh 17:23:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:23:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:23:16 ---> job-cost.sh 17:23:16 lf-activate-venv: SKIPPING 17:23:16 DEBUG: total: 0.2199999988079071 17:23:16 INFO: Retrieving Stack Cost... 17:23:16 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:17 INFO: Archiving Costs [Pipeline] echo 17:23:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:23:17 ---> logs-deploy.sh 17:23:17 lf-activate-venv: SKIPPING 17:23:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1252/1 17:23:17 INFO: archiving workspace using pattern(s): 17:23:18 Archives upload complete. 17:23:18 INFO: archiving logs to Nexus 17:23:19 ---> uname -a: 17:23:19 Linux prd-ubuntu20-04-docker-8c-8g-117743 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:23:19 17:23:19 17:23:19 ---> lscpu: 17:23:19 Architecture: x86_64 17:23:19 CPU op-mode(s): 32-bit, 64-bit 17:23:19 Byte Order: Little Endian 17:23:19 Address sizes: 40 bits physical, 48 bits virtual 17:23:19 CPU(s): 8 17:23:19 On-line CPU(s) list: 0-7 17:23:19 Thread(s) per core: 1 17:23:19 Core(s) per socket: 1 17:23:19 Socket(s): 8 17:23:19 NUMA node(s): 1 17:23:19 Vendor ID: AuthenticAMD 17:23:19 CPU family: 23 17:23:19 Model: 49 17:23:19 Model name: AMD EPYC-Rome Processor 17:23:19 Stepping: 0 17:23:19 CPU MHz: 2799.996 17:23:19 BogoMIPS: 5599.99 17:23:19 Virtualization: AMD-V 17:23:19 Hypervisor vendor: KVM 17:23:19 Virtualization type: full 17:23:19 L1d cache: 256 KiB 17:23:19 L1i cache: 256 KiB 17:23:19 L2 cache: 4 MiB 17:23:19 L3 cache: 128 MiB 17:23:19 NUMA node0 CPU(s): 0-7 17:23:19 Vulnerability Itlb multihit: Not affected 17:23:19 Vulnerability L1tf: Not affected 17:23:19 Vulnerability Mds: Not affected 17:23:19 Vulnerability Meltdown: Not affected 17:23:19 Vulnerability Mmio stale data: Not affected 17:23:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:23:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:23:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:23:19 Vulnerability Srbds: Not affected 17:23:19 Vulnerability Tsx async abort: Not affected 17:23:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:23:19 17:23:19 17:23:19 ---> nproc: 17:23:19 8 17:23:19 17:23:19 17:23:19 ---> df -h: 17:23:19 Filesystem Size Used Avail Use% Mounted on 17:23:19 overlay 155G 12G 144G 8% / 17:23:19 tmpfs 64M 0 64M 0% /dev 17:23:19 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:23:19 shm 64M 0 64M 0% /dev/shm 17:23:19 /dev/vda1 155G 12G 144G 8% /facter-os 17:23:19 17:23:19 17:23:19 ---> sar -b -r -n DEV: 17:23:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117743) 11/01/22 _x86_64_ (8 CPU) 17:23:19 17:23:19 17:20:05 LINUX RESTART (8 CPU) 17:23:19 17:23:19 17:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:23:19 17:22:01 165.43 1.68 163.75 0.00 35.32 65457.25 0.00 17:23:19 17:23:01 152.91 0.35 152.56 0.00 18.13 31596.87 0.00 17:23:19 Average: 159.17 1.02 158.15 0.00 26.73 48528.47 0.00 17:23:19 17:23:19 17:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:23:19 17:22:01 28022728 31470844 842696 2.56 138004 3500124 2056360 6.06 1456832 2958460 396776 17:23:19 17:23:01 27740052 31553136 760116 2.31 148252 3826596 2057844 6.06 1239816 3423572 488184 17:23:19 Average: 27881390 31511990 801406 2.44 143128 3663360 2057102 6.06 1348324 3191016 442480 17:23:19 17:23:19 17:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:23:19 17:22:01 docker0 156.01 221.51 12.49 1754.85 0.00 0.00 0.00 0.00 17:23:19 17:22:01 ens3 417.04 269.71 5718.84 38.18 0.00 0.00 0.00 0.00 17:23:19 17:22:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 17:23:19 17:22:01 veth08cdc39 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 17:23:19 17:23:01 docker0 4.40 9.47 0.27 98.13 0.00 0.00 0.00 0.00 17:23:19 17:23:01 ens3 131.28 81.00 2638.30 18.81 0.00 0.00 0.00 0.00 17:23:19 17:23:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 17:23:19 Average: docker0 80.21 115.50 6.38 926.56 0.00 0.00 0.00 0.00 17:23:19 Average: ens3 274.17 175.36 4178.70 28.50 0.00 0.00 0.00 0.00 17:23:19 Average: lo 2.37 2.37 0.23 0.23 0.00 0.00 0.00 0.00 17:23:19 17:23:19 17:23:19 ---> sar -P ALL: 17:23:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117743) 11/01/22 _x86_64_ (8 CPU) 17:23:19 17:23:19 17:20:05 LINUX RESTART (8 CPU) 17:23:19 17:23:19 17:21:01 CPU %user %nice %system %iowait %steal %idle 17:23:19 17:22:01 all 26.50 0.00 6.32 1.06 0.07 66.04 17:23:19 17:22:01 0 26.69 0.00 6.84 1.63 0.08 64.76 17:23:19 17:22:01 1 25.76 0.00 5.92 1.01 0.07 67.23 17:23:19 17:22:01 2 25.35 0.00 5.82 0.03 0.08 68.71 17:23:19 17:22:01 3 27.27 0.00 6.32 0.41 0.08 65.92 17:23:19 17:22:01 4 26.61 0.00 5.60 0.12 0.07 67.61 17:23:19 17:22:01 5 26.21 0.00 5.95 2.09 0.07 65.68 17:23:19 17:22:01 6 27.61 0.00 6.42 0.41 0.07 65.49 17:23:19 17:22:01 7 26.53 0.00 7.69 2.84 0.07 62.87 17:23:19 17:23:01 all 41.41 0.00 7.38 0.90 0.10 50.21 17:23:19 17:23:01 0 40.75 0.00 7.80 0.29 0.08 51.08 17:23:19 17:23:01 1 41.80 0.00 7.85 0.03 0.10 50.21 17:23:19 17:23:01 2 41.49 0.00 6.79 0.05 0.10 51.57 17:23:19 17:23:01 3 42.34 0.00 7.40 2.57 0.08 47.61 17:23:19 17:23:01 4 40.65 0.00 7.42 0.96 0.08 50.88 17:23:19 17:23:01 5 40.85 0.00 7.93 1.41 0.10 49.72 17:23:19 17:23:01 6 42.28 0.00 7.00 1.69 0.10 48.94 17:23:19 17:23:01 7 41.15 0.00 6.87 0.20 0.10 51.68 17:23:19 Average: all 33.96 0.00 6.85 0.98 0.08 58.12 17:23:19 Average: 0 33.72 0.00 7.32 0.96 0.08 57.92 17:23:19 Average: 1 33.78 0.00 6.89 0.52 0.08 58.73 17:23:19 Average: 2 33.41 0.00 6.30 0.04 0.09 60.15 17:23:19 Average: 3 34.81 0.00 6.86 1.49 0.08 56.76 17:23:19 Average: 4 33.64 0.00 6.51 0.54 0.08 59.23 17:23:19 Average: 5 33.54 0.00 6.94 1.75 0.08 57.69 17:23:19 Average: 6 34.95 0.00 6.71 1.05 0.08 57.21 17:23:19 Average: 7 33.85 0.00 7.28 1.52 0.08 57.26 17:23:19 17:23:19 17:23:19