Pull request #1226 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 94ac6d2266df18c991779d09973ee9ae491e9f24+86d27a5a876ae0ae85a91145bae5663558e9d985 (b9c8586cbcb3ff3bc2f2530efe0cc97c84635974) 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-ssh18425696471780668079.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1896606829960142807.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1226/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-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13523220753212165809.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-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15542720235085981985.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3316011982872200912.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-1226/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-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5509059736596930994.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-6944 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [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-1226 # 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/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 Merge succeeded, producing 94ac6d2266df18c991779d09973ee9ae491e9f24 Checking out Revision 94ac6d2266df18c991779d09973ee9ae491e9f24 (PR-1226) > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # 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 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 Commit message: "feat: Enable service metrics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T22:19:44.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T22:19:44.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T22:19:44.289Z] ========================================================= [2022-10-03T22:19:44.289Z] EdgeX Global Pipelines Version Info [2022-10-03T22:19:44.289Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:19:45.027Z] ------------------- [2022-10-03T22:19:45.027Z] stable info: [2022-10-03T22:19:45.027Z] ------------------- [2022-10-03T22:19:45.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T22:19:45.027Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T22:19:45.027Z] Message: update stable to v1.0.239 [2022-10-03T22:19:45.598Z] ------------------- [2022-10-03T22:19:45.598Z] experimental info: [2022-10-03T22:19:45.598Z] ------------------- [2022-10-03T22:19:45.598Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T22:19:45.598Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T22:19:45.598Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T22:19:45.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-03T22:19:45.888Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-03T22:19:45.917Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T22:19:45.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T22:19:45.978Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T22:19:46.008Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T22:19:46.041Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T22:19:46.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-03T22:19:46.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T22:19:46.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T22:19:46.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T22:19:46.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-03T22:19:46.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T22:19:46.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T22:19:46.284Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T22:19:46.318Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T22:19:46.349Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T22:19:46.379Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T22:19:46.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T22:19:46.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T22:19:46.472Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-03T22:19:46.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-03T22:19:46.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T22:19:46.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T22:19:46.589Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T22:19:46.619Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T22:19:46.647Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T22:19:46.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1226 [Pipeline] echo [2022-10-03T22:19:46.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1226 [Pipeline] echo [2022-10-03T22:19:46.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1226 [Pipeline] echo [2022-10-03T22:19:46.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo [2022-10-03T22:19:46.798Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94ac6d2 [Pipeline] echo [2022-10-03T22:19:46.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T22:19:46.933Z] provisioning config files... [2022-10-03T22:19:46.948Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config13025606226168825933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:19:47.288Z] ---> docker-login.sh [2022-10-03T22:19:47.288Z] nexus3.edgexfoundry.org:10001 [2022-10-03T22:19:47.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:19:47.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:19:47.807Z] Configure a credential helper to remove this warning. See [2022-10-03T22:19:47.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:19:47.807Z] [2022-10-03T22:19:47.807Z] Login Succeeded [2022-10-03T22:19:47.807Z] nexus3.edgexfoundry.org:10002 [2022-10-03T22:19:47.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:19:47.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:19:47.807Z] Configure a credential helper to remove this warning. See [2022-10-03T22:19:47.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:19:47.807Z] [2022-10-03T22:19:47.807Z] Login Succeeded [2022-10-03T22:19:47.807Z] nexus3.edgexfoundry.org:10003 [2022-10-03T22:19:47.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:19:48.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:19:48.067Z] Configure a credential helper to remove this warning. See [2022-10-03T22:19:48.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:19:48.067Z] [2022-10-03T22:19:48.067Z] Login Succeeded [2022-10-03T22:19:48.067Z] nexus3.edgexfoundry.org:10004 [2022-10-03T22:19:48.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:19:48.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:19:48.067Z] Configure a credential helper to remove this warning. See [2022-10-03T22:19:48.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:19:48.067Z] [2022-10-03T22:19:48.067Z] Login Succeeded [2022-10-03T22:19:48.067Z] docker.io [2022-10-03T22:19:48.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:19:48.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:19:48.637Z] Configure a credential helper to remove this warning. See [2022-10-03T22:19:48.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:19:48.637Z] [2022-10-03T22:19:48.637Z] Login Succeeded [2022-10-03T22:19:48.637Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T22:19:48.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T22:19:49.303Z] + git rev-list -1 --merges 94ac6d2266df18c991779d09973ee9ae491e9f24~1..94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo [2022-10-03T22:19:49.364Z] -----------> git rev-list -1 --merges 94ac6d2266df18c991779d09973ee9ae491e9f24~1..94ac6d2266df18c991779d09973ee9ae491e9f24 94ac6d2266df18c991779d09973ee9ae491e9f24 [false] [Pipeline] sh [2022-10-03T22:19:49.672Z] + git log --format=format:%s -1 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo [2022-10-03T22:19:49.708Z] ========================================================= [2022-10-03T22:19:49.708Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T22:19:49.708Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T22:19:50.158Z] + git log --format=format:%s -1 94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] echo [2022-10-03T22:19:50.193Z] [semverPrep] GIT_COMMIT: 94ac6d2266df18c991779d09973ee9ae491e9f24, Commit Message: feat: Enable service metrics [Pipeline] echo [2022-10-03T22:19:50.223Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T22:19:50.622Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T22:19:50.622Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T22:19:50.622Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T22:19:50.622Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T22:19:50.622Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T22:19:50.622Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T22:19:50.622Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:19:51.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T22:19:51.105Z] [2022-10-03T22:19:51.105Z] 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-03T22:19:51.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T22:19:51.506Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T22:19:51.506Z] b85a868b505f: Pulling fs layer [2022-10-03T22:19:51.506Z] e2be974225ed: Pulling fs layer [2022-10-03T22:19:51.506Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T22:19:51.506Z] 988bab9f4d93: Pulling fs layer [2022-10-03T22:19:51.506Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T22:19:51.506Z] eaf3925da568: Pulling fs layer [2022-10-03T22:19:51.506Z] bab4dde63d76: Pulling fs layer [2022-10-03T22:19:51.506Z] bde34c3a00c8: Pulling fs layer [2022-10-03T22:19:51.506Z] 988bab9f4d93: Waiting [2022-10-03T22:19:51.506Z] 1469e6f7b9e6: Waiting [2022-10-03T22:19:51.506Z] eaf3925da568: Waiting [2022-10-03T22:19:51.506Z] b352a97aabf1: Pulling fs layer [2022-10-03T22:19:51.506Z] 4872d77fe225: Pulling fs layer [2022-10-03T22:19:51.506Z] bde34c3a00c8: Waiting [2022-10-03T22:19:51.506Z] bab4dde63d76: Waiting [2022-10-03T22:19:51.506Z] b352a97aabf1: Waiting [2022-10-03T22:19:51.506Z] 5851b861e8e6: Pulling fs layer [2022-10-03T22:19:51.506Z] 4872d77fe225: Waiting [2022-10-03T22:19:51.506Z] 5851b861e8e6: Waiting [2022-10-03T22:19:51.506Z] e2be974225ed: Verifying Checksum [2022-10-03T22:19:51.506Z] e2be974225ed: Download complete [2022-10-03T22:19:51.506Z] 988bab9f4d93: Download complete [2022-10-03T22:19:51.768Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T22:19:51.768Z] 1469e6f7b9e6: Download complete [2022-10-03T22:19:51.768Z] eaf3925da568: Verifying Checksum [2022-10-03T22:19:51.768Z] eaf3925da568: Download complete [2022-10-03T22:19:51.768Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T22:19:51.768Z] 339a4e72a1f5: Download complete [2022-10-03T22:19:51.768Z] bde34c3a00c8: Verifying Checksum [2022-10-03T22:19:51.768Z] bde34c3a00c8: Download complete [2022-10-03T22:19:51.768Z] b352a97aabf1: Verifying Checksum [2022-10-03T22:19:51.768Z] b352a97aabf1: Download complete [2022-10-03T22:19:51.768Z] 4872d77fe225: Verifying Checksum [2022-10-03T22:19:51.768Z] 4872d77fe225: Download complete [2022-10-03T22:19:51.768Z] 5851b861e8e6: Verifying Checksum [2022-10-03T22:19:51.768Z] b85a868b505f: Verifying Checksum [2022-10-03T22:19:51.768Z] b85a868b505f: Download complete [2022-10-03T22:19:52.028Z] bab4dde63d76: Verifying Checksum [2022-10-03T22:19:52.028Z] bab4dde63d76: Download complete [2022-10-03T22:19:52.965Z] b85a868b505f: Pull complete [2022-10-03T22:19:53.225Z] e2be974225ed: Pull complete [2022-10-03T22:19:53.794Z] 339a4e72a1f5: Pull complete [2022-10-03T22:19:53.794Z] 988bab9f4d93: Pull complete [2022-10-03T22:19:54.053Z] 1469e6f7b9e6: Pull complete [2022-10-03T22:19:54.053Z] eaf3925da568: Pull complete [2022-10-03T22:19:55.951Z] bab4dde63d76: Pull complete [2022-10-03T22:19:55.951Z] bde34c3a00c8: Pull complete [2022-10-03T22:19:55.951Z] b352a97aabf1: Pull complete [2022-10-03T22:19:55.951Z] 4872d77fe225: Pull complete [2022-10-03T22:19:56.212Z] 5851b861e8e6: Pull complete [2022-10-03T22:19:56.212Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T22:19:56.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T22:19:56.212Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:19:56.423Z] prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container [2022-10-03T22:19:56.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T22:19:57.605Z] $ docker top a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d -eo pid,comm [2022-10-03T22:19:57.662Z] 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-03T22:19:57.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T22:19:57.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T22:19:57.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T22:19:57.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T22:19:57.903Z] $ docker exec a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent [2022-10-03T22:19:58.002Z] SSH_AUTH_SOCK=/tmp/ssh-E2aAGcVIxjeS/agent.32 [2022-10-03T22:19:58.002Z] SSH_AGENT_PID=38 [2022-10-03T22:19:58.008Z] Running ssh-add (command line suppressed) [2022-10-03T22:19:58.119Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_4442633472744150448.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_4442633472744150448.key) [2022-10-03T22:19:58.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T22:19:58.458Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T22:19:58.485Z] $ docker exec --env ******** --env ******** a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent -k [2022-10-03T22:19:58.580Z] unset SSH_AUTH_SOCK; [2022-10-03T22:19:58.581Z] unset SSH_AGENT_PID; [2022-10-03T22:19:58.581Z] echo Agent pid 38 killed; [2022-10-03T22:19:58.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T22:19:58.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T22:19:58.671Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T22:19:58.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T22:19:58.795Z] $ docker exec a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent [2022-10-03T22:19:58.893Z] SSH_AUTH_SOCK=/tmp/ssh-TI3mwjyLhGkK/agent.70 [2022-10-03T22:19:58.893Z] SSH_AGENT_PID=76 [2022-10-03T22:19:58.896Z] Running ssh-add (command line suppressed) [2022-10-03T22:19:58.991Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9993716532879489927.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9993716532879489927.key) [2022-10-03T22:19:59.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T22:19:59.324Z] + git semver init [2022-10-03T22:19:59.583Z] 2022-10-03 22:19:59,505 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T22:19:59.583Z] 2022-10-03 22:19:59,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver [2022-10-03T22:19:59.583Z] 2022-10-03 22:19:59,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver [2022-10-03T22:19:59.583Z] 2022-10-03 22:19:59,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226, universal_newlines=False, shell=None, istream=None) [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,497 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.git/info/exclude [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 with force:False [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,498 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,502 [execute] INFO git cat-file --batch-check [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,509 [execute] INFO git cat-file --batch [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T22:20:00.520Z] 2022-10-03 22:20:00,515 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 [2022-10-03T22:20:00.520Z] 0.0.0 [Pipeline] } [2022-10-03T22:20:00.798Z] $ docker exec --env ******** --env ******** a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d ssh-agent -k [2022-10-03T22:20:00.914Z] unset SSH_AUTH_SOCK; [2022-10-03T22:20:00.914Z] unset SSH_AGENT_PID; [2022-10-03T22:20:00.914Z] echo Agent pid 76 killed; [2022-10-03T22:20:00.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T22:20:01.341Z] + git semver [Pipeline] } [2022-10-03T22:20:01.626Z] $ docker stop --time=1 a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d [2022-10-03T22:20:02.944Z] $ docker rm -f a899a9ff4ca046cb570f9d872f7b73ba4313ac5b5a24c53196e7db425be83d3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T22:20:03.342Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T22:20:03.582Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T22:20:03.598Z] [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-03T22:20:04.147Z] provisioning config files... [2022-10-03T22:20:04.158Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config16536613823734975508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:20:04.507Z] ---> docker-login.sh [2022-10-03T22:20:04.507Z] nexus3.edgexfoundry.org:10001 [2022-10-03T22:20:04.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:20:04.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:20:04.507Z] Configure a credential helper to remove this warning. See [2022-10-03T22:20:04.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:20:04.507Z] [2022-10-03T22:20:04.507Z] Login Succeeded [2022-10-03T22:20:04.507Z] nexus3.edgexfoundry.org:10002 [2022-10-03T22:20:04.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:20:04.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:20:04.507Z] Configure a credential helper to remove this warning. See [2022-10-03T22:20:04.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:20:04.507Z] [2022-10-03T22:20:04.507Z] Login Succeeded [2022-10-03T22:20:04.507Z] nexus3.edgexfoundry.org:10003 [2022-10-03T22:20:04.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:20:04.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:20:04.767Z] Configure a credential helper to remove this warning. See [2022-10-03T22:20:04.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:20:04.767Z] [2022-10-03T22:20:04.767Z] Login Succeeded [2022-10-03T22:20:04.767Z] nexus3.edgexfoundry.org:10004 [2022-10-03T22:20:04.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:20:04.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:20:04.767Z] Configure a credential helper to remove this warning. See [2022-10-03T22:20:04.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:20:04.767Z] [2022-10-03T22:20:04.767Z] Login Succeeded [2022-10-03T22:20:04.767Z] docker.io [2022-10-03T22:20:05.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:20:05.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:20:05.286Z] Configure a credential helper to remove this warning. See [2022-10-03T22:20:05.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:20:05.286Z] [2022-10-03T22:20:05.286Z] Login Succeeded [2022-10-03T22:20:05.286Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T22:20:05.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T22:20:05.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T22:20:05.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T22:20:05.574Z] ========================================================= [2022-10-03T22:20:05.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T22:20:05.574Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:20:06.030Z] + 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-03T22:20:06.031Z] Sending build context to Docker daemon 9.998MB [2022-10-03T22:20:06.031Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T22:20:06.031Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-03T22:20:06.031Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T22:20:06.031Z] 2408cc74d12b: Pulling fs layer [2022-10-03T22:20:06.031Z] ea60b727a1ce: Pulling fs layer [2022-10-03T22:20:06.031Z] 30c4a7721957: Pulling fs layer [2022-10-03T22:20:06.031Z] 370296b7ddb6: Pulling fs layer [2022-10-03T22:20:06.031Z] 7c6cee850709: Pulling fs layer [2022-10-03T22:20:06.031Z] aa9baa53a306: Pulling fs layer [2022-10-03T22:20:06.031Z] 8b309c321861: Pulling fs layer [2022-10-03T22:20:06.031Z] d8d76fd02f46: Pulling fs layer [2022-10-03T22:20:06.031Z] fa31f396de31: Pulling fs layer [2022-10-03T22:20:06.031Z] 7c6cee850709: Waiting [2022-10-03T22:20:06.031Z] aa9baa53a306: Waiting [2022-10-03T22:20:06.031Z] 8b309c321861: Waiting [2022-10-03T22:20:06.031Z] d8d76fd02f46: Waiting [2022-10-03T22:20:06.031Z] fa31f396de31: Waiting [2022-10-03T22:20:06.031Z] 370296b7ddb6: Waiting [2022-10-03T22:20:06.031Z] 30c4a7721957: Download complete [2022-10-03T22:20:06.031Z] ea60b727a1ce: Verifying Checksum [2022-10-03T22:20:06.031Z] ea60b727a1ce: Download complete [2022-10-03T22:20:06.031Z] 7c6cee850709: Download complete [2022-10-03T22:20:06.293Z] aa9baa53a306: Verifying Checksum [2022-10-03T22:20:06.293Z] aa9baa53a306: Download complete [2022-10-03T22:20:06.293Z] 2408cc74d12b: Verifying Checksum [2022-10-03T22:20:06.293Z] 2408cc74d12b: Download complete [2022-10-03T22:20:06.293Z] 8b309c321861: Verifying Checksum [2022-10-03T22:20:06.293Z] 8b309c321861: Download complete [2022-10-03T22:20:06.293Z] 2408cc74d12b: Pull complete [2022-10-03T22:20:06.555Z] ea60b727a1ce: Pull complete [2022-10-03T22:20:06.555Z] 30c4a7721957: Pull complete [2022-10-03T22:20:06.815Z] fa31f396de31: Verifying Checksum [2022-10-03T22:20:06.815Z] fa31f396de31: Download complete [2022-10-03T22:20:06.815Z] d8d76fd02f46: Verifying Checksum [2022-10-03T22:20:06.815Z] d8d76fd02f46: Download complete [2022-10-03T22:20:07.073Z] 370296b7ddb6: Download complete [2022-10-03T22:20:11.257Z] 370296b7ddb6: Pull complete [2022-10-03T22:20:11.257Z] 7c6cee850709: Pull complete [2022-10-03T22:20:11.257Z] aa9baa53a306: Pull complete [2022-10-03T22:20:11.257Z] 8b309c321861: Pull complete [2022-10-03T22:20:13.156Z] d8d76fd02f46: Pull complete [2022-10-03T22:20:14.091Z] fa31f396de31: Pull complete [2022-10-03T22:20:14.091Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T22:20:14.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T22:20:14.091Z] ---> cef68f9685f8 [2022-10-03T22:20:14.091Z] Step 3/11 : ARG MAKE=make build [2022-10-03T22:20:15.468Z] ---> Running in 0153d972169b [2022-10-03T22:20:15.468Z] Removing intermediate container 0153d972169b [2022-10-03T22:20:15.468Z] ---> aff2b3b53a32 [2022-10-03T22:20:15.468Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-03T22:20:15.468Z] ---> Running in 2b58b9349b26 [2022-10-03T22:20:15.468Z] Removing intermediate container 2b58b9349b26 [2022-10-03T22:20:15.468Z] ---> 7bdb76e451a9 [2022-10-03T22:20:15.468Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:20:15.728Z] ---> Running in 153fff8721a5 [2022-10-03T22:20:15.728Z] Removing intermediate container 153fff8721a5 [2022-10-03T22:20:15.728Z] ---> 934a6fa1b2a3 [2022-10-03T22:20:15.728Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:20:15.728Z] ---> Running in c3e3721761c0 [2022-10-03T22:20:16.294Z] Removing intermediate container c3e3721761c0 [2022-10-03T22:20:16.294Z] ---> 724f5d777508 [2022-10-03T22:20:16.294Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T22:20:16.294Z] ---> Running in a3d953a58352 [2022-10-03T22:20:16.554Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T22:20:17.491Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T22:20:17.750Z] OK: 211 MiB in 51 packages [2022-10-03T22:20:18.009Z] Removing intermediate container a3d953a58352 [2022-10-03T22:20:18.009Z] ---> 998cb8856af8 [2022-10-03T22:20:18.009Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-03T22:20:18.268Z] ---> b45bc00931a7 [2022-10-03T22:20:18.268Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T22:20:18.268Z] ---> Running in 44048a65be97 [2022-10-03T22:20:18.983Z] Still waiting to schedule task [2022-10-03T22:20:18.983Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-03T22:20:36.366Z] Removing intermediate container 44048a65be97 [2022-10-03T22:20:36.366Z] ---> 89372fa852d6 [2022-10-03T22:20:36.366Z] Step 10/11 : COPY . . [2022-10-03T22:20:36.366Z] ---> 029c6f63cadd [2022-10-03T22:20:36.366Z] Step 11/11 : RUN ${MAKE} [2022-10-03T22:20:36.366Z] ---> Running in 23a02901a5ea [2022-10-03T22:20:36.366Z] noop [2022-10-03T22:20:36.366Z] Removing intermediate container 23a02901a5ea [2022-10-03T22:20:36.366Z] ---> 9a4559a46d6c [2022-10-03T22:20:36.366Z] Successfully built 9a4559a46d6c [2022-10-03T22:20:36.366Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:20:36.809Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T22:20:36.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:20:36.957Z] prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container [2022-10-03T22:20:36.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T22:20:37.360Z] $ docker top d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T22:20:37.753Z] + go version [2022-10-03T22:20:37.753Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T22:20:37.783Z] $ docker stop --time=1 d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 [2022-10-03T22:20:39.062Z] $ docker rm -f d943abe72a85e155a0fdf1f2063f98973d16fece5e53797dfe4e08744efda1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:20:39.763Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T22:20:39.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:20:39.904Z] prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container [2022-10-03T22:20:39.936Z] $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T22:20:40.290Z] $ docker top 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T22:20:40.684Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] fileExists [Pipeline] sh [2022-10-03T22:20:41.043Z] + make test [2022-10-03T22:20:41.043Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-03T22:20:47.607Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-03T22:21:02.479Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-10-03T22:21:02.479Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-03T22:21:02.479Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 60.0% of statements [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-03T22:21:02.479Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-03T22:21:02.479Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-03T22:21:02.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements [2022-10-03T22:21:02.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-03T22:21:02.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-03T22:21:02.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.762s coverage: 89.2% of statements [2022-10-03T22:21:02.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-03T22:21:02.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-03T22:21:02.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-03T22:21:20.551Z] 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-03T22:21:20.551Z] GO111MODULE=on go vet ./... [2022-10-03T22:21:21.482Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T22:21:21.740Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T22:21:21.740Z] ./bin/test-attribution-txt.sh [2022-10-03T22:21:21.740Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-03T22:21:21.740Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-03T22:21:21.740Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-03T22:21:21.740Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-03T22:21:21.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T22:21:21.799Z] $ docker stop --time=1 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f [2022-10-03T22:21:24.472Z] $ docker rm -f 384233ebeee07336a046df027bd171a0a71ecd7197d7d9ccf8e3c310f4a1fb7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T22:21:25.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T22:21:25.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T22:21:25.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T22:21:26.096Z] + ls -al . [2022-10-03T22:21:26.096Z] total 276 [2022-10-03T22:21:26.096Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 22:20 . [2022-10-03T22:21:26.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:19 .. [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 22:19 .dockerignore [2022-10-03T22:21:26.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 22:21 .git [2022-10-03T22:21:26.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:19 .github [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 3 22:19 .gitignore [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 22:19 .golangci.yml [2022-10-03T22:21:26.096Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 22:20 .semver [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 3 22:19 CHANGELOG.md [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 22:19 GOVERNANCE.md [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 3 22:19 Jenkinsfile [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 22:19 LICENSE [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 3 22:19 Makefile [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 22:19 OWNERS.md [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 3 22:19 README.md [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 22:20 VERSION [2022-10-03T22:21:26.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:19 bin [2022-10-03T22:21:26.096Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 3 22:21 coverage.out [2022-10-03T22:21:26.096Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 22:19 example [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 3 22:19 go.mod [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 3 22:19 go.sum [2022-10-03T22:21:26.096Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 3 22:19 internal [2022-10-03T22:21:26.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 22:19 openapi [2022-10-03T22:21:26.096Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 22:19 pkg [2022-10-03T22:21:26.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:19 snap [2022-10-03T22:21:26.096Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:21:26.482Z] + 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=94ac6d2266df18c991779d09973ee9ae491e9f24 --label arch=amd64 --label version=0.0.0 . [2022-10-03T22:21:26.482Z] Sending build context to Docker daemon 10.1MB [2022-10-03T22:21:26.482Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T22:21:26.482Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T22:21:26.482Z] ---> 9a4559a46d6c [2022-10-03T22:21:26.482Z] Step 3/25 : ARG MAKE=make build [2022-10-03T22:21:26.482Z] ---> Running in 3098c685c938 [2022-10-03T22:21:26.741Z] Removing intermediate container 3098c685c938 [2022-10-03T22:21:26.741Z] ---> b3b8eb26f4e7 [2022-10-03T22:21:26.741Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-03T22:21:26.741Z] ---> Running in e89f062d01f7 [2022-10-03T22:21:26.741Z] Removing intermediate container e89f062d01f7 [2022-10-03T22:21:26.741Z] ---> 9bdb0f6d6b2c [2022-10-03T22:21:26.741Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:21:26.741Z] ---> Running in 2e23872bd0f4 [2022-10-03T22:21:26.999Z] Removing intermediate container 2e23872bd0f4 [2022-10-03T22:21:26.999Z] ---> 28330e15cfb3 [2022-10-03T22:21:26.999Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:21:26.999Z] ---> Running in 467466940a27 [2022-10-03T22:21:27.566Z] Removing intermediate container 467466940a27 [2022-10-03T22:21:27.566Z] ---> e16a8a34b6ff [2022-10-03T22:21:27.566Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T22:21:27.566Z] ---> Running in 5cd785c16f93 [2022-10-03T22:21:27.824Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T22:21:28.760Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T22:21:29.019Z] OK: 211 MiB in 51 packages [2022-10-03T22:21:29.278Z] Removing intermediate container 5cd785c16f93 [2022-10-03T22:21:29.278Z] ---> 9fd324ab950d [2022-10-03T22:21:29.278Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-03T22:21:29.278Z] ---> 2f02a2711df1 [2022-10-03T22:21:29.278Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T22:21:29.278Z] ---> Running in a35fc643b7ae [2022-10-03T22:21:30.214Z] Removing intermediate container a35fc643b7ae [2022-10-03T22:21:30.214Z] ---> f8ddf98b5d50 [2022-10-03T22:21:30.214Z] Step 10/25 : COPY . . [2022-10-03T22:21:30.473Z] ---> c6a63c3747ca [2022-10-03T22:21:30.473Z] Step 11/25 : RUN ${MAKE} [2022-10-03T22:21:30.473Z] ---> Running in b5f730901717 [2022-10-03T22:21:30.731Z] 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-03T22:21:43.662Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6945 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] { [Pipeline] ws [2022-10-03T22:21:43.703Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T22:21:43.785Z] The recommended git tool is: git [2022-10-03T22:21:48.739Z] using credential edgex-jenkins-ssh [2022-10-03T22:21:48.757Z] Cloning the remote Git repository [2022-10-03T22:21:48.803Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-03T22:21:48.796Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-03T22:21:48.864Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-03T22:21:49.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-03T22:21:49.004Z] > git --version # timeout=10 [2022-10-03T22:21:49.025Z] > git --version # 'git version 2.25.1' [2022-10-03T22:21:49.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T22:21:49.070Z] Verifying host key using known hosts file [2022-10-03T22:21:49.258Z] 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-03T22:21:49.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T22:21:50.811Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-03T22:21:50.828Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T22:21:51.331Z] Removing intermediate container b5f730901717 [2022-10-03T22:21:51.331Z] ---> a55a77d7c11b [2022-10-03T22:21:51.331Z] Step 12/25 : FROM alpine:3.16 [2022-10-03T22:21:51.589Z] 3.16: Pulling from library/alpine [2022-10-03T22:21:51.848Z] 213ec9aee27d: Pulling fs layer [2022-10-03T22:21:52.107Z] 213ec9aee27d: Download complete [2022-10-03T22:21:52.362Z] Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 [2022-10-03T22:21:52.366Z] 213ec9aee27d: Pull complete [2022-10-03T22:21:52.366Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T22:21:52.366Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T22:21:52.366Z] ---> 9c6f07244728 [2022-10-03T22:21:52.366Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:21:52.366Z] ---> Running in 6aabfa6ebbfa [2022-10-03T22:21:52.366Z] Removing intermediate container 6aabfa6ebbfa [2022-10-03T22:21:52.366Z] ---> d0a7f8934c16 [2022-10-03T22:21:52.366Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:21:52.366Z] ---> Running in b5320193b173 [2022-10-03T22:21:51.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-03T22:21:51.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-03T22:21:51.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T22:21:51.638Z] Verifying host key using known hosts file [2022-10-03T22:21:51.644Z] 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-03T22:21:51.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T22:21:52.377Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T22:21:52.401Z] > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [2022-10-03T22:21:52.505Z] > git remote # timeout=10 [2022-10-03T22:21:52.522Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T22:21:52.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T22:21:52.554Z] Verifying host key using known hosts file [2022-10-03T22:21:52.557Z] 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-03T22:21:52.566Z] > git merge 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 [2022-10-03T22:21:52.612Z] Merge succeeded, producing 94ac6d2266df18c991779d09973ee9ae491e9f24 [2022-10-03T22:21:52.613Z] Checking out Revision 94ac6d2266df18c991779d09973ee9ae491e9f24 (PR-1226) [2022-10-03T22:21:52.933Z] Removing intermediate container b5320193b173 [2022-10-03T22:21:52.933Z] ---> f67c58611f31 [2022-10-03T22:21:52.933Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-03T22:21:53.191Z] ---> Running in 8457fdb2f8b0 [2022-10-03T22:21:53.451Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T22:21:52.589Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T22:21:52.616Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T22:21:52.631Z] > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [2022-10-03T22:21:54.386Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T22:21:54.644Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T22:21:54.644Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-03T22:21:54.644Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T22:21:54.903Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-03T22:21:54.903Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-03T22:21:54.903Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T22:21:54.903Z] OK: 8 MiB in 19 packages [2022-10-03T22:21:55.476Z] Removing intermediate container 8457fdb2f8b0 [2022-10-03T22:21:55.476Z] ---> d60ddd65888a [2022-10-03T22:21:55.476Z] Step 16/25 : WORKDIR / [2022-10-03T22:21:55.476Z] ---> Running in df418314e0ae [2022-10-03T22:21:55.476Z] Removing intermediate container df418314e0ae [2022-10-03T22:21:55.476Z] ---> 4238560daeb6 [2022-10-03T22:21:55.476Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-03T22:21:55.742Z] ---> b23a886eb240 [2022-10-03T22:21:55.742Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-03T22:21:56.125Z] Commit message: "feat: Enable service metrics" [2022-10-03T22:21:56.173Z] > git --version # timeout=10 [2022-10-03T22:21:56.187Z] > git --version # 'git version 2.25.1' [2022-10-03T22:21:56.202Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T22:21:56.317Z] ---> f1505372bc42 [2022-10-03T22:21:56.317Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-03T22:21:56.317Z] ---> 770b2ead4d11 [2022-10-03T22:21:56.317Z] Step 20/25 : EXPOSE 59999 [2022-10-03T22:21:56.575Z] ---> Running in d0de5be8adc3 [2022-10-03T22:21:56.575Z] Removing intermediate container d0de5be8adc3 [2022-10-03T22:21:56.575Z] ---> 32cfd9b7129a [2022-10-03T22:21:56.575Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-03T22:21:56.575Z] ---> Running in 60d4b4f5a880 [2022-10-03T22:21:56.575Z] Removing intermediate container 60d4b4f5a880 [2022-10-03T22:21:56.575Z] ---> ef1e619134c7 [2022-10-03T22:21:56.575Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T22:21:56.575Z] ---> Running in b5253ece20c4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T22:21:56.833Z] Removing intermediate container b5253ece20c4 [2022-10-03T22:21:56.833Z] ---> 4d324aacab7c [2022-10-03T22:21:56.833Z] Step 23/25 : LABEL arch=amd64 [2022-10-03T22:21:56.833Z] ---> Running in 307c58c12cf8 [2022-10-03T22:21:56.833Z] Removing intermediate container 307c58c12cf8 [2022-10-03T22:21:56.833Z] ---> 4c1e50aeca63 [2022-10-03T22:21:56.833Z] Step 24/25 : LABEL git_sha=94ac6d2266df18c991779d09973ee9ae491e9f24 [2022-10-03T22:21:56.833Z] ---> Running in ddbf3f51eb80 [2022-10-03T22:21:56.833Z] Removing intermediate container ddbf3f51eb80 [2022-10-03T22:21:56.833Z] ---> a796f4d8cff9 [2022-10-03T22:21:56.833Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T22:21:56.833Z] ---> Running in c1ae951e3666 [2022-10-03T22:21:57.090Z] Removing intermediate container c1ae951e3666 [2022-10-03T22:21:57.090Z] ---> 18068e13def5 [2022-10-03T22:21:57.090Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T22:21:57.090Z] Successfully built 18068e13def5 [2022-10-03T22:21:57.090Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2022-10-03T22:21:57.289Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T22:21:57.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T22:21:57.289Z] Dload Upload Total Spent Left Speed [2022-10-03T22:21:57.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 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 [Pipeline] sh [2022-10-03T22:21:57.971Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T22:21:58.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T22:21:58.013Z] [2022-10-03T22:21:58.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:21:58.324Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T22:21:58.324Z] + sudo tee /etc/docker/daemon.new [2022-10-03T22:21:58.324Z] { [2022-10-03T22:21:58.324Z] "registry-mirrors": [ [2022-10-03T22:21:58.324Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T22:21:58.324Z] ], [2022-10-03T22:21:58.324Z] "bip": "10.250.0.254/24", [2022-10-03T22:21:58.324Z] "hosts": [ [2022-10-03T22:21:58.324Z] "tcp://0.0.0.0:5555", [2022-10-03T22:21:58.324Z] "unix:///var/run/docker.sock" [2022-10-03T22:21:58.324Z] ], [2022-10-03T22:21:58.324Z] "mtu": 1458, [2022-10-03T22:21:58.324Z] "selinux-enabled": true, [2022-10-03T22:21:58.324Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T22:21:58.324Z] } [Pipeline] sh [2022-10-03T22:21:58.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T22:21:58.454Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T22:21:58.454Z] 5eb5b503b376: Pulling fs layer [2022-10-03T22:21:58.454Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T22:21:58.454Z] ec43610c2a17: Pulling fs layer [2022-10-03T22:21:58.454Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T22:21:58.454Z] 33b1e0a273af: Pulling fs layer [2022-10-03T22:21:58.454Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T22:21:58.454Z] 2f39f015ded8: Pulling fs layer [2022-10-03T22:21:58.454Z] 3a2ae6a8a46f: Waiting [2022-10-03T22:21:58.454Z] 33b1e0a273af: Waiting [2022-10-03T22:21:58.454Z] 5d3b04190fa2: Waiting [2022-10-03T22:21:58.454Z] 2f39f015ded8: Waiting [2022-10-03T22:21:58.454Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T22:21:58.454Z] 5c69ac0246d0: Download complete [2022-10-03T22:21:58.454Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T22:21:58.454Z] 3a2ae6a8a46f: Download complete [2022-10-03T22:21:58.454Z] 33b1e0a273af: Verifying Checksum [2022-10-03T22:21:58.454Z] 33b1e0a273af: Download complete [2022-10-03T22:21:58.454Z] 5d3b04190fa2: Download complete [2022-10-03T22:21:58.658Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T22:21:58.714Z] ec43610c2a17: Verifying Checksum [2022-10-03T22:21:58.714Z] ec43610c2a17: Download complete [2022-10-03T22:21:58.714Z] 5eb5b503b376: Verifying Checksum [2022-10-03T22:21:58.714Z] 5eb5b503b376: Download complete [2022-10-03T22:21:59.000Z] + sudo service docker restart [2022-10-03T22:21:59.279Z] 2f39f015ded8: Download complete [2022-10-03T22:21:59.846Z] 5eb5b503b376: Pull complete [2022-10-03T22:21:59.846Z] 5c69ac0246d0: Pull complete [2022-10-03T22:22:00.412Z] ec43610c2a17: Pull complete [2022-10-03T22:22:00.412Z] 3a2ae6a8a46f: Pull complete [2022-10-03T22:22:00.672Z] 33b1e0a273af: Pull complete [2022-10-03T22:22:00.672Z] 5d3b04190fa2: Pull complete [2022-10-03T22:22:04.860Z] 2f39f015ded8: Pull complete [2022-10-03T22:22:04.860Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T22:22:04.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T22:22:04.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:22:05.089Z] prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container [2022-10-03T22:22:05.116Z] $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T22:22:07.253Z] $ docker top 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:22:07.709Z] ---> job-cost.sh [2022-10-03T22:22:07.709Z] lf-activate-venv: SKIPPING [2022-10-03T22:22:07.709Z] INFO: No Stack... [2022-10-03T22:22:08.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T22:22:08.544Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T22:22:08.860Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/cost.csv [2022-10-03T22:22:08.860Z] cut -d, -f6 [Pipeline] lock [2022-10-03T22:22:08.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [2022-10-03T22:22:08.905Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] did not exist. Created. [2022-10-03T22:22:08.905Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T22:22:09.295Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T22:22:09.343Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T22:22:09.368Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T22:22:09.443Z] $ docker stop --time=1 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 [2022-10-03T22:22:10.589Z] $ docker rm -f 0c01fe59295110b76dbf024e12a976bb1cd28c0fc77f482010890823c2959ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T22:22:17.315Z] provisioning config files... [2022-10-03T22:22:17.341Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5848448892771860726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:22:17.720Z] ---> docker-login.sh [2022-10-03T22:22:17.720Z] nexus3.edgexfoundry.org:10001 [2022-10-03T22:22:17.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:22:18.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:22:18.260Z] Configure a credential helper to remove this warning. See [2022-10-03T22:22:18.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:22:18.260Z] [2022-10-03T22:22:18.260Z] Login Succeeded [2022-10-03T22:22:18.260Z] nexus3.edgexfoundry.org:10002 [2022-10-03T22:22:18.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:22:18.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:22:18.798Z] Configure a credential helper to remove this warning. See [2022-10-03T22:22:18.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:22:18.798Z] [2022-10-03T22:22:18.798Z] Login Succeeded [2022-10-03T22:22:18.798Z] nexus3.edgexfoundry.org:10003 [2022-10-03T22:22:18.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:22:19.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:22:19.068Z] Configure a credential helper to remove this warning. See [2022-10-03T22:22:19.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:22:19.068Z] [2022-10-03T22:22:19.068Z] Login Succeeded [2022-10-03T22:22:19.068Z] nexus3.edgexfoundry.org:10004 [2022-10-03T22:22:19.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:22:19.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:22:19.338Z] Configure a credential helper to remove this warning. See [2022-10-03T22:22:19.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:22:19.338Z] [2022-10-03T22:22:19.338Z] Login Succeeded [2022-10-03T22:22:19.338Z] docker.io [2022-10-03T22:22:19.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T22:22:19.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T22:22:19.872Z] Configure a credential helper to remove this warning. See [2022-10-03T22:22:19.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T22:22:19.872Z] [2022-10-03T22:22:19.872Z] Login Succeeded [2022-10-03T22:22:19.872Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T22:22:19.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T22:22:20.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T22:22:20.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T22:22:20.249Z] ========================================================= [2022-10-03T22:22:20.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T22:22:20.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:22:20.742Z] + 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-03T22:22:21.009Z] Sending build context to Docker daemon 5.392MB [2022-10-03T22:22:21.009Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T22:22:21.009Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-03T22:22:21.278Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T22:22:21.278Z] b3c136eddcbf: Pulling fs layer [2022-10-03T22:22:21.278Z] c0a3192eca97: Pulling fs layer [2022-10-03T22:22:21.278Z] a050256f5b6f: Pulling fs layer [2022-10-03T22:22:21.278Z] 656be50a0ddc: Pulling fs layer [2022-10-03T22:22:21.278Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T22:22:21.278Z] f607e4fc86c3: Pulling fs layer [2022-10-03T22:22:21.278Z] 4d572c569a2c: Pulling fs layer [2022-10-03T22:22:21.278Z] fcf976331f73: Pulling fs layer [2022-10-03T22:22:21.278Z] 4d572c569a2c: Waiting [2022-10-03T22:22:21.278Z] f607e4fc86c3: Waiting [2022-10-03T22:22:21.278Z] fcf976331f73: Waiting [2022-10-03T22:22:21.278Z] 2bbca73fdf42: Waiting [2022-10-03T22:22:21.278Z] 656be50a0ddc: Waiting [2022-10-03T22:22:21.278Z] a050256f5b6f: Verifying Checksum [2022-10-03T22:22:21.278Z] a050256f5b6f: Download complete [2022-10-03T22:22:21.278Z] c0a3192eca97: Verifying Checksum [2022-10-03T22:22:21.278Z] c0a3192eca97: Download complete [2022-10-03T22:22:21.278Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T22:22:21.278Z] 2bbca73fdf42: Download complete [2022-10-03T22:22:21.278Z] f607e4fc86c3: Verifying Checksum [2022-10-03T22:22:21.278Z] f607e4fc86c3: Download complete [2022-10-03T22:22:21.278Z] b3c136eddcbf: Verifying Checksum [2022-10-03T22:22:21.278Z] b3c136eddcbf: Download complete [2022-10-03T22:22:22.253Z] b3c136eddcbf: Pull complete [2022-10-03T22:22:22.253Z] fcf976331f73: Verifying Checksum [2022-10-03T22:22:22.253Z] fcf976331f73: Download complete [2022-10-03T22:22:22.842Z] c0a3192eca97: Pull complete [2022-10-03T22:22:23.117Z] a050256f5b6f: Pull complete [2022-10-03T22:22:23.392Z] 4d572c569a2c: Verifying Checksum [2022-10-03T22:22:23.392Z] 4d572c569a2c: Download complete [2022-10-03T22:22:24.365Z] 656be50a0ddc: Verifying Checksum [2022-10-03T22:22:24.365Z] 656be50a0ddc: Download complete [2022-10-03T22:22:36.705Z] 656be50a0ddc: Pull complete [2022-10-03T22:22:36.705Z] 2bbca73fdf42: Pull complete [2022-10-03T22:22:36.705Z] f607e4fc86c3: Pull complete [2022-10-03T22:22:43.371Z] 4d572c569a2c: Pull complete [2022-10-03T22:22:44.337Z] fcf976331f73: Pull complete [2022-10-03T22:22:44.337Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T22:22:44.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T22:22:44.337Z] ---> 3970a7415f9e [2022-10-03T22:22:44.337Z] Step 3/11 : ARG MAKE=make build [2022-10-03T22:22:46.289Z] ---> Running in 85a1a5250179 [2022-10-03T22:22:46.559Z] Removing intermediate container 85a1a5250179 [2022-10-03T22:22:46.559Z] ---> 8d460b0f477c [2022-10-03T22:22:46.559Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-03T22:22:46.559Z] ---> Running in 89e729ddcaa7 [2022-10-03T22:22:46.828Z] Removing intermediate container 89e729ddcaa7 [2022-10-03T22:22:46.828Z] ---> e3c000731421 [2022-10-03T22:22:46.828Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:22:47.096Z] ---> Running in efdbd3d0135f [2022-10-03T22:22:47.363Z] Removing intermediate container efdbd3d0135f [2022-10-03T22:22:47.363Z] ---> 3c13e01987f5 [2022-10-03T22:22:47.363Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:22:47.363Z] ---> Running in 3f512b1fdd16 [2022-10-03T22:22:49.305Z] Removing intermediate container 3f512b1fdd16 [2022-10-03T22:22:49.305Z] ---> a7982f127973 [2022-10-03T22:22:49.305Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T22:22:49.306Z] ---> Running in fcc111a56cca [2022-10-03T22:22:49.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T22:22:50.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T22:22:51.799Z] OK: 221 MiB in 51 packages [2022-10-03T22:22:52.386Z] Removing intermediate container fcc111a56cca [2022-10-03T22:22:52.386Z] ---> afc640876c93 [2022-10-03T22:22:52.386Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-03T22:22:52.971Z] ---> 0c359701b703 [2022-10-03T22:22:52.971Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T22:22:52.971Z] ---> Running in f540807ed370 [2022-10-03T22:23:49.392Z] Removing intermediate container f540807ed370 [2022-10-03T22:23:49.392Z] ---> 576729e2081d [2022-10-03T22:23:49.392Z] Step 10/11 : COPY . . [2022-10-03T22:23:49.392Z] ---> b601a2793aa4 [2022-10-03T22:23:49.392Z] Step 11/11 : RUN ${MAKE} [2022-10-03T22:23:49.392Z] ---> Running in 9b2b43eb8330 [2022-10-03T22:23:49.392Z] noop [2022-10-03T22:23:49.392Z] Removing intermediate container 9b2b43eb8330 [2022-10-03T22:23:49.392Z] ---> 85e42808884e [2022-10-03T22:23:49.392Z] Successfully built 85e42808884e [2022-10-03T22:23:49.392Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:23:49.858Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T22:23:49.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:23:50.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container [2022-10-03T22:23:50.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T22:23:51.375Z] $ docker top 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T22:23:52.242Z] + go version [2022-10-03T22:23:52.242Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T22:23:52.283Z] $ docker stop --time=1 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 [2022-10-03T22:23:53.911Z] $ docker rm -f 808f7f76be8ae17619c745b3608ea92a7a813071a6c6d67d9a92dafdb00bec04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:23:54.733Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T22:23:54.734Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:23:54.988Z] prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container [2022-10-03T22:23:55.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T22:23:56.224Z] $ docker top c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T22:23:56.778Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T22:23:57.424Z] + make test [2022-10-03T22:23:57.424Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-03T22:24:29.651Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-03T22:26:21.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements [2022-10-03T22:26:21.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.485s coverage: 78.9% of statements [2022-10-03T22:26:21.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-03T22:26:27.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.788s coverage: 60.0% of statements [2022-10-03T22:26:27.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-03T22:26:27.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-03T22:26:34.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.853s coverage: 54.4% of statements [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-03T22:26:34.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.715s coverage: 65.1% of statements [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-03T22:26:34.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.978s coverage: 89.2% of statements [2022-10-03T22:26:34.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-03T22:26:36.048Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.232s coverage: 4.7% of statements [2022-10-03T22:26:36.048Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-03T22:26:37.008Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T22:26:37.008Z] GO111MODULE=on go vet ./... [2022-10-03T22:28:13.681Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T22:28:13.681Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T22:28:13.681Z] ./bin/test-attribution-txt.sh [2022-10-03T22:28:13.681Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-03T22:28:13.681Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-03T22:28:13.681Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-03T22:28:13.681Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-03T22:28:13.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T22:28:13.766Z] $ docker stop --time=1 c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa [2022-10-03T22:28:15.687Z] $ docker rm -f c2169542ad383fcd755c2742930262088ee92065b474b544025f9b9f7f3e1efa [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T22:28:17.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T22:28:17.110Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T22:28:17.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T22:28:18.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T22:28:18.610Z] + ls -al . [2022-10-03T22:28:18.610Z] total 272 [2022-10-03T22:28:18.610Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 22:23 . [2022-10-03T22:28:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:21 .. [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 22:21 .dockerignore [2022-10-03T22:28:18.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 22:21 .git [2022-10-03T22:28:18.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:21 .github [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 3 22:21 .gitignore [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 22:21 .golangci.yml [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 3 22:21 CHANGELOG.md [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 22:21 GOVERNANCE.md [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 3 22:21 Jenkinsfile [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 22:21 LICENSE [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 3 22:21 Makefile [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 22:21 OWNERS.md [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 3 22:21 README.md [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 22:20 VERSION [2022-10-03T22:28:18.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 22:21 bin [2022-10-03T22:28:18.610Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 3 22:26 coverage.out [2022-10-03T22:28:18.610Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 22:21 example [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 3 22:21 go.mod [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 3 22:21 go.sum [2022-10-03T22:28:18.610Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 3 22:21 internal [2022-10-03T22:28:18.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 22:21 openapi [2022-10-03T22:28:18.610Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 22:21 pkg [2022-10-03T22:28:18.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 22:21 snap [2022-10-03T22:28:18.610Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:28:19.020Z] + 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=94ac6d2266df18c991779d09973ee9ae491e9f24 --label arch=arm64 --label version=0.0.0 . [2022-10-03T22:28:19.605Z] Sending build context to Docker daemon 5.494MB [2022-10-03T22:28:19.605Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T22:28:19.605Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T22:28:19.605Z] ---> 85e42808884e [2022-10-03T22:28:19.605Z] Step 3/25 : ARG MAKE=make build [2022-10-03T22:28:19.605Z] ---> Running in e7064da0340e [2022-10-03T22:28:19.871Z] Removing intermediate container e7064da0340e [2022-10-03T22:28:19.871Z] ---> ef24f9c4542b [2022-10-03T22:28:19.871Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-03T22:28:19.871Z] ---> Running in 3fbb6135dcf7 [2022-10-03T22:28:20.141Z] Removing intermediate container 3fbb6135dcf7 [2022-10-03T22:28:20.141Z] ---> 48739e7eef9b [2022-10-03T22:28:20.141Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:28:20.409Z] ---> Running in c9ac73851651 [2022-10-03T22:28:20.678Z] Removing intermediate container c9ac73851651 [2022-10-03T22:28:20.678Z] ---> df01a7c5b61a [2022-10-03T22:28:20.678Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:28:20.678Z] ---> Running in e8a7252ce0da [2022-10-03T22:28:22.649Z] Removing intermediate container e8a7252ce0da [2022-10-03T22:28:22.649Z] ---> 48284bd55557 [2022-10-03T22:28:22.649Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-03T22:28:22.649Z] ---> Running in ad55f7be1d63 [2022-10-03T22:28:23.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T22:28:24.189Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T22:28:25.150Z] OK: 221 MiB in 51 packages [2022-10-03T22:28:26.120Z] Removing intermediate container ad55f7be1d63 [2022-10-03T22:28:26.120Z] ---> 93a5ae352957 [2022-10-03T22:28:26.120Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-03T22:28:26.387Z] ---> 67ab448d1351 [2022-10-03T22:28:26.387Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T22:28:26.387Z] ---> Running in c4368b8752ae [2022-10-03T22:28:28.331Z] Removing intermediate container c4368b8752ae [2022-10-03T22:28:28.331Z] ---> e1413ac0bd8b [2022-10-03T22:28:28.331Z] Step 10/25 : COPY . . [2022-10-03T22:28:29.739Z] ---> 29019bf54ee6 [2022-10-03T22:28:29.739Z] Step 11/25 : RUN ${MAKE} [2022-10-03T22:28:29.739Z] ---> Running in 01e9ca9b395c [2022-10-03T22:28:30.321Z] 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-03T22:30:36.974Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-03T22:30:36.974Z] Removing intermediate container 01e9ca9b395c [2022-10-03T22:30:36.974Z] ---> 599bb1d5ee8c [2022-10-03T22:30:36.974Z] Step 12/25 : FROM alpine:3.16 [2022-10-03T22:30:36.974Z] 3.16: Pulling from library/alpine [2022-10-03T22:30:36.974Z] 9b18e9b68314: Pulling fs layer [2022-10-03T22:30:36.974Z] 9b18e9b68314: Verifying Checksum [2022-10-03T22:30:36.974Z] 9b18e9b68314: Download complete [2022-10-03T22:30:37.242Z] 9b18e9b68314: Pull complete [2022-10-03T22:30:37.242Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T22:30:37.242Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T22:30:37.242Z] ---> a6215f271958 [2022-10-03T22:30:37.242Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T22:30:37.242Z] ---> Running in 7451f40055a6 [2022-10-03T22:30:37.513Z] Removing intermediate container 7451f40055a6 [2022-10-03T22:30:37.513Z] ---> 1325590e2b1b [2022-10-03T22:30:37.513Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T22:30:37.788Z] ---> Running in dc512e5ae9da [2022-10-03T22:30:39.208Z] Removing intermediate container dc512e5ae9da [2022-10-03T22:30:39.208Z] ---> ce1c602e8ae1 [2022-10-03T22:30:39.208Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-03T22:30:39.208Z] ---> Running in befb77af164d [2022-10-03T22:30:40.166Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T22:30:41.125Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T22:30:42.082Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T22:30:42.082Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-03T22:30:42.350Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T22:30:42.350Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-03T22:30:42.350Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-03T22:30:42.616Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T22:30:42.616Z] OK: 8 MiB in 19 packages [2022-10-03T22:30:43.580Z] Removing intermediate container befb77af164d [2022-10-03T22:30:43.580Z] ---> ad3324351930 [2022-10-03T22:30:43.580Z] Step 16/25 : WORKDIR / [2022-10-03T22:30:43.580Z] ---> Running in 28154f6cb151 [2022-10-03T22:30:43.846Z] Removing intermediate container 28154f6cb151 [2022-10-03T22:30:43.846Z] ---> 309e8ec7d9c8 [2022-10-03T22:30:43.846Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-03T22:30:44.428Z] ---> 55e3f59b3523 [2022-10-03T22:30:44.428Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-03T22:30:45.835Z] ---> ecb82b1742f2 [2022-10-03T22:30:45.835Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-03T22:30:46.101Z] ---> 7f8d990e76ae [2022-10-03T22:30:46.101Z] Step 20/25 : EXPOSE 59999 [2022-10-03T22:30:46.101Z] ---> Running in d4df16456f6f [2022-10-03T22:30:46.371Z] Removing intermediate container d4df16456f6f [2022-10-03T22:30:46.371Z] ---> 27a96121d8c2 [2022-10-03T22:30:46.371Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-03T22:30:46.640Z] ---> Running in 04c0fec5ec2f [2022-10-03T22:30:46.906Z] Removing intermediate container 04c0fec5ec2f [2022-10-03T22:30:46.906Z] ---> 42e0b7639dbf [2022-10-03T22:30:46.906Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T22:30:46.906Z] ---> Running in b9cc807f3834 [2022-10-03T22:30:47.174Z] Removing intermediate container b9cc807f3834 [2022-10-03T22:30:47.174Z] ---> 549ff2e1c359 [2022-10-03T22:30:47.174Z] Step 23/25 : LABEL arch=arm64 [2022-10-03T22:30:47.174Z] ---> Running in 5aaa3534475e [2022-10-03T22:30:47.443Z] Removing intermediate container 5aaa3534475e [2022-10-03T22:30:47.443Z] ---> 654d9070ac09 [2022-10-03T22:30:47.443Z] Step 24/25 : LABEL git_sha=94ac6d2266df18c991779d09973ee9ae491e9f24 [2022-10-03T22:30:47.711Z] ---> Running in 3e9d988bc6a1 [2022-10-03T22:30:47.979Z] Removing intermediate container 3e9d988bc6a1 [2022-10-03T22:30:47.979Z] ---> 4c36a80c2683 [2022-10-03T22:30:47.979Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T22:30:47.979Z] ---> Running in c3b3f06dec4a [2022-10-03T22:30:48.246Z] Removing intermediate container c3b3f06dec4a [2022-10-03T22:30:48.246Z] ---> b201bd6655c2 [2022-10-03T22:30:48.246Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T22:30:48.246Z] Successfully built b201bd6655c2 [2022-10-03T22:30:48.246Z] 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-03T22:30:49.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T22:30:49.030Z] [2022-10-03T22:30:49.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:30:49.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T22:30:49.440Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T22:30:49.440Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T22:30:49.440Z] 04944245beec: Pulling fs layer [2022-10-03T22:30:49.440Z] 699f458cf7ca: Pulling fs layer [2022-10-03T22:30:49.440Z] 765212b225bb: Pulling fs layer [2022-10-03T22:30:49.440Z] f23df028b6ca: Pulling fs layer [2022-10-03T22:30:49.440Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T22:30:49.440Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T22:30:49.440Z] f23df028b6ca: Waiting [2022-10-03T22:30:49.440Z] d65c8cfc05b1: Waiting [2022-10-03T22:30:49.440Z] 2437ff75d9bd: Waiting [2022-10-03T22:30:49.440Z] 765212b225bb: Waiting [2022-10-03T22:30:49.707Z] 04944245beec: Verifying Checksum [2022-10-03T22:30:49.707Z] 04944245beec: Download complete [2022-10-03T22:30:49.707Z] 765212b225bb: Verifying Checksum [2022-10-03T22:30:49.707Z] 765212b225bb: Download complete [2022-10-03T22:30:49.707Z] f23df028b6ca: Verifying Checksum [2022-10-03T22:30:49.707Z] f23df028b6ca: Download complete [2022-10-03T22:30:49.707Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T22:30:49.707Z] d65c8cfc05b1: Download complete [2022-10-03T22:30:49.707Z] 699f458cf7ca: Verifying Checksum [2022-10-03T22:30:49.707Z] 699f458cf7ca: Download complete [2022-10-03T22:30:50.291Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T22:30:50.291Z] 8998bd30e6a1: Download complete [2022-10-03T22:30:52.869Z] 2437ff75d9bd: Download complete [2022-10-03T22:30:54.274Z] 8998bd30e6a1: Pull complete [2022-10-03T22:30:54.541Z] 04944245beec: Pull complete [2022-10-03T22:30:55.945Z] 699f458cf7ca: Pull complete [2022-10-03T22:30:55.945Z] 765212b225bb: Pull complete [2022-10-03T22:30:56.526Z] f23df028b6ca: Pull complete [2022-10-03T22:30:56.793Z] d65c8cfc05b1: Pull complete [2022-10-03T22:31:11.778Z] 2437ff75d9bd: Pull complete [2022-10-03T22:31:11.778Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T22:31:11.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T22:31:11.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:31:12.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-6945 does not seem to be running inside a container [2022-10-03T22:31:12.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T22:31:14.802Z] $ docker top 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:15.369Z] ---> job-cost.sh [2022-10-03T22:31:15.634Z] lf-activate-venv: SKIPPING [2022-10-03T22:31:15.634Z] INFO: No Stack... [2022-10-03T22:31:16.210Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T22:31:17.164Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T22:31:17.498Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-03T22:31:17.498Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T22:31:17.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [2022-10-03T22:31:17.841Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] did not exist. Created. [2022-10-03T22:31:17.842Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T22:31:18.247Z] /w/workspace/device-sdk-go/1@tmp/durable-429fd064/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T22:31:18.592Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T22:31:18.625Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T22:31:18.680Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T22:31:18.695Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T22:31:18.781Z] $ docker stop --time=1 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 [2022-10-03T22:31:20.267Z] $ docker rm -f 859cb90d1c702da37bbe3576a586abc6e9384a79bb7d9f87c36afd3a28c7dad0 [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-03T22:31:21.247Z] provisioning config files... [2022-10-03T22:31:21.256Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config3555368958675690300tmp [Pipeline] { [Pipeline] sh [2022-10-03T22:31:21.583Z] + set +x [2022-10-03T22:31:21.583Z] + curl -s https://codecov.io/bash [2022-10-03T22:31:21.583Z] + bash -s -- [2022-10-03T22:31:21.583Z] [2022-10-03T22:31:21.583Z] _____ _ [2022-10-03T22:31:21.583Z] / ____| | | [2022-10-03T22:31:21.583Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T22:31:21.583Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T22:31:21.583Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T22:31:21.583Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T22:31:21.583Z] Bash-1.0.6 [2022-10-03T22:31:21.583Z] [2022-10-03T22:31:21.583Z] [2022-10-03T22:31:21.583Z] ==> git version 2.25.1 found [2022-10-03T22:31:21.583Z] ==> 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-03T22:31:21.583Z] Release-Date: 2020-01-08 [2022-10-03T22:31:21.583Z] 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-03T22:31:21.583Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T22:31:21.583Z] ==> Jenkins CI detected. [2022-10-03T22:31:21.583Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1226 [2022-10-03T22:31:21.583Z] project root: . [2022-10-03T22:31:21.583Z] --> token set from env [2022-10-03T22:31:21.583Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T22:31:21.583Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T22:31:21.583Z] ==> Python coveragepy not found [2022-10-03T22:31:21.583Z] ==> Searching for coverage reports in: [2022-10-03T22:31:21.583Z] + . [2022-10-03T22:31:21.583Z] -> Found 1 reports [2022-10-03T22:31:21.583Z] ==> Detecting git/mercurial file structure [2022-10-03T22:31:21.583Z] ==> Reading reports [2022-10-03T22:31:21.583Z] + ./coverage.out bytes=101009 [2022-10-03T22:31:21.583Z] ==> Appending adjustments [2022-10-03T22:31:21.583Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T22:31:22.150Z] + Found adjustments [2022-10-03T22:31:22.150Z] ==> Gzipping contents [2022-10-03T22:31:22.150Z] 16K /tmp/codecov.bFT5pZ.gz [2022-10-03T22:31:22.150Z] ==> Uploading reports [2022-10-03T22:31:22.150Z] url: https://codecov.io [2022-10-03T22:31:22.150Z] query: branch=PR-1226&commit=94ac6d2266df18c991779d09973ee9ae491e9f24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= [2022-10-03T22:31:22.150Z] -> Pinging Codecov [2022-10-03T22:31:22.150Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1226&commit=94ac6d2266df18c991779d09973ee9ae491e9f24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= [2022-10-03T22:31:23.088Z] -> Uploading to [2022-10-03T22:31:23.088Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/7E55EF52A471D76F132DFD9A03CDDE97/94ac6d2266df18c991779d09973ee9ae491e9f24/ea9147fa-1ab9-4252-a9c9-9d6d66bca04e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T223122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79ec7dc091cbdf89f4b741e44485e0134ef6f1c1d4fe1a75591daa55edc96237 [2022-10-03T22:31:23.088Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T22:31:23.088Z] Dload Upload Total Spent Left Speed [2022-10-03T22:31:23.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14585 0 0 100 14585 0 62596 --:--:-- --:--:-- --:--:-- 62596 [2022-10-03T22:31:23.347Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/94ac6d2266df18c991779d09973ee9ae491e9f24 [Pipeline] } [2022-10-03T22:31:23.374Z] 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-03T22:31:25.094Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives ] [2022-10-03T22:31:25.095Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-03T22:31:25.095Z] total 16 [2022-10-03T22:31:25.095Z] drwxr-xr-x 3 root root 4096 Oct 3 22:22 . [2022-10-03T22:31:25.095Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 22:22 .. [2022-10-03T22:31:25.095Z] drwxr-xr-x 2 root root 4096 Oct 3 22:22 cost [2022-10-03T22:31:25.095Z] -rw-r--r-- 1 root root 86 Oct 3 22:22 cost.csv [2022-10-03T22:31:25.095Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-03T22:31:25.095Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-03T22:31:25.095Z] total 16 [2022-10-03T22:31:25.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 22:22 . [2022-10-03T22:31:25.095Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 22:22 .. [2022-10-03T22:31:25.095Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 22:22 cost [2022-10-03T22:31:25.095Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 22:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:25.418Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:26.297Z] ---> package-listing.sh [2022-10-03T22:31:26.297Z] ++ facter osfamily [2022-10-03T22:31:26.297Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T22:31:26.556Z] + OS_FAMILY=debian [2022-10-03T22:31:26.556Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1226 [2022-10-03T22:31:26.556Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T22:31:26.556Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T22:31:26.556Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T22:31:26.556Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T22:31:26.556Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' [2022-10-03T22:31:26.556Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T22:31:26.556Z] + case "${OS_FAMILY}" in [2022-10-03T22:31:26.556Z] + dpkg -l [2022-10-03T22:31:26.556Z] + grep '^ii' [2022-10-03T22:31:26.556Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T22:31:26.556Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T22:31:26.556Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T22:31:26.556Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' [2022-10-03T22:31:26.556Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [2022-10-03T22:31:26.556Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [Pipeline] echo [2022-10-03T22:31:26.587Z] 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-1226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T22:31:26.877Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T22:31:27.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T22:31:27.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T22:31:27.623Z] prd-ubuntu20.04-docker-8c-8g-6944 does not seem to be running inside a container [2022-10-03T22:31:27.650Z] $ 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-1226/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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T22:31:27.827Z] $ docker top 9350b8e4da2640ec8c5ef72faa119f6031c0f89d4aba5b0e0ce0e5099ecf57d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T22:31:28.206Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T22:31:28.511Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T22:31:28.819Z] + ls /var/log/sa-host [2022-10-03T22:31:28.819Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T22:31:29.021Z] provisioning config files... [2022-10-03T22:31:29.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config125962634706585618tmp [Pipeline] { [Pipeline] echo [2022-10-03T22:31:29.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:29.390Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T22:31:29.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:29.819Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T22:31:29.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:30.159Z] ---> sudo-logs.sh [2022-10-03T22:31:30.159Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T22:31:30.243Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:30.551Z] ---> job-cost.sh [2022-10-03T22:31:30.551Z] lf-activate-venv: SKIPPING [2022-10-03T22:31:30.551Z] DEBUG: total: 0.2199999988079071 [2022-10-03T22:31:30.551Z] INFO: Retrieving Stack Cost... [2022-10-03T22:31:31.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T22:31:31.379Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T22:31:31.410Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T22:31:31.717Z] ---> logs-deploy.sh [2022-10-03T22:31:31.717Z] lf-activate-venv: SKIPPING [2022-10-03T22:31:31.717Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1226/1 [2022-10-03T22:31:31.717Z] INFO: archiving workspace using pattern(s): [2022-10-03T22:31:32.666Z] Archives upload complete. [2022-10-03T22:31:32.666Z] INFO: archiving logs to Nexus