Pull request #1190 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 91816c17eb46aae8bae2073d332060c775bd9e8b+274c96a3089376cd4a6ab8c9c701e19955d76f21 (b8eab8c9c65eec312bdc217f43f774b133555f91) 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-ssh40421812994823196.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3837383014719992949.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1190/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-1190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18244800289274925894.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4816462033205670971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh5438929211669495954.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1190/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-1190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13048895640251408100.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17178’ Running on prd-ubuntu20.04-docker-8c-8g-17182 in /w/workspace/gexfoundry_device-sdk-go_PR-1190 [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-1190 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 274c96a3089376cd4a6ab8c9c701e19955d76f21 into PR head commit 91816c17eb46aae8bae2073d332060c775bd9e8b Merge succeeded, producing 91816c17eb46aae8bae2073d332060c775bd9e8b Checking out Revision 91816c17eb46aae8bae2073d332060c775bd9e8b (PR-1190) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1190/head:refs/remotes/origin/PR-1190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91816c17eb46aae8bae2073d332060c775bd9e8b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 274c96a3089376cd4a6ab8c9c701e19955d76f21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91816c17eb46aae8bae2073d332060c775bd9e8b # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:32:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:32:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:32:12 ========================================================= 21:32:12 EdgeX Global Pipelines Version Info 21:32:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:32:13 ------------------- 21:32:13 stable info: 21:32:13 ------------------- 21:32:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:32:13 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:32:13 Message: update stable to v1.0.234 21:32:13 ------------------- 21:32:13 experimental info: 21:32:13 ------------------- 21:32:13 Commited By: **** collab-it+edgex@linuxfoundation.org 21:32:13 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 21:32:13 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:32:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1190 [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1190 [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1190 [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91816c17eb46aae8bae2073d332060c775bd9e8b [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91816c1 [Pipeline] echo 21:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:15 provisioning config files... 21:32:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/config5463832852528146036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:16 ---> docker-login.sh 21:32:16 nexus3.edgexfoundry.org:10001 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:16 Configure a credential helper to remove this warning. See 21:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:16 21:32:16 Login Succeeded 21:32:16 nexus3.edgexfoundry.org:10002 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:16 Configure a credential helper to remove this warning. See 21:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:16 21:32:16 Login Succeeded 21:32:16 nexus3.edgexfoundry.org:10003 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:16 Configure a credential helper to remove this warning. See 21:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:16 21:32:16 Login Succeeded 21:32:16 nexus3.edgexfoundry.org:10004 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:17 Configure a credential helper to remove this warning. See 21:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:17 21:32:17 Login Succeeded 21:32:17 docker.io 21:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:17 Configure a credential helper to remove this warning. See 21:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:17 21:32:17 Login Succeeded 21:32:17 ---> docker-login.sh ends [Pipeline] } 21:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:32:18 + git rev-list -1 --merges 91816c17eb46aae8bae2073d332060c775bd9e8b~1..91816c17eb46aae8bae2073d332060c775bd9e8b [Pipeline] echo 21:32:18 -----------> git rev-list -1 --merges 91816c17eb46aae8bae2073d332060c775bd9e8b~1..91816c17eb46aae8bae2073d332060c775bd9e8b 91816c17eb46aae8bae2073d332060c775bd9e8b [false] [Pipeline] sh 21:32:18 + git log --format=format:%s -1 91816c17eb46aae8bae2073d332060c775bd9e8b [Pipeline] echo 21:32:18 ========================================================= 21:32:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:32:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:18 + git log --format=format:%s -1 91816c17eb46aae8bae2073d332060c775bd9e8b [Pipeline] echo 21:32:18 [semverPrep] GIT_COMMIT: 91816c17eb46aae8bae2073d332060c775bd9e8b, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo 21:32:18 [semverPrep] This is not a build commit. [Pipeline] sh 21:32:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:19 + grep -v github /etc/ssh/ssh_known_hosts 21:32:19 + [ -e /tmp/ssh_known_hosts ] 21:32:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:32:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:32:19 + sudo tee -a /etc/ssh/ssh_known_hosts 21:32:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:19 21:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:32:20 42c077c10790: Pulling fs layer 21:32:20 f63e77b7563a: Pulling fs layer 21:32:20 bd5fdadae976: Pulling fs layer 21:32:20 205491f53016: Pulling fs layer 21:32:20 df18705c85c3: Pulling fs layer 21:32:20 bdb3f477010e: Pulling fs layer 21:32:20 c8a8fc8e1c8f: Pulling fs layer 21:32:20 2c6e9b1d212d: Pulling fs layer 21:32:20 bdb8f0575790: Pulling fs layer 21:32:20 386e3cb2ff24: Pulling fs layer 21:32:20 2343380bae48: Pulling fs layer 21:32:20 c8a8fc8e1c8f: Waiting 21:32:20 2c6e9b1d212d: Waiting 21:32:20 bdb8f0575790: Waiting 21:32:20 df18705c85c3: Waiting 21:32:20 386e3cb2ff24: Waiting 21:32:20 2343380bae48: Waiting 21:32:20 205491f53016: Waiting 21:32:20 bdb3f477010e: Waiting 21:32:20 f63e77b7563a: Verifying Checksum 21:32:20 f63e77b7563a: Download complete 21:32:20 205491f53016: Verifying Checksum 21:32:20 205491f53016: Download complete 21:32:20 df18705c85c3: Verifying Checksum 21:32:20 df18705c85c3: Download complete 21:32:20 bdb3f477010e: Download complete 21:32:20 bd5fdadae976: Verifying Checksum 21:32:20 bd5fdadae976: Download complete 21:32:20 2c6e9b1d212d: Download complete 21:32:20 bdb8f0575790: Download complete 21:32:20 386e3cb2ff24: Verifying Checksum 21:32:20 386e3cb2ff24: Download complete 21:32:20 2343380bae48: Verifying Checksum 21:32:20 2343380bae48: Download complete 21:32:20 42c077c10790: Verifying Checksum 21:32:20 42c077c10790: Download complete 21:32:20 c8a8fc8e1c8f: Download complete 21:32:22 42c077c10790: Pull complete 21:32:22 f63e77b7563a: Pull complete 21:32:22 bd5fdadae976: Pull complete 21:32:22 205491f53016: Pull complete 21:32:23 df18705c85c3: Pull complete 21:32:23 bdb3f477010e: Pull complete 21:32:25 c8a8fc8e1c8f: Pull complete 21:32:25 2c6e9b1d212d: Pull complete 21:32:25 bdb8f0575790: Pull complete 21:32:25 386e3cb2ff24: Pull complete 21:32:25 2343380bae48: Pull complete 21:32:25 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 21:32:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:25 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 21:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1190 -v /w/workspace/gexfoundry_device-sdk-go_PR-1190:/w/workspace/gexfoundry_device-sdk-go_PR-1190:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:32:27 $ docker top 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 -eo pid,comm 21:32:27 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). 21:32:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:27 [ssh-agent] Looking for ssh-agent implementation... 21:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:27 $ docker exec 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 ssh-agent 21:32:27 SSH_AUTH_SOCK=/tmp/ssh-tBTZoeVUVZ62/agent.33 21:32:27 SSH_AGENT_PID=40 21:32:27 Running ssh-add (command line suppressed) 21:32:27 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/private_key_1750121040010268593.key (/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/private_key_1750121040010268593.key) 21:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:28 + git tag --points-at HEAD [Pipeline] } 21:32:28 $ docker exec --env ******** --env ******** 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 ssh-agent -k 21:32:28 unset SSH_AUTH_SOCK; 21:32:28 unset SSH_AGENT_PID; 21:32:28 echo Agent pid 40 killed; 21:32:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:32:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:28 [ssh-agent] Looking for ssh-agent implementation... 21:32:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:28 $ docker exec 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 ssh-agent 21:32:28 SSH_AUTH_SOCK=/tmp/ssh-OXGnTtEXCwbk/agent.74 21:32:28 SSH_AGENT_PID=80 21:32:28 Running ssh-add (command line suppressed) 21:32:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/private_key_7229111500149599866.key (/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/private_key_7229111500149599866.key) 21:32:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:29 + git semver init 21:32:29 2022-07-07 21:32:29,491 [run_init] DEBUG init version:0.0.0 force:False 21:32:29 2022-07-07 21:32:29,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver 21:32:29 2022-07-07 21:32:29,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver 21:32:29 2022-07-07 21:32:29,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1190, universal_newlines=False, shell=None, istream=None) 21:32:30 2022-07-07 21:32:30,292 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190/.git/info/exclude 21:32:30 2022-07-07 21:32:30,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver/PR-1190 with force:False 21:32:30 2022-07-07 21:32:30,293 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver/PR-1190 21:32:30 2022-07-07 21:32:30,299 [execute] INFO git cat-file --batch-check 21:32:30 2022-07-07 21:32:30,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver, universal_newlines=False, shell=None, istream=) 21:32:30 2022-07-07 21:32:30,308 [execute] INFO git cat-file --batch 21:32:30 2022-07-07 21:32:30,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver, universal_newlines=False, shell=None, istream=) 21:32:30 2022-07-07 21:32:30,315 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1190/.semver/PR-1190 21:32:30 0.0.0 [Pipeline] } 21:32:30 $ docker exec --env ******** --env ******** 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 ssh-agent -k 21:32:30 unset SSH_AUTH_SOCK; 21:32:30 unset SSH_AGENT_PID; 21:32:30 echo Agent pid 80 killed; 21:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:31 + git semver [Pipeline] } 21:32:31 $ docker stop --time=1 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 21:32:32 $ docker rm -f 595833c4c5360db66697c4f2415748e7e65c8bc3638df8e5ac7e8207110b5082 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:32:33 Stashed 1 file(s) [Pipeline] echo 21:32:33 [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 21:32:34 provisioning config files... 21:32:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/config1902295012590182923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:34 ---> docker-login.sh 21:32:34 nexus3.edgexfoundry.org:10001 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:34 Configure a credential helper to remove this warning. See 21:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:34 21:32:34 Login Succeeded 21:32:34 nexus3.edgexfoundry.org:10002 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:34 Configure a credential helper to remove this warning. See 21:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:34 21:32:34 Login Succeeded 21:32:34 nexus3.edgexfoundry.org:10003 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:34 Configure a credential helper to remove this warning. See 21:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:34 21:32:34 Login Succeeded 21:32:34 nexus3.edgexfoundry.org:10004 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:34 Configure a credential helper to remove this warning. See 21:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:34 21:32:34 Login Succeeded 21:32:34 docker.io 21:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:35 Configure a credential helper to remove this warning. See 21:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:35 21:32:35 Login Succeeded 21:32:35 ---> docker-login.sh ends [Pipeline] } 21:32:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:35 ========================================================= 21:32:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:32:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:36 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 21:32:36 Sending build context to Docker daemon 9.721MB 21:32:36 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:32:36 Step 2/11 : FROM ${BASE} AS builder 21:32:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:32:36 59bf1c3509f3: Pulling fs layer 21:32:36 666ba61612fd: Pulling fs layer 21:32:36 8ed8ca486205: Pulling fs layer 21:32:36 cc1cd167ecdc: Pulling fs layer 21:32:36 c516ae0d96e1: Pulling fs layer 21:32:36 684cea983483: Pulling fs layer 21:32:36 dd3240ac7de5: Pulling fs layer 21:32:36 b1e948a4e11c: Pulling fs layer 21:32:36 a8fd76ee1af6: Pulling fs layer 21:32:36 646ad004c059: Pulling fs layer 21:32:36 c516ae0d96e1: Waiting 21:32:36 684cea983483: Waiting 21:32:36 dd3240ac7de5: Waiting 21:32:36 b1e948a4e11c: Waiting 21:32:36 cc1cd167ecdc: Waiting 21:32:36 a8fd76ee1af6: Waiting 21:32:36 646ad004c059: Waiting 21:32:36 8ed8ca486205: Verifying Checksum 21:32:36 8ed8ca486205: Download complete 21:32:36 666ba61612fd: Download complete 21:32:36 c516ae0d96e1: Verifying Checksum 21:32:36 c516ae0d96e1: Download complete 21:32:36 684cea983483: Verifying Checksum 21:32:36 684cea983483: Download complete 21:32:36 59bf1c3509f3: Verifying Checksum 21:32:36 dd3240ac7de5: Download complete 21:32:36 b1e948a4e11c: Verifying Checksum 21:32:36 b1e948a4e11c: Download complete 21:32:36 59bf1c3509f3: Pull complete 21:32:36 666ba61612fd: Pull complete 21:32:36 8ed8ca486205: Pull complete 21:32:37 646ad004c059: Verifying Checksum 21:32:37 646ad004c059: Download complete 21:32:37 a8fd76ee1af6: Verifying Checksum 21:32:37 a8fd76ee1af6: Download complete 21:32:37 cc1cd167ecdc: Verifying Checksum 21:32:37 cc1cd167ecdc: Download complete 21:32:41 cc1cd167ecdc: Pull complete 21:32:41 c516ae0d96e1: Pull complete 21:32:41 684cea983483: Pull complete 21:32:41 dd3240ac7de5: Pull complete 21:32:41 b1e948a4e11c: Pull complete 21:32:44 a8fd76ee1af6: Pull complete 21:32:44 646ad004c059: Pull complete 21:32:44 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:32:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:32:44 ---> 8f69c11f6b0c 21:32:44 Step 3/11 : ARG MAKE=make build 21:32:46 ---> Running in 7f78fca8fe6a 21:32:46 Removing intermediate container 7f78fca8fe6a 21:32:46 ---> 73f31e61042d 21:32:46 Step 4/11 : WORKDIR /device-sdk-go 21:32:46 ---> Running in fcfe7c784c0a 21:32:46 Removing intermediate container fcfe7c784c0a 21:32:46 ---> 285bfbe9c612 21:32:46 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:32:46 ---> Running in 2bd885652398 21:32:46 Removing intermediate container 2bd885652398 21:32:46 ---> 5c7a4bc1ccf4 21:32:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:46 ---> Running in c374ad6bed54 21:32:47 Removing intermediate container c374ad6bed54 21:32:47 ---> e56f45f06723 21:32:47 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:32:47 ---> Running in 0512655a4de7 21:32:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:32:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:32:48 Still waiting to schedule task 21:32:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:32:49 OK: 221 MiB in 52 packages 21:32:49 Removing intermediate container 0512655a4de7 21:32:49 ---> b820c629b659 21:32:49 Step 8/11 : COPY go.mod vendor* ./ 21:32:49 ---> d0dd8441c3f4 21:32:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:49 ---> Running in 318fb9678831 21:33:07 Removing intermediate container 318fb9678831 21:33:07 ---> 226fcdd1d3a8 21:33:07 Step 10/11 : COPY . . 21:33:07 ---> 1bf5086f2854 21:33:07 Step 11/11 : RUN ${MAKE} 21:33:07 ---> Running in 8843eb64420d 21:33:07 noop 21:33:07 Removing intermediate container 8843eb64420d 21:33:07 ---> fcf4fb18ce83 21:33:07 Successfully built fcf4fb18ce83 21:33:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:08 + docker inspect -f . ci-base-image-x86_64 21:33:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:08 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 21:33:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1190 -v /w/workspace/gexfoundry_device-sdk-go_PR-1190:/w/workspace/gexfoundry_device-sdk-go_PR-1190:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:33:08 $ docker top 0325f7785eea09e046ffad8cc0687e0ad1823e79d5f7fb8e322a81dd2533cfe4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:09 + go version 21:33:09 go version go1.17.7 linux/amd64 [Pipeline] } 21:33:09 $ docker stop --time=1 0325f7785eea09e046ffad8cc0687e0ad1823e79d5f7fb8e322a81dd2533cfe4 21:33:10 $ docker rm -f 0325f7785eea09e046ffad8cc0687e0ad1823e79d5f7fb8e322a81dd2533cfe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:11 + docker inspect -f . ci-base-image-x86_64 21:33:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:11 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 21:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1190 -v /w/workspace/gexfoundry_device-sdk-go_PR-1190:/w/workspace/gexfoundry_device-sdk-go_PR-1190:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:33:12 $ docker top 6657cca8922145a180df7455d4abcd686168f075656292b3440503dd88855f88 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:33:12 + make test 21:33:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:33:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 23.7% of statements 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.094s coverage: 78.9% of statements 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.122s coverage: 10.8% of statements 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.065s coverage: 60.0% of statements 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:33:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements 21:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:33:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 85.4% of statements 21:33:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:33:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:33:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements 21:33:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.829s coverage: 89.2% of statements 21:33:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:33:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 21:33:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:33:50 GO111MODULE=on go vet ./... 21:33:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:33:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:33:52 ./bin/test-attribution-txt.sh [Pipeline] echo 21:33:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:33:52 $ docker stop --time=1 6657cca8922145a180df7455d4abcd686168f075656292b3440503dd88855f88 21:33:54 $ docker rm -f 6657cca8922145a180df7455d4abcd686168f075656292b3440503dd88855f88 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:33:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:33:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:56 + ls -al . 21:33:56 total 304 21:33:56 drwxrwxr-x 11 jenkins jenkins 4096 Jul 7 21:33 . 21:33:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:32 .. 21:33:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 21:32 .dockerignore 21:33:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 21:32 .git 21:33:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:32 .github 21:33:56 -rw-rw-r-- 1 jenkins jenkins 131 Jul 7 21:32 .gitignore 21:33:56 -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 21:32 .golangci.yml 21:33:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 21:32 .semver 21:33:56 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 7 21:32 CHANGELOG.md 21:33:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 21:32 GOVERNANCE.md 21:33:56 -rw-rw-r-- 1 jenkins jenkins 880 Jul 7 21:32 Jenkinsfile 21:33:56 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 7 21:32 LICENSE 21:33:56 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 7 21:32 Makefile 21:33:56 -rw-rw-r-- 1 jenkins jenkins 619 Jul 7 21:32 OWNERS.md 21:33:56 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 7 21:32 README.md 21:33:56 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:32 VERSION 21:33:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:32 bin 21:33:56 -rw-r--r-- 1 jenkins jenkins 131190 Jul 7 21:33 coverage.out 21:33:56 drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 21:32 example 21:33:56 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 7 21:32 go.mod 21:33:56 -rw-rw-r-- 1 jenkins jenkins 34891 Jul 7 21:32 go.sum 21:33:56 drwxrwxr-x 15 jenkins jenkins 4096 Jul 7 21:32 internal 21:33:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:32 openapi 21:33:56 drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 21:32 pkg 21:33:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:32 snap 21:33:56 -rw-rw-r-- 1 jenkins jenkins 222 Jul 7 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:57 + 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=91816c17eb46aae8bae2073d332060c775bd9e8b --label arch=amd64 --label version=0.0.0 . 21:33:57 Sending build context to Docker daemon 9.853MB 21:33:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:33:57 Step 2/25 : FROM ${BASE} AS builder 21:33:57 ---> fcf4fb18ce83 21:33:57 Step 3/25 : ARG MAKE=make build 21:33:57 ---> Running in 0a154f597773 21:33:57 Removing intermediate container 0a154f597773 21:33:57 ---> 17b3bc3cde8b 21:33:57 Step 4/25 : WORKDIR /device-sdk-go 21:33:57 ---> Running in 128d6442c3ce 21:33:57 Removing intermediate container 128d6442c3ce 21:33:57 ---> 88979dafaf52 21:33:57 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:33:57 ---> Running in 407fba7d73f9 21:33:57 Removing intermediate container 407fba7d73f9 21:33:57 ---> b628800cd549 21:33:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:57 ---> Running in c1889d0d9199 21:33:58 Removing intermediate container c1889d0d9199 21:33:58 ---> 4308cafdc429 21:33:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:33:58 ---> Running in ba8dccee0ce0 21:33:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:33:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:33:59 OK: 221 MiB in 52 packages 21:34:00 Removing intermediate container ba8dccee0ce0 21:34:00 ---> aedd2b79cd4b 21:34:00 Step 8/25 : COPY go.mod vendor* ./ 21:34:00 ---> 98af1088793d 21:34:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:00 ---> Running in 57364ed1de53 21:34:01 Removing intermediate container 57364ed1de53 21:34:01 ---> 8d4af0cc5c29 21:34:01 Step 10/25 : COPY . . 21:34:01 ---> 1f453b299d3e 21:34:01 Step 11/25 : RUN ${MAKE} 21:34:01 ---> Running in a0c0f24c28a9 21:34:01 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 21:34:19 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:34:23 Removing intermediate container a0c0f24c28a9 21:34:23 ---> a490157ce61a 21:34:23 Step 12/25 : FROM alpine:3.16 21:34:23 3.16: Pulling from library/alpine 21:34:23 2408cc74d12b: Pulling fs layer 21:34:23 2408cc74d12b: Verifying Checksum 21:34:23 2408cc74d12b: Download complete 21:34:23 2408cc74d12b: Pull complete 21:34:23 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 21:34:23 Status: Downloaded newer image for alpine:3.16 21:34:23 ---> e66264b98777 21:34:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:34:23 ---> Running in 3706433c9bc7 21:34:24 Removing intermediate container 3706433c9bc7 21:34:24 ---> 0c9f1337f873 21:34:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:34:24 ---> Running in 89263e6f17b8 21:34:24 Removing intermediate container 89263e6f17b8 21:34:24 ---> 17dd5b115e28 21:34:24 Step 15/25 : RUN apk add --update --no-cache zeromq 21:34:24 ---> Running in c4c007e84fb7 21:34:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:34:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:34:26 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:34:26 (2/5) Installing libsodium (1.0.18-r0) 21:34:26 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:34:26 (4/5) Installing libzmq (4.3.4-r0) 21:34:26 (5/5) Installing zeromq (4.3.4-r0) 21:34:26 Executing busybox-1.35.0-r13.trigger 21:34:26 OK: 8 MiB in 19 packages 21:34:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17184 in /w/workspace/gexfoundry_device-sdk-go_PR-1190 [Pipeline] { [Pipeline] ws 21:34:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 21:34:27 Removing intermediate container c4c007e84fb7 21:34:27 ---> 66ed473ebacc 21:34:27 Step 16/25 : WORKDIR / 21:34:27 ---> Running in b65e52f05c54 21:34:27 Removing intermediate container b65e52f05c54 21:34:27 ---> 2963d45bc377 21:34:27 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] checkout 21:34:27 The recommended git tool is: git 21:34:27 ---> be874d4c070f 21:34:27 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:34:27 ---> 2f6ebb031647 21:34:27 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:34:28 ---> c5a33eae106f 21:34:28 Step 20/25 : EXPOSE 59999 21:34:28 ---> Running in 4c55aa3a4b66 21:34:28 Removing intermediate container 4c55aa3a4b66 21:34:28 ---> 7cda770c85a5 21:34:28 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:34:28 ---> Running in eefe0594c3de 21:34:28 Removing intermediate container eefe0594c3de 21:34:28 ---> 5454d6211979 21:34:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:34:28 ---> Running in 794bd106bd99 21:34:28 Removing intermediate container 794bd106bd99 21:34:28 ---> c61d713b204b 21:34:28 Step 23/25 : LABEL arch=amd64 21:34:28 ---> Running in 582dfb9ef1af 21:34:28 Removing intermediate container 582dfb9ef1af 21:34:28 ---> 4ba5d123b71b 21:34:28 Step 24/25 : LABEL git_sha=91816c17eb46aae8bae2073d332060c775bd9e8b 21:34:28 ---> Running in 83369af48707 21:34:29 Removing intermediate container 83369af48707 21:34:29 ---> 9bc92f494660 21:34:29 Step 25/25 : LABEL version=0.0.0 21:34:29 ---> Running in 440ce599f937 21:34:29 Removing intermediate container 440ce599f937 21:34:29 ---> 065964671bc1 21:34:29 [Warning] One or more build-args [ARCH] were not consumed 21:34:29 Successfully built 065964671bc1 21:34:29 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 21:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:29 21:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:30 latest: Pulling from edgex-lftools-log-publisher 21:34:30 5eb5b503b376: Pulling fs layer 21:34:30 5c69ac0246d0: Pulling fs layer 21:34:30 ec43610c2a17: Pulling fs layer 21:34:30 3a2ae6a8a46f: Pulling fs layer 21:34:30 33b1e0a273af: Pulling fs layer 21:34:30 5d3b04190fa2: Pulling fs layer 21:34:30 2f39f015ded8: Pulling fs layer 21:34:30 3a2ae6a8a46f: Waiting 21:34:30 33b1e0a273af: Waiting 21:34:30 5d3b04190fa2: Waiting 21:34:30 2f39f015ded8: Waiting 21:34:30 5c69ac0246d0: Verifying Checksum 21:34:30 5c69ac0246d0: Download complete 21:34:30 3a2ae6a8a46f: Verifying Checksum 21:34:30 3a2ae6a8a46f: Download complete 21:34:30 33b1e0a273af: Verifying Checksum 21:34:30 33b1e0a273af: Download complete 21:34:30 5d3b04190fa2: Verifying Checksum 21:34:30 5d3b04190fa2: Download complete 21:34:30 ec43610c2a17: Verifying Checksum 21:34:30 ec43610c2a17: Download complete 21:34:30 5eb5b503b376: Verifying Checksum 21:34:30 5eb5b503b376: Download complete 21:34:31 2f39f015ded8: Download complete 21:34:31 5eb5b503b376: Pull complete 21:34:32 5c69ac0246d0: Pull complete 21:34:32 ec43610c2a17: Pull complete 21:34:32 3a2ae6a8a46f: Pull complete 21:34:33 33b1e0a273af: Pull complete 21:34:33 5d3b04190fa2: Pull complete 21:34:33 using credential edgex-jenkins-ssh 21:34:33 Cloning the remote Git repository 21:34:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:34:33 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:34:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:34:33 > git --version # timeout=10 21:34:33 > git --version # 'git version 2.25.1' 21:34:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:34:35 Merging remotes/origin/main commit 274c96a3089376cd4a6ab8c9c701e19955d76f21 into PR head commit 91816c17eb46aae8bae2073d332060c775bd9e8b 21:34:36 Merge succeeded, producing 91816c17eb46aae8bae2073d332060c775bd9e8b 21:34:36 Checking out Revision 91816c17eb46aae8bae2073d332060c775bd9e8b (PR-1190) 21:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:34:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:34:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1190/head:refs/remotes/origin/PR-1190 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:34:35 > git config core.sparsecheckout # timeout=10 21:34:35 > git checkout -f 91816c17eb46aae8bae2073d332060c775bd9e8b # timeout=10 21:34:35 > git remote # timeout=10 21:34:35 > git config --get remote.origin.url # timeout=10 21:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:36 > git merge 274c96a3089376cd4a6ab8c9c701e19955d76f21 # timeout=10 21:34:36 > git rev-parse HEAD^{commit} # timeout=10 21:34:36 > git config core.sparsecheckout # timeout=10 21:34:36 > git checkout -f 91816c17eb46aae8bae2073d332060c775bd9e8b # timeout=10 21:34:38 2f39f015ded8: Pull complete 21:34:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:34:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:38 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 21:34:38 $ 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-1190 -v /w/workspace/gexfoundry_device-sdk-go_PR-1190:/w/workspace/gexfoundry_device-sdk-go_PR-1190:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1190@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 21:34:40 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" 21:34:40 > git --version # timeout=10 21:34:40 > git --version # 'git version 2.25.1' 21:34:40 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 21:34:40 $ docker top b0afdffd0d23b2dd9c1d384eca5cc237ffc2a899f64f40eaeb832ab2d774921b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:40 21:34:40 GitHub has been notified of this commit’s build result 21:34:40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 21:34:40 ---> job-cost.sh 21:34:40 lf-activate-venv: SKIPPING 21:34:40 INFO: No Stack... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:41 INFO: Retrieving Pricing Info for: v3-standard-8 21:34:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:34:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:34:41 Dload Upload Total Spent Left Speed 21:34:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 64272 0 --:--:-- --:--:-- --:--:-- 64272 [Pipeline] sh 21:34:41 INFO: Archiving Costs [Pipeline] sh 21:34:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:34:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives/cost.csv 21:34:42 + cut -d, -f6 [Pipeline] lock 21:34:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] 21:34:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] did not exist. Created. 21:34:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:34:42 sudo tee /etc/docker/daemon.new 21:34:42 { 21:34:42 "registry-mirrors": [ 21:34:42 "https://nexus3.edgexfoundry.org:10001" 21:34:42 ], 21:34:42 "bip": "10.250.0.254/24", 21:34:42 "hosts": [ 21:34:42 "tcp://0.0.0.0:5555", 21:34:42 "unix:///var/run/docker.sock" 21:34:42 ], 21:34:42 "mtu": 1458, 21:34:42 "selinux-enabled": true, 21:34:42 "seccomp-profile": "/etc/docker/seccomp.json" 21:34:42 } [Pipeline] sh 21:34:42 + echo total: 0.2199999988079071 [Pipeline] stash 21:34:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 21:34:42 Stashed 1 file(s) [Pipeline] sh [Pipeline] } 21:34:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:43 $ docker stop --time=1 b0afdffd0d23b2dd9c1d384eca5cc237ffc2a899f64f40eaeb832ab2d774921b 21:34:43 + sudo service docker restart 21:34:44 $ docker rm -f b0afdffd0d23b2dd9c1d384eca5cc237ffc2a899f64f40eaeb832ab2d774921b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:35:01 provisioning config files... 21:35:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7617510065816898742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:02 ---> docker-login.sh 21:35:02 nexus3.edgexfoundry.org:10001 21:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:03 Configure a credential helper to remove this warning. See 21:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:03 21:35:03 Login Succeeded 21:35:03 nexus3.edgexfoundry.org:10002 21:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:03 Configure a credential helper to remove this warning. See 21:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:03 21:35:03 Login Succeeded 21:35:03 nexus3.edgexfoundry.org:10003 21:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:04 Configure a credential helper to remove this warning. See 21:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:04 21:35:04 Login Succeeded 21:35:04 nexus3.edgexfoundry.org:10004 21:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:04 Configure a credential helper to remove this warning. See 21:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:04 21:35:04 Login Succeeded 21:35:04 docker.io 21:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:05 Configure a credential helper to remove this warning. See 21:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:05 21:35:05 Login Succeeded 21:35:05 ---> docker-login.sh ends [Pipeline] } 21:35:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:35:05 ========================================================= 21:35:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:35:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:06 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:35:06 Sending build context to Docker daemon 5.22MB 21:35:07 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:35:07 Step 2/11 : FROM ${BASE} AS builder 21:35:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:35:07 9b3977197b4f: Pulling fs layer 21:35:07 1a89e8eeedd5: Pulling fs layer 21:35:07 94645a83ff95: Pulling fs layer 21:35:07 e6fb740bc735: Pulling fs layer 21:35:07 3a77bd46dcc9: Pulling fs layer 21:35:07 355e64cbe906: Pulling fs layer 21:35:07 63ab81a10011: Pulling fs layer 21:35:07 555d1d1c4555: Pulling fs layer 21:35:07 7d9057610161: Pulling fs layer 21:35:07 e6fb740bc735: Waiting 21:35:07 3a77bd46dcc9: Waiting 21:35:07 355e64cbe906: Waiting 21:35:07 63ab81a10011: Waiting 21:35:07 555d1d1c4555: Waiting 21:35:07 94645a83ff95: Verifying Checksum 21:35:07 94645a83ff95: Download complete 21:35:07 1a89e8eeedd5: Verifying Checksum 21:35:07 1a89e8eeedd5: Download complete 21:35:07 3a77bd46dcc9: Verifying Checksum 21:35:07 3a77bd46dcc9: Download complete 21:35:07 355e64cbe906: Verifying Checksum 21:35:07 355e64cbe906: Download complete 21:35:07 9b3977197b4f: Verifying Checksum 21:35:07 9b3977197b4f: Download complete 21:35:07 63ab81a10011: Verifying Checksum 21:35:07 63ab81a10011: Download complete 21:35:08 9b3977197b4f: Pull complete 21:35:08 7d9057610161: Verifying Checksum 21:35:08 7d9057610161: Download complete 21:35:08 1a89e8eeedd5: Pull complete 21:35:08 94645a83ff95: Pull complete 21:35:09 555d1d1c4555: Verifying Checksum 21:35:09 555d1d1c4555: Download complete 21:35:09 e6fb740bc735: Verifying Checksum 21:35:09 e6fb740bc735: Download complete 21:35:22 e6fb740bc735: Pull complete 21:35:22 3a77bd46dcc9: Pull complete 21:35:22 355e64cbe906: Pull complete 21:35:22 63ab81a10011: Pull complete 21:35:29 555d1d1c4555: Pull complete 21:35:30 7d9057610161: Pull complete 21:35:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:35:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:35:30 ---> 819e984ddca1 21:35:30 Step 3/11 : ARG MAKE=make build 21:35:31 ---> Running in 85f2b871928b 21:35:31 Removing intermediate container 85f2b871928b 21:35:31 ---> 4fb8526c306c 21:35:31 Step 4/11 : WORKDIR /device-sdk-go 21:35:31 ---> Running in 836e9428f1ce 21:35:32 Removing intermediate container 836e9428f1ce 21:35:32 ---> ad4168523351 21:35:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:35:32 ---> Running in 35d7df4b8b8e 21:35:32 Removing intermediate container 35d7df4b8b8e 21:35:32 ---> bee34dd02c6d 21:35:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:32 ---> Running in df8bf6241d91 21:35:35 Removing intermediate container df8bf6241d91 21:35:35 ---> 1aac16c256f0 21:35:35 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:35:35 ---> Running in 9f364f0131f6 21:35:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:35:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:35:37 OK: 220 MiB in 52 packages 21:35:38 Removing intermediate container 9f364f0131f6 21:35:38 ---> 81e44ddce375 21:35:38 Step 8/11 : COPY go.mod vendor* ./ 21:35:39 ---> 2134199e49fa 21:35:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:39 ---> Running in d743739ebbb8 21:36:26 Removing intermediate container d743739ebbb8 21:36:26 ---> 165b88ae0bb1 21:36:26 Step 10/11 : COPY . . 21:36:27 ---> 32043675482f 21:36:27 Step 11/11 : RUN ${MAKE} 21:36:27 ---> Running in bbf54c5f8282 21:36:28 noop 21:36:28 Removing intermediate container bbf54c5f8282 21:36:28 ---> a27fa4ae6742 21:36:28 Successfully built a27fa4ae6742 21:36:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:29 + docker inspect -f . ci-base-image-arm64 21:36:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:29 prd-ubuntu20.04-docker-arm64-4c-16g-17184 does not seem to be running inside a container 21:36:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:36:30 $ docker top c27aa4fc53b4657f6719c81043c0f7aac2bdfe57b3eb92c22f354f102d28b834 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:31 + go version 21:36:31 go version go1.17.7 linux/arm64 [Pipeline] } 21:36:31 $ docker stop --time=1 c27aa4fc53b4657f6719c81043c0f7aac2bdfe57b3eb92c22f354f102d28b834 21:36:33 $ docker rm -f c27aa4fc53b4657f6719c81043c0f7aac2bdfe57b3eb92c22f354f102d28b834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:34 + docker inspect -f . ci-base-image-arm64 21:36:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:34 prd-ubuntu20.04-docker-arm64-4c-16g-17184 does not seem to be running inside a container 21:36:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:36:35 $ docker top ea4ff042c53d1d4c8cc0b31d1dabd0d0d8b704e6d300f24393cd04dc37cdda0d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:36:37 + make test 21:36:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:37:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:38:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:38:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:38:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:38:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.405s coverage: 23.7% of statements 21:38:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:38:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.260s coverage: 27.6% of statements 21:38:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.314s coverage: 78.9% of statements 21:38:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 10.8% of statements 21:38:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.408s coverage: 60.0% of statements 21:38:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:38:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:38:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.418s coverage: 34.8% of statements 21:38:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.311s coverage: 85.4% of statements 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.451s coverage: 65.1% of statements 21:39:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.126s coverage: 89.2% of statements 21:39:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:39:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.241s coverage: 4.7% of statements 21:39:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:39:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:39:03 GO111MODULE=on go vet ./... 21:40:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:25 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:25 $ docker stop --time=1 ea4ff042c53d1d4c8cc0b31d1dabd0d0d8b704e6d300f24393cd04dc37cdda0d 21:40:27 $ docker rm -f ea4ff042c53d1d4c8cc0b31d1dabd0d0d8b704e6d300f24393cd04dc37cdda0d [Pipeline] // withDockerContainer [Pipeline] sh 21:40:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:28 Warning: overwriting stash ‘coverage-report’ 21:40:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:30 + ls -al . 21:40:30 total 300 21:40:30 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 21:36 . 21:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:34 .. 21:40:30 -rw-rw-r-- 1 jenkins jenkins 140 Jul 7 21:34 .dockerignore 21:40:30 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 21:34 .git 21:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:34 .github 21:40:30 -rw-rw-r-- 1 jenkins jenkins 131 Jul 7 21:34 .gitignore 21:40:30 -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 21:34 .golangci.yml 21:40:30 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 7 21:34 CHANGELOG.md 21:40:30 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 21:34 GOVERNANCE.md 21:40:30 -rw-rw-r-- 1 jenkins jenkins 880 Jul 7 21:34 Jenkinsfile 21:40:30 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 7 21:34 LICENSE 21:40:30 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 7 21:34 Makefile 21:40:30 -rw-rw-r-- 1 jenkins jenkins 619 Jul 7 21:34 OWNERS.md 21:40:30 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 7 21:34 README.md 21:40:30 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:32 VERSION 21:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:34 bin 21:40:30 -rw-r--r-- 1 jenkins jenkins 131190 Jul 7 21:39 coverage.out 21:40:30 drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 21:34 example 21:40:30 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 7 21:34 go.mod 21:40:30 -rw-rw-r-- 1 jenkins jenkins 34891 Jul 7 21:34 go.sum 21:40:30 drwxrwxr-x 15 jenkins jenkins 4096 Jul 7 21:34 internal 21:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:34 openapi 21:40:30 drwxrwxr-x 5 jenkins jenkins 4096 Jul 7 21:34 pkg 21:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:34 snap 21:40:30 -rw-rw-r-- 1 jenkins jenkins 222 Jul 7 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:30 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=91816c17eb46aae8bae2073d332060c775bd9e8b --label arch=arm64 --label version=0.0.0 . 21:40:30 Sending build context to Docker daemon 5.352MB 21:40:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:40:31 Step 2/25 : FROM ${BASE} AS builder 21:40:31 ---> a27fa4ae6742 21:40:31 Step 3/25 : ARG MAKE=make build 21:40:31 ---> Running in 00c70de4d91c 21:40:31 Removing intermediate container 00c70de4d91c 21:40:31 ---> fe1de4580508 21:40:31 Step 4/25 : WORKDIR /device-sdk-go 21:40:31 ---> Running in d556a9362d97 21:40:32 Removing intermediate container d556a9362d97 21:40:32 ---> 0b7cdda5862b 21:40:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:40:32 ---> Running in 645e71accd8b 21:40:32 Removing intermediate container 645e71accd8b 21:40:32 ---> c440f159b33c 21:40:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:40:32 ---> Running in dd17ca697e8e 21:40:34 Removing intermediate container dd17ca697e8e 21:40:34 ---> d4da84b28025 21:40:34 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:40:34 ---> Running in 66a624c7c7bf 21:40:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:40:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:40:36 OK: 220 MiB in 52 packages 21:40:37 Removing intermediate container 66a624c7c7bf 21:40:37 ---> a6d92a0936a0 21:40:37 Step 8/25 : COPY go.mod vendor* ./ 21:40:37 ---> ee7228347006 21:40:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:37 ---> Running in b2a3ae33ffb5 21:40:39 Removing intermediate container b2a3ae33ffb5 21:40:39 ---> abcd97ebb924 21:40:39 Step 10/25 : COPY . . 21:40:40 ---> 1bf9baa94990 21:40:40 Step 11/25 : RUN ${MAKE} 21:40:41 ---> Running in 1f20583057cd 21:40:42 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 21:42:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:42:37 Removing intermediate container 1f20583057cd 21:42:37 ---> 2bb935aeff1e 21:42:37 Step 12/25 : FROM alpine:3.16 21:42:37 3.16: Pulling from library/alpine 21:42:37 b3c136eddcbf: Pulling fs layer 21:42:38 b3c136eddcbf: Verifying Checksum 21:42:38 b3c136eddcbf: Download complete 21:42:38 b3c136eddcbf: Pull complete 21:42:38 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 21:42:38 Status: Downloaded newer image for alpine:3.16 21:42:38 ---> 6e30ab57aeee 21:42:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:42:38 ---> Running in 69672a793588 21:42:39 Removing intermediate container 69672a793588 21:42:39 ---> 04699c11d12b 21:42:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:42:39 ---> Running in 5b60bbcd4466 21:42:41 Removing intermediate container 5b60bbcd4466 21:42:41 ---> 6516ba48222b 21:42:41 Step 15/25 : RUN apk add --update --no-cache zeromq 21:42:41 ---> Running in 2e418055b11a 21:42:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:42:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:42:43 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:42:43 (2/5) Installing libsodium (1.0.18-r0) 21:42:43 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:42:44 (4/5) Installing libzmq (4.3.4-r0) 21:42:44 (5/5) Installing zeromq (4.3.4-r0) 21:42:44 Executing busybox-1.35.0-r13.trigger 21:42:44 OK: 8 MiB in 19 packages 21:42:45 Removing intermediate container 2e418055b11a 21:42:45 ---> c3900b4043cf 21:42:45 Step 16/25 : WORKDIR / 21:42:45 ---> Running in a63621ca3e12 21:42:45 Removing intermediate container a63621ca3e12 21:42:45 ---> 67ade866e6f6 21:42:45 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:42:46 ---> 5c7427e3237d 21:42:46 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:42:47 ---> 457542157cf3 21:42:47 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:42:48 ---> 9a5b9020df7c 21:42:48 Step 20/25 : EXPOSE 59999 21:42:48 ---> Running in 455bab1d2280 21:42:48 Removing intermediate container 455bab1d2280 21:42:48 ---> 2a78e096c7a5 21:42:48 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:42:48 ---> Running in 7229a4986bc0 21:42:49 Removing intermediate container 7229a4986bc0 21:42:49 ---> 32f52e7b441a 21:42:49 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:42:49 ---> Running in c3a3a05fc817 21:42:49 Removing intermediate container c3a3a05fc817 21:42:49 ---> 0b50e4754f51 21:42:49 Step 23/25 : LABEL arch=arm64 21:42:49 ---> Running in 1ac255de9b28 21:42:49 Removing intermediate container 1ac255de9b28 21:42:49 ---> bb8f163ec2d0 21:42:49 Step 24/25 : LABEL git_sha=91816c17eb46aae8bae2073d332060c775bd9e8b 21:42:49 ---> Running in 3164a71302fe 21:42:50 Removing intermediate container 3164a71302fe 21:42:50 ---> 2b1e4757f122 21:42:50 Step 25/25 : LABEL version=0.0.0 21:42:50 ---> Running in c4e07a48dcdf 21:42:50 Removing intermediate container c4e07a48dcdf 21:42:50 ---> 23919ba6eda1 21:42:50 [Warning] One or more build-args [ARCH] were not consumed 21:42:50 Successfully built 23919ba6eda1 21:42:50 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:51 21:42:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:51 arm64: Pulling from edgex-lftools-log-publisher 21:42:51 8998bd30e6a1: Pulling fs layer 21:42:51 04944245beec: Pulling fs layer 21:42:51 699f458cf7ca: Pulling fs layer 21:42:51 765212b225bb: Pulling fs layer 21:42:51 f23df028b6ca: Pulling fs layer 21:42:51 d65c8cfc05b1: Pulling fs layer 21:42:51 2437ff75d9bd: Pulling fs layer 21:42:51 f23df028b6ca: Waiting 21:42:51 d65c8cfc05b1: Waiting 21:42:51 2437ff75d9bd: Waiting 21:42:51 765212b225bb: Waiting 21:42:51 04944245beec: Verifying Checksum 21:42:51 04944245beec: Download complete 21:42:51 765212b225bb: Download complete 21:42:51 f23df028b6ca: Verifying Checksum 21:42:51 f23df028b6ca: Download complete 21:42:51 d65c8cfc05b1: Verifying Checksum 21:42:51 d65c8cfc05b1: Download complete 21:42:52 699f458cf7ca: Verifying Checksum 21:42:52 699f458cf7ca: Download complete 21:42:52 8998bd30e6a1: Verifying Checksum 21:42:52 8998bd30e6a1: Download complete 21:42:55 2437ff75d9bd: Verifying Checksum 21:42:55 2437ff75d9bd: Download complete 21:42:57 8998bd30e6a1: Pull complete 21:42:57 04944245beec: Pull complete 21:42:59 699f458cf7ca: Pull complete 21:42:59 765212b225bb: Pull complete 21:42:59 f23df028b6ca: Pull complete 21:43:00 d65c8cfc05b1: Pull complete 21:43:15 2437ff75d9bd: Pull complete 21:43:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:15 prd-ubuntu20.04-docker-arm64-4c-16g-17184 does not seem to be running inside a container 21:43:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:43:18 $ docker top 0795af5a3f51b9880433a6c042eff78066151a29185ab14041636c5a33c5fbf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:19 ---> job-cost.sh 21:43:19 lf-activate-venv: SKIPPING 21:43:19 INFO: No Stack... 21:43:19 INFO: Retrieving Pricing Info for: v3-standard-4 21:43:20 INFO: Archiving Costs [Pipeline] sh 21:43:21 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:43:21 + cut -d, -f6 [Pipeline] lock 21:43:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] 21:43:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] did not exist. Created. 21:43:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:21 /w/workspace/device-sdk-go/1@tmp/durable-593939af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:43:22 + echo total: 0.10999999940395355 [Pipeline] stash 21:43:22 Warning: overwriting stash ‘stack-cost’ 21:43:22 Stashed 1 file(s) [Pipeline] } 21:43:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1190-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:43:22 $ docker stop --time=1 0795af5a3f51b9880433a6c042eff78066151a29185ab14041636c5a33c5fbf5 21:43:24 $ docker rm -f 0795af5a3f51b9880433a6c042eff78066151a29185ab14041636c5a33c5fbf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:43:25 provisioning config files... 21:43:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/config3238390672612983337tmp [Pipeline] { [Pipeline] sh 21:43:25 + set +x 21:43:25 + curl -s https://codecov.io/bash 21:43:25 + bash -s -- 21:43:25 21:43:25 _____ _ 21:43:25 / ____| | | 21:43:25 | | ___ __| | ___ ___ _____ __ 21:43:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:43:25 | |___| (_) | (_| | __/ (_| (_) \ V / 21:43:25 \_____\___/ \__,_|\___|\___\___/ \_/ 21:43:25 Bash-1.0.6 21:43:25 21:43:25 21:43:25 ==> git version 2.25.1 found 21:43:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:43:25 Release-Date: 2020-01-08 21:43:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:43:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:43:25 ==> Jenkins CI detected. 21:43:25 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1190 21:43:25 project root: . 21:43:25 --> token set from env 21:43:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:43:25 ==> Running gcov in . (disable via -X gcov) 21:43:25 ==> Python coveragepy not found 21:43:25 ==> Searching for coverage reports in: 21:43:25 + . 21:43:25 -> Found 1 reports 21:43:25 ==> Detecting git/mercurial file structure 21:43:25 ==> Reading reports 21:43:25 + ./coverage.out bytes=131190 21:43:25 ==> Appending adjustments 21:43:25 https://docs.codecov.io/docs/fixing-reports 21:43:26 + Found adjustments 21:43:26 ==> Gzipping contents 21:43:26 20K /tmp/codecov.5eGVpd.gz 21:43:26 ==> Uploading reports 21:43:26 url: https://codecov.io 21:43:26 query: branch=PR-1190&commit=91816c17eb46aae8bae2073d332060c775bd9e8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1190&job=&cmd_args= 21:43:26 -> Pinging Codecov 21:43:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1190&commit=91816c17eb46aae8bae2073d332060c775bd9e8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1190&job=&cmd_args= 21:43:26 -> Uploading to 21:43:26 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/7E55EF52A471D76F132DFD9A03CDDE97/91816c17eb46aae8bae2073d332060c775bd9e8b/10bf55d0-a325-4244-917f-e5c5971bf81c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T214326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f8cced2c985d9067ddefb81e893f85f29014d8d25406bbc5de4180b5de5bd31 21:43:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:43:26 Dload Upload Total Spent Left Speed 21:43:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16865 0 0 100 16865 0 76312 --:--:-- --:--:-- --:--:-- 75968 100 16865 0 0 100 16865 0 62695 --:--:-- --:--:-- --:--:-- 62462 21:43:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/91816c17eb46aae8bae2073d332060c775bd9e8b [Pipeline] } 21:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:43:28 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives ] 21:43:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives 21:43:28 total 16 21:43:28 drwxr-xr-x 3 root root 4096 Jul 7 21:34 . 21:43:28 drwxrwxr-x 12 jenkins jenkins 4096 Jul 7 21:34 .. 21:43:28 drwxr-xr-x 2 root root 4096 Jul 7 21:34 cost 21:43:28 -rw-r--r-- 1 root root 85 Jul 7 21:34 cost.csv 21:43:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives 21:43:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives 21:43:28 total 16 21:43:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 21:34 . 21:43:28 drwxrwxr-x 12 jenkins jenkins 4096 Jul 7 21:34 .. 21:43:28 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 21:34 cost 21:43:28 -rw-r--r-- 1 jenkins jenkins 85 Jul 7 21:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:29 ---> package-listing.sh 21:43:29 ++ facter osfamily 21:43:29 ++ tr '[:upper:]' '[:lower:]' 21:43:29 + OS_FAMILY=debian 21:43:29 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1190 21:43:29 + START_PACKAGES=/tmp/packages_start.txt 21:43:29 + END_PACKAGES=/tmp/packages_end.txt 21:43:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:29 + PACKAGES=/tmp/packages_start.txt 21:43:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1190 ']' 21:43:29 + PACKAGES=/tmp/packages_end.txt 21:43:29 + case "${OS_FAMILY}" in 21:43:29 + dpkg -l 21:43:29 + grep '^ii' 21:43:29 + '[' -f /tmp/packages_start.txt ']' 21:43:29 + '[' -f /tmp/packages_end.txt ']' 21:43:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1190 ']' 21:43:29 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives/ 21:43:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1190/archives/ [Pipeline] echo 21:43:29 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-1190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:30 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 21:43:30 $ 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-1190/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-1190 -v /w/workspace/gexfoundry_device-sdk-go_PR-1190:/w/workspace/gexfoundry_device-sdk-go_PR-1190:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:43:31 $ docker top 4990dcd281bea1b51738db36327060ad36f5575bbb47de685396449c375e5541 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:31 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:31 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:32 + ls /var/log/sa-host 21:43:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:32 provisioning config files... 21:43:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1190@tmp/config37433220048863254tmp [Pipeline] { [Pipeline] echo 21:43:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:32 ---> create-netrc.sh [Pipeline] } 21:43:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:33 ---> python-tools-install.sh [Pipeline] echo 21:43:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:33 ---> sudo-logs.sh 21:43:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:34 ---> job-cost.sh 21:43:34 lf-activate-venv: SKIPPING 21:43:34 DEBUG: total: 0.2199999988079071 21:43:34 INFO: Retrieving Stack Cost... 21:43:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:35 INFO: Archiving Costs [Pipeline] echo 21:43:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:35 ---> logs-deploy.sh 21:43:35 lf-activate-venv: SKIPPING 21:43:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1190/1 21:43:35 INFO: archiving workspace using pattern(s): 21:43:36 Archives upload complete. 21:43:36 INFO: archiving logs to Nexus