Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 94ac6d2266df18c991779d09973ee9ae491e9f24+690b0c9df30b882b455dec0110a7cd4f7611a33b (5844f00d9996f7dd2348628674ed7284ac7d6037) 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-ssh1923931108767650371.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14967982962346571794.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh563083070786285110.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2906630724769330084.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15221963724493369746.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7046 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1226 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 690b0c9df30b882b455dec0110a7cd4f7611a33b into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 Merge succeeded, producing 335d37f3bf52907231f062710320a74a14c5c04f Checking out Revision 335d37f3bf52907231f062710320a74a14c5c04f (PR-1226) > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 335d37f3bf52907231f062710320a74a14c5c04f # timeout=10 Commit message: "Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD" > git rev-list --no-walk 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-04T06:41:23.470Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-04T06:41:23.521Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-04T06:41:23.544Z] ========================================================= [2022-10-04T06:41:23.544Z] EdgeX Global Pipelines Version Info [2022-10-04T06:41:23.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:41:24.270Z] ------------------- [2022-10-04T06:41:24.270Z] stable info: [2022-10-04T06:41:24.270Z] ------------------- [2022-10-04T06:41:24.270Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-04T06:41:24.270Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T06:41:24.270Z] Message: update stable to v1.0.239 [2022-10-04T06:41:24.841Z] ------------------- [2022-10-04T06:41:24.841Z] experimental info: [2022-10-04T06:41:24.841Z] ------------------- [2022-10-04T06:41:24.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-04T06:41:24.841Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T06:41:24.841Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-04T06:41:25.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-04T06:41:25.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-04T06:41:25.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-04T06:41:25.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-04T06:41:25.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-04T06:41:25.074Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-04T06:41:25.085Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-04T06:41:25.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-04T06:41:25.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-04T06:41:25.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-04T06:41:25.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-04T06:41:25.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-04T06:41:25.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-04T06:41:25.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-04T06:41:25.185Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T06:41:25.195Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T06:41:25.205Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T06:41:25.223Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T06:41:25.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-04T06:41:25.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-04T06:41:25.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-04T06:41:25.272Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-04T06:41:25.282Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-04T06:41:25.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-04T06:41:25.304Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-04T06:41:25.315Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-04T06:41:25.323Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-04T06:41:25.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1226 [Pipeline] echo [2022-10-04T06:41:25.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1226 [Pipeline] echo [2022-10-04T06:41:25.346Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1226 [Pipeline] echo [2022-10-04T06:41:25.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo [2022-10-04T06:41:25.362Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 335d37f [Pipeline] echo [2022-10-04T06:41:25.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T06:41:25.401Z] provisioning config files... [2022-10-04T06:41:25.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config14136588590493201505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:41:25.722Z] ---> docker-login.sh [2022-10-04T06:41:25.722Z] nexus3.edgexfoundry.org:10001 [2022-10-04T06:41:25.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:26.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:26.245Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:26.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:26.245Z] [2022-10-04T06:41:26.245Z] Login Succeeded [2022-10-04T06:41:26.245Z] nexus3.edgexfoundry.org:10002 [2022-10-04T06:41:26.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:26.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:26.245Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:26.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:26.245Z] [2022-10-04T06:41:26.245Z] Login Succeeded [2022-10-04T06:41:26.245Z] nexus3.edgexfoundry.org:10003 [2022-10-04T06:41:26.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:26.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:26.505Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:26.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:26.505Z] [2022-10-04T06:41:26.505Z] Login Succeeded [2022-10-04T06:41:26.505Z] nexus3.edgexfoundry.org:10004 [2022-10-04T06:41:26.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:26.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:26.505Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:26.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:26.505Z] [2022-10-04T06:41:26.505Z] Login Succeeded [2022-10-04T06:41:26.505Z] docker.io [2022-10-04T06:41:26.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:27.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:27.074Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:27.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:27.074Z] [2022-10-04T06:41:27.074Z] Login Succeeded [2022-10-04T06:41:27.074Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T06:41:27.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-04T06:41:27.455Z] + git rev-list -1 --merges 335d37f3bf52907231f062710320a74a14c5c04f~1..335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo [2022-10-04T06:41:27.486Z] -----------> git rev-list -1 --merges 335d37f3bf52907231f062710320a74a14c5c04f~1..335d37f3bf52907231f062710320a74a14c5c04f 335d37f3bf52907231f062710320a74a14c5c04f [2022-10-04T06:41:27.486Z] 335d37f3bf52907231f062710320a74a14c5c04f [false] [Pipeline] sh [2022-10-04T06:41:27.777Z] + git log --format=format:%s -1 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo [2022-10-04T06:41:27.792Z] ========================================================= [2022-10-04T06:41:27.792Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-04T06:41:27.792Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T06:41:28.128Z] + git log --format=format:%s -1 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo [2022-10-04T06:41:28.139Z] [semverPrep] GIT_COMMIT: 335d37f3bf52907231f062710320a74a14c5c04f, Commit Message: Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD [Pipeline] echo [2022-10-04T06:41:28.147Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-04T06:41:28.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T06:41:28.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-04T06:41:28.497Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-04T06:41:28.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-04T06:41:28.497Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-04T06:41:28.497Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-04T06:41:28.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:41:28.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T06:41:28.898Z] [2022-10-04T06:41:28.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:41:29.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T06:41:29.208Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-04T06:41:29.208Z] b85a868b505f: Pulling fs layer [2022-10-04T06:41:29.208Z] e2be974225ed: Pulling fs layer [2022-10-04T06:41:29.208Z] 339a4e72a1f5: Pulling fs layer [2022-10-04T06:41:29.208Z] 988bab9f4d93: Pulling fs layer [2022-10-04T06:41:29.208Z] 1469e6f7b9e6: Pulling fs layer [2022-10-04T06:41:29.208Z] eaf3925da568: Pulling fs layer [2022-10-04T06:41:29.208Z] bab4dde63d76: Pulling fs layer [2022-10-04T06:41:29.208Z] 988bab9f4d93: Waiting [2022-10-04T06:41:29.208Z] 1469e6f7b9e6: Waiting [2022-10-04T06:41:29.208Z] bde34c3a00c8: Pulling fs layer [2022-10-04T06:41:29.208Z] b352a97aabf1: Pulling fs layer [2022-10-04T06:41:29.208Z] bde34c3a00c8: Waiting [2022-10-04T06:41:29.208Z] bab4dde63d76: Waiting [2022-10-04T06:41:29.208Z] eaf3925da568: Waiting [2022-10-04T06:41:29.208Z] 4872d77fe225: Pulling fs layer [2022-10-04T06:41:29.208Z] b352a97aabf1: Waiting [2022-10-04T06:41:29.208Z] 5851b861e8e6: Pulling fs layer [2022-10-04T06:41:29.208Z] 4872d77fe225: Waiting [2022-10-04T06:41:29.208Z] 5851b861e8e6: Waiting [2022-10-04T06:41:29.208Z] e2be974225ed: Verifying Checksum [2022-10-04T06:41:29.208Z] e2be974225ed: Download complete [2022-10-04T06:41:29.208Z] 988bab9f4d93: Verifying Checksum [2022-10-04T06:41:29.208Z] 988bab9f4d93: Download complete [2022-10-04T06:41:29.468Z] 1469e6f7b9e6: Verifying Checksum [2022-10-04T06:41:29.468Z] 1469e6f7b9e6: Download complete [2022-10-04T06:41:29.468Z] 339a4e72a1f5: Verifying Checksum [2022-10-04T06:41:29.468Z] 339a4e72a1f5: Download complete [2022-10-04T06:41:29.468Z] eaf3925da568: Verifying Checksum [2022-10-04T06:41:29.468Z] eaf3925da568: Download complete [2022-10-04T06:41:29.468Z] bde34c3a00c8: Download complete [2022-10-04T06:41:29.468Z] b352a97aabf1: Download complete [2022-10-04T06:41:29.468Z] 4872d77fe225: Download complete [2022-10-04T06:41:29.468Z] 5851b861e8e6: Download complete [2022-10-04T06:41:29.468Z] b85a868b505f: Verifying Checksum [2022-10-04T06:41:29.468Z] b85a868b505f: Download complete [2022-10-04T06:41:29.727Z] bab4dde63d76: Verifying Checksum [2022-10-04T06:41:29.727Z] bab4dde63d76: Download complete [2022-10-04T06:41:30.666Z] b85a868b505f: Pull complete [2022-10-04T06:41:30.925Z] e2be974225ed: Pull complete [2022-10-04T06:41:31.498Z] 339a4e72a1f5: Pull complete [2022-10-04T06:41:31.498Z] 988bab9f4d93: Pull complete [2022-10-04T06:41:31.758Z] 1469e6f7b9e6: Pull complete [2022-10-04T06:41:31.758Z] eaf3925da568: Pull complete [2022-10-04T06:41:33.665Z] bab4dde63d76: Pull complete [2022-10-04T06:41:33.665Z] bde34c3a00c8: Pull complete [2022-10-04T06:41:33.927Z] b352a97aabf1: Pull complete [2022-10-04T06:41:33.927Z] 4872d77fe225: Pull complete [2022-10-04T06:41:34.187Z] 5851b861e8e6: Pull complete [2022-10-04T06:41:34.187Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-04T06:41:34.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T06:41:34.187Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:41:34.264Z] prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container [2022-10-04T06:41:34.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-04T06:41:35.913Z] $ docker top dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f -eo pid,comm [2022-10-04T06:41:35.978Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-04T06:41:35.978Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T06:41:36.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T06:41:36.014Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T06:41:36.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T06:41:36.129Z] $ docker exec dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent [2022-10-04T06:41:36.241Z] SSH_AUTH_SOCK=/tmp/ssh-Gfk43BAJFEFm/agent.33 [2022-10-04T06:41:36.241Z] SSH_AGENT_PID=39 [2022-10-04T06:41:36.247Z] Running ssh-add (command line suppressed) [2022-10-04T06:41:36.353Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9371985735910371945.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9371985735910371945.key) [2022-10-04T06:41:36.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T06:41:36.660Z] + git tag --points-at HEAD [Pipeline] } [2022-10-04T06:41:36.668Z] $ docker exec --env ******** --env ******** dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent -k [2022-10-04T06:41:36.774Z] unset SSH_AUTH_SOCK; [2022-10-04T06:41:36.774Z] unset SSH_AGENT_PID; [2022-10-04T06:41:36.774Z] echo Agent pid 39 killed; [2022-10-04T06:41:36.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-04T06:41:36.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T06:41:36.823Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T06:41:36.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T06:41:36.935Z] $ docker exec dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent [2022-10-04T06:41:37.090Z] SSH_AUTH_SOCK=/tmp/ssh-vIDTBMxHBSLX/agent.72 [2022-10-04T06:41:37.090Z] SSH_AGENT_PID=78 [2022-10-04T06:41:37.108Z] Running ssh-add (command line suppressed) [2022-10-04T06:41:37.197Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_17501008549536592371.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_17501008549536592371.key) [2022-10-04T06:41:37.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T06:41:37.501Z] + git semver init [2022-10-04T06:41:37.760Z] 2022-10-04 06:41:37,690 [run_init] DEBUG init version:0.0.0 force:False [2022-10-04T06:41:37.760Z] 2022-10-04 06:41:37,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver [2022-10-04T06:41:37.760Z] 2022-10-04 06:41:37,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver [2022-10-04T06:41:37.760Z] 2022-10-04 06:41:37,693 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226, universal_newlines=False, shell=None, istream=None) [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,690 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.git/info/exclude [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 with force:False [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,691 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,695 [execute] INFO git cat-file --batch-check [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,704 [execute] INFO git cat-file --batch [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T06:41:39.138Z] 2022-10-04 06:41:38,709 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 [2022-10-04T06:41:39.138Z] 0.0.0 [Pipeline] } [2022-10-04T06:41:39.141Z] $ docker exec --env ******** --env ******** dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent -k [2022-10-04T06:41:39.238Z] unset SSH_AUTH_SOCK; [2022-10-04T06:41:39.238Z] unset SSH_AGENT_PID; [2022-10-04T06:41:39.238Z] echo Agent pid 78 killed; [2022-10-04T06:41:39.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T06:41:39.549Z] + git semver [Pipeline] } [2022-10-04T06:41:39.817Z] $ docker stop --time=1 dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f [2022-10-04T06:41:41.134Z] $ docker rm -f dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T06:41:41.474Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-04T06:41:41.631Z] Stashed 1 file(s) [Pipeline] echo [2022-10-04T06:41:41.634Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T06:41:41.735Z] provisioning config files... [2022-10-04T06:41:41.743Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config16060701428870193621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:41:42.034Z] ---> docker-login.sh [2022-10-04T06:41:42.034Z] nexus3.edgexfoundry.org:10001 [2022-10-04T06:41:42.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:42.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:42.034Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:42.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:42.034Z] [2022-10-04T06:41:42.034Z] Login Succeeded [2022-10-04T06:41:42.034Z] nexus3.edgexfoundry.org:10002 [2022-10-04T06:41:42.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:42.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:42.034Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:42.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:42.034Z] [2022-10-04T06:41:42.034Z] Login Succeeded [2022-10-04T06:41:42.034Z] nexus3.edgexfoundry.org:10003 [2022-10-04T06:41:42.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:42.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:42.293Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:42.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:42.293Z] [2022-10-04T06:41:42.293Z] Login Succeeded [2022-10-04T06:41:42.293Z] nexus3.edgexfoundry.org:10004 [2022-10-04T06:41:42.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:42.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:42.293Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:42.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:42.293Z] [2022-10-04T06:41:42.293Z] Login Succeeded [2022-10-04T06:41:42.293Z] docker.io [2022-10-04T06:41:42.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:41:42.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:41:42.813Z] Configure a credential helper to remove this warning. See [2022-10-04T06:41:42.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:41:42.813Z] [2022-10-04T06:41:42.813Z] Login Succeeded [2022-10-04T06:41:42.813Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T06:41:42.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T06:41:42.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T06:41:42.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T06:41:42.895Z] ========================================================= [2022-10-04T06:41:42.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-04T06:41:42.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:41:43.198Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-04T06:41:43.198Z] Sending build context to Docker daemon 10.01MB [2022-10-04T06:41:43.198Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T06:41:43.198Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T06:41:43.457Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-04T06:41:43.457Z] 2408cc74d12b: Pulling fs layer [2022-10-04T06:41:43.457Z] ea60b727a1ce: Pulling fs layer [2022-10-04T06:41:43.457Z] 30c4a7721957: Pulling fs layer [2022-10-04T06:41:43.457Z] 370296b7ddb6: Pulling fs layer [2022-10-04T06:41:43.457Z] 7c6cee850709: Pulling fs layer [2022-10-04T06:41:43.457Z] aa9baa53a306: Pulling fs layer [2022-10-04T06:41:43.457Z] 8b309c321861: Pulling fs layer [2022-10-04T06:41:43.457Z] d8d76fd02f46: Pulling fs layer [2022-10-04T06:41:43.457Z] fa31f396de31: Pulling fs layer [2022-10-04T06:41:43.457Z] 370296b7ddb6: Waiting [2022-10-04T06:41:43.457Z] 7c6cee850709: Waiting [2022-10-04T06:41:43.457Z] aa9baa53a306: Waiting [2022-10-04T06:41:43.457Z] 8b309c321861: Waiting [2022-10-04T06:41:43.457Z] d8d76fd02f46: Waiting [2022-10-04T06:41:43.457Z] fa31f396de31: Waiting [2022-10-04T06:41:43.457Z] 30c4a7721957: Download complete [2022-10-04T06:41:43.457Z] ea60b727a1ce: Verifying Checksum [2022-10-04T06:41:43.457Z] ea60b727a1ce: Download complete [2022-10-04T06:41:43.457Z] 7c6cee850709: Verifying Checksum [2022-10-04T06:41:43.457Z] 7c6cee850709: Download complete [2022-10-04T06:41:43.457Z] aa9baa53a306: Download complete [2022-10-04T06:41:43.457Z] 2408cc74d12b: Verifying Checksum [2022-10-04T06:41:43.457Z] 2408cc74d12b: Download complete [2022-10-04T06:41:43.457Z] 8b309c321861: Verifying Checksum [2022-10-04T06:41:43.457Z] 8b309c321861: Download complete [2022-10-04T06:41:43.457Z] 2408cc74d12b: Pull complete [2022-10-04T06:41:43.716Z] ea60b727a1ce: Pull complete [2022-10-04T06:41:43.716Z] 30c4a7721957: Pull complete [2022-10-04T06:41:44.288Z] fa31f396de31: Verifying Checksum [2022-10-04T06:41:44.288Z] fa31f396de31: Download complete [2022-10-04T06:41:44.546Z] 370296b7ddb6: Verifying Checksum [2022-10-04T06:41:44.546Z] 370296b7ddb6: Download complete [2022-10-04T06:41:44.546Z] d8d76fd02f46: Download complete [2022-10-04T06:41:47.830Z] 370296b7ddb6: Pull complete [2022-10-04T06:41:48.089Z] 7c6cee850709: Pull complete [2022-10-04T06:41:48.089Z] aa9baa53a306: Pull complete [2022-10-04T06:41:48.347Z] 8b309c321861: Pull complete [2022-10-04T06:41:50.247Z] d8d76fd02f46: Pull complete [2022-10-04T06:41:51.181Z] fa31f396de31: Pull complete [2022-10-04T06:41:51.181Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-04T06:41:51.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-04T06:41:51.181Z] ---> cef68f9685f8 [2022-10-04T06:41:51.181Z] Step 3/11 : ARG MAKE=make build [2022-10-04T06:41:53.093Z] ---> Running in 7c7fd92ccdff [2022-10-04T06:41:53.093Z] Removing intermediate container 7c7fd92ccdff [2022-10-04T06:41:53.093Z] ---> dd594b18e51e [2022-10-04T06:41:53.093Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T06:41:53.093Z] ---> Running in eabf1a98084e [2022-10-04T06:41:53.093Z] Removing intermediate container eabf1a98084e [2022-10-04T06:41:53.093Z] ---> 3bbbf4c4ebfa [2022-10-04T06:41:53.093Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:41:53.093Z] ---> Running in 0737847cd624 [2022-10-04T06:41:53.354Z] Removing intermediate container 0737847cd624 [2022-10-04T06:41:53.354Z] ---> 352bf3781c32 [2022-10-04T06:41:53.354Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:41:53.354Z] ---> Running in 46928482f028 [2022-10-04T06:41:53.920Z] Removing intermediate container 46928482f028 [2022-10-04T06:41:53.920Z] ---> 440898837137 [2022-10-04T06:41:53.920Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T06:41:54.188Z] ---> Running in 51039946fd0d [2022-10-04T06:41:54.447Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T06:41:55.384Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T06:41:55.646Z] OK: 211 MiB in 51 packages [2022-10-04T06:41:55.913Z] Removing intermediate container 51039946fd0d [2022-10-04T06:41:55.913Z] ---> 5c0a4d6922cb [2022-10-04T06:41:55.913Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T06:41:56.172Z] ---> b8f73e5ae6ad [2022-10-04T06:41:56.172Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T06:41:56.172Z] ---> Running in e7a291ac6f15 [2022-10-04T06:41:56.702Z] Still waiting to schedule task [2022-10-04T06:41:56.702Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-04T06:42:14.272Z] Removing intermediate container e7a291ac6f15 [2022-10-04T06:42:14.272Z] ---> 629b0e504336 [2022-10-04T06:42:14.272Z] Step 10/11 : COPY . . [2022-10-04T06:42:14.272Z] ---> d8714948d40b [2022-10-04T06:42:14.272Z] Step 11/11 : RUN ${MAKE} [2022-10-04T06:42:14.272Z] ---> Running in 941f5c43fc19 [2022-10-04T06:42:14.534Z] noop [2022-10-04T06:42:15.107Z] Removing intermediate container 941f5c43fc19 [2022-10-04T06:42:15.107Z] ---> 748e2f91b0b5 [2022-10-04T06:42:15.107Z] Successfully built 748e2f91b0b5 [2022-10-04T06:42:15.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:42:15.426Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T06:42:15.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:42:15.500Z] prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container [2022-10-04T06:42:15.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-04T06:42:16.008Z] $ docker top b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T06:42:16.335Z] + go version [2022-10-04T06:42:16.335Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-04T06:42:16.349Z] $ docker stop --time=1 b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 [2022-10-04T06:42:17.651Z] $ docker rm -f b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:42:18.046Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T06:42:18.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:42:18.110Z] prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container [2022-10-04T06:42:18.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-04T06:42:18.500Z] $ docker top 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T06:42:18.838Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] fileExists [Pipeline] sh [2022-10-04T06:42:19.128Z] + make test [2022-10-04T06:42:19.128Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T06:42:25.699Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.778s coverage: 89.2% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T06:42:37.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.7% of statements [2022-10-04T06:42:37.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T06:42:52.763Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-04T06:42:52.763Z] GO111MODULE=on go vet ./... [2022-10-04T06:42:54.662Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T06:42:54.662Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T06:42:54.662Z] ./bin/test-attribution-txt.sh [2022-10-04T06:42:54.662Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T06:42:54.662Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T06:42:54.662Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T06:42:54.662Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T06:42:54.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T06:42:54.695Z] $ docker stop --time=1 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 [2022-10-04T06:42:57.131Z] $ docker rm -f 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T06:42:57.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T06:42:57.663Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-04T06:42:58.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T06:42:58.449Z] + ls -al . [2022-10-04T06:42:58.449Z] total 276 [2022-10-04T06:42:58.449Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 06:42 . [2022-10-04T06:42:58.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:41 .. [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:41 .dockerignore [2022-10-04T06:42:58.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:42 .git [2022-10-04T06:42:58.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:41 .github [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 06:41 .gitignore [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 06:41 .golangci.yml [2022-10-04T06:42:58.449Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:41 .semver [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 06:41 CHANGELOG.md [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:41 GOVERNANCE.md [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 06:41 Jenkinsfile [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 06:41 LICENSE [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 4 06:41 Makefile [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 06:41 OWNERS.md [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 06:41 README.md [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:41 VERSION [2022-10-04T06:42:58.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:41 bin [2022-10-04T06:42:58.449Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 4 06:42 coverage.out [2022-10-04T06:42:58.449Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 06:41 example [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 4 06:41 go.mod [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 06:41 go.sum [2022-10-04T06:42:58.449Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 06:41 internal [2022-10-04T06:42:58.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:41 openapi [2022-10-04T06:42:58.449Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 06:41 pkg [2022-10-04T06:42:58.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:41 snap [2022-10-04T06:42:58.449Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:42:58.750Z] + 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=335d37f3bf52907231f062710320a74a14c5c04f --label arch=amd64 --label version=0.0.0 . [2022-10-04T06:42:58.750Z] Sending build context to Docker daemon 10.11MB [2022-10-04T06:42:58.750Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T06:42:58.750Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T06:42:58.750Z] ---> 748e2f91b0b5 [2022-10-04T06:42:58.750Z] Step 3/25 : ARG MAKE=make build [2022-10-04T06:42:59.013Z] ---> Running in 34d4dd47d6c5 [2022-10-04T06:42:59.013Z] Removing intermediate container 34d4dd47d6c5 [2022-10-04T06:42:59.013Z] ---> 9caefb3409c9 [2022-10-04T06:42:59.013Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T06:42:59.013Z] ---> Running in 41cb35418805 [2022-10-04T06:42:59.271Z] Removing intermediate container 41cb35418805 [2022-10-04T06:42:59.271Z] ---> bb2ace7497d2 [2022-10-04T06:42:59.271Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:42:59.271Z] ---> Running in 7690d2b4b544 [2022-10-04T06:42:59.271Z] Removing intermediate container 7690d2b4b544 [2022-10-04T06:42:59.271Z] ---> d59c694f8472 [2022-10-04T06:42:59.271Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:42:59.271Z] ---> Running in f36a9cd37116 [2022-10-04T06:43:00.211Z] Removing intermediate container f36a9cd37116 [2022-10-04T06:43:00.211Z] ---> ed5975a08189 [2022-10-04T06:43:00.211Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T06:43:00.211Z] ---> Running in d1502fd49f26 [2022-10-04T06:43:00.471Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T06:43:01.410Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T06:43:01.668Z] OK: 211 MiB in 51 packages [2022-10-04T06:43:01.928Z] Removing intermediate container d1502fd49f26 [2022-10-04T06:43:01.928Z] ---> 18ffd268030a [2022-10-04T06:43:01.928Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T06:43:01.928Z] ---> d116a0319c5e [2022-10-04T06:43:01.928Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T06:43:02.192Z] ---> Running in 44512757848e [2022-10-04T06:43:02.758Z] Removing intermediate container 44512757848e [2022-10-04T06:43:02.758Z] ---> 3439654c39ef [2022-10-04T06:43:02.758Z] Step 10/25 : COPY . . [2022-10-04T06:43:03.329Z] ---> 6c28174ed0e2 [2022-10-04T06:43:03.329Z] Step 11/25 : RUN ${MAKE} [2022-10-04T06:43:03.329Z] ---> Running in 521b2dbb3580 [2022-10-04T06:43:03.589Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T06:43:21.669Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T06:43:21.669Z] Removing intermediate container 521b2dbb3580 [2022-10-04T06:43:21.669Z] ---> 092ea3d4a2f2 [2022-10-04T06:43:21.669Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T06:43:22.235Z] 3.16: Pulling from library/alpine [2022-10-04T06:43:22.493Z] 213ec9aee27d: Pulling fs layer [2022-10-04T06:43:22.752Z] 213ec9aee27d: Verifying Checksum [2022-10-04T06:43:22.752Z] 213ec9aee27d: Download complete [2022-10-04T06:43:22.752Z] 213ec9aee27d: Pull complete [2022-10-04T06:43:23.011Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T06:43:23.011Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T06:43:23.011Z] ---> 9c6f07244728 [2022-10-04T06:43:23.011Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:43:23.011Z] ---> Running in 7f3e3c5bc2ad [2022-10-04T06:43:23.269Z] Removing intermediate container 7f3e3c5bc2ad [2022-10-04T06:43:23.269Z] ---> e9bb3d689f12 [2022-10-04T06:43:23.269Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:43:23.269Z] ---> Running in ab04a09f9cab [2022-10-04T06:43:23.835Z] Removing intermediate container ab04a09f9cab [2022-10-04T06:43:23.835Z] ---> b4c6bc96e85d [2022-10-04T06:43:23.835Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T06:43:23.835Z] ---> Running in 3e8261800c20 [2022-10-04T06:43:24.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T06:43:25.047Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T06:43:25.309Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T06:43:25.309Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T06:43:25.568Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T06:43:25.568Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T06:43:25.568Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T06:43:25.825Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T06:43:25.825Z] OK: 8 MiB in 19 packages [2022-10-04T06:43:26.392Z] Removing intermediate container 3e8261800c20 [2022-10-04T06:43:26.392Z] ---> 1227f2839482 [2022-10-04T06:43:26.392Z] Step 16/25 : WORKDIR / [2022-10-04T06:43:26.392Z] ---> Running in edc4fd0650ee [2022-10-04T06:43:26.392Z] Removing intermediate container edc4fd0650ee [2022-10-04T06:43:26.392Z] ---> fc5faff38320 [2022-10-04T06:43:26.392Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T06:43:26.649Z] ---> 129f6c51c5b2 [2022-10-04T06:43:26.649Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T06:43:26.830Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7047 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] { [Pipeline] ws [2022-10-04T06:43:26.842Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-10-04T06:43:26.879Z] The recommended git tool is: git [2022-10-04T06:43:27.218Z] ---> 710a8c86c4bd [2022-10-04T06:43:27.218Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T06:43:27.218Z] ---> a4fe2d2ea16e [2022-10-04T06:43:27.218Z] Step 20/25 : EXPOSE 59999 [2022-10-04T06:43:27.476Z] ---> Running in 97b3395606cd [2022-10-04T06:43:27.476Z] Removing intermediate container 97b3395606cd [2022-10-04T06:43:27.476Z] ---> b4da80eea27d [2022-10-04T06:43:27.476Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T06:43:27.476Z] ---> Running in e6d05e1f562d [2022-10-04T06:43:27.476Z] Removing intermediate container e6d05e1f562d [2022-10-04T06:43:27.476Z] ---> 24245bf6a022 [2022-10-04T06:43:27.476Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T06:43:27.734Z] ---> Running in a21079cef7b8 [2022-10-04T06:43:27.734Z] Removing intermediate container a21079cef7b8 [2022-10-04T06:43:27.734Z] ---> 0230190bfc72 [2022-10-04T06:43:27.734Z] Step 23/25 : LABEL arch=amd64 [2022-10-04T06:43:27.734Z] ---> Running in 153ca735c5c2 [2022-10-04T06:43:27.734Z] Removing intermediate container 153ca735c5c2 [2022-10-04T06:43:27.734Z] ---> fc350e9eb721 [2022-10-04T06:43:27.734Z] Step 24/25 : LABEL git_sha=335d37f3bf52907231f062710320a74a14c5c04f [2022-10-04T06:43:27.992Z] ---> Running in 1e74f7eab268 [2022-10-04T06:43:27.993Z] Removing intermediate container 1e74f7eab268 [2022-10-04T06:43:27.993Z] ---> 58fdabbc58e3 [2022-10-04T06:43:27.993Z] Step 25/25 : LABEL version=0.0.0 [2022-10-04T06:43:27.993Z] ---> Running in bed23dad9c82 [2022-10-04T06:43:28.250Z] Removing intermediate container bed23dad9c82 [2022-10-04T06:43:28.250Z] ---> 8c6cebfc868f [2022-10-04T06:43:28.250Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T06:43:28.250Z] Successfully built 8c6cebfc868f [2022-10-04T06:43:28.250Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:43:28.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T06:43:28.692Z] [2022-10-04T06:43:28.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:43:28.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T06:43:28.988Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-04T06:43:28.988Z] 5eb5b503b376: Pulling fs layer [2022-10-04T06:43:28.988Z] 5c69ac0246d0: Pulling fs layer [2022-10-04T06:43:28.988Z] ec43610c2a17: Pulling fs layer [2022-10-04T06:43:28.988Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-04T06:43:28.988Z] 33b1e0a273af: Pulling fs layer [2022-10-04T06:43:28.988Z] 3a2ae6a8a46f: Waiting [2022-10-04T06:43:28.988Z] 5d3b04190fa2: Pulling fs layer [2022-10-04T06:43:28.988Z] 2f39f015ded8: Pulling fs layer [2022-10-04T06:43:28.988Z] 33b1e0a273af: Waiting [2022-10-04T06:43:28.988Z] 2f39f015ded8: Waiting [2022-10-04T06:43:28.988Z] 5d3b04190fa2: Waiting [2022-10-04T06:43:28.988Z] 5c69ac0246d0: Verifying Checksum [2022-10-04T06:43:28.988Z] 5c69ac0246d0: Download complete [2022-10-04T06:43:28.988Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-04T06:43:28.988Z] 3a2ae6a8a46f: Download complete [2022-10-04T06:43:28.988Z] ec43610c2a17: Verifying Checksum [2022-10-04T06:43:28.988Z] ec43610c2a17: Download complete [2022-10-04T06:43:28.988Z] 33b1e0a273af: Verifying Checksum [2022-10-04T06:43:28.988Z] 33b1e0a273af: Download complete [2022-10-04T06:43:28.988Z] 5d3b04190fa2: Verifying Checksum [2022-10-04T06:43:28.988Z] 5d3b04190fa2: Download complete [2022-10-04T06:43:29.248Z] 5eb5b503b376: Verifying Checksum [2022-10-04T06:43:29.248Z] 5eb5b503b376: Download complete [2022-10-04T06:43:29.814Z] 2f39f015ded8: Verifying Checksum [2022-10-04T06:43:29.814Z] 2f39f015ded8: Download complete [2022-10-04T06:43:30.379Z] 5eb5b503b376: Pull complete [2022-10-04T06:43:30.380Z] 5c69ac0246d0: Pull complete [2022-10-04T06:43:30.947Z] ec43610c2a17: Pull complete [2022-10-04T06:43:30.947Z] 3a2ae6a8a46f: Pull complete [2022-10-04T06:43:30.947Z] 33b1e0a273af: Pull complete [2022-10-04T06:43:31.205Z] 5d3b04190fa2: Pull complete [2022-10-04T06:43:32.056Z] using credential edgex-jenkins-ssh [2022-10-04T06:43:32.071Z] Cloning the remote Git repository [2022-10-04T06:43:32.107Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T06:43:32.173Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-10-04T06:43:32.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T06:43:32.289Z] > git --version # timeout=10 [2022-10-04T06:43:32.308Z] > git --version # 'git version 2.25.1' [2022-10-04T06:43:32.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T06:43:32.352Z] Verifying host key using known hosts file [2022-10-04T06:43:32.524Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-04T06:43:32.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T06:43:34.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-04T06:43:34.050Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T06:43:35.387Z] 2f39f015ded8: Pull complete [2022-10-04T06:43:35.387Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-04T06:43:35.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T06:43:35.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:43:35.460Z] prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container [2022-10-04T06:43:35.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-04T06:43:34.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-04T06:43:34.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T06:43:34.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T06:43:34.948Z] Verifying host key using known hosts file [2022-10-04T06:43:34.956Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-04T06:43:34.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-04T06:43:35.672Z] Merging remotes/origin/main commit 690b0c9df30b882b455dec0110a7cd4f7611a33b into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 [2022-10-04T06:43:36.012Z] Merge succeeded, producing 746eee8fa88d2e552ecbcd4d8df487429ffd7518 [2022-10-04T06:43:36.012Z] Checking out Revision 746eee8fa88d2e552ecbcd4d8df487429ffd7518 (PR-1226) [2022-10-04T06:43:35.689Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T06:43:35.706Z] > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [2022-10-04T06:43:35.813Z] > git remote # timeout=10 [2022-10-04T06:43:35.832Z] > git config --get remote.origin.url # timeout=10 [2022-10-04T06:43:35.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T06:43:35.858Z] Verifying host key using known hosts file [2022-10-04T06:43:35.864Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-04T06:43:35.873Z] > git merge 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 [2022-10-04T06:43:35.984Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-04T06:43:36.019Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T06:43:36.038Z] > git checkout -f 746eee8fa88d2e552ecbcd4d8df487429ffd7518 # timeout=10 [2022-10-04T06:43:37.358Z] $ docker top 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:43:37.742Z] ---> job-cost.sh [2022-10-04T06:43:37.742Z] lf-activate-venv: SKIPPING [2022-10-04T06:43:37.742Z] INFO: No Stack... [2022-10-04T06:43:38.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T06:43:38.260Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T06:43:38.548Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/cost.csv [2022-10-04T06:43:38.548Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T06:43:38.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [2022-10-04T06:43:38.569Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] did not exist. Created. [2022-10-04T06:43:38.569Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T06:43:38.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-04T06:43:38.912Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T06:43:38.918Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T06:43:38.939Z] $ docker stop --time=1 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c [2022-10-04T06:43:39.561Z] Commit message: "Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD" [2022-10-04T06:43:39.570Z] > git rev-list --no-walk 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [2022-10-04T06:43:40.086Z] [2022-10-04T06:43:40.086Z] GitHub has been notified of this commit’s build result [2022-10-04T06:43:40.086Z] [2022-10-04T06:43:40.110Z] $ docker rm -f 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T06:43:40.699Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-04T06:43:40.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T06:43:40.699Z] Dload Upload Total Spent Left Speed [2022-10-04T06:43:40.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-10-04T06:43:41.378Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-04T06:43:41.704Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-10-04T06:43:41.704Z] /etc/docker/daemon.new [2022-10-04T06:43:41.704Z] { [2022-10-04T06:43:41.704Z] "registry-mirrors": [ [2022-10-04T06:43:41.704Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-04T06:43:41.704Z] ], [2022-10-04T06:43:41.704Z] "bip": "10.250.0.254/24", [2022-10-04T06:43:41.704Z] "hosts": [ [2022-10-04T06:43:41.704Z] "tcp://0.0.0.0:5555", [2022-10-04T06:43:41.704Z] "unix:///var/run/docker.sock" [2022-10-04T06:43:41.704Z] ], [2022-10-04T06:43:41.704Z] "mtu": 1458, [2022-10-04T06:43:41.704Z] "selinux-enabled": true, [2022-10-04T06:43:41.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-04T06:43:41.704Z] } [Pipeline] sh [2022-10-04T06:43:42.038Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-04T06:43:42.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T06:44:00.627Z] provisioning config files... [2022-10-04T06:44:00.653Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2100966001650951193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:44:01.000Z] ---> docker-login.sh [2022-10-04T06:44:01.000Z] nexus3.edgexfoundry.org:10001 [2022-10-04T06:44:01.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:44:01.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:44:01.538Z] Configure a credential helper to remove this warning. See [2022-10-04T06:44:01.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:44:01.538Z] [2022-10-04T06:44:01.538Z] Login Succeeded [2022-10-04T06:44:01.538Z] nexus3.edgexfoundry.org:10002 [2022-10-04T06:44:01.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:44:02.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:44:02.081Z] Configure a credential helper to remove this warning. See [2022-10-04T06:44:02.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:44:02.081Z] [2022-10-04T06:44:02.081Z] Login Succeeded [2022-10-04T06:44:02.081Z] nexus3.edgexfoundry.org:10003 [2022-10-04T06:44:02.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:44:02.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:44:02.353Z] Configure a credential helper to remove this warning. See [2022-10-04T06:44:02.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:44:02.353Z] [2022-10-04T06:44:02.353Z] Login Succeeded [2022-10-04T06:44:02.353Z] nexus3.edgexfoundry.org:10004 [2022-10-04T06:44:02.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:44:02.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:44:02.624Z] Configure a credential helper to remove this warning. See [2022-10-04T06:44:02.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:44:02.624Z] [2022-10-04T06:44:02.624Z] Login Succeeded [2022-10-04T06:44:02.624Z] docker.io [2022-10-04T06:44:02.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T06:44:03.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T06:44:03.482Z] Configure a credential helper to remove this warning. See [2022-10-04T06:44:03.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T06:44:03.482Z] [2022-10-04T06:44:03.482Z] Login Succeeded [2022-10-04T06:44:03.482Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T06:44:03.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T06:44:03.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T06:44:03.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T06:44:03.667Z] ========================================================= [2022-10-04T06:44:03.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-04T06:44:03.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:44:04.006Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-04T06:44:04.598Z] Sending build context to Docker daemon 5.399MB [2022-10-04T06:44:04.598Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T06:44:04.598Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T06:44:04.876Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-04T06:44:04.876Z] b3c136eddcbf: Pulling fs layer [2022-10-04T06:44:04.876Z] c0a3192eca97: Pulling fs layer [2022-10-04T06:44:04.876Z] a050256f5b6f: Pulling fs layer [2022-10-04T06:44:04.876Z] 656be50a0ddc: Pulling fs layer [2022-10-04T06:44:04.876Z] 2bbca73fdf42: Pulling fs layer [2022-10-04T06:44:04.876Z] f607e4fc86c3: Pulling fs layer [2022-10-04T06:44:04.876Z] 4d572c569a2c: Pulling fs layer [2022-10-04T06:44:04.876Z] fcf976331f73: Pulling fs layer [2022-10-04T06:44:04.876Z] f607e4fc86c3: Waiting [2022-10-04T06:44:04.876Z] 4d572c569a2c: Waiting [2022-10-04T06:44:04.876Z] fcf976331f73: Waiting [2022-10-04T06:44:04.876Z] 656be50a0ddc: Waiting [2022-10-04T06:44:04.876Z] 2bbca73fdf42: Waiting [2022-10-04T06:44:04.876Z] a050256f5b6f: Verifying Checksum [2022-10-04T06:44:04.876Z] a050256f5b6f: Download complete [2022-10-04T06:44:04.876Z] c0a3192eca97: Download complete [2022-10-04T06:44:04.876Z] 2bbca73fdf42: Verifying Checksum [2022-10-04T06:44:04.876Z] 2bbca73fdf42: Download complete [2022-10-04T06:44:04.876Z] f607e4fc86c3: Download complete [2022-10-04T06:44:04.876Z] b3c136eddcbf: Verifying Checksum [2022-10-04T06:44:04.876Z] b3c136eddcbf: Download complete [2022-10-04T06:44:05.863Z] b3c136eddcbf: Pull complete [2022-10-04T06:44:05.863Z] fcf976331f73: Verifying Checksum [2022-10-04T06:44:05.863Z] fcf976331f73: Download complete [2022-10-04T06:44:06.136Z] c0a3192eca97: Pull complete [2022-10-04T06:44:06.406Z] a050256f5b6f: Pull complete [2022-10-04T06:44:06.996Z] 4d572c569a2c: Verifying Checksum [2022-10-04T06:44:06.996Z] 4d572c569a2c: Download complete [2022-10-04T06:44:07.964Z] 656be50a0ddc: Verifying Checksum [2022-10-04T06:44:07.964Z] 656be50a0ddc: Download complete [2022-10-04T06:44:20.290Z] 656be50a0ddc: Pull complete [2022-10-04T06:44:20.290Z] 2bbca73fdf42: Pull complete [2022-10-04T06:44:20.290Z] f607e4fc86c3: Pull complete [2022-10-04T06:44:26.970Z] 4d572c569a2c: Pull complete [2022-10-04T06:44:27.956Z] fcf976331f73: Pull complete [2022-10-04T06:44:27.956Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-04T06:44:27.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-04T06:44:27.956Z] ---> 3970a7415f9e [2022-10-04T06:44:27.956Z] Step 3/11 : ARG MAKE=make build [2022-10-04T06:44:29.916Z] ---> Running in 094a1655ad20 [2022-10-04T06:44:30.184Z] Removing intermediate container 094a1655ad20 [2022-10-04T06:44:30.184Z] ---> 462cd4e60a31 [2022-10-04T06:44:30.184Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T06:44:30.184Z] ---> Running in 2c9a2f9bafdc [2022-10-04T06:44:30.453Z] Removing intermediate container 2c9a2f9bafdc [2022-10-04T06:44:30.453Z] ---> 89124427898a [2022-10-04T06:44:30.453Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:44:30.739Z] ---> Running in 4f3afd0453af [2022-10-04T06:44:30.739Z] Removing intermediate container 4f3afd0453af [2022-10-04T06:44:30.739Z] ---> 2bcc64cb484a [2022-10-04T06:44:30.739Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:44:31.009Z] ---> Running in 0089a6a9fe5a [2022-10-04T06:44:32.961Z] Removing intermediate container 0089a6a9fe5a [2022-10-04T06:44:32.961Z] ---> 94d41592efc1 [2022-10-04T06:44:32.961Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T06:44:32.961Z] ---> Running in b3bca2ab9eb6 [2022-10-04T06:44:33.546Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T06:44:34.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T06:44:35.482Z] OK: 221 MiB in 51 packages [2022-10-04T06:44:36.446Z] Removing intermediate container b3bca2ab9eb6 [2022-10-04T06:44:36.446Z] ---> c73296343100 [2022-10-04T06:44:36.446Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T06:44:37.031Z] ---> 799ec99c3096 [2022-10-04T06:44:37.031Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T06:44:37.031Z] ---> Running in 24755495db03 [2022-10-04T06:45:23.906Z] Removing intermediate container 24755495db03 [2022-10-04T06:45:23.906Z] ---> e572a1dbf909 [2022-10-04T06:45:23.906Z] Step 10/11 : COPY . . [2022-10-04T06:45:24.491Z] ---> 4be1d82b6bcc [2022-10-04T06:45:24.491Z] Step 11/11 : RUN ${MAKE} [2022-10-04T06:45:24.491Z] ---> Running in 6bd5159c491a [2022-10-04T06:45:25.451Z] noop [2022-10-04T06:45:26.416Z] Removing intermediate container 6bd5159c491a [2022-10-04T06:45:26.416Z] ---> 0b02439bba37 [2022-10-04T06:45:26.416Z] Successfully built 0b02439bba37 [2022-10-04T06:45:26.416Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:45:26.767Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T06:45:26.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:45:26.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container [2022-10-04T06:45:27.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T06:45:28.196Z] $ docker top 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T06:45:29.022Z] + go version [2022-10-04T06:45:29.022Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-04T06:45:29.042Z] $ docker stop --time=1 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 [2022-10-04T06:45:30.677Z] $ docker rm -f 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:45:31.212Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T06:45:31.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:45:31.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container [2022-10-04T06:45:31.453Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T06:45:32.643Z] $ docker top a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T06:45:33.161Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-04T06:45:33.500Z] + make test [2022-10-04T06:45:33.769Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T06:46:06.012Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T06:48:12.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T06:48:12.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T06:48:12.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T06:48:12.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T06:48:12.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T06:48:13.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.372s coverage: 27.6% of statements [2022-10-04T06:48:15.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.581s coverage: 78.9% of statements [2022-10-04T06:48:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T06:48:20.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.547s coverage: 60.0% of statements [2022-10-04T06:48:20.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T06:48:20.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T06:48:23.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.956s coverage: 54.4% of statements [2022-10-04T06:48:23.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T06:48:23.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T06:48:23.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T06:48:23.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T06:48:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.479s coverage: 65.1% of statements [2022-10-04T06:48:26.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T06:48:26.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T06:48:28.074Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.443s coverage: 89.2% of statements [2022-10-04T06:48:28.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T06:48:30.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements [2022-10-04T06:48:30.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T06:48:30.936Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-04T06:48:30.936Z] GO111MODULE=on go vet ./... [2022-10-04T06:50:07.961Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T06:50:07.961Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T06:50:07.961Z] ./bin/test-attribution-txt.sh [2022-10-04T06:50:07.961Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T06:50:08.230Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T06:50:08.230Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T06:50:08.230Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T06:50:08.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T06:50:08.263Z] $ docker stop --time=1 a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de [2022-10-04T06:50:10.096Z] $ docker rm -f a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T06:50:11.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T06:50:11.431Z] Warning: overwriting stash ‘coverage-report’ [2022-10-04T06:50:11.920Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T06:50:12.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T06:50:12.620Z] + ls -al . [2022-10-04T06:50:12.620Z] total 272 [2022-10-04T06:50:12.620Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 06:45 . [2022-10-04T06:50:12.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:43 .. [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:43 .dockerignore [2022-10-04T06:50:12.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:43 .git [2022-10-04T06:50:12.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:43 .github [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 06:43 .gitignore [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 06:43 .golangci.yml [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 06:43 CHANGELOG.md [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:43 GOVERNANCE.md [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 06:43 Jenkinsfile [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 06:43 LICENSE [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 4 06:43 Makefile [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 06:43 OWNERS.md [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 06:43 README.md [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:41 VERSION [2022-10-04T06:50:12.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:43 bin [2022-10-04T06:50:12.620Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 4 06:48 coverage.out [2022-10-04T06:50:12.620Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 06:43 example [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 4 06:43 go.mod [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 06:43 go.sum [2022-10-04T06:50:12.620Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 06:43 internal [2022-10-04T06:50:12.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:43 openapi [2022-10-04T06:50:12.620Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 06:43 pkg [2022-10-04T06:50:12.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:43 snap [2022-10-04T06:50:12.620Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:50:12.961Z] + 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=746eee8fa88d2e552ecbcd4d8df487429ffd7518 --label arch=arm64 --label version=0.0.0 . [2022-10-04T06:50:13.230Z] Sending build context to Docker daemon 5.501MB [2022-10-04T06:50:13.497Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T06:50:13.497Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T06:50:13.497Z] ---> 0b02439bba37 [2022-10-04T06:50:13.497Z] Step 3/25 : ARG MAKE=make build [2022-10-04T06:50:13.497Z] ---> Running in dae2e59e4051 [2022-10-04T06:50:13.767Z] Removing intermediate container dae2e59e4051 [2022-10-04T06:50:13.767Z] ---> 9f6c81a214b8 [2022-10-04T06:50:13.767Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T06:50:14.037Z] ---> Running in 5bcf2215de3c [2022-10-04T06:50:14.305Z] Removing intermediate container 5bcf2215de3c [2022-10-04T06:50:14.305Z] ---> 297650394c02 [2022-10-04T06:50:14.305Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:50:14.305Z] ---> Running in b1b14cb74ca7 [2022-10-04T06:50:14.574Z] Removing intermediate container b1b14cb74ca7 [2022-10-04T06:50:14.574Z] ---> 3d73dbf6b576 [2022-10-04T06:50:14.574Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:50:14.574Z] ---> Running in 79b111626502 [2022-10-04T06:50:16.527Z] Removing intermediate container 79b111626502 [2022-10-04T06:50:16.527Z] ---> e82aeaa62c33 [2022-10-04T06:50:16.527Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T06:50:16.527Z] ---> Running in c9e2c7a0e11b [2022-10-04T06:50:17.489Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T06:50:18.449Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T06:50:19.411Z] OK: 221 MiB in 51 packages [2022-10-04T06:50:21.354Z] Removing intermediate container c9e2c7a0e11b [2022-10-04T06:50:21.354Z] ---> 0e2fd1ba6748 [2022-10-04T06:50:21.354Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T06:50:21.621Z] ---> cbdc6daf948b [2022-10-04T06:50:21.621Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T06:50:21.621Z] ---> Running in 00690f7b2531 [2022-10-04T06:50:23.565Z] Removing intermediate container 00690f7b2531 [2022-10-04T06:50:23.565Z] ---> 5de1895d11d0 [2022-10-04T06:50:23.565Z] Step 10/25 : COPY . . [2022-10-04T06:50:24.526Z] ---> f2072cf3136f [2022-10-04T06:50:24.526Z] Step 11/25 : RUN ${MAKE} [2022-10-04T06:50:24.795Z] ---> Running in d170a92b2991 [2022-10-04T06:50:25.751Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T06:52:32.421Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T06:52:36.675Z] Removing intermediate container d170a92b2991 [2022-10-04T06:52:36.675Z] ---> 46a7532fccf7 [2022-10-04T06:52:36.675Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T06:52:37.636Z] 3.16: Pulling from library/alpine [2022-10-04T06:52:37.905Z] 9b18e9b68314: Pulling fs layer [2022-10-04T06:52:37.905Z] 9b18e9b68314: Verifying Checksum [2022-10-04T06:52:37.905Z] 9b18e9b68314: Download complete [2022-10-04T06:52:38.492Z] 9b18e9b68314: Pull complete [2022-10-04T06:52:38.492Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T06:52:38.492Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T06:52:38.492Z] ---> a6215f271958 [2022-10-04T06:52:38.492Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T06:52:38.760Z] ---> Running in f81c9c2c1857 [2022-10-04T06:52:39.028Z] Removing intermediate container f81c9c2c1857 [2022-10-04T06:52:39.028Z] ---> 2f746a330233 [2022-10-04T06:52:39.028Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T06:52:39.028Z] ---> Running in 8680724dfc55 [2022-10-04T06:52:40.980Z] Removing intermediate container 8680724dfc55 [2022-10-04T06:52:40.980Z] ---> 2fe783c36426 [2022-10-04T06:52:40.980Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T06:52:40.980Z] ---> Running in dfa4ab429524 [2022-10-04T06:52:41.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T06:52:42.909Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T06:52:43.867Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T06:52:43.867Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T06:52:43.867Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T06:52:44.134Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T06:52:44.134Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T06:52:44.402Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T06:52:44.402Z] OK: 8 MiB in 19 packages [2022-10-04T06:52:45.362Z] Removing intermediate container dfa4ab429524 [2022-10-04T06:52:45.362Z] ---> 1b568230f06e [2022-10-04T06:52:45.362Z] Step 16/25 : WORKDIR / [2022-10-04T06:52:45.362Z] ---> Running in 394fa5790c54 [2022-10-04T06:52:45.630Z] Removing intermediate container 394fa5790c54 [2022-10-04T06:52:45.630Z] ---> 3ba64b9852d9 [2022-10-04T06:52:45.630Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T06:52:46.213Z] ---> 0390b72442c3 [2022-10-04T06:52:46.213Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T06:52:47.622Z] ---> bc3a8b5799c8 [2022-10-04T06:52:47.622Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T06:52:48.206Z] ---> 119627785c4f [2022-10-04T06:52:48.206Z] Step 20/25 : EXPOSE 59999 [2022-10-04T06:52:48.206Z] ---> Running in 799c5fe297f0 [2022-10-04T06:52:48.472Z] Removing intermediate container 799c5fe297f0 [2022-10-04T06:52:48.472Z] ---> 52c33581f748 [2022-10-04T06:52:48.472Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T06:52:48.472Z] ---> Running in 59eda4bb5273 [2022-10-04T06:52:48.741Z] Removing intermediate container 59eda4bb5273 [2022-10-04T06:52:48.741Z] ---> a160c1198eda [2022-10-04T06:52:48.741Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T06:52:49.011Z] ---> Running in e1d1178c9b97 [2022-10-04T06:52:49.278Z] Removing intermediate container e1d1178c9b97 [2022-10-04T06:52:49.278Z] ---> be3b2834def3 [2022-10-04T06:52:49.278Z] Step 23/25 : LABEL arch=arm64 [2022-10-04T06:52:49.278Z] ---> Running in 4d2dd0ea9fbe [2022-10-04T06:52:49.549Z] Removing intermediate container 4d2dd0ea9fbe [2022-10-04T06:52:49.549Z] ---> d08b0fb806c7 [2022-10-04T06:52:49.549Z] Step 24/25 : LABEL git_sha=746eee8fa88d2e552ecbcd4d8df487429ffd7518 [2022-10-04T06:52:49.549Z] ---> Running in 752de9285846 [2022-10-04T06:52:49.815Z] Removing intermediate container 752de9285846 [2022-10-04T06:52:49.815Z] ---> 83f9574dc99f [2022-10-04T06:52:49.815Z] Step 25/25 : LABEL version=0.0.0 [2022-10-04T06:52:50.081Z] ---> Running in bc8b0fcd683a [2022-10-04T06:52:50.347Z] Removing intermediate container bc8b0fcd683a [2022-10-04T06:52:50.347Z] ---> cb5e048bbe03 [2022-10-04T06:52:50.347Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T06:52:50.347Z] Successfully built cb5e048bbe03 [2022-10-04T06:52:50.347Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:52:50.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T06:52:50.764Z] [2022-10-04T06:52:50.764Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:52:51.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T06:52:51.098Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-04T06:52:51.098Z] 8998bd30e6a1: Pulling fs layer [2022-10-04T06:52:51.098Z] 04944245beec: Pulling fs layer [2022-10-04T06:52:51.098Z] 699f458cf7ca: Pulling fs layer [2022-10-04T06:52:51.098Z] 765212b225bb: Pulling fs layer [2022-10-04T06:52:51.098Z] f23df028b6ca: Pulling fs layer [2022-10-04T06:52:51.098Z] d65c8cfc05b1: Pulling fs layer [2022-10-04T06:52:51.098Z] 2437ff75d9bd: Pulling fs layer [2022-10-04T06:52:51.098Z] d65c8cfc05b1: Waiting [2022-10-04T06:52:51.098Z] 765212b225bb: Waiting [2022-10-04T06:52:51.098Z] f23df028b6ca: Waiting [2022-10-04T06:52:51.098Z] 2437ff75d9bd: Waiting [2022-10-04T06:52:51.368Z] 04944245beec: Verifying Checksum [2022-10-04T06:52:51.368Z] 04944245beec: Download complete [2022-10-04T06:52:51.368Z] 765212b225bb: Verifying Checksum [2022-10-04T06:52:51.368Z] 765212b225bb: Download complete [2022-10-04T06:52:51.368Z] f23df028b6ca: Verifying Checksum [2022-10-04T06:52:51.368Z] f23df028b6ca: Download complete [2022-10-04T06:52:51.368Z] d65c8cfc05b1: Verifying Checksum [2022-10-04T06:52:51.368Z] d65c8cfc05b1: Download complete [2022-10-04T06:52:51.368Z] 699f458cf7ca: Verifying Checksum [2022-10-04T06:52:51.368Z] 699f458cf7ca: Download complete [2022-10-04T06:52:51.960Z] 8998bd30e6a1: Verifying Checksum [2022-10-04T06:52:51.960Z] 8998bd30e6a1: Download complete [2022-10-04T06:52:54.546Z] 2437ff75d9bd: Verifying Checksum [2022-10-04T06:52:54.546Z] 2437ff75d9bd: Download complete [2022-10-04T06:52:55.953Z] 8998bd30e6a1: Pull complete [2022-10-04T06:52:56.219Z] 04944245beec: Pull complete [2022-10-04T06:52:57.624Z] 699f458cf7ca: Pull complete [2022-10-04T06:52:57.624Z] 765212b225bb: Pull complete [2022-10-04T06:52:58.586Z] f23df028b6ca: Pull complete [2022-10-04T06:52:58.586Z] d65c8cfc05b1: Pull complete [2022-10-04T06:53:13.579Z] 2437ff75d9bd: Pull complete [2022-10-04T06:53:13.579Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-04T06:53:13.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T06:53:13.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:53:13.755Z] prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container [2022-10-04T06:53:13.814Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-04T06:53:16.432Z] $ docker top c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:16.938Z] ---> job-cost.sh [2022-10-04T06:53:17.205Z] lf-activate-venv: SKIPPING [2022-10-04T06:53:17.205Z] INFO: No Stack... [2022-10-04T06:53:17.786Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-04T06:53:18.743Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T06:53:19.061Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-10-04T06:53:19.062Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T06:53:19.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [2022-10-04T06:53:19.125Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] did not exist. Created. [2022-10-04T06:53:19.125Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T06:53:19.768Z] /w/workspace/device-sdk-go/2@tmp/durable-f2ac4a6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-04T06:53:20.415Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-04T06:53:20.432Z] Warning: overwriting stash ‘stack-cost’ [2022-10-04T06:53:20.498Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T06:53:20.505Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T06:53:20.528Z] $ docker stop --time=1 c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 [2022-10-04T06:53:22.052Z] $ docker rm -f c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-04T06:53:22.447Z] provisioning config files... [2022-10-04T06:53:22.455Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config14442991090293558898tmp [Pipeline] { [Pipeline] sh [2022-10-04T06:53:22.745Z] + set +x [2022-10-04T06:53:22.745Z] + + bash -s -- [2022-10-04T06:53:22.745Z] curl -s https://codecov.io/bash [2022-10-04T06:53:22.745Z] [2022-10-04T06:53:22.745Z] _____ _ [2022-10-04T06:53:22.745Z] / ____| | | [2022-10-04T06:53:22.745Z] | | ___ __| | ___ ___ _____ __ [2022-10-04T06:53:22.745Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-04T06:53:22.745Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-04T06:53:22.745Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-04T06:53:22.745Z] Bash-1.0.6 [2022-10-04T06:53:22.745Z] [2022-10-04T06:53:22.745Z] [2022-10-04T06:53:22.745Z] ==> git version 2.25.1 found [2022-10-04T06:53:22.745Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-04T06:53:22.745Z] Release-Date: 2020-01-08 [2022-10-04T06:53:22.745Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-04T06:53:22.745Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-04T06:53:22.745Z] ==> Jenkins CI detected. [2022-10-04T06:53:22.745Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1226 [2022-10-04T06:53:22.745Z] project root: . [2022-10-04T06:53:22.745Z] --> token set from env [2022-10-04T06:53:22.745Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-04T06:53:22.745Z] ==> Running gcov in . (disable via -X gcov) [2022-10-04T06:53:22.745Z] ==> Python coveragepy not found [2022-10-04T06:53:22.745Z] ==> Searching for coverage reports in: [2022-10-04T06:53:22.745Z] + . [2022-10-04T06:53:22.745Z] -> Found 1 reports [2022-10-04T06:53:22.745Z] ==> Detecting git/mercurial file structure [2022-10-04T06:53:22.745Z] ==> Reading reports [2022-10-04T06:53:22.745Z] + ./coverage.out bytes=101009 [2022-10-04T06:53:22.745Z] ==> Appending adjustments [2022-10-04T06:53:22.745Z] https://docs.codecov.io/docs/fixing-reports [2022-10-04T06:53:23.004Z] + Found adjustments [2022-10-04T06:53:23.004Z] ==> Gzipping contents [2022-10-04T06:53:23.262Z] 16K /tmp/codecov.t1sXQf.gz [2022-10-04T06:53:23.262Z] ==> Uploading reports [2022-10-04T06:53:23.262Z] url: https://codecov.io [2022-10-04T06:53:23.262Z] query: branch=PR-1226&commit=335d37f3bf52907231f062710320a74a14c5c04f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= [2022-10-04T06:53:23.262Z] -> Pinging Codecov [2022-10-04T06:53:23.262Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1226&commit=335d37f3bf52907231f062710320a74a14c5c04f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= [2022-10-04T06:53:23.520Z] -> Uploading to [2022-10-04T06:53:23.520Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-04/7E55EF52A471D76F132DFD9A03CDDE97/335d37f3bf52907231f062710320a74a14c5c04f/5bf9cff5-3a07-446b-9767-2ae9789dac15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T065323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ae355507ae9bff3f798a444e0d45d5537c077b5863ea9d11d97368af3a12d26 [2022-10-04T06:53:23.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T06:53:23.520Z] Dload Upload Total Spent Left Speed [2022-10-04T06:53:23.778Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14595 0 0 100 14595 0 66040 --:--:-- --:--:-- --:--:-- 65743 100 14595 0 0 100 14595 0 58380 --:--:-- --:--:-- --:--:-- 58147 [2022-10-04T06:53:23.778Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] } [2022-10-04T06:53:23.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-04T06:53:24.528Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives ] [2022-10-04T06:53:24.528Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-04T06:53:24.528Z] total 16 [2022-10-04T06:53:24.528Z] drwxr-xr-x 3 root root 4096 Oct 4 06:43 . [2022-10-04T06:53:24.528Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 06:43 .. [2022-10-04T06:53:24.528Z] drwxr-xr-x 2 root root 4096 Oct 4 06:43 cost [2022-10-04T06:53:24.528Z] -rw-r--r-- 1 root root 86 Oct 4 06:43 cost.csv [2022-10-04T06:53:24.528Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-04T06:53:24.528Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives [2022-10-04T06:53:24.528Z] total 16 [2022-10-04T06:53:24.528Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:43 . [2022-10-04T06:53:24.528Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 06:43 .. [2022-10-04T06:53:24.528Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 06:43 cost [2022-10-04T06:53:24.528Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:24.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:25.676Z] ---> package-listing.sh [2022-10-04T06:53:25.676Z] ++ facter osfamily [2022-10-04T06:53:25.676Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-04T06:53:25.934Z] + OS_FAMILY=debian [2022-10-04T06:53:25.935Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1226 [2022-10-04T06:53:25.935Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-04T06:53:25.935Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-04T06:53:25.935Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-04T06:53:25.935Z] + PACKAGES=/tmp/packages_start.txt [2022-10-04T06:53:25.935Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' [2022-10-04T06:53:25.935Z] + PACKAGES=/tmp/packages_end.txt [2022-10-04T06:53:25.935Z] + case "${OS_FAMILY}" in [2022-10-04T06:53:25.935Z] + dpkg -l [2022-10-04T06:53:25.935Z] + grep '^ii' [2022-10-04T06:53:25.935Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-04T06:53:25.935Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-04T06:53:25.935Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-04T06:53:25.935Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' [2022-10-04T06:53:25.935Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [2022-10-04T06:53:25.935Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [Pipeline] echo [2022-10-04T06:53:25.947Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-04T06:53:26.223Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T06:53:26.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T06:53:26.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T06:53:26.837Z] prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container [2022-10-04T06:53:26.875Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-04T06:53:27.103Z] $ docker top da7a89b6eebedb0781cdf90e75290d742eff1e66a9843c2668d0bdc8a5cbec25 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T06:53:27.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-04T06:53:27.724Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-04T06:53:28.007Z] + ls /var/log/sa-host [2022-10-04T06:53:28.008Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T06:53:28.152Z] provisioning config files... [2022-10-04T06:53:28.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config5574319041779319471tmp [Pipeline] { [Pipeline] echo [2022-10-04T06:53:28.171Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:28.450Z] ---> create-netrc.sh [Pipeline] } [2022-10-04T06:53:28.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:28.798Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-04T06:53:28.807Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:29.088Z] ---> sudo-logs.sh [2022-10-04T06:53:29.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-04T06:53:29.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:29.397Z] ---> job-cost.sh [2022-10-04T06:53:29.397Z] lf-activate-venv: SKIPPING [2022-10-04T06:53:29.397Z] DEBUG: total: 0.2199999988079071 [2022-10-04T06:53:29.397Z] INFO: Retrieving Stack Cost... [2022-10-04T06:53:29.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T06:53:30.224Z] INFO: Archiving Costs [Pipeline] echo [2022-10-04T06:53:30.235Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T06:53:30.516Z] ---> logs-deploy.sh [2022-10-04T06:53:30.516Z] lf-activate-venv: SKIPPING [2022-10-04T06:53:30.516Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1226/2 [2022-10-04T06:53:30.516Z] INFO: archiving workspace using pattern(s): [2022-10-04T06:53:31.453Z] Archives upload complete. [2022-10-04T06:53:31.453Z] INFO: archiving logs to Nexus