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 [2022-11-01T17:20:43.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-01T17:20:43.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-01T17:20:43.294Z] ========================================================= [2022-11-01T17:20:43.294Z] EdgeX Global Pipelines Version Info [2022-11-01T17:20:43.294Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:20:44.100Z] ------------------- [2022-11-01T17:20:44.100Z] stable info: [2022-11-01T17:20:44.100Z] ------------------- [2022-11-01T17:20:44.100Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-01T17:20:44.100Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-01T17:20:44.100Z] Message: update stable to v1.0.243 [2022-11-01T17:20:44.672Z] ------------------- [2022-11-01T17:20:44.672Z] experimental info: [2022-11-01T17:20:44.673Z] ------------------- [2022-11-01T17:20:44.673Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-01T17:20:44.673Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-01T17:20:44.673Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-01T17:20:44.962Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-01T17:20:45.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-01T17:20:45.129Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-01T17:20:45.171Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-01T17:20:45.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-01T17:20:45.257Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-01T17:20:45.296Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-01T17:20:45.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-01T17:20:45.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-01T17:20:45.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-01T17:20:45.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-01T17:20:45.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-01T17:20:45.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-01T17:20:45.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-01T17:20:45.606Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-01T17:20:45.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:20:45.684Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:20:45.721Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:20:45.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-01T17:20:45.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-01T17:20:45.844Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-01T17:20:45.895Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-01T17:20:45.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-01T17:20:46.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-01T17:20:46.082Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-01T17:20:46.121Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-01T17:20:46.157Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-01T17:20:46.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1252 [Pipeline] echo [2022-11-01T17:20:46.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1252 [Pipeline] echo [2022-11-01T17:20:46.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1252 [Pipeline] echo [2022-11-01T17:20:46.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo [2022-11-01T17:20:46.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53c794f [Pipeline] echo [2022-11-01T17:20:46.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-01T17:20:46.505Z] provisioning config files... [2022-11-01T17:20:46.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config5654316946785061235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:20:46.869Z] ---> docker-login.sh [2022-11-01T17:20:46.869Z] nexus3.edgexfoundry.org:10001 [2022-11-01T17:20:47.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:20:47.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:20:47.391Z] Configure a credential helper to remove this warning. See [2022-11-01T17:20:47.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:20:47.391Z] [2022-11-01T17:20:47.391Z] Login Succeeded [2022-11-01T17:20:47.391Z] nexus3.edgexfoundry.org:10002 [2022-11-01T17:20:47.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:20:47.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:20:47.391Z] Configure a credential helper to remove this warning. See [2022-11-01T17:20:47.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:20:47.391Z] [2022-11-01T17:20:47.391Z] Login Succeeded [2022-11-01T17:20:47.391Z] nexus3.edgexfoundry.org:10003 [2022-11-01T17:20:47.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:20:47.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:20:47.652Z] Configure a credential helper to remove this warning. See [2022-11-01T17:20:47.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:20:47.652Z] [2022-11-01T17:20:47.652Z] Login Succeeded [2022-11-01T17:20:47.652Z] nexus3.edgexfoundry.org:10004 [2022-11-01T17:20:47.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:20:47.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:20:47.652Z] Configure a credential helper to remove this warning. See [2022-11-01T17:20:47.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:20:47.652Z] [2022-11-01T17:20:47.652Z] Login Succeeded [2022-11-01T17:20:47.652Z] docker.io [2022-11-01T17:20:47.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:20:48.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:20:48.229Z] Configure a credential helper to remove this warning. See [2022-11-01T17:20:48.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:20:48.229Z] [2022-11-01T17:20:48.229Z] Login Succeeded [2022-11-01T17:20:48.230Z] ---> docker-login.sh ends [Pipeline] } [2022-11-01T17:20:48.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-01T17:20:48.851Z] + git rev-list -1 --merges 53c794fe567d8de765249db7322f4c53eed1de5b~1..53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo [2022-11-01T17:20:48.891Z] -----------> git rev-list -1 --merges 53c794fe567d8de765249db7322f4c53eed1de5b~1..53c794fe567d8de765249db7322f4c53eed1de5b 53c794fe567d8de765249db7322f4c53eed1de5b [2022-11-01T17:20:48.891Z] 53c794fe567d8de765249db7322f4c53eed1de5b [false] [Pipeline] sh [2022-11-01T17:20:49.196Z] + git log --format=format:%s -1 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo [2022-11-01T17:20:49.227Z] ========================================================= [2022-11-01T17:20:49.227Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-01T17:20:49.227Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-01T17:20:49.662Z] + git log --format=format:%s -1 53c794fe567d8de765249db7322f4c53eed1de5b [Pipeline] echo [2022-11-01T17:20:49.694Z] [semverPrep] GIT_COMMIT: 53c794fe567d8de765249db7322f4c53eed1de5b, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo [2022-11-01T17:20:49.725Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-01T17:20:50.117Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-01T17:20:50.117Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-01T17:20:50.117Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-01T17:20:50.117Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-01T17:20:50.117Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-01T17:20:50.117Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-01T17:20:50.117Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:20:50.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:20:50.605Z] [2022-11-01T17:20:50.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:20:51.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:20:51.010Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-01T17:20:51.010Z] b85a868b505f: Pulling fs layer [2022-11-01T17:20:51.010Z] e2be974225ed: Pulling fs layer [2022-11-01T17:20:51.010Z] 339a4e72a1f5: Pulling fs layer [2022-11-01T17:20:51.010Z] 988bab9f4d93: Pulling fs layer [2022-11-01T17:20:51.010Z] 1469e6f7b9e6: Pulling fs layer [2022-11-01T17:20:51.010Z] eaf3925da568: Pulling fs layer [2022-11-01T17:20:51.010Z] bab4dde63d76: Pulling fs layer [2022-11-01T17:20:51.010Z] bde34c3a00c8: Pulling fs layer [2022-11-01T17:20:51.010Z] b352a97aabf1: Pulling fs layer [2022-11-01T17:20:51.010Z] 4872d77fe225: Pulling fs layer [2022-11-01T17:20:51.010Z] 5851b861e8e6: Pulling fs layer [2022-11-01T17:20:51.010Z] bab4dde63d76: Waiting [2022-11-01T17:20:51.010Z] eaf3925da568: Waiting [2022-11-01T17:20:51.010Z] bde34c3a00c8: Waiting [2022-11-01T17:20:51.010Z] 988bab9f4d93: Waiting [2022-11-01T17:20:51.010Z] 4872d77fe225: Waiting [2022-11-01T17:20:51.010Z] 1469e6f7b9e6: Waiting [2022-11-01T17:20:51.010Z] 5851b861e8e6: Waiting [2022-11-01T17:20:51.010Z] b352a97aabf1: Waiting [2022-11-01T17:20:51.010Z] e2be974225ed: Download complete [2022-11-01T17:20:51.010Z] 988bab9f4d93: Download complete [2022-11-01T17:20:51.271Z] 1469e6f7b9e6: Verifying Checksum [2022-11-01T17:20:51.271Z] 1469e6f7b9e6: Download complete [2022-11-01T17:20:51.271Z] 339a4e72a1f5: Verifying Checksum [2022-11-01T17:20:51.271Z] 339a4e72a1f5: Download complete [2022-11-01T17:20:51.271Z] eaf3925da568: Verifying Checksum [2022-11-01T17:20:51.271Z] eaf3925da568: Download complete [2022-11-01T17:20:51.271Z] bde34c3a00c8: Download complete [2022-11-01T17:20:51.271Z] b352a97aabf1: Verifying Checksum [2022-11-01T17:20:51.271Z] b352a97aabf1: Download complete [2022-11-01T17:20:51.271Z] 4872d77fe225: Verifying Checksum [2022-11-01T17:20:51.271Z] 4872d77fe225: Download complete [2022-11-01T17:20:51.271Z] 5851b861e8e6: Download complete [2022-11-01T17:20:51.271Z] b85a868b505f: Verifying Checksum [2022-11-01T17:20:51.271Z] b85a868b505f: Download complete [2022-11-01T17:20:51.533Z] bab4dde63d76: Verifying Checksum [2022-11-01T17:20:51.533Z] bab4dde63d76: Download complete [2022-11-01T17:20:52.909Z] b85a868b505f: Pull complete [2022-11-01T17:20:52.909Z] e2be974225ed: Pull complete [2022-11-01T17:20:53.169Z] 339a4e72a1f5: Pull complete [2022-11-01T17:20:53.169Z] 988bab9f4d93: Pull complete [2022-11-01T17:20:53.736Z] 1469e6f7b9e6: Pull complete [2022-11-01T17:20:53.736Z] eaf3925da568: Pull complete [2022-11-01T17:20:55.636Z] bab4dde63d76: Pull complete [2022-11-01T17:20:55.636Z] bde34c3a00c8: Pull complete [2022-11-01T17:20:55.636Z] b352a97aabf1: Pull complete [2022-11-01T17:20:55.636Z] 4872d77fe225: Pull complete [2022-11-01T17:20:55.636Z] 5851b861e8e6: Pull complete [2022-11-01T17:20:55.896Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-01T17:20:55.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:20:55.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:20:56.159Z] prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container [2022-11-01T17:20:56.193Z] $ 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 [2022-11-01T17:20:57.420Z] $ docker top 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 -eo pid,comm [2022-11-01T17:20:57.477Z] 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). [2022-11-01T17:20:57.477Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-01T17:20:57.610Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-01T17:20:57.611Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-01T17:20:57.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-01T17:20:57.747Z] $ docker exec 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent [2022-11-01T17:20:57.870Z] SSH_AUTH_SOCK=/tmp/ssh-3lQ3UINMlMk2/agent.32 [2022-11-01T17:20:57.870Z] SSH_AGENT_PID=38 [2022-11-01T17:20:57.876Z] Running ssh-add (command line suppressed) [2022-11-01T17:20:57.984Z] 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) [2022-11-01T17:20:58.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-01T17:20:58.339Z] + git tag --points-at HEAD [Pipeline] } [2022-11-01T17:20:58.363Z] $ docker exec --env ******** --env ******** 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent -k [2022-11-01T17:20:58.470Z] unset SSH_AUTH_SOCK; [2022-11-01T17:20:58.470Z] unset SSH_AGENT_PID; [2022-11-01T17:20:58.470Z] echo Agent pid 38 killed; [2022-11-01T17:20:58.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-01T17:20:58.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-01T17:20:58.620Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-01T17:20:58.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-01T17:20:58.737Z] $ docker exec 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent [2022-11-01T17:20:58.853Z] SSH_AUTH_SOCK=/tmp/ssh-2zjfOYwVd8nO/agent.70 [2022-11-01T17:20:58.853Z] SSH_AGENT_PID=76 [2022-11-01T17:20:58.858Z] Running ssh-add (command line suppressed) [2022-11-01T17:20:58.968Z] 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) [2022-11-01T17:20:58.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-01T17:20:59.311Z] + git semver init [2022-11-01T17:20:59.570Z] 2022-11-01 17:20:59,506 [run_init] DEBUG init version:0.0.0 force:False [2022-11-01T17:20:59.570Z] 2022-11-01 17:20:59,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver [2022-11-01T17:20:59.570Z] 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 [2022-11-01T17:20:59.570Z] 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) [2022-11-01T17:21:00.511Z] 2022-11-01 17:21:00,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.git/info/exclude [2022-11-01T17:21:00.511Z] 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 [2022-11-01T17:21:00.511Z] 2022-11-01 17:21:00,496 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 [2022-11-01T17:21:00.511Z] 2022-11-01 17:21:00,500 [execute] INFO git cat-file --batch-check [2022-11-01T17:21:00.511Z] 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=) [2022-11-01T17:21:00.770Z] 2022-11-01 17:21:00,511 [execute] INFO git cat-file --batch [2022-11-01T17:21:00.770Z] 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=) [2022-11-01T17:21:00.770Z] 2022-11-01 17:21:00,518 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 [2022-11-01T17:21:00.770Z] 0.0.0 [Pipeline] } [2022-11-01T17:21:00.794Z] $ docker exec --env ******** --env ******** 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 ssh-agent -k [2022-11-01T17:21:00.901Z] unset SSH_AUTH_SOCK; [2022-11-01T17:21:00.901Z] unset SSH_AGENT_PID; [2022-11-01T17:21:00.901Z] echo Agent pid 76 killed; [2022-11-01T17:21:00.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-01T17:21:01.414Z] + git semver [Pipeline] } [2022-11-01T17:21:01.696Z] $ docker stop --time=1 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 [2022-11-01T17:21:03.009Z] $ docker rm -f 1ed2f646382f7342ecb4a2daebfd0c75fb8da039836146ff7324afd883e213c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-01T17:21:03.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-01T17:21:03.662Z] Stashed 1 file(s) [Pipeline] echo [2022-11-01T17:21:03.678Z] [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 [2022-11-01T17:21:04.300Z] provisioning config files... [2022-11-01T17:21:04.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config9646715711678398537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:21:04.668Z] ---> docker-login.sh [2022-11-01T17:21:04.668Z] nexus3.edgexfoundry.org:10001 [2022-11-01T17:21:04.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:21:04.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:21:04.668Z] Configure a credential helper to remove this warning. See [2022-11-01T17:21:04.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:21:04.668Z] [2022-11-01T17:21:04.668Z] Login Succeeded [2022-11-01T17:21:04.668Z] nexus3.edgexfoundry.org:10002 [2022-11-01T17:21:04.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:21:04.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:21:04.668Z] Configure a credential helper to remove this warning. See [2022-11-01T17:21:04.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:21:04.668Z] [2022-11-01T17:21:04.668Z] Login Succeeded [2022-11-01T17:21:04.668Z] nexus3.edgexfoundry.org:10003 [2022-11-01T17:21:04.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:21:04.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:21:04.928Z] Configure a credential helper to remove this warning. See [2022-11-01T17:21:04.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:21:04.928Z] [2022-11-01T17:21:04.928Z] Login Succeeded [2022-11-01T17:21:04.928Z] nexus3.edgexfoundry.org:10004 [2022-11-01T17:21:04.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:21:04.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:21:04.928Z] Configure a credential helper to remove this warning. See [2022-11-01T17:21:04.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:21:04.928Z] [2022-11-01T17:21:04.928Z] Login Succeeded [2022-11-01T17:21:04.928Z] docker.io [2022-11-01T17:21:05.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:21:05.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:21:05.447Z] Configure a credential helper to remove this warning. See [2022-11-01T17:21:05.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:21:05.447Z] [2022-11-01T17:21:05.447Z] Login Succeeded [2022-11-01T17:21:05.447Z] ---> docker-login.sh ends [Pipeline] } [2022-11-01T17:21:05.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-01T17:21:05.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:21:05.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:21:05.798Z] ========================================================= [2022-11-01T17:21:05.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-01T17:21:05.799Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:21:06.351Z] + 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 . [2022-11-01T17:21:06.351Z] Sending build context to Docker daemon 10.11MB [2022-11-01T17:21:06.351Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:21:06.351Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-01T17:21:06.351Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-01T17:21:06.351Z] 213ec9aee27d: Pulling fs layer [2022-11-01T17:21:06.351Z] 4583459ba037: Pulling fs layer [2022-11-01T17:21:06.351Z] 93c1e223e6f2: Pulling fs layer [2022-11-01T17:21:06.351Z] 53926ce57604: Pulling fs layer [2022-11-01T17:21:06.351Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-01T17:21:06.351Z] 30f14e443154: Pulling fs layer [2022-11-01T17:21:06.351Z] 801331c1e519: Pulling fs layer [2022-11-01T17:21:06.351Z] 99cc6dd402b0: Pulling fs layer [2022-11-01T17:21:06.351Z] 7d9ed39f4882: Pulling fs layer [2022-11-01T17:21:06.351Z] 53926ce57604: Waiting [2022-11-01T17:21:06.351Z] 99cc6dd402b0: Waiting [2022-11-01T17:21:06.351Z] 7d9ed39f4882: Waiting [2022-11-01T17:21:06.351Z] 801331c1e519: Waiting [2022-11-01T17:21:06.351Z] 30f14e443154: Waiting [2022-11-01T17:21:06.351Z] 21b2b0c7a3f4: Waiting [2022-11-01T17:21:06.351Z] 93c1e223e6f2: Download complete [2022-11-01T17:21:06.351Z] 4583459ba037: Verifying Checksum [2022-11-01T17:21:06.351Z] 4583459ba037: Download complete [2022-11-01T17:21:06.612Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-01T17:21:06.612Z] 21b2b0c7a3f4: Download complete [2022-11-01T17:21:06.612Z] 30f14e443154: Verifying Checksum [2022-11-01T17:21:06.612Z] 30f14e443154: Download complete [2022-11-01T17:21:06.612Z] 213ec9aee27d: Verifying Checksum [2022-11-01T17:21:06.612Z] 213ec9aee27d: Download complete [2022-11-01T17:21:06.612Z] 801331c1e519: Download complete [2022-11-01T17:21:06.612Z] 213ec9aee27d: Pull complete [2022-11-01T17:21:06.873Z] 4583459ba037: Pull complete [2022-11-01T17:21:06.873Z] 93c1e223e6f2: Pull complete [2022-11-01T17:21:07.139Z] 7d9ed39f4882: Download complete [2022-11-01T17:21:07.400Z] 99cc6dd402b0: Verifying Checksum [2022-11-01T17:21:07.400Z] 99cc6dd402b0: Download complete [2022-11-01T17:21:07.400Z] 53926ce57604: Verifying Checksum [2022-11-01T17:21:07.400Z] 53926ce57604: Download complete [2022-11-01T17:21:11.595Z] 53926ce57604: Pull complete [2022-11-01T17:21:11.595Z] 21b2b0c7a3f4: Pull complete [2022-11-01T17:21:11.595Z] 30f14e443154: Pull complete [2022-11-01T17:21:11.595Z] 801331c1e519: Pull complete [2022-11-01T17:21:14.127Z] 99cc6dd402b0: Pull complete [2022-11-01T17:21:14.696Z] 7d9ed39f4882: Pull complete [2022-11-01T17:21:14.696Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-01T17:21:14.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-01T17:21:14.696Z] ---> 1dedd983c030 [2022-11-01T17:21:14.696Z] Step 3/10 : ARG MAKE=make build [2022-11-01T17:21:16.085Z] ---> Running in 4b0df18f887a [2022-11-01T17:21:16.345Z] Removing intermediate container 4b0df18f887a [2022-11-01T17:21:16.345Z] ---> caadf3b7b2fa [2022-11-01T17:21:16.345Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-01T17:21:16.345Z] ---> Running in d2c74b1ecb60 [2022-11-01T17:21:16.345Z] Removing intermediate container d2c74b1ecb60 [2022-11-01T17:21:16.345Z] ---> a269d9a05b08 [2022-11-01T17:21:16.345Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:21:16.604Z] ---> Running in 5878b3c0aef7 [2022-11-01T17:21:16.604Z] Removing intermediate container 5878b3c0aef7 [2022-11-01T17:21:16.604Z] ---> 0846bd44a4ca [2022-11-01T17:21:16.604Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:21:16.604Z] ---> Running in 5e648a8bb91c [2022-11-01T17:21:16.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:21:17.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:21:17.121Z] OK: 211 MiB in 51 packages [2022-11-01T17:21:17.689Z] Removing intermediate container 5e648a8bb91c [2022-11-01T17:21:17.689Z] ---> 29c6d8b3cced [2022-11-01T17:21:17.689Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-01T17:21:17.689Z] ---> e3f79b73fd9d [2022-11-01T17:21:17.689Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:21:17.689Z] ---> Running in 3d9c8eff6867 [2022-11-01T17:21:19.108Z] Still waiting to schedule task [2022-11-01T17:21:19.109Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-01T17:21:39.632Z] Removing intermediate container 3d9c8eff6867 [2022-11-01T17:21:39.632Z] ---> fe393b6536a6 [2022-11-01T17:21:39.632Z] Step 9/10 : COPY . . [2022-11-01T17:21:39.632Z] ---> 2cde022594c4 [2022-11-01T17:21:39.632Z] Step 10/10 : RUN ${MAKE} [2022-11-01T17:21:39.632Z] ---> Running in e322275cdef5 [2022-11-01T17:21:39.632Z] noop [2022-11-01T17:21:39.632Z] Removing intermediate container e322275cdef5 [2022-11-01T17:21:39.632Z] ---> 7c05f53e07e8 [2022-11-01T17:21:39.632Z] Successfully built 7c05f53e07e8 [2022-11-01T17:21:39.632Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:21:40.068Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-01T17:21:40.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:21:40.208Z] prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container [2022-11-01T17:21:40.235Z] $ 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 [2022-11-01T17:21:40.615Z] $ docker top e00cf3c2ff4588b07f283ceb5888c809b760e5ec4f81dfcd990d78475e9801e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:21:41.011Z] + go version [2022-11-01T17:21:41.012Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-01T17:21:41.044Z] $ docker stop --time=1 e00cf3c2ff4588b07f283ceb5888c809b760e5ec4f81dfcd990d78475e9801e6 [2022-11-01T17:21:42.328Z] $ 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 [2022-11-01T17:21:43.060Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-01T17:21:43.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:21:43.211Z] prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container [2022-11-01T17:21:43.237Z] $ 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 [2022-11-01T17:21:43.596Z] $ docker top 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:21:43.998Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] fileExists [Pipeline] sh [2022-11-01T17:21:44.356Z] + make test [2022-11-01T17:21:44.356Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-01T17:21:50.930Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 73.1% of statements [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-01T17:22:05.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements [2022-11-01T17:22:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-01T17:22:06.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-11-01T17:22:06.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-01T17:22:20.962Z] 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." [2022-11-01T17:22:20.962Z] GO111MODULE=on go vet ./... [2022-11-01T17:22:24.245Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-01T17:22:24.245Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-01T17:22:24.245Z] ./bin/test-attribution-txt.sh [2022-11-01T17:22:24.245Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-01T17:22:24.245Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-01T17:22:24.245Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-01T17:22:24.245Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-01T17:22:24.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-01T17:22:24.312Z] $ docker stop --time=1 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 [2022-11-01T17:22:26.334Z] $ docker rm -f 2b6227a6eab534c37e02b00625796c6497789731ccb0d8d12f052ba2008f9214 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-01T17:22:26.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-01T17:22:26.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-01T17:22:27.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-01T17:22:27.964Z] + ls -al . [2022-11-01T17:22:27.964Z] total 280 [2022-11-01T17:22:27.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:21 . [2022-11-01T17:22:27.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:20 .. [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:20 .dockerignore [2022-11-01T17:22:27.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:22 .git [2022-11-01T17:22:27.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:20 .github [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:20 .gitignore [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:20 .golangci.yml [2022-11-01T17:22:27.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:21 .semver [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 31678 Nov 1 17:20 CHANGELOG.md [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:20 GOVERNANCE.md [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:20 Jenkinsfile [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:20 LICENSE [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:20 Makefile [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:20 OWNERS.md [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:20 README.md [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:21 VERSION [2022-11-01T17:22:27.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:20 bin [2022-11-01T17:22:27.964Z] -rw-r--r-- 1 jenkins jenkins 101760 Nov 1 17:22 coverage.out [2022-11-01T17:22:27.964Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:20 example [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:20 go.mod [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:20 go.sum [2022-11-01T17:22:27.964Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:20 internal [2022-11-01T17:22:27.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:20 openapi [2022-11-01T17:22:27.964Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:20 pkg [2022-11-01T17:22:27.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:20 snap [2022-11-01T17:22:27.964Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:22:28.362Z] + 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 . [2022-11-01T17:22:28.362Z] Sending build context to Docker daemon 10.21MB [2022-11-01T17:22:28.362Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:22:28.362Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-01T17:22:28.362Z] ---> 7c05f53e07e8 [2022-11-01T17:22:28.362Z] Step 3/23 : ARG MAKE=make build [2022-11-01T17:22:28.362Z] ---> Running in e2f3446b211e [2022-11-01T17:22:28.621Z] Removing intermediate container e2f3446b211e [2022-11-01T17:22:28.621Z] ---> 9dc8de2b08d9 [2022-11-01T17:22:28.621Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-01T17:22:28.621Z] ---> Running in f66d6e4c0746 [2022-11-01T17:22:28.621Z] Removing intermediate container f66d6e4c0746 [2022-11-01T17:22:28.621Z] ---> b4ad3a154cba [2022-11-01T17:22:28.621Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:22:28.621Z] ---> Running in beb185440e9f [2022-11-01T17:22:28.881Z] Removing intermediate container beb185440e9f [2022-11-01T17:22:28.881Z] ---> 2bc9ba10549d [2022-11-01T17:22:28.881Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:22:28.881Z] ---> Running in 07ba6480faac [2022-11-01T17:22:29.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:22:29.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:22:29.403Z] OK: 211 MiB in 51 packages [2022-11-01T17:22:29.663Z] Removing intermediate container 07ba6480faac [2022-11-01T17:22:29.663Z] ---> d2b71740ba6c [2022-11-01T17:22:29.663Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-01T17:22:29.923Z] ---> ab95a9d43e00 [2022-11-01T17:22:29.923Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:22:29.923Z] ---> Running in 7733d7b47a78 [2022-11-01T17:22:30.490Z] Removing intermediate container 7733d7b47a78 [2022-11-01T17:22:30.490Z] ---> 85e1f12d692b [2022-11-01T17:22:30.490Z] Step 9/23 : COPY . . [2022-11-01T17:22:31.060Z] ---> a0463c84ab3a [2022-11-01T17:22:31.060Z] Step 10/23 : RUN ${MAKE} [2022-11-01T17:22:31.060Z] ---> Running in d1f775bf0e6e [2022-11-01T17:22:31.319Z] 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 [2022-11-01T17:22:45.538Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117744 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] { [Pipeline] ws [2022-11-01T17:22:45.583Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-01T17:22:45.663Z] The recommended git tool is: git [2022-11-01T17:22:49.402Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-01T17:22:50.200Z] using credential edgex-jenkins-ssh [2022-11-01T17:22:50.219Z] Cloning the remote Git repository [2022-11-01T17:22:50.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:22:50.341Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-01T17:22:50.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:22:50.461Z] > git --version # timeout=10 [2022-11-01T17:22:50.490Z] > git --version # 'git version 2.25.1' [2022-11-01T17:22:50.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-01T17:22:50.543Z] Verifying host key using known hosts file [2022-11-01T17:22:50.719Z] 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. [2022-11-01T17:22:50.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-01T17:22:51.934Z] Removing intermediate container d1f775bf0e6e [2022-11-01T17:22:51.935Z] ---> 9752d647f1b0 [2022-11-01T17:22:51.935Z] Step 11/23 : FROM alpine:3.16 [2022-11-01T17:22:51.935Z] 3.16: Pulling from library/alpine [2022-11-01T17:22:52.196Z] 213ec9aee27d: Already exists [2022-11-01T17:22:52.455Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-01T17:22:52.455Z] Status: Downloaded newer image for alpine:3.16 [2022-11-01T17:22:52.455Z] ---> 9c6f07244728 [2022-11-01T17:22:52.455Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:22:52.455Z] ---> Running in 627f4f977c23 [2022-11-01T17:22:52.455Z] Removing intermediate container 627f4f977c23 [2022-11-01T17:22:52.455Z] ---> 3d739bf941c1 [2022-11-01T17:22:52.455Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-01T17:22:52.455Z] ---> Running in 4bc6ce617d27 [2022-11-01T17:22:52.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:22:52.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:22:52.973Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-01T17:22:52.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-01T17:22:52.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-01T17:22:53.233Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-01T17:22:53.233Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-01T17:22:53.233Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-01T17:22:53.233Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-01T17:22:53.233Z] Executing busybox-1.35.0-r17.trigger [2022-11-01T17:22:53.233Z] OK: 8 MiB in 19 packages [2022-11-01T17:22:53.766Z] Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit 4b193d41d886300f143caaacc5ff1808b034d205 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-01T17:22:54.123Z] Failed in branch arm64 [2022-11-01T17:22:54.170Z] Removing intermediate container 4bc6ce617d27 [2022-11-01T17:22:54.170Z] ---> 7089861665a3 [2022-11-01T17:22:54.170Z] Step 14/23 : WORKDIR / [2022-11-01T17:22:54.170Z] ---> Running in a48edb3e2151 [2022-11-01T17:22:54.170Z] Removing intermediate container a48edb3e2151 [2022-11-01T17:22:54.170Z] ---> 43456fd8bcc6 [2022-11-01T17:22:54.170Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-01T17:22:53.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-01T17:22:53.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:22:53.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-01T17:22:53.063Z] Verifying host key using known hosts file [2022-11-01T17:22:53.069Z] 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. [2022-11-01T17:22:53.080Z] > 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 [2022-11-01T17:22:53.778Z] > git config core.sparsecheckout # timeout=10 [2022-11-01T17:22:53.796Z] > git checkout -f 4b193d41d886300f143caaacc5ff1808b034d205 # timeout=10 [2022-11-01T17:22:54.428Z] ---> bbbc73083701 [2022-11-01T17:22:54.429Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-01T17:22:55.002Z] ---> 71423c329eab [2022-11-01T17:22:55.002Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-01T17:22:55.002Z] ---> 27e9400c211f [2022-11-01T17:22:55.002Z] Step 18/23 : EXPOSE 59999 [2022-11-01T17:22:55.002Z] ---> Running in 358bc8f42a7f [2022-11-01T17:22:55.002Z] Removing intermediate container 358bc8f42a7f [2022-11-01T17:22:55.002Z] ---> 55803a15cd24 [2022-11-01T17:22:55.002Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-01T17:22:55.262Z] ---> Running in bed86a09a035 [2022-11-01T17:22:55.262Z] Removing intermediate container bed86a09a035 [2022-11-01T17:22:55.262Z] ---> ffe7155c0350 [2022-11-01T17:22:55.262Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-01T17:22:55.262Z] ---> Running in f7a45cf2f975 [2022-11-01T17:22:55.262Z] Removing intermediate container f7a45cf2f975 [2022-11-01T17:22:55.262Z] ---> fbbc53134876 [2022-11-01T17:22:55.262Z] Step 21/23 : LABEL arch=amd64 [2022-11-01T17:22:55.262Z] ---> Running in 596b1d0d7be8 [2022-11-01T17:22:55.520Z] Removing intermediate container 596b1d0d7be8 [2022-11-01T17:22:55.520Z] ---> 9bd02e2a5173 [2022-11-01T17:22:55.520Z] Step 22/23 : LABEL git_sha=53c794fe567d8de765249db7322f4c53eed1de5b [2022-11-01T17:22:55.520Z] ---> Running in 95340c18c2e2 [2022-11-01T17:22:55.520Z] Removing intermediate container 95340c18c2e2 [2022-11-01T17:22:55.520Z] ---> 132fba6fdcfb [2022-11-01T17:22:55.520Z] Step 23/23 : LABEL version=0.0.0 [2022-11-01T17:22:55.520Z] ---> Running in e6e9088265c0 [2022-11-01T17:22:55.778Z] Removing intermediate container e6e9088265c0 [2022-11-01T17:22:55.778Z] ---> 0e27fd8d48a7 [2022-11-01T17:22:55.778Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-01T17:22:55.778Z] Successfully built 0e27fd8d48a7 [2022-11-01T17:22:55.778Z] 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 [2022-11-01T17:22:56.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:22:56.616Z] [2022-11-01T17:22:56.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:22:56.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:22:56.994Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-01T17:22:56.994Z] 5eb5b503b376: Pulling fs layer [2022-11-01T17:22:56.994Z] 5c69ac0246d0: Pulling fs layer [2022-11-01T17:22:56.994Z] ec43610c2a17: Pulling fs layer [2022-11-01T17:22:56.994Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-01T17:22:56.994Z] 33b1e0a273af: Pulling fs layer [2022-11-01T17:22:56.994Z] 5d3b04190fa2: Pulling fs layer [2022-11-01T17:22:56.994Z] 2f39f015ded8: Pulling fs layer [2022-11-01T17:22:56.994Z] 33b1e0a273af: Waiting [2022-11-01T17:22:56.994Z] 5d3b04190fa2: Waiting [2022-11-01T17:22:56.995Z] 5c69ac0246d0: Verifying Checksum [2022-11-01T17:22:56.995Z] 5c69ac0246d0: Download complete [2022-11-01T17:22:56.995Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-01T17:22:56.995Z] 3a2ae6a8a46f: Download complete [2022-11-01T17:22:57.254Z] 33b1e0a273af: Verifying Checksum [2022-11-01T17:22:57.254Z] 33b1e0a273af: Download complete [2022-11-01T17:22:57.254Z] ec43610c2a17: Verifying Checksum [2022-11-01T17:22:57.254Z] ec43610c2a17: Download complete [2022-11-01T17:22:57.254Z] 5d3b04190fa2: Download complete [2022-11-01T17:22:57.254Z] 5eb5b503b376: Verifying Checksum [2022-11-01T17:22:57.254Z] 5eb5b503b376: Download complete [2022-11-01T17:22:57.823Z] 2f39f015ded8: Download complete [2022-11-01T17:22:58.389Z] 5eb5b503b376: Pull complete [2022-11-01T17:22:58.389Z] 5c69ac0246d0: Pull complete [2022-11-01T17:22:58.956Z] ec43610c2a17: Pull complete [2022-11-01T17:22:58.956Z] 3a2ae6a8a46f: Pull complete [2022-11-01T17:22:59.216Z] 33b1e0a273af: Pull complete [2022-11-01T17:22:59.216Z] 5d3b04190fa2: Pull complete [2022-11-01T17:23:03.407Z] 2f39f015ded8: Pull complete [2022-11-01T17:23:03.407Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-01T17:23:03.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:23:03.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:23:03.617Z] prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container [2022-11-01T17:23:03.642Z] $ 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 [2022-11-01T17:23:05.042Z] $ docker top 95d532829f358f579832a076fd2a234c3357fb9272138b8027212fd439d095d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:05.516Z] ---> job-cost.sh [2022-11-01T17:23:05.516Z] lf-activate-venv: SKIPPING [2022-11-01T17:23:05.516Z] INFO: No Stack... [2022-11-01T17:23:06.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-01T17:23:06.341Z] INFO: Archiving Costs [Pipeline] sh [2022-11-01T17:23:06.649Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/cost.csv [2022-11-01T17:23:06.649Z] + cut -d, -f6 [Pipeline] lock [2022-11-01T17:23:06.691Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] [2022-11-01T17:23:06.696Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] did not exist. Created. [2022-11-01T17:23:06.696Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-01T17:23:07.081Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-01T17:23:07.132Z] Stashed 1 file(s) [Pipeline] } [2022-11-01T17:23:07.161Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-01T17:23:07.240Z] $ docker stop --time=1 95d532829f358f579832a076fd2a234c3357fb9272138b8027212fd439d095d0 [2022-11-01T17:23:08.404Z] $ 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 [2022-11-01T17:23:10.904Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives ] [2022-11-01T17:23:10.904Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:23:10.904Z] total 16 [2022-11-01T17:23:10.904Z] drwxr-xr-x 3 root root 4096 Nov 1 17:23 . [2022-11-01T17:23:10.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:23 .. [2022-11-01T17:23:10.904Z] drwxr-xr-x 2 root root 4096 Nov 1 17:23 cost [2022-11-01T17:23:10.904Z] -rw-r--r-- 1 root root 86 Nov 1 17:23 cost.csv [2022-11-01T17:23:10.904Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:23:10.904Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:23:10.904Z] total 16 [2022-11-01T17:23:10.904Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:23 . [2022-11-01T17:23:10.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:23 .. [2022-11-01T17:23:10.904Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:23 cost [2022-11-01T17:23:10.904Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:11.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:12.123Z] ---> package-listing.sh [2022-11-01T17:23:12.123Z] ++ facter osfamily [2022-11-01T17:23:12.123Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-01T17:23:12.381Z] + OS_FAMILY=debian [2022-11-01T17:23:12.381Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1252 [2022-11-01T17:23:12.381Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-01T17:23:12.381Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-01T17:23:12.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-01T17:23:12.381Z] + PACKAGES=/tmp/packages_start.txt [2022-11-01T17:23:12.381Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' [2022-11-01T17:23:12.381Z] + PACKAGES=/tmp/packages_end.txt [2022-11-01T17:23:12.381Z] + case "${OS_FAMILY}" in [2022-11-01T17:23:12.381Z] + dpkg -l [2022-11-01T17:23:12.381Z] + grep '^ii' [2022-11-01T17:23:12.381Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-01T17:23:12.381Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-01T17:23:12.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-01T17:23:12.381Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' [2022-11-01T17:23:12.381Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ [2022-11-01T17:23:12.381Z] + 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 [2022-11-01T17:23:12.482Z] 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 [2022-11-01T17:23:12.774Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:23:13.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:23:13.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:23:13.548Z] prd-ubuntu20.04-docker-8c-8g-117743 does not seem to be running inside a container [2022-11-01T17:23:13.578Z] $ 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 [2022-11-01T17:23:13.797Z] $ docker top 7f29f1057598745b6ea1c41206a753910b534cbee0f2776f93aa7ee620fc1249 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:23:14.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-01T17:23:14.503Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-01T17:23:14.813Z] + ls /var/log/sa-host [2022-11-01T17:23:14.813Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-01T17:23:14.957Z] provisioning config files... [2022-11-01T17:23:14.967Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config2646261238577852559tmp [Pipeline] { [Pipeline] echo [2022-11-01T17:23:15.012Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:15.319Z] ---> create-netrc.sh [Pipeline] } [2022-11-01T17:23:15.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:15.742Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-01T17:23:15.774Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:16.082Z] ---> sudo-logs.sh [2022-11-01T17:23:16.082Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-01T17:23:16.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:16.472Z] ---> job-cost.sh [2022-11-01T17:23:16.472Z] lf-activate-venv: SKIPPING [2022-11-01T17:23:16.472Z] DEBUG: total: 0.2199999988079071 [2022-11-01T17:23:16.472Z] INFO: Retrieving Stack Cost... [2022-11-01T17:23:16.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-01T17:23:17.042Z] INFO: Archiving Costs [Pipeline] echo [2022-11-01T17:23:17.076Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:23:17.380Z] ---> logs-deploy.sh [2022-11-01T17:23:17.380Z] lf-activate-venv: SKIPPING [2022-11-01T17:23:17.380Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1252/1 [2022-11-01T17:23:17.380Z] INFO: archiving workspace using pattern(s): [2022-11-01T17:23:18.760Z] Archives upload complete. [2022-11-01T17:23:18.760Z] INFO: archiving logs to Nexus [2022-11-01T17:23:19.328Z] ---> uname -a: [2022-11-01T17:23:19.328Z] 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 [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] ---> lscpu: [2022-11-01T17:23:19.328Z] Architecture: x86_64 [2022-11-01T17:23:19.328Z] CPU op-mode(s): 32-bit, 64-bit [2022-11-01T17:23:19.328Z] Byte Order: Little Endian [2022-11-01T17:23:19.328Z] Address sizes: 40 bits physical, 48 bits virtual [2022-11-01T17:23:19.328Z] CPU(s): 8 [2022-11-01T17:23:19.328Z] On-line CPU(s) list: 0-7 [2022-11-01T17:23:19.328Z] Thread(s) per core: 1 [2022-11-01T17:23:19.328Z] Core(s) per socket: 1 [2022-11-01T17:23:19.328Z] Socket(s): 8 [2022-11-01T17:23:19.328Z] NUMA node(s): 1 [2022-11-01T17:23:19.328Z] Vendor ID: AuthenticAMD [2022-11-01T17:23:19.328Z] CPU family: 23 [2022-11-01T17:23:19.328Z] Model: 49 [2022-11-01T17:23:19.328Z] Model name: AMD EPYC-Rome Processor [2022-11-01T17:23:19.328Z] Stepping: 0 [2022-11-01T17:23:19.328Z] CPU MHz: 2799.996 [2022-11-01T17:23:19.328Z] BogoMIPS: 5599.99 [2022-11-01T17:23:19.328Z] Virtualization: AMD-V [2022-11-01T17:23:19.328Z] Hypervisor vendor: KVM [2022-11-01T17:23:19.328Z] Virtualization type: full [2022-11-01T17:23:19.328Z] L1d cache: 256 KiB [2022-11-01T17:23:19.328Z] L1i cache: 256 KiB [2022-11-01T17:23:19.328Z] L2 cache: 4 MiB [2022-11-01T17:23:19.328Z] L3 cache: 128 MiB [2022-11-01T17:23:19.328Z] NUMA node0 CPU(s): 0-7 [2022-11-01T17:23:19.328Z] Vulnerability Itlb multihit: Not affected [2022-11-01T17:23:19.328Z] Vulnerability L1tf: Not affected [2022-11-01T17:23:19.328Z] Vulnerability Mds: Not affected [2022-11-01T17:23:19.328Z] Vulnerability Meltdown: Not affected [2022-11-01T17:23:19.328Z] Vulnerability Mmio stale data: Not affected [2022-11-01T17:23:19.328Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-11-01T17:23:19.328Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-11-01T17:23:19.328Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-11-01T17:23:19.328Z] Vulnerability Srbds: Not affected [2022-11-01T17:23:19.328Z] Vulnerability Tsx async abort: Not affected [2022-11-01T17:23:19.328Z] 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 [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] ---> nproc: [2022-11-01T17:23:19.328Z] 8 [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] [2022-11-01T17:23:19.328Z] ---> df -h: [2022-11-01T17:23:19.328Z] Filesystem Size Used Avail Use% Mounted on [2022-11-01T17:23:19.329Z] overlay 155G 12G 144G 8% / [2022-11-01T17:23:19.329Z] tmpfs 64M 0 64M 0% /dev [2022-11-01T17:23:19.329Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-11-01T17:23:19.329Z] shm 64M 0 64M 0% /dev/shm [2022-11-01T17:23:19.329Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] ---> sar -b -r -n DEV: [2022-11-01T17:23:19.329Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117743) 11/01/22 _x86_64_ (8 CPU) [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:20:05 LINUX RESTART (8 CPU) [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-11-01T17:23:19.329Z] 17:22:01 165.43 1.68 163.75 0.00 35.32 65457.25 0.00 [2022-11-01T17:23:19.329Z] 17:23:01 152.91 0.35 152.56 0.00 18.13 31596.87 0.00 [2022-11-01T17:23:19.329Z] Average: 159.17 1.02 158.15 0.00 26.73 48528.47 0.00 [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-11-01T17:23:19.329Z] 17:22:01 28022728 31470844 842696 2.56 138004 3500124 2056360 6.06 1456832 2958460 396776 [2022-11-01T17:23:19.329Z] 17:23:01 27740052 31553136 760116 2.31 148252 3826596 2057844 6.06 1239816 3423572 488184 [2022-11-01T17:23:19.329Z] Average: 27881390 31511990 801406 2.44 143128 3663360 2057102 6.06 1348324 3191016 442480 [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-11-01T17:23:19.329Z] 17:22:01 docker0 156.01 221.51 12.49 1754.85 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:22:01 ens3 417.04 269.71 5718.84 38.18 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:22:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:22:01 veth08cdc39 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:23:01 docker0 4.40 9.47 0.27 98.13 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:23:01 ens3 131.28 81.00 2638.30 18.81 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] 17:23:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] Average: docker0 80.21 115.50 6.38 926.56 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] Average: ens3 274.17 175.36 4178.70 28.50 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] Average: lo 2.37 2.37 0.23 0.23 0.00 0.00 0.00 0.00 [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] ---> sar -P ALL: [2022-11-01T17:23:19.329Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117743) 11/01/22 _x86_64_ (8 CPU) [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:20:05 LINUX RESTART (8 CPU) [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] 17:21:01 CPU %user %nice %system %iowait %steal %idle [2022-11-01T17:23:19.329Z] 17:22:01 all 26.50 0.00 6.32 1.06 0.07 66.04 [2022-11-01T17:23:19.329Z] 17:22:01 0 26.69 0.00 6.84 1.63 0.08 64.76 [2022-11-01T17:23:19.329Z] 17:22:01 1 25.76 0.00 5.92 1.01 0.07 67.23 [2022-11-01T17:23:19.329Z] 17:22:01 2 25.35 0.00 5.82 0.03 0.08 68.71 [2022-11-01T17:23:19.329Z] 17:22:01 3 27.27 0.00 6.32 0.41 0.08 65.92 [2022-11-01T17:23:19.329Z] 17:22:01 4 26.61 0.00 5.60 0.12 0.07 67.61 [2022-11-01T17:23:19.329Z] 17:22:01 5 26.21 0.00 5.95 2.09 0.07 65.68 [2022-11-01T17:23:19.329Z] 17:22:01 6 27.61 0.00 6.42 0.41 0.07 65.49 [2022-11-01T17:23:19.329Z] 17:22:01 7 26.53 0.00 7.69 2.84 0.07 62.87 [2022-11-01T17:23:19.329Z] 17:23:01 all 41.41 0.00 7.38 0.90 0.10 50.21 [2022-11-01T17:23:19.329Z] 17:23:01 0 40.75 0.00 7.80 0.29 0.08 51.08 [2022-11-01T17:23:19.329Z] 17:23:01 1 41.80 0.00 7.85 0.03 0.10 50.21 [2022-11-01T17:23:19.329Z] 17:23:01 2 41.49 0.00 6.79 0.05 0.10 51.57 [2022-11-01T17:23:19.329Z] 17:23:01 3 42.34 0.00 7.40 2.57 0.08 47.61 [2022-11-01T17:23:19.329Z] 17:23:01 4 40.65 0.00 7.42 0.96 0.08 50.88 [2022-11-01T17:23:19.329Z] 17:23:01 5 40.85 0.00 7.93 1.41 0.10 49.72 [2022-11-01T17:23:19.329Z] 17:23:01 6 42.28 0.00 7.00 1.69 0.10 48.94 [2022-11-01T17:23:19.329Z] 17:23:01 7 41.15 0.00 6.87 0.20 0.10 51.68 [2022-11-01T17:23:19.329Z] Average: all 33.96 0.00 6.85 0.98 0.08 58.12 [2022-11-01T17:23:19.329Z] Average: 0 33.72 0.00 7.32 0.96 0.08 57.92 [2022-11-01T17:23:19.329Z] Average: 1 33.78 0.00 6.89 0.52 0.08 58.73 [2022-11-01T17:23:19.329Z] Average: 2 33.41 0.00 6.30 0.04 0.09 60.15 [2022-11-01T17:23:19.329Z] Average: 3 34.81 0.00 6.86 1.49 0.08 56.76 [2022-11-01T17:23:19.329Z] Average: 4 33.64 0.00 6.51 0.54 0.08 59.23 [2022-11-01T17:23:19.329Z] Average: 5 33.54 0.00 6.94 1.75 0.08 57.69 [2022-11-01T17:23:19.329Z] Average: 6 34.95 0.00 6.71 1.05 0.08 57.21 [2022-11-01T17:23:19.329Z] Average: 7 33.85 0.00 7.28 1.52 0.08 57.26 [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z] [2022-11-01T17:23:19.329Z]