Pull request #1258 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a81fe95d70c4864c7c3b07bc307e4797ff811bbc+b76771b07adf0b8c2e38dd8a749adeac8b55b549 (2f9ae0ad8c6f62db2ad58ed89f94732cf1cee349) 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-ssh3411627747866224921.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5647066915089205238.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1258/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-1258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16149503642563918643.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-1258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9635760913542047546.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12945289983390268317.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-1258/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-1258/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6884906329180796848.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118531 in /w/workspace/gexfoundry_device-sdk-go_PR-1258 [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-1258 # 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/1258/head:refs/remotes/origin/PR-1258 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit a81fe95d70c4864c7c3b07bc307e4797ff811bbc Merge succeeded, producing a81fe95d70c4864c7c3b07bc307e4797ff811bbc Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (PR-1258) Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T22:55:29.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [Pipeline] withCredentials [2022-11-07T22:55:29.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T22:55:29.316Z] ========================================================= [2022-11-07T22:55:29.316Z] EdgeX Global Pipelines Version Info [2022-11-07T22:55:29.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:55:30.424Z] ------------------- [2022-11-07T22:55:30.424Z] stable info: [2022-11-07T22:55:30.424Z] ------------------- [2022-11-07T22:55:30.424Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T22:55:30.424Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T22:55:30.424Z] Message: update stable to v1.0.244 [2022-11-07T22:55:30.685Z] ------------------- [2022-11-07T22:55:30.685Z] experimental info: [2022-11-07T22:55:30.685Z] ------------------- [2022-11-07T22:55:30.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T22:55:30.685Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T22:55:30.685Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T22:55:30.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-07T22:55:31.002Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-07T22:55:31.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T22:55:31.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T22:55:31.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T22:55:31.167Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T22:55:31.206Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T22:55:31.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-07T22:55:31.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T22:55:31.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T22:55:31.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T22:55:31.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-07T22:55:31.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T22:55:31.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T22:55:31.595Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T22:55:31.628Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T22:55:31.666Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T22:55:31.703Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T22:55:31.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T22:55:31.791Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T22:55:31.829Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-07T22:55:31.873Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-07T22:55:31.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T22:55:31.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T22:55:31.997Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T22:55:32.050Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T22:55:32.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T22:55:32.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1258 [Pipeline] echo [2022-11-07T22:55:32.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1258 [Pipeline] echo [2022-11-07T22:55:32.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1258 [Pipeline] echo [2022-11-07T22:55:32.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-07T22:55:32.299Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a81fe95 [Pipeline] echo [2022-11-07T22:55:32.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:55:32.532Z] provisioning config files... [2022-11-07T22:55:32.562Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config11231742782777657872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:55:32.904Z] ---> docker-login.sh [2022-11-07T22:55:32.904Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:55:33.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:33.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:33.164Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:33.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:33.164Z] [2022-11-07T22:55:33.164Z] Login Succeeded [2022-11-07T22:55:33.164Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:55:33.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:33.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:33.164Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:33.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:33.164Z] [2022-11-07T22:55:33.164Z] Login Succeeded [2022-11-07T22:55:33.164Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:55:33.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:33.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:33.424Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:33.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:33.424Z] [2022-11-07T22:55:33.424Z] Login Succeeded [2022-11-07T22:55:33.424Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:55:33.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:33.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:33.424Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:33.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:33.424Z] [2022-11-07T22:55:33.424Z] Login Succeeded [2022-11-07T22:55:33.424Z] docker.io [2022-11-07T22:55:33.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:34.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:34.003Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:34.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:34.003Z] [2022-11-07T22:55:34.003Z] Login Succeeded [2022-11-07T22:55:34.003Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:55:34.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T22:55:34.618Z] + git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-07T22:55:34.663Z] -----------> git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc a81fe95d70c4864c7c3b07bc307e4797ff811bbc [false] [Pipeline] sh [2022-11-07T22:55:34.977Z] + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-07T22:55:35.010Z] ========================================================= [2022-11-07T22:55:35.010Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T22:55:35.010Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T22:55:35.446Z] + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-07T22:55:35.474Z] [semverPrep] GIT_COMMIT: a81fe95d70c4864c7c3b07bc307e4797ff811bbc, Commit Message: ci: automated version changes for OpenAPI version: [2.4.0] [Pipeline] echo [2022-11-07T22:55:35.503Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T22:55:35.878Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T22:55:35.878Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T22:55:35.878Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T22:55:35.878Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T22:55:35.878Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T22:55:35.878Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T22:55:35.878Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:55:36.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:55:36.289Z] [2022-11-07T22:55:36.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:55:36.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:55:36.668Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T22:55:36.668Z] b85a868b505f: Pulling fs layer [2022-11-07T22:55:36.668Z] e2be974225ed: Pulling fs layer [2022-11-07T22:55:36.668Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T22:55:36.668Z] 988bab9f4d93: Pulling fs layer [2022-11-07T22:55:36.668Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T22:55:36.668Z] eaf3925da568: Pulling fs layer [2022-11-07T22:55:36.668Z] bab4dde63d76: Pulling fs layer [2022-11-07T22:55:36.668Z] bde34c3a00c8: Pulling fs layer [2022-11-07T22:55:36.668Z] b352a97aabf1: Pulling fs layer [2022-11-07T22:55:36.668Z] 4872d77fe225: Pulling fs layer [2022-11-07T22:55:36.668Z] 5851b861e8e6: Pulling fs layer [2022-11-07T22:55:36.668Z] 988bab9f4d93: Waiting [2022-11-07T22:55:36.668Z] 1469e6f7b9e6: Waiting [2022-11-07T22:55:36.668Z] eaf3925da568: Waiting [2022-11-07T22:55:36.668Z] bab4dde63d76: Waiting [2022-11-07T22:55:36.668Z] bde34c3a00c8: Waiting [2022-11-07T22:55:36.668Z] 4872d77fe225: Waiting [2022-11-07T22:55:36.668Z] 5851b861e8e6: Waiting [2022-11-07T22:55:36.668Z] b352a97aabf1: Waiting [2022-11-07T22:55:36.668Z] e2be974225ed: Verifying Checksum [2022-11-07T22:55:36.668Z] e2be974225ed: Download complete [2022-11-07T22:55:36.668Z] 988bab9f4d93: Verifying Checksum [2022-11-07T22:55:36.668Z] 988bab9f4d93: Download complete [2022-11-07T22:55:36.929Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T22:55:36.929Z] 1469e6f7b9e6: Download complete [2022-11-07T22:55:36.929Z] eaf3925da568: Verifying Checksum [2022-11-07T22:55:36.929Z] eaf3925da568: Download complete [2022-11-07T22:55:36.929Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T22:55:36.929Z] 339a4e72a1f5: Download complete [2022-11-07T22:55:36.929Z] bde34c3a00c8: Verifying Checksum [2022-11-07T22:55:36.929Z] bde34c3a00c8: Download complete [2022-11-07T22:55:36.929Z] b352a97aabf1: Verifying Checksum [2022-11-07T22:55:36.929Z] b352a97aabf1: Download complete [2022-11-07T22:55:36.929Z] 4872d77fe225: Verifying Checksum [2022-11-07T22:55:36.929Z] 4872d77fe225: Download complete [2022-11-07T22:55:36.929Z] 5851b861e8e6: Verifying Checksum [2022-11-07T22:55:36.929Z] 5851b861e8e6: Download complete [2022-11-07T22:55:36.929Z] b85a868b505f: Verifying Checksum [2022-11-07T22:55:36.929Z] b85a868b505f: Download complete [2022-11-07T22:55:37.189Z] bab4dde63d76: Verifying Checksum [2022-11-07T22:55:37.189Z] bab4dde63d76: Download complete [2022-11-07T22:55:38.123Z] b85a868b505f: Pull complete [2022-11-07T22:55:38.123Z] e2be974225ed: Pull complete [2022-11-07T22:55:38.695Z] 339a4e72a1f5: Pull complete [2022-11-07T22:55:38.695Z] 988bab9f4d93: Pull complete [2022-11-07T22:55:38.955Z] 1469e6f7b9e6: Pull complete [2022-11-07T22:55:38.955Z] eaf3925da568: Pull complete [2022-11-07T22:55:40.864Z] bab4dde63d76: Pull complete [2022-11-07T22:55:40.864Z] bde34c3a00c8: Pull complete [2022-11-07T22:55:40.864Z] b352a97aabf1: Pull complete [2022-11-07T22:55:40.864Z] 4872d77fe225: Pull complete [2022-11-07T22:55:40.864Z] 5851b861e8e6: Pull complete [2022-11-07T22:55:41.132Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T22:55:41.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:55:41.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:55:41.367Z] prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container [2022-11-07T22:55:41.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T22:55:42.926Z] $ docker top 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f -eo pid,comm [2022-11-07T22:55:42.976Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-07T22:55:42.976Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T22:55:43.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T22:55:43.103Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T22:55:43.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T22:55:43.216Z] $ docker exec 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent [2022-11-07T22:55:43.333Z] SSH_AUTH_SOCK=/tmp/ssh-3i3rRwsaLMuj/agent.32 [2022-11-07T22:55:43.333Z] SSH_AGENT_PID=38 [2022-11-07T22:55:43.339Z] Running ssh-add (command line suppressed) [2022-11-07T22:55:43.444Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_6009046767085130040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_6009046767085130040.key) [2022-11-07T22:55:43.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T22:55:43.788Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T22:55:43.817Z] $ docker exec --env ******** --env ******** 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent -k [2022-11-07T22:55:43.922Z] unset SSH_AUTH_SOCK; [2022-11-07T22:55:43.923Z] unset SSH_AGENT_PID; [2022-11-07T22:55:43.923Z] echo Agent pid 38 killed; [2022-11-07T22:55:43.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T22:55:44.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T22:55:44.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T22:55:44.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T22:55:44.132Z] $ docker exec 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent [2022-11-07T22:55:44.246Z] SSH_AUTH_SOCK=/tmp/ssh-TJvQHU6onqtB/agent.70 [2022-11-07T22:55:44.246Z] SSH_AGENT_PID=76 [2022-11-07T22:55:44.251Z] Running ssh-add (command line suppressed) [2022-11-07T22:55:44.343Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_7443202238700537922.key (/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_7443202238700537922.key) [2022-11-07T22:55:44.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T22:55:44.690Z] + git semver init [2022-11-07T22:55:44.951Z] 2022-11-07 22:55:44,874 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T22:55:44.951Z] 2022-11-07 22:55:44,875 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver [2022-11-07T22:55:44.951Z] 2022-11-07 22:55:44,875 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver [2022-11-07T22:55:44.951Z] 2022-11-07 22:55:44,876 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258, universal_newlines=False, shell=None, istream=None) [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,872 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.git/info/exclude [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 with force:False [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,873 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,877 [execute] INFO git cat-file --batch-check [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,884 [execute] INFO git cat-file --batch [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T22:55:45.893Z] 2022-11-07 22:55:45,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 [2022-11-07T22:55:45.893Z] 0.0.0 [Pipeline] } [2022-11-07T22:55:46.174Z] $ docker exec --env ******** --env ******** 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent -k [2022-11-07T22:55:46.259Z] unset SSH_AUTH_SOCK; [2022-11-07T22:55:46.259Z] unset SSH_AGENT_PID; [2022-11-07T22:55:46.259Z] echo Agent pid 76 killed; [2022-11-07T22:55:46.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T22:55:46.698Z] + git semver [Pipeline] } [2022-11-07T22:55:46.985Z] $ docker stop --time=1 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f [2022-11-07T22:55:48.309Z] $ docker rm -f 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T22:55:48.720Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T22:55:48.943Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T22:55:48.963Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:55:49.532Z] provisioning config files... [2022-11-07T22:55:49.541Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config580586771811550375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:55:49.886Z] ---> docker-login.sh [2022-11-07T22:55:49.886Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:55:49.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:49.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:49.886Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:49.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:49.886Z] [2022-11-07T22:55:49.886Z] Login Succeeded [2022-11-07T22:55:49.886Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:55:49.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:49.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:49.886Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:49.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:49.886Z] [2022-11-07T22:55:49.886Z] Login Succeeded [2022-11-07T22:55:49.886Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:55:50.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:50.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:50.145Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:50.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:50.145Z] [2022-11-07T22:55:50.145Z] Login Succeeded [2022-11-07T22:55:50.145Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:55:50.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:50.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:50.145Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:50.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:50.145Z] [2022-11-07T22:55:50.145Z] Login Succeeded [2022-11-07T22:55:50.145Z] docker.io [2022-11-07T22:55:50.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:55:50.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:55:50.665Z] Configure a credential helper to remove this warning. See [2022-11-07T22:55:50.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:55:50.665Z] [2022-11-07T22:55:50.665Z] Login Succeeded [2022-11-07T22:55:50.665Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:55:50.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T22:55:50.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:55:50.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:55:51.060Z] ========================================================= [2022-11-07T22:55:51.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T22:55:51.060Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:55:51.525Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T22:55:51.525Z] Sending build context to Docker daemon 10.13MB [2022-11-07T22:55:51.525Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T22:55:51.525Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T22:55:51.784Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T22:55:51.784Z] 213ec9aee27d: Pulling fs layer [2022-11-07T22:55:51.784Z] 4583459ba037: Pulling fs layer [2022-11-07T22:55:51.784Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T22:55:51.784Z] 53926ce57604: Pulling fs layer [2022-11-07T22:55:51.784Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T22:55:51.784Z] 22ff95d597cd: Pulling fs layer [2022-11-07T22:55:51.784Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T22:55:51.784Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T22:55:51.784Z] a7acece74701: Pulling fs layer [2022-11-07T22:55:51.784Z] 53926ce57604: Waiting [2022-11-07T22:55:51.784Z] 21b2b0c7a3f4: Waiting [2022-11-07T22:55:51.784Z] 22ff95d597cd: Waiting [2022-11-07T22:55:51.784Z] 12d6caf4c0d1: Waiting [2022-11-07T22:55:51.784Z] 96b7cbca73a9: Waiting [2022-11-07T22:55:51.784Z] a7acece74701: Waiting [2022-11-07T22:55:51.784Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T22:55:51.784Z] 93c1e223e6f2: Download complete [2022-11-07T22:55:51.784Z] 4583459ba037: Verifying Checksum [2022-11-07T22:55:51.784Z] 4583459ba037: Download complete [2022-11-07T22:55:51.784Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T22:55:51.784Z] 21b2b0c7a3f4: Download complete [2022-11-07T22:55:51.784Z] 22ff95d597cd: Verifying Checksum [2022-11-07T22:55:51.784Z] 22ff95d597cd: Download complete [2022-11-07T22:55:51.784Z] 213ec9aee27d: Download complete [2022-11-07T22:55:52.046Z] 12d6caf4c0d1: Download complete [2022-11-07T22:55:52.046Z] 213ec9aee27d: Pull complete [2022-11-07T22:55:52.046Z] 4583459ba037: Pull complete [2022-11-07T22:55:52.311Z] 93c1e223e6f2: Pull complete [2022-11-07T22:55:52.311Z] a7acece74701: Verifying Checksum [2022-11-07T22:55:52.311Z] a7acece74701: Download complete [2022-11-07T22:55:52.569Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T22:55:52.569Z] 96b7cbca73a9: Download complete [2022-11-07T22:55:52.569Z] 53926ce57604: Verifying Checksum [2022-11-07T22:55:52.569Z] 53926ce57604: Download complete [2022-11-07T22:55:56.767Z] 53926ce57604: Pull complete [2022-11-07T22:55:56.767Z] 21b2b0c7a3f4: Pull complete [2022-11-07T22:55:56.767Z] 22ff95d597cd: Pull complete [2022-11-07T22:55:56.767Z] 12d6caf4c0d1: Pull complete [2022-11-07T22:55:58.670Z] 96b7cbca73a9: Pull complete [2022-11-07T22:55:59.613Z] a7acece74701: Pull complete [2022-11-07T22:55:59.613Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T22:55:59.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T22:55:59.613Z] ---> db6d94c90886 [2022-11-07T22:55:59.613Z] Step 3/10 : ARG MAKE=make build [2022-11-07T22:56:00.996Z] ---> Running in a4da57bec164 [2022-11-07T22:56:01.254Z] Removing intermediate container a4da57bec164 [2022-11-07T22:56:01.254Z] ---> 62145f65e581 [2022-11-07T22:56:01.254Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-07T22:56:01.254Z] ---> Running in b9de2f480d0e [2022-11-07T22:56:01.254Z] Removing intermediate container b9de2f480d0e [2022-11-07T22:56:01.254Z] ---> 07f3a92cf225 [2022-11-07T22:56:01.254Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T22:56:01.513Z] ---> Running in 2bbc088b3976 [2022-11-07T22:56:01.513Z] Removing intermediate container 2bbc088b3976 [2022-11-07T22:56:01.513Z] ---> 9cf26239619d [2022-11-07T22:56:01.513Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T22:56:01.513Z] ---> Running in e3b7ac57d3e3 [2022-11-07T22:56:01.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:56:02.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:56:02.298Z] OK: 211 MiB in 51 packages [2022-11-07T22:56:02.557Z] Removing intermediate container e3b7ac57d3e3 [2022-11-07T22:56:02.557Z] ---> d9f8e391a784 [2022-11-07T22:56:02.557Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T22:56:02.557Z] ---> 94af5b536a58 [2022-11-07T22:56:02.557Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T22:56:02.815Z] ---> Running in d8c7d2575f28 [2022-11-07T22:56:04.350Z] Still waiting to schedule task [2022-11-07T22:56:04.351Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-07T22:56:20.902Z] Removing intermediate container d8c7d2575f28 [2022-11-07T22:56:20.902Z] ---> 72152aaba11f [2022-11-07T22:56:20.902Z] Step 9/10 : COPY . . [2022-11-07T22:56:20.902Z] ---> 7cc6a70a21bc [2022-11-07T22:56:20.902Z] Step 10/10 : RUN ${MAKE} [2022-11-07T22:56:20.902Z] ---> Running in 471bd98a14da [2022-11-07T22:56:20.902Z] noop [2022-11-07T22:56:20.902Z] Removing intermediate container 471bd98a14da [2022-11-07T22:56:20.903Z] ---> 59458bff9b16 [2022-11-07T22:56:20.903Z] Successfully built 59458bff9b16 [2022-11-07T22:56:20.903Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:56:21.342Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T22:56:21.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:56:21.494Z] prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container [2022-11-07T22:56:21.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@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 ******** ci-base-image-x86_64 cat [2022-11-07T22:56:21.897Z] $ docker top c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T22:56:22.290Z] + go version [2022-11-07T22:56:22.291Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T22:56:22.326Z] $ docker stop --time=1 c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 [2022-11-07T22:56:23.619Z] $ docker rm -f c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:56:24.362Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T22:56:24.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:56:24.520Z] prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container [2022-11-07T22:56:24.555Z] $ 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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@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 ******** ci-base-image-x86_64 cat [2022-11-07T22:56:24.916Z] $ docker top 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T22:56:25.312Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1258 [Pipeline] fileExists [Pipeline] sh [2022-11-07T22:56:25.667Z] + make test [2022-11-07T22:56:25.667Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-07T22:56:32.233Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-07T22:56:44.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-11-07T22:56:44.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-07T22:56:44.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 73.1% of statements [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-07T22:56:44.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-07T22:56:45.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 54.4% of statements [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-07T22:56:45.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-07T22:56:45.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-07T22:56:45.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.724s coverage: 89.2% of statements [2022-11-07T22:56:45.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-07T22:56:45.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-11-07T22:56:45.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-07T22:56:59.890Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-07T22:56:59.890Z] GO111MODULE=on go vet ./... [2022-11-07T22:57:03.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T22:57:03.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T22:57:03.171Z] ./bin/test-attribution-txt.sh [2022-11-07T22:57:03.171Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-07T22:57:03.171Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-07T22:57:03.171Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-07T22:57:03.171Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-07T22:57:03.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T22:57:03.240Z] $ docker stop --time=1 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 [2022-11-07T22:57:05.344Z] $ docker rm -f 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T22:57:05.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T22:57:06.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T22:57:06.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T22:57:06.949Z] + ls -al . [2022-11-07T22:57:06.949Z] total 280 [2022-11-07T22:57:06.949Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 22:56 . [2022-11-07T22:57:06.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:55 .. [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:55 .dockerignore [2022-11-07T22:57:06.949Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:56 .git [2022-11-07T22:57:06.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:55 .github [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 7 22:55 .gitignore [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:55 .golangci.yml [2022-11-07T22:57:06.949Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:55 .semver [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 7 22:55 CHANGELOG.md [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:55 GOVERNANCE.md [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 7 22:55 Jenkinsfile [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:55 LICENSE [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 7 22:55 Makefile [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:55 OWNERS.md [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 7 22:55 README.md [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:55 VERSION [2022-11-07T22:57:06.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:55 bin [2022-11-07T22:57:06.949Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 7 22:56 coverage.out [2022-11-07T22:57:06.949Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:55 example [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 7 22:55 go.mod [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 44423 Nov 7 22:55 go.sum [2022-11-07T22:57:06.949Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 7 22:55 internal [2022-11-07T22:57:06.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:55 openapi [2022-11-07T22:57:06.949Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:55 pkg [2022-11-07T22:57:06.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:55 snap [2022-11-07T22:57:06.949Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:57:07.400Z] + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=amd64 --label version=0.0.0 . [2022-11-07T22:57:07.400Z] Sending build context to Docker daemon 10.23MB [2022-11-07T22:57:07.400Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T22:57:07.400Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-07T22:57:07.400Z] ---> 59458bff9b16 [2022-11-07T22:57:07.400Z] Step 3/23 : ARG MAKE=make build [2022-11-07T22:57:07.400Z] ---> Running in fde4a82480ba [2022-11-07T22:57:07.668Z] Removing intermediate container fde4a82480ba [2022-11-07T22:57:07.668Z] ---> fe5fbaacfcef [2022-11-07T22:57:07.668Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-07T22:57:07.668Z] ---> Running in 8a0acf103738 [2022-11-07T22:57:07.668Z] Removing intermediate container 8a0acf103738 [2022-11-07T22:57:07.668Z] ---> 6d2b9a3683d5 [2022-11-07T22:57:07.668Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T22:57:07.668Z] ---> Running in 47507ad2b328 [2022-11-07T22:57:07.927Z] Removing intermediate container 47507ad2b328 [2022-11-07T22:57:07.927Z] ---> abf5634f8ebf [2022-11-07T22:57:07.927Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T22:57:07.927Z] ---> Running in f94f1c23ec63 [2022-11-07T22:57:08.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:57:08.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:57:08.460Z] OK: 211 MiB in 51 packages [2022-11-07T22:57:08.717Z] Removing intermediate container f94f1c23ec63 [2022-11-07T22:57:08.717Z] ---> 20f49e70499d [2022-11-07T22:57:08.717Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-07T22:57:08.717Z] ---> f584558411b2 [2022-11-07T22:57:08.717Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T22:57:08.717Z] ---> Running in c47726422ac9 [2022-11-07T22:57:09.653Z] Removing intermediate container c47726422ac9 [2022-11-07T22:57:09.653Z] ---> 08184e253abb [2022-11-07T22:57:09.653Z] Step 9/23 : COPY . . [2022-11-07T22:57:09.911Z] ---> 963bf612112b [2022-11-07T22:57:09.911Z] Step 10/23 : RUN ${MAKE} [2022-11-07T22:57:09.911Z] ---> Running in 6034ca480159 [2022-11-07T22:57:10.169Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-07T22:57:25.039Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-07T22:57:28.321Z] Removing intermediate container 6034ca480159 [2022-11-07T22:57:28.321Z] ---> 337fa7c03afb [2022-11-07T22:57:28.321Z] Step 11/23 : FROM alpine:3.16 [2022-11-07T22:57:28.582Z] 3.16: Pulling from library/alpine [2022-11-07T22:57:28.582Z] 213ec9aee27d: Already exists [2022-11-07T22:57:28.841Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T22:57:28.841Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T22:57:28.841Z] ---> 9c6f07244728 [2022-11-07T22:57:28.841Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T22:57:28.841Z] ---> Running in 315d6c0c0bbb [2022-11-07T22:57:28.841Z] Removing intermediate container 315d6c0c0bbb [2022-11-07T22:57:28.841Z] ---> 34ce8f8c92e0 [2022-11-07T22:57:28.841Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-07T22:57:29.100Z] ---> Running in bf0a29c818f2 [2022-11-07T22:57:29.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:57:29.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:57:29.618Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T22:57:29.618Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T22:57:29.618Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T22:57:29.877Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T22:57:29.877Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T22:57:29.877Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:57:29.877Z] OK: 8 MiB in 19 packages [2022-11-07T22:57:30.136Z] Removing intermediate container bf0a29c818f2 [2022-11-07T22:57:30.136Z] ---> 70141b0caa9a [2022-11-07T22:57:30.136Z] Step 14/23 : WORKDIR / [2022-11-07T22:57:30.136Z] ---> Running in 8e24f56cc964 [2022-11-07T22:57:30.394Z] Removing intermediate container 8e24f56cc964 [2022-11-07T22:57:30.394Z] ---> 0a8512aa3e52 [2022-11-07T22:57:30.394Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-07T22:57:30.394Z] ---> 4ddb9fe0fbf9 [2022-11-07T22:57:30.394Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-07T22:57:30.962Z] ---> 56cb192722fa [2022-11-07T22:57:30.962Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-07T22:57:30.962Z] ---> 95b9194f33e8 [2022-11-07T22:57:30.962Z] Step 18/23 : EXPOSE 59999 [2022-11-07T22:57:30.962Z] ---> Running in 5ed80e796b73 [2022-11-07T22:57:31.224Z] Removing intermediate container 5ed80e796b73 [2022-11-07T22:57:31.224Z] ---> 3c71f6fe4b92 [2022-11-07T22:57:31.224Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-07T22:57:31.224Z] ---> Running in 8af2fcc77e65 [2022-11-07T22:57:31.224Z] Removing intermediate container 8af2fcc77e65 [2022-11-07T22:57:31.224Z] ---> 5cef22774491 [2022-11-07T22:57:31.224Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T22:57:31.224Z] ---> Running in cf1bbd26edb6 [2022-11-07T22:57:31.224Z] Removing intermediate container cf1bbd26edb6 [2022-11-07T22:57:31.224Z] ---> 485d95401e05 [2022-11-07T22:57:31.224Z] Step 21/23 : LABEL arch=amd64 [2022-11-07T22:57:31.483Z] ---> Running in 7e64ef1aa63c [2022-11-07T22:57:31.483Z] Removing intermediate container 7e64ef1aa63c [2022-11-07T22:57:31.483Z] ---> 63c1c775ecb0 [2022-11-07T22:57:31.483Z] Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-07T22:57:31.483Z] ---> Running in 106ab9e1d82d [2022-11-07T22:57:31.483Z] Removing intermediate container 106ab9e1d82d [2022-11-07T22:57:31.483Z] ---> 1be35cbf0fa4 [2022-11-07T22:57:31.483Z] Step 23/23 : LABEL version=0.0.0 [2022-11-07T22:57:31.483Z] ---> Running in 3971947305f9 [2022-11-07T22:57:31.742Z] Removing intermediate container 3971947305f9 [2022-11-07T22:57:31.743Z] ---> 8f51027b66cb [2022-11-07T22:57:31.743Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T22:57:31.743Z] Successfully built 8f51027b66cb [2022-11-07T22:57:31.743Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:57:32.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:57:32.579Z] [2022-11-07T22:57:32.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:57:32.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:57:32.961Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T22:57:32.961Z] 5eb5b503b376: Pulling fs layer [2022-11-07T22:57:32.961Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T22:57:32.961Z] ec43610c2a17: Pulling fs layer [2022-11-07T22:57:32.961Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T22:57:32.961Z] 33b1e0a273af: Pulling fs layer [2022-11-07T22:57:32.961Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T22:57:32.961Z] 2f39f015ded8: Pulling fs layer [2022-11-07T22:57:32.961Z] 33b1e0a273af: Waiting [2022-11-07T22:57:32.961Z] 5d3b04190fa2: Waiting [2022-11-07T22:57:32.961Z] 3a2ae6a8a46f: Waiting [2022-11-07T22:57:32.961Z] 2f39f015ded8: Waiting [2022-11-07T22:57:32.961Z] 5c69ac0246d0: Download complete [2022-11-07T22:57:32.961Z] 3a2ae6a8a46f: Download complete [2022-11-07T22:57:32.961Z] 33b1e0a273af: Verifying Checksum [2022-11-07T22:57:32.961Z] 33b1e0a273af: Download complete [2022-11-07T22:57:32.961Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T22:57:32.961Z] 5d3b04190fa2: Download complete [2022-11-07T22:57:33.221Z] ec43610c2a17: Verifying Checksum [2022-11-07T22:57:33.221Z] ec43610c2a17: Download complete [2022-11-07T22:57:33.221Z] 5eb5b503b376: Verifying Checksum [2022-11-07T22:57:33.221Z] 5eb5b503b376: Download complete [2022-11-07T22:57:33.785Z] 2f39f015ded8: Download complete [2022-11-07T22:57:34.352Z] 5eb5b503b376: Pull complete [2022-11-07T22:57:34.352Z] 5c69ac0246d0: Pull complete [2022-11-07T22:57:34.918Z] ec43610c2a17: Pull complete [2022-11-07T22:57:34.918Z] 3a2ae6a8a46f: Pull complete [2022-11-07T22:57:34.918Z] 33b1e0a273af: Pull complete [2022-11-07T22:57:35.177Z] 5d3b04190fa2: Pull complete [2022-11-07T22:57:39.363Z] 2f39f015ded8: Pull complete [2022-11-07T22:57:39.363Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T22:57:39.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:57:39.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:57:39.588Z] prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container [2022-11-07T22:57:39.626Z] $ 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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@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-11-07T22:57:40.951Z] $ docker top ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:57:41.378Z] ---> job-cost.sh [2022-11-07T22:57:41.378Z] lf-activate-venv: SKIPPING [2022-11-07T22:57:41.378Z] INFO: No Stack... [2022-11-07T22:57:41.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T22:57:42.204Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T22:57:42.513Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/cost.csv [2022-11-07T22:57:42.513Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T22:57:42.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [2022-11-07T22:57:42.556Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] did not exist. Created. [2022-11-07T22:57:42.556Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T22:57:42.933Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T22:57:42.986Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T22:57:43.019Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T22:57:43.103Z] $ docker stop --time=1 ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db [2022-11-07T22:57:44.255Z] $ docker rm -f ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T22:58:15.848Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118533 in /w/workspace/gexfoundry_device-sdk-go_PR-1258 [Pipeline] { [Pipeline] ws [2022-11-07T22:58:15.892Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T22:58:15.977Z] The recommended git tool is: git [2022-11-07T22:58:21.685Z] using credential edgex-jenkins-ssh [2022-11-07T22:58:21.703Z] Cloning the remote Git repository [2022-11-07T22:58:21.759Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-07T22:58:21.849Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-07T22:58:22.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-07T22:58:22.023Z] > git --version # timeout=10 [2022-11-07T22:58:22.047Z] > git --version # 'git version 2.25.1' [2022-11-07T22:58:22.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T22:58:22.107Z] Verifying host key using known hosts file [2022-11-07T22:58:22.330Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T22:58:22.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T22:58:23.929Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-07T22:58:23.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T22:58:25.486Z] Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-07T22:58:25.749Z] Merge succeeded, producing a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-07T22:58:25.749Z] Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (PR-1258) [2022-11-07T22:58:24.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-07T22:58:24.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-07T22:58:24.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T22:58:24.886Z] Verifying host key using known hosts file [2022-11-07T22:58:24.893Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T22:58:24.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1258/head:refs/remotes/origin/PR-1258 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T22:58:25.507Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T22:58:25.529Z] > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [2022-11-07T22:58:25.642Z] > git remote # timeout=10 [2022-11-07T22:58:25.664Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T22:58:25.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T22:58:25.689Z] Verifying host key using known hosts file [2022-11-07T22:58:25.695Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T22:58:25.709Z] > git merge b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [2022-11-07T22:58:25.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T22:58:25.760Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T22:58:25.777Z] > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [2022-11-07T22:58:26.322Z] Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" [2022-11-07T22:58:26.386Z] > git --version # timeout=10 [2022-11-07T22:58:26.400Z] > git --version # 'git version 2.25.1' [2022-11-07T22:58:26.433Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T22:58:27.489Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T22:58:27.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T22:58:27.489Z] Dload Upload Total Spent Left Speed [2022-11-07T22:58:27.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-11-07T22:58:28.090Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T22:58:28.449Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T22:58:28.449Z] + sudo tee /etc/docker/daemon.new [2022-11-07T22:58:28.449Z] { [2022-11-07T22:58:28.449Z] "registry-mirrors": [ [2022-11-07T22:58:28.449Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T22:58:28.449Z] ], [2022-11-07T22:58:28.449Z] "bip": "10.250.0.254/24", [2022-11-07T22:58:28.449Z] "hosts": [ [2022-11-07T22:58:28.449Z] "tcp://0.0.0.0:5555", [2022-11-07T22:58:28.449Z] "unix:///var/run/docker.sock" [2022-11-07T22:58:28.449Z] ], [2022-11-07T22:58:28.449Z] "mtu": 1458, [2022-11-07T22:58:28.449Z] "selinux-enabled": true, [2022-11-07T22:58:28.449Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T22:58:28.449Z] } [Pipeline] sh [2022-11-07T22:58:28.805Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T22:58:29.147Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:58:47.466Z] provisioning config files... [2022-11-07T22:58:47.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3151032221956846493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:58:47.878Z] ---> docker-login.sh [2022-11-07T22:58:47.878Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:58:48.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:58:48.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:58:48.732Z] Configure a credential helper to remove this warning. See [2022-11-07T22:58:48.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:58:48.732Z] [2022-11-07T22:58:48.732Z] Login Succeeded [2022-11-07T22:58:48.732Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:58:49.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:58:49.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:58:49.000Z] Configure a credential helper to remove this warning. See [2022-11-07T22:58:49.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:58:49.000Z] [2022-11-07T22:58:49.000Z] Login Succeeded [2022-11-07T22:58:49.000Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:58:49.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:58:49.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:58:49.269Z] Configure a credential helper to remove this warning. See [2022-11-07T22:58:49.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:58:49.269Z] [2022-11-07T22:58:49.269Z] Login Succeeded [2022-11-07T22:58:49.269Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:58:49.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:58:49.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:58:49.807Z] Configure a credential helper to remove this warning. See [2022-11-07T22:58:49.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:58:49.807Z] [2022-11-07T22:58:49.807Z] Login Succeeded [2022-11-07T22:58:49.807Z] docker.io [2022-11-07T22:58:50.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:58:50.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:58:50.345Z] Configure a credential helper to remove this warning. See [2022-11-07T22:58:50.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:58:50.345Z] [2022-11-07T22:58:50.345Z] Login Succeeded [2022-11-07T22:58:50.345Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:58:50.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T22:58:50.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:58:50.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:58:50.725Z] ========================================================= [2022-11-07T22:58:50.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T22:58:50.725Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:58:51.218Z] + 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-11-07T22:58:51.490Z] Sending build context to Docker daemon 5.449MB [2022-11-07T22:58:51.490Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T22:58:51.490Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T22:58:51.764Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T22:58:51.764Z] 9b18e9b68314: Pulling fs layer [2022-11-07T22:58:51.764Z] 35d82f9e3411: Pulling fs layer [2022-11-07T22:58:51.764Z] e16973657156: Pulling fs layer [2022-11-07T22:58:51.764Z] fc693d55d65f: Pulling fs layer [2022-11-07T22:58:51.764Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T22:58:51.764Z] dda99020689f: Pulling fs layer [2022-11-07T22:58:51.764Z] db1c61fa0a46: Pulling fs layer [2022-11-07T22:58:51.764Z] 891c053d2c06: Pulling fs layer [2022-11-07T22:58:51.764Z] dda99020689f: Waiting [2022-11-07T22:58:51.764Z] db1c61fa0a46: Waiting [2022-11-07T22:58:51.764Z] 891c053d2c06: Waiting [2022-11-07T22:58:51.764Z] fc693d55d65f: Waiting [2022-11-07T22:58:51.764Z] 7e9fc2657dce: Waiting [2022-11-07T22:58:51.764Z] e16973657156: Verifying Checksum [2022-11-07T22:58:51.764Z] e16973657156: Download complete [2022-11-07T22:58:51.764Z] 35d82f9e3411: Verifying Checksum [2022-11-07T22:58:51.764Z] 35d82f9e3411: Download complete [2022-11-07T22:58:52.048Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T22:58:52.048Z] 7e9fc2657dce: Download complete [2022-11-07T22:58:52.048Z] dda99020689f: Download complete [2022-11-07T22:58:52.048Z] 9b18e9b68314: Verifying Checksum [2022-11-07T22:58:53.028Z] 9b18e9b68314: Pull complete [2022-11-07T22:58:53.028Z] 891c053d2c06: Verifying Checksum [2022-11-07T22:58:53.028Z] 891c053d2c06: Download complete [2022-11-07T22:58:53.300Z] 35d82f9e3411: Pull complete [2022-11-07T22:58:53.896Z] e16973657156: Pull complete [2022-11-07T22:58:54.491Z] db1c61fa0a46: Verifying Checksum [2022-11-07T22:58:54.491Z] db1c61fa0a46: Download complete [2022-11-07T22:58:55.081Z] fc693d55d65f: Download complete [2022-11-07T22:59:07.423Z] fc693d55d65f: Pull complete [2022-11-07T22:59:07.423Z] 7e9fc2657dce: Pull complete [2022-11-07T22:59:07.423Z] dda99020689f: Pull complete [2022-11-07T22:59:12.860Z] db1c61fa0a46: Pull complete [2022-11-07T22:59:13.840Z] 891c053d2c06: Pull complete [2022-11-07T22:59:13.840Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T22:59:14.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T22:59:14.108Z] ---> f96f9c87975a [2022-11-07T22:59:14.108Z] Step 3/10 : ARG MAKE=make build [2022-11-07T22:59:16.072Z] ---> Running in 49b7a23caf56 [2022-11-07T22:59:16.340Z] Removing intermediate container 49b7a23caf56 [2022-11-07T22:59:16.340Z] ---> 5177f51ed316 [2022-11-07T22:59:16.340Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-07T22:59:16.340Z] ---> Running in 120efd71a76c [2022-11-07T22:59:16.607Z] Removing intermediate container 120efd71a76c [2022-11-07T22:59:16.607Z] ---> 846c7ad4333e [2022-11-07T22:59:16.607Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T22:59:16.607Z] ---> Running in 4a539d57af50 [2022-11-07T22:59:16.890Z] Removing intermediate container 4a539d57af50 [2022-11-07T22:59:16.890Z] ---> 465a711eb7a8 [2022-11-07T22:59:16.890Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T22:59:17.157Z] ---> Running in fda2624b38c1 [2022-11-07T22:59:18.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:59:18.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T22:59:19.343Z] OK: 221 MiB in 51 packages [2022-11-07T22:59:20.299Z] Removing intermediate container fda2624b38c1 [2022-11-07T22:59:20.299Z] ---> 030a76262e69 [2022-11-07T22:59:20.299Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T22:59:20.886Z] ---> 86c8f790d06b [2022-11-07T22:59:20.886Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T22:59:20.886Z] ---> Running in 701adea49a2c [2022-11-07T23:00:17.304Z] Removing intermediate container 701adea49a2c [2022-11-07T23:00:17.304Z] ---> 23c9ac7aa1f0 [2022-11-07T23:00:17.304Z] Step 9/10 : COPY . . [2022-11-07T23:00:17.304Z] ---> 4dcdc5030817 [2022-11-07T23:00:17.304Z] Step 10/10 : RUN ${MAKE} [2022-11-07T23:00:17.304Z] ---> Running in 9639cc7672ea [2022-11-07T23:00:17.304Z] noop [2022-11-07T23:00:17.891Z] Removing intermediate container 9639cc7672ea [2022-11-07T23:00:17.891Z] ---> c92ac510b9b8 [2022-11-07T23:00:17.891Z] Successfully built c92ac510b9b8 [2022-11-07T23:00:17.891Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T23:00:18.376Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T23:00:18.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T23:00:18.626Z] prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container [2022-11-07T23:00:18.697Z] $ 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 ******** ci-base-image-arm64 cat [2022-11-07T23:00:20.007Z] $ docker top 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T23:00:20.920Z] + go version [2022-11-07T23:00:20.920Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T23:00:20.956Z] $ docker stop --time=1 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 [2022-11-07T23:00:22.644Z] $ docker rm -f 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T23:00:23.528Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T23:00:23.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T23:00:23.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container [2022-11-07T23:00:23.864Z] $ 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 ******** ci-base-image-arm64 cat [2022-11-07T23:00:25.099Z] $ docker top 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T23:00:25.662Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T23:00:26.618Z] + make test [2022-11-07T23:00:26.618Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-07T23:01:05.500Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-07T23:03:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-07T23:03:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-07T23:03:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-07T23:03:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-07T23:03:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-07T23:03:31.564Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.489s coverage: 27.6% of statements [2022-11-07T23:03:33.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.511s coverage: 78.9% of statements [2022-11-07T23:03:33.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-07T23:03:43.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.666s coverage: 73.1% of statements [2022-11-07T23:03:43.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-07T23:03:43.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-07T23:03:47.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.564s coverage: 54.4% of statements [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-07T23:03:47.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.488s coverage: 65.1% of statements [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-07T23:03:47.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.732s coverage: 89.2% of statements [2022-11-07T23:03:47.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-07T23:03:48.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.261s coverage: 4.7% of statements [2022-11-07T23:03:48.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-07T23:03:49.176Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T23:03:49.176Z] GO111MODULE=on go vet ./... [2022-11-07T23:05:40.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T23:05:40.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T23:05:40.886Z] ./bin/test-attribution-txt.sh [2022-11-07T23:05:40.886Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-07T23:05:40.886Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-07T23:05:40.886Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-07T23:05:40.886Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-07T23:05:40.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T23:05:40.952Z] $ docker stop --time=1 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 [2022-11-07T23:05:42.715Z] $ docker rm -f 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T23:05:44.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T23:05:44.228Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T23:05:44.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T23:05:45.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T23:05:45.760Z] + ls -al . [2022-11-07T23:05:45.760Z] total 276 [2022-11-07T23:05:45.760Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 23:00 . [2022-11-07T23:05:45.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:58 .. [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:58 .dockerignore [2022-11-07T23:05:45.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:58 .git [2022-11-07T23:05:45.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:58 .github [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 7 22:58 .gitignore [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:58 .golangci.yml [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 7 22:58 CHANGELOG.md [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:58 GOVERNANCE.md [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 7 22:58 Jenkinsfile [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:58 LICENSE [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 7 22:58 Makefile [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:58 OWNERS.md [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 7 22:58 README.md [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:55 VERSION [2022-11-07T23:05:45.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:58 bin [2022-11-07T23:05:45.760Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 7 23:03 coverage.out [2022-11-07T23:05:45.760Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:58 example [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 7 22:58 go.mod [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 44423 Nov 7 22:58 go.sum [2022-11-07T23:05:45.760Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 7 22:58 internal [2022-11-07T23:05:45.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:58 openapi [2022-11-07T23:05:45.760Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:58 pkg [2022-11-07T23:05:45.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:58 snap [2022-11-07T23:05:45.760Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T23:05:46.172Z] + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=arm64 --label version=0.0.0 . [2022-11-07T23:05:46.439Z] Sending build context to Docker daemon 5.551MB [2022-11-07T23:05:46.709Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T23:05:46.709Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-07T23:05:46.709Z] ---> c92ac510b9b8 [2022-11-07T23:05:46.709Z] Step 3/23 : ARG MAKE=make build [2022-11-07T23:05:46.709Z] ---> Running in b5d6b5574303 [2022-11-07T23:05:46.977Z] Removing intermediate container b5d6b5574303 [2022-11-07T23:05:46.977Z] ---> b4f75fc05e82 [2022-11-07T23:05:46.977Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-07T23:05:47.256Z] ---> Running in ce986e34f800 [2022-11-07T23:05:47.528Z] Removing intermediate container ce986e34f800 [2022-11-07T23:05:47.528Z] ---> d75fe79c72ac [2022-11-07T23:05:47.528Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T23:05:47.528Z] ---> Running in d4438c06567e [2022-11-07T23:05:47.796Z] Removing intermediate container d4438c06567e [2022-11-07T23:05:47.796Z] ---> a33bb9750fa8 [2022-11-07T23:05:47.796Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T23:05:47.796Z] ---> Running in fba738849709 [2022-11-07T23:05:48.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T23:05:49.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T23:05:50.300Z] OK: 221 MiB in 51 packages [2022-11-07T23:05:50.889Z] Removing intermediate container fba738849709 [2022-11-07T23:05:50.889Z] ---> 5af3b83aa88f [2022-11-07T23:05:50.889Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-07T23:05:51.488Z] ---> f7e2d1df6e8f [2022-11-07T23:05:51.488Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T23:05:51.488Z] ---> Running in 640362f3e7cc [2022-11-07T23:05:53.451Z] Removing intermediate container 640362f3e7cc [2022-11-07T23:05:53.451Z] ---> ec2bcd255f20 [2022-11-07T23:05:53.451Z] Step 9/23 : COPY . . [2022-11-07T23:05:54.865Z] ---> ffe58d86de24 [2022-11-07T23:05:54.865Z] Step 10/23 : RUN ${MAKE} [2022-11-07T23:05:54.865Z] ---> Running in bbe23b06fb2f [2022-11-07T23:05:55.824Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-07T23:08:17.699Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-07T23:08:21.969Z] Removing intermediate container bbe23b06fb2f [2022-11-07T23:08:21.969Z] ---> e1249ff14652 [2022-11-07T23:08:21.969Z] Step 11/23 : FROM alpine:3.16 [2022-11-07T23:08:22.927Z] 3.16: Pulling from library/alpine [2022-11-07T23:08:22.927Z] 9b18e9b68314: Already exists [2022-11-07T23:08:23.196Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T23:08:23.196Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T23:08:23.196Z] ---> a6215f271958 [2022-11-07T23:08:23.196Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T23:08:23.196Z] ---> Running in 936a731cc2fe [2022-11-07T23:08:23.467Z] Removing intermediate container 936a731cc2fe [2022-11-07T23:08:23.467Z] ---> cd318f7641d3 [2022-11-07T23:08:23.467Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-07T23:08:23.741Z] ---> Running in 6656822ab19b [2022-11-07T23:08:24.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T23:08:24.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T23:08:25.939Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T23:08:25.939Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-07T23:08:25.939Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T23:08:25.939Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-07T23:08:25.939Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-07T23:08:25.939Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T23:08:25.939Z] OK: 8 MiB in 19 packages [2022-11-07T23:08:26.902Z] Removing intermediate container 6656822ab19b [2022-11-07T23:08:26.902Z] ---> b319b59a677a [2022-11-07T23:08:26.902Z] Step 14/23 : WORKDIR / [2022-11-07T23:08:26.902Z] ---> Running in ade844b9f911 [2022-11-07T23:08:27.170Z] Removing intermediate container ade844b9f911 [2022-11-07T23:08:27.170Z] ---> 7364a06745ec [2022-11-07T23:08:27.170Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-07T23:08:27.752Z] ---> 2d94ac534505 [2022-11-07T23:08:27.753Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-07T23:08:29.157Z] ---> 997c9f740451 [2022-11-07T23:08:29.157Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-07T23:08:29.740Z] ---> a2101b68122d [2022-11-07T23:08:29.740Z] Step 18/23 : EXPOSE 59999 [2022-11-07T23:08:29.740Z] ---> Running in eca21c55aef0 [2022-11-07T23:08:30.008Z] Removing intermediate container eca21c55aef0 [2022-11-07T23:08:30.008Z] ---> 1908dece79ab [2022-11-07T23:08:30.008Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-07T23:08:30.008Z] ---> Running in bef0db4d96f1 [2022-11-07T23:08:30.277Z] Removing intermediate container bef0db4d96f1 [2022-11-07T23:08:30.277Z] ---> ff3956943abd [2022-11-07T23:08:30.277Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T23:08:30.546Z] ---> Running in 43a9e448c2b6 [2022-11-07T23:08:30.815Z] Removing intermediate container 43a9e448c2b6 [2022-11-07T23:08:30.815Z] ---> 2c87e6afcf2c [2022-11-07T23:08:30.815Z] Step 21/23 : LABEL arch=arm64 [2022-11-07T23:08:30.815Z] ---> Running in 7463811a577a [2022-11-07T23:08:31.083Z] Removing intermediate container 7463811a577a [2022-11-07T23:08:31.083Z] ---> d0f9a1034603 [2022-11-07T23:08:31.083Z] Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-07T23:08:31.352Z] ---> Running in 2de8db859a56 [2022-11-07T23:08:31.621Z] Removing intermediate container 2de8db859a56 [2022-11-07T23:08:31.621Z] ---> ca39a9b3d93f [2022-11-07T23:08:31.621Z] Step 23/23 : LABEL version=0.0.0 [2022-11-07T23:08:31.621Z] ---> Running in 66a649df5a9c [2022-11-07T23:08:31.889Z] Removing intermediate container 66a649df5a9c [2022-11-07T23:08:31.889Z] ---> 9c9f0128df25 [2022-11-07T23:08:31.889Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T23:08:31.889Z] Successfully built 9c9f0128df25 [2022-11-07T23:08:31.889Z] 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-11-07T23:08:32.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T23:08:32.702Z] [2022-11-07T23:08:32.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T23:08:33.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T23:08:33.386Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T23:08:33.386Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T23:08:33.386Z] 04944245beec: Pulling fs layer [2022-11-07T23:08:33.386Z] 699f458cf7ca: Pulling fs layer [2022-11-07T23:08:33.386Z] 765212b225bb: Pulling fs layer [2022-11-07T23:08:33.386Z] f23df028b6ca: Pulling fs layer [2022-11-07T23:08:33.386Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T23:08:33.386Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T23:08:33.386Z] f23df028b6ca: Waiting [2022-11-07T23:08:33.386Z] d65c8cfc05b1: Waiting [2022-11-07T23:08:33.386Z] 765212b225bb: Waiting [2022-11-07T23:08:33.386Z] 2437ff75d9bd: Waiting [2022-11-07T23:08:33.386Z] 04944245beec: Verifying Checksum [2022-11-07T23:08:33.386Z] 04944245beec: Download complete [2022-11-07T23:08:33.386Z] 765212b225bb: Verifying Checksum [2022-11-07T23:08:33.386Z] 765212b225bb: Download complete [2022-11-07T23:08:33.386Z] f23df028b6ca: Download complete [2022-11-07T23:08:33.386Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T23:08:33.386Z] d65c8cfc05b1: Download complete [2022-11-07T23:08:33.656Z] 699f458cf7ca: Verifying Checksum [2022-11-07T23:08:33.656Z] 699f458cf7ca: Download complete [2022-11-07T23:08:33.928Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T23:08:33.928Z] 8998bd30e6a1: Download complete [2022-11-07T23:08:36.524Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T23:08:36.524Z] 2437ff75d9bd: Download complete [2022-11-07T23:08:37.939Z] 8998bd30e6a1: Pull complete [2022-11-07T23:08:38.525Z] 04944245beec: Pull complete [2022-11-07T23:08:39.940Z] 699f458cf7ca: Pull complete [2022-11-07T23:08:39.940Z] 765212b225bb: Pull complete [2022-11-07T23:08:40.525Z] f23df028b6ca: Pull complete [2022-11-07T23:08:40.794Z] d65c8cfc05b1: Pull complete [2022-11-07T23:08:55.796Z] 2437ff75d9bd: Pull complete [2022-11-07T23:08:55.796Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T23:08:55.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T23:08:55.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T23:08:56.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container [2022-11-07T23:08:56.167Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T23:08:58.874Z] $ docker top c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:08:59.799Z] ---> job-cost.sh [2022-11-07T23:08:59.799Z] lf-activate-venv: SKIPPING [2022-11-07T23:08:59.799Z] INFO: No Stack... [2022-11-07T23:09:00.384Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T23:09:00.966Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T23:09:01.627Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-11-07T23:09:01.627Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T23:09:01.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [2022-11-07T23:09:01.718Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] did not exist. Created. [2022-11-07T23:09:01.718Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T23:09:02.448Z] /w/workspace/device-sdk-go/1@tmp/durable-3dec1d3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T23:09:03.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T23:09:03.153Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T23:09:03.219Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T23:09:03.237Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T23:09:03.316Z] $ docker stop --time=1 c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 [2022-11-07T23:09:04.848Z] $ docker rm -f c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 [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-11-07T23:09:05.762Z] provisioning config files... [2022-11-07T23:09:05.770Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config9161835600815502962tmp [Pipeline] { [Pipeline] sh [2022-11-07T23:09:06.103Z] + set +x [2022-11-07T23:09:06.104Z] + curl -s https://codecov.io/bash [2022-11-07T23:09:06.104Z] + bash -s -- [2022-11-07T23:09:06.104Z] [2022-11-07T23:09:06.104Z] _____ _ [2022-11-07T23:09:06.104Z] / ____| | | [2022-11-07T23:09:06.104Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T23:09:06.104Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T23:09:06.104Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T23:09:06.104Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T23:09:06.104Z] Bash-1.0.6 [2022-11-07T23:09:06.104Z] [2022-11-07T23:09:06.104Z] [2022-11-07T23:09:06.104Z] ==> git version 2.25.1 found [2022-11-07T23:09:06.104Z] ==> 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-11-07T23:09:06.104Z] Release-Date: 2020-01-08 [2022-11-07T23:09:06.104Z] 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-11-07T23:09:06.104Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T23:09:06.104Z] ==> Jenkins CI detected. [2022-11-07T23:09:06.104Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1258 [2022-11-07T23:09:06.104Z] project root: . [2022-11-07T23:09:06.104Z] --> token set from env [2022-11-07T23:09:06.104Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T23:09:06.104Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T23:09:06.104Z] ==> Python coveragepy not found [2022-11-07T23:09:06.104Z] ==> Searching for coverage reports in: [2022-11-07T23:09:06.104Z] + . [2022-11-07T23:09:06.104Z] -> Found 1 reports [2022-11-07T23:09:06.104Z] ==> Detecting git/mercurial file structure [2022-11-07T23:09:06.104Z] ==> Reading reports [2022-11-07T23:09:06.104Z] + ./coverage.out bytes=101759 [2022-11-07T23:09:06.104Z] ==> Appending adjustments [2022-11-07T23:09:06.104Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T23:09:06.362Z] + Found adjustments [2022-11-07T23:09:06.362Z] ==> Gzipping contents [2022-11-07T23:09:06.621Z] 16K /tmp/codecov.VB92k7.gz [2022-11-07T23:09:06.621Z] ==> Uploading reports [2022-11-07T23:09:06.621Z] url: https://codecov.io [2022-11-07T23:09:06.621Z] query: branch=PR-1258&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1258&job=&cmd_args= [2022-11-07T23:09:06.621Z] -> Pinging Codecov [2022-11-07T23:09:06.621Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1258&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1258&job=&cmd_args= [2022-11-07T23:09:06.880Z] -> Uploading to [2022-11-07T23:09:06.880Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7E55EF52A471D76F132DFD9A03CDDE97/a81fe95d70c4864c7c3b07bc307e4797ff811bbc/76e53ad0-c77c-4c52-a398-4a2f8c09aa8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T230906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9db9abdf55da099173cbf524f6f0e29b728cdf7b1b5ad256ee3077beaf8de02 [2022-11-07T23:09:06.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T23:09:06.880Z] Dload Upload Total Spent Left Speed [2022-11-07T23:09:07.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14700 0 0 100 14700 0 52688 --:--:-- --:--:-- --:--:-- 52500 100 14700 0 0 100 14700 0 52500 --:--:-- --:--:-- --:--:-- 52500 [2022-11-07T23:09:07.139Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] } [2022-11-07T23:09:07.165Z] 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-11-07T23:09:08.863Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives ] [2022-11-07T23:09:08.863Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives [2022-11-07T23:09:08.863Z] total 16 [2022-11-07T23:09:08.863Z] drwxr-xr-x 3 root root 4096 Nov 7 22:57 . [2022-11-07T23:09:08.863Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:57 .. [2022-11-07T23:09:08.863Z] drwxr-xr-x 2 root root 4096 Nov 7 22:57 cost [2022-11-07T23:09:08.863Z] -rw-r--r-- 1 root root 86 Nov 7 22:57 cost.csv [2022-11-07T23:09:08.863Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives [2022-11-07T23:09:08.863Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives [2022-11-07T23:09:08.863Z] total 16 [2022-11-07T23:09:08.863Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:57 . [2022-11-07T23:09:08.863Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:57 .. [2022-11-07T23:09:08.863Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 22:57 cost [2022-11-07T23:09:08.863Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:09.193Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:10.078Z] ---> package-listing.sh [2022-11-07T23:09:10.078Z] ++ facter osfamily [2022-11-07T23:09:10.078Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T23:09:10.338Z] + OS_FAMILY=debian [2022-11-07T23:09:10.338Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1258 [2022-11-07T23:09:10.338Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T23:09:10.338Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T23:09:10.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T23:09:10.338Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T23:09:10.338Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1258 ']' [2022-11-07T23:09:10.338Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T23:09:10.338Z] + case "${OS_FAMILY}" in [2022-11-07T23:09:10.338Z] + dpkg -l [2022-11-07T23:09:10.338Z] + grep '^ii' [2022-11-07T23:09:10.338Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T23:09:10.338Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T23:09:10.338Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T23:09:10.338Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1258 ']' [2022-11-07T23:09:10.338Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/ [2022-11-07T23:09:10.338Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/ [Pipeline] echo [2022-11-07T23:09:10.373Z] 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-1258/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T23:09:10.668Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T23:09:11.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T23:09:11.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T23:09:11.428Z] prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container [2022-11-07T23:09:11.460Z] $ 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-1258/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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T23:09:11.671Z] $ docker top 2c09dc444d19f6bfaac4fe061e642e82c8ef5766a7860d7d0bc03e93ab3d1fc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T23:09:12.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T23:09:12.374Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T23:09:12.688Z] + ls /var/log/sa-host [2022-11-07T23:09:12.688Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T23:09:12.902Z] provisioning config files... [2022-11-07T23:09:12.910Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config15306380583877890527tmp [Pipeline] { [Pipeline] echo [2022-11-07T23:09:12.957Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:13.275Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T23:09:13.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:13.692Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T23:09:13.726Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:14.035Z] ---> sudo-logs.sh [2022-11-07T23:09:14.035Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T23:09:14.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:14.419Z] ---> job-cost.sh [2022-11-07T23:09:14.419Z] lf-activate-venv: SKIPPING [2022-11-07T23:09:14.419Z] DEBUG: total: 0.2199999988079071 [2022-11-07T23:09:14.419Z] INFO: Retrieving Stack Cost... [2022-11-07T23:09:14.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T23:09:15.245Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T23:09:15.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T23:09:15.594Z] ---> logs-deploy.sh [2022-11-07T23:09:15.594Z] lf-activate-venv: SKIPPING [2022-11-07T23:09:15.594Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1258/1 [2022-11-07T23:09:15.594Z] INFO: archiving workspace using pattern(s): [2022-11-07T23:09:16.529Z] Archives upload complete. [2022-11-07T23:09:16.529Z] INFO: archiving logs to Nexus