Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+0b0fd8621743a303648e9248d2aa1db21f4d7aab (e25a311b6642368ea4767cb4a887dd54eed386ae) 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-ssh2922658105587767558.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-ssh10205209592141174152.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16169730642811252130.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4523830873464418791.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17328075582454955781.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117843 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 Checking out Revision fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 (PR-1244) > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # 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 fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 # timeout=10 Commit message: "Merge commit '0b0fd8621743a303648e9248d2aa1db21f4d7aab' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T06:41:25.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T06:41:25.679Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T06:41:25.695Z] ========================================================= [2022-11-02T06:41:25.695Z] EdgeX Global Pipelines Version Info [2022-11-02T06:41:25.695Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a2cbac808847926cba089165f83d8f8e6b4e2b12 # timeout=10 [2022-11-02T06:41:26.792Z] ------------------- [2022-11-02T06:41:26.792Z] stable info: [2022-11-02T06:41:26.792Z] ------------------- [2022-11-02T06:41:26.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T06:41:26.792Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T06:41:26.792Z] Message: update stable to v1.0.243 [2022-11-02T06:41:27.054Z] ------------------- [2022-11-02T06:41:27.054Z] experimental info: [2022-11-02T06:41:27.054Z] ------------------- [2022-11-02T06:41:27.054Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T06:41:27.054Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-02T06:41:27.054Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T06:41:27.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-02T06:41:27.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-02T06:41:27.243Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T06:41:27.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T06:41:27.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T06:41:27.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T06:41:27.307Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T06:41:27.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-02T06:41:27.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T06:41:27.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T06:41:27.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T06:41:27.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-02T06:41:27.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T06:41:27.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T06:41:27.401Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T06:41:27.415Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T06:41:27.429Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T06:41:27.441Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T06:41:27.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T06:41:27.468Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T06:41:27.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-02T06:41:27.557Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-02T06:41:27.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T06:41:27.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T06:41:27.597Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T06:41:27.607Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T06:41:27.618Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T06:41:27.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo [2022-11-02T06:41:27.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo [2022-11-02T06:41:27.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo [2022-11-02T06:41:27.676Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [Pipeline] echo [2022-11-02T06:41:27.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa3dc5a [Pipeline] echo [2022-11-02T06:41:27.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T06:41:27.745Z] provisioning config files... [2022-11-02T06:41:27.755Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config6587576364973069284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:41:28.054Z] ---> docker-login.sh [2022-11-02T06:41:28.054Z] nexus3.edgexfoundry.org:10001 [2022-11-02T06:41:28.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:28.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:28.574Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:28.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:28.574Z] [2022-11-02T06:41:28.574Z] Login Succeeded [2022-11-02T06:41:28.574Z] nexus3.edgexfoundry.org:10002 [2022-11-02T06:41:28.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:28.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:28.574Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:28.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:28.574Z] [2022-11-02T06:41:28.574Z] Login Succeeded [2022-11-02T06:41:28.834Z] nexus3.edgexfoundry.org:10003 [2022-11-02T06:41:28.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:28.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:28.834Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:28.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:28.834Z] [2022-11-02T06:41:28.834Z] Login Succeeded [2022-11-02T06:41:28.834Z] nexus3.edgexfoundry.org:10004 [2022-11-02T06:41:28.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:28.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:28.834Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:28.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:28.834Z] [2022-11-02T06:41:28.834Z] Login Succeeded [2022-11-02T06:41:28.834Z] docker.io [2022-11-02T06:41:29.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:29.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:29.353Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:29.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:29.353Z] [2022-11-02T06:41:29.353Z] Login Succeeded [2022-11-02T06:41:29.353Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T06:41:29.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T06:41:29.731Z] + git rev-list -1 --merges fa3dc5a81f8a50f0b70ac9c37310dd310f90e157~1..fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [Pipeline] echo [2022-11-02T06:41:29.760Z] -----------> git rev-list -1 --merges fa3dc5a81f8a50f0b70ac9c37310dd310f90e157~1..fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [2022-11-02T06:41:29.760Z] fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [false] [Pipeline] sh [2022-11-02T06:41:30.098Z] + git log --format=format:%s -1 fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [Pipeline] echo [2022-11-02T06:41:30.110Z] ========================================================= [2022-11-02T06:41:30.110Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T06:41:30.110Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T06:41:30.423Z] + git log --format=format:%s -1 fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [Pipeline] echo [2022-11-02T06:41:30.434Z] [semverPrep] GIT_COMMIT: fa3dc5a81f8a50f0b70ac9c37310dd310f90e157, Commit Message: Merge commit '0b0fd8621743a303648e9248d2aa1db21f4d7aab' into HEAD [Pipeline] echo [2022-11-02T06:41:30.443Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T06:41:30.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T06:41:30.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T06:41:30.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T06:41:30.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T06:41:30.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T06:41:30.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T06:41:30.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:41:31.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T06:41:31.234Z] [2022-11-02T06:41:31.234Z] 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-02T06:41:31.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T06:41:31.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T06:41:31.531Z] b85a868b505f: Pulling fs layer [2022-11-02T06:41:31.531Z] e2be974225ed: Pulling fs layer [2022-11-02T06:41:31.531Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T06:41:31.531Z] 988bab9f4d93: Pulling fs layer [2022-11-02T06:41:31.531Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T06:41:31.531Z] eaf3925da568: Pulling fs layer [2022-11-02T06:41:31.531Z] bab4dde63d76: Pulling fs layer [2022-11-02T06:41:31.531Z] bde34c3a00c8: Pulling fs layer [2022-11-02T06:41:31.531Z] b352a97aabf1: Pulling fs layer [2022-11-02T06:41:31.531Z] 4872d77fe225: Pulling fs layer [2022-11-02T06:41:31.531Z] 5851b861e8e6: Pulling fs layer [2022-11-02T06:41:31.531Z] 988bab9f4d93: Waiting [2022-11-02T06:41:31.531Z] 1469e6f7b9e6: Waiting [2022-11-02T06:41:31.531Z] eaf3925da568: Waiting [2022-11-02T06:41:31.531Z] b352a97aabf1: Waiting [2022-11-02T06:41:31.531Z] bab4dde63d76: Waiting [2022-11-02T06:41:31.531Z] bde34c3a00c8: Waiting [2022-11-02T06:41:31.531Z] 5851b861e8e6: Waiting [2022-11-02T06:41:31.531Z] e2be974225ed: Download complete [2022-11-02T06:41:31.531Z] 988bab9f4d93: Verifying Checksum [2022-11-02T06:41:31.531Z] 988bab9f4d93: Download complete [2022-11-02T06:41:31.789Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T06:41:31.789Z] 339a4e72a1f5: Download complete [2022-11-02T06:41:31.789Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T06:41:31.789Z] 1469e6f7b9e6: Download complete [2022-11-02T06:41:31.789Z] eaf3925da568: Download complete [2022-11-02T06:41:31.789Z] bde34c3a00c8: Verifying Checksum [2022-11-02T06:41:31.789Z] bde34c3a00c8: Download complete [2022-11-02T06:41:31.789Z] b352a97aabf1: Download complete [2022-11-02T06:41:31.789Z] 4872d77fe225: Verifying Checksum [2022-11-02T06:41:31.789Z] 4872d77fe225: Download complete [2022-11-02T06:41:31.789Z] 5851b861e8e6: Verifying Checksum [2022-11-02T06:41:31.789Z] 5851b861e8e6: Download complete [2022-11-02T06:41:31.789Z] b85a868b505f: Download complete [2022-11-02T06:41:32.047Z] bab4dde63d76: Verifying Checksum [2022-11-02T06:41:32.047Z] bab4dde63d76: Download complete [2022-11-02T06:41:32.984Z] b85a868b505f: Pull complete [2022-11-02T06:41:32.984Z] e2be974225ed: Pull complete [2022-11-02T06:41:33.552Z] 339a4e72a1f5: Pull complete [2022-11-02T06:41:33.552Z] 988bab9f4d93: Pull complete [2022-11-02T06:41:33.811Z] 1469e6f7b9e6: Pull complete [2022-11-02T06:41:33.811Z] eaf3925da568: Pull complete [2022-11-02T06:41:35.719Z] bab4dde63d76: Pull complete [2022-11-02T06:41:35.719Z] bde34c3a00c8: Pull complete [2022-11-02T06:41:35.719Z] b352a97aabf1: Pull complete [2022-11-02T06:41:35.719Z] 4872d77fe225: Pull complete [2022-11-02T06:41:35.980Z] 5851b861e8e6: Pull complete [2022-11-02T06:41:35.980Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T06:41:35.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T06:41:35.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:41:36.063Z] prd-ubuntu20.04-docker-8c-8g-117843 does not seem to be running inside a container [2022-11-02T06:41:36.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-devops/py-git-semver:0.1.4 cat [2022-11-02T06:41:38.932Z] $ docker top 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 -eo pid,comm [2022-11-02T06:41:38.986Z] 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-02T06:41:38.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T06:41:39.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T06:41:39.021Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T06:41:39.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T06:41:39.144Z] $ docker exec 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 ssh-agent [2022-11-02T06:41:39.243Z] SSH_AUTH_SOCK=/tmp/ssh-H0ryNUWxCqmW/agent.32 [2022-11-02T06:41:39.243Z] SSH_AGENT_PID=38 [2022-11-02T06:41:39.249Z] Running ssh-add (command line suppressed) [2022-11-02T06:41:39.355Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7222337203971363409.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7222337203971363409.key) [2022-11-02T06:41:39.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T06:41:39.646Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T06:41:39.665Z] $ docker exec --env ******** --env ******** 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 ssh-agent -k [2022-11-02T06:41:39.763Z] unset SSH_AUTH_SOCK; [2022-11-02T06:41:39.764Z] unset SSH_AGENT_PID; [2022-11-02T06:41:39.764Z] echo Agent pid 38 killed; [2022-11-02T06:41:39.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T06:41:39.795Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T06:41:39.795Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T06:41:39.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T06:41:39.906Z] $ docker exec 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 ssh-agent [2022-11-02T06:41:40.006Z] SSH_AUTH_SOCK=/tmp/ssh-8oIoYqYJkUEa/agent.71 [2022-11-02T06:41:40.006Z] SSH_AGENT_PID=77 [2022-11-02T06:41:40.011Z] Running ssh-add (command line suppressed) [2022-11-02T06:41:40.112Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_8859343368412250558.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_8859343368412250558.key) [2022-11-02T06:41:40.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T06:41:40.417Z] + git semver init [2022-11-02T06:41:40.675Z] 2022-11-02 06:41:40,577 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T06:41:40.675Z] 2022-11-02 06:41:40,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-11-02T06:41:40.675Z] 2022-11-02 06:41:40,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-11-02T06:41:40.675Z] 2022-11-02 06:41:40,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,556 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,557 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,561 [execute] INFO git cat-file --batch-check [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,568 [execute] INFO git cat-file --batch [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T06:41:41.612Z] 2022-11-02 06:41:41,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-11-02T06:41:41.612Z] 0.0.0 [Pipeline] } [2022-11-02T06:41:41.624Z] $ docker exec --env ******** --env ******** 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 ssh-agent -k [2022-11-02T06:41:41.722Z] unset SSH_AUTH_SOCK; [2022-11-02T06:41:41.722Z] unset SSH_AGENT_PID; [2022-11-02T06:41:41.722Z] echo Agent pid 77 killed; [2022-11-02T06:41:41.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T06:41:42.027Z] + git semver [Pipeline] } [2022-11-02T06:41:42.304Z] $ docker stop --time=1 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 [2022-11-02T06:41:43.643Z] $ docker rm -f 7ae6d5b704d4a9889cef3930413abbc26950ae5e0be35b9a41c8b3805e65a061 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T06:41:43.973Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T06:41:44.124Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T06:41:44.127Z] [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-02T06:41:44.266Z] provisioning config files... [2022-11-02T06:41:44.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config18185874817187987327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:41:44.572Z] ---> docker-login.sh [2022-11-02T06:41:44.572Z] nexus3.edgexfoundry.org:10001 [2022-11-02T06:41:44.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:44.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:44.572Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:44.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:44.572Z] [2022-11-02T06:41:44.572Z] Login Succeeded [2022-11-02T06:41:44.572Z] nexus3.edgexfoundry.org:10002 [2022-11-02T06:41:44.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:44.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:44.572Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:44.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:44.572Z] [2022-11-02T06:41:44.572Z] Login Succeeded [2022-11-02T06:41:44.572Z] nexus3.edgexfoundry.org:10003 [2022-11-02T06:41:44.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:44.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:44.831Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:44.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:44.831Z] [2022-11-02T06:41:44.831Z] Login Succeeded [2022-11-02T06:41:44.831Z] nexus3.edgexfoundry.org:10004 [2022-11-02T06:41:44.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:44.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:44.831Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:44.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:44.831Z] [2022-11-02T06:41:44.831Z] Login Succeeded [2022-11-02T06:41:44.831Z] docker.io [2022-11-02T06:41:44.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:41:45.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:41:45.398Z] Configure a credential helper to remove this warning. See [2022-11-02T06:41:45.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:41:45.398Z] [2022-11-02T06:41:45.398Z] Login Succeeded [2022-11-02T06:41:45.398Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T06:41:45.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T06:41:45.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T06:41:45.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T06:41:45.496Z] ========================================================= [2022-11-02T06:41:45.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T06:41:45.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:41:45.805Z] + 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-02T06:41:45.805Z] Sending build context to Docker daemon 10.15MB [2022-11-02T06:41:45.805Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T06:41:45.805Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T06:41:45.805Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T06:41:45.805Z] 213ec9aee27d: Pulling fs layer [2022-11-02T06:41:45.805Z] 4583459ba037: Pulling fs layer [2022-11-02T06:41:45.805Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T06:41:45.805Z] 53926ce57604: Pulling fs layer [2022-11-02T06:41:45.805Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T06:41:45.805Z] 30f14e443154: Pulling fs layer [2022-11-02T06:41:45.805Z] 801331c1e519: Pulling fs layer [2022-11-02T06:41:45.805Z] 99cc6dd402b0: Pulling fs layer [2022-11-02T06:41:45.805Z] 7d9ed39f4882: Pulling fs layer [2022-11-02T06:41:45.805Z] 30f14e443154: Waiting [2022-11-02T06:41:45.805Z] 801331c1e519: Waiting [2022-11-02T06:41:45.805Z] 99cc6dd402b0: Waiting [2022-11-02T06:41:45.805Z] 53926ce57604: Waiting [2022-11-02T06:41:45.805Z] 21b2b0c7a3f4: Waiting [2022-11-02T06:41:45.805Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T06:41:45.805Z] 93c1e223e6f2: Download complete [2022-11-02T06:41:46.066Z] 4583459ba037: Verifying Checksum [2022-11-02T06:41:46.066Z] 4583459ba037: Download complete [2022-11-02T06:41:46.066Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T06:41:46.066Z] 21b2b0c7a3f4: Download complete [2022-11-02T06:41:46.066Z] 30f14e443154: Verifying Checksum [2022-11-02T06:41:46.066Z] 30f14e443154: Download complete [2022-11-02T06:41:46.066Z] 213ec9aee27d: Verifying Checksum [2022-11-02T06:41:46.066Z] 213ec9aee27d: Pull complete [2022-11-02T06:41:46.329Z] 4583459ba037: Pull complete [2022-11-02T06:41:46.329Z] 93c1e223e6f2: Pull complete [2022-11-02T06:41:46.589Z] 7d9ed39f4882: Verifying Checksum [2022-11-02T06:41:46.589Z] 7d9ed39f4882: Download complete [2022-11-02T06:41:46.589Z] 99cc6dd402b0: Verifying Checksum [2022-11-02T06:41:46.589Z] 99cc6dd402b0: Download complete [2022-11-02T06:41:46.847Z] 53926ce57604: Verifying Checksum [2022-11-02T06:41:46.847Z] 53926ce57604: Download complete [2022-11-02T06:41:50.140Z] 53926ce57604: Pull complete [2022-11-02T06:41:50.398Z] 21b2b0c7a3f4: Pull complete [2022-11-02T06:41:50.398Z] 30f14e443154: Pull complete [2022-11-02T06:41:50.398Z] 801331c1e519: Pull complete [2022-11-02T06:41:52.302Z] 99cc6dd402b0: Pull complete [2022-11-02T06:41:53.241Z] 7d9ed39f4882: Pull complete [2022-11-02T06:41:53.241Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-02T06:41:53.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T06:41:53.241Z] ---> 1dedd983c030 [2022-11-02T06:41:53.241Z] Step 3/10 : ARG MAKE=make build [2022-11-02T06:41:57.451Z] ---> Running in 1b975aee08e0 [2022-11-02T06:41:57.451Z] Removing intermediate container 1b975aee08e0 [2022-11-02T06:41:57.451Z] ---> 8f818a4c7861 [2022-11-02T06:41:57.451Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T06:41:57.451Z] ---> Running in 20f851cf4816 [2022-11-02T06:41:57.451Z] Removing intermediate container 20f851cf4816 [2022-11-02T06:41:57.451Z] ---> 614569a4bc5d [2022-11-02T06:41:57.451Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:41:57.451Z] ---> Running in fc6685cc37ad [2022-11-02T06:41:57.451Z] Removing intermediate container fc6685cc37ad [2022-11-02T06:41:57.451Z] ---> 515f15554ed9 [2022-11-02T06:41:57.451Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T06:41:57.451Z] ---> Running in d26542739c8a [2022-11-02T06:41:57.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T06:41:57.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T06:41:57.970Z] OK: 211 MiB in 51 packages [2022-11-02T06:41:58.537Z] Removing intermediate container d26542739c8a [2022-11-02T06:41:58.538Z] ---> 56781a55ed96 [2022-11-02T06:41:58.538Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T06:41:58.538Z] ---> 36038281f4b7 [2022-11-02T06:41:58.538Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T06:41:58.538Z] ---> Running in c13b4cff36cc [2022-11-02T06:41:59.225Z] Still waiting to schedule task [2022-11-02T06:41:59.226Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-02T06:42:25.089Z] Removing intermediate container c13b4cff36cc [2022-11-02T06:42:25.089Z] ---> 16dc2ab26b71 [2022-11-02T06:42:25.089Z] Step 9/10 : COPY . . [2022-11-02T06:42:25.089Z] ---> bed5312e85c2 [2022-11-02T06:42:25.089Z] Step 10/10 : RUN ${MAKE} [2022-11-02T06:42:25.089Z] ---> Running in 1b878e65bd87 [2022-11-02T06:42:25.089Z] noop [2022-11-02T06:42:25.089Z] Removing intermediate container 1b878e65bd87 [2022-11-02T06:42:25.089Z] ---> f74dc161804f [2022-11-02T06:42:25.089Z] Successfully built f74dc161804f [2022-11-02T06:42:25.089Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:42:25.390Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T06:42:25.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:42:25.447Z] prd-ubuntu20.04-docker-8c-8g-117843 does not seem to be running inside a container [2022-11-02T06:42:25.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T06:42:25.795Z] $ docker top c2332b5052980d51cb7b7ab8ceb4ee13373b7ed5444aa12908fb4910d51a9403 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T06:42:26.121Z] + go version [2022-11-02T06:42:26.122Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T06:42:26.134Z] $ docker stop --time=1 c2332b5052980d51cb7b7ab8ceb4ee13373b7ed5444aa12908fb4910d51a9403 [2022-11-02T06:42:27.434Z] $ docker rm -f c2332b5052980d51cb7b7ab8ceb4ee13373b7ed5444aa12908fb4910d51a9403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:42:27.843Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T06:42:27.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:42:27.911Z] prd-ubuntu20.04-docker-8c-8g-117843 does not seem to be running inside a container [2022-11-02T06:42:27.947Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T06:42:28.278Z] $ docker top 4bcbf3466b2d6e48c02131ac1f3768b7b7a413c993c97f218fe43e67b899a1cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T06:42:28.618Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh [2022-11-02T06:42:28.912Z] + make test [2022-11-02T06:42:28.912Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T06:42:35.475Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T06:42:50.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-11-02T06:42:50.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.135s coverage: 78.9% of statements [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T06:42:50.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.134s coverage: 73.1% of statements [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T06:42:50.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T06:42:50.631Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 54.4% of statements [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T06:42:50.631Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T06:42:50.631Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.761s coverage: 89.2% of statements [2022-11-02T06:42:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T06:42:50.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-11-02T06:42:50.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T06:43:08.963Z] 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-02T06:43:08.963Z] GO111MODULE=on go vet ./... [2022-11-02T06:43:10.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T06:43:10.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T06:43:10.870Z] ./bin/test-attribution-txt.sh [2022-11-02T06:43:10.870Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T06:43:10.870Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T06:43:10.870Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T06:43:10.870Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T06:43:10.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T06:43:10.895Z] $ docker stop --time=1 4bcbf3466b2d6e48c02131ac1f3768b7b7a413c993c97f218fe43e67b899a1cd [2022-11-02T06:43:15.177Z] $ docker rm -f 4bcbf3466b2d6e48c02131ac1f3768b7b7a413c993c97f218fe43e67b899a1cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T06:43:15.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T06:43:15.745Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T06:43:16.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T06:43:16.524Z] + ls -al . [2022-11-02T06:43:16.524Z] total 280 [2022-11-02T06:43:16.524Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 06:42 . [2022-11-02T06:43:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:41 .. [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:41 .dockerignore [2022-11-02T06:43:16.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:42 .git [2022-11-02T06:43:16.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:41 .github [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 06:41 .gitignore [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 06:41 .golangci.yml [2022-11-02T06:43:16.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 06:41 .semver [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 06:41 CHANGELOG.md [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 06:41 GOVERNANCE.md [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 06:41 Jenkinsfile [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 06:41 LICENSE [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 06:41 Makefile [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 06:41 OWNERS.md [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 06:41 README.md [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2022-11-02T06:43:16.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:41 bin [2022-11-02T06:43:16.524Z] -rw-r--r-- 1 jenkins jenkins 101760 Nov 2 06:42 coverage.out [2022-11-02T06:43:16.524Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 06:41 example [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 06:41 go.mod [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 44684 Nov 2 06:41 go.sum [2022-11-02T06:43:16.524Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 06:41 internal [2022-11-02T06:43:16.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:41 openapi [2022-11-02T06:43:16.524Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 06:41 pkg [2022-11-02T06:43:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:41 snap [2022-11-02T06:43:16.524Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:43:16.827Z] + 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=fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 --label arch=amd64 --label version=0.0.0 . [2022-11-02T06:43:16.827Z] Sending build context to Docker daemon 10.25MB [2022-11-02T06:43:16.827Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T06:43:16.827Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T06:43:16.827Z] ---> f74dc161804f [2022-11-02T06:43:16.827Z] Step 3/23 : ARG MAKE=make build [2022-11-02T06:43:17.086Z] ---> Running in d0d89d7388b7 [2022-11-02T06:43:17.086Z] Removing intermediate container d0d89d7388b7 [2022-11-02T06:43:17.086Z] ---> 307a2ec2722d [2022-11-02T06:43:17.086Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T06:43:17.086Z] ---> Running in 6afd44d33910 [2022-11-02T06:43:17.086Z] Removing intermediate container 6afd44d33910 [2022-11-02T06:43:17.086Z] ---> a37cc988d052 [2022-11-02T06:43:17.086Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:43:17.344Z] ---> Running in e684b58a3021 [2022-11-02T06:43:17.344Z] Removing intermediate container e684b58a3021 [2022-11-02T06:43:17.344Z] ---> 7bbd3d91c5c0 [2022-11-02T06:43:17.344Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T06:43:17.344Z] ---> Running in b9125f3f6c7f [2022-11-02T06:43:17.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T06:43:17.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T06:43:18.122Z] OK: 211 MiB in 51 packages [2022-11-02T06:43:18.380Z] Removing intermediate container b9125f3f6c7f [2022-11-02T06:43:18.380Z] ---> 7ddf848121ee [2022-11-02T06:43:18.380Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T06:43:18.638Z] ---> a6867e8c3c85 [2022-11-02T06:43:18.638Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T06:43:18.638Z] ---> Running in a91255dc231a [2022-11-02T06:43:19.205Z] Removing intermediate container a91255dc231a [2022-11-02T06:43:19.205Z] ---> 1e0c39de5d7c [2022-11-02T06:43:19.205Z] Step 9/23 : COPY . . [2022-11-02T06:43:19.870Z] ---> e93bafd1aa2c [2022-11-02T06:43:19.870Z] Step 10/23 : RUN ${MAKE} [2022-11-02T06:43:19.870Z] ---> Running in 38dc51e7b680 [2022-11-02T06:43:20.128Z] 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-02T06:43:23.945Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117844 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws [2022-11-02T06:43:23.954Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-11-02T06:43:23.986Z] The recommended git tool is: git [2022-11-02T06:43:28.788Z] using credential edgex-jenkins-ssh [2022-11-02T06:43:28.804Z] Cloning the remote Git repository [2022-11-02T06:43:28.854Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T06:43:28.925Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-11-02T06:43:29.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T06:43:29.069Z] > git --version # timeout=10 [2022-11-02T06:43:29.088Z] > git --version # 'git version 2.25.1' [2022-11-02T06:43:29.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T06:43:29.146Z] Verifying host key using known hosts file [2022-11-02T06:43:29.339Z] 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-02T06:43:29.353Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T06:43:31.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T06:43:31.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T06:43:32.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-02T06:43:32.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-02T06:43:32.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T06:43:32.122Z] Verifying host key using known hosts file [2022-11-02T06:43:32.128Z] 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-02T06:43:32.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T06:43:32.707Z] Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-11-02T06:43:33.010Z] Merge succeeded, producing 43a799d67e5a5e79ff49ac009a5f78023486851a [2022-11-02T06:43:33.011Z] Checking out Revision 43a799d67e5a5e79ff49ac009a5f78023486851a (PR-1244) [2022-11-02T06:43:32.732Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T06:43:32.747Z] > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [2022-11-02T06:43:32.848Z] > git remote # timeout=10 [2022-11-02T06:43:32.869Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T06:43:32.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T06:43:32.888Z] Verifying host key using known hosts file [2022-11-02T06:43:32.893Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T06:43:32.905Z] > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 [2022-11-02T06:43:33.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T06:43:33.020Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T06:43:33.038Z] > git checkout -f 43a799d67e5a5e79ff49ac009a5f78023486851a # timeout=10 [2022-11-02T06:43:36.529Z] Commit message: "Merge commit '0b0fd8621743a303648e9248d2aa1db21f4d7aab' into HEAD" [2022-11-02T06:43:36.558Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-11-02T06:43:36.538Z] > git rev-list --no-walk a2cbac808847926cba089165f83d8f8e6b4e2b12 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T06:43:37.502Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T06:43:37.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T06:43:37.502Z] Dload Upload Total Spent Left Speed [2022-11-02T06:43:37.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-11-02T06:43:38.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2022-11-02T06:43:38.204Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] sh [2022-11-02T06:43:38.516Z] + sudo tee /etc/docker/daemon.new [2022-11-02T06:43:38.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T06:43:38.516Z] { [2022-11-02T06:43:38.516Z] "registry-mirrors": [ [2022-11-02T06:43:38.516Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T06:43:38.516Z] ], [2022-11-02T06:43:38.516Z] "bip": "10.250.0.254/24", [2022-11-02T06:43:38.516Z] "hosts": [ [2022-11-02T06:43:38.516Z] "tcp://0.0.0.0:5555", [2022-11-02T06:43:38.516Z] "unix:///var/run/docker.sock" [2022-11-02T06:43:38.516Z] ], [2022-11-02T06:43:38.516Z] "mtu": 1458, [2022-11-02T06:43:38.516Z] "selinux-enabled": true, [2022-11-02T06:43:38.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T06:43:38.516Z] } [Pipeline] sh [2022-11-02T06:43:38.842Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T06:43:39.165Z] + sudo service docker restart [2022-11-02T06:43:40.732Z] Removing intermediate container 38dc51e7b680 [2022-11-02T06:43:40.732Z] ---> e1a4e2557154 [2022-11-02T06:43:40.732Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T06:43:41.301Z] 3.16: Pulling from library/alpine [2022-11-02T06:43:41.560Z] 213ec9aee27d: Already exists [2022-11-02T06:43:41.819Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T06:43:41.819Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T06:43:41.819Z] ---> 9c6f07244728 [2022-11-02T06:43:41.819Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:43:41.819Z] ---> Running in 342081de9f95 [2022-11-02T06:43:41.819Z] Removing intermediate container 342081de9f95 [2022-11-02T06:43:41.819Z] ---> 8f9c09a8de1f [2022-11-02T06:43:41.819Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T06:43:41.819Z] ---> Running in 53235c463200 [2022-11-02T06:43:42.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T06:43:42.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T06:43:42.594Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T06:43:42.594Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T06:43:42.594Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T06:43:42.594Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T06:43:42.594Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T06:43:42.594Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T06:43:42.594Z] OK: 8 MiB in 19 packages [2022-11-02T06:43:43.161Z] Removing intermediate container 53235c463200 [2022-11-02T06:43:43.161Z] ---> 1fc5b66abea4 [2022-11-02T06:43:43.161Z] Step 14/23 : WORKDIR / [2022-11-02T06:43:43.161Z] ---> Running in e3d470dd7cf1 [2022-11-02T06:43:43.161Z] Removing intermediate container e3d470dd7cf1 [2022-11-02T06:43:43.161Z] ---> 5ba10177191a [2022-11-02T06:43:43.161Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T06:43:43.161Z] ---> 2961fd3d6c60 [2022-11-02T06:43:43.161Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T06:43:44.097Z] ---> 08d5b0bd8e06 [2022-11-02T06:43:44.097Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T06:43:44.097Z] ---> 104065ddb3cb [2022-11-02T06:43:44.097Z] Step 18/23 : EXPOSE 59999 [2022-11-02T06:43:44.097Z] ---> Running in a459ee76f644 [2022-11-02T06:43:44.357Z] Removing intermediate container a459ee76f644 [2022-11-02T06:43:44.357Z] ---> 67ed543857aa [2022-11-02T06:43:44.357Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T06:43:44.357Z] ---> Running in c21f593b2245 [2022-11-02T06:43:44.357Z] Removing intermediate container c21f593b2245 [2022-11-02T06:43:44.357Z] ---> b187a3654e2f [2022-11-02T06:43:44.357Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T06:43:44.357Z] ---> Running in c98bae275631 [2022-11-02T06:43:44.616Z] Removing intermediate container c98bae275631 [2022-11-02T06:43:44.616Z] ---> 6c5924b88553 [2022-11-02T06:43:44.616Z] Step 21/23 : LABEL arch=amd64 [2022-11-02T06:43:44.616Z] ---> Running in 0ce639f175eb [2022-11-02T06:43:44.616Z] Removing intermediate container 0ce639f175eb [2022-11-02T06:43:44.616Z] ---> 01bf0a80faf3 [2022-11-02T06:43:44.616Z] Step 22/23 : LABEL git_sha=fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [2022-11-02T06:43:44.616Z] ---> Running in 58973662178b [2022-11-02T06:43:44.616Z] Removing intermediate container 58973662178b [2022-11-02T06:43:44.616Z] ---> b84ac88f587f [2022-11-02T06:43:44.616Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T06:43:44.616Z] ---> Running in 9d761fd03cb9 [2022-11-02T06:43:44.875Z] Removing intermediate container 9d761fd03cb9 [2022-11-02T06:43:44.875Z] ---> 338591f76da1 [2022-11-02T06:43:44.875Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T06:43:44.875Z] Successfully built 338591f76da1 [2022-11-02T06:43:44.875Z] 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-02T06:43:45.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T06:43:45.299Z] [2022-11-02T06:43:45.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:43:45.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T06:43:45.598Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T06:43:45.598Z] 5eb5b503b376: Pulling fs layer [2022-11-02T06:43:45.598Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T06:43:45.598Z] ec43610c2a17: Pulling fs layer [2022-11-02T06:43:45.598Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T06:43:45.598Z] 33b1e0a273af: Pulling fs layer [2022-11-02T06:43:45.598Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T06:43:45.598Z] 2f39f015ded8: Pulling fs layer [2022-11-02T06:43:45.598Z] 3a2ae6a8a46f: Waiting [2022-11-02T06:43:45.598Z] 2f39f015ded8: Waiting [2022-11-02T06:43:45.598Z] 33b1e0a273af: Waiting [2022-11-02T06:43:45.598Z] 5d3b04190fa2: Waiting [2022-11-02T06:43:45.598Z] 5c69ac0246d0: Download complete [2022-11-02T06:43:45.598Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-02T06:43:45.598Z] 3a2ae6a8a46f: Download complete [2022-11-02T06:43:45.856Z] 33b1e0a273af: Verifying Checksum [2022-11-02T06:43:45.856Z] 33b1e0a273af: Download complete [2022-11-02T06:43:45.856Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T06:43:45.856Z] 5d3b04190fa2: Download complete [2022-11-02T06:43:45.856Z] ec43610c2a17: Verifying Checksum [2022-11-02T06:43:45.856Z] ec43610c2a17: Download complete [2022-11-02T06:43:45.856Z] 5eb5b503b376: Download complete [2022-11-02T06:43:46.422Z] 2f39f015ded8: Download complete [2022-11-02T06:43:47.356Z] 5eb5b503b376: Pull complete [2022-11-02T06:43:47.356Z] 5c69ac0246d0: Pull complete [2022-11-02T06:43:47.613Z] ec43610c2a17: Pull complete [2022-11-02T06:43:47.871Z] 3a2ae6a8a46f: Pull complete [2022-11-02T06:43:48.129Z] 33b1e0a273af: Pull complete [2022-11-02T06:43:48.129Z] 5d3b04190fa2: Pull complete [2022-11-02T06:43:52.326Z] 2f39f015ded8: Pull complete [2022-11-02T06:43:52.326Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T06:43:52.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T06:43:52.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:43:52.401Z] prd-ubuntu20.04-docker-8c-8g-117843 does not seem to be running inside a container [2022-11-02T06:43:52.431Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T06:43:56.621Z] $ docker top 527eddfbbb1bb2eb3245d3dea2d22fabb90652544dfd08f24a4e3ea356e3f43f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:43:57.011Z] ---> job-cost.sh [2022-11-02T06:43:57.011Z] lf-activate-venv: SKIPPING [2022-11-02T06:43:57.011Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T06:43:57.410Z] provisioning config files... [2022-11-02T06:43:57.434Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config10841994970941740715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:43:57.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T06:43:57.780Z] ---> docker-login.sh [2022-11-02T06:43:57.780Z] nexus3.edgexfoundry.org:10001 [2022-11-02T06:43:57.836Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T06:43:58.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:43:58.117Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv [2022-11-02T06:43:58.117Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T06:43:58.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [2022-11-02T06:43:58.136Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] did not exist. Created. [2022-11-02T06:43:58.136Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T06:43:58.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:43:58.317Z] Configure a credential helper to remove this warning. See [2022-11-02T06:43:58.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:43:58.317Z] [2022-11-02T06:43:58.317Z] Login Succeeded [2022-11-02T06:43:58.317Z] nexus3.edgexfoundry.org:10002 [2022-11-02T06:43:58.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T06:43:58.463Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T06:43:58.470Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T06:43:58.486Z] $ docker stop --time=1 527eddfbbb1bb2eb3245d3dea2d22fabb90652544dfd08f24a4e3ea356e3f43f [2022-11-02T06:43:58.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:43:58.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:43:58.585Z] Configure a credential helper to remove this warning. See [2022-11-02T06:43:58.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:43:58.585Z] [2022-11-02T06:43:58.585Z] Login Succeeded [2022-11-02T06:43:58.585Z] nexus3.edgexfoundry.org:10003 [2022-11-02T06:43:58.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:43:59.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:43:59.119Z] Configure a credential helper to remove this warning. See [2022-11-02T06:43:59.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:43:59.119Z] [2022-11-02T06:43:59.119Z] Login Succeeded [2022-11-02T06:43:59.119Z] nexus3.edgexfoundry.org:10004 [2022-11-02T06:43:59.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T06:43:59.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:43:59.386Z] Configure a credential helper to remove this warning. See [2022-11-02T06:43:59.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:43:59.386Z] [2022-11-02T06:43:59.386Z] Login Succeeded [2022-11-02T06:43:59.386Z] docker.io [2022-11-02T06:43:59.635Z] $ docker rm -f 527eddfbbb1bb2eb3245d3dea2d22fabb90652544dfd08f24a4e3ea356e3f43f [2022-11-02T06:43:59.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T06:43:59.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T06:43:59.919Z] Configure a credential helper to remove this warning. See [2022-11-02T06:43:59.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T06:43:59.919Z] [2022-11-02T06:43:59.919Z] Login Succeeded [2022-11-02T06:43:59.919Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T06:43:59.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T06:44:00.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T06:44:00.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T06:44:00.095Z] ========================================================= [2022-11-02T06:44:00.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T06:44:00.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:44:00.428Z] + 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-02T06:44:00.694Z] Sending build context to Docker daemon 5.48MB [2022-11-02T06:44:00.694Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T06:44:00.694Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-02T06:44:00.968Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T06:44:00.968Z] 9b18e9b68314: Pulling fs layer [2022-11-02T06:44:00.968Z] d32db5db7311: Pulling fs layer [2022-11-02T06:44:00.968Z] d0c4b47475fc: Pulling fs layer [2022-11-02T06:44:00.968Z] 5831b945b038: Pulling fs layer [2022-11-02T06:44:00.968Z] 86bbec2aaacd: Pulling fs layer [2022-11-02T06:44:00.968Z] e10730c5d714: Pulling fs layer [2022-11-02T06:44:00.968Z] 5dd5c2283517: Pulling fs layer [2022-11-02T06:44:00.968Z] d5ac0230b979: Pulling fs layer [2022-11-02T06:44:00.968Z] 86bbec2aaacd: Waiting [2022-11-02T06:44:00.968Z] e10730c5d714: Waiting [2022-11-02T06:44:00.968Z] 5dd5c2283517: Waiting [2022-11-02T06:44:00.968Z] d5ac0230b979: Waiting [2022-11-02T06:44:00.968Z] 5831b945b038: Waiting [2022-11-02T06:44:00.968Z] d0c4b47475fc: Verifying Checksum [2022-11-02T06:44:00.968Z] d0c4b47475fc: Download complete [2022-11-02T06:44:00.968Z] d32db5db7311: Verifying Checksum [2022-11-02T06:44:00.968Z] d32db5db7311: Download complete [2022-11-02T06:44:00.968Z] 86bbec2aaacd: Verifying Checksum [2022-11-02T06:44:00.968Z] 86bbec2aaacd: Download complete [2022-11-02T06:44:00.968Z] e10730c5d714: Verifying Checksum [2022-11-02T06:44:00.968Z] e10730c5d714: Download complete [2022-11-02T06:44:00.968Z] 9b18e9b68314: Verifying Checksum [2022-11-02T06:44:00.968Z] 9b18e9b68314: Download complete [2022-11-02T06:44:02.401Z] 9b18e9b68314: Pull complete [2022-11-02T06:44:02.401Z] d5ac0230b979: Verifying Checksum [2022-11-02T06:44:02.401Z] d5ac0230b979: Download complete [2022-11-02T06:44:02.676Z] d32db5db7311: Pull complete [2022-11-02T06:44:03.267Z] d0c4b47475fc: Pull complete [2022-11-02T06:44:03.535Z] 5dd5c2283517: Verifying Checksum [2022-11-02T06:44:04.120Z] 5831b945b038: Verifying Checksum [2022-11-02T06:44:04.120Z] 5831b945b038: Download complete [2022-11-02T06:44:16.456Z] 5831b945b038: Pull complete [2022-11-02T06:44:16.456Z] 86bbec2aaacd: Pull complete [2022-11-02T06:44:16.456Z] e10730c5d714: Pull complete [2022-11-02T06:44:23.116Z] 5dd5c2283517: Pull complete [2022-11-02T06:44:24.531Z] d5ac0230b979: Pull complete [2022-11-02T06:44:24.531Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-11-02T06:44:24.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T06:44:24.531Z] ---> 59b3b1a385d4 [2022-11-02T06:44:24.531Z] Step 3/10 : ARG MAKE=make build [2022-11-02T06:44:26.496Z] ---> Running in 7ecb4d8e3457 [2022-11-02T06:44:26.496Z] Removing intermediate container 7ecb4d8e3457 [2022-11-02T06:44:26.496Z] ---> 0dfb9279afba [2022-11-02T06:44:26.496Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-02T06:44:26.496Z] ---> Running in 8e66f5029088 [2022-11-02T06:44:26.763Z] Removing intermediate container 8e66f5029088 [2022-11-02T06:44:26.763Z] ---> 358680635f43 [2022-11-02T06:44:26.764Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:44:27.029Z] ---> Running in 4519b448fd24 [2022-11-02T06:44:27.298Z] Removing intermediate container 4519b448fd24 [2022-11-02T06:44:27.298Z] ---> c3f97930eca9 [2022-11-02T06:44:27.298Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T06:44:27.298Z] ---> Running in 24bac73817f7 [2022-11-02T06:44:28.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T06:44:28.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T06:44:29.492Z] OK: 221 MiB in 51 packages [2022-11-02T06:44:30.452Z] Removing intermediate container 24bac73817f7 [2022-11-02T06:44:30.452Z] ---> f28a258f398d [2022-11-02T06:44:30.452Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-02T06:44:30.720Z] ---> e3902eb285a6 [2022-11-02T06:44:30.720Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T06:44:30.989Z] ---> Running in 0d9187588754 [2022-11-02T06:45:27.399Z] Removing intermediate container 0d9187588754 [2022-11-02T06:45:27.399Z] ---> e630d1eb406a [2022-11-02T06:45:27.399Z] Step 9/10 : COPY . . [2022-11-02T06:45:27.399Z] ---> 38b870950863 [2022-11-02T06:45:27.399Z] Step 10/10 : RUN ${MAKE} [2022-11-02T06:45:27.399Z] ---> Running in 3655c6ea57e1 [2022-11-02T06:45:27.399Z] noop [2022-11-02T06:45:27.399Z] Removing intermediate container 3655c6ea57e1 [2022-11-02T06:45:27.399Z] ---> a83fbf91c6f4 [2022-11-02T06:45:27.399Z] Successfully built a83fbf91c6f4 [2022-11-02T06:45:27.399Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:45:27.742Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T06:45:27.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:45:27.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-117844 does not seem to be running inside a container [2022-11-02T06:45:27.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T06:45:29.176Z] $ docker top 01ab847c3e65ce3070b68b0a51a26ea7d95950a7bb4d567b0810f7f82866f48f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T06:45:30.006Z] + go version [2022-11-02T06:45:30.006Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T06:45:30.025Z] $ docker stop --time=1 01ab847c3e65ce3070b68b0a51a26ea7d95950a7bb4d567b0810f7f82866f48f [2022-11-02T06:45:31.617Z] $ docker rm -f 01ab847c3e65ce3070b68b0a51a26ea7d95950a7bb4d567b0810f7f82866f48f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:45:32.165Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T06:45:32.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:45:32.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-117844 does not seem to be running inside a container [2022-11-02T06:45:32.392Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T06:45:33.843Z] $ docker top afe13077a395144db79d2792a39e4d8d5fab1a189ed57b9a915551c840f708ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T06:45:34.664Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2022-11-02T06:45:34.994Z] + make test [2022-11-02T06:45:34.994Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-02T06:46:07.208Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-02T06:47:58.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.474s coverage: 27.6% of statements [2022-11-02T06:47:58.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.379s coverage: 78.9% of statements [2022-11-02T06:47:58.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-02T06:48:08.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.596s coverage: 73.1% of statements [2022-11-02T06:48:08.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-02T06:48:08.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-02T06:48:12.346Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.626s coverage: 54.4% of statements [2022-11-02T06:48:12.346Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-02T06:48:12.346Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-02T06:48:12.346Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-02T06:48:12.346Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-02T06:48:13.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.444s coverage: 65.1% of statements [2022-11-02T06:48:13.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-02T06:48:13.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-02T06:48:13.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.499s coverage: 89.2% of statements [2022-11-02T06:48:13.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-02T06:48:13.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.242s coverage: 4.7% of statements [2022-11-02T06:48:13.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-02T06:48:14.268Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T06:48:14.268Z] GO111MODULE=on go vet ./... [2022-11-02T06:49:50.909Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T06:49:50.909Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T06:49:50.909Z] ./bin/test-attribution-txt.sh [2022-11-02T06:49:50.909Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-02T06:49:50.909Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-02T06:49:50.909Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-02T06:49:50.909Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-02T06:49:50.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T06:49:50.945Z] $ docker stop --time=1 afe13077a395144db79d2792a39e4d8d5fab1a189ed57b9a915551c840f708ce [2022-11-02T06:49:52.675Z] $ docker rm -f afe13077a395144db79d2792a39e4d8d5fab1a189ed57b9a915551c840f708ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T06:49:53.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T06:49:53.947Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T06:49:54.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T06:49:55.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T06:49:55.502Z] + ls -al . [2022-11-02T06:49:55.502Z] total 276 [2022-11-02T06:49:55.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 06:45 . [2022-11-02T06:49:55.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:43 .. [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:43 .dockerignore [2022-11-02T06:49:55.502Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:43 .git [2022-11-02T06:49:55.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:43 .github [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 06:43 .gitignore [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 06:43 .golangci.yml [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 06:43 CHANGELOG.md [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 06:43 GOVERNANCE.md [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 06:43 Jenkinsfile [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 06:43 LICENSE [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 06:43 Makefile [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 06:43 OWNERS.md [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 06:43 README.md [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:41 VERSION [2022-11-02T06:49:55.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:43 bin [2022-11-02T06:49:55.502Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 06:48 coverage.out [2022-11-02T06:49:55.502Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 06:43 example [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 06:43 go.mod [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 44684 Nov 2 06:43 go.sum [2022-11-02T06:49:55.502Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 06:43 internal [2022-11-02T06:49:55.502Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:43 openapi [2022-11-02T06:49:55.502Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 06:43 pkg [2022-11-02T06:49:55.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:43 snap [2022-11-02T06:49:55.502Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:49:55.851Z] + 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=43a799d67e5a5e79ff49ac009a5f78023486851a --label arch=arm64 --label version=0.0.0 . [2022-11-02T06:49:56.145Z] Sending build context to Docker daemon 5.583MB [2022-11-02T06:49:56.145Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T06:49:56.145Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-02T06:49:56.145Z] ---> a83fbf91c6f4 [2022-11-02T06:49:56.145Z] Step 3/23 : ARG MAKE=make build [2022-11-02T06:49:56.419Z] ---> Running in 512545bcdb6e [2022-11-02T06:49:56.689Z] Removing intermediate container 512545bcdb6e [2022-11-02T06:49:56.689Z] ---> 66541d663c61 [2022-11-02T06:49:56.689Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-02T06:49:56.689Z] ---> Running in f2d1df38e937 [2022-11-02T06:49:56.958Z] Removing intermediate container f2d1df38e937 [2022-11-02T06:49:56.958Z] ---> a112f6fbb44a [2022-11-02T06:49:56.958Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:49:56.958Z] ---> Running in 152f45e3b1b9 [2022-11-02T06:49:57.232Z] Removing intermediate container 152f45e3b1b9 [2022-11-02T06:49:57.232Z] ---> e45c45bf6663 [2022-11-02T06:49:57.232Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-02T06:49:57.517Z] ---> Running in bed1b1acb6ba [2022-11-02T06:49:58.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T06:49:58.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T06:49:59.463Z] OK: 221 MiB in 51 packages [2022-11-02T06:50:00.048Z] Removing intermediate container bed1b1acb6ba [2022-11-02T06:50:00.048Z] ---> d75585339621 [2022-11-02T06:50:00.048Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-02T06:50:00.647Z] ---> f60500998350 [2022-11-02T06:50:00.647Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T06:50:00.647Z] ---> Running in ff0a22640eef [2022-11-02T06:50:02.591Z] Removing intermediate container ff0a22640eef [2022-11-02T06:50:02.591Z] ---> cb56165d98a2 [2022-11-02T06:50:02.591Z] Step 9/23 : COPY . . [2022-11-02T06:50:03.552Z] ---> 2a7c0e70c0e0 [2022-11-02T06:50:03.552Z] Step 10/23 : RUN ${MAKE} [2022-11-02T06:50:03.818Z] ---> Running in 15463145d00d [2022-11-02T06:50:04.774Z] 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-02T06:52:11.477Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-02T06:52:12.060Z] Removing intermediate container 15463145d00d [2022-11-02T06:52:12.060Z] ---> 0f29096b8ee4 [2022-11-02T06:52:12.060Z] Step 11/23 : FROM alpine:3.16 [2022-11-02T06:52:12.644Z] 3.16: Pulling from library/alpine [2022-11-02T06:52:12.911Z] 9b18e9b68314: Already exists [2022-11-02T06:52:13.181Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T06:52:13.181Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T06:52:13.181Z] ---> a6215f271958 [2022-11-02T06:52:13.181Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-02T06:52:13.181Z] ---> Running in bbe4ab1dbf40 [2022-11-02T06:52:13.449Z] Removing intermediate container bbe4ab1dbf40 [2022-11-02T06:52:13.449Z] ---> 080677e95403 [2022-11-02T06:52:13.449Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-02T06:52:13.449Z] ---> Running in 56434120c9d6 [2022-11-02T06:52:14.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T06:52:14.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T06:52:15.634Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T06:52:15.634Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T06:52:15.634Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T06:52:15.634Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T06:52:15.634Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T06:52:15.634Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T06:52:15.634Z] OK: 8 MiB in 19 packages [2022-11-02T06:52:16.599Z] Removing intermediate container 56434120c9d6 [2022-11-02T06:52:16.599Z] ---> 984a5cfdd465 [2022-11-02T06:52:16.599Z] Step 14/23 : WORKDIR / [2022-11-02T06:52:16.599Z] ---> Running in a93b71f368d5 [2022-11-02T06:52:16.866Z] Removing intermediate container a93b71f368d5 [2022-11-02T06:52:16.866Z] ---> 2ccc552693d0 [2022-11-02T06:52:16.866Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-02T06:52:17.449Z] ---> 7d683e58af85 [2022-11-02T06:52:17.449Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-02T06:52:18.875Z] ---> 33b2eea5ef3d [2022-11-02T06:52:18.875Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-02T06:52:19.143Z] ---> 1f526b803104 [2022-11-02T06:52:19.143Z] Step 18/23 : EXPOSE 59999 [2022-11-02T06:52:19.143Z] ---> Running in 6de3f13018d3 [2022-11-02T06:52:19.413Z] Removing intermediate container 6de3f13018d3 [2022-11-02T06:52:19.413Z] ---> 5b9d286f305b [2022-11-02T06:52:19.413Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-02T06:52:19.682Z] ---> Running in 7a5271fbe7ab [2022-11-02T06:52:19.950Z] Removing intermediate container 7a5271fbe7ab [2022-11-02T06:52:19.950Z] ---> 60c00d1667eb [2022-11-02T06:52:19.950Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T06:52:19.950Z] ---> Running in 2b5e6f9c161a [2022-11-02T06:52:20.219Z] Removing intermediate container 2b5e6f9c161a [2022-11-02T06:52:20.219Z] ---> 38885c12cba8 [2022-11-02T06:52:20.219Z] Step 21/23 : LABEL arch=arm64 [2022-11-02T06:52:20.488Z] ---> Running in 54ca7ab94204 [2022-11-02T06:52:20.756Z] Removing intermediate container 54ca7ab94204 [2022-11-02T06:52:20.756Z] ---> 9f25e4b3d886 [2022-11-02T06:52:20.756Z] Step 22/23 : LABEL git_sha=43a799d67e5a5e79ff49ac009a5f78023486851a [2022-11-02T06:52:20.756Z] ---> Running in 6c4482339d1d [2022-11-02T06:52:21.023Z] Removing intermediate container 6c4482339d1d [2022-11-02T06:52:21.023Z] ---> 812ac0b9c0f0 [2022-11-02T06:52:21.023Z] Step 23/23 : LABEL version=0.0.0 [2022-11-02T06:52:21.023Z] ---> Running in 269b22d1513b [2022-11-02T06:52:21.287Z] Removing intermediate container 269b22d1513b [2022-11-02T06:52:21.287Z] ---> 59f07647e92e [2022-11-02T06:52:21.287Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T06:52:21.287Z] Successfully built 59f07647e92e [2022-11-02T06:52:21.287Z] 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-02T06:52:21.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T06:52:21.733Z] [2022-11-02T06:52:21.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:52:22.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T06:52:22.061Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T06:52:22.061Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T06:52:22.061Z] 04944245beec: Pulling fs layer [2022-11-02T06:52:22.061Z] 699f458cf7ca: Pulling fs layer [2022-11-02T06:52:22.061Z] 765212b225bb: Pulling fs layer [2022-11-02T06:52:22.061Z] f23df028b6ca: Pulling fs layer [2022-11-02T06:52:22.061Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T06:52:22.061Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T06:52:22.061Z] 765212b225bb: Waiting [2022-11-02T06:52:22.061Z] d65c8cfc05b1: Waiting [2022-11-02T06:52:22.061Z] f23df028b6ca: Waiting [2022-11-02T06:52:22.330Z] 04944245beec: Verifying Checksum [2022-11-02T06:52:22.330Z] 04944245beec: Download complete [2022-11-02T06:52:22.330Z] 765212b225bb: Verifying Checksum [2022-11-02T06:52:22.330Z] 765212b225bb: Download complete [2022-11-02T06:52:22.330Z] f23df028b6ca: Download complete [2022-11-02T06:52:22.330Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T06:52:22.330Z] d65c8cfc05b1: Download complete [2022-11-02T06:52:22.599Z] 699f458cf7ca: Verifying Checksum [2022-11-02T06:52:22.599Z] 699f458cf7ca: Download complete [2022-11-02T06:52:22.866Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T06:52:22.866Z] 8998bd30e6a1: Download complete [2022-11-02T06:52:25.456Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T06:52:25.456Z] 2437ff75d9bd: Download complete [2022-11-02T06:52:26.865Z] 8998bd30e6a1: Pull complete [2022-11-02T06:52:27.133Z] 04944245beec: Pull complete [2022-11-02T06:52:28.541Z] 699f458cf7ca: Pull complete [2022-11-02T06:52:28.808Z] 765212b225bb: Pull complete [2022-11-02T06:52:29.768Z] f23df028b6ca: Pull complete [2022-11-02T06:52:29.768Z] d65c8cfc05b1: Pull complete [2022-11-02T06:52:44.771Z] 2437ff75d9bd: Pull complete [2022-11-02T06:52:44.771Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T06:52:44.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T06:52:44.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:52:44.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-117844 does not seem to be running inside a container [2022-11-02T06:52:45.016Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T06:52:47.483Z] $ docker top 81512452ef8015f2a748be65effee9b8ec312ef96fc17c282be8efe6eae070bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:47.997Z] ---> job-cost.sh [2022-11-02T06:52:48.265Z] lf-activate-venv: SKIPPING [2022-11-02T06:52:48.265Z] INFO: No Stack... [2022-11-02T06:52:48.843Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T06:52:49.422Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T06:52:49.744Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2022-11-02T06:52:49.745Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T06:52:50.068Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [2022-11-02T06:52:50.180Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] did not exist. Created. [2022-11-02T06:52:50.181Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T06:52:50.506Z] /w/workspace/device-sdk-go/5@tmp/durable-d7859653/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T06:52:51.415Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T06:52:51.436Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T06:52:51.489Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T06:52:51.496Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T06:52:51.512Z] $ docker stop --time=1 81512452ef8015f2a748be65effee9b8ec312ef96fc17c282be8efe6eae070bd [2022-11-02T06:52:53.009Z] $ docker rm -f 81512452ef8015f2a748be65effee9b8ec312ef96fc17c282be8efe6eae070bd [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-02T06:52:53.373Z] provisioning config files... [2022-11-02T06:52:53.381Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config13484527867564269294tmp [Pipeline] { [Pipeline] sh [2022-11-02T06:52:53.674Z] + set +x [2022-11-02T06:52:53.674Z] + curl -s https://codecov.io/bash [2022-11-02T06:52:53.674Z] + bash -s -- [2022-11-02T06:52:53.674Z] [2022-11-02T06:52:53.674Z] _____ _ [2022-11-02T06:52:53.674Z] / ____| | | [2022-11-02T06:52:53.674Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T06:52:53.674Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T06:52:53.674Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T06:52:53.674Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T06:52:53.674Z] Bash-1.0.6 [2022-11-02T06:52:53.674Z] [2022-11-02T06:52:53.674Z] [2022-11-02T06:52:53.674Z] ==> git version 2.25.1 found [2022-11-02T06:52:53.674Z] ==> 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-02T06:52:53.674Z] Release-Date: 2020-01-08 [2022-11-02T06:52:53.674Z] 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-02T06:52:53.674Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T06:52:53.674Z] ==> Jenkins CI detected. [2022-11-02T06:52:53.674Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-11-02T06:52:53.674Z] project root: . [2022-11-02T06:52:53.674Z] --> token set from env [2022-11-02T06:52:53.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T06:52:53.674Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T06:52:53.674Z] ==> Python coveragepy not found [2022-11-02T06:52:53.674Z] ==> Searching for coverage reports in: [2022-11-02T06:52:53.674Z] + . [2022-11-02T06:52:53.674Z] -> Found 1 reports [2022-11-02T06:52:53.674Z] ==> Detecting git/mercurial file structure [2022-11-02T06:52:53.674Z] ==> Reading reports [2022-11-02T06:52:53.935Z] + ./coverage.out bytes=101759 [2022-11-02T06:52:53.935Z] ==> Appending adjustments [2022-11-02T06:52:53.935Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T06:52:54.196Z] + Found adjustments [2022-11-02T06:52:54.196Z] ==> Gzipping contents [2022-11-02T06:52:54.196Z] 16K /tmp/codecov.d7eHwB.gz [2022-11-02T06:52:54.196Z] ==> Uploading reports [2022-11-02T06:52:54.196Z] url: https://codecov.io [2022-11-02T06:52:54.196Z] query: branch=PR-1244&commit=fa3dc5a81f8a50f0b70ac9c37310dd310f90e157&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-11-02T06:52:54.196Z] -> Pinging Codecov [2022-11-02T06:52:54.196Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=fa3dc5a81f8a50f0b70ac9c37310dd310f90e157&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-11-02T06:52:54.455Z] -> Uploading to [2022-11-02T06:52:54.455Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/fa3dc5a81f8a50f0b70ac9c37310dd310f90e157/a95a121f-2bba-4a9c-a680-d76707efb01a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T065254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=676a6f984c45ffbae3d5a6dc76daf66d4840e910057e1086b685157810a74b08 [2022-11-02T06:52:54.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T06:52:54.455Z] Dload Upload Total Spent Left Speed [2022-11-02T06:52:54.716Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14721 0 0 100 14721 0 53726 --:--:-- --:--:-- --:--:-- 53726 [2022-11-02T06:52:54.716Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fa3dc5a81f8a50f0b70ac9c37310dd310f90e157 [Pipeline] } [2022-11-02T06:52:54.723Z] 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-02T06:52:55.406Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] [2022-11-02T06:52:55.406Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-02T06:52:55.406Z] total 16 [2022-11-02T06:52:55.406Z] drwxr-xr-x 3 root root 4096 Nov 2 06:43 . [2022-11-02T06:52:55.406Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 06:43 .. [2022-11-02T06:52:55.406Z] drwxr-xr-x 2 root root 4096 Nov 2 06:43 cost [2022-11-02T06:52:55.406Z] -rw-r--r-- 1 root root 86 Nov 2 06:43 cost.csv [2022-11-02T06:52:55.406Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-02T06:52:55.406Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-02T06:52:55.406Z] total 16 [2022-11-02T06:52:55.406Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 06:43 . [2022-11-02T06:52:55.406Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 06:43 .. [2022-11-02T06:52:55.406Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 06:43 cost [2022-11-02T06:52:55.406Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:55.694Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:56.548Z] ---> package-listing.sh [2022-11-02T06:52:56.548Z] ++ facter osfamily [2022-11-02T06:52:56.548Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T06:52:56.807Z] + OS_FAMILY=debian [2022-11-02T06:52:56.807Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-11-02T06:52:56.807Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T06:52:56.807Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T06:52:56.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T06:52:56.807Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T06:52:56.807Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-11-02T06:52:56.807Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T06:52:56.807Z] + case "${OS_FAMILY}" in [2022-11-02T06:52:56.807Z] + dpkg -l [2022-11-02T06:52:56.807Z] + grep '^ii' [2022-11-02T06:52:56.807Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T06:52:56.807Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T06:52:56.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T06:52:56.807Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-11-02T06:52:56.807Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [2022-11-02T06:52:56.807Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo [2022-11-02T06:52:56.818Z] 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T06:52:57.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T06:52:57.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T06:52:57.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T06:52:57.718Z] prd-ubuntu20.04-docker-8c-8g-117843 does not seem to be running inside a container [2022-11-02T06:52:57.744Z] $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T06:52:57.960Z] $ docker top b0606bbb4ab30b5914f05681dc1928cc482693d69a30974af74ab90ccb3a49b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T06:52:58.300Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T06:52:58.576Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T06:52:58.861Z] + ls /var/log/sa-host [2022-11-02T06:52:58.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T06:52:59.008Z] provisioning config files... [2022-11-02T06:52:59.015Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config4806347324528513627tmp [Pipeline] { [Pipeline] echo [2022-11-02T06:52:59.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:59.309Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T06:52:59.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:59.634Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T06:52:59.642Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:52:59.926Z] ---> sudo-logs.sh [2022-11-02T06:52:59.926Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T06:52:59.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:53:00.239Z] ---> job-cost.sh [2022-11-02T06:53:00.239Z] lf-activate-venv: SKIPPING [2022-11-02T06:53:00.239Z] DEBUG: total: 0.2199999988079071 [2022-11-02T06:53:00.239Z] INFO: Retrieving Stack Cost... [2022-11-02T06:53:00.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T06:53:01.065Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T06:53:01.076Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T06:53:01.357Z] ---> logs-deploy.sh [2022-11-02T06:53:01.357Z] lf-activate-venv: SKIPPING [2022-11-02T06:53:01.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/5 [2022-11-02T06:53:01.357Z] INFO: archiving workspace using pattern(s): [2022-11-02T06:53:02.294Z] Archives upload complete. [2022-11-02T06:53:02.294Z] INFO: archiving logs to Nexus