Pull request #1254 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d03c47b56c91b0b400e543fb3e610bfaf7ef55c5+0b0fd8621743a303648e9248d2aa1db21f4d7aab (a9d81715b673916429919d702e8efa534cba58f1) 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-ssh6906403057253781249.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-ssh6816112212656290659.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7331707405610117753.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7308519448307300553.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1514697718237380111.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2338909586632490852.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117803 in /w/workspace/gexfoundry_device-sdk-go_PR-1254 [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-1254 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1254/head:refs/remotes/origin/PR-1254 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 Merge succeeded, producing d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 Checking out Revision d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 (PR-1254) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T04:05:15.605Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 # 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 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T04:05:15.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T04:05:15.926Z] ========================================================= [2022-11-02T04:05:15.926Z] EdgeX Global Pipelines Version Info [2022-11-02T04:05:15.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:16.666Z] ------------------- [2022-11-02T04:05:16.666Z] stable info: [2022-11-02T04:05:16.666Z] ------------------- [2022-11-02T04:05:16.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T04:05:16.666Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:05:16.666Z] Message: update stable to v1.0.243 [2022-11-02T04:05:17.238Z] ------------------- [2022-11-02T04:05:17.238Z] experimental info: [2022-11-02T04:05:17.238Z] ------------------- [2022-11-02T04:05:17.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T04:05:17.238Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:05:17.238Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T04:05:17.547Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-02T04:05:17.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-02T04:05:17.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T04:05:17.665Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T04:05:17.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T04:05:17.744Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T04:05:17.786Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T04:05:17.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-02T04:05:17.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T04:05:17.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T04:05:18.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T04:05:18.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-02T04:05:18.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T04:05:18.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T04:05:18.170Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T04:05:18.212Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:18.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:18.298Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T04:05:18.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T04:05:18.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T04:05:18.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-02T04:05:18.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-02T04:05:18.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T04:05:18.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T04:05:18.588Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T04:05:18.626Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T04:05:18.665Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T04:05:18.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1254 [Pipeline] echo [2022-11-02T04:05:18.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1254 [Pipeline] echo [2022-11-02T04:05:18.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1254 [Pipeline] echo [2022-11-02T04:05:18.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [Pipeline] echo [2022-11-02T04:05:18.888Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d03c47b [Pipeline] echo [2022-11-02T04:05:18.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:05:19.031Z] provisioning config files... [2022-11-02T04:05:19.050Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/config6335516837994045496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:19.389Z] ---> docker-login.sh [2022-11-02T04:05:19.389Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:05:19.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:19.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:19.651Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:19.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:19.651Z] [2022-11-02T04:05:19.651Z] Login Succeeded [2022-11-02T04:05:19.651Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:05:19.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:19.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:19.651Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:19.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:19.651Z] [2022-11-02T04:05:19.651Z] Login Succeeded [2022-11-02T04:05:19.651Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:05:19.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:19.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:19.910Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:19.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:19.910Z] [2022-11-02T04:05:19.910Z] Login Succeeded [2022-11-02T04:05:19.910Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:05:19.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:19.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:19.910Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:19.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:19.910Z] [2022-11-02T04:05:19.910Z] Login Succeeded [2022-11-02T04:05:19.910Z] docker.io [2022-11-02T04:05:20.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:20.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:20.434Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:20.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:20.434Z] [2022-11-02T04:05:20.434Z] Login Succeeded [2022-11-02T04:05:20.434Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:05:20.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T04:05:21.096Z] + git rev-list -1 --merges d03c47b56c91b0b400e543fb3e610bfaf7ef55c5~1..d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [Pipeline] echo [2022-11-02T04:05:21.141Z] -----------> git rev-list -1 --merges d03c47b56c91b0b400e543fb3e610bfaf7ef55c5~1..d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [false] [Pipeline] sh [2022-11-02T04:05:21.464Z] + git log --format=format:%s -1 d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [Pipeline] echo [2022-11-02T04:05:21.511Z] ========================================================= [2022-11-02T04:05:21.511Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T04:05:21.511Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:05:21.947Z] + git log --format=format:%s -1 d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [Pipeline] echo [2022-11-02T04:05:21.981Z] [semverPrep] GIT_COMMIT: d03c47b56c91b0b400e543fb3e610bfaf7ef55c5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-02T04:05:22.020Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T04:05:22.406Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T04:05:22.406Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T04:05:22.406Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T04:05:22.406Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T04:05:22.406Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T04:05:22.406Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T04:05:22.406Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:22.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:22.838Z] [2022-11-02T04:05:22.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:23.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:23.234Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T04:05:23.234Z] b85a868b505f: Pulling fs layer [2022-11-02T04:05:23.234Z] e2be974225ed: Pulling fs layer [2022-11-02T04:05:23.234Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T04:05:23.234Z] 988bab9f4d93: Pulling fs layer [2022-11-02T04:05:23.234Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T04:05:23.234Z] eaf3925da568: Pulling fs layer [2022-11-02T04:05:23.234Z] bab4dde63d76: Pulling fs layer [2022-11-02T04:05:23.234Z] bde34c3a00c8: Pulling fs layer [2022-11-02T04:05:23.234Z] b352a97aabf1: Pulling fs layer [2022-11-02T04:05:23.234Z] 4872d77fe225: Pulling fs layer [2022-11-02T04:05:23.234Z] 5851b861e8e6: Pulling fs layer [2022-11-02T04:05:23.234Z] 988bab9f4d93: Waiting [2022-11-02T04:05:23.234Z] bde34c3a00c8: Waiting [2022-11-02T04:05:23.234Z] eaf3925da568: Waiting [2022-11-02T04:05:23.234Z] b352a97aabf1: Waiting [2022-11-02T04:05:23.234Z] 1469e6f7b9e6: Waiting [2022-11-02T04:05:23.234Z] bab4dde63d76: Waiting [2022-11-02T04:05:23.234Z] 4872d77fe225: Waiting [2022-11-02T04:05:23.234Z] e2be974225ed: Verifying Checksum [2022-11-02T04:05:23.234Z] e2be974225ed: Download complete [2022-11-02T04:05:23.234Z] 988bab9f4d93: Download complete [2022-11-02T04:05:23.495Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T04:05:23.495Z] 1469e6f7b9e6: Download complete [2022-11-02T04:05:23.495Z] eaf3925da568: Verifying Checksum [2022-11-02T04:05:23.495Z] eaf3925da568: Download complete [2022-11-02T04:05:23.495Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T04:05:23.495Z] 339a4e72a1f5: Download complete [2022-11-02T04:05:23.495Z] b352a97aabf1: Download complete [2022-11-02T04:05:23.495Z] 4872d77fe225: Verifying Checksum [2022-11-02T04:05:23.495Z] 4872d77fe225: Download complete [2022-11-02T04:05:23.495Z] 5851b861e8e6: Verifying Checksum [2022-11-02T04:05:23.495Z] 5851b861e8e6: Download complete [2022-11-02T04:05:23.495Z] b85a868b505f: Verifying Checksum [2022-11-02T04:05:23.495Z] b85a868b505f: Download complete [2022-11-02T04:05:23.754Z] bab4dde63d76: Verifying Checksum [2022-11-02T04:05:23.754Z] bab4dde63d76: Download complete [2022-11-02T04:05:24.700Z] b85a868b505f: Pull complete [2022-11-02T04:05:24.958Z] e2be974225ed: Pull complete [2022-11-02T04:05:25.526Z] 339a4e72a1f5: Pull complete [2022-11-02T04:05:25.526Z] 988bab9f4d93: Pull complete [2022-11-02T04:05:25.785Z] 1469e6f7b9e6: Pull complete [2022-11-02T04:05:25.785Z] eaf3925da568: Pull complete [2022-11-02T04:05:27.693Z] bab4dde63d76: Pull complete [2022-11-02T04:05:27.693Z] bde34c3a00c8: Pull complete [2022-11-02T04:05:27.693Z] b352a97aabf1: Pull complete [2022-11-02T04:05:27.952Z] 4872d77fe225: Pull complete [2022-11-02T04:05:27.952Z] 5851b861e8e6: Pull complete [2022-11-02T04:05:27.952Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T04:05:27.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T04:05:27.952Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:05:28.168Z] prd-ubuntu20.04-docker-8c-8g-117803 does not seem to be running inside a container [2022-11-02T04:05:28.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1254 -v /w/workspace/gexfoundry_device-sdk-go_PR-1254:/w/workspace/gexfoundry_device-sdk-go_PR-1254:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1254@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T04:05:31.445Z] $ docker top 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 -eo pid,comm [2022-11-02T04:05:31.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-02T04:05:31.499Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T04:05:31.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:05:31.629Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:05:31.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:05:31.727Z] $ docker exec 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 ssh-agent [2022-11-02T04:05:31.833Z] SSH_AUTH_SOCK=/tmp/ssh-17nghk7oiwop/agent.32 [2022-11-02T04:05:31.833Z] SSH_AGENT_PID=38 [2022-11-02T04:05:31.839Z] Running ssh-add (command line suppressed) [2022-11-02T04:05:31.925Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/private_key_13208314281367183203.key (/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/private_key_13208314281367183203.key) [2022-11-02T04:05:31.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:05:32.298Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T04:05:32.316Z] $ docker exec --env ******** --env ******** 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 ssh-agent -k [2022-11-02T04:05:32.417Z] unset SSH_AUTH_SOCK; [2022-11-02T04:05:32.417Z] unset SSH_AGENT_PID; [2022-11-02T04:05:32.418Z] echo Agent pid 38 killed; [2022-11-02T04:05:32.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T04:05:32.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T04:05:32.521Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T04:05:32.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T04:05:32.628Z] $ docker exec 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 ssh-agent [2022-11-02T04:05:32.742Z] SSH_AUTH_SOCK=/tmp/ssh-OZQSNYDDg8vL/agent.70 [2022-11-02T04:05:32.742Z] SSH_AGENT_PID=76 [2022-11-02T04:05:32.747Z] Running ssh-add (command line suppressed) [2022-11-02T04:05:32.845Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/private_key_3635495567586161010.key (/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/private_key_3635495567586161010.key) [2022-11-02T04:05:32.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T04:05:33.200Z] + git semver init [2022-11-02T04:05:33.458Z] 2022-11-02 04:05:33,353 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T04:05:33.458Z] 2022-11-02 04:05:33,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver [2022-11-02T04:05:33.458Z] 2022-11-02 04:05:33,355 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver [2022-11-02T04:05:33.458Z] 2022-11-02 04:05:33,355 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1254, universal_newlines=False, shell=None, istream=None) [2022-11-02T04:05:34.395Z] 2022-11-02 04:05:34,389 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254/.git/info/exclude [2022-11-02T04:05:34.395Z] 2022-11-02 04:05:34,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver/PR-1254 with force:False [2022-11-02T04:05:34.395Z] 2022-11-02 04:05:34,389 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver/PR-1254 [2022-11-02T04:05:34.654Z] 2022-11-02 04:05:34,394 [execute] INFO git cat-file --batch-check [2022-11-02T04:05:34.654Z] 2022-11-02 04:05:34,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:05:34.654Z] 2022-11-02 04:05:34,399 [execute] INFO git cat-file --batch [2022-11-02T04:05:34.654Z] 2022-11-02 04:05:34,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T04:05:34.654Z] 2022-11-02 04:05:34,402 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1254/.semver/PR-1254 [2022-11-02T04:05:34.654Z] 0.0.0 [Pipeline] } [2022-11-02T04:05:34.669Z] $ docker exec --env ******** --env ******** 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 ssh-agent -k [2022-11-02T04:05:34.774Z] unset SSH_AUTH_SOCK; [2022-11-02T04:05:34.774Z] unset SSH_AGENT_PID; [2022-11-02T04:05:34.774Z] echo Agent pid 76 killed; [2022-11-02T04:05:34.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T04:05:35.210Z] + git semver [Pipeline] } [2022-11-02T04:05:35.490Z] $ docker stop --time=1 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 [2022-11-02T04:05:36.761Z] $ docker rm -f 5bebe3be4acbc12e8a2e67dafd14398fcd76f38b528d7c331cc5ef04e1dd49b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:05:37.166Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T04:05:37.409Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T04:05:37.426Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:05:38.029Z] provisioning config files... [2022-11-02T04:05:38.038Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/config14706496578670555292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:05:38.388Z] ---> docker-login.sh [2022-11-02T04:05:38.388Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:05:38.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:38.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:38.388Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:38.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:38.388Z] [2022-11-02T04:05:38.388Z] Login Succeeded [2022-11-02T04:05:38.388Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:05:38.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:38.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:38.388Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:38.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:38.388Z] [2022-11-02T04:05:38.388Z] Login Succeeded [2022-11-02T04:05:38.388Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:05:38.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:38.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:38.647Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:38.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:38.647Z] [2022-11-02T04:05:38.647Z] Login Succeeded [2022-11-02T04:05:38.647Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:05:38.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:38.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:38.907Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:38.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:38.907Z] [2022-11-02T04:05:38.907Z] Login Succeeded [2022-11-02T04:05:38.907Z] docker.io [2022-11-02T04:05:38.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:05:39.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:05:39.476Z] Configure a credential helper to remove this warning. See [2022-11-02T04:05:39.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:05:39.477Z] [2022-11-02T04:05:39.477Z] Login Succeeded [2022-11-02T04:05:39.477Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:05:39.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:05:39.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:05:39.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:05:39.777Z] ========================================================= [2022-11-02T04:05:39.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T04:05:39.777Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:05:40.248Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T04:05:40.248Z] Sending build context to Docker daemon 10.13MB [2022-11-02T04:05:40.248Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:05:40.248Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:05:40.507Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T04:05:40.507Z] 213ec9aee27d: Pulling fs layer [2022-11-02T04:05:40.507Z] 4583459ba037: Pulling fs layer [2022-11-02T04:05:40.507Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T04:05:40.507Z] 53926ce57604: Pulling fs layer [2022-11-02T04:05:40.507Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T04:05:40.507Z] 30f14e443154: Pulling fs layer [2022-11-02T04:05:40.507Z] 801331c1e519: Pulling fs layer [2022-11-02T04:05:40.507Z] 99cc6dd402b0: Pulling fs layer [2022-11-02T04:05:40.507Z] 7d9ed39f4882: Pulling fs layer [2022-11-02T04:05:40.507Z] 53926ce57604: Waiting [2022-11-02T04:05:40.507Z] 801331c1e519: Waiting [2022-11-02T04:05:40.507Z] 99cc6dd402b0: Waiting [2022-11-02T04:05:40.507Z] 21b2b0c7a3f4: Waiting [2022-11-02T04:05:40.507Z] 30f14e443154: Waiting [2022-11-02T04:05:40.507Z] 7d9ed39f4882: Waiting [2022-11-02T04:05:40.507Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T04:05:40.507Z] 93c1e223e6f2: Download complete [2022-11-02T04:05:40.507Z] 4583459ba037: Download complete [2022-11-02T04:05:40.507Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T04:05:40.507Z] 21b2b0c7a3f4: Download complete [2022-11-02T04:05:40.507Z] 30f14e443154: Verifying Checksum [2022-11-02T04:05:40.507Z] 30f14e443154: Download complete [2022-11-02T04:05:40.507Z] 213ec9aee27d: Verifying Checksum [2022-11-02T04:05:40.507Z] 801331c1e519: Verifying Checksum [2022-11-02T04:05:40.507Z] 801331c1e519: Download complete [2022-11-02T04:05:40.507Z] 213ec9aee27d: Pull complete [2022-11-02T04:05:40.764Z] 4583459ba037: Pull complete [2022-11-02T04:05:40.764Z] 93c1e223e6f2: Pull complete [2022-11-02T04:05:41.023Z] 7d9ed39f4882: Verifying Checksum [2022-11-02T04:05:41.023Z] 7d9ed39f4882: Download complete [2022-11-02T04:05:41.590Z] 99cc6dd402b0: Verifying Checksum [2022-11-02T04:05:41.590Z] 99cc6dd402b0: Download complete [2022-11-02T04:05:41.590Z] 53926ce57604: Verifying Checksum [2022-11-02T04:05:41.590Z] 53926ce57604: Download complete [2022-11-02T04:05:45.783Z] 53926ce57604: Pull complete [2022-11-02T04:05:45.783Z] 21b2b0c7a3f4: Pull complete [2022-11-02T04:05:45.783Z] 30f14e443154: Pull complete [2022-11-02T04:05:45.783Z] 801331c1e519: Pull complete [2022-11-02T04:05:47.158Z] 99cc6dd402b0: Pull complete [2022-11-02T04:05:48.091Z] 7d9ed39f4882: Pull complete [2022-11-02T04:05:48.091Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-02T04:05:48.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T04:05:48.091Z] ---> 1dedd983c030 [2022-11-02T04:05:48.091Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:05:52.843Z] Still waiting to schedule task [2022-11-02T04:05:52.843Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117799’ [2022-11-02T04:05:54.658Z] ---> Running in bb0dcb1dbbcf [2022-11-02T04:05:54.658Z] Removing intermediate container bb0dcb1dbbcf [2022-11-02T04:05:54.658Z] ---> 7be70105e2e2 [2022-11-02T04:05:54.658Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:05:54.658Z] ---> Running in 8ec186b4a39f [2022-11-02T04:05:54.658Z] Removing intermediate container 8ec186b4a39f [2022-11-02T04:05:54.658Z] ---> df5ab14bbf93 [2022-11-02T04:05:54.658Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:05:54.658Z] ---> Running in 0785b148c91d [2022-11-02T04:05:54.658Z] Removing intermediate container 0785b148c91d [2022-11-02T04:05:54.658Z] ---> 02a3b0e42429 [2022-11-02T04:05:54.658Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:05:54.658Z] ---> Running in a1b8f803abb9 [2022-11-02T04:05:54.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:05:54.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:05:54.658Z] OK: 211 MiB in 51 packages [2022-11-02T04:05:54.915Z] Removing intermediate container a1b8f803abb9 [2022-11-02T04:05:54.915Z] ---> b43570706a84 [2022-11-02T04:05:54.915Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:05:54.915Z] ---> 4cfb6ef85b85 [2022-11-02T04:05:54.915Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:05:54.915Z] ---> Running in ed68d89df0ef [2022-11-02T04:06:27.108Z] Removing intermediate container ed68d89df0ef [2022-11-02T04:06:27.108Z] ---> 9c37bdafff8f [2022-11-02T04:06:27.108Z] Step 9/10 : COPY . . [2022-11-02T04:06:27.108Z] ---> 2e7f08c31481 [2022-11-02T04:06:27.108Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:06:27.108Z] ---> Running in a5d0322c3468 [2022-11-02T04:06:27.108Z] noop [2022-11-02T04:06:27.108Z] Removing intermediate container a5d0322c3468 [2022-11-02T04:06:27.108Z] ---> 5ac97ad9f136 [2022-11-02T04:06:27.108Z] Successfully built 5ac97ad9f136 [2022-11-02T04:06:27.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:27.581Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:06:27.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:06:27.793Z] prd-ubuntu20.04-docker-8c-8g-117803 does not seem to be running inside a container [2022-11-02T04:06:27.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1254 -v /w/workspace/gexfoundry_device-sdk-go_PR-1254:/w/workspace/gexfoundry_device-sdk-go_PR-1254:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:06:28.238Z] $ docker top a9efeaae728325ef86fd06fb24f985978b41989bca89ccb21f6344f6bb363926 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:06:28.650Z] + go version [2022-11-02T04:06:28.650Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T04:06:28.681Z] $ docker stop --time=1 a9efeaae728325ef86fd06fb24f985978b41989bca89ccb21f6344f6bb363926 [2022-11-02T04:06:29.976Z] $ docker rm -f a9efeaae728325ef86fd06fb24f985978b41989bca89ccb21f6344f6bb363926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:06:30.741Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T04:06:30.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:06:30.889Z] prd-ubuntu20.04-docker-8c-8g-117803 does not seem to be running inside a container [2022-11-02T04:06:30.914Z] $ 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-1254 -v /w/workspace/gexfoundry_device-sdk-go_PR-1254:/w/workspace/gexfoundry_device-sdk-go_PR-1254:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T04:06:31.251Z] $ docker top 4d70f61985a5f2ada4798493e578089cbb5e64c4fd8234404600064605c75827 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:06:31.649Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1254 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:06:32.008Z] + make test [2022-11-02T04:06:32.008Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:06:38.568Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:06:50.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-11-02T04:06:50.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:06:50.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 73.1% of statements [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:06:50.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:06:51.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 54.4% of statements [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:06:51.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:06:51.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.854s coverage: 89.2% of statements [2022-11-02T04:06:51.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:06:51.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-11-02T04:06:51.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:07:09.799Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-02T04:07:09.799Z] GO111MODULE=on go vet ./... [2022-11-02T04:07:10.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:07:10.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:07:10.732Z] ./bin/test-attribution-txt.sh [2022-11-02T04:07:10.732Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:07:10.732Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:07:10.732Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:07:10.732Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:07:10.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:07:10.796Z] $ docker stop --time=1 4d70f61985a5f2ada4798493e578089cbb5e64c4fd8234404600064605c75827 [2022-11-02T04:07:18.259Z] $ docker rm -f 4d70f61985a5f2ada4798493e578089cbb5e64c4fd8234404600064605c75827 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:07:18.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:07:18.872Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T04:07:19.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:07:19.778Z] + ls -al . [2022-11-02T04:07:19.778Z] total 280 [2022-11-02T04:07:19.778Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 04:06 . [2022-11-02T04:07:19.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:05 .. [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:05 .dockerignore [2022-11-02T04:07:19.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:06 .git [2022-11-02T04:07:19.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:05 .github [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:05 .gitignore [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:05 .golangci.yml [2022-11-02T04:07:19.778Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:05 .semver [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:05 CHANGELOG.md [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:05 GOVERNANCE.md [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:05 Jenkinsfile [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:05 LICENSE [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:05 Makefile [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:05 OWNERS.md [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:05 README.md [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:05 VERSION [2022-11-02T04:07:19.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:05 bin [2022-11-02T04:07:19.778Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:06 coverage.out [2022-11-02T04:07:19.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:05 example [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:05 go.mod [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:05 go.sum [2022-11-02T04:07:19.778Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:05 internal [2022-11-02T04:07:19.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:05 openapi [2022-11-02T04:07:19.778Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:05 pkg [2022-11-02T04:07:19.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:05 snap [2022-11-02T04:07:19.778Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:20.169Z] + 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=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 --label arch=amd64 --label version=0.0.0 . [2022-11-02T04:07:20.169Z] Sending build context to Docker daemon 10.23MB [2022-11-02T04:07:20.169Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:07:20.169Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:07:20.169Z] ---> 5ac97ad9f136 [2022-11-02T04:07:20.169Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:07:20.427Z] ---> Running in 1a79c0f36436 [2022-11-02T04:07:20.427Z] Removing intermediate container 1a79c0f36436 [2022-11-02T04:07:20.427Z] ---> 1d6b295a162a [2022-11-02T04:07:20.427Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:07:20.427Z] ---> Running in ee8757a9b8f3 [2022-11-02T04:07:20.685Z] Removing intermediate container ee8757a9b8f3 [2022-11-02T04:07:20.685Z] ---> 388ad9853740 [2022-11-02T04:07:20.685Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:07:20.685Z] ---> Running in 3fa94c8cf99a [2022-11-02T04:07:20.685Z] Removing intermediate container 3fa94c8cf99a [2022-11-02T04:07:20.685Z] ---> 677b6a93179c [2022-11-02T04:07:20.685Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:07:20.685Z] ---> Running in ff5b0b78a10b [2022-11-02T04:07:20.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:21.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:21.462Z] OK: 211 MiB in 51 packages [2022-11-02T04:07:21.720Z] Removing intermediate container ff5b0b78a10b [2022-11-02T04:07:21.720Z] ---> be4156688731 [2022-11-02T04:07:21.720Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:07:21.720Z] ---> 730c2ffc513d [2022-11-02T04:07:21.720Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:07:21.720Z] ---> Running in 8b73632ed0c7 [2022-11-02T04:07:23.095Z] Removing intermediate container 8b73632ed0c7 [2022-11-02T04:07:23.095Z] ---> 2774fb3b6b53 [2022-11-02T04:07:23.095Z] Step 9/23 : COPY . . [2022-11-02T04:07:23.663Z] ---> a254de748bf8 [2022-11-02T04:07:23.663Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:07:23.663Z] ---> Running in cc387b8b7515 [2022-11-02T04:07:23.924Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-02T04:07:42.033Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:07:46.219Z] Removing intermediate container cc387b8b7515 [2022-11-02T04:07:46.219Z] ---> f2ab567696fc [2022-11-02T04:07:46.219Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:07:46.787Z] 3.16: Pulling from library/alpine [2022-11-02T04:07:46.787Z] 213ec9aee27d: Already exists [2022-11-02T04:07:47.064Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:07:47.064Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:07:47.064Z] ---> 9c6f07244728 [2022-11-02T04:07:47.064Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:07:47.327Z] ---> Running in 7b4a209f797e [2022-11-02T04:07:47.586Z] Removing intermediate container 7b4a209f797e [2022-11-02T04:07:47.586Z] ---> eb3cff063788 [2022-11-02T04:07:47.586Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:07:47.586Z] ---> Running in af9b15759885 [2022-11-02T04:07:48.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:48.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T04:07:48.415Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:07:48.415Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:07:48.415Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:07:48.673Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:07:48.673Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:07:48.673Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:07:48.673Z] OK: 8 MiB in 19 packages [2022-11-02T04:07:49.243Z] Removing intermediate container af9b15759885 [2022-11-02T04:07:49.243Z] ---> d681cb0ac85b [2022-11-02T04:07:49.243Z] Step 14/23 : WORKDIR / [2022-11-02T04:07:49.501Z] ---> Running in 0f3933246230 [2022-11-02T04:07:49.762Z] Removing intermediate container 0f3933246230 [2022-11-02T04:07:49.762Z] ---> f36e39e9d1be [2022-11-02T04:07:49.762Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:07:50.023Z] ---> ae75424ef64e [2022-11-02T04:07:50.023Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:07:50.961Z] ---> 67998d6ee296 [2022-11-02T04:07:50.961Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:07:51.222Z] ---> 405de62e0fc8 [2022-11-02T04:07:51.222Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:07:51.222Z] ---> Running in 1f8f21eae4aa [2022-11-02T04:07:51.485Z] Removing intermediate container 1f8f21eae4aa [2022-11-02T04:07:51.485Z] ---> 32716eb9d279 [2022-11-02T04:07:51.485Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:07:51.745Z] ---> Running in d257e77e7284 [2022-11-02T04:07:52.005Z] Removing intermediate container d257e77e7284 [2022-11-02T04:07:52.005Z] ---> 0ce1bb1457a3 [2022-11-02T04:07:52.005Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:07:52.264Z] ---> Running in 269288745a31 [2022-11-02T04:07:52.264Z] Removing intermediate container 269288745a31 [2022-11-02T04:07:52.264Z] ---> ebd112bb6019 [2022-11-02T04:07:52.264Z] Step 21/23 : LABEL arch=amd64 [2022-11-02T04:07:52.264Z] ---> Running in dad9196dfe7c [2022-11-02T04:07:52.264Z] Removing intermediate container dad9196dfe7c [2022-11-02T04:07:52.264Z] ---> 72f3ee86ec6e [2022-11-02T04:07:52.264Z] Step 22/23 : LABEL git_sha=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [2022-11-02T04:07:52.523Z] ---> Running in 5eafed2dd07f [2022-11-02T04:07:52.523Z] Removing intermediate container 5eafed2dd07f [2022-11-02T04:07:52.523Z] ---> 9dbbb5b9b2ef [2022-11-02T04:07:52.523Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:07:52.523Z] ---> Running in 6f80845c91a7 [2022-11-02T04:07:52.523Z] Removing intermediate container 6f80845c91a7 [2022-11-02T04:07:52.523Z] ---> e2ac61ee689e [2022-11-02T04:07:52.523Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:07:52.523Z] Successfully built e2ac61ee689e [2022-11-02T04:07:52.523Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:53.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:07:53.383Z] [2022-11-02T04:07:53.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:07:53.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:07:53.757Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T04:07:53.757Z] 5eb5b503b376: Pulling fs layer [2022-11-02T04:07:53.757Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T04:07:53.757Z] ec43610c2a17: Pulling fs layer [2022-11-02T04:07:53.757Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T04:07:53.757Z] 33b1e0a273af: Pulling fs layer [2022-11-02T04:07:53.757Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T04:07:53.757Z] 2f39f015ded8: Pulling fs layer [2022-11-02T04:07:53.757Z] 33b1e0a273af: Waiting [2022-11-02T04:07:53.757Z] 5d3b04190fa2: Waiting [2022-11-02T04:07:53.757Z] 2f39f015ded8: Waiting [2022-11-02T04:07:53.757Z] 3a2ae6a8a46f: Waiting [2022-11-02T04:07:53.757Z] 5c69ac0246d0: Download complete [2022-11-02T04:07:53.757Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-02T04:07:53.757Z] 3a2ae6a8a46f: Download complete [2022-11-02T04:07:54.021Z] 33b1e0a273af: Verifying Checksum [2022-11-02T04:07:54.021Z] 33b1e0a273af: Download complete [2022-11-02T04:07:54.021Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T04:07:54.021Z] 5d3b04190fa2: Download complete [2022-11-02T04:07:54.021Z] ec43610c2a17: Verifying Checksum [2022-11-02T04:07:54.021Z] ec43610c2a17: Download complete [2022-11-02T04:07:54.021Z] 5eb5b503b376: Verifying Checksum [2022-11-02T04:07:54.021Z] 5eb5b503b376: Download complete [2022-11-02T04:07:54.590Z] 2f39f015ded8: Download complete [2022-11-02T04:07:55.156Z] 5eb5b503b376: Pull complete [2022-11-02T04:07:55.414Z] 5c69ac0246d0: Pull complete [2022-11-02T04:07:55.678Z] ec43610c2a17: Pull complete [2022-11-02T04:07:55.678Z] 3a2ae6a8a46f: Pull complete [2022-11-02T04:07:55.937Z] 33b1e0a273af: Pull complete [2022-11-02T04:07:56.194Z] 5d3b04190fa2: Pull complete [2022-11-02T04:08:00.389Z] 2f39f015ded8: Pull complete [2022-11-02T04:08:00.389Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T04:08:00.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:08:00.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:08:00.619Z] prd-ubuntu20.04-docker-8c-8g-117803 does not seem to be running inside a container [2022-11-02T04:08:00.647Z] $ 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-1254 -v /w/workspace/gexfoundry_device-sdk-go_PR-1254:/w/workspace/gexfoundry_device-sdk-go_PR-1254:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:08:05.213Z] $ docker top fd474d2aceb4ce045aa7eabb10a91ac42a735784e1b7a431ce48158376dd203d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:08:05.744Z] ---> job-cost.sh [2022-11-02T04:08:05.744Z] lf-activate-venv: SKIPPING [2022-11-02T04:08:05.744Z] INFO: No Stack... [2022-11-02T04:08:06.004Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:08:07.381Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:08:07.692Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives/cost.csv [2022-11-02T04:08:07.692Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T04:08:07.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [2022-11-02T04:08:07.743Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] did not exist. Created. [2022-11-02T04:08:07.743Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:08:08.143Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T04:08:08.193Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:08:08.220Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:08:08.311Z] $ docker stop --time=1 fd474d2aceb4ce045aa7eabb10a91ac42a735784e1b7a431ce48158376dd203d [2022-11-02T04:08:09.463Z] $ docker rm -f fd474d2aceb4ce045aa7eabb10a91ac42a735784e1b7a431ce48158376dd203d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T04:08:12.798Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117815 in /w/workspace/gexfoundry_device-sdk-go_PR-1254 [Pipeline] { [Pipeline] ws [2022-11-02T04:08:12.841Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T04:08:12.916Z] The recommended git tool is: git [2022-11-02T04:08:19.127Z] using credential edgex-jenkins-ssh [2022-11-02T04:08:19.147Z] Cloning the remote Git repository [2022-11-02T04:08:19.201Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:08:19.283Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-02T04:08:19.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:08:19.447Z] > git --version # timeout=10 [2022-11-02T04:08:19.468Z] > git --version # 'git version 2.25.1' [2022-11-02T04:08:19.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:08:19.521Z] Verifying host key using known hosts file [2022-11-02T04:08:19.742Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:08:19.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:08:21.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:08:21.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T04:08:23.211Z] Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [2022-11-02T04:08:22.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T04:08:22.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T04:08:22.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:08:22.590Z] Verifying host key using known hosts file [2022-11-02T04:08:22.598Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:08:22.612Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1254/head:refs/remotes/origin/PR-1254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T04:08:23.556Z] Merge succeeded, producing d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [2022-11-02T04:08:23.557Z] Checking out Revision d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 (PR-1254) [2022-11-02T04:08:24.354Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-02T04:08:24.441Z] > git --version # timeout=10 [2022-11-02T04:08:24.461Z] > git --version # 'git version 2.25.1' [2022-11-02T04:08:24.480Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T04:08:23.243Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:08:23.270Z] > git checkout -f d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 # timeout=10 [2022-11-02T04:08:23.413Z] > git remote # timeout=10 [2022-11-02T04:08:23.439Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T04:08:23.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T04:08:23.472Z] Verifying host key using known hosts file [2022-11-02T04:08:23.477Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T04:08:23.490Z] > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 [2022-11-02T04:08:23.533Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T04:08:23.569Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T04:08:23.590Z] > git checkout -f d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:08:25.595Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T04:08:25.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:08:25.595Z] Dload Upload Total Spent Left Speed [2022-11-02T04:08:25.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-11-02T04:08:26.248Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T04:08:26.627Z] + sudo tee /etc/docker/daemon.new [2022-11-02T04:08:26.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T04:08:26.627Z] { [2022-11-02T04:08:26.627Z] "registry-mirrors": [ [2022-11-02T04:08:26.627Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T04:08:26.627Z] ], [2022-11-02T04:08:26.627Z] "bip": "10.250.0.254/24", [2022-11-02T04:08:26.627Z] "hosts": [ [2022-11-02T04:08:26.627Z] "tcp://0.0.0.0:5555", [2022-11-02T04:08:26.627Z] "unix:///var/run/docker.sock" [2022-11-02T04:08:26.627Z] ], [2022-11-02T04:08:26.627Z] "mtu": 1458, [2022-11-02T04:08:26.627Z] "selinux-enabled": true, [2022-11-02T04:08:26.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T04:08:26.627Z] } [Pipeline] sh [2022-11-02T04:08:26.992Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T04:08:27.376Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:08:45.755Z] provisioning config files... [2022-11-02T04:08:45.785Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7091175981013978351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:08:46.182Z] ---> docker-login.sh [2022-11-02T04:08:46.182Z] nexus3.edgexfoundry.org:10001 [2022-11-02T04:08:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:08:46.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:08:46.772Z] Configure a credential helper to remove this warning. See [2022-11-02T04:08:46.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:08:46.772Z] [2022-11-02T04:08:46.772Z] Login Succeeded [2022-11-02T04:08:46.772Z] nexus3.edgexfoundry.org:10002 [2022-11-02T04:08:47.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:08:47.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:08:47.325Z] Configure a credential helper to remove this warning. See [2022-11-02T04:08:47.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:08:47.325Z] [2022-11-02T04:08:47.325Z] Login Succeeded [2022-11-02T04:08:47.325Z] nexus3.edgexfoundry.org:10003 [2022-11-02T04:08:47.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:08:47.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:08:47.598Z] Configure a credential helper to remove this warning. See [2022-11-02T04:08:47.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:08:47.598Z] [2022-11-02T04:08:47.598Z] Login Succeeded [2022-11-02T04:08:47.598Z] nexus3.edgexfoundry.org:10004 [2022-11-02T04:08:47.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:08:48.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:08:48.139Z] Configure a credential helper to remove this warning. See [2022-11-02T04:08:48.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:08:48.139Z] [2022-11-02T04:08:48.139Z] Login Succeeded [2022-11-02T04:08:48.139Z] docker.io [2022-11-02T04:08:48.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T04:08:48.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T04:08:48.677Z] Configure a credential helper to remove this warning. See [2022-11-02T04:08:48.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T04:08:48.677Z] [2022-11-02T04:08:48.677Z] Login Succeeded [2022-11-02T04:08:48.677Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T04:08:48.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T04:08:49.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:08:49.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T04:08:49.095Z] ========================================================= [2022-11-02T04:08:49.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T04:08:49.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:08:49.605Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T04:08:50.577Z] Sending build context to Docker daemon 5.449MB [2022-11-02T04:08:50.577Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:08:50.577Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T04:08:50.858Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T04:08:50.858Z] 9b18e9b68314: Pulling fs layer [2022-11-02T04:08:50.858Z] d32db5db7311: Pulling fs layer [2022-11-02T04:08:50.858Z] d0c4b47475fc: Pulling fs layer [2022-11-02T04:08:50.858Z] 5831b945b038: Pulling fs layer [2022-11-02T04:08:50.858Z] 86bbec2aaacd: Pulling fs layer [2022-11-02T04:08:50.858Z] e10730c5d714: Pulling fs layer [2022-11-02T04:08:50.858Z] 5831b945b038: Waiting [2022-11-02T04:08:50.858Z] 86bbec2aaacd: Waiting [2022-11-02T04:08:50.858Z] e10730c5d714: Waiting [2022-11-02T04:08:50.858Z] 5dd5c2283517: Pulling fs layer [2022-11-02T04:08:50.858Z] d5ac0230b979: Pulling fs layer [2022-11-02T04:08:50.858Z] 5dd5c2283517: Waiting [2022-11-02T04:08:50.858Z] d5ac0230b979: Waiting [2022-11-02T04:08:50.858Z] d0c4b47475fc: Verifying Checksum [2022-11-02T04:08:50.858Z] d0c4b47475fc: Download complete [2022-11-02T04:08:50.858Z] d32db5db7311: Verifying Checksum [2022-11-02T04:08:50.858Z] d32db5db7311: Download complete [2022-11-02T04:08:50.858Z] 86bbec2aaacd: Download complete [2022-11-02T04:08:50.858Z] e10730c5d714: Verifying Checksum [2022-11-02T04:08:50.858Z] e10730c5d714: Download complete [2022-11-02T04:08:51.135Z] 9b18e9b68314: Verifying Checksum [2022-11-02T04:08:51.135Z] 9b18e9b68314: Download complete [2022-11-02T04:08:52.154Z] 9b18e9b68314: Pull complete [2022-11-02T04:08:52.154Z] d5ac0230b979: Verifying Checksum [2022-11-02T04:08:52.154Z] d5ac0230b979: Download complete [2022-11-02T04:08:52.753Z] d32db5db7311: Pull complete [2022-11-02T04:08:53.206Z] d0c4b47475fc: Pull complete [2022-11-02T04:08:53.502Z] 5dd5c2283517: Verifying Checksum [2022-11-02T04:08:53.502Z] 5dd5c2283517: Download complete [2022-11-02T04:08:54.118Z] 5831b945b038: Verifying Checksum [2022-11-02T04:08:54.118Z] 5831b945b038: Download complete [2022-11-02T04:09:09.210Z] 5831b945b038: Pull complete [2022-11-02T04:09:09.210Z] 86bbec2aaacd: Pull complete [2022-11-02T04:09:09.210Z] e10730c5d714: Pull complete [2022-11-02T04:09:13.521Z] 5dd5c2283517: Pull complete [2022-11-02T04:09:16.182Z] d5ac0230b979: Pull complete [2022-11-02T04:09:16.182Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-11-02T04:09:16.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T04:09:16.182Z] ---> 59b3b1a385d4 [2022-11-02T04:09:16.182Z] Step 3/10 : ARG MAKE=make build [2022-11-02T04:09:18.814Z] ---> Running in 37e1a939cf64 [2022-11-02T04:09:18.814Z] Removing intermediate container 37e1a939cf64 [2022-11-02T04:09:18.814Z] ---> a8782d203cd4 [2022-11-02T04:09:18.814Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T04:09:18.814Z] ---> Running in ae6d1396d2b1 [2022-11-02T04:09:19.418Z] Removing intermediate container ae6d1396d2b1 [2022-11-02T04:09:19.418Z] ---> b0a663ad08ac [2022-11-02T04:09:19.418Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:09:19.418Z] ---> Running in a0e2d721e418 [2022-11-02T04:09:19.691Z] Removing intermediate container a0e2d721e418 [2022-11-02T04:09:19.691Z] ---> 4b9bc76472bd [2022-11-02T04:09:19.691Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:09:19.965Z] ---> Running in 8c9e83437fc7 [2022-11-02T04:09:21.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:09:21.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:09:23.119Z] OK: 221 MiB in 51 packages [2022-11-02T04:09:24.094Z] Removing intermediate container 8c9e83437fc7 [2022-11-02T04:09:24.094Z] ---> 0e85fa7a30bb [2022-11-02T04:09:24.094Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T04:09:24.685Z] ---> cd41ec062087 [2022-11-02T04:09:24.685Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:09:24.685Z] ---> Running in f2a3cf644cbd [2022-11-02T04:10:32.689Z] Removing intermediate container f2a3cf644cbd [2022-11-02T04:10:32.689Z] ---> c52521dccd9f [2022-11-02T04:10:32.689Z] Step 9/10 : COPY . . [2022-11-02T04:10:32.689Z] ---> eba36ab8c7c5 [2022-11-02T04:10:32.689Z] Step 10/10 : RUN ${MAKE} [2022-11-02T04:10:32.689Z] ---> Running in b0d6391c0068 [2022-11-02T04:10:32.689Z] noop [2022-11-02T04:10:32.689Z] Removing intermediate container b0d6391c0068 [2022-11-02T04:10:32.689Z] ---> dc7d0cc52db3 [2022-11-02T04:10:32.689Z] Successfully built dc7d0cc52db3 [2022-11-02T04:10:32.689Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:10:33.210Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:10:33.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:10:33.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-117815 does not seem to be running inside a container [2022-11-02T04:10:33.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:10:35.050Z] $ docker top 64a25e9d111a05a81d059676626026a6c794ed9cef94c8dda7c8dd07adcb633f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:10:36.018Z] + go version [2022-11-02T04:10:36.018Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T04:10:36.054Z] $ docker stop --time=1 64a25e9d111a05a81d059676626026a6c794ed9cef94c8dda7c8dd07adcb633f [2022-11-02T04:10:37.840Z] $ docker rm -f 64a25e9d111a05a81d059676626026a6c794ed9cef94c8dda7c8dd07adcb633f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:10:38.735Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T04:10:38.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:10:39.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-117815 does not seem to be running inside a container [2022-11-02T04:10:39.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T04:10:40.430Z] $ docker top 0c58ea6311eb24c0a0a69b482687b4e2b6397657e4665e50a4949516b7a00102 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:10:41.349Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T04:10:42.075Z] + make test [2022-11-02T04:10:42.075Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T04:11:29.019Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T04:14:36.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.300s coverage: 27.6% of statements [2022-11-02T04:14:36.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.499s coverage: 78.9% of statements [2022-11-02T04:14:36.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T04:14:42.839Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.514s coverage: 73.1% of statements [2022-11-02T04:14:42.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T04:14:42.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T04:14:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.785s coverage: 54.4% of statements [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T04:14:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.549s coverage: 65.1% of statements [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T04:14:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.792s coverage: 89.2% of statements [2022-11-02T04:14:46.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T04:14:49.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.336s coverage: 4.7% of statements [2022-11-02T04:14:49.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T04:14:50.604Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T04:14:50.604Z] GO111MODULE=on go vet ./... [2022-11-02T04:16:57.522Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T04:16:57.522Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T04:16:57.522Z] ./bin/test-attribution-txt.sh [2022-11-02T04:16:57.522Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T04:16:57.522Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T04:16:57.522Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T04:16:57.522Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T04:16:57.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T04:16:57.583Z] $ docker stop --time=1 0c58ea6311eb24c0a0a69b482687b4e2b6397657e4665e50a4949516b7a00102 [2022-11-02T04:16:59.542Z] $ docker rm -f 0c58ea6311eb24c0a0a69b482687b4e2b6397657e4665e50a4949516b7a00102 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T04:17:01.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T04:17:01.253Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T04:17:01.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T04:17:02.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T04:17:02.870Z] + ls -al . [2022-11-02T04:17:02.870Z] total 276 [2022-11-02T04:17:02.870Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 04:10 . [2022-11-02T04:17:02.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 04:08 .dockerignore [2022-11-02T04:17:02.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:08 .git [2022-11-02T04:17:02.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:08 .github [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 04:08 .gitignore [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 04:08 .golangci.yml [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 04:08 CHANGELOG.md [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:08 GOVERNANCE.md [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 04:08 Jenkinsfile [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 04:08 LICENSE [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 04:08 Makefile [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 04:08 OWNERS.md [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 04:08 README.md [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:05 VERSION [2022-11-02T04:17:02.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:08 bin [2022-11-02T04:17:02.870Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 04:14 coverage.out [2022-11-02T04:17:02.870Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 04:08 example [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 04:08 go.mod [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 04:08 go.sum [2022-11-02T04:17:02.870Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 04:08 internal [2022-11-02T04:17:02.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:08 openapi [2022-11-02T04:17:02.870Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:08 pkg [2022-11-02T04:17:02.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:08 snap [2022-11-02T04:17:02.870Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:17:03.310Z] + 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=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 --label arch=arm64 --label version=0.0.0 . [2022-11-02T04:17:03.905Z] Sending build context to Docker daemon 5.552MB [2022-11-02T04:17:03.905Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T04:17:03.905Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T04:17:03.905Z] ---> dc7d0cc52db3 [2022-11-02T04:17:03.905Z] Step 3/23 : ARG MAKE=make build [2022-11-02T04:17:03.905Z] ---> Running in 3a55ab238be6 [2022-11-02T04:17:04.176Z] Removing intermediate container 3a55ab238be6 [2022-11-02T04:17:04.176Z] ---> eeedd7e4ff88 [2022-11-02T04:17:04.176Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T04:17:04.446Z] ---> Running in ff52a899b99b [2022-11-02T04:17:04.717Z] Removing intermediate container ff52a899b99b [2022-11-02T04:17:04.717Z] ---> c5f01106dbc1 [2022-11-02T04:17:04.717Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:17:04.717Z] ---> Running in d44be0cc57eb [2022-11-02T04:17:05.307Z] Removing intermediate container d44be0cc57eb [2022-11-02T04:17:05.307Z] ---> 4f4f30dc39a2 [2022-11-02T04:17:05.307Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T04:17:05.307Z] ---> Running in 315d55abfc53 [2022-11-02T04:17:06.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:17:06.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:17:07.973Z] OK: 221 MiB in 51 packages [2022-11-02T04:17:08.940Z] Removing intermediate container 315d55abfc53 [2022-11-02T04:17:08.940Z] ---> f67b22a48615 [2022-11-02T04:17:08.940Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T04:17:09.528Z] ---> 2eb4974f54c8 [2022-11-02T04:17:09.528Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T04:17:09.528Z] ---> Running in 33d6c2d9120b [2022-11-02T04:17:12.119Z] Removing intermediate container 33d6c2d9120b [2022-11-02T04:17:12.119Z] ---> 0bc0b5228702 [2022-11-02T04:17:12.119Z] Step 9/23 : COPY . . [2022-11-02T04:17:13.084Z] ---> 62a4714e47d2 [2022-11-02T04:17:13.084Z] Step 10/23 : RUN ${MAKE} [2022-11-02T04:17:13.084Z] ---> Running in 95ba4e274400 [2022-11-02T04:17:14.050Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-02T04:20:05.963Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T04:20:05.963Z] Removing intermediate container 95ba4e274400 [2022-11-02T04:20:05.963Z] ---> 1a50263989fe [2022-11-02T04:20:05.963Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T04:20:06.240Z] 3.16: Pulling from library/alpine [2022-11-02T04:20:06.240Z] 9b18e9b68314: Already exists [2022-11-02T04:20:06.529Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T04:20:06.529Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T04:20:06.529Z] ---> a6215f271958 [2022-11-02T04:20:06.529Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T04:20:06.809Z] ---> Running in 64772fde3fb0 [2022-11-02T04:20:07.122Z] Removing intermediate container 64772fde3fb0 [2022-11-02T04:20:07.122Z] ---> ad81f59ae4aa [2022-11-02T04:20:07.122Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T04:20:07.122Z] ---> Running in c565364e0736 [2022-11-02T04:20:08.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T04:20:08.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T04:20:10.017Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T04:20:10.017Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T04:20:10.017Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T04:20:10.017Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T04:20:10.017Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T04:20:10.017Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T04:20:10.017Z] OK: 8 MiB in 19 packages [2022-11-02T04:20:10.995Z] Removing intermediate container c565364e0736 [2022-11-02T04:20:10.995Z] ---> f0b7c2ffe59a [2022-11-02T04:20:10.995Z] Step 14/23 : WORKDIR / [2022-11-02T04:20:11.269Z] ---> Running in 304072652aee [2022-11-02T04:20:11.544Z] Removing intermediate container 304072652aee [2022-11-02T04:20:11.544Z] ---> 5545e8658341 [2022-11-02T04:20:11.544Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T04:20:12.140Z] ---> 4437b0c57039 [2022-11-02T04:20:12.140Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T04:20:14.116Z] ---> 2d1216eff90c [2022-11-02T04:20:14.116Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T04:20:14.391Z] ---> d7bfa6bc24d2 [2022-11-02T04:20:14.391Z] Step 18/23 : EXPOSE 59999 [2022-11-02T04:20:14.662Z] ---> Running in 81df0adeda5d [2022-11-02T04:20:14.948Z] Removing intermediate container 81df0adeda5d [2022-11-02T04:20:14.948Z] ---> 5268c7d43cd6 [2022-11-02T04:20:14.948Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T04:20:14.948Z] ---> Running in aebdf34663d4 [2022-11-02T04:20:15.544Z] Removing intermediate container aebdf34663d4 [2022-11-02T04:20:15.544Z] ---> ccac7b358de4 [2022-11-02T04:20:15.544Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T04:20:15.544Z] ---> Running in ccc2f0cc7932 [2022-11-02T04:20:15.813Z] Removing intermediate container ccc2f0cc7932 [2022-11-02T04:20:15.813Z] ---> 65e9dc742a4c [2022-11-02T04:20:15.813Z] Step 21/23 : LABEL arch=arm64 [2022-11-02T04:20:15.813Z] ---> Running in 0f43b5fa4263 [2022-11-02T04:20:16.405Z] Removing intermediate container 0f43b5fa4263 [2022-11-02T04:20:16.405Z] ---> 44e77c09749a [2022-11-02T04:20:16.405Z] Step 22/23 : LABEL git_sha=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [2022-11-02T04:20:16.405Z] ---> Running in 6a4041961332 [2022-11-02T04:20:16.675Z] Removing intermediate container 6a4041961332 [2022-11-02T04:20:16.675Z] ---> 221abed43097 [2022-11-02T04:20:16.675Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T04:20:16.675Z] ---> Running in 01507cfd5e65 [2022-11-02T04:20:17.284Z] Removing intermediate container 01507cfd5e65 [2022-11-02T04:20:17.284Z] ---> eebdf4fa4117 [2022-11-02T04:20:17.284Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T04:20:17.284Z] Successfully built eebdf4fa4117 [2022-11-02T04:20:17.284Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:20:18.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:20:18.140Z] [2022-11-02T04:20:18.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:20:18.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:20:18.860Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T04:20:18.860Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T04:20:18.860Z] 04944245beec: Pulling fs layer [2022-11-02T04:20:18.860Z] 699f458cf7ca: Pulling fs layer [2022-11-02T04:20:18.860Z] 765212b225bb: Pulling fs layer [2022-11-02T04:20:18.860Z] f23df028b6ca: Pulling fs layer [2022-11-02T04:20:18.860Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T04:20:18.860Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T04:20:18.860Z] 765212b225bb: Waiting [2022-11-02T04:20:18.860Z] f23df028b6ca: Waiting [2022-11-02T04:20:18.860Z] d65c8cfc05b1: Waiting [2022-11-02T04:20:18.860Z] 2437ff75d9bd: Waiting [2022-11-02T04:20:18.860Z] 04944245beec: Verifying Checksum [2022-11-02T04:20:18.860Z] 04944245beec: Download complete [2022-11-02T04:20:18.860Z] 765212b225bb: Verifying Checksum [2022-11-02T04:20:18.860Z] 765212b225bb: Download complete [2022-11-02T04:20:18.860Z] f23df028b6ca: Verifying Checksum [2022-11-02T04:20:18.860Z] f23df028b6ca: Download complete [2022-11-02T04:20:19.136Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T04:20:19.136Z] d65c8cfc05b1: Download complete [2022-11-02T04:20:19.136Z] 699f458cf7ca: Verifying Checksum [2022-11-02T04:20:19.136Z] 699f458cf7ca: Download complete [2022-11-02T04:20:19.734Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T04:20:19.734Z] 8998bd30e6a1: Download complete [2022-11-02T04:20:22.335Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T04:20:22.335Z] 2437ff75d9bd: Download complete [2022-11-02T04:20:24.290Z] 8998bd30e6a1: Pull complete [2022-11-02T04:20:24.561Z] 04944245beec: Pull complete [2022-11-02T04:20:25.987Z] 699f458cf7ca: Pull complete [2022-11-02T04:20:26.256Z] 765212b225bb: Pull complete [2022-11-02T04:20:27.224Z] f23df028b6ca: Pull complete [2022-11-02T04:20:27.494Z] d65c8cfc05b1: Pull complete [2022-11-02T04:20:42.539Z] 2437ff75d9bd: Pull complete [2022-11-02T04:20:42.540Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T04:20:42.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T04:20:42.540Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:20:42.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-117815 does not seem to be running inside a container [2022-11-02T04:20:42.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T04:20:46.076Z] $ docker top ae4e114601ba1264512eaf086316afa1a407e0e6fc49b958e63bfd2176d1b044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:20:47.039Z] ---> job-cost.sh [2022-11-02T04:20:47.039Z] lf-activate-venv: SKIPPING [2022-11-02T04:20:47.039Z] INFO: No Stack... [2022-11-02T04:20:47.623Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T04:20:48.209Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T04:20:48.897Z] + cut -d, -f6 [2022-11-02T04:20:48.897Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-11-02T04:20:49.015Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [2022-11-02T04:20:49.020Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] did not exist. Created. [2022-11-02T04:20:49.020Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T04:20:49.787Z] /w/workspace/device-sdk-go/1@tmp/durable-cb8ddd8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T04:20:50.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T04:20:50.607Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T04:20:50.689Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T04:20:50.710Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1254-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T04:20:50.795Z] $ docker stop --time=1 ae4e114601ba1264512eaf086316afa1a407e0e6fc49b958e63bfd2176d1b044 [2022-11-02T04:20:52.411Z] $ docker rm -f ae4e114601ba1264512eaf086316afa1a407e0e6fc49b958e63bfd2176d1b044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-02T04:20:53.363Z] provisioning config files... [2022-11-02T04:20:53.377Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/config17799765687279956040tmp [Pipeline] { [Pipeline] sh [2022-11-02T04:20:53.707Z] + set +x [2022-11-02T04:20:53.707Z] + curl -s https://codecov.io/bash [2022-11-02T04:20:53.707Z] + bash -s -- [2022-11-02T04:20:53.707Z] [2022-11-02T04:20:53.707Z] _____ _ [2022-11-02T04:20:53.707Z] / ____| | | [2022-11-02T04:20:53.707Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T04:20:53.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T04:20:53.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T04:20:53.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T04:20:53.707Z] Bash-1.0.6 [2022-11-02T04:20:53.707Z] [2022-11-02T04:20:53.707Z] [2022-11-02T04:20:53.707Z] ==> git version 2.25.1 found [2022-11-02T04:20:53.707Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-02T04:20:53.707Z] Release-Date: 2020-01-08 [2022-11-02T04:20:53.707Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-02T04:20:53.707Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T04:20:53.707Z] ==> Jenkins CI detected. [2022-11-02T04:20:53.707Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1254 [2022-11-02T04:20:53.707Z] project root: . [2022-11-02T04:20:53.707Z] --> token set from env [2022-11-02T04:20:53.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T04:20:53.707Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T04:20:53.707Z] ==> Python coveragepy not found [2022-11-02T04:20:53.707Z] ==> Searching for coverage reports in: [2022-11-02T04:20:53.707Z] + . [2022-11-02T04:20:53.707Z] -> Found 1 reports [2022-11-02T04:20:53.708Z] ==> Detecting git/mercurial file structure [2022-11-02T04:20:53.708Z] ==> Reading reports [2022-11-02T04:20:53.708Z] + ./coverage.out bytes=101759 [2022-11-02T04:20:53.708Z] ==> Appending adjustments [2022-11-02T04:20:53.708Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T04:20:53.967Z] + Found adjustments [2022-11-02T04:20:54.226Z] ==> Gzipping contents [2022-11-02T04:20:54.226Z] 16K /tmp/codecov.BqEi99.gz [2022-11-02T04:20:54.226Z] ==> Uploading reports [2022-11-02T04:20:54.226Z] url: https://codecov.io [2022-11-02T04:20:54.226Z] query: branch=PR-1254&commit=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1254&job=&cmd_args= [2022-11-02T04:20:54.226Z] -> Pinging Codecov [2022-11-02T04:20:54.226Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1254&commit=d03c47b56c91b0b400e543fb3e610bfaf7ef55c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1254%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1254&job=&cmd_args= [2022-11-02T04:20:54.487Z] -> Uploading to [2022-11-02T04:20:54.487Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/d03c47b56c91b0b400e543fb3e610bfaf7ef55c5/8bc43559-1b53-464f-a1dd-38568c58033c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T042054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ad1800ba0e43bc38038fff4c1f291a374079444c11a9af2b49bed75046e105a [2022-11-02T04:20:54.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T04:20:54.487Z] Dload Upload Total Spent Left Speed [2022-11-02T04:20:54.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14731 0 0 100 14731 0 72566 --:--:-- --:--:-- --:--:-- 72210 100 14731 0 0 100 14731 0 70483 --:--:-- --:--:-- --:--:-- 70147 [2022-11-02T04:20:54.746Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d03c47b56c91b0b400e543fb3e610bfaf7ef55c5 [Pipeline] } [2022-11-02T04:20:54.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-02T04:20:56.460Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives ] [2022-11-02T04:20:56.460Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives [2022-11-02T04:20:56.460Z] total 16 [2022-11-02T04:20:56.460Z] drwxr-xr-x 3 root root 4096 Nov 2 04:08 . [2022-11-02T04:20:56.460Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:20:56.460Z] drwxr-xr-x 2 root root 4096 Nov 2 04:08 cost [2022-11-02T04:20:56.460Z] -rw-r--r-- 1 root root 86 Nov 2 04:08 cost.csv [2022-11-02T04:20:56.460Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives [2022-11-02T04:20:56.460Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives [2022-11-02T04:20:56.460Z] total 16 [2022-11-02T04:20:56.460Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:08 . [2022-11-02T04:20:56.460Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 04:08 .. [2022-11-02T04:20:56.460Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 04:08 cost [2022-11-02T04:20:56.460Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:20:56.790Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:20:57.684Z] ---> package-listing.sh [2022-11-02T04:20:57.684Z] ++ facter osfamily [2022-11-02T04:20:57.684Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T04:20:57.943Z] + OS_FAMILY=debian [2022-11-02T04:20:57.943Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1254 [2022-11-02T04:20:57.943Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T04:20:57.943Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T04:20:57.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T04:20:57.943Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T04:20:57.943Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1254 ']' [2022-11-02T04:20:57.943Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T04:20:57.943Z] + case "${OS_FAMILY}" in [2022-11-02T04:20:57.943Z] + dpkg -l [2022-11-02T04:20:57.943Z] + grep '^ii' [2022-11-02T04:20:57.943Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T04:20:57.943Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T04:20:57.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T04:20:57.943Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1254 ']' [2022-11-02T04:20:57.943Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives/ [2022-11-02T04:20:57.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1254/archives/ [Pipeline] echo [2022-11-02T04:20:57.974Z] 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-1254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T04:20:58.265Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T04:20:58.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T04:20:58.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T04:20:59.024Z] prd-ubuntu20.04-docker-8c-8g-117803 does not seem to be running inside a container [2022-11-02T04:20:59.054Z] $ 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-1254/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-1254 -v /w/workspace/gexfoundry_device-sdk-go_PR-1254:/w/workspace/gexfoundry_device-sdk-go_PR-1254:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T04:20:59.250Z] $ docker top 6d6aec48f69372798c3be4b7772b1edeadc66f08f8bd28973facacc80204253c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T04:20:59.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T04:20:59.946Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T04:21:00.251Z] + ls /var/log/sa-host [2022-11-02T04:21:00.251Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T04:21:00.376Z] provisioning config files... [2022-11-02T04:21:00.385Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1254@tmp/config9544080799747038837tmp [Pipeline] { [Pipeline] echo [2022-11-02T04:21:00.436Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:00.758Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T04:21:00.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:01.189Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T04:21:01.220Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:01.584Z] ---> sudo-logs.sh [2022-11-02T04:21:01.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T04:21:01.671Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:01.993Z] ---> job-cost.sh [2022-11-02T04:21:01.994Z] lf-activate-venv: SKIPPING [2022-11-02T04:21:01.994Z] DEBUG: total: 0.2199999988079071 [2022-11-02T04:21:01.994Z] INFO: Retrieving Stack Cost... [2022-11-02T04:21:02.259Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T04:21:02.826Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T04:21:02.855Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T04:21:03.172Z] ---> logs-deploy.sh [2022-11-02T04:21:03.172Z] lf-activate-venv: SKIPPING [2022-11-02T04:21:03.172Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1254/1 [2022-11-02T04:21:03.172Z] INFO: archiving workspace using pattern(s): [2022-11-02T04:21:04.107Z] Archives upload complete. [2022-11-02T04:21:04.367Z] INFO: archiving logs to Nexus [2022-11-02T04:21:04.935Z] ---> uname -a: [2022-11-02T04:21:04.935Z] Linux prd-ubuntu20-04-docker-8c-8g-117803 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-11-02T04:21:04.935Z] [2022-11-02T04:21:04.935Z] [2022-11-02T04:21:04.935Z] ---> lscpu: [2022-11-02T04:21:04.935Z] Architecture: x86_64 [2022-11-02T04:21:04.935Z] CPU op-mode(s): 32-bit, 64-bit [2022-11-02T04:21:04.935Z] Byte Order: Little Endian [2022-11-02T04:21:04.935Z] Address sizes: 40 bits physical, 48 bits virtual [2022-11-02T04:21:04.935Z] CPU(s): 8 [2022-11-02T04:21:04.935Z] On-line CPU(s) list: 0-7 [2022-11-02T04:21:04.935Z] Thread(s) per core: 1 [2022-11-02T04:21:04.935Z] Core(s) per socket: 1 [2022-11-02T04:21:04.935Z] Socket(s): 8 [2022-11-02T04:21:04.935Z] NUMA node(s): 1 [2022-11-02T04:21:04.935Z] Vendor ID: AuthenticAMD [2022-11-02T04:21:04.935Z] CPU family: 23 [2022-11-02T04:21:04.935Z] Model: 49 [2022-11-02T04:21:04.935Z] Model name: AMD EPYC-Rome Processor [2022-11-02T04:21:04.935Z] Stepping: 0 [2022-11-02T04:21:04.935Z] CPU MHz: 2799.988 [2022-11-02T04:21:04.935Z] BogoMIPS: 5599.97 [2022-11-02T04:21:04.935Z] Virtualization: AMD-V [2022-11-02T04:21:04.935Z] Hypervisor vendor: KVM [2022-11-02T04:21:04.935Z] Virtualization type: full [2022-11-02T04:21:04.935Z] L1d cache: 256 KiB [2022-11-02T04:21:04.935Z] L1i cache: 256 KiB [2022-11-02T04:21:04.935Z] L2 cache: 4 MiB [2022-11-02T04:21:04.935Z] L3 cache: 128 MiB [2022-11-02T04:21:04.935Z] NUMA node0 CPU(s): 0-7 [2022-11-02T04:21:04.935Z] Vulnerability Itlb multihit: Not affected [2022-11-02T04:21:04.935Z] Vulnerability L1tf: Not affected [2022-11-02T04:21:04.935Z] Vulnerability Mds: Not affected [2022-11-02T04:21:04.935Z] Vulnerability Meltdown: Not affected [2022-11-02T04:21:04.935Z] Vulnerability Mmio stale data: Not affected [2022-11-02T04:21:04.935Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-11-02T04:21:04.935Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-11-02T04:21:04.935Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-11-02T04:21:04.935Z] Vulnerability Srbds: Not affected [2022-11-02T04:21:04.935Z] Vulnerability Tsx async abort: Not affected [2022-11-02T04:21:04.935Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-11-02T04:21:04.935Z] [2022-11-02T04:21:04.935Z] [2022-11-02T04:21:04.935Z] ---> nproc: [2022-11-02T04:21:04.935Z] 8 [2022-11-02T04:21:04.935Z] [2022-11-02T04:21:04.935Z]