Pull request #1239 updated 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 dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff+67986f5e85a843a874e3bc4d59755e1036e07d38 (ab968fc1310b63902c8be1b174b8f6988b0851cb) 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-ssh11546353957226090937.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17955901114353882137.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/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-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6700800387225980811.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13791038263664954812.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-1239/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-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4856141702469636681.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-8404 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [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-1239 # 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 Merging remotes/origin/main commit 67986f5e85a843a874e3bc4d59755e1036e07d38 into PR head commit dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff Merge succeeded, producing dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff Checking out Revision dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff (PR-1239) > 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/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # 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 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 Commit message: "feat: Add metrics for count of Events and Readings sent" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T20:21:16.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T20:21:16.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T20:21:16.612Z] ========================================================= [2022-10-17T20:21:16.612Z] EdgeX Global Pipelines Version Info [2022-10-17T20:21:16.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 090cd635b5d5e4ac586d5ba49f41d50e13fa53ba # timeout=10 [2022-10-17T20:21:17.315Z] ------------------- [2022-10-17T20:21:17.315Z] stable info: [2022-10-17T20:21:17.315Z] ------------------- [2022-10-17T20:21:17.315Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T20:21:17.315Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:21:17.315Z] Message: update stable to v1.0.243 [2022-10-17T20:21:17.882Z] ------------------- [2022-10-17T20:21:17.882Z] experimental info: [2022-10-17T20:21:17.882Z] ------------------- [2022-10-17T20:21:17.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T20:21:17.882Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:21:17.882Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T20:21:18.043Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-17T20:21:18.054Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-17T20:21:18.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T20:21:18.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T20:21:18.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T20:21:18.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T20:21:18.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T20:21:18.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-17T20:21:18.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T20:21:18.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T20:21:18.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T20:21:18.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-17T20:21:18.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T20:21:18.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T20:21:18.207Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T20:21:18.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:21:18.235Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:21:18.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:21:18.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T20:21:18.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T20:21:18.289Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-17T20:21:18.300Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-17T20:21:18.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T20:21:18.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T20:21:18.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T20:21:18.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T20:21:18.372Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T20:21:18.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1239 [Pipeline] echo [2022-10-17T20:21:18.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1239 [Pipeline] echo [2022-10-17T20:21:18.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1239 [Pipeline] echo [2022-10-17T20:21:18.419Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [Pipeline] echo [2022-10-17T20:21:18.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc7f6bf [Pipeline] echo [2022-10-17T20:21:18.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:21:18.484Z] provisioning config files... [2022-10-17T20:21:18.496Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config9335898536262976215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:21:18.796Z] ---> docker-login.sh [2022-10-17T20:21:18.796Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:21:19.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:19.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:19.315Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:19.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:19.315Z] [2022-10-17T20:21:19.315Z] Login Succeeded [2022-10-17T20:21:19.315Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:21:19.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:19.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:19.573Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:19.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:19.573Z] [2022-10-17T20:21:19.573Z] Login Succeeded [2022-10-17T20:21:19.573Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:21:19.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:19.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:19.573Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:19.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:19.573Z] [2022-10-17T20:21:19.573Z] Login Succeeded [2022-10-17T20:21:19.573Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:21:19.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:19.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:19.832Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:19.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:19.832Z] [2022-10-17T20:21:19.832Z] Login Succeeded [2022-10-17T20:21:19.832Z] docker.io [2022-10-17T20:21:19.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:20.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:20.092Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:20.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:20.092Z] [2022-10-17T20:21:20.092Z] Login Succeeded [2022-10-17T20:21:20.092Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:21:20.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T20:21:20.471Z] + git rev-list -1 --merges dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff~1..dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [Pipeline] echo [2022-10-17T20:21:20.500Z] -----------> git rev-list -1 --merges dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff~1..dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [false] [Pipeline] sh [2022-10-17T20:21:20.787Z] + git log --format=format:%s -1 dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [Pipeline] echo [2022-10-17T20:21:20.802Z] ========================================================= [2022-10-17T20:21:20.802Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T20:21:20.802Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:21:21.135Z] + git log --format=format:%s -1 dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [Pipeline] echo [2022-10-17T20:21:21.147Z] [semverPrep] GIT_COMMIT: dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff, Commit Message: feat: Add metrics for count of Events and Readings sent [Pipeline] echo [2022-10-17T20:21:21.157Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T20:21:21.513Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:21:21.513Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T20:21:21.513Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T20:21:21.513Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T20:21:21.513Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T20:21:21.513Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T20:21:21.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:21:21.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:21:21.921Z] [2022-10-17T20:21:21.921Z] 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-17T20:21:22.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:21:22.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T20:21:22.228Z] b85a868b505f: Pulling fs layer [2022-10-17T20:21:22.228Z] e2be974225ed: Pulling fs layer [2022-10-17T20:21:22.228Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T20:21:22.228Z] 988bab9f4d93: Pulling fs layer [2022-10-17T20:21:22.228Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T20:21:22.228Z] eaf3925da568: Pulling fs layer [2022-10-17T20:21:22.228Z] bab4dde63d76: Pulling fs layer [2022-10-17T20:21:22.228Z] bde34c3a00c8: Pulling fs layer [2022-10-17T20:21:22.228Z] b352a97aabf1: Pulling fs layer [2022-10-17T20:21:22.228Z] 4872d77fe225: Pulling fs layer [2022-10-17T20:21:22.228Z] 5851b861e8e6: Pulling fs layer [2022-10-17T20:21:22.228Z] bde34c3a00c8: Waiting [2022-10-17T20:21:22.228Z] b352a97aabf1: Waiting [2022-10-17T20:21:22.228Z] 4872d77fe225: Waiting [2022-10-17T20:21:22.228Z] 988bab9f4d93: Waiting [2022-10-17T20:21:22.228Z] eaf3925da568: Waiting [2022-10-17T20:21:22.228Z] 5851b861e8e6: Waiting [2022-10-17T20:21:22.228Z] 1469e6f7b9e6: Waiting [2022-10-17T20:21:22.228Z] bab4dde63d76: Waiting [2022-10-17T20:21:22.228Z] e2be974225ed: Verifying Checksum [2022-10-17T20:21:22.228Z] 988bab9f4d93: Download complete [2022-10-17T20:21:22.489Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T20:21:22.489Z] 339a4e72a1f5: Download complete [2022-10-17T20:21:22.489Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T20:21:22.489Z] 1469e6f7b9e6: Download complete [2022-10-17T20:21:22.489Z] eaf3925da568: Verifying Checksum [2022-10-17T20:21:22.489Z] eaf3925da568: Download complete [2022-10-17T20:21:22.489Z] bde34c3a00c8: Download complete [2022-10-17T20:21:22.489Z] b352a97aabf1: Download complete [2022-10-17T20:21:22.489Z] 4872d77fe225: Verifying Checksum [2022-10-17T20:21:22.489Z] 4872d77fe225: Download complete [2022-10-17T20:21:22.489Z] 5851b861e8e6: Download complete [2022-10-17T20:21:22.489Z] b85a868b505f: Verifying Checksum [2022-10-17T20:21:22.489Z] b85a868b505f: Download complete [2022-10-17T20:21:22.749Z] bab4dde63d76: Verifying Checksum [2022-10-17T20:21:22.749Z] bab4dde63d76: Download complete [2022-10-17T20:21:23.687Z] b85a868b505f: Pull complete [2022-10-17T20:21:23.946Z] e2be974225ed: Pull complete [2022-10-17T20:21:24.514Z] 339a4e72a1f5: Pull complete [2022-10-17T20:21:24.514Z] 988bab9f4d93: Pull complete [2022-10-17T20:21:24.775Z] 1469e6f7b9e6: Pull complete [2022-10-17T20:21:24.775Z] eaf3925da568: Pull complete [2022-10-17T20:21:26.680Z] bab4dde63d76: Pull complete [2022-10-17T20:21:26.680Z] bde34c3a00c8: Pull complete [2022-10-17T20:21:26.680Z] b352a97aabf1: Pull complete [2022-10-17T20:21:26.938Z] 4872d77fe225: Pull complete [2022-10-17T20:21:26.938Z] 5851b861e8e6: Pull complete [2022-10-17T20:21:26.938Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T20:21:26.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:21:26.938Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:21:27.050Z] prd-ubuntu20.04-docker-8c-8g-8404 does not seem to be running inside a container [2022-10-17T20:21:27.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T20:21:29.108Z] $ docker top c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee -eo pid,comm [2022-10-17T20:21:29.159Z] 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-17T20:21:29.159Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:21:29.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:21:29.197Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:21:29.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:21:29.301Z] $ docker exec c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee ssh-agent [2022-10-17T20:21:29.406Z] SSH_AUTH_SOCK=/tmp/ssh-mnY62cws2bQZ/agent.32 [2022-10-17T20:21:29.406Z] SSH_AGENT_PID=38 [2022-10-17T20:21:29.411Z] Running ssh-add (command line suppressed) [2022-10-17T20:21:29.501Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_23851948729953849.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_23851948729953849.key) [2022-10-17T20:21:29.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:21:29.800Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T20:21:29.811Z] $ docker exec --env ******** --env ******** c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee ssh-agent -k [2022-10-17T20:21:29.902Z] unset SSH_AUTH_SOCK; [2022-10-17T20:21:29.902Z] unset SSH_AGENT_PID; [2022-10-17T20:21:29.902Z] echo Agent pid 38 killed; [2022-10-17T20:21:29.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T20:21:29.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:21:29.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:21:30.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:21:30.057Z] $ docker exec c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee ssh-agent [2022-10-17T20:21:30.179Z] SSH_AUTH_SOCK=/tmp/ssh-Hhmjlo6fb0Db/agent.70 [2022-10-17T20:21:30.179Z] SSH_AGENT_PID=76 [2022-10-17T20:21:30.184Z] Running ssh-add (command line suppressed) [2022-10-17T20:21:30.283Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_9301920965474435701.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_9301920965474435701.key) [2022-10-17T20:21:30.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:21:30.580Z] + git semver init [2022-10-17T20:21:30.839Z] 2022-10-17 20:21:30,734 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T20:21:30.839Z] 2022-10-17 20:21:30,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-17T20:21:30.839Z] 2022-10-17 20:21:30,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-17T20:21:30.839Z] 2022-10-17 20:21:30,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239, universal_newlines=False, shell=None, istream=None) [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,754 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.git/info/exclude [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,754 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 with force:False [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,754 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,758 [execute] INFO git cat-file --batch-check [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,763 [execute] INFO git cat-file --batch [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:21:31.778Z] 2022-10-17 20:21:31,768 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-17T20:21:31.778Z] 0.0.0 [Pipeline] } [2022-10-17T20:21:32.047Z] $ docker exec --env ******** --env ******** c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee ssh-agent -k [2022-10-17T20:21:32.139Z] unset SSH_AUTH_SOCK; [2022-10-17T20:21:32.139Z] unset SSH_AGENT_PID; [2022-10-17T20:21:32.139Z] echo Agent pid 76 killed; [2022-10-17T20:21:32.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:21:32.452Z] + git semver [Pipeline] } [2022-10-17T20:21:32.723Z] $ docker stop --time=1 c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee [2022-10-17T20:21:34.036Z] $ docker rm -f c34d40b5c0d077dbd39e6ec7fa49ef7a4a601be9438b63c134f4755c77eefcee [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:21:34.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T20:21:34.540Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T20:21:34.542Z] [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-17T20:21:34.645Z] provisioning config files... [2022-10-17T20:21:34.655Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config12883813662701780548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:21:34.949Z] ---> docker-login.sh [2022-10-17T20:21:34.949Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:21:34.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:34.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:34.949Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:34.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:34.949Z] [2022-10-17T20:21:34.949Z] Login Succeeded [2022-10-17T20:21:34.949Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:21:34.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:34.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:34.949Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:34.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:34.949Z] [2022-10-17T20:21:34.949Z] Login Succeeded [2022-10-17T20:21:34.949Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:21:35.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:35.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:35.207Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:35.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:35.207Z] [2022-10-17T20:21:35.207Z] Login Succeeded [2022-10-17T20:21:35.207Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:21:35.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:35.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:35.207Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:35.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:35.207Z] [2022-10-17T20:21:35.207Z] Login Succeeded [2022-10-17T20:21:35.207Z] docker.io [2022-10-17T20:21:35.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:21:35.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:21:35.774Z] Configure a credential helper to remove this warning. See [2022-10-17T20:21:35.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:21:35.774Z] [2022-10-17T20:21:35.774Z] Login Succeeded [2022-10-17T20:21:35.774Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:21:35.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:21:35.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:21:35.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:21:35.894Z] ========================================================= [2022-10-17T20:21:35.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T20:21:35.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:21:36.192Z] + 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-17T20:21:36.192Z] Sending build context to Docker daemon 10.02MB [2022-10-17T20:21:36.192Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:21:36.192Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T20:21:36.192Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T20:21:36.192Z] 213ec9aee27d: Pulling fs layer [2022-10-17T20:21:36.192Z] 4583459ba037: Pulling fs layer [2022-10-17T20:21:36.192Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T20:21:36.192Z] 53926ce57604: Pulling fs layer [2022-10-17T20:21:36.192Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T20:21:36.192Z] 30f14e443154: Pulling fs layer [2022-10-17T20:21:36.192Z] 801331c1e519: Pulling fs layer [2022-10-17T20:21:36.192Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T20:21:36.192Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T20:21:36.192Z] 30f14e443154: Waiting [2022-10-17T20:21:36.192Z] 801331c1e519: Waiting [2022-10-17T20:21:36.192Z] 99cc6dd402b0: Waiting [2022-10-17T20:21:36.192Z] 7d9ed39f4882: Waiting [2022-10-17T20:21:36.192Z] 53926ce57604: Waiting [2022-10-17T20:21:36.192Z] 21b2b0c7a3f4: Waiting [2022-10-17T20:21:36.192Z] 93c1e223e6f2: Download complete [2022-10-17T20:21:36.192Z] 4583459ba037: Verifying Checksum [2022-10-17T20:21:36.192Z] 4583459ba037: Download complete [2022-10-17T20:21:36.452Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T20:21:36.452Z] 21b2b0c7a3f4: Download complete [2022-10-17T20:21:36.452Z] 30f14e443154: Verifying Checksum [2022-10-17T20:21:36.452Z] 30f14e443154: Download complete [2022-10-17T20:21:36.452Z] 213ec9aee27d: Verifying Checksum [2022-10-17T20:21:36.452Z] 213ec9aee27d: Download complete [2022-10-17T20:21:36.452Z] 801331c1e519: Download complete [2022-10-17T20:21:36.714Z] 213ec9aee27d: Pull complete [2022-10-17T20:21:36.975Z] 4583459ba037: Pull complete [2022-10-17T20:21:36.975Z] 93c1e223e6f2: Pull complete [2022-10-17T20:21:37.233Z] 53926ce57604: Verifying Checksum [2022-10-17T20:21:37.233Z] 53926ce57604: Download complete [2022-10-17T20:21:37.233Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T20:21:37.233Z] 7d9ed39f4882: Download complete [2022-10-17T20:21:37.490Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T20:21:37.490Z] 99cc6dd402b0: Download complete [2022-10-17T20:21:40.770Z] 53926ce57604: Pull complete [2022-10-17T20:21:40.770Z] 21b2b0c7a3f4: Pull complete [2022-10-17T20:21:40.770Z] 30f14e443154: Pull complete [2022-10-17T20:21:40.770Z] 801331c1e519: Pull complete [2022-10-17T20:21:42.668Z] 99cc6dd402b0: Pull complete [2022-10-17T20:21:43.233Z] 7d9ed39f4882: Pull complete [2022-10-17T20:21:43.233Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T20:21:43.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T20:21:43.233Z] ---> 1dedd983c030 [2022-10-17T20:21:43.233Z] Step 3/11 : ARG MAKE=make build [2022-10-17T20:21:46.522Z] ---> Running in 964e75a619c6 [2022-10-17T20:21:46.522Z] Removing intermediate container 964e75a619c6 [2022-10-17T20:21:46.522Z] ---> 582472b143b1 [2022-10-17T20:21:46.522Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-17T20:21:46.522Z] ---> Running in 33eadc5efb21 [2022-10-17T20:21:46.522Z] Removing intermediate container 33eadc5efb21 [2022-10-17T20:21:46.522Z] ---> a816447c71bf [2022-10-17T20:21:46.522Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:21:46.522Z] ---> Running in 252b096872d0 [2022-10-17T20:21:46.780Z] Removing intermediate container 252b096872d0 [2022-10-17T20:21:46.780Z] ---> c706432c02c1 [2022-10-17T20:21:46.780Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:21:46.780Z] ---> Running in 5d7ff949bdec [2022-10-17T20:21:47.717Z] Removing intermediate container 5d7ff949bdec [2022-10-17T20:21:47.717Z] ---> 0ba839824442 [2022-10-17T20:21:47.717Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T20:21:47.717Z] ---> Running in afe6c77d795c [2022-10-17T20:21:48.283Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:21:48.851Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:21:49.419Z] OK: 211 MiB in 51 packages [2022-10-17T20:21:49.620Z] Still waiting to schedule task [2022-10-17T20:21:49.620Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T20:21:49.988Z] Removing intermediate container afe6c77d795c [2022-10-17T20:21:49.988Z] ---> 7bbacd3e0bf1 [2022-10-17T20:21:49.988Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T20:21:50.247Z] ---> 3bda97cb7860 [2022-10-17T20:21:50.247Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:21:50.506Z] ---> Running in 978c960dbba2 [2022-10-17T20:22:08.627Z] Removing intermediate container 978c960dbba2 [2022-10-17T20:22:08.627Z] ---> 53745f5ee572 [2022-10-17T20:22:08.627Z] Step 10/11 : COPY . . [2022-10-17T20:22:08.627Z] ---> c99e916c67dc [2022-10-17T20:22:08.627Z] Step 11/11 : RUN ${MAKE} [2022-10-17T20:22:08.627Z] ---> Running in ae7fdddf0c95 [2022-10-17T20:22:08.627Z] noop [2022-10-17T20:22:08.885Z] Removing intermediate container ae7fdddf0c95 [2022-10-17T20:22:08.885Z] ---> 80155d119245 [2022-10-17T20:22:08.885Z] Successfully built 80155d119245 [2022-10-17T20:22:08.885Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:22:09.184Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:22:09.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:22:09.240Z] prd-ubuntu20.04-docker-8c-8g-8404 does not seem to be running inside a container [2022-10-17T20:22:09.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@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 ******** ci-base-image-x86_64 cat [2022-10-17T20:22:09.731Z] $ docker top d063d1cb7cfe5c38a342d1f71fe592d31e026fb9488208b7cb386dcbe53ae4fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:22:10.065Z] + go version [2022-10-17T20:22:10.065Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T20:22:10.085Z] $ docker stop --time=1 d063d1cb7cfe5c38a342d1f71fe592d31e026fb9488208b7cb386dcbe53ae4fa [2022-10-17T20:22:11.330Z] $ docker rm -f d063d1cb7cfe5c38a342d1f71fe592d31e026fb9488208b7cb386dcbe53ae4fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:22:11.716Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:22:11.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:22:11.778Z] prd-ubuntu20.04-docker-8c-8g-8404 does not seem to be running inside a container [2022-10-17T20:22:11.804Z] $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@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 ******** ci-base-image-x86_64 cat [2022-10-17T20:22:12.122Z] $ docker top 24a1381f8ca0e14012aa969a68cb3c35c95359941829b958c59c37ffde5373db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:22:12.456Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:22:12.752Z] + make test [2022-10-17T20:22:12.752Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-17T20:22:19.307Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-17T20:22:31.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-17T20:22:31.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-17T20:22:31.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-17T20:22:31.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-17T20:22:31.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-17T20:22:31.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-10-17T20:22:31.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements [2022-10-17T20:22:31.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-17T20:22:31.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 74.1% of statements [2022-10-17T20:22:31.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-17T20:22:31.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-17T20:22:32.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-17T20:22:32.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-17T20:22:32.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements [2022-10-17T20:22:32.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-17T20:22:32.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.7% of statements [2022-10-17T20:22:32.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-17T20:22:47.449Z] 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-17T20:22:47.449Z] GO111MODULE=on go vet ./... [2022-10-17T20:22:49.350Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:22:49.350Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:22:49.350Z] ./bin/test-attribution-txt.sh [2022-10-17T20:22:49.350Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-17T20:22:49.350Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-17T20:22:49.350Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-17T20:22:49.350Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-17T20:22:49.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:22:49.636Z] $ docker stop --time=1 24a1381f8ca0e14012aa969a68cb3c35c95359941829b958c59c37ffde5373db [2022-10-17T20:22:52.594Z] $ docker rm -f 24a1381f8ca0e14012aa969a68cb3c35c95359941829b958c59c37ffde5373db [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:22:53.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:22:53.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T20:22:53.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:22:53.891Z] + ls -al . [2022-10-17T20:22:53.892Z] total 276 [2022-10-17T20:22:53.892Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 20:22 . [2022-10-17T20:22:53.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:21 .. [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 20:21 .dockerignore [2022-10-17T20:22:53.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:22 .git [2022-10-17T20:22:53.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:21 .github [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 17 20:21 .gitignore [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 20:21 .golangci.yml [2022-10-17T20:22:53.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:21 .semver [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 17 20:21 CHANGELOG.md [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:21 GOVERNANCE.md [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 17 20:21 Jenkinsfile [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 20:21 LICENSE [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 17 20:21 Makefile [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 20:21 OWNERS.md [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 17 20:21 README.md [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:21 VERSION [2022-10-17T20:22:53.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:21 bin [2022-10-17T20:22:53.892Z] -rw-r--r-- 1 jenkins jenkins 101928 Oct 17 20:22 coverage.out [2022-10-17T20:22:53.892Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 20:21 example [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 17 20:21 go.mod [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 17 20:21 go.sum [2022-10-17T20:22:53.892Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 17 20:21 internal [2022-10-17T20:22:53.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:21 openapi [2022-10-17T20:22:53.892Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 20:21 pkg [2022-10-17T20:22:53.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:21 snap [2022-10-17T20:22:53.892Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:22:54.192Z] + 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=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff --label arch=amd64 --label version=0.0.0 . [2022-10-17T20:22:54.192Z] Sending build context to Docker daemon 10.13MB [2022-10-17T20:22:54.192Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:22:54.192Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T20:22:54.192Z] ---> 80155d119245 [2022-10-17T20:22:54.192Z] Step 3/25 : ARG MAKE=make build [2022-10-17T20:22:54.452Z] ---> Running in 60b81735a004 [2022-10-17T20:22:54.452Z] Removing intermediate container 60b81735a004 [2022-10-17T20:22:54.452Z] ---> f209aed37e89 [2022-10-17T20:22:54.452Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-17T20:22:54.452Z] ---> Running in 8afdef6b8fe8 [2022-10-17T20:22:54.452Z] Removing intermediate container 8afdef6b8fe8 [2022-10-17T20:22:54.452Z] ---> 35246a6ae497 [2022-10-17T20:22:54.452Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:22:54.452Z] ---> Running in 228b28ee2b27 [2022-10-17T20:22:54.712Z] Removing intermediate container 228b28ee2b27 [2022-10-17T20:22:54.712Z] ---> ebee69b3ef90 [2022-10-17T20:22:54.712Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:22:54.712Z] ---> Running in b1be06d0b555 [2022-10-17T20:22:55.280Z] Removing intermediate container b1be06d0b555 [2022-10-17T20:22:55.280Z] ---> 2dd280843f76 [2022-10-17T20:22:55.280Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T20:22:55.280Z] ---> Running in 6202842bfc30 [2022-10-17T20:22:55.540Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:22:56.480Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:22:56.742Z] OK: 211 MiB in 51 packages [2022-10-17T20:22:57.001Z] Removing intermediate container 6202842bfc30 [2022-10-17T20:22:57.001Z] ---> 3e9921303b2c [2022-10-17T20:22:57.001Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-17T20:22:57.001Z] ---> d05647657c7e [2022-10-17T20:22:57.001Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:22:57.001Z] ---> Running in 989e30cbf0ec [2022-10-17T20:22:57.568Z] Removing intermediate container 989e30cbf0ec [2022-10-17T20:22:57.568Z] ---> af688ace4d71 [2022-10-17T20:22:57.568Z] Step 10/25 : COPY . . [2022-10-17T20:22:58.137Z] ---> c57db15f42d2 [2022-10-17T20:22:58.137Z] Step 11/25 : RUN ${MAKE} [2022-10-17T20:22:58.137Z] ---> Running in 0895ed27dce6 [2022-10-17T20:22:58.395Z] 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-17T20:23:16.463Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-17T20:23:18.363Z] Removing intermediate container 0895ed27dce6 [2022-10-17T20:23:18.363Z] ---> ad66e0080eb5 [2022-10-17T20:23:18.363Z] Step 12/25 : FROM alpine:3.16 [2022-10-17T20:23:18.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8405 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] { [Pipeline] ws [2022-10-17T20:23:18.748Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-10-17T20:23:18.781Z] The recommended git tool is: git [2022-10-17T20:23:18.927Z] 3.16: Pulling from library/alpine [2022-10-17T20:23:19.185Z] 213ec9aee27d: Already exists [2022-10-17T20:23:19.443Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:23:19.443Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:23:19.443Z] ---> 9c6f07244728 [2022-10-17T20:23:19.443Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:23:19.443Z] ---> Running in 3ef156f360db [2022-10-17T20:23:19.443Z] Removing intermediate container 3ef156f360db [2022-10-17T20:23:19.443Z] ---> be433158afe0 [2022-10-17T20:23:19.443Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:23:19.443Z] ---> Running in 620f7dc38061 [2022-10-17T20:23:20.009Z] Removing intermediate container 620f7dc38061 [2022-10-17T20:23:20.009Z] ---> c4ebdd64b8eb [2022-10-17T20:23:20.009Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-17T20:23:20.009Z] ---> Running in a31c7ac941e3 [2022-10-17T20:23:20.266Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:23:21.201Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:23:21.459Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:23:21.459Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T20:23:21.459Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:23:21.717Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T20:23:21.717Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T20:23:21.976Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:23:21.976Z] OK: 8 MiB in 19 packages [2022-10-17T20:23:22.233Z] Removing intermediate container a31c7ac941e3 [2022-10-17T20:23:22.233Z] ---> f881ba0e3bba [2022-10-17T20:23:22.233Z] Step 16/25 : WORKDIR / [2022-10-17T20:23:22.233Z] ---> Running in e3ae22ab9138 [2022-10-17T20:23:22.233Z] Removing intermediate container e3ae22ab9138 [2022-10-17T20:23:22.233Z] ---> 53b3efefa9d4 [2022-10-17T20:23:22.233Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-17T20:23:22.491Z] ---> 2538018f5e3b [2022-10-17T20:23:22.491Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-17T20:23:23.061Z] ---> eaa6496ee8b4 [2022-10-17T20:23:23.061Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-17T20:23:23.061Z] ---> 33a8d7d7f401 [2022-10-17T20:23:23.061Z] Step 20/25 : EXPOSE 59999 [2022-10-17T20:23:23.320Z] ---> Running in 68451cebf749 [2022-10-17T20:23:23.320Z] Removing intermediate container 68451cebf749 [2022-10-17T20:23:23.320Z] ---> 894976223d9c [2022-10-17T20:23:23.320Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-17T20:23:23.320Z] ---> Running in 2596106c4e82 [2022-10-17T20:23:23.320Z] Removing intermediate container 2596106c4e82 [2022-10-17T20:23:23.320Z] ---> 60c2a2625048 [2022-10-17T20:23:23.320Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T20:23:23.320Z] ---> Running in ae3cd0264bbc [2022-10-17T20:23:23.320Z] Removing intermediate container ae3cd0264bbc [2022-10-17T20:23:23.320Z] ---> 57812e3efb82 [2022-10-17T20:23:23.320Z] Step 23/25 : LABEL arch=amd64 [2022-10-17T20:23:23.579Z] ---> Running in 2ebfed18f20a [2022-10-17T20:23:23.579Z] Removing intermediate container 2ebfed18f20a [2022-10-17T20:23:23.579Z] ---> 4c55e7fa92cb [2022-10-17T20:23:23.579Z] Step 24/25 : LABEL git_sha=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [2022-10-17T20:23:23.579Z] ---> Running in 1e1e10387f79 [2022-10-17T20:23:23.579Z] Removing intermediate container 1e1e10387f79 [2022-10-17T20:23:23.579Z] ---> 2ec27b1d035a [2022-10-17T20:23:23.579Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T20:23:23.579Z] ---> Running in 72883d38db35 [2022-10-17T20:23:23.632Z] using credential edgex-jenkins-ssh [2022-10-17T20:23:23.657Z] Cloning the remote Git repository [2022-10-17T20:23:23.697Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-17T20:23:23.779Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-10-17T20:23:23.840Z] Removing intermediate container 72883d38db35 [2022-10-17T20:23:23.840Z] ---> 2751e686799f [2022-10-17T20:23:23.840Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:23:23.840Z] Successfully built 2751e686799f [2022-10-17T20:23:23.840Z] 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-17T20:23:24.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:23:24.285Z] [2022-10-17T20:23:24.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:23:24.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:23:24.582Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T20:23:24.582Z] 5eb5b503b376: Pulling fs layer [2022-10-17T20:23:24.582Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T20:23:24.582Z] ec43610c2a17: Pulling fs layer [2022-10-17T20:23:24.582Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T20:23:24.582Z] 33b1e0a273af: Pulling fs layer [2022-10-17T20:23:24.582Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T20:23:24.582Z] 2f39f015ded8: Pulling fs layer [2022-10-17T20:23:24.582Z] 3a2ae6a8a46f: Waiting [2022-10-17T20:23:24.582Z] 33b1e0a273af: Waiting [2022-10-17T20:23:24.582Z] 5d3b04190fa2: Waiting [2022-10-17T20:23:24.582Z] 2f39f015ded8: Waiting [2022-10-17T20:23:24.582Z] 5c69ac0246d0: Download complete [2022-10-17T20:23:24.582Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T20:23:24.582Z] 3a2ae6a8a46f: Download complete [2022-10-17T20:23:24.582Z] 33b1e0a273af: Verifying Checksum [2022-10-17T20:23:24.582Z] 33b1e0a273af: Download complete [2022-10-17T20:23:24.582Z] 5d3b04190fa2: Download complete [2022-10-17T20:23:24.840Z] ec43610c2a17: Verifying Checksum [2022-10-17T20:23:24.840Z] ec43610c2a17: Download complete [2022-10-17T20:23:24.840Z] 5eb5b503b376: Verifying Checksum [2022-10-17T20:23:24.840Z] 5eb5b503b376: Download complete [2022-10-17T20:23:23.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-17T20:23:23.929Z] > git --version # timeout=10 [2022-10-17T20:23:23.949Z] > git --version # 'git version 2.25.1' [2022-10-17T20:23:23.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:23:23.998Z] Verifying host key using known hosts file [2022-10-17T20:23:24.202Z] 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-17T20:23:24.215Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:23:25.404Z] 2f39f015ded8: Download complete [2022-10-17T20:23:25.969Z] 5eb5b503b376: Pull complete [2022-10-17T20:23:25.969Z] 5c69ac0246d0: Pull complete [2022-10-17T20:23:25.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-17T20:23:25.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:23:26.535Z] ec43610c2a17: Pull complete [2022-10-17T20:23:26.535Z] 3a2ae6a8a46f: Pull complete [2022-10-17T20:23:26.793Z] 33b1e0a273af: Pull complete [2022-10-17T20:23:26.793Z] 5d3b04190fa2: Pull complete [2022-10-17T20:23:27.199Z] Merging remotes/origin/main commit 67986f5e85a843a874e3bc4d59755e1036e07d38 into PR head commit dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [2022-10-17T20:23:27.434Z] Merge succeeded, producing dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [2022-10-17T20:23:27.434Z] Checking out Revision dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff (PR-1239) [2022-10-17T20:23:26.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-17T20:23:26.472Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-17T20:23:26.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:23:26.478Z] Verifying host key using known hosts file [2022-10-17T20:23:26.484Z] 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-17T20:23:26.498Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T20:23:27.217Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T20:23:27.237Z] > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 [2022-10-17T20:23:27.339Z] > git remote # timeout=10 [2022-10-17T20:23:27.357Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T20:23:27.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:23:27.376Z] Verifying host key using known hosts file [2022-10-17T20:23:27.380Z] 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-17T20:23:27.389Z] > git merge 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 [2022-10-17T20:23:27.416Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T20:23:27.441Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T20:23:27.455Z] > git checkout -f dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff # timeout=10 [2022-10-17T20:23:30.959Z] Commit message: "feat: Add metrics for count of Events and Readings sent" [2022-10-17T20:23:30.974Z] 2f39f015ded8: Pull complete [2022-10-17T20:23:30.974Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T20:23:30.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:23:30.974Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:23:31.045Z] prd-ubuntu20.04-docker-8c-8g-8404 does not seem to be running inside a container [2022-10-17T20:23:31.080Z] $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@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-17T20:23:31.246Z] [2022-10-17T20:23:31.246Z] GitHub has been notified of this commit’s build result [2022-10-17T20:23:31.246Z] [2022-10-17T20:23:33.806Z] $ docker top 98a5be19fafcb94b3e3790bc17f2214da73f9426b81cd23b42d47b8aaf6dd96b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:23:34.195Z] ---> job-cost.sh [2022-10-17T20:23:34.195Z] lf-activate-venv: SKIPPING [2022-10-17T20:23:34.195Z] INFO: No Stack... [2022-10-17T20:23:34.443Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T20:23:34.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:23:34.444Z] Dload Upload Total Spent Left Speed [2022-10-17T20:23:34.444Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 66677 0 --:--:-- --:--:-- --:--:-- 66677 [2022-10-17T20:23:34.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-10-17T20:23:35.021Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:23:35.087Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T20:23:35.307Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/cost.csv [2022-10-17T20:23:35.308Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T20:23:35.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [2022-10-17T20:23:35.326Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] did not exist. Created. [2022-10-17T20:23:35.326Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:23:35.411Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T20:23:35.411Z] + sudo tee /etc/docker/daemon.new [2022-10-17T20:23:35.411Z] { [2022-10-17T20:23:35.411Z] "registry-mirrors": [ [2022-10-17T20:23:35.411Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T20:23:35.411Z] ], [2022-10-17T20:23:35.411Z] "bip": "10.250.0.254/24", [2022-10-17T20:23:35.411Z] "hosts": [ [2022-10-17T20:23:35.411Z] "tcp://0.0.0.0:5555", [2022-10-17T20:23:35.411Z] "unix:///var/run/docker.sock" [2022-10-17T20:23:35.411Z] ], [2022-10-17T20:23:35.411Z] "mtu": 1458, [2022-10-17T20:23:35.411Z] "selinux-enabled": true, [2022-10-17T20:23:35.411Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T20:23:35.411Z] } [Pipeline] sh [2022-10-17T20:23:35.622Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T20:23:35.653Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:23:35.665Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T20:23:35.684Z] $ docker stop --time=1 98a5be19fafcb94b3e3790bc17f2214da73f9426b81cd23b42d47b8aaf6dd96b [2022-10-17T20:23:35.735Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-10-17T20:23:36.831Z] $ docker rm -f 98a5be19fafcb94b3e3790bc17f2214da73f9426b81cd23b42d47b8aaf6dd96b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T20:23:37.191Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:23:55.444Z] provisioning config files... [2022-10-17T20:23:55.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config14233569237676109201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:23:55.807Z] ---> docker-login.sh [2022-10-17T20:23:55.807Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:23:56.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:23:56.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:23:56.344Z] Configure a credential helper to remove this warning. See [2022-10-17T20:23:56.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:23:56.344Z] [2022-10-17T20:23:56.344Z] Login Succeeded [2022-10-17T20:23:56.344Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:23:56.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:23:56.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:23:56.880Z] Configure a credential helper to remove this warning. See [2022-10-17T20:23:56.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:23:56.880Z] [2022-10-17T20:23:56.880Z] Login Succeeded [2022-10-17T20:23:56.880Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:23:56.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:23:57.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:23:57.148Z] Configure a credential helper to remove this warning. See [2022-10-17T20:23:57.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:23:57.148Z] [2022-10-17T20:23:57.148Z] Login Succeeded [2022-10-17T20:23:57.148Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:23:57.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:23:57.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:23:57.418Z] Configure a credential helper to remove this warning. See [2022-10-17T20:23:57.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:23:57.418Z] [2022-10-17T20:23:57.418Z] Login Succeeded [2022-10-17T20:23:57.418Z] docker.io [2022-10-17T20:23:57.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:23:57.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:23:57.955Z] Configure a credential helper to remove this warning. See [2022-10-17T20:23:57.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:23:57.955Z] [2022-10-17T20:23:57.955Z] Login Succeeded [2022-10-17T20:23:57.955Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:23:57.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:23:58.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:23:58.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:23:58.114Z] ========================================================= [2022-10-17T20:23:58.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T20:23:58.114Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:23:58.440Z] + 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-17T20:23:58.709Z] Sending build context to Docker daemon 5.396MB [2022-10-17T20:23:58.709Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:23:58.709Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T20:23:58.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T20:23:58.979Z] 9b18e9b68314: Pulling fs layer [2022-10-17T20:23:58.979Z] d32db5db7311: Pulling fs layer [2022-10-17T20:23:58.979Z] d0c4b47475fc: Pulling fs layer [2022-10-17T20:23:58.980Z] 5831b945b038: Pulling fs layer [2022-10-17T20:23:58.980Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T20:23:58.980Z] e10730c5d714: Pulling fs layer [2022-10-17T20:23:58.980Z] 5dd5c2283517: Pulling fs layer [2022-10-17T20:23:58.980Z] d5ac0230b979: Pulling fs layer [2022-10-17T20:23:58.980Z] 86bbec2aaacd: Waiting [2022-10-17T20:23:58.980Z] e10730c5d714: Waiting [2022-10-17T20:23:58.980Z] 5831b945b038: Waiting [2022-10-17T20:23:58.980Z] 5dd5c2283517: Waiting [2022-10-17T20:23:58.980Z] d5ac0230b979: Waiting [2022-10-17T20:23:58.980Z] d0c4b47475fc: Download complete [2022-10-17T20:23:58.980Z] d32db5db7311: Verifying Checksum [2022-10-17T20:23:58.980Z] d32db5db7311: Download complete [2022-10-17T20:23:58.980Z] 86bbec2aaacd: Download complete [2022-10-17T20:23:58.980Z] e10730c5d714: Download complete [2022-10-17T20:23:58.980Z] 9b18e9b68314: Download complete [2022-10-17T20:23:59.949Z] d5ac0230b979: Verifying Checksum [2022-10-17T20:23:59.949Z] d5ac0230b979: Download complete [2022-10-17T20:24:00.925Z] 9b18e9b68314: Pull complete [2022-10-17T20:24:01.521Z] d32db5db7311: Pull complete [2022-10-17T20:24:01.789Z] d0c4b47475fc: Pull complete [2022-10-17T20:24:01.789Z] 5831b945b038: Download complete [2022-10-17T20:24:02.373Z] 5dd5c2283517: Verifying Checksum [2022-10-17T20:24:02.373Z] 5dd5c2283517: Download complete [2022-10-17T20:24:14.737Z] 5831b945b038: Pull complete [2022-10-17T20:24:14.737Z] 86bbec2aaacd: Pull complete [2022-10-17T20:24:14.737Z] e10730c5d714: Pull complete [2022-10-17T20:24:20.098Z] 5dd5c2283517: Pull complete [2022-10-17T20:24:22.051Z] d5ac0230b979: Pull complete [2022-10-17T20:24:22.051Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T20:24:22.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T20:24:22.051Z] ---> 59b3b1a385d4 [2022-10-17T20:24:22.051Z] Step 3/11 : ARG MAKE=make build [2022-10-17T20:24:23.992Z] ---> Running in b3eb7d291fb7 [2022-10-17T20:24:23.992Z] Removing intermediate container b3eb7d291fb7 [2022-10-17T20:24:23.992Z] ---> 4b4fbdf13537 [2022-10-17T20:24:23.992Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-17T20:24:23.992Z] ---> Running in 35a2c387875f [2022-10-17T20:24:24.261Z] Removing intermediate container 35a2c387875f [2022-10-17T20:24:24.261Z] ---> 58bda4dd2378 [2022-10-17T20:24:24.261Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:24:24.529Z] ---> Running in 8e9d352ddf10 [2022-10-17T20:24:24.797Z] Removing intermediate container 8e9d352ddf10 [2022-10-17T20:24:24.797Z] ---> 5db14d828e19 [2022-10-17T20:24:24.797Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:24:24.797Z] ---> Running in 58f009ad6896 [2022-10-17T20:24:26.757Z] Removing intermediate container 58f009ad6896 [2022-10-17T20:24:26.757Z] ---> c103d52c1f7a [2022-10-17T20:24:26.757Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T20:24:26.757Z] ---> Running in 937b412c7a27 [2022-10-17T20:24:27.748Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:24:28.328Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:24:29.297Z] OK: 221 MiB in 51 packages [2022-10-17T20:24:30.264Z] Removing intermediate container 937b412c7a27 [2022-10-17T20:24:30.264Z] ---> 4462ef8072d2 [2022-10-17T20:24:30.264Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T20:24:30.532Z] ---> 1fc0be4ba219 [2022-10-17T20:24:30.532Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:24:30.802Z] ---> Running in db6a98bfc61c [2022-10-17T20:25:27.206Z] Removing intermediate container db6a98bfc61c [2022-10-17T20:25:27.206Z] ---> 6fb0bfc55f96 [2022-10-17T20:25:27.206Z] Step 10/11 : COPY . . [2022-10-17T20:25:27.206Z] ---> 5d428d11e59d [2022-10-17T20:25:27.206Z] Step 11/11 : RUN ${MAKE} [2022-10-17T20:25:27.206Z] ---> Running in ed6fe5c8b04f [2022-10-17T20:25:27.206Z] noop [2022-10-17T20:25:27.206Z] Removing intermediate container ed6fe5c8b04f [2022-10-17T20:25:27.206Z] ---> 6a796e73c4c4 [2022-10-17T20:25:27.206Z] Successfully built 6a796e73c4c4 [2022-10-17T20:25:27.206Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:25:27.553Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:25:27.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:25:27.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-8405 does not seem to be running inside a container [2022-10-17T20:25:27.777Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T20:25:28.941Z] $ docker top e75b394039fc6cf173c529a2eb7fceac4fec23d0465bec67b4b0361092292cf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:25:29.760Z] + go version [2022-10-17T20:25:29.760Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T20:25:29.782Z] $ docker stop --time=1 e75b394039fc6cf173c529a2eb7fceac4fec23d0465bec67b4b0361092292cf7 [2022-10-17T20:25:31.391Z] $ docker rm -f e75b394039fc6cf173c529a2eb7fceac4fec23d0465bec67b4b0361092292cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:25:31.927Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:25:31.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:25:32.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-8405 does not seem to be running inside a container [2022-10-17T20:25:32.153Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-17T20:25:33.358Z] $ docker top 2340fd164e5f86449f4d3e5e3fbbb86b485b30b814080cfe0c37adf7bd2d12fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:25:33.854Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:25:34.452Z] + make test [2022-10-17T20:25:34.452Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-17T20:26:06.703Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-17T20:28:13.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.350s coverage: 27.6% of statements [2022-10-17T20:28:13.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.520s coverage: 78.9% of statements [2022-10-17T20:28:13.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-17T20:28:17.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.656s coverage: 74.1% of statements [2022-10-17T20:28:17.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-17T20:28:17.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-17T20:28:22.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.592s coverage: 54.4% of statements [2022-10-17T20:28:22.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-17T20:28:22.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-17T20:28:22.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-17T20:28:22.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-17T20:28:23.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.527s coverage: 65.1% of statements [2022-10-17T20:28:23.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-17T20:28:23.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-17T20:28:23.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.820s coverage: 89.2% of statements [2022-10-17T20:28:23.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-17T20:28:25.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.264s coverage: 4.7% of statements [2022-10-17T20:28:25.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-17T20:28:26.936Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T20:28:26.936Z] GO111MODULE=on go vet ./... [2022-10-17T20:30:18.627Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:30:18.627Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:30:18.627Z] ./bin/test-attribution-txt.sh [2022-10-17T20:30:18.627Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-17T20:30:18.627Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-17T20:30:18.627Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-17T20:30:18.627Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-17T20:30:18.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:30:18.656Z] $ docker stop --time=1 2340fd164e5f86449f4d3e5e3fbbb86b485b30b814080cfe0c37adf7bd2d12fb [2022-10-17T20:30:20.589Z] $ docker rm -f 2340fd164e5f86449f4d3e5e3fbbb86b485b30b814080cfe0c37adf7bd2d12fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:30:21.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:30:21.990Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T20:30:22.494Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:30:22.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:30:23.199Z] + ls -al . [2022-10-17T20:30:23.199Z] total 272 [2022-10-17T20:30:23.199Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:25 . [2022-10-17T20:30:23.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:23 .. [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 20:23 .dockerignore [2022-10-17T20:30:23.199Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:23 .git [2022-10-17T20:30:23.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:23 .github [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 17 20:23 .gitignore [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 20:23 .golangci.yml [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 17 20:23 CHANGELOG.md [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:23 GOVERNANCE.md [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 17 20:23 Jenkinsfile [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 20:23 LICENSE [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 17 20:23 Makefile [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 20:23 OWNERS.md [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 17 20:23 README.md [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:21 VERSION [2022-10-17T20:30:23.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:23 bin [2022-10-17T20:30:23.199Z] -rw-r--r-- 1 jenkins jenkins 101928 Oct 17 20:28 coverage.out [2022-10-17T20:30:23.199Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 20:23 example [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 17 20:23 go.mod [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 17 20:23 go.sum [2022-10-17T20:30:23.199Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 17 20:23 internal [2022-10-17T20:30:23.199Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:23 openapi [2022-10-17T20:30:23.199Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 20:23 pkg [2022-10-17T20:30:23.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:23 snap [2022-10-17T20:30:23.199Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 20:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:30:23.536Z] + 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=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff --label arch=arm64 --label version=0.0.0 . [2022-10-17T20:30:23.803Z] Sending build context to Docker daemon 5.499MB [2022-10-17T20:30:24.070Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:30:24.070Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T20:30:24.070Z] ---> 6a796e73c4c4 [2022-10-17T20:30:24.070Z] Step 3/25 : ARG MAKE=make build [2022-10-17T20:30:24.070Z] ---> Running in 12be4456a3c1 [2022-10-17T20:30:24.338Z] Removing intermediate container 12be4456a3c1 [2022-10-17T20:30:24.338Z] ---> 0ef0a4f3a3e0 [2022-10-17T20:30:24.338Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-17T20:30:24.609Z] ---> Running in 78657d6ad181 [2022-10-17T20:30:24.878Z] Removing intermediate container 78657d6ad181 [2022-10-17T20:30:24.878Z] ---> f4e6f45b5ee8 [2022-10-17T20:30:24.878Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:30:24.878Z] ---> Running in d66be5f27a6f [2022-10-17T20:30:25.149Z] Removing intermediate container d66be5f27a6f [2022-10-17T20:30:25.150Z] ---> d4d593ce159f [2022-10-17T20:30:25.150Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:30:25.419Z] ---> Running in 3c2886f9f6da [2022-10-17T20:30:26.825Z] Removing intermediate container 3c2886f9f6da [2022-10-17T20:30:26.825Z] ---> 1c4499b17a79 [2022-10-17T20:30:26.826Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T20:30:27.093Z] ---> Running in 91b42cbdd47f [2022-10-17T20:30:28.053Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:30:29.023Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:30:29.982Z] OK: 221 MiB in 51 packages [2022-10-17T20:30:30.946Z] Removing intermediate container 91b42cbdd47f [2022-10-17T20:30:30.946Z] ---> af8da9c0d5ab [2022-10-17T20:30:30.946Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-17T20:30:31.537Z] ---> f7ab8005f1c7 [2022-10-17T20:30:31.537Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:30:31.537Z] ---> Running in 7b9ede48b47c [2022-10-17T20:30:33.486Z] Removing intermediate container 7b9ede48b47c [2022-10-17T20:30:33.486Z] ---> 7df1385cb597 [2022-10-17T20:30:33.486Z] Step 10/25 : COPY . . [2022-10-17T20:30:34.898Z] ---> f444346d4e57 [2022-10-17T20:30:34.898Z] Step 11/25 : RUN ${MAKE} [2022-10-17T20:30:34.898Z] ---> Running in b82ad0198f01 [2022-10-17T20:30:35.861Z] 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-17T20:33:12.612Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-17T20:33:12.613Z] Removing intermediate container b82ad0198f01 [2022-10-17T20:33:12.613Z] ---> fc7111ae60c2 [2022-10-17T20:33:12.613Z] Step 12/25 : FROM alpine:3.16 [2022-10-17T20:33:12.613Z] 3.16: Pulling from library/alpine [2022-10-17T20:33:12.613Z] 9b18e9b68314: Already exists [2022-10-17T20:33:12.613Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:33:12.613Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:33:12.613Z] ---> a6215f271958 [2022-10-17T20:33:12.613Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:33:12.613Z] ---> Running in a43526b35f4e [2022-10-17T20:33:12.613Z] Removing intermediate container a43526b35f4e [2022-10-17T20:33:12.613Z] ---> 7d16c96c091f [2022-10-17T20:33:12.613Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:33:12.613Z] ---> Running in fbbdcd62576c [2022-10-17T20:33:13.580Z] Removing intermediate container fbbdcd62576c [2022-10-17T20:33:13.580Z] ---> 711c44d6364f [2022-10-17T20:33:13.580Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-17T20:33:13.580Z] ---> Running in 5bf400d42224 [2022-10-17T20:33:15.013Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:33:15.977Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:33:16.942Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:33:16.942Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T20:33:16.942Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:33:17.209Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T20:33:17.209Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T20:33:17.476Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:33:17.476Z] OK: 8 MiB in 19 packages [2022-10-17T20:33:18.437Z] Removing intermediate container 5bf400d42224 [2022-10-17T20:33:18.437Z] ---> e5bb8e9f5799 [2022-10-17T20:33:18.437Z] Step 16/25 : WORKDIR / [2022-10-17T20:33:18.437Z] ---> Running in 0d3a06f0d416 [2022-10-17T20:33:18.704Z] Removing intermediate container 0d3a06f0d416 [2022-10-17T20:33:18.704Z] ---> 40567893d7ac [2022-10-17T20:33:18.704Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-17T20:33:19.285Z] ---> 72d7fc80e62e [2022-10-17T20:33:19.285Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-17T20:33:20.693Z] ---> 72eee775ba7c [2022-10-17T20:33:20.693Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-17T20:33:21.281Z] ---> dbba96ecc56b [2022-10-17T20:33:21.281Z] Step 20/25 : EXPOSE 59999 [2022-10-17T20:33:21.281Z] ---> Running in 897b22c46972 [2022-10-17T20:33:21.548Z] Removing intermediate container 897b22c46972 [2022-10-17T20:33:21.548Z] ---> 193447df540d [2022-10-17T20:33:21.548Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-17T20:33:21.548Z] ---> Running in 67895ae6485b [2022-10-17T20:33:21.821Z] Removing intermediate container 67895ae6485b [2022-10-17T20:33:21.821Z] ---> b0f898b85b9b [2022-10-17T20:33:21.821Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T20:33:22.088Z] ---> Running in 32092f55d788 [2022-10-17T20:33:22.356Z] Removing intermediate container 32092f55d788 [2022-10-17T20:33:22.356Z] ---> 8b8d49c588c8 [2022-10-17T20:33:22.356Z] Step 23/25 : LABEL arch=arm64 [2022-10-17T20:33:22.356Z] ---> Running in 24bf5ac75d88 [2022-10-17T20:33:22.624Z] Removing intermediate container 24bf5ac75d88 [2022-10-17T20:33:22.624Z] ---> d11f6daf9f2a [2022-10-17T20:33:22.624Z] Step 24/25 : LABEL git_sha=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [2022-10-17T20:33:22.892Z] ---> Running in 5a3d704d3875 [2022-10-17T20:33:23.160Z] Removing intermediate container 5a3d704d3875 [2022-10-17T20:33:23.160Z] ---> 90e68e536518 [2022-10-17T20:33:23.160Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T20:33:23.160Z] ---> Running in 499adfcc41a2 [2022-10-17T20:33:23.427Z] Removing intermediate container 499adfcc41a2 [2022-10-17T20:33:23.427Z] ---> fb8b3a62e273 [2022-10-17T20:33:23.427Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:33:23.694Z] Successfully built fb8b3a62e273 [2022-10-17T20:33:23.694Z] 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-17T20:33:24.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:33:24.126Z] [2022-10-17T20:33:24.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:33:24.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:33:24.736Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T20:33:24.736Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T20:33:24.736Z] 04944245beec: Pulling fs layer [2022-10-17T20:33:24.736Z] 699f458cf7ca: Pulling fs layer [2022-10-17T20:33:24.736Z] 765212b225bb: Pulling fs layer [2022-10-17T20:33:24.736Z] f23df028b6ca: Pulling fs layer [2022-10-17T20:33:24.736Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T20:33:24.736Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T20:33:24.736Z] f23df028b6ca: Waiting [2022-10-17T20:33:24.736Z] d65c8cfc05b1: Waiting [2022-10-17T20:33:24.736Z] 2437ff75d9bd: Waiting [2022-10-17T20:33:24.736Z] 765212b225bb: Waiting [2022-10-17T20:33:24.736Z] 04944245beec: Verifying Checksum [2022-10-17T20:33:24.736Z] 04944245beec: Download complete [2022-10-17T20:33:24.736Z] 765212b225bb: Verifying Checksum [2022-10-17T20:33:24.736Z] 765212b225bb: Download complete [2022-10-17T20:33:24.736Z] f23df028b6ca: Verifying Checksum [2022-10-17T20:33:24.736Z] f23df028b6ca: Download complete [2022-10-17T20:33:24.736Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T20:33:24.736Z] d65c8cfc05b1: Download complete [2022-10-17T20:33:25.006Z] 699f458cf7ca: Verifying Checksum [2022-10-17T20:33:25.006Z] 699f458cf7ca: Download complete [2022-10-17T20:33:25.278Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T20:33:25.278Z] 8998bd30e6a1: Download complete [2022-10-17T20:33:27.863Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T20:33:27.863Z] 2437ff75d9bd: Download complete [2022-10-17T20:33:29.820Z] 8998bd30e6a1: Pull complete [2022-10-17T20:33:29.820Z] 04944245beec: Pull complete [2022-10-17T20:33:31.234Z] 699f458cf7ca: Pull complete [2022-10-17T20:33:31.503Z] 765212b225bb: Pull complete [2022-10-17T20:33:32.469Z] f23df028b6ca: Pull complete [2022-10-17T20:33:32.469Z] d65c8cfc05b1: Pull complete [2022-10-17T20:33:47.482Z] 2437ff75d9bd: Pull complete [2022-10-17T20:33:47.482Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T20:33:47.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:33:47.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:33:47.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-8405 does not seem to be running inside a container [2022-10-17T20:33:47.757Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T20:33:50.628Z] $ docker top e7916a8ee12186b9b2200a40c89b29f307732bcfecae30b26cdb47dc6b31fa6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:33:51.492Z] ---> job-cost.sh [2022-10-17T20:33:51.492Z] lf-activate-venv: SKIPPING [2022-10-17T20:33:51.492Z] INFO: No Stack... [2022-10-17T20:33:52.078Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T20:33:52.664Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:33:53.577Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-10-17T20:33:53.577Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T20:33:53.615Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [2022-10-17T20:33:53.624Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] did not exist. Created. [2022-10-17T20:33:53.624Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:33:54.286Z] /w/workspace/device-sdk-go/2@tmp/durable-6dd7eb57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T20:33:54.941Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T20:33:54.963Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T20:33:55.039Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:33:55.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T20:33:55.064Z] $ docker stop --time=1 e7916a8ee12186b9b2200a40c89b29f307732bcfecae30b26cdb47dc6b31fa6b [2022-10-17T20:33:56.625Z] $ docker rm -f e7916a8ee12186b9b2200a40c89b29f307732bcfecae30b26cdb47dc6b31fa6b [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-17T20:33:57.078Z] provisioning config files... [2022-10-17T20:33:57.085Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config4253504251529059443tmp [Pipeline] { [Pipeline] sh [2022-10-17T20:33:57.373Z] + set +x [2022-10-17T20:33:57.373Z] + curl -s https://codecov.io/bash [2022-10-17T20:33:57.373Z] + bash -s -- [2022-10-17T20:33:57.373Z] [2022-10-17T20:33:57.373Z] _____ _ [2022-10-17T20:33:57.373Z] / ____| | | [2022-10-17T20:33:57.373Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T20:33:57.373Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T20:33:57.373Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T20:33:57.373Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T20:33:57.373Z] Bash-1.0.6 [2022-10-17T20:33:57.373Z] [2022-10-17T20:33:57.373Z] [2022-10-17T20:33:57.373Z] ==> git version 2.25.1 found [2022-10-17T20:33:57.373Z] ==> 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-17T20:33:57.373Z] Release-Date: 2020-01-08 [2022-10-17T20:33:57.373Z] 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-17T20:33:57.373Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T20:33:57.373Z] ==> Jenkins CI detected. [2022-10-17T20:33:57.373Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-17T20:33:57.373Z] project root: . [2022-10-17T20:33:57.373Z] --> token set from env [2022-10-17T20:33:57.373Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T20:33:57.373Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T20:33:57.373Z] ==> Python coveragepy not found [2022-10-17T20:33:57.373Z] ==> Searching for coverage reports in: [2022-10-17T20:33:57.373Z] + . [2022-10-17T20:33:57.373Z] -> Found 1 reports [2022-10-17T20:33:57.373Z] ==> Detecting git/mercurial file structure [2022-10-17T20:33:57.373Z] ==> Reading reports [2022-10-17T20:33:57.373Z] + ./coverage.out bytes=101928 [2022-10-17T20:33:57.373Z] ==> Appending adjustments [2022-10-17T20:33:57.373Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T20:33:57.632Z] + Found adjustments [2022-10-17T20:33:57.632Z] ==> Gzipping contents [2022-10-17T20:33:57.892Z] 16K /tmp/codecov.SAWSLl.gz [2022-10-17T20:33:57.892Z] ==> Uploading reports [2022-10-17T20:33:57.892Z] url: https://codecov.io [2022-10-17T20:33:57.892Z] query: branch=PR-1239&commit=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-17T20:33:57.892Z] -> Pinging Codecov [2022-10-17T20:33:57.892Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1239&commit=dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-17T20:33:58.151Z] -> Uploading to [2022-10-17T20:33:58.151Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7E55EF52A471D76F132DFD9A03CDDE97/dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff/d9b508ae-d9d8-4887-8bdd-ea4a325091eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T203357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faea43481c26ce862f23727f98a0cd7a3223a343206228dce1a68ae233d0b4ff [2022-10-17T20:33:58.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:33:58.151Z] Dload Upload Total Spent Left Speed [2022-10-17T20:33:58.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14742 0 0 100 14742 0 60171 --:--:-- --:--:-- --:--:-- 60171 [2022-10-17T20:33:58.410Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dc7f6bf09fc38c567ebe9ac7e79f329d8da024ff [Pipeline] } [2022-10-17T20:33:58.417Z] 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-17T20:33:59.072Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives ] [2022-10-17T20:33:59.072Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-17T20:33:59.072Z] total 16 [2022-10-17T20:33:59.072Z] drwxr-xr-x 3 root root 4096 Oct 17 20:23 . [2022-10-17T20:33:59.072Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 20:23 .. [2022-10-17T20:33:59.072Z] drwxr-xr-x 2 root root 4096 Oct 17 20:23 cost [2022-10-17T20:33:59.072Z] -rw-r--r-- 1 root root 86 Oct 17 20:23 cost.csv [2022-10-17T20:33:59.072Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-17T20:33:59.072Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-17T20:33:59.072Z] total 16 [2022-10-17T20:33:59.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:23 . [2022-10-17T20:33:59.072Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 20:23 .. [2022-10-17T20:33:59.072Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:23 cost [2022-10-17T20:33:59.072Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 20:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:33:59.360Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:00.218Z] ---> package-listing.sh [2022-10-17T20:34:00.218Z] ++ facter osfamily [2022-10-17T20:34:00.218Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T20:34:00.477Z] + OS_FAMILY=debian [2022-10-17T20:34:00.477Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-17T20:34:00.477Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T20:34:00.477Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T20:34:00.477Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T20:34:00.477Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T20:34:00.477Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-17T20:34:00.477Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T20:34:00.477Z] + case "${OS_FAMILY}" in [2022-10-17T20:34:00.477Z] + dpkg -l [2022-10-17T20:34:00.477Z] + grep '^ii' [2022-10-17T20:34:00.477Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T20:34:00.477Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T20:34:00.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T20:34:00.477Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-17T20:34:00.477Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [2022-10-17T20:34:00.477Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [Pipeline] echo [2022-10-17T20:34:00.487Z] 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-1239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T20:34:00.766Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:34:01.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:34:01.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:34:01.379Z] prd-ubuntu20.04-docker-8c-8g-8404 does not seem to be running inside a container [2022-10-17T20:34:01.416Z] $ 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-1239/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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T20:34:01.653Z] $ docker top 52f0349206b09f6e9dee431b59636c534fe56bab0210ca765a585e20ff914304 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:34:01.986Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T20:34:02.270Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T20:34:02.555Z] + ls /var/log/sa-host [2022-10-17T20:34:02.556Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:34:02.686Z] provisioning config files... [2022-10-17T20:34:02.694Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config18268069427587067310tmp [Pipeline] { [Pipeline] echo [2022-10-17T20:34:02.707Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:02.987Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T20:34:02.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:03.322Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T20:34:03.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:03.613Z] ---> sudo-logs.sh [2022-10-17T20:34:03.613Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T20:34:03.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:03.923Z] ---> job-cost.sh [2022-10-17T20:34:03.924Z] lf-activate-venv: SKIPPING [2022-10-17T20:34:03.924Z] DEBUG: total: 0.2199999988079071 [2022-10-17T20:34:03.924Z] INFO: Retrieving Stack Cost... [2022-10-17T20:34:04.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T20:34:04.748Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T20:34:04.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:34:05.042Z] ---> logs-deploy.sh [2022-10-17T20:34:05.042Z] lf-activate-venv: SKIPPING [2022-10-17T20:34:05.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1239/2 [2022-10-17T20:34:05.042Z] INFO: archiving workspace using pattern(s): [2022-10-17T20:34:05.977Z] Archives upload complete. [2022-10-17T20:34:05.977Z] INFO: archiving logs to Nexus