Pull request #1241 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16eb6c3918b799f84cede1dee5d181dc48b4c272+fcdaaa65875a87632183a9ac24ebba6391eaa438 (733f6c1352cf004dc71e91ea5d76469c9586bcdd) 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-ssh14940956662380105464.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-ssh5841447296405615348.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-1241/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-1241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13098329077228906880.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-1241/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10930804846200343748.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-ssh15062101270250373974.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-1241/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-1241/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16324202375354507710.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8531 in /w/workspace/gexfoundry_device-sdk-go_PR-1241 [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-1241 # 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/1241/head:refs/remotes/origin/PR-1241 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 16eb6c3918b799f84cede1dee5d181dc48b4c272 Merge succeeded, producing 16eb6c3918b799f84cede1dee5d181dc48b4c272 Checking out Revision 16eb6c3918b799f84cede1dee5d181dc48b4c272 (PR-1241) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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] { > git config core.sparsecheckout # timeout=10 > git checkout -f 16eb6c3918b799f84cede1dee5d181dc48b4c272 # 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 fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16eb6c3918b799f84cede1dee5d181dc48b4c272 # timeout=10 [Pipeline] timeout [2022-10-19T04:05:11.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-19T04:05:11.545Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-19T04:05:11.664Z] ========================================================= [2022-10-19T04:05:11.664Z] EdgeX Global Pipelines Version Info [2022-10-19T04:05:11.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:05:12.415Z] ------------------- [2022-10-19T04:05:12.415Z] stable info: [2022-10-19T04:05:12.415Z] ------------------- [2022-10-19T04:05:12.415Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-19T04:05:12.415Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-19T04:05:12.415Z] Message: update stable to v1.0.243 [2022-10-19T04:05:13.000Z] ------------------- [2022-10-19T04:05:13.000Z] experimental info: [2022-10-19T04:05:13.000Z] ------------------- [2022-10-19T04:05:13.000Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-19T04:05:13.000Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-19T04:05:13.000Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-19T04:05:13.296Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-19T04:05:13.342Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-19T04:05:13.384Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-19T04:05:13.426Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-19T04:05:13.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-19T04:05:13.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-19T04:05:13.548Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-19T04:05:13.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-19T04:05:13.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-19T04:05:13.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-19T04:05:13.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-19T04:05:13.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-19T04:05:13.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-19T04:05:13.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-19T04:05:13.951Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-19T04:05:13.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-19T04:05:14.070Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-19T04:05:14.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-19T04:05:14.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-19T04:05:14.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-19T04:05:14.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-19T04:05:14.286Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-19T04:05:14.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-19T04:05:14.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-19T04:05:14.413Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-19T04:05:14.455Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-19T04:05:14.504Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-19T04:05:14.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1241 [Pipeline] echo [2022-10-19T04:05:14.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1241 [Pipeline] echo [2022-10-19T04:05:14.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1241 [Pipeline] echo [2022-10-19T04:05:14.666Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16eb6c3918b799f84cede1dee5d181dc48b4c272 [Pipeline] echo [2022-10-19T04:05:14.709Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16eb6c3 [Pipeline] echo [2022-10-19T04:05:14.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-19T04:05:14.875Z] provisioning config files... [2022-10-19T04:05:14.898Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/config13619165679458046783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:05:15.241Z] ---> docker-login.sh [2022-10-19T04:05:15.241Z] nexus3.edgexfoundry.org:10001 [2022-10-19T04:05:15.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:15.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:15.762Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:15.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:15.762Z] [2022-10-19T04:05:15.762Z] Login Succeeded [2022-10-19T04:05:15.762Z] nexus3.edgexfoundry.org:10002 [2022-10-19T04:05:15.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:15.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:15.762Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:15.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:15.762Z] [2022-10-19T04:05:15.762Z] Login Succeeded [2022-10-19T04:05:15.762Z] nexus3.edgexfoundry.org:10003 [2022-10-19T04:05:15.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:16.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:16.022Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:16.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:16.022Z] [2022-10-19T04:05:16.022Z] Login Succeeded [2022-10-19T04:05:16.022Z] nexus3.edgexfoundry.org:10004 [2022-10-19T04:05:16.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:16.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:16.022Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:16.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:16.022Z] [2022-10-19T04:05:16.022Z] Login Succeeded [2022-10-19T04:05:16.022Z] docker.io [2022-10-19T04:05:16.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:16.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:16.591Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:16.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:16.591Z] [2022-10-19T04:05:16.591Z] Login Succeeded [2022-10-19T04:05:16.591Z] ---> docker-login.sh ends [Pipeline] } [2022-10-19T04:05:16.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-19T04:05:17.224Z] + git rev-list -1 --merges 16eb6c3918b799f84cede1dee5d181dc48b4c272~1..16eb6c3918b799f84cede1dee5d181dc48b4c272 [Pipeline] echo [2022-10-19T04:05:17.269Z] -----------> git rev-list -1 --merges 16eb6c3918b799f84cede1dee5d181dc48b4c272~1..16eb6c3918b799f84cede1dee5d181dc48b4c272 16eb6c3918b799f84cede1dee5d181dc48b4c272 [false] [Pipeline] sh [2022-10-19T04:05:17.577Z] + git log --format=format:%s -1 16eb6c3918b799f84cede1dee5d181dc48b4c272 [Pipeline] echo [2022-10-19T04:05:17.691Z] ========================================================= [2022-10-19T04:05:17.691Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-19T04:05:17.691Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-19T04:05:18.123Z] + git log --format=format:%s -1 16eb6c3918b799f84cede1dee5d181dc48b4c272 [Pipeline] echo [2022-10-19T04:05:18.156Z] [semverPrep] GIT_COMMIT: 16eb6c3918b799f84cede1dee5d181dc48b4c272, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-19T04:05:18.186Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-19T04:05:18.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-19T04:05:18.585Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-19T04:05:18.585Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-19T04:05:18.585Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-19T04:05:18.585Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-19T04:05:18.585Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-19T04:05:18.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:05:19.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-19T04:05:19.069Z] [2022-10-19T04:05:19.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:05:19.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-19T04:05:19.457Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-19T04:05:19.457Z] b85a868b505f: Pulling fs layer [2022-10-19T04:05:19.457Z] e2be974225ed: Pulling fs layer [2022-10-19T04:05:19.457Z] 339a4e72a1f5: Pulling fs layer [2022-10-19T04:05:19.457Z] 988bab9f4d93: Pulling fs layer [2022-10-19T04:05:19.457Z] 1469e6f7b9e6: Pulling fs layer [2022-10-19T04:05:19.457Z] eaf3925da568: Pulling fs layer [2022-10-19T04:05:19.457Z] bab4dde63d76: Pulling fs layer [2022-10-19T04:05:19.457Z] bde34c3a00c8: Pulling fs layer [2022-10-19T04:05:19.457Z] b352a97aabf1: Pulling fs layer [2022-10-19T04:05:19.457Z] 4872d77fe225: Pulling fs layer [2022-10-19T04:05:19.457Z] 5851b861e8e6: Pulling fs layer [2022-10-19T04:05:19.457Z] eaf3925da568: Waiting [2022-10-19T04:05:19.457Z] b352a97aabf1: Waiting [2022-10-19T04:05:19.457Z] 4872d77fe225: Waiting [2022-10-19T04:05:19.457Z] bab4dde63d76: Waiting [2022-10-19T04:05:19.457Z] bde34c3a00c8: Waiting [2022-10-19T04:05:19.457Z] 5851b861e8e6: Waiting [2022-10-19T04:05:19.457Z] 988bab9f4d93: Waiting [2022-10-19T04:05:19.457Z] e2be974225ed: Verifying Checksum [2022-10-19T04:05:19.457Z] e2be974225ed: Download complete [2022-10-19T04:05:19.457Z] 988bab9f4d93: Verifying Checksum [2022-10-19T04:05:19.457Z] 988bab9f4d93: Download complete [2022-10-19T04:05:19.717Z] 1469e6f7b9e6: Verifying Checksum [2022-10-19T04:05:19.717Z] 1469e6f7b9e6: Download complete [2022-10-19T04:05:19.717Z] 339a4e72a1f5: Verifying Checksum [2022-10-19T04:05:19.717Z] 339a4e72a1f5: Download complete [2022-10-19T04:05:19.717Z] eaf3925da568: Verifying Checksum [2022-10-19T04:05:19.717Z] eaf3925da568: Download complete [2022-10-19T04:05:19.717Z] bde34c3a00c8: Verifying Checksum [2022-10-19T04:05:19.717Z] bde34c3a00c8: Download complete [2022-10-19T04:05:19.717Z] b352a97aabf1: Verifying Checksum [2022-10-19T04:05:19.717Z] b352a97aabf1: Download complete [2022-10-19T04:05:19.717Z] 4872d77fe225: Download complete [2022-10-19T04:05:19.717Z] 5851b861e8e6: Verifying Checksum [2022-10-19T04:05:19.717Z] 5851b861e8e6: Download complete [2022-10-19T04:05:19.717Z] b85a868b505f: Verifying Checksum [2022-10-19T04:05:19.717Z] b85a868b505f: Download complete [2022-10-19T04:05:19.976Z] bab4dde63d76: Verifying Checksum [2022-10-19T04:05:19.976Z] bab4dde63d76: Download complete [2022-10-19T04:05:20.913Z] b85a868b505f: Pull complete [2022-10-19T04:05:21.171Z] e2be974225ed: Pull complete [2022-10-19T04:05:21.738Z] 339a4e72a1f5: Pull complete [2022-10-19T04:05:21.738Z] 988bab9f4d93: Pull complete [2022-10-19T04:05:21.997Z] 1469e6f7b9e6: Pull complete [2022-10-19T04:05:22.255Z] eaf3925da568: Pull complete [2022-10-19T04:05:24.158Z] bab4dde63d76: Pull complete [2022-10-19T04:05:24.158Z] bde34c3a00c8: Pull complete [2022-10-19T04:05:24.158Z] b352a97aabf1: Pull complete [2022-10-19T04:05:24.417Z] 4872d77fe225: Pull complete [2022-10-19T04:05:24.417Z] 5851b861e8e6: Pull complete [2022-10-19T04:05:24.417Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-19T04:05:24.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-19T04:05:24.417Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:05:24.643Z] prd-ubuntu20.04-docker-8c-8g-8531 does not seem to be running inside a container [2022-10-19T04:05:24.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1241 -v /w/workspace/gexfoundry_device-sdk-go_PR-1241:/w/workspace/gexfoundry_device-sdk-go_PR-1241:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1241@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 [2022-10-19T04:05:26.203Z] $ docker top 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 -eo pid,comm [2022-10-19T04:05:26.261Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-19T04:05:26.261Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-19T04:05:26.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-19T04:05:26.386Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-19T04:05:26.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-19T04:05:26.503Z] $ docker exec 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 ssh-agent [2022-10-19T04:05:26.618Z] SSH_AUTH_SOCK=/tmp/ssh-IfERfTQ7SJet/agent.32 [2022-10-19T04:05:26.618Z] SSH_AGENT_PID=39 [2022-10-19T04:05:26.623Z] Running ssh-add (command line suppressed) [2022-10-19T04:05:26.733Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/private_key_5277409401071173531.key (/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/private_key_5277409401071173531.key) [2022-10-19T04:05:26.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-19T04:05:27.080Z] + git tag --points-at HEAD [Pipeline] } [2022-10-19T04:05:27.106Z] $ docker exec --env ******** --env ******** 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 ssh-agent -k [2022-10-19T04:05:27.210Z] unset SSH_AUTH_SOCK; [2022-10-19T04:05:27.211Z] unset SSH_AGENT_PID; [2022-10-19T04:05:27.211Z] echo Agent pid 39 killed; [2022-10-19T04:05:27.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-19T04:05:27.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-19T04:05:27.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-19T04:05:27.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-19T04:05:27.427Z] $ docker exec 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 ssh-agent [2022-10-19T04:05:27.541Z] SSH_AUTH_SOCK=/tmp/ssh-DbkYMfJiT5a7/agent.71 [2022-10-19T04:05:27.541Z] SSH_AGENT_PID=77 [2022-10-19T04:05:27.545Z] Running ssh-add (command line suppressed) [2022-10-19T04:05:27.657Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/private_key_10348856661671666709.key (/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/private_key_10348856661671666709.key) [2022-10-19T04:05:27.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-19T04:05:27.999Z] + git semver init [2022-10-19T04:05:28.259Z] 2022-10-19 04:05:28,184 [run_init] DEBUG init version:0.0.0 force:False [2022-10-19T04:05:28.259Z] 2022-10-19 04:05:28,185 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver [2022-10-19T04:05:28.259Z] 2022-10-19 04:05:28,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver [2022-10-19T04:05:28.259Z] 2022-10-19 04:05:28,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1241, universal_newlines=False, shell=None, istream=None) [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,245 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241/.git/info/exclude [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver/PR-1241 with force:False [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,246 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver/PR-1241 [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,249 [execute] INFO git cat-file --batch-check [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver, universal_newlines=False, shell=None, istream=) [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,255 [execute] INFO git cat-file --batch [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver, universal_newlines=False, shell=None, istream=) [2022-10-19T04:05:29.639Z] 2022-10-19 04:05:29,261 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1241/.semver/PR-1241 [2022-10-19T04:05:29.639Z] 0.0.0 [Pipeline] } [2022-10-19T04:05:29.666Z] $ docker exec --env ******** --env ******** 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 ssh-agent -k [2022-10-19T04:05:29.768Z] unset SSH_AUTH_SOCK; [2022-10-19T04:05:29.770Z] unset SSH_AGENT_PID; [2022-10-19T04:05:29.770Z] echo Agent pid 77 killed; [2022-10-19T04:05:29.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-19T04:05:30.200Z] + git semver [Pipeline] } [2022-10-19T04:05:30.483Z] $ docker stop --time=1 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 [2022-10-19T04:05:31.800Z] $ docker rm -f 32901f6be395dbeffec72791d8630a100c2be72b97941845596c85d3e46fac73 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-19T04:05:32.204Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-19T04:05:32.547Z] Stashed 1 file(s) [Pipeline] echo [2022-10-19T04:05:32.563Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-19T04:05:33.145Z] provisioning config files... [2022-10-19T04:05:33.155Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/config7043719571259740681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:05:33.501Z] ---> docker-login.sh [2022-10-19T04:05:33.501Z] nexus3.edgexfoundry.org:10001 [2022-10-19T04:05:33.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:33.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:33.501Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:33.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:33.501Z] [2022-10-19T04:05:33.501Z] Login Succeeded [2022-10-19T04:05:33.501Z] nexus3.edgexfoundry.org:10002 [2022-10-19T04:05:33.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:33.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:33.501Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:33.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:33.501Z] [2022-10-19T04:05:33.501Z] Login Succeeded [2022-10-19T04:05:33.501Z] nexus3.edgexfoundry.org:10003 [2022-10-19T04:05:33.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:33.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:33.761Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:33.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:33.761Z] [2022-10-19T04:05:33.761Z] Login Succeeded [2022-10-19T04:05:33.761Z] nexus3.edgexfoundry.org:10004 [2022-10-19T04:05:33.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:33.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:33.761Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:33.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:33.761Z] [2022-10-19T04:05:33.761Z] Login Succeeded [2022-10-19T04:05:33.761Z] docker.io [2022-10-19T04:05:34.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:05:34.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:05:34.279Z] Configure a credential helper to remove this warning. See [2022-10-19T04:05:34.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:05:34.279Z] [2022-10-19T04:05:34.279Z] Login Succeeded [2022-10-19T04:05:34.279Z] ---> docker-login.sh ends [Pipeline] } [2022-10-19T04:05:34.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-19T04:05:34.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-19T04:05:34.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-19T04:05:34.574Z] ========================================================= [2022-10-19T04:05:34.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-19T04:05:34.574Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:05:35.041Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-19T04:05:35.041Z] Sending build context to Docker daemon 10.02MB [2022-10-19T04:05:35.041Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-19T04:05:35.041Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-19T04:05:35.041Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-19T04:05:35.041Z] 213ec9aee27d: Pulling fs layer [2022-10-19T04:05:35.041Z] 4583459ba037: Pulling fs layer [2022-10-19T04:05:35.041Z] 93c1e223e6f2: Pulling fs layer [2022-10-19T04:05:35.041Z] 53926ce57604: Pulling fs layer [2022-10-19T04:05:35.041Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-19T04:05:35.041Z] 30f14e443154: Pulling fs layer [2022-10-19T04:05:35.041Z] 801331c1e519: Pulling fs layer [2022-10-19T04:05:35.041Z] 99cc6dd402b0: Pulling fs layer [2022-10-19T04:05:35.041Z] 7d9ed39f4882: Pulling fs layer [2022-10-19T04:05:35.041Z] 53926ce57604: Waiting [2022-10-19T04:05:35.041Z] 99cc6dd402b0: Waiting [2022-10-19T04:05:35.041Z] 7d9ed39f4882: Waiting [2022-10-19T04:05:35.041Z] 30f14e443154: Waiting [2022-10-19T04:05:35.041Z] 801331c1e519: Waiting [2022-10-19T04:05:35.041Z] 21b2b0c7a3f4: Waiting [2022-10-19T04:05:35.301Z] 93c1e223e6f2: Verifying Checksum [2022-10-19T04:05:35.301Z] 93c1e223e6f2: Download complete [2022-10-19T04:05:35.301Z] 4583459ba037: Download complete [2022-10-19T04:05:35.301Z] 21b2b0c7a3f4: Download complete [2022-10-19T04:05:35.301Z] 30f14e443154: Verifying Checksum [2022-10-19T04:05:35.301Z] 30f14e443154: Download complete [2022-10-19T04:05:35.301Z] 213ec9aee27d: Verifying Checksum [2022-10-19T04:05:35.301Z] 213ec9aee27d: Download complete [2022-10-19T04:05:35.301Z] 801331c1e519: Download complete [2022-10-19T04:05:35.301Z] 213ec9aee27d: Pull complete [2022-10-19T04:05:35.569Z] 4583459ba037: Pull complete [2022-10-19T04:05:35.569Z] 93c1e223e6f2: Pull complete [2022-10-19T04:05:35.832Z] 7d9ed39f4882: Verifying Checksum [2022-10-19T04:05:35.832Z] 7d9ed39f4882: Download complete [2022-10-19T04:05:35.832Z] 99cc6dd402b0: Verifying Checksum [2022-10-19T04:05:35.832Z] 99cc6dd402b0: Download complete [2022-10-19T04:05:36.090Z] 53926ce57604: Verifying Checksum [2022-10-19T04:05:36.090Z] 53926ce57604: Download complete [2022-10-19T04:05:40.284Z] 53926ce57604: Pull complete [2022-10-19T04:05:40.284Z] 21b2b0c7a3f4: Pull complete [2022-10-19T04:05:40.284Z] 30f14e443154: Pull complete [2022-10-19T04:05:40.284Z] 801331c1e519: Pull complete [2022-10-19T04:05:42.813Z] 99cc6dd402b0: Pull complete [2022-10-19T04:05:43.072Z] 7d9ed39f4882: Pull complete [2022-10-19T04:05:43.072Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-19T04:05:43.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-19T04:05:43.072Z] ---> 1dedd983c030 [2022-10-19T04:05:43.072Z] Step 3/11 : ARG MAKE=make build [2022-10-19T04:05:44.977Z] ---> Running in 016ced12e979 [2022-10-19T04:05:45.242Z] Removing intermediate container 016ced12e979 [2022-10-19T04:05:45.242Z] ---> 9b3e3a7fbf57 [2022-10-19T04:05:45.242Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-19T04:05:45.242Z] ---> Running in 0d317dc51c2a [2022-10-19T04:05:45.242Z] Removing intermediate container 0d317dc51c2a [2022-10-19T04:05:45.242Z] ---> 24e1ab323fdf [2022-10-19T04:05:45.242Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:05:45.502Z] ---> Running in d2fd2c0f2535 [2022-10-19T04:05:45.502Z] Removing intermediate container d2fd2c0f2535 [2022-10-19T04:05:45.502Z] ---> 6950dee9db2c [2022-10-19T04:05:45.502Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:05:45.502Z] ---> Running in 833ef8f50640 [2022-10-19T04:05:46.442Z] Removing intermediate container 833ef8f50640 [2022-10-19T04:05:46.442Z] ---> 95cc75e55030 [2022-10-19T04:05:46.442Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-19T04:05:46.442Z] ---> Running in e50b580b3a4f [2022-10-19T04:05:46.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-19T04:05:47.639Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-19T04:05:47.900Z] OK: 211 MiB in 51 packages [2022-10-19T04:05:47.968Z] Still waiting to schedule task [2022-10-19T04:05:47.968Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-19T04:05:48.468Z] Removing intermediate container e50b580b3a4f [2022-10-19T04:05:48.468Z] ---> dc48a5a96e1c [2022-10-19T04:05:48.468Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-19T04:05:48.468Z] ---> bd46f3e46987 [2022-10-19T04:05:48.468Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-19T04:05:48.468Z] ---> Running in cb5a4f773ac9 [2022-10-19T04:06:10.406Z] Removing intermediate container cb5a4f773ac9 [2022-10-19T04:06:10.406Z] ---> c61f7e953c53 [2022-10-19T04:06:10.406Z] Step 10/11 : COPY . . [2022-10-19T04:06:10.406Z] ---> 5794b9d8bea0 [2022-10-19T04:06:10.406Z] Step 11/11 : RUN ${MAKE} [2022-10-19T04:06:10.406Z] ---> Running in f6301991ff6b [2022-10-19T04:06:10.406Z] noop [2022-10-19T04:06:10.406Z] Removing intermediate container f6301991ff6b [2022-10-19T04:06:10.406Z] ---> cea0a141b700 [2022-10-19T04:06:10.406Z] Successfully built cea0a141b700 [2022-10-19T04:06:10.406Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:06:10.842Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-19T04:06:10.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:06:11.001Z] prd-ubuntu20.04-docker-8c-8g-8531 does not seem to be running inside a container [2022-10-19T04:06:11.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1241 -v /w/workspace/gexfoundry_device-sdk-go_PR-1241:/w/workspace/gexfoundry_device-sdk-go_PR-1241:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1241@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 [2022-10-19T04:06:11.446Z] $ docker top 912376caa849b5f788579cc107b5c13ee1edb9d9b5ba4449c506e8f6ce1b0c20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-19T04:06:11.826Z] + go version [2022-10-19T04:06:11.826Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-19T04:06:12.567Z] $ docker stop --time=1 912376caa849b5f788579cc107b5c13ee1edb9d9b5ba4449c506e8f6ce1b0c20 [2022-10-19T04:06:13.914Z] $ docker rm -f 912376caa849b5f788579cc107b5c13ee1edb9d9b5ba4449c506e8f6ce1b0c20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:06:14.596Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-19T04:06:14.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:06:14.746Z] prd-ubuntu20.04-docker-8c-8g-8531 does not seem to be running inside a container [2022-10-19T04:06:14.774Z] $ 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-1241 -v /w/workspace/gexfoundry_device-sdk-go_PR-1241:/w/workspace/gexfoundry_device-sdk-go_PR-1241:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1241@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 [2022-10-19T04:06:15.161Z] $ docker top c533fba6231ec21656adc41b69bb2b42c3507a231e51681b52ebb77d301e7154 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-19T04:06:15.564Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1241 [Pipeline] fileExists [Pipeline] sh [2022-10-19T04:06:15.924Z] + make test [2022-10-19T04:06:15.924Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-19T04:06:22.494Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.088s coverage: 60.0% of statements [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-19T04:06:37.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.794s coverage: 89.2% of statements [2022-10-19T04:06:37.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-19T04:06:37.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-10-19T04:06:37.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-19T04:06:55.747Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-19T04:06:55.747Z] GO111MODULE=on go vet ./... [2022-10-19T04:06:56.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-19T04:06:56.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-19T04:06:56.683Z] ./bin/test-attribution-txt.sh [2022-10-19T04:06:56.683Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-19T04:06:56.683Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-19T04:06:56.683Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-19T04:06:56.683Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-19T04:06:56.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-19T04:06:56.754Z] $ docker stop --time=1 c533fba6231ec21656adc41b69bb2b42c3507a231e51681b52ebb77d301e7154 [2022-10-19T04:06:58.787Z] $ docker rm -f c533fba6231ec21656adc41b69bb2b42c3507a231e51681b52ebb77d301e7154 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-19T04:06:59.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-19T04:06:59.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-19T04:07:00.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-19T04:07:00.491Z] + ls -al . [2022-10-19T04:07:00.491Z] total 276 [2022-10-19T04:07:00.491Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 19 04:06 . [2022-10-19T04:07:00.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 04:05 .. [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 04:05 .dockerignore [2022-10-19T04:07:00.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 04:06 .git [2022-10-19T04:07:00.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 04:05 .github [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 19 04:05 .gitignore [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 19 04:05 .golangci.yml [2022-10-19T04:07:00.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 04:05 .semver [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 19 04:05 CHANGELOG.md [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 04:05 GOVERNANCE.md [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 19 04:05 Jenkinsfile [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 04:05 LICENSE [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 19 04:05 Makefile [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 19 04:05 OWNERS.md [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 19 04:05 README.md [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 04:05 VERSION [2022-10-19T04:07:00.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 04:05 bin [2022-10-19T04:07:00.491Z] -rw-r--r-- 1 jenkins jenkins 101010 Oct 19 04:06 coverage.out [2022-10-19T04:07:00.491Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 04:05 example [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 19 04:05 go.mod [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 19 04:05 go.sum [2022-10-19T04:07:00.491Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 19 04:05 internal [2022-10-19T04:07:00.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 04:05 openapi [2022-10-19T04:07:00.491Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 19 04:05 pkg [2022-10-19T04:07:00.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 04:05 snap [2022-10-19T04:07:00.491Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:07:00.909Z] + 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=16eb6c3918b799f84cede1dee5d181dc48b4c272 --label arch=amd64 --label version=0.0.0 . [2022-10-19T04:07:00.909Z] Sending build context to Docker daemon 10.12MB [2022-10-19T04:07:00.909Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-19T04:07:00.909Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-19T04:07:00.909Z] ---> cea0a141b700 [2022-10-19T04:07:00.909Z] Step 3/25 : ARG MAKE=make build [2022-10-19T04:07:01.169Z] ---> Running in b0f115b646e2 [2022-10-19T04:07:01.169Z] Removing intermediate container b0f115b646e2 [2022-10-19T04:07:01.169Z] ---> 3778390661be [2022-10-19T04:07:01.169Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-19T04:07:01.169Z] ---> Running in c02cbc59912e [2022-10-19T04:07:01.428Z] Removing intermediate container c02cbc59912e [2022-10-19T04:07:01.428Z] ---> ab5b7dd57499 [2022-10-19T04:07:01.428Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:07:01.428Z] ---> Running in c1aa5022ded9 [2022-10-19T04:07:01.428Z] Removing intermediate container c1aa5022ded9 [2022-10-19T04:07:01.428Z] ---> 70300fbb8f55 [2022-10-19T04:07:01.428Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:07:01.428Z] ---> Running in a32ce53888a3 [2022-10-19T04:07:01.998Z] Removing intermediate container a32ce53888a3 [2022-10-19T04:07:01.998Z] ---> cb9eeb95d4f4 [2022-10-19T04:07:01.998Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-19T04:07:01.998Z] ---> Running in bd0f31d51d39 [2022-10-19T04:07:02.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-19T04:07:03.135Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-19T04:07:03.702Z] OK: 211 MiB in 51 packages [2022-10-19T04:07:03.970Z] Removing intermediate container bd0f31d51d39 [2022-10-19T04:07:03.970Z] ---> f5f4b4494796 [2022-10-19T04:07:03.970Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-19T04:07:04.231Z] ---> 7bc6fa597109 [2022-10-19T04:07:04.231Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-19T04:07:04.231Z] ---> Running in f856e8d6a0e4 [2022-10-19T04:07:04.803Z] Removing intermediate container f856e8d6a0e4 [2022-10-19T04:07:04.803Z] ---> a2a5421fe4b1 [2022-10-19T04:07:04.803Z] Step 10/25 : COPY . . [2022-10-19T04:07:05.371Z] ---> 384a7bf73572 [2022-10-19T04:07:05.371Z] Step 11/25 : RUN ${MAKE} [2022-10-19T04:07:05.371Z] ---> Running in 23adfbba065e [2022-10-19T04:07:05.629Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-19T04:07:16.501Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8533 in /w/workspace/gexfoundry_device-sdk-go_PR-1241 [Pipeline] { [Pipeline] ws [2022-10-19T04:07:16.543Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-19T04:07:16.626Z] The recommended git tool is: git [2022-10-19T04:07:21.419Z] using credential edgex-jenkins-ssh [2022-10-19T04:07:21.437Z] Cloning the remote Git repository [2022-10-19T04:07:21.478Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-19T04:07:21.562Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-19T04:07:21.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-19T04:07:21.702Z] > git --version # timeout=10 [2022-10-19T04:07:21.724Z] > git --version # 'git version 2.25.1' [2022-10-19T04:07:21.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-19T04:07:21.778Z] Verifying host key using known hosts file [2022-10-19T04:07:21.967Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-19T04:07:21.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-19T04:07:23.707Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-19T04:07:23.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-19T04:07:23.514Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-19T04:07:24.376Z] Removing intermediate container 23adfbba065e [2022-10-19T04:07:24.376Z] ---> 657caadecd2e [2022-10-19T04:07:24.376Z] Step 12/25 : FROM alpine:3.16 [2022-10-19T04:07:24.943Z] 3.16: Pulling from library/alpine [2022-10-19T04:07:24.943Z] 213ec9aee27d: Already exists [2022-10-19T04:07:24.978Z] Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 16eb6c3918b799f84cede1dee5d181dc48b4c272 [2022-10-19T04:07:25.201Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-19T04:07:25.201Z] Status: Downloaded newer image for alpine:3.16 [2022-10-19T04:07:25.201Z] ---> 9c6f07244728 [2022-10-19T04:07:25.201Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:07:25.201Z] ---> Running in d05452f79dbf [2022-10-19T04:07:25.207Z] Merge succeeded, producing 16eb6c3918b799f84cede1dee5d181dc48b4c272 [2022-10-19T04:07:25.208Z] Checking out Revision 16eb6c3918b799f84cede1dee5d181dc48b4c272 (PR-1241) [2022-10-19T04:07:25.459Z] Removing intermediate container d05452f79dbf [2022-10-19T04:07:25.459Z] ---> 0ca58fcda20d [2022-10-19T04:07:25.459Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:07:25.459Z] ---> Running in c03180cdcd74 [2022-10-19T04:07:24.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-19T04:07:24.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-19T04:07:24.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-19T04:07:24.392Z] Verifying host key using known hosts file [2022-10-19T04:07:24.399Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-19T04:07:24.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1241/head:refs/remotes/origin/PR-1241 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-19T04:07:24.998Z] > git config core.sparsecheckout # timeout=10 [2022-10-19T04:07:25.014Z] > git checkout -f 16eb6c3918b799f84cede1dee5d181dc48b4c272 # timeout=10 [2022-10-19T04:07:25.114Z] > git remote # timeout=10 [2022-10-19T04:07:25.131Z] > git config --get remote.origin.url # timeout=10 [2022-10-19T04:07:25.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-19T04:07:25.155Z] Verifying host key using known hosts file [2022-10-19T04:07:25.159Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-19T04:07:25.168Z] > git merge fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 [2022-10-19T04:07:25.193Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-19T04:07:25.215Z] > git config core.sparsecheckout # timeout=10 [2022-10-19T04:07:25.229Z] > git checkout -f 16eb6c3918b799f84cede1dee5d181dc48b4c272 # timeout=10 [2022-10-19T04:07:25.744Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-10-19T04:07:25.795Z] > git --version # timeout=10 [2022-10-19T04:07:25.811Z] > git --version # 'git version 2.25.1' [2022-10-19T04:07:25.842Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-19T04:07:26.025Z] Removing intermediate container c03180cdcd74 [2022-10-19T04:07:26.025Z] ---> f188be4ab1d3 [2022-10-19T04:07:26.025Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-19T04:07:26.025Z] ---> Running in 7c1b7297a23d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-10-19T04:07:26.283Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-19T04:07:26.874Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-19T04:07:26.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-19T04:07:26.874Z] Dload Upload Total Spent Left Speed [2022-10-19T04:07:26.874Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [2022-10-19T04:07:27.218Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-10-19T04:07:27.475Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-19T04:07:27.475Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-19T04:07:27.650Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-19T04:07:27.734Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-19T04:07:27.734Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-19T04:07:27.734Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-19T04:07:27.992Z] Executing busybox-1.35.0-r17.trigger [2022-10-19T04:07:27.992Z] OK: 8 MiB in 19 packages [2022-10-19T04:07:27.992Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-19T04:07:27.992Z] + sudo tee /etc/docker/daemon.new [2022-10-19T04:07:27.992Z] { [2022-10-19T04:07:27.992Z] "registry-mirrors": [ [2022-10-19T04:07:27.992Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-19T04:07:27.992Z] ], [2022-10-19T04:07:27.992Z] "bip": "10.250.0.254/24", [2022-10-19T04:07:27.992Z] "hosts": [ [2022-10-19T04:07:27.992Z] "tcp://0.0.0.0:5555", [2022-10-19T04:07:27.992Z] "unix:///var/run/docker.sock" [2022-10-19T04:07:27.992Z] ], [2022-10-19T04:07:27.992Z] "mtu": 1458, [2022-10-19T04:07:27.992Z] "selinux-enabled": true, [2022-10-19T04:07:27.992Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-19T04:07:27.992Z] } [Pipeline] sh [2022-10-19T04:07:28.250Z] Removing intermediate container 7c1b7297a23d [2022-10-19T04:07:28.250Z] ---> bf4a01d135af [2022-10-19T04:07:28.250Z] Step 16/25 : WORKDIR / [2022-10-19T04:07:28.349Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-19T04:07:28.509Z] ---> Running in 19dcc89d227d [2022-10-19T04:07:28.509Z] Removing intermediate container 19dcc89d227d [2022-10-19T04:07:28.509Z] ---> 25c3097d956a [2022-10-19T04:07:28.509Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-19T04:07:28.707Z] + sudo service docker restart [2022-10-19T04:07:28.767Z] ---> 5397c7ce2e16 [2022-10-19T04:07:28.767Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-19T04:07:29.337Z] ---> 85f989232616 [2022-10-19T04:07:29.337Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-19T04:07:29.596Z] ---> ddc78dbffcf4 [2022-10-19T04:07:29.596Z] Step 20/25 : EXPOSE 59999 [2022-10-19T04:07:29.596Z] ---> Running in 2bf408c955b9 [2022-10-19T04:07:29.596Z] Removing intermediate container 2bf408c955b9 [2022-10-19T04:07:29.596Z] ---> 0b56f28368ff [2022-10-19T04:07:29.596Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-19T04:07:29.596Z] ---> Running in 1c41c1f8160d [2022-10-19T04:07:29.854Z] Removing intermediate container 1c41c1f8160d [2022-10-19T04:07:29.854Z] ---> 149fa6073807 [2022-10-19T04:07:29.854Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-19T04:07:29.854Z] ---> Running in ae58b04f1fbe [2022-10-19T04:07:29.854Z] Removing intermediate container ae58b04f1fbe [2022-10-19T04:07:29.854Z] ---> bd339290d986 [2022-10-19T04:07:29.854Z] Step 23/25 : LABEL arch=amd64 [2022-10-19T04:07:30.113Z] ---> Running in 46425ee2bb25 [2022-10-19T04:07:30.113Z] Removing intermediate container 46425ee2bb25 [2022-10-19T04:07:30.113Z] ---> a643a1c331cd [2022-10-19T04:07:30.113Z] Step 24/25 : LABEL git_sha=16eb6c3918b799f84cede1dee5d181dc48b4c272 [2022-10-19T04:07:30.113Z] ---> Running in 0c078815d967 [2022-10-19T04:07:30.113Z] Removing intermediate container 0c078815d967 [2022-10-19T04:07:30.113Z] ---> 20bdced535a5 [2022-10-19T04:07:30.113Z] Step 25/25 : LABEL version=0.0.0 [2022-10-19T04:07:30.375Z] ---> Running in ddc05076814d [2022-10-19T04:07:30.375Z] Removing intermediate container ddc05076814d [2022-10-19T04:07:30.375Z] ---> e21e24538c48 [2022-10-19T04:07:30.375Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-19T04:07:30.375Z] Successfully built e21e24538c48 [2022-10-19T04:07:30.375Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:07:31.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-19T04:07:31.232Z] [2022-10-19T04:07:31.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:07:31.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-19T04:07:31.621Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-19T04:07:31.621Z] 5eb5b503b376: Pulling fs layer [2022-10-19T04:07:31.621Z] 5c69ac0246d0: Pulling fs layer [2022-10-19T04:07:31.621Z] ec43610c2a17: Pulling fs layer [2022-10-19T04:07:31.621Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-19T04:07:31.621Z] 33b1e0a273af: Pulling fs layer [2022-10-19T04:07:31.621Z] 5d3b04190fa2: Pulling fs layer [2022-10-19T04:07:31.621Z] 2f39f015ded8: Pulling fs layer [2022-10-19T04:07:31.621Z] 33b1e0a273af: Waiting [2022-10-19T04:07:31.621Z] 3a2ae6a8a46f: Waiting [2022-10-19T04:07:31.621Z] 5d3b04190fa2: Waiting [2022-10-19T04:07:31.621Z] 2f39f015ded8: Waiting [2022-10-19T04:07:31.621Z] 5c69ac0246d0: Download complete [2022-10-19T04:07:31.621Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-19T04:07:31.621Z] 3a2ae6a8a46f: Download complete [2022-10-19T04:07:31.621Z] 33b1e0a273af: Verifying Checksum [2022-10-19T04:07:31.621Z] 33b1e0a273af: Download complete [2022-10-19T04:07:31.882Z] ec43610c2a17: Verifying Checksum [2022-10-19T04:07:31.882Z] ec43610c2a17: Download complete [2022-10-19T04:07:31.882Z] 5d3b04190fa2: Verifying Checksum [2022-10-19T04:07:31.882Z] 5d3b04190fa2: Download complete [2022-10-19T04:07:31.882Z] 5eb5b503b376: Verifying Checksum [2022-10-19T04:07:31.882Z] 5eb5b503b376: Download complete [2022-10-19T04:07:32.448Z] 2f39f015ded8: Verifying Checksum [2022-10-19T04:07:32.448Z] 2f39f015ded8: Download complete [2022-10-19T04:07:33.012Z] 5eb5b503b376: Pull complete [2022-10-19T04:07:33.270Z] 5c69ac0246d0: Pull complete [2022-10-19T04:07:33.529Z] ec43610c2a17: Pull complete [2022-10-19T04:07:33.787Z] 3a2ae6a8a46f: Pull complete [2022-10-19T04:07:33.787Z] 33b1e0a273af: Pull complete [2022-10-19T04:07:34.044Z] 5d3b04190fa2: Pull complete [2022-10-19T04:07:38.233Z] 2f39f015ded8: Pull complete [2022-10-19T04:07:38.233Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-19T04:07:38.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-19T04:07:38.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:07:38.461Z] prd-ubuntu20.04-docker-8c-8g-8531 does not seem to be running inside a container [2022-10-19T04:07:38.495Z] $ 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-1241 -v /w/workspace/gexfoundry_device-sdk-go_PR-1241:/w/workspace/gexfoundry_device-sdk-go_PR-1241:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1241@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 [2022-10-19T04:07:40.800Z] $ docker top ec1bd15bde1700b8f228f5437409cc62546d80b806ba482251740dc8acc893b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:07:41.256Z] ---> job-cost.sh [2022-10-19T04:07:41.256Z] lf-activate-venv: SKIPPING [2022-10-19T04:07:41.256Z] INFO: No Stack... [2022-10-19T04:07:41.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-19T04:07:42.085Z] INFO: Archiving Costs [Pipeline] sh [2022-10-19T04:07:42.403Z] + cut -d, -f6 [2022-10-19T04:07:42.403Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives/cost.csv [Pipeline] lock [2022-10-19T04:07:42.445Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [2022-10-19T04:07:42.450Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] did not exist. Created. [2022-10-19T04:07:42.450Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-19T04:07:42.841Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-19T04:07:42.897Z] Stashed 1 file(s) [Pipeline] } [2022-10-19T04:07:42.920Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-19T04:07:43.005Z] $ docker stop --time=1 ec1bd15bde1700b8f228f5437409cc62546d80b806ba482251740dc8acc893b3 [2022-10-19T04:07:44.179Z] $ docker rm -f ec1bd15bde1700b8f228f5437409cc62546d80b806ba482251740dc8acc893b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-19T04:07:47.036Z] provisioning config files... [2022-10-19T04:07:47.063Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16504631005782398237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:07:47.458Z] ---> docker-login.sh [2022-10-19T04:07:47.458Z] nexus3.edgexfoundry.org:10001 [2022-10-19T04:07:47.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:07:47.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:07:47.996Z] Configure a credential helper to remove this warning. See [2022-10-19T04:07:47.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:07:47.996Z] [2022-10-19T04:07:47.996Z] Login Succeeded [2022-10-19T04:07:48.265Z] nexus3.edgexfoundry.org:10002 [2022-10-19T04:07:48.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:07:48.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:07:48.535Z] Configure a credential helper to remove this warning. See [2022-10-19T04:07:48.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:07:48.535Z] [2022-10-19T04:07:48.535Z] Login Succeeded [2022-10-19T04:07:48.535Z] nexus3.edgexfoundry.org:10003 [2022-10-19T04:07:48.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:07:48.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:07:48.805Z] Configure a credential helper to remove this warning. See [2022-10-19T04:07:48.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:07:48.805Z] [2022-10-19T04:07:48.805Z] Login Succeeded [2022-10-19T04:07:48.805Z] nexus3.edgexfoundry.org:10004 [2022-10-19T04:07:49.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:07:49.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:07:49.077Z] Configure a credential helper to remove this warning. See [2022-10-19T04:07:49.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:07:49.077Z] [2022-10-19T04:07:49.077Z] Login Succeeded [2022-10-19T04:07:49.077Z] docker.io [2022-10-19T04:07:49.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-19T04:07:49.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-19T04:07:49.929Z] Configure a credential helper to remove this warning. See [2022-10-19T04:07:49.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-19T04:07:49.929Z] [2022-10-19T04:07:49.929Z] Login Succeeded [2022-10-19T04:07:49.929Z] ---> docker-login.sh ends [Pipeline] } [2022-10-19T04:07:49.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-19T04:07:50.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-19T04:07:50.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-19T04:07:50.301Z] ========================================================= [2022-10-19T04:07:50.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-19T04:07:50.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:07:50.801Z] + 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 . [2022-10-19T04:07:51.069Z] Sending build context to Docker daemon 5.38MB [2022-10-19T04:07:51.069Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-19T04:07:51.069Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-19T04:07:51.342Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-19T04:07:51.342Z] 9b18e9b68314: Pulling fs layer [2022-10-19T04:07:51.342Z] d32db5db7311: Pulling fs layer [2022-10-19T04:07:51.342Z] d0c4b47475fc: Pulling fs layer [2022-10-19T04:07:51.342Z] 5831b945b038: Pulling fs layer [2022-10-19T04:07:51.342Z] 86bbec2aaacd: Pulling fs layer [2022-10-19T04:07:51.342Z] e10730c5d714: Pulling fs layer [2022-10-19T04:07:51.342Z] 5dd5c2283517: Pulling fs layer [2022-10-19T04:07:51.342Z] d5ac0230b979: Pulling fs layer [2022-10-19T04:07:51.342Z] e10730c5d714: Waiting [2022-10-19T04:07:51.342Z] 5dd5c2283517: Waiting [2022-10-19T04:07:51.342Z] d5ac0230b979: Waiting [2022-10-19T04:07:51.342Z] 5831b945b038: Waiting [2022-10-19T04:07:51.342Z] 86bbec2aaacd: Waiting [2022-10-19T04:07:51.342Z] d0c4b47475fc: Verifying Checksum [2022-10-19T04:07:51.342Z] d0c4b47475fc: Download complete [2022-10-19T04:07:51.342Z] d32db5db7311: Verifying Checksum [2022-10-19T04:07:51.342Z] d32db5db7311: Download complete [2022-10-19T04:07:51.342Z] 86bbec2aaacd: Verifying Checksum [2022-10-19T04:07:51.342Z] 86bbec2aaacd: Download complete [2022-10-19T04:07:51.342Z] e10730c5d714: Verifying Checksum [2022-10-19T04:07:51.342Z] e10730c5d714: Download complete [2022-10-19T04:07:51.342Z] 9b18e9b68314: Verifying Checksum [2022-10-19T04:07:51.342Z] 9b18e9b68314: Download complete [2022-10-19T04:07:52.814Z] 9b18e9b68314: Pull complete [2022-10-19T04:07:52.814Z] d5ac0230b979: Verifying Checksum [2022-10-19T04:07:52.814Z] d5ac0230b979: Download complete [2022-10-19T04:07:53.208Z] d32db5db7311: Pull complete [2022-10-19T04:07:53.494Z] d0c4b47475fc: Pull complete [2022-10-19T04:07:54.108Z] 5dd5c2283517: Verifying Checksum [2022-10-19T04:07:54.108Z] 5dd5c2283517: Download complete [2022-10-19T04:07:54.707Z] 5831b945b038: Verifying Checksum [2022-10-19T04:07:54.707Z] 5831b945b038: Download complete [2022-10-19T04:08:07.032Z] 5831b945b038: Pull complete [2022-10-19T04:08:07.032Z] 86bbec2aaacd: Pull complete [2022-10-19T04:08:07.032Z] e10730c5d714: Pull complete [2022-10-19T04:08:13.712Z] 5dd5c2283517: Pull complete [2022-10-19T04:08:15.129Z] d5ac0230b979: Pull complete [2022-10-19T04:08:15.129Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-19T04:08:15.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-19T04:08:15.129Z] ---> 59b3b1a385d4 [2022-10-19T04:08:15.129Z] Step 3/11 : ARG MAKE=make build [2022-10-19T04:08:15.720Z] ---> Running in ab676f6084fe [2022-10-19T04:08:15.989Z] Removing intermediate container ab676f6084fe [2022-10-19T04:08:15.989Z] ---> 27726dc8f112 [2022-10-19T04:08:15.989Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-19T04:08:15.989Z] ---> Running in 4f2af6e16774 [2022-10-19T04:08:16.258Z] Removing intermediate container 4f2af6e16774 [2022-10-19T04:08:16.258Z] ---> 7f7f2bf53e3a [2022-10-19T04:08:16.258Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:08:16.258Z] ---> Running in 650e96a1c422 [2022-10-19T04:08:16.842Z] Removing intermediate container 650e96a1c422 [2022-10-19T04:08:16.842Z] ---> 27d991a80eb3 [2022-10-19T04:08:16.842Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:08:16.842Z] ---> Running in 7c3978b696b8 [2022-10-19T04:08:18.794Z] Removing intermediate container 7c3978b696b8 [2022-10-19T04:08:18.794Z] ---> 69ddf1a67845 [2022-10-19T04:08:18.794Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-19T04:08:18.794Z] ---> Running in 9e463b8d2b6d [2022-10-19T04:08:19.380Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-19T04:08:20.340Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-19T04:08:21.303Z] OK: 221 MiB in 51 packages [2022-10-19T04:08:22.268Z] Removing intermediate container 9e463b8d2b6d [2022-10-19T04:08:22.268Z] ---> 9220f5a3ea0f [2022-10-19T04:08:22.268Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-19T04:08:22.535Z] ---> ff817c0e73ca [2022-10-19T04:08:22.535Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-19T04:08:22.807Z] ---> Running in d217358b2b2b [2022-10-19T04:09:09.677Z] Removing intermediate container d217358b2b2b [2022-10-19T04:09:09.677Z] ---> 7c050b7745af [2022-10-19T04:09:09.677Z] Step 10/11 : COPY . . [2022-10-19T04:09:09.677Z] ---> f6e699746975 [2022-10-19T04:09:09.677Z] Step 11/11 : RUN ${MAKE} [2022-10-19T04:09:09.677Z] ---> Running in ed4585fd6047 [2022-10-19T04:09:10.643Z] noop [2022-10-19T04:09:11.226Z] Removing intermediate container ed4585fd6047 [2022-10-19T04:09:11.226Z] ---> 684364fafd92 [2022-10-19T04:09:11.226Z] Successfully built 684364fafd92 [2022-10-19T04:09:11.226Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:09:11.704Z] + docker inspect -f . ci-base-image-arm64 [2022-10-19T04:09:11.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:09:11.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-8533 does not seem to be running inside a container [2022-10-19T04:09:12.025Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-19T04:09:13.244Z] $ docker top e55b499754423759e7a92a7074517827159b4ad18672e68a80a3e2e23687d774 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-19T04:09:14.125Z] + go version [2022-10-19T04:09:14.125Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-19T04:09:14.160Z] $ docker stop --time=1 e55b499754423759e7a92a7074517827159b4ad18672e68a80a3e2e23687d774 [2022-10-19T04:09:15.813Z] $ docker rm -f e55b499754423759e7a92a7074517827159b4ad18672e68a80a3e2e23687d774 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:09:16.756Z] + docker inspect -f . ci-base-image-arm64 [2022-10-19T04:09:16.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:09:17.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-8533 does not seem to be running inside a container [2022-10-19T04:09:17.089Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-19T04:09:18.268Z] $ docker top d33168810ce46a8d317ed37e9ac70aba18b2408f21790d2cbd8a8e508cda9343 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-19T04:09:19.141Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-19T04:09:19.845Z] + make test [2022-10-19T04:09:19.845Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-19T04:09:52.075Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-19T04:11:43.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-19T04:11:43.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-19T04:11:43.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-19T04:11:43.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-19T04:11:43.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-19T04:11:49.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.382s coverage: 27.6% of statements [2022-10-19T04:11:51.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.575s coverage: 78.9% of statements [2022-10-19T04:11:51.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-19T04:11:51.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.496s coverage: 60.0% of statements [2022-10-19T04:11:51.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-19T04:11:51.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-19T04:12:01.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.880s coverage: 54.4% of statements [2022-10-19T04:12:01.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-19T04:12:01.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-19T04:12:01.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-19T04:12:01.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-19T04:12:02.176Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.531s coverage: 65.1% of statements [2022-10-19T04:12:02.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-19T04:12:02.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-19T04:12:02.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.006s coverage: 89.2% of statements [2022-10-19T04:12:02.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-19T04:12:04.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.258s coverage: 4.7% of statements [2022-10-19T04:12:04.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-19T04:12:05.295Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-19T04:12:05.295Z] GO111MODULE=on go vet ./... [2022-10-19T04:13:56.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-19T04:13:56.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-19T04:13:56.993Z] ./bin/test-attribution-txt.sh [2022-10-19T04:13:56.993Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-19T04:13:56.993Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-19T04:13:56.993Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-19T04:13:56.993Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-19T04:13:57.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-19T04:13:57.058Z] $ docker stop --time=1 d33168810ce46a8d317ed37e9ac70aba18b2408f21790d2cbd8a8e508cda9343 [2022-10-19T04:13:58.776Z] $ docker rm -f d33168810ce46a8d317ed37e9ac70aba18b2408f21790d2cbd8a8e508cda9343 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-19T04:14:00.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-19T04:14:00.226Z] Warning: overwriting stash ‘coverage-report’ [2022-10-19T04:14:00.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-19T04:14:01.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-19T04:14:01.681Z] + ls -al . [2022-10-19T04:14:01.681Z] total 272 [2022-10-19T04:14:01.681Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 04:09 . [2022-10-19T04:14:01.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 04:07 .. [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 04:07 .dockerignore [2022-10-19T04:14:01.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 04:07 .git [2022-10-19T04:14:01.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 04:07 .github [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 19 04:07 .gitignore [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 19 04:07 .golangci.yml [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 19 04:07 CHANGELOG.md [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 04:07 GOVERNANCE.md [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 19 04:07 Jenkinsfile [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 04:07 LICENSE [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 19 04:07 Makefile [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 19 04:07 OWNERS.md [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 19 04:07 README.md [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 04:05 VERSION [2022-10-19T04:14:01.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 04:07 bin [2022-10-19T04:14:01.682Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 19 04:12 coverage.out [2022-10-19T04:14:01.682Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 04:07 example [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 19 04:07 go.mod [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 19 04:07 go.sum [2022-10-19T04:14:01.682Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 19 04:07 internal [2022-10-19T04:14:01.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 04:07 openapi [2022-10-19T04:14:01.682Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 19 04:07 pkg [2022-10-19T04:14:01.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 04:07 snap [2022-10-19T04:14:01.682Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:14:02.091Z] + 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=16eb6c3918b799f84cede1dee5d181dc48b4c272 --label arch=arm64 --label version=0.0.0 . [2022-10-19T04:14:02.366Z] Sending build context to Docker daemon 5.482MB [2022-10-19T04:14:02.366Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-19T04:14:02.366Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-19T04:14:02.366Z] ---> 684364fafd92 [2022-10-19T04:14:02.366Z] Step 3/25 : ARG MAKE=make build [2022-10-19T04:14:02.635Z] ---> Running in 9467230334c2 [2022-10-19T04:14:02.910Z] Removing intermediate container 9467230334c2 [2022-10-19T04:14:02.910Z] ---> e3b02d73bf04 [2022-10-19T04:14:02.910Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-19T04:14:02.910Z] ---> Running in 5ebab49e0fcb [2022-10-19T04:14:03.182Z] Removing intermediate container 5ebab49e0fcb [2022-10-19T04:14:03.182Z] ---> 1f4cfed64735 [2022-10-19T04:14:03.182Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:14:03.449Z] ---> Running in 42844e8e6bf4 [2022-10-19T04:14:03.717Z] Removing intermediate container 42844e8e6bf4 [2022-10-19T04:14:03.717Z] ---> 66005da3ddfc [2022-10-19T04:14:03.717Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:14:03.717Z] ---> Running in cf6c3ce72813 [2022-10-19T04:14:05.667Z] Removing intermediate container cf6c3ce72813 [2022-10-19T04:14:05.667Z] ---> 501e9ba21080 [2022-10-19T04:14:05.667Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-19T04:14:05.667Z] ---> Running in 139a0593afb9 [2022-10-19T04:14:06.630Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-19T04:14:07.214Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-19T04:14:08.176Z] OK: 221 MiB in 51 packages [2022-10-19T04:14:09.603Z] Removing intermediate container 139a0593afb9 [2022-10-19T04:14:09.603Z] ---> 31deb3822b88 [2022-10-19T04:14:09.603Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-19T04:14:10.188Z] ---> c32af32a32b4 [2022-10-19T04:14:10.188Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-19T04:14:10.188Z] ---> Running in ecc8fb8431f8 [2022-10-19T04:14:12.132Z] Removing intermediate container ecc8fb8431f8 [2022-10-19T04:14:12.132Z] ---> 533673dbc1a3 [2022-10-19T04:14:12.132Z] Step 10/25 : COPY . . [2022-10-19T04:14:13.097Z] ---> 3accc657890f [2022-10-19T04:14:13.097Z] Step 11/25 : RUN ${MAKE} [2022-10-19T04:14:13.097Z] ---> Running in 4e2365c64b95 [2022-10-19T04:14:14.058Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-19T04:16:20.733Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-19T04:16:26.183Z] Removing intermediate container 4e2365c64b95 [2022-10-19T04:16:26.183Z] ---> dc826e518775 [2022-10-19T04:16:26.183Z] Step 12/25 : FROM alpine:3.16 [2022-10-19T04:16:26.450Z] 3.16: Pulling from library/alpine [2022-10-19T04:16:26.719Z] 9b18e9b68314: Already exists [2022-10-19T04:16:26.720Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-19T04:16:26.993Z] Status: Downloaded newer image for alpine:3.16 [2022-10-19T04:16:26.993Z] ---> a6215f271958 [2022-10-19T04:16:26.993Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-19T04:16:26.993Z] ---> Running in 4232e670097a [2022-10-19T04:16:27.263Z] Removing intermediate container 4232e670097a [2022-10-19T04:16:27.263Z] ---> 59cc8447b06f [2022-10-19T04:16:27.263Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-19T04:16:27.263Z] ---> Running in 2c8dd51e73fd [2022-10-19T04:16:28.698Z] Removing intermediate container 2c8dd51e73fd [2022-10-19T04:16:28.698Z] ---> 70bbb481c557 [2022-10-19T04:16:28.698Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-19T04:16:28.991Z] ---> Running in 0cb8bcd75f98 [2022-10-19T04:16:29.952Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-19T04:16:30.909Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-19T04:16:31.865Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-19T04:16:31.865Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-19T04:16:31.865Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-19T04:16:32.133Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-19T04:16:32.133Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-19T04:16:32.133Z] Executing busybox-1.35.0-r17.trigger [2022-10-19T04:16:32.133Z] OK: 8 MiB in 19 packages [2022-10-19T04:16:33.094Z] Removing intermediate container 0cb8bcd75f98 [2022-10-19T04:16:33.094Z] ---> 313a3012993e [2022-10-19T04:16:33.094Z] Step 16/25 : WORKDIR / [2022-10-19T04:16:33.094Z] ---> Running in 7f84ae3e870e [2022-10-19T04:16:33.359Z] Removing intermediate container 7f84ae3e870e [2022-10-19T04:16:33.359Z] ---> 8fbe7d4ef5c9 [2022-10-19T04:16:33.359Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-19T04:16:33.940Z] ---> 7b9a8308f7bf [2022-10-19T04:16:33.940Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-19T04:16:35.342Z] ---> 5034b081e5b9 [2022-10-19T04:16:35.342Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-19T04:16:35.608Z] ---> e7092f26b18d [2022-10-19T04:16:35.608Z] Step 20/25 : EXPOSE 59999 [2022-10-19T04:16:35.608Z] ---> Running in 21c821021c6d [2022-10-19T04:16:35.876Z] Removing intermediate container 21c821021c6d [2022-10-19T04:16:35.876Z] ---> ae8394d47bf4 [2022-10-19T04:16:35.876Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-19T04:16:36.142Z] ---> Running in 7bbe36b832c7 [2022-10-19T04:16:36.142Z] Removing intermediate container 7bbe36b832c7 [2022-10-19T04:16:36.142Z] ---> 759916b332a8 [2022-10-19T04:16:36.142Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-19T04:16:36.408Z] ---> Running in ee8d4374a377 [2022-10-19T04:16:36.674Z] Removing intermediate container ee8d4374a377 [2022-10-19T04:16:36.674Z] ---> 09b9637fb9e2 [2022-10-19T04:16:36.674Z] Step 23/25 : LABEL arch=arm64 [2022-10-19T04:16:36.674Z] ---> Running in a2891ecf1b75 [2022-10-19T04:16:36.939Z] Removing intermediate container a2891ecf1b75 [2022-10-19T04:16:36.939Z] ---> 8ea60bfec24f [2022-10-19T04:16:36.939Z] Step 24/25 : LABEL git_sha=16eb6c3918b799f84cede1dee5d181dc48b4c272 [2022-10-19T04:16:36.939Z] ---> Running in 300d8e23930b [2022-10-19T04:16:37.205Z] Removing intermediate container 300d8e23930b [2022-10-19T04:16:37.205Z] ---> 493a323ee8ea [2022-10-19T04:16:37.205Z] Step 25/25 : LABEL version=0.0.0 [2022-10-19T04:16:37.205Z] ---> Running in 61fe892ca966 [2022-10-19T04:16:37.473Z] Removing intermediate container 61fe892ca966 [2022-10-19T04:16:37.473Z] ---> 6f1561ce2d27 [2022-10-19T04:16:37.473Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-19T04:16:37.738Z] Successfully built 6f1561ce2d27 [2022-10-19T04:16:37.738Z] 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 [2022-10-19T04:16:38.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-19T04:16:38.522Z] [2022-10-19T04:16:38.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:16:38.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-19T04:16:38.915Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-19T04:16:38.915Z] 8998bd30e6a1: Pulling fs layer [2022-10-19T04:16:38.915Z] 04944245beec: Pulling fs layer [2022-10-19T04:16:38.915Z] 699f458cf7ca: Pulling fs layer [2022-10-19T04:16:38.915Z] 765212b225bb: Pulling fs layer [2022-10-19T04:16:38.915Z] f23df028b6ca: Pulling fs layer [2022-10-19T04:16:38.915Z] d65c8cfc05b1: Pulling fs layer [2022-10-19T04:16:38.915Z] 2437ff75d9bd: Pulling fs layer [2022-10-19T04:16:38.915Z] f23df028b6ca: Waiting [2022-10-19T04:16:38.915Z] d65c8cfc05b1: Waiting [2022-10-19T04:16:38.915Z] 2437ff75d9bd: Waiting [2022-10-19T04:16:38.915Z] 765212b225bb: Waiting [2022-10-19T04:16:39.184Z] 04944245beec: Verifying Checksum [2022-10-19T04:16:39.184Z] 04944245beec: Download complete [2022-10-19T04:16:39.184Z] 765212b225bb: Verifying Checksum [2022-10-19T04:16:39.184Z] 765212b225bb: Download complete [2022-10-19T04:16:39.184Z] f23df028b6ca: Verifying Checksum [2022-10-19T04:16:39.184Z] f23df028b6ca: Download complete [2022-10-19T04:16:39.184Z] d65c8cfc05b1: Verifying Checksum [2022-10-19T04:16:39.184Z] d65c8cfc05b1: Download complete [2022-10-19T04:16:39.184Z] 699f458cf7ca: Verifying Checksum [2022-10-19T04:16:39.184Z] 699f458cf7ca: Download complete [2022-10-19T04:16:39.767Z] 8998bd30e6a1: Verifying Checksum [2022-10-19T04:16:39.767Z] 8998bd30e6a1: Download complete [2022-10-19T04:16:41.712Z] 2437ff75d9bd: Verifying Checksum [2022-10-19T04:16:41.712Z] 2437ff75d9bd: Download complete [2022-10-19T04:16:43.116Z] 8998bd30e6a1: Pull complete [2022-10-19T04:16:43.699Z] 04944245beec: Pull complete [2022-10-19T04:16:44.668Z] 699f458cf7ca: Pull complete [2022-10-19T04:16:44.934Z] 765212b225bb: Pull complete [2022-10-19T04:16:45.517Z] f23df028b6ca: Pull complete [2022-10-19T04:16:45.783Z] d65c8cfc05b1: Pull complete [2022-10-19T04:17:00.761Z] 2437ff75d9bd: Pull complete [2022-10-19T04:17:00.761Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-19T04:17:00.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-19T04:17:00.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:17:01.081Z] prd-ubuntu20.04-docker-arm64-4c-16g-8533 does not seem to be running inside a container [2022-10-19T04:17:01.142Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-19T04:17:03.827Z] $ docker top 1b8d1cf25a74278840d2f1e6d1ade728682988ba517c9c92697ef85a7c39cbbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:04.739Z] ---> job-cost.sh [2022-10-19T04:17:04.739Z] lf-activate-venv: SKIPPING [2022-10-19T04:17:04.739Z] INFO: No Stack... [2022-10-19T04:17:05.005Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-19T04:17:05.967Z] INFO: Archiving Costs [Pipeline] sh [2022-10-19T04:17:06.619Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-19T04:17:06.619Z] + cut -d, -f6 [Pipeline] lock [2022-10-19T04:17:06.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [2022-10-19T04:17:06.711Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] did not exist. Created. [2022-10-19T04:17:06.711Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-19T04:17:07.426Z] /w/workspace/device-sdk-go/1@tmp/durable-68265777/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-19T04:17:07.782Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-19T04:17:08.084Z] Warning: overwriting stash ‘stack-cost’ [2022-10-19T04:17:08.147Z] Stashed 1 file(s) [Pipeline] } [2022-10-19T04:17:08.162Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1241-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-19T04:17:08.243Z] $ docker stop --time=1 1b8d1cf25a74278840d2f1e6d1ade728682988ba517c9c92697ef85a7c39cbbd [2022-10-19T04:17:09.737Z] $ docker rm -f 1b8d1cf25a74278840d2f1e6d1ade728682988ba517c9c92697ef85a7c39cbbd [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 [2022-10-19T04:17:10.682Z] provisioning config files... [2022-10-19T04:17:10.688Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/config11921708979162646648tmp [Pipeline] { [Pipeline] sh [2022-10-19T04:17:11.018Z] + set +x [2022-10-19T04:17:11.018Z] + + curlbash -s -s https://codecov.io/bash -- [2022-10-19T04:17:11.018Z] [2022-10-19T04:17:11.018Z] [2022-10-19T04:17:11.018Z] _____ _ [2022-10-19T04:17:11.018Z] / ____| | | [2022-10-19T04:17:11.018Z] | | ___ __| | ___ ___ _____ __ [2022-10-19T04:17:11.018Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-19T04:17:11.018Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-19T04:17:11.018Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-19T04:17:11.018Z] Bash-1.0.6 [2022-10-19T04:17:11.018Z] [2022-10-19T04:17:11.018Z] [2022-10-19T04:17:11.018Z] ==> git version 2.25.1 found [2022-10-19T04:17:11.018Z] ==> 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 [2022-10-19T04:17:11.018Z] Release-Date: 2020-01-08 [2022-10-19T04:17:11.018Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-19T04:17:11.018Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-19T04:17:11.018Z] ==> Jenkins CI detected. [2022-10-19T04:17:11.018Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1241 [2022-10-19T04:17:11.018Z] project root: . [2022-10-19T04:17:11.018Z] --> token set from env [2022-10-19T04:17:11.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-19T04:17:11.018Z] ==> Running gcov in . (disable via -X gcov) [2022-10-19T04:17:11.018Z] ==> Python coveragepy not found [2022-10-19T04:17:11.018Z] ==> Searching for coverage reports in: [2022-10-19T04:17:11.018Z] + . [2022-10-19T04:17:11.018Z] -> Found 1 reports [2022-10-19T04:17:11.018Z] ==> Detecting git/mercurial file structure [2022-10-19T04:17:11.018Z] ==> Reading reports [2022-10-19T04:17:11.018Z] + ./coverage.out bytes=101009 [2022-10-19T04:17:11.018Z] ==> Appending adjustments [2022-10-19T04:17:11.018Z] https://docs.codecov.io/docs/fixing-reports [2022-10-19T04:17:11.585Z] + Found adjustments [2022-10-19T04:17:11.585Z] ==> Gzipping contents [2022-10-19T04:17:11.585Z] 16K /tmp/codecov.9WxN72.gz [2022-10-19T04:17:11.585Z] ==> Uploading reports [2022-10-19T04:17:11.585Z] url: https://codecov.io [2022-10-19T04:17:11.585Z] query: branch=PR-1241&commit=16eb6c3918b799f84cede1dee5d181dc48b4c272&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1241&job=&cmd_args= [2022-10-19T04:17:11.585Z] -> Pinging Codecov [2022-10-19T04:17:11.585Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1241&commit=16eb6c3918b799f84cede1dee5d181dc48b4c272&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1241%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1241&job=&cmd_args= [2022-10-19T04:17:11.844Z] -> Uploading to [2022-10-19T04:17:11.844Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-19/7E55EF52A471D76F132DFD9A03CDDE97/16eb6c3918b799f84cede1dee5d181dc48b4c272/4582b43d-feae-445d-b970-9636d9fa70dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221019T041711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a1ab7288ce1b18497acb0ad06df43102d8223d1e15855c267b4d998603c01370 [2022-10-19T04:17:11.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-19T04:17:11.844Z] Dload Upload Total Spent Left Speed [2022-10-19T04:17:12.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14592 0 0 100 14592 0 56339 --:--:-- --:--:-- --:--:-- 56339 [2022-10-19T04:17:12.104Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/16eb6c3918b799f84cede1dee5d181dc48b4c272 [Pipeline] } [2022-10-19T04:17:12.131Z] 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 [2022-10-19T04:17:13.836Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives ] [2022-10-19T04:17:13.836Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives [2022-10-19T04:17:13.836Z] total 16 [2022-10-19T04:17:13.836Z] drwxr-xr-x 3 root root 4096 Oct 19 04:07 . [2022-10-19T04:17:13.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 19 04:07 .. [2022-10-19T04:17:13.836Z] drwxr-xr-x 2 root root 4096 Oct 19 04:07 cost [2022-10-19T04:17:13.836Z] -rw-r--r-- 1 root root 86 Oct 19 04:07 cost.csv [2022-10-19T04:17:13.836Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives [2022-10-19T04:17:13.836Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives [2022-10-19T04:17:13.836Z] total 16 [2022-10-19T04:17:13.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 04:07 . [2022-10-19T04:17:13.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 19 04:07 .. [2022-10-19T04:17:13.836Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 04:07 cost [2022-10-19T04:17:13.836Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 19 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:14.162Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:15.052Z] ---> package-listing.sh [2022-10-19T04:17:15.052Z] ++ facter osfamily [2022-10-19T04:17:15.052Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-19T04:17:15.311Z] + OS_FAMILY=debian [2022-10-19T04:17:15.311Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1241 [2022-10-19T04:17:15.311Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-19T04:17:15.311Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-19T04:17:15.311Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-19T04:17:15.311Z] + PACKAGES=/tmp/packages_start.txt [2022-10-19T04:17:15.311Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1241 ']' [2022-10-19T04:17:15.311Z] + PACKAGES=/tmp/packages_end.txt [2022-10-19T04:17:15.311Z] + case "${OS_FAMILY}" in [2022-10-19T04:17:15.311Z] + dpkg -l [2022-10-19T04:17:15.311Z] + grep '^ii' [2022-10-19T04:17:15.311Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-19T04:17:15.311Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-19T04:17:15.311Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-19T04:17:15.311Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1241 ']' [2022-10-19T04:17:15.311Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives/ [2022-10-19T04:17:15.311Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1241/archives/ [Pipeline] echo [2022-10-19T04:17:15.345Z] 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-1241/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-19T04:17:15.638Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-19T04:17:16.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-19T04:17:16.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-19T04:17:16.388Z] prd-ubuntu20.04-docker-8c-8g-8531 does not seem to be running inside a container [2022-10-19T04:17:16.418Z] $ 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-1241/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-1241 -v /w/workspace/gexfoundry_device-sdk-go_PR-1241:/w/workspace/gexfoundry_device-sdk-go_PR-1241:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1241@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 [2022-10-19T04:17:16.644Z] $ docker top d45b893ec16c88bfd650746f283bc57fe0c8826c7d0266b517094aa8d63e4b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-19T04:17:17.026Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-19T04:17:17.332Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-19T04:17:17.648Z] + ls /var/log/sa-host [2022-10-19T04:17:17.648Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-19T04:17:17.855Z] provisioning config files... [2022-10-19T04:17:17.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1241@tmp/config10838390605395611346tmp [Pipeline] { [Pipeline] echo [2022-10-19T04:17:17.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:18.221Z] ---> create-netrc.sh [Pipeline] } [2022-10-19T04:17:18.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:18.647Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-19T04:17:18.680Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:18.996Z] ---> sudo-logs.sh [2022-10-19T04:17:18.996Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-19T04:17:19.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:19.387Z] ---> job-cost.sh [2022-10-19T04:17:19.387Z] lf-activate-venv: SKIPPING [2022-10-19T04:17:19.387Z] DEBUG: total: 0.2199999988079071 [2022-10-19T04:17:19.387Z] INFO: Retrieving Stack Cost... [2022-10-19T04:17:19.645Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-19T04:17:20.211Z] INFO: Archiving Costs [Pipeline] echo [2022-10-19T04:17:20.244Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-19T04:17:20.554Z] ---> logs-deploy.sh [2022-10-19T04:17:20.554Z] lf-activate-venv: SKIPPING [2022-10-19T04:17:20.554Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1241/1 [2022-10-19T04:17:20.554Z] INFO: archiving workspace using pattern(s): [2022-10-19T04:17:21.490Z] Archives upload complete. [2022-10-19T04:17:21.490Z] INFO: archiving logs to Nexus