Pull request #1250 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 266727b5787047c0a0e523203b4799d9ba2ae572+5c206d5ec711179ff4ebe49da9da22b1560eb8ca (d9e7778451a142af72ed567db143c57e9a41c2ff) 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-ssh2191909680415619113.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13966557480466717794.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1250/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-1250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2740133955054617417.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6144575361429041494.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh504336247740448357.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1250/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-1250/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18126059909382141421.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-117053’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117061 in /w/workspace/gexfoundry_device-sdk-go_PR-1250 [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-1250 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1250/head:refs/remotes/origin/PR-1250 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit 266727b5787047c0a0e523203b4799d9ba2ae572 Merge succeeded, producing 266727b5787047c0a0e523203b4799d9ba2ae572 Checking out Revision 266727b5787047c0a0e523203b4799d9ba2ae572 (PR-1250) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:07:38 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:07:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:07:39 ========================================================= 04:07:39 EdgeX Global Pipelines Version Info 04:07:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:07:39 ------------------- 04:07:39 stable info: 04:07:39 ------------------- 04:07:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:07:39 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:07:39 Message: update stable to v1.0.243 04:07:40 ------------------- 04:07:40 experimental info: 04:07:40 ------------------- 04:07:40 Commited By: **** collab-it+edgex@linuxfoundation.org 04:07:40 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:07:40 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:07:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1250 [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1250 [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1250 [Pipeline] echo 04:07:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo 04:07:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 266727b [Pipeline] echo 04:07:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:42 provisioning config files... 04:07:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config7418945966718666857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:42 ---> docker-login.sh 04:07:42 nexus3.edgexfoundry.org:10001 04:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:42 Configure a credential helper to remove this warning. See 04:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:42 04:07:42 Login Succeeded 04:07:42 nexus3.edgexfoundry.org:10002 04:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:43 Configure a credential helper to remove this warning. See 04:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:43 04:07:43 Login Succeeded 04:07:43 nexus3.edgexfoundry.org:10003 04:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:43 Configure a credential helper to remove this warning. See 04:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:43 04:07:43 Login Succeeded 04:07:43 nexus3.edgexfoundry.org:10004 04:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:43 Configure a credential helper to remove this warning. See 04:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:43 04:07:43 Login Succeeded 04:07:43 docker.io 04:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:43 Configure a credential helper to remove this warning. See 04:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:43 04:07:43 Login Succeeded 04:07:43 ---> docker-login.sh ends [Pipeline] } 04:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:07:44 + git rev-list -1 --merges 266727b5787047c0a0e523203b4799d9ba2ae572~1..266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo 04:07:44 -----------> git rev-list -1 --merges 266727b5787047c0a0e523203b4799d9ba2ae572~1..266727b5787047c0a0e523203b4799d9ba2ae572 266727b5787047c0a0e523203b4799d9ba2ae572 [false] [Pipeline] sh 04:07:44 + git log --format=format:%s -1 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo 04:07:44 ========================================================= 04:07:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:45 + git log --format=format:%s -1 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo 04:07:45 [semverPrep] GIT_COMMIT: 266727b5787047c0a0e523203b4799d9ba2ae572, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:07:45 [semverPrep] This is not a build commit. [Pipeline] sh 04:07:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:45 + grep -v github /etc/ssh/ssh_known_hosts 04:07:45 + [ -e /tmp/ssh_known_hosts ] 04:07:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:07:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:07:45 + sudo tee -a /etc/ssh/ssh_known_hosts 04:07:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:45 04:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:46 0.1.4: Pulling from edgex-devops/py-git-semver 04:07:46 b85a868b505f: Pulling fs layer 04:07:46 e2be974225ed: Pulling fs layer 04:07:46 339a4e72a1f5: Pulling fs layer 04:07:46 988bab9f4d93: Pulling fs layer 04:07:46 1469e6f7b9e6: Pulling fs layer 04:07:46 eaf3925da568: Pulling fs layer 04:07:46 bab4dde63d76: Pulling fs layer 04:07:46 988bab9f4d93: Waiting 04:07:46 1469e6f7b9e6: Waiting 04:07:46 bab4dde63d76: Waiting 04:07:46 eaf3925da568: Waiting 04:07:46 bde34c3a00c8: Pulling fs layer 04:07:46 b352a97aabf1: Pulling fs layer 04:07:46 4872d77fe225: Pulling fs layer 04:07:46 5851b861e8e6: Pulling fs layer 04:07:46 bde34c3a00c8: Waiting 04:07:46 b352a97aabf1: Waiting 04:07:46 4872d77fe225: Waiting 04:07:46 5851b861e8e6: Waiting 04:07:46 e2be974225ed: Verifying Checksum 04:07:46 e2be974225ed: Download complete 04:07:46 988bab9f4d93: Verifying Checksum 04:07:46 988bab9f4d93: Download complete 04:07:46 1469e6f7b9e6: Verifying Checksum 04:07:46 1469e6f7b9e6: Download complete 04:07:46 339a4e72a1f5: Verifying Checksum 04:07:46 339a4e72a1f5: Download complete 04:07:46 eaf3925da568: Verifying Checksum 04:07:46 eaf3925da568: Download complete 04:07:46 bde34c3a00c8: Download complete 04:07:46 b352a97aabf1: Download complete 04:07:46 4872d77fe225: Download complete 04:07:46 5851b861e8e6: Download complete 04:07:46 b85a868b505f: Verifying Checksum 04:07:46 b85a868b505f: Download complete 04:07:46 bab4dde63d76: Verifying Checksum 04:07:46 bab4dde63d76: Download complete 04:07:48 b85a868b505f: Pull complete 04:07:48 e2be974225ed: Pull complete 04:07:48 339a4e72a1f5: Pull complete 04:07:48 988bab9f4d93: Pull complete 04:07:48 1469e6f7b9e6: Pull complete 04:07:48 eaf3925da568: Pull complete 04:07:50 bab4dde63d76: Pull complete 04:07:50 bde34c3a00c8: Pull complete 04:07:50 b352a97aabf1: Pull complete 04:07:50 4872d77fe225: Pull complete 04:07:50 5851b861e8e6: Pull complete 04:07:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:51 prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container 04:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:52 $ docker top a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 -eo pid,comm 04:07:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:07:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:52 [ssh-agent] Looking for ssh-agent implementation... 04:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:52 $ docker exec a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent 04:07:53 SSH_AUTH_SOCK=/tmp/ssh-ouJ7UO6NPaYk/agent.32 04:07:53 SSH_AGENT_PID=38 04:07:53 Running ssh-add (command line suppressed) 04:07:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_3572705980757297256.key (/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_3572705980757297256.key) 04:07:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:53 + git tag --points-at HEAD [Pipeline] } 04:07:53 $ docker exec --env ******** --env ******** a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent -k 04:07:53 unset SSH_AUTH_SOCK; 04:07:53 unset SSH_AGENT_PID; 04:07:53 echo Agent pid 38 killed; 04:07:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:53 [ssh-agent] Looking for ssh-agent implementation... 04:07:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:53 $ docker exec a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent 04:07:53 SSH_AUTH_SOCK=/tmp/ssh-Jh5ZvqCeSpAD/agent.70 04:07:53 SSH_AGENT_PID=77 04:07:53 Running ssh-add (command line suppressed) 04:07:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_12154323878954770257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_12154323878954770257.key) 04:07:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:54 + git semver init 04:07:54 2022-10-26 04:07:54,639 [run_init] DEBUG init version:0.0.0 force:False 04:07:54 2022-10-26 04:07:54,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver 04:07:54 2022-10-26 04:07:54,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver 04:07:54 2022-10-26 04:07:54,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250, universal_newlines=False, shell=None, istream=None) 04:07:55 2022-10-26 04:07:55,649 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.git/info/exclude 04:07:55 2022-10-26 04:07:55,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 with force:False 04:07:55 2022-10-26 04:07:55,650 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 04:07:55 2022-10-26 04:07:55,654 [execute] INFO git cat-file --batch-check 04:07:55 2022-10-26 04:07:55,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver, universal_newlines=False, shell=None, istream=) 04:07:55 2022-10-26 04:07:55,661 [execute] INFO git cat-file --batch 04:07:55 2022-10-26 04:07:55,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver, universal_newlines=False, shell=None, istream=) 04:07:55 2022-10-26 04:07:55,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 04:07:55 0.0.0 [Pipeline] } 04:07:55 $ docker exec --env ******** --env ******** a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent -k 04:07:56 unset SSH_AUTH_SOCK; 04:07:56 unset SSH_AGENT_PID; 04:07:56 echo Agent pid 77 killed; 04:07:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:56 + git semver [Pipeline] } 04:07:56 $ docker stop --time=1 a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 04:07:58 $ docker rm -f a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:58 Stashed 1 file(s) [Pipeline] echo 04:07:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:59 provisioning config files... 04:07:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config11358030656820724330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:59 ---> docker-login.sh 04:07:59 nexus3.edgexfoundry.org:10001 04:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:59 Configure a credential helper to remove this warning. See 04:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:59 04:07:59 Login Succeeded 04:07:59 nexus3.edgexfoundry.org:10002 04:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:59 Configure a credential helper to remove this warning. See 04:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:59 04:07:59 Login Succeeded 04:07:59 nexus3.edgexfoundry.org:10003 04:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:00 Configure a credential helper to remove this warning. See 04:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:00 04:08:00 Login Succeeded 04:08:00 nexus3.edgexfoundry.org:10004 04:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:00 Configure a credential helper to remove this warning. See 04:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:00 04:08:00 Login Succeeded 04:08:00 docker.io 04:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:00 Configure a credential helper to remove this warning. See 04:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:00 04:08:00 Login Succeeded 04:08:00 ---> docker-login.sh ends [Pipeline] } 04:08:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:00 ========================================================= 04:08:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:08:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:01 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:08:01 Sending build context to Docker daemon 10.08MB 04:08:01 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:08:01 Step 2/10 : FROM ${BASE} AS builder 04:08:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:01 213ec9aee27d: Pulling fs layer 04:08:01 4583459ba037: Pulling fs layer 04:08:01 93c1e223e6f2: Pulling fs layer 04:08:01 53926ce57604: Pulling fs layer 04:08:01 21b2b0c7a3f4: Pulling fs layer 04:08:01 30f14e443154: Pulling fs layer 04:08:01 801331c1e519: Pulling fs layer 04:08:01 99cc6dd402b0: Pulling fs layer 04:08:01 7d9ed39f4882: Pulling fs layer 04:08:01 30f14e443154: Waiting 04:08:01 53926ce57604: Waiting 04:08:01 801331c1e519: Waiting 04:08:01 7d9ed39f4882: Waiting 04:08:01 99cc6dd402b0: Waiting 04:08:01 21b2b0c7a3f4: Waiting 04:08:01 93c1e223e6f2: Verifying Checksum 04:08:01 93c1e223e6f2: Download complete 04:08:01 4583459ba037: Verifying Checksum 04:08:01 21b2b0c7a3f4: Verifying Checksum 04:08:01 21b2b0c7a3f4: Download complete 04:08:01 30f14e443154: Download complete 04:08:01 213ec9aee27d: Verifying Checksum 04:08:01 213ec9aee27d: Download complete 04:08:01 801331c1e519: Download complete 04:08:01 213ec9aee27d: Pull complete 04:08:01 4583459ba037: Pull complete 04:08:01 93c1e223e6f2: Pull complete 04:08:02 7d9ed39f4882: Verifying Checksum 04:08:02 7d9ed39f4882: Download complete 04:08:02 99cc6dd402b0: Verifying Checksum 04:08:02 99cc6dd402b0: Download complete 04:08:02 53926ce57604: Verifying Checksum 04:08:02 53926ce57604: Download complete 04:08:06 53926ce57604: Pull complete 04:08:06 21b2b0c7a3f4: Pull complete 04:08:06 30f14e443154: Pull complete 04:08:06 801331c1e519: Pull complete 04:08:09 99cc6dd402b0: Pull complete 04:08:09 7d9ed39f4882: Pull complete 04:08:09 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:08:09 ---> 1dedd983c030 04:08:09 Step 3/10 : ARG MAKE=make build 04:08:11 ---> Running in 7a2e48fc143b 04:08:11 Removing intermediate container 7a2e48fc143b 04:08:11 ---> d21c7724b881 04:08:11 Step 4/10 : WORKDIR /device-sdk-go 04:08:11 ---> Running in 0dfefbacd6c0 04:08:11 Removing intermediate container 0dfefbacd6c0 04:08:11 ---> db26bfd99bee 04:08:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:11 ---> Running in 7523b4e5779e 04:08:11 Removing intermediate container 7523b4e5779e 04:08:11 ---> e63eaff4ae80 04:08:11 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:11 ---> Running in 69f4715d47f6 04:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:12 OK: 211 MiB in 51 packages 04:08:12 Removing intermediate container 69f4715d47f6 04:08:12 ---> 13c5bcf5166f 04:08:12 Step 7/10 : COPY go.mod vendor* ./ 04:08:12 ---> b7fa2edff860 04:08:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:12 ---> Running in b8fa49dba384 04:08:14 Still waiting to schedule task 04:08:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:08:30 Removing intermediate container b8fa49dba384 04:08:30 ---> a1dbc6cec064 04:08:30 Step 9/10 : COPY . . 04:08:30 ---> c462fb582423 04:08:30 Step 10/10 : RUN ${MAKE} 04:08:30 ---> Running in da9ef5ab272e 04:08:30 noop 04:08:30 Removing intermediate container da9ef5ab272e 04:08:30 ---> 2434bd8d77e2 04:08:30 Successfully built 2434bd8d77e2 04:08:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:31 + docker inspect -f . ci-base-image-x86_64 04:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:31 prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container 04:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:08:31 $ docker top 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:32 + go version 04:08:32 go version go1.18.7 linux/amd64 [Pipeline] } 04:08:32 $ docker stop --time=1 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 04:08:33 $ docker rm -f 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:34 + docker inspect -f . ci-base-image-x86_64 04:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:34 prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container 04:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:08:34 $ docker top c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1250 [Pipeline] fileExists [Pipeline] sh 04:08:35 + make test 04:08:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:08:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 73.1% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 54.4% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:09:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:09:12 GO111MODULE=on go vet ./... 04:09:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:14 ./bin/test-attribution-txt.sh 04:09:14 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:09:14 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:09:14 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:09:14 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:14 $ docker stop --time=1 c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 04:09:17 $ docker rm -f c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:09:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:18 + ls -al . 04:09:18 total 280 04:09:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 04:08 . 04:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:07 .. 04:09:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:07 .dockerignore 04:09:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:08 .git 04:09:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:07 .github 04:09:18 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:07 .gitignore 04:09:18 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:07 .golangci.yml 04:09:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:07 .semver 04:09:18 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:07 CHANGELOG.md 04:09:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:07 GOVERNANCE.md 04:09:18 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:07 Jenkinsfile 04:09:18 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:07 LICENSE 04:09:18 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:07 Makefile 04:09:18 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:07 OWNERS.md 04:09:18 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:07 README.md 04:09:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:07 VERSION 04:09:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:07 bin 04:09:18 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:08 coverage.out 04:09:18 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:07 example 04:09:18 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:07 go.mod 04:09:18 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:07 go.sum 04:09:18 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:07 internal 04:09:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:07 openapi 04:09:18 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:07 pkg 04:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:07 snap 04:09:18 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:19 + 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=266727b5787047c0a0e523203b4799d9ba2ae572 --label arch=amd64 --label version=0.0.0 . 04:09:19 Sending build context to Docker daemon 10.18MB 04:09:19 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:09:19 Step 2/23 : FROM ${BASE} AS builder 04:09:19 ---> 2434bd8d77e2 04:09:19 Step 3/23 : ARG MAKE=make build 04:09:19 ---> Running in f756766ef746 04:09:19 Removing intermediate container f756766ef746 04:09:19 ---> 62f3d3648790 04:09:19 Step 4/23 : WORKDIR /device-sdk-go 04:09:19 ---> Running in 3de70a50255b 04:09:19 Removing intermediate container 3de70a50255b 04:09:19 ---> f19cd3563838 04:09:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:19 ---> Running in a61a70f0cd36 04:09:19 Removing intermediate container a61a70f0cd36 04:09:19 ---> 217f4d7a9cf0 04:09:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:19 ---> Running in 0309b739b0b4 04:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:20 OK: 211 MiB in 51 packages 04:09:21 Removing intermediate container 0309b739b0b4 04:09:21 ---> b00336145132 04:09:21 Step 7/23 : COPY go.mod vendor* ./ 04:09:21 ---> 3e8ed0d06373 04:09:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:21 ---> Running in db175438d594 04:09:22 Removing intermediate container db175438d594 04:09:22 ---> f4043293e72e 04:09:22 Step 9/23 : COPY . . 04:09:23 ---> cf7030dd29c5 04:09:23 Step 10/23 : RUN ${MAKE} 04:09:23 ---> Running in 687989215fdf 04:09:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:09:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:43 Removing intermediate container 687989215fdf 04:09:43 ---> 80a3801fc726 04:09:43 Step 11/23 : FROM alpine:3.16 04:09:44 3.16: Pulling from library/alpine 04:09:44 213ec9aee27d: Already exists 04:09:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:09:44 Status: Downloaded newer image for alpine:3.16 04:09:44 ---> 9c6f07244728 04:09:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:44 ---> Running in 2be4bbd53176 04:09:44 Removing intermediate container 2be4bbd53176 04:09:44 ---> 59dd4b524644 04:09:44 Step 13/23 : RUN apk add --update --no-cache zeromq 04:09:44 ---> Running in 4b3095526ecd 04:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:45 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:09:45 (2/5) Installing libsodium (1.0.18-r0) 04:09:45 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:09:45 (4/5) Installing libzmq (4.3.4-r0) 04:09:45 (5/5) Installing zeromq (4.3.4-r0) 04:09:45 Executing busybox-1.35.0-r17.trigger 04:09:45 OK: 8 MiB in 19 packages 04:09:45 Removing intermediate container 4b3095526ecd 04:09:45 ---> f02a71ac1a67 04:09:45 Step 14/23 : WORKDIR / 04:09:45 ---> Running in 078479a1ba96 04:09:45 Removing intermediate container 078479a1ba96 04:09:45 ---> 5311316781e6 04:09:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:45 ---> 92bf52ccbf48 04:09:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:46 ---> e3fb6b250608 04:09:46 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:46 ---> a6f359521e95 04:09:46 Step 18/23 : EXPOSE 59999 04:09:46 ---> Running in 50d7ca64ac19 04:09:46 Removing intermediate container 50d7ca64ac19 04:09:46 ---> 4ef24149e82f 04:09:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:09:46 ---> Running in 18e772982bd2 04:09:46 Removing intermediate container 18e772982bd2 04:09:46 ---> c31abfaf3b38 04:09:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:46 ---> Running in 8323516c8154 04:09:47 Removing intermediate container 8323516c8154 04:09:47 ---> 894a415eac9d 04:09:47 Step 21/23 : LABEL arch=amd64 04:09:47 ---> Running in f2797726e994 04:09:47 Removing intermediate container f2797726e994 04:09:47 ---> 598f8f0301d4 04:09:47 Step 22/23 : LABEL git_sha=266727b5787047c0a0e523203b4799d9ba2ae572 04:09:47 ---> Running in b5af03f524b4 04:09:47 Removing intermediate container b5af03f524b4 04:09:47 ---> ca024d469cf1 04:09:47 Step 23/23 : LABEL version=0.0.0 04:09:47 ---> Running in 069f3d902e58 04:09:47 Removing intermediate container 069f3d902e58 04:09:47 ---> ab54a315666c 04:09:47 [Warning] One or more build-args [ARCH] were not consumed 04:09:47 Successfully built ab54a315666c 04:09:47 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:48 04:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:48 latest: Pulling from edgex-lftools-log-publisher 04:09:48 5eb5b503b376: Pulling fs layer 04:09:48 5c69ac0246d0: Pulling fs layer 04:09:48 ec43610c2a17: Pulling fs layer 04:09:48 3a2ae6a8a46f: Pulling fs layer 04:09:48 33b1e0a273af: Pulling fs layer 04:09:48 5d3b04190fa2: Pulling fs layer 04:09:48 2f39f015ded8: Pulling fs layer 04:09:48 33b1e0a273af: Waiting 04:09:48 5d3b04190fa2: Waiting 04:09:48 2f39f015ded8: Waiting 04:09:48 3a2ae6a8a46f: Waiting 04:09:48 5c69ac0246d0: Verifying Checksum 04:09:48 5c69ac0246d0: Download complete 04:09:48 3a2ae6a8a46f: Download complete 04:09:48 33b1e0a273af: Verifying Checksum 04:09:48 33b1e0a273af: Download complete 04:09:48 5d3b04190fa2: Verifying Checksum 04:09:48 5d3b04190fa2: Download complete 04:09:48 ec43610c2a17: Verifying Checksum 04:09:48 ec43610c2a17: Download complete 04:09:48 5eb5b503b376: Verifying Checksum 04:09:48 5eb5b503b376: Download complete 04:09:49 2f39f015ded8: Verifying Checksum 04:09:49 2f39f015ded8: Download complete 04:09:50 5eb5b503b376: Pull complete 04:09:50 5c69ac0246d0: Pull complete 04:09:50 ec43610c2a17: Pull complete 04:09:50 3a2ae6a8a46f: Pull complete 04:09:50 33b1e0a273af: Pull complete 04:09:50 5d3b04190fa2: Pull complete 04:09:55 2f39f015ded8: Pull complete 04:09:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:55 prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container 04:09:55 $ 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-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:09:57 $ docker top 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:57 ---> job-cost.sh 04:09:57 lf-activate-venv: SKIPPING 04:09:57 INFO: No Stack... 04:09:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:58 INFO: Archiving Costs [Pipeline] sh 04:09:58 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/cost.csv 04:09:58 + cut -d, -f6 [Pipeline] lock 04:09:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] 04:09:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] did not exist. Created. 04:09:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:59 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:59 Stashed 1 file(s) [Pipeline] } 04:09:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:59 $ docker stop --time=1 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe 04:10:00 $ docker rm -f 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:10:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117065 in /w/workspace/gexfoundry_device-sdk-go_PR-1250 [Pipeline] { [Pipeline] ws 04:10:32 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:10:32 The recommended git tool is: git 04:10:39 using credential edgex-jenkins-ssh 04:10:39 Cloning the remote Git repository 04:10:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:39 > git --version # timeout=10 04:10:39 > git --version # 'git version 2.25.1' 04:10:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:39 Verifying host key using known hosts file 04:10:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:42 Verifying host key using known hosts file 04:10:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1250/head:refs/remotes/origin/PR-1250 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:43 Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit 266727b5787047c0a0e523203b4799d9ba2ae572 04:10:43 Merge succeeded, producing 266727b5787047c0a0e523203b4799d9ba2ae572 04:10:43 Checking out Revision 266727b5787047c0a0e523203b4799d9ba2ae572 (PR-1250) 04:10:44 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:10:44 > git --version # timeout=10 04:10:44 > git --version # 'git version 2.25.1' 04:10:44 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:10:43 > git config core.sparsecheckout # timeout=10 04:10:43 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 04:10:43 > git remote # timeout=10 04:10:43 > git config --get remote.origin.url # timeout=10 04:10:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:43 Verifying host key using known hosts file 04:10:43 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:43 > git merge 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 04:10:43 > git rev-parse HEAD^{commit} # timeout=10 04:10:43 > git config core.sparsecheckout # timeout=10 04:10:43 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:45 Dload Upload Total Spent Left Speed 04:10:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 04:10:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:46 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 04:10:46 tee /etc/docker/daemon.new 04:10:46 { 04:10:46 "registry-mirrors": [ 04:10:46 "https://nexus3.edgexfoundry.org:10001" 04:10:46 ], 04:10:46 "bip": "10.250.0.254/24", 04:10:46 "hosts": [ 04:10:46 "tcp://0.0.0.0:5555", 04:10:46 "unix:///var/run/docker.sock" 04:10:46 ], 04:10:46 "mtu": 1458, 04:10:46 "selinux-enabled": true, 04:10:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:46 } [Pipeline] sh 04:10:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:05 provisioning config files... 04:11:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8640963804840533289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:05 ---> docker-login.sh 04:11:05 nexus3.edgexfoundry.org:10001 04:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:06 Configure a credential helper to remove this warning. See 04:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:06 04:11:06 Login Succeeded 04:11:06 nexus3.edgexfoundry.org:10002 04:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:07 Configure a credential helper to remove this warning. See 04:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:07 04:11:07 Login Succeeded 04:11:07 nexus3.edgexfoundry.org:10003 04:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:07 Configure a credential helper to remove this warning. See 04:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:07 04:11:07 Login Succeeded 04:11:07 nexus3.edgexfoundry.org:10004 04:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:07 Configure a credential helper to remove this warning. See 04:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:07 04:11:07 Login Succeeded 04:11:07 docker.io 04:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:08 Configure a credential helper to remove this warning. See 04:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:08 04:11:08 Login Succeeded 04:11:08 ---> docker-login.sh ends [Pipeline] } 04:11:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:08 ========================================================= 04:11:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:11:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:09 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:11:10 Sending build context to Docker daemon 5.425MB 04:11:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:11:10 Step 2/10 : FROM ${BASE} AS builder 04:11:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:10 9b18e9b68314: Pulling fs layer 04:11:10 d32db5db7311: Pulling fs layer 04:11:10 d0c4b47475fc: Pulling fs layer 04:11:10 5831b945b038: Pulling fs layer 04:11:10 86bbec2aaacd: Pulling fs layer 04:11:10 e10730c5d714: Pulling fs layer 04:11:10 5dd5c2283517: Pulling fs layer 04:11:10 d5ac0230b979: Pulling fs layer 04:11:10 5831b945b038: Waiting 04:11:10 86bbec2aaacd: Waiting 04:11:10 e10730c5d714: Waiting 04:11:10 5dd5c2283517: Waiting 04:11:10 d5ac0230b979: Waiting 04:11:10 d0c4b47475fc: Verifying Checksum 04:11:10 d0c4b47475fc: Download complete 04:11:10 d32db5db7311: Verifying Checksum 04:11:10 d32db5db7311: Download complete 04:11:10 86bbec2aaacd: Verifying Checksum 04:11:10 86bbec2aaacd: Download complete 04:11:10 e10730c5d714: Verifying Checksum 04:11:10 e10730c5d714: Download complete 04:11:10 9b18e9b68314: Verifying Checksum 04:11:10 9b18e9b68314: Download complete 04:11:11 9b18e9b68314: Pull complete 04:11:11 d5ac0230b979: Verifying Checksum 04:11:11 d5ac0230b979: Download complete 04:11:11 d32db5db7311: Pull complete 04:11:12 d0c4b47475fc: Pull complete 04:11:12 5dd5c2283517: Verifying Checksum 04:11:12 5dd5c2283517: Download complete 04:11:13 5831b945b038: Verifying Checksum 04:11:13 5831b945b038: Download complete 04:11:25 5831b945b038: Pull complete 04:11:25 86bbec2aaacd: Pull complete 04:11:25 e10730c5d714: Pull complete 04:11:32 5dd5c2283517: Pull complete 04:11:33 d5ac0230b979: Pull complete 04:11:33 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:11:33 ---> 59b3b1a385d4 04:11:33 Step 3/10 : ARG MAKE=make build 04:11:35 ---> Running in acbc92c89eab 04:11:35 Removing intermediate container acbc92c89eab 04:11:35 ---> f741c9bba21f 04:11:35 Step 4/10 : WORKDIR /device-sdk-go 04:11:35 ---> Running in 56472ce989fa 04:11:36 Removing intermediate container 56472ce989fa 04:11:36 ---> 8e69c139eb86 04:11:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:36 ---> Running in 8f9a39c50528 04:11:36 Removing intermediate container 8f9a39c50528 04:11:36 ---> 6bcc74aabac5 04:11:36 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:36 ---> Running in 709a830f7cc7 04:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:11:39 OK: 221 MiB in 51 packages 04:11:40 Removing intermediate container 709a830f7cc7 04:11:40 ---> abb28beb59f2 04:11:40 Step 7/10 : COPY go.mod vendor* ./ 04:11:41 ---> 8d3d77e79a08 04:11:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:41 ---> Running in 183ecb83e3c5 04:12:37 Removing intermediate container 183ecb83e3c5 04:12:37 ---> 77ae3cd00654 04:12:37 Step 9/10 : COPY . . 04:12:37 ---> 61f109e50328 04:12:37 Step 10/10 : RUN ${MAKE} 04:12:37 ---> Running in f067e989b10f 04:12:37 noop 04:12:38 Removing intermediate container f067e989b10f 04:12:38 ---> 999d8262abbf 04:12:38 Successfully built 999d8262abbf 04:12:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:39 + docker inspect -f . ci-base-image-arm64 04:12:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:39 prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container 04:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:40 $ docker top 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:41 + go version 04:12:41 go version go1.18.7 linux/arm64 [Pipeline] } 04:12:41 $ docker stop --time=1 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 04:12:43 $ docker rm -f 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:44 + docker inspect -f . ci-base-image-arm64 04:12:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:44 prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container 04:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:45 $ docker top f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:46 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:12:47 + make test 04:12:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.501s coverage: 27.6% of statements 04:16:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.579s coverage: 78.9% of statements 04:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:16:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.479s coverage: 73.1% of statements 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.622s coverage: 54.4% of statements 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.509s coverage: 65.1% of statements 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:16:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.177s coverage: 89.2% of statements 04:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.282s coverage: 4.7% of statements 04:16:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:16:16 GO111MODULE=on go vet ./... 04:17:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:53 ./bin/test-attribution-txt.sh 04:17:53 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:17:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:17:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:17:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:17:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:53 $ docker stop --time=1 f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b 04:17:55 $ docker rm -f f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b [Pipeline] // withDockerContainer [Pipeline] sh 04:17:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:57 Warning: overwriting stash ‘coverage-report’ 04:17:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:58 + ls -al . 04:17:58 total 276 04:17:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:12 . 04:17:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:10 .. 04:17:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:10 .dockerignore 04:17:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:10 .git 04:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:10 .github 04:17:58 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:10 .gitignore 04:17:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:10 .golangci.yml 04:17:58 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:10 CHANGELOG.md 04:17:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:10 GOVERNANCE.md 04:17:58 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:10 Jenkinsfile 04:17:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:10 LICENSE 04:17:58 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:10 Makefile 04:17:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:10 OWNERS.md 04:17:58 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:10 README.md 04:17:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:07 VERSION 04:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:10 bin 04:17:58 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:16 coverage.out 04:17:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:10 example 04:17:58 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:10 go.mod 04:17:58 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:10 go.sum 04:17:58 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:10 internal 04:17:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:10 openapi 04:17:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:10 pkg 04:17:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:10 snap 04:17:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:59 + 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=266727b5787047c0a0e523203b4799d9ba2ae572 --label arch=arm64 --label version=0.0.0 . 04:17:59 Sending build context to Docker daemon 5.527MB 04:17:59 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:17:59 Step 2/23 : FROM ${BASE} AS builder 04:17:59 ---> 999d8262abbf 04:17:59 Step 3/23 : ARG MAKE=make build 04:17:59 ---> Running in 5d9d3356a26a 04:17:59 Removing intermediate container 5d9d3356a26a 04:17:59 ---> 4b0aca1a3917 04:17:59 Step 4/23 : WORKDIR /device-sdk-go 04:18:00 ---> Running in 99faa318d23a 04:18:00 Removing intermediate container 99faa318d23a 04:18:00 ---> ddf2faa0ce7b 04:18:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:00 ---> Running in 8739c441607e 04:18:00 Removing intermediate container 8739c441607e 04:18:00 ---> 3fa5654ed8e0 04:18:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:18:00 ---> Running in e861effedbb1 04:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:03 OK: 221 MiB in 51 packages 04:18:04 Removing intermediate container e861effedbb1 04:18:04 ---> 5bcf62e0d5e1 04:18:04 Step 7/23 : COPY go.mod vendor* ./ 04:18:06 ---> 9d28c3f32799 04:18:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:06 ---> Running in 9578b82aca51 04:18:08 Removing intermediate container 9578b82aca51 04:18:08 ---> 398b506a3830 04:18:08 Step 9/23 : COPY . . 04:18:09 ---> 08cb6ec59d20 04:18:09 Step 10/23 : RUN ${MAKE} 04:18:09 ---> Running in d70f2edae1f8 04:18:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:34 Removing intermediate container d70f2edae1f8 04:20:34 ---> 2df851a864e2 04:20:34 Step 11/23 : FROM alpine:3.16 04:20:35 3.16: Pulling from library/alpine 04:20:35 9b18e9b68314: Already exists 04:20:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:20:35 Status: Downloaded newer image for alpine:3.16 04:20:35 ---> a6215f271958 04:20:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:35 ---> Running in 72e193f1c635 04:20:36 Removing intermediate container 72e193f1c635 04:20:36 ---> bf49afb3f0f3 04:20:36 Step 13/23 : RUN apk add --update --no-cache zeromq 04:20:36 ---> Running in 73cf7955d927 04:20:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:20:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:20:38 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:20:38 (2/5) Installing libsodium (1.0.18-r0) 04:20:38 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:20:38 (4/5) Installing libzmq (4.3.4-r0) 04:20:38 (5/5) Installing zeromq (4.3.4-r0) 04:20:38 Executing busybox-1.35.0-r17.trigger 04:20:38 OK: 8 MiB in 19 packages 04:20:40 Removing intermediate container 73cf7955d927 04:20:40 ---> af057e6be613 04:20:40 Step 14/23 : WORKDIR / 04:20:40 ---> Running in 35f00b7dd94e 04:20:40 Removing intermediate container 35f00b7dd94e 04:20:40 ---> c6dda2dd3e22 04:20:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:41 ---> 27d1f22eed6a 04:20:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:42 ---> 91027304cc23 04:20:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:43 ---> bc8cd26a9fa3 04:20:43 Step 18/23 : EXPOSE 59999 04:20:43 ---> Running in ee38a1963faa 04:20:43 Removing intermediate container ee38a1963faa 04:20:43 ---> 4fc356c4bf65 04:20:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:20:43 ---> Running in 3b483dc9394a 04:20:44 Removing intermediate container 3b483dc9394a 04:20:44 ---> cbc5f42adfb4 04:20:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:44 ---> Running in 67b3e8550ed7 04:20:44 Removing intermediate container 67b3e8550ed7 04:20:44 ---> f462b0bbd5f5 04:20:44 Step 21/23 : LABEL arch=arm64 04:20:44 ---> Running in 3f7ab4a30e2b 04:20:44 Removing intermediate container 3f7ab4a30e2b 04:20:44 ---> 022e0c30fa50 04:20:44 Step 22/23 : LABEL git_sha=266727b5787047c0a0e523203b4799d9ba2ae572 04:20:45 ---> Running in b4da096e9bdc 04:20:45 Removing intermediate container b4da096e9bdc 04:20:45 ---> 0d6b82261043 04:20:45 Step 23/23 : LABEL version=0.0.0 04:20:45 ---> Running in 65ab0db7d96d 04:20:45 Removing intermediate container 65ab0db7d96d 04:20:45 ---> 18a311c21d65 04:20:45 [Warning] One or more build-args [ARCH] were not consumed 04:20:45 Successfully built 18a311c21d65 04:20:45 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:46 04:20:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:46 arm64: Pulling from edgex-lftools-log-publisher 04:20:46 8998bd30e6a1: Pulling fs layer 04:20:46 04944245beec: Pulling fs layer 04:20:46 699f458cf7ca: Pulling fs layer 04:20:46 765212b225bb: Pulling fs layer 04:20:46 f23df028b6ca: Pulling fs layer 04:20:46 d65c8cfc05b1: Pulling fs layer 04:20:46 2437ff75d9bd: Pulling fs layer 04:20:46 765212b225bb: Waiting 04:20:46 f23df028b6ca: Waiting 04:20:46 d65c8cfc05b1: Waiting 04:20:46 2437ff75d9bd: Waiting 04:20:47 04944245beec: Verifying Checksum 04:20:47 04944245beec: Download complete 04:20:47 765212b225bb: Verifying Checksum 04:20:47 765212b225bb: Download complete 04:20:47 f23df028b6ca: Verifying Checksum 04:20:47 f23df028b6ca: Download complete 04:20:47 d65c8cfc05b1: Verifying Checksum 04:20:47 d65c8cfc05b1: Download complete 04:20:47 699f458cf7ca: Verifying Checksum 04:20:47 699f458cf7ca: Download complete 04:20:47 8998bd30e6a1: Verifying Checksum 04:20:47 8998bd30e6a1: Download complete 04:20:50 2437ff75d9bd: Verifying Checksum 04:20:50 2437ff75d9bd: Download complete 04:20:51 8998bd30e6a1: Pull complete 04:20:51 04944245beec: Pull complete 04:20:53 699f458cf7ca: Pull complete 04:20:53 765212b225bb: Pull complete 04:20:54 f23df028b6ca: Pull complete 04:20:54 d65c8cfc05b1: Pull complete 04:21:09 2437ff75d9bd: Pull complete 04:21:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:21:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:09 prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container 04:21:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:12 $ docker top 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:13 ---> job-cost.sh 04:21:13 lf-activate-venv: SKIPPING 04:21:13 INFO: No Stack... 04:21:14 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:14 INFO: Archiving Costs [Pipeline] sh 04:21:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:21:15 + cut -d, -f6 [Pipeline] lock 04:21:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] 04:21:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] did not exist. Created. 04:21:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:16 /w/workspace/device-sdk-go/1@tmp/durable-8746e781/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:16 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:16 Warning: overwriting stash ‘stack-cost’ 04:21:17 Stashed 1 file(s) [Pipeline] } 04:21:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:17 $ docker stop --time=1 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 04:21:18 $ docker rm -f 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:21:19 provisioning config files... 04:21:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config9943425494598182095tmp [Pipeline] { [Pipeline] sh 04:21:19 + set +x 04:21:19 + bash -s -- 04:21:19 + curl -s https://codecov.io/bash 04:21:19 04:21:19 _____ _ 04:21:19 / ____| | | 04:21:19 | | ___ __| | ___ ___ _____ __ 04:21:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:19 Bash-1.0.6 04:21:19 04:21:19 04:21:19 ==> git version 2.25.1 found 04:21:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:21:19 Release-Date: 2020-01-08 04:21:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:21:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:21:19 ==> Jenkins CI detected. 04:21:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1250 04:21:19 project root: . 04:21:19 --> token set from env 04:21:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:19 ==> Running gcov in . (disable via -X gcov) 04:21:19 ==> Python coveragepy not found 04:21:19 ==> Searching for coverage reports in: 04:21:19 + . 04:21:19 -> Found 1 reports 04:21:19 ==> Detecting git/mercurial file structure 04:21:19 ==> Reading reports 04:21:19 + ./coverage.out bytes=101759 04:21:19 ==> Appending adjustments 04:21:19 https://docs.codecov.io/docs/fixing-reports 04:21:20 + Found adjustments 04:21:20 ==> Gzipping contents 04:21:20 16K /tmp/codecov.OaO57p.gz 04:21:20 ==> Uploading reports 04:21:20 url: https://codecov.io 04:21:20 query: branch=PR-1250&commit=266727b5787047c0a0e523203b4799d9ba2ae572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1250&job=&cmd_args= 04:21:20 -> Pinging Codecov 04:21:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1250&commit=266727b5787047c0a0e523203b4799d9ba2ae572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1250&job=&cmd_args= 04:21:20 -> Uploading to 04:21:20 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/266727b5787047c0a0e523203b4799d9ba2ae572/27dee6ea-a7a2-45b5-b3cc-5d2608c2ed74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T042120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db2fbd742f5b91f263fcc00bc39cb17214e8d578edd6d408f4b9b8593ffe03dc 04:21:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:20 Dload Upload Total Spent Left Speed 04:21:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14702 0 0 100 14702 0 64482 --:--:-- --:--:-- --:--:-- 64482 04:21:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] } 04:21:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:21:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives ] 04:21:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives 04:21:22 total 16 04:21:22 drwxr-xr-x 3 root root 4096 Oct 26 04:09 . 04:21:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. 04:21:22 drwxr-xr-x 2 root root 4096 Oct 26 04:09 cost 04:21:22 -rw-r--r-- 1 root root 86 Oct 26 04:09 cost.csv 04:21:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives 04:21:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives 04:21:22 total 16 04:21:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:09 . 04:21:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. 04:21:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 04:09 cost 04:21:22 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:23 ---> package-listing.sh 04:21:23 ++ tr '[:upper:]' '[:lower:]' 04:21:23 ++ facter osfamily 04:21:24 + OS_FAMILY=debian 04:21:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1250 04:21:24 + START_PACKAGES=/tmp/packages_start.txt 04:21:24 + END_PACKAGES=/tmp/packages_end.txt 04:21:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:24 + PACKAGES=/tmp/packages_start.txt 04:21:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1250 ']' 04:21:24 + PACKAGES=/tmp/packages_end.txt 04:21:24 + case "${OS_FAMILY}" in 04:21:24 + dpkg -l 04:21:24 + grep '^ii' 04:21:24 + '[' -f /tmp/packages_start.txt ']' 04:21:24 + '[' -f /tmp/packages_end.txt ']' 04:21:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1250 ']' 04:21:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/ 04:21:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/ [Pipeline] echo 04:21:24 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-1250/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:25 prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container 04:21:25 $ 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-1250/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-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:25 $ docker top 0b5baae912302f6e885d036edaa5a40ba273e46794b1052c49f26b60aab732a1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:25 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:26 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:26 + ls /var/log/sa-host 04:21:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:26 provisioning config files... 04:21:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config3910874257009210721tmp [Pipeline] { [Pipeline] echo 04:21:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:27 ---> create-netrc.sh [Pipeline] } 04:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:27 ---> python-tools-install.sh [Pipeline] echo 04:21:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:27 ---> sudo-logs.sh 04:21:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:21:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:28 ---> job-cost.sh 04:21:28 lf-activate-venv: SKIPPING 04:21:28 DEBUG: total: 0.2199999988079071 04:21:28 INFO: Retrieving Stack Cost... 04:21:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:29 INFO: Archiving Costs [Pipeline] echo 04:21:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:29 ---> logs-deploy.sh 04:21:29 lf-activate-venv: SKIPPING 04:21:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1250/1 04:21:29 INFO: archiving workspace using pattern(s): 04:21:30 Archives upload complete. 04:21:30 INFO: archiving logs to Nexus