Pull request #1252 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fe214e273ee57afb55811828a0c299617b9a5849+8250e301d92a025f83865f5663963929d81085da (52c75a0806ee03dbb0999c8c32f466c445ebe4c1) 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-ssh16079989725025467772.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-ssh14822990454062440887.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-1252/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-1252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2486613222533368806.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-ssh13360787963361345285.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-1252/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-1252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh873476718742990162.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 ‘prd-ubuntu20.04-docker-8c-8g-117743’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117745 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [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-1252 # 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/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit fe214e273ee57afb55811828a0c299617b9a5849 Merge succeeded, producing 5bba170451d0dce67eb273271a2ef719c3573c6c Checking out Revision 5bba170451d0dce67eb273271a2ef719c3573c6c (PR-1252) > git config core.sparsecheckout # timeout=10 > git checkout -f fe214e273ee57afb55811828a0c299617b9a5849 # 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 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bba170451d0dce67eb273271a2ef719c3573c6c # timeout=10 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-01T17:24:32.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-01T17:24:33.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-01T17:24:33.047Z] ========================================================= [2022-11-01T17:24:33.047Z] EdgeX Global Pipelines Version Info [2022-11-01T17:24:33.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:24:33.781Z] ------------------- [2022-11-01T17:24:33.781Z] stable info: [2022-11-01T17:24:33.781Z] ------------------- [2022-11-01T17:24:33.781Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-01T17:24:33.781Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-01T17:24:33.781Z] Message: update stable to v1.0.243 > git rev-list --no-walk 53c794fe567d8de765249db7322f4c53eed1de5b # timeout=10 [2022-11-01T17:24:34.350Z] ------------------- [2022-11-01T17:24:34.350Z] experimental info: [2022-11-01T17:24:34.350Z] ------------------- [2022-11-01T17:24:34.350Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-01T17:24:34.350Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-11-01T17:24:34.350Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-01T17:24:34.516Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-01T17:24:34.524Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-01T17:24:34.533Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-01T17:24:34.541Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-01T17:24:34.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-01T17:24:34.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-01T17:24:34.565Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-01T17:24:34.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-01T17:24:34.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-01T17:24:34.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-01T17:24:34.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-01T17:24:34.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-01T17:24:34.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-01T17:24:34.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-01T17:24:34.664Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-01T17:24:34.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:24:34.690Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:24:34.708Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-01T17:24:34.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-01T17:24:34.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-01T17:24:34.744Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-01T17:24:34.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-01T17:24:34.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-01T17:24:34.788Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-01T17:24:34.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-01T17:24:34.811Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-01T17:24:34.822Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-01T17:24:34.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1252 [Pipeline] echo [2022-11-01T17:24:34.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1252 [Pipeline] echo [2022-11-01T17:24:34.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1252 [Pipeline] echo [2022-11-01T17:24:34.869Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo [2022-11-01T17:24:34.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bba170 [Pipeline] echo [2022-11-01T17:24:34.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-01T17:24:34.932Z] provisioning config files... [2022-11-01T17:24:34.944Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config1928847855987222555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:24:35.243Z] ---> docker-login.sh [2022-11-01T17:24:35.243Z] nexus3.edgexfoundry.org:10001 [2022-11-01T17:24:35.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:35.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:35.503Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:35.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:35.503Z] [2022-11-01T17:24:35.503Z] Login Succeeded [2022-11-01T17:24:35.503Z] nexus3.edgexfoundry.org:10002 [2022-11-01T17:24:35.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:35.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:35.503Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:35.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:35.503Z] [2022-11-01T17:24:35.503Z] Login Succeeded [2022-11-01T17:24:35.503Z] nexus3.edgexfoundry.org:10003 [2022-11-01T17:24:35.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:35.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:35.768Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:35.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:35.768Z] [2022-11-01T17:24:35.768Z] Login Succeeded [2022-11-01T17:24:35.768Z] nexus3.edgexfoundry.org:10004 [2022-11-01T17:24:35.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:35.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:35.768Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:35.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:35.768Z] [2022-11-01T17:24:35.768Z] Login Succeeded [2022-11-01T17:24:35.768Z] docker.io [2022-11-01T17:24:36.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:36.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:36.287Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:36.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:36.287Z] [2022-11-01T17:24:36.287Z] Login Succeeded [2022-11-01T17:24:36.287Z] ---> docker-login.sh ends [Pipeline] } [2022-11-01T17:24:36.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-01T17:24:36.651Z] + git rev-list -1 --merges 5bba170451d0dce67eb273271a2ef719c3573c6c~1..5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo [2022-11-01T17:24:36.682Z] -----------> git rev-list -1 --merges 5bba170451d0dce67eb273271a2ef719c3573c6c~1..5bba170451d0dce67eb273271a2ef719c3573c6c 5bba170451d0dce67eb273271a2ef719c3573c6c [2022-11-01T17:24:36.682Z] 5bba170451d0dce67eb273271a2ef719c3573c6c [false] [Pipeline] sh [2022-11-01T17:24:36.970Z] + git log --format=format:%s -1 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo [2022-11-01T17:24:36.983Z] ========================================================= [2022-11-01T17:24:36.983Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-01T17:24:36.983Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-01T17:24:37.293Z] + git log --format=format:%s -1 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo [2022-11-01T17:24:37.304Z] [semverPrep] GIT_COMMIT: 5bba170451d0dce67eb273271a2ef719c3573c6c, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo [2022-11-01T17:24:37.312Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-01T17:24:37.648Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-01T17:24:37.648Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-01T17:24:37.648Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-01T17:24:37.648Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-01T17:24:37.648Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-01T17:24:37.648Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-01T17:24:37.648Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:24:37.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:24:37.994Z] [2022-11-01T17:24:37.994Z] 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-01T17:24:38.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:24:38.296Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-01T17:24:38.296Z] b85a868b505f: Pulling fs layer [2022-11-01T17:24:38.296Z] e2be974225ed: Pulling fs layer [2022-11-01T17:24:38.296Z] 339a4e72a1f5: Pulling fs layer [2022-11-01T17:24:38.296Z] 988bab9f4d93: Pulling fs layer [2022-11-01T17:24:38.296Z] 1469e6f7b9e6: Pulling fs layer [2022-11-01T17:24:38.296Z] eaf3925da568: Pulling fs layer [2022-11-01T17:24:38.296Z] bab4dde63d76: Pulling fs layer [2022-11-01T17:24:38.296Z] bde34c3a00c8: Pulling fs layer [2022-11-01T17:24:38.296Z] b352a97aabf1: Pulling fs layer [2022-11-01T17:24:38.296Z] 4872d77fe225: Pulling fs layer [2022-11-01T17:24:38.296Z] 5851b861e8e6: Pulling fs layer [2022-11-01T17:24:38.296Z] bab4dde63d76: Waiting [2022-11-01T17:24:38.296Z] bde34c3a00c8: Waiting [2022-11-01T17:24:38.296Z] 5851b861e8e6: Waiting [2022-11-01T17:24:38.296Z] b352a97aabf1: Waiting [2022-11-01T17:24:38.296Z] 4872d77fe225: Waiting [2022-11-01T17:24:38.296Z] 988bab9f4d93: Waiting [2022-11-01T17:24:38.296Z] 1469e6f7b9e6: Waiting [2022-11-01T17:24:38.296Z] eaf3925da568: Waiting [2022-11-01T17:24:38.296Z] e2be974225ed: Verifying Checksum [2022-11-01T17:24:38.296Z] e2be974225ed: Download complete [2022-11-01T17:24:38.296Z] 988bab9f4d93: Verifying Checksum [2022-11-01T17:24:38.296Z] 988bab9f4d93: Download complete [2022-11-01T17:24:38.567Z] 1469e6f7b9e6: Verifying Checksum [2022-11-01T17:24:38.567Z] 1469e6f7b9e6: Download complete [2022-11-01T17:24:38.567Z] eaf3925da568: Verifying Checksum [2022-11-01T17:24:38.567Z] eaf3925da568: Download complete [2022-11-01T17:24:38.567Z] 339a4e72a1f5: Verifying Checksum [2022-11-01T17:24:38.567Z] 339a4e72a1f5: Download complete [2022-11-01T17:24:38.567Z] bde34c3a00c8: Verifying Checksum [2022-11-01T17:24:38.567Z] bde34c3a00c8: Download complete [2022-11-01T17:24:38.567Z] b352a97aabf1: Download complete [2022-11-01T17:24:38.567Z] 4872d77fe225: Download complete [2022-11-01T17:24:38.567Z] 5851b861e8e6: Download complete [2022-11-01T17:24:38.567Z] b85a868b505f: Verifying Checksum [2022-11-01T17:24:38.567Z] b85a868b505f: Download complete [2022-11-01T17:24:38.826Z] bab4dde63d76: Verifying Checksum [2022-11-01T17:24:38.826Z] bab4dde63d76: Download complete [2022-11-01T17:24:40.203Z] b85a868b505f: Pull complete [2022-11-01T17:24:40.203Z] e2be974225ed: Pull complete [2022-11-01T17:24:40.774Z] 339a4e72a1f5: Pull complete [2022-11-01T17:24:40.774Z] 988bab9f4d93: Pull complete [2022-11-01T17:24:41.032Z] 1469e6f7b9e6: Pull complete [2022-11-01T17:24:41.032Z] eaf3925da568: Pull complete [2022-11-01T17:24:42.974Z] bab4dde63d76: Pull complete [2022-11-01T17:24:42.974Z] bde34c3a00c8: Pull complete [2022-11-01T17:24:42.974Z] b352a97aabf1: Pull complete [2022-11-01T17:24:43.234Z] 4872d77fe225: Pull complete [2022-11-01T17:24:43.234Z] 5851b861e8e6: Pull complete [2022-11-01T17:24:43.234Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-01T17:24:43.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-01T17:24:43.234Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:24:43.323Z] prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container [2022-11-01T17:24:43.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-01T17:24:45.624Z] $ docker top 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 -eo pid,comm [2022-11-01T17:24:45.687Z] 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-01T17:24:45.687Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-01T17:24:45.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-01T17:24:45.720Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-01T17:24:45.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-01T17:24:45.828Z] $ docker exec 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent [2022-11-01T17:24:45.953Z] SSH_AUTH_SOCK=/tmp/ssh-QJTMjMCpPO7P/agent.33 [2022-11-01T17:24:45.953Z] SSH_AGENT_PID=39 [2022-11-01T17:24:45.960Z] Running ssh-add (command line suppressed) [2022-11-01T17:24:46.042Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_2138615059124549391.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_2138615059124549391.key) [2022-11-01T17:24:46.069Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-01T17:24:46.357Z] + git tag --points-at HEAD [Pipeline] } [2022-11-01T17:24:46.361Z] $ docker exec --env ******** --env ******** 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent -k [2022-11-01T17:24:46.457Z] unset SSH_AUTH_SOCK; [2022-11-01T17:24:46.458Z] unset SSH_AGENT_PID; [2022-11-01T17:24:46.458Z] echo Agent pid 39 killed; [2022-11-01T17:24:46.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-01T17:24:46.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-01T17:24:46.505Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-01T17:24:46.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-01T17:24:46.609Z] $ docker exec 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent [2022-11-01T17:24:46.736Z] SSH_AUTH_SOCK=/tmp/ssh-ExCG285iv6qd/agent.72 [2022-11-01T17:24:46.736Z] SSH_AGENT_PID=78 [2022-11-01T17:24:46.741Z] Running ssh-add (command line suppressed) [2022-11-01T17:24:46.835Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_12501481611910383080.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_12501481611910383080.key) [2022-11-01T17:24:46.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-01T17:24:47.149Z] + git semver init [2022-11-01T17:24:47.408Z] 2022-11-01 17:24:47,331 [run_init] DEBUG init version:0.0.0 force:False [2022-11-01T17:24:47.408Z] 2022-11-01 17:24:47,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver [2022-11-01T17:24:47.408Z] 2022-11-01 17:24:47,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver [2022-11-01T17:24:47.408Z] 2022-11-01 17:24:47,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252, universal_newlines=False, shell=None, istream=None) [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,340 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.git/info/exclude [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 with force:False [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,341 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,346 [execute] INFO git cat-file --batch-check [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,354 [execute] INFO git cat-file --batch [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) [2022-11-01T17:24:48.795Z] 2022-11-01 17:24:48,361 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 [2022-11-01T17:24:48.795Z] 0.0.0 [Pipeline] } [2022-11-01T17:24:48.797Z] $ docker exec --env ******** --env ******** 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent -k [2022-11-01T17:24:48.905Z] unset SSH_AUTH_SOCK; [2022-11-01T17:24:48.906Z] unset SSH_AGENT_PID; [2022-11-01T17:24:48.906Z] echo Agent pid 78 killed; [2022-11-01T17:24:48.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-01T17:24:49.249Z] + git semver [Pipeline] } [2022-11-01T17:24:49.511Z] $ docker stop --time=1 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 [2022-11-01T17:24:50.796Z] $ docker rm -f 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-01T17:24:51.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-01T17:24:51.325Z] Stashed 1 file(s) [Pipeline] echo [2022-11-01T17:24:51.328Z] [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-01T17:24:51.435Z] provisioning config files... [2022-11-01T17:24:51.444Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config17151397925583240196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:24:51.741Z] ---> docker-login.sh [2022-11-01T17:24:51.741Z] nexus3.edgexfoundry.org:10001 [2022-11-01T17:24:51.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:51.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:51.741Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:51.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:51.741Z] [2022-11-01T17:24:51.741Z] Login Succeeded [2022-11-01T17:24:51.741Z] nexus3.edgexfoundry.org:10002 [2022-11-01T17:24:51.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:51.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:51.741Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:51.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:51.741Z] [2022-11-01T17:24:51.741Z] Login Succeeded [2022-11-01T17:24:51.741Z] nexus3.edgexfoundry.org:10003 [2022-11-01T17:24:52.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:52.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:52.000Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:52.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:52.000Z] [2022-11-01T17:24:52.000Z] Login Succeeded [2022-11-01T17:24:52.000Z] nexus3.edgexfoundry.org:10004 [2022-11-01T17:24:52.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:52.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:52.000Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:52.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:52.000Z] [2022-11-01T17:24:52.000Z] Login Succeeded [2022-11-01T17:24:52.000Z] docker.io [2022-11-01T17:24:52.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:24:52.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:24:52.519Z] Configure a credential helper to remove this warning. See [2022-11-01T17:24:52.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:24:52.519Z] [2022-11-01T17:24:52.519Z] Login Succeeded [2022-11-01T17:24:52.519Z] ---> docker-login.sh ends [Pipeline] } [2022-11-01T17:24:52.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-01T17:24:52.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:24:52.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:24:52.596Z] ========================================================= [2022-11-01T17:24:52.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-01T17:24:52.596Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:24:52.907Z] + 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-01T17:24:52.907Z] Sending build context to Docker daemon 10.11MB [2022-11-01T17:24:52.907Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:24:52.907Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-01T17:24:52.907Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-01T17:24:52.907Z] 213ec9aee27d: Pulling fs layer [2022-11-01T17:24:52.907Z] 4583459ba037: Pulling fs layer [2022-11-01T17:24:52.907Z] 93c1e223e6f2: Pulling fs layer [2022-11-01T17:24:52.907Z] 53926ce57604: Pulling fs layer [2022-11-01T17:24:52.907Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-01T17:24:52.907Z] 30f14e443154: Pulling fs layer [2022-11-01T17:24:52.907Z] 801331c1e519: Pulling fs layer [2022-11-01T17:24:52.907Z] 99cc6dd402b0: Pulling fs layer [2022-11-01T17:24:52.908Z] 7d9ed39f4882: Pulling fs layer [2022-11-01T17:24:52.908Z] 21b2b0c7a3f4: Waiting [2022-11-01T17:24:52.908Z] 30f14e443154: Waiting [2022-11-01T17:24:52.908Z] 801331c1e519: Waiting [2022-11-01T17:24:52.908Z] 7d9ed39f4882: Waiting [2022-11-01T17:24:52.908Z] 53926ce57604: Waiting [2022-11-01T17:24:52.908Z] 99cc6dd402b0: Waiting [2022-11-01T17:24:53.168Z] 93c1e223e6f2: Download complete [2022-11-01T17:24:53.168Z] 4583459ba037: Verifying Checksum [2022-11-01T17:24:53.168Z] 4583459ba037: Download complete [2022-11-01T17:24:53.168Z] 21b2b0c7a3f4: Download complete [2022-11-01T17:24:53.168Z] 30f14e443154: Download complete [2022-11-01T17:24:53.168Z] 213ec9aee27d: Verifying Checksum [2022-11-01T17:24:53.168Z] 213ec9aee27d: Download complete [2022-11-01T17:24:53.168Z] 801331c1e519: Verifying Checksum [2022-11-01T17:24:53.168Z] 801331c1e519: Download complete [2022-11-01T17:24:53.428Z] 213ec9aee27d: Pull complete [2022-11-01T17:24:53.428Z] 4583459ba037: Pull complete [2022-11-01T17:24:53.428Z] 93c1e223e6f2: Pull complete [2022-11-01T17:24:53.687Z] 7d9ed39f4882: Verifying Checksum [2022-11-01T17:24:53.687Z] 7d9ed39f4882: Download complete [2022-11-01T17:24:53.687Z] 99cc6dd402b0: Verifying Checksum [2022-11-01T17:24:53.687Z] 99cc6dd402b0: Download complete [2022-11-01T17:24:53.946Z] 53926ce57604: Verifying Checksum [2022-11-01T17:24:53.946Z] 53926ce57604: Download complete [2022-11-01T17:24:58.129Z] 53926ce57604: Pull complete [2022-11-01T17:24:58.129Z] 21b2b0c7a3f4: Pull complete [2022-11-01T17:24:58.129Z] 30f14e443154: Pull complete [2022-11-01T17:24:58.129Z] 801331c1e519: Pull complete [2022-11-01T17:25:00.037Z] 99cc6dd402b0: Pull complete [2022-11-01T17:25:00.981Z] 7d9ed39f4882: Pull complete [2022-11-01T17:25:00.981Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-11-01T17:25:00.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-01T17:25:00.981Z] ---> 1dedd983c030 [2022-11-01T17:25:00.981Z] Step 3/10 : ARG MAKE=make build [2022-11-01T17:25:05.185Z] ---> Running in 6114ab737aa7 [2022-11-01T17:25:05.185Z] Removing intermediate container 6114ab737aa7 [2022-11-01T17:25:05.185Z] ---> a7b7b060ced4 [2022-11-01T17:25:05.185Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-01T17:25:05.185Z] ---> Running in 2590ff7e1355 [2022-11-01T17:25:05.185Z] Removing intermediate container 2590ff7e1355 [2022-11-01T17:25:05.185Z] ---> 10bf24fb3d31 [2022-11-01T17:25:05.185Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:25:05.185Z] ---> Running in 54a73114f319 [2022-11-01T17:25:05.185Z] Removing intermediate container 54a73114f319 [2022-11-01T17:25:05.185Z] ---> f8873c802643 [2022-11-01T17:25:05.185Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:25:05.185Z] ---> Running in 12771243e2a0 [2022-11-01T17:25:05.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:25:05.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:25:05.444Z] OK: 211 MiB in 51 packages [2022-11-01T17:25:05.702Z] Removing intermediate container 12771243e2a0 [2022-11-01T17:25:05.702Z] ---> a4d9e2fce03f [2022-11-01T17:25:05.702Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-01T17:25:05.961Z] ---> 1465f396fd4a [2022-11-01T17:25:05.961Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:25:05.961Z] ---> Running in bdad01fdabef [2022-11-01T17:25:06.408Z] Still waiting to schedule task [2022-11-01T17:25:06.408Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117744’ is offline [2022-11-01T17:25:27.906Z] Removing intermediate container bdad01fdabef [2022-11-01T17:25:27.906Z] ---> e4a7c7016c00 [2022-11-01T17:25:27.906Z] Step 9/10 : COPY . . [2022-11-01T17:25:27.906Z] ---> e6cef89ed881 [2022-11-01T17:25:27.906Z] Step 10/10 : RUN ${MAKE} [2022-11-01T17:25:27.906Z] ---> Running in 5847288e231c [2022-11-01T17:25:27.906Z] noop [2022-11-01T17:25:27.906Z] Removing intermediate container 5847288e231c [2022-11-01T17:25:27.906Z] ---> 91741fac9c9d [2022-11-01T17:25:27.906Z] Successfully built 91741fac9c9d [2022-11-01T17:25:27.906Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:25:28.209Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-01T17:25:28.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:25:28.271Z] prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container [2022-11-01T17:25:28.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-01T17:25:28.659Z] $ docker top 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:25:28.999Z] + go version [2022-11-01T17:25:28.999Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-01T17:25:29.017Z] $ docker stop --time=1 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d [2022-11-01T17:25:30.295Z] $ docker rm -f 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:25:30.681Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-01T17:25:30.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:25:30.746Z] prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container [2022-11-01T17:25:30.781Z] $ 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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-01T17:25:31.133Z] $ docker top fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:25:31.477Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] fileExists [Pipeline] sh [2022-11-01T17:25:31.774Z] + make test [2022-11-01T17:25:31.774Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-01T17:25:38.339Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 73.1% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-01T17:25:53.227Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.7% of statements [2022-11-01T17:25:53.227Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-01T17:26:11.317Z] 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-01T17:26:11.317Z] GO111MODULE=on go vet ./... [2022-11-01T17:26:13.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-01T17:26:13.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-01T17:26:13.216Z] ./bin/test-attribution-txt.sh [2022-11-01T17:26:13.216Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-01T17:26:13.216Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-01T17:26:13.216Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-01T17:26:13.216Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-01T17:26:13.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-01T17:26:13.247Z] $ docker stop --time=1 fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d [2022-11-01T17:26:16.443Z] $ docker rm -f fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-01T17:26:16.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-01T17:26:16.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-01T17:26:17.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-01T17:26:17.678Z] + ls -al . [2022-11-01T17:26:17.678Z] total 280 [2022-11-01T17:26:17.678Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:25 . [2022-11-01T17:26:17.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:24 .. [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:24 .dockerignore [2022-11-01T17:26:17.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:25 .git [2022-11-01T17:26:17.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:24 .github [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:24 .gitignore [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:24 .golangci.yml [2022-11-01T17:26:17.678Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:24 .semver [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 1 17:24 CHANGELOG.md [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:24 GOVERNANCE.md [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:24 Jenkinsfile [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:24 LICENSE [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:24 Makefile [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:24 OWNERS.md [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:24 README.md [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:24 VERSION [2022-11-01T17:26:17.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:24 bin [2022-11-01T17:26:17.678Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 1 17:25 coverage.out [2022-11-01T17:26:17.678Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:24 example [2022-11-01T17:26:17.678Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:24 go.mod [2022-11-01T17:26:17.679Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:24 go.sum [2022-11-01T17:26:17.679Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:24 internal [2022-11-01T17:26:17.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:24 openapi [2022-11-01T17:26:17.679Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:24 pkg [2022-11-01T17:26:17.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:24 snap [2022-11-01T17:26:17.679Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:26:18.013Z] + 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=5bba170451d0dce67eb273271a2ef719c3573c6c --label arch=amd64 --label version=0.0.0 . [2022-11-01T17:26:18.013Z] Sending build context to Docker daemon 10.21MB [2022-11-01T17:26:18.013Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:26:18.013Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-01T17:26:18.013Z] ---> 91741fac9c9d [2022-11-01T17:26:18.014Z] Step 3/23 : ARG MAKE=make build [2022-11-01T17:26:18.271Z] ---> Running in 09111cfd703d [2022-11-01T17:26:18.271Z] Removing intermediate container 09111cfd703d [2022-11-01T17:26:18.271Z] ---> c6dda4804208 [2022-11-01T17:26:18.271Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-01T17:26:18.271Z] ---> Running in bd90a6bc7103 [2022-11-01T17:26:18.271Z] Removing intermediate container bd90a6bc7103 [2022-11-01T17:26:18.271Z] ---> 807a257fdffb [2022-11-01T17:26:18.271Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:26:18.532Z] ---> Running in 9fc384bff5bd [2022-11-01T17:26:18.532Z] Removing intermediate container 9fc384bff5bd [2022-11-01T17:26:18.532Z] ---> 61191147f331 [2022-11-01T17:26:18.532Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:26:18.532Z] ---> Running in 216bc370b148 [2022-11-01T17:26:18.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:26:18.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:26:19.049Z] OK: 211 MiB in 51 packages [2022-11-01T17:26:19.308Z] Removing intermediate container 216bc370b148 [2022-11-01T17:26:19.308Z] ---> 9443bcf37008 [2022-11-01T17:26:19.308Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-01T17:26:19.565Z] ---> 41480fe8461b [2022-11-01T17:26:19.565Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:26:19.565Z] ---> Running in 97e5ec49a815 [2022-11-01T17:26:20.133Z] Removing intermediate container 97e5ec49a815 [2022-11-01T17:26:20.133Z] ---> ef9771df3e3d [2022-11-01T17:26:20.133Z] Step 9/23 : COPY . . [2022-11-01T17:26:20.712Z] ---> 6bfe3656e080 [2022-11-01T17:26:20.712Z] Step 10/23 : RUN ${MAKE} [2022-11-01T17:26:20.712Z] ---> Running in aa676f5dd6eb [2022-11-01T17:26:20.971Z] 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-01T17:26:35.084Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117746 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] { [Pipeline] ws [2022-11-01T17:26:35.095Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-11-01T17:26:35.119Z] The recommended git tool is: git [2022-11-01T17:26:39.052Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-01T17:26:39.569Z] using credential edgex-jenkins-ssh [2022-11-01T17:26:39.589Z] Cloning the remote Git repository [2022-11-01T17:26:39.626Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:26:39.692Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-11-01T17:26:39.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:26:39.820Z] > git --version # timeout=10 [2022-11-01T17:26:39.843Z] > git --version # 'git version 2.25.1' [2022-11-01T17:26:39.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-01T17:26:39.889Z] Verifying host key using known hosts file [2022-11-01T17:26:40.074Z] 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-01T17:26:40.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-01T17:26:41.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-01T17:26:41.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-01T17:26:42.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-01T17:26:43.215Z] Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit fe214e273ee57afb55811828a0c299617b9a5849 [2022-11-01T17:26:43.249Z] Removing intermediate container aa676f5dd6eb [2022-11-01T17:26:43.249Z] ---> d8166c9bfdd7 [2022-11-01T17:26:43.249Z] Step 11/23 : FROM alpine:3.16 [2022-11-01T17:26:43.249Z] 3.16: Pulling from library/alpine [2022-11-01T17:26:43.249Z] 213ec9aee27d: Already exists [2022-11-01T17:26:43.507Z] Merge succeeded, producing 0d8540a62ee72219f1fc71b10188107ac82e8b69 [2022-11-01T17:26:43.508Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-01T17:26:43.508Z] Status: Downloaded newer image for alpine:3.16 [2022-11-01T17:26:43.508Z] ---> 9c6f07244728 [2022-11-01T17:26:43.508Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:26:43.508Z] ---> Running in ea244e361149 [2022-11-01T17:26:43.508Z] Removing intermediate container ea244e361149 [2022-11-01T17:26:43.508Z] ---> 3b2565e212fd [2022-11-01T17:26:43.508Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-01T17:26:43.508Z] ---> Running in dcce81e874e3 [2022-11-01T17:26:43.508Z] Checking out Revision 0d8540a62ee72219f1fc71b10188107ac82e8b69 (PR-1252) [2022-11-01T17:26:42.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-01T17:26:42.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-01T17:26:42.498Z] Verifying host key using known hosts file [2022-11-01T17:26:42.504Z] 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-01T17:26:42.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-01T17:26:43.231Z] > git config core.sparsecheckout # timeout=10 [2022-11-01T17:26:43.247Z] > git checkout -f fe214e273ee57afb55811828a0c299617b9a5849 # timeout=10 [2022-11-01T17:26:43.351Z] > git remote # timeout=10 [2022-11-01T17:26:43.367Z] > git config --get remote.origin.url # timeout=10 [2022-11-01T17:26:43.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-01T17:26:43.383Z] Verifying host key using known hosts file [2022-11-01T17:26:43.386Z] 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-01T17:26:43.396Z] > git merge 8250e301d92a025f83865f5663963929d81085da # timeout=10 [2022-11-01T17:26:43.482Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-01T17:26:43.511Z] > git config core.sparsecheckout # timeout=10 [2022-11-01T17:26:43.525Z] > git checkout -f 0d8540a62ee72219f1fc71b10188107ac82e8b69 # timeout=10 [2022-11-01T17:26:44.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-01T17:26:44.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-01T17:26:44.076Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-01T17:26:44.076Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-01T17:26:44.334Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-01T17:26:44.334Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-01T17:26:44.334Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-01T17:26:44.334Z] Executing busybox-1.35.0-r17.trigger [2022-11-01T17:26:44.334Z] OK: 8 MiB in 19 packages [2022-11-01T17:26:44.593Z] Removing intermediate container dcce81e874e3 [2022-11-01T17:26:44.593Z] ---> 706a77dfa1df [2022-11-01T17:26:44.593Z] Step 14/23 : WORKDIR / [2022-11-01T17:26:44.593Z] ---> Running in c80fd70c73fa [2022-11-01T17:26:44.852Z] Removing intermediate container c80fd70c73fa [2022-11-01T17:26:44.852Z] ---> af6dc3208531 [2022-11-01T17:26:44.852Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-01T17:26:44.852Z] ---> c3342b69a2c2 [2022-11-01T17:26:44.852Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-01T17:26:45.791Z] ---> 2eba8499b505 [2022-11-01T17:26:45.791Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-01T17:26:45.791Z] ---> f0edbd9b9c9f [2022-11-01T17:26:45.791Z] Step 18/23 : EXPOSE 59999 [2022-11-01T17:26:45.791Z] ---> Running in b99658cf08e7 [2022-11-01T17:26:46.050Z] Removing intermediate container b99658cf08e7 [2022-11-01T17:26:46.050Z] ---> 746f366b8239 [2022-11-01T17:26:46.050Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-01T17:26:46.050Z] ---> Running in 0f5e2c1e0136 [2022-11-01T17:26:46.050Z] Removing intermediate container 0f5e2c1e0136 [2022-11-01T17:26:46.050Z] ---> b53da5f9954a [2022-11-01T17:26:46.050Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-01T17:26:46.050Z] ---> Running in 82f31fb5c226 [2022-11-01T17:26:46.309Z] Removing intermediate container 82f31fb5c226 [2022-11-01T17:26:46.309Z] ---> 5c3a8440ef19 [2022-11-01T17:26:46.309Z] Step 21/23 : LABEL arch=amd64 [2022-11-01T17:26:46.309Z] ---> Running in d27c96ab62bf [2022-11-01T17:26:46.309Z] Removing intermediate container d27c96ab62bf [2022-11-01T17:26:46.309Z] ---> 4fd734339168 [2022-11-01T17:26:46.309Z] Step 22/23 : LABEL git_sha=5bba170451d0dce67eb273271a2ef719c3573c6c [2022-11-01T17:26:46.309Z] ---> Running in 837fa8c4043b [2022-11-01T17:26:46.309Z] Removing intermediate container 837fa8c4043b [2022-11-01T17:26:46.309Z] ---> 88241fb42427 [2022-11-01T17:26:46.309Z] Step 23/23 : LABEL version=0.0.0 [2022-11-01T17:26:46.568Z] ---> Running in 8da9a03f93d0 [2022-11-01T17:26:46.568Z] Removing intermediate container 8da9a03f93d0 [2022-11-01T17:26:46.568Z] ---> 42b287b8f152 [2022-11-01T17:26:46.568Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-01T17:26:46.568Z] Successfully built 42b287b8f152 [2022-11-01T17:26:46.568Z] 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-01T17:26:46.992Z] Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" [2022-11-01T17:26:46.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:26:46.996Z] [2022-11-01T17:26:46.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:26:47.017Z] First time build. Skipping changelog. [2022-11-01T17:26:47.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:26:47.292Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-01T17:26:47.292Z] 5eb5b503b376: Pulling fs layer [2022-11-01T17:26:47.292Z] 5c69ac0246d0: Pulling fs layer [2022-11-01T17:26:47.292Z] ec43610c2a17: Pulling fs layer [2022-11-01T17:26:47.292Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-01T17:26:47.292Z] 33b1e0a273af: Pulling fs layer [2022-11-01T17:26:47.292Z] 5d3b04190fa2: Pulling fs layer [2022-11-01T17:26:47.292Z] 2f39f015ded8: Pulling fs layer [2022-11-01T17:26:47.292Z] 3a2ae6a8a46f: Waiting [2022-11-01T17:26:47.292Z] 2f39f015ded8: Waiting [2022-11-01T17:26:47.292Z] 33b1e0a273af: Waiting [2022-11-01T17:26:47.292Z] 5d3b04190fa2: Waiting [2022-11-01T17:26:47.292Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-01T17:26:47.292Z] 3a2ae6a8a46f: Download complete [2022-11-01T17:26:47.292Z] 33b1e0a273af: Verifying Checksum [2022-11-01T17:26:47.292Z] 33b1e0a273af: Download complete [2022-11-01T17:26:47.292Z] ec43610c2a17: Verifying Checksum [2022-11-01T17:26:47.292Z] ec43610c2a17: Download complete [2022-11-01T17:26:47.292Z] 5d3b04190fa2: Verifying Checksum [2022-11-01T17:26:47.292Z] 5d3b04190fa2: Download complete [2022-11-01T17:26:47.413Z] [2022-11-01T17:26:47.413Z] GitHub has been notified of this commit’s build result [2022-11-01T17:26:47.413Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-01T17:26:47.550Z] 5eb5b503b376: Verifying Checksum [2022-11-01T17:26:47.551Z] 5eb5b503b376: Download complete [2022-11-01T17:26:47.915Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-01T17:26:47.915Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-01T17:26:47.915Z] Dload Upload Total Spent Left Speed [2022-11-01T17:26:47.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88746 0 --:--:-- --:--:-- --:--:-- 88746 [2022-11-01T17:26:48.118Z] 2f39f015ded8: Download complete [2022-11-01T17:26:46.998Z] > git rev-list --no-walk 53c794fe567d8de765249db7322f4c53eed1de5b # timeout=10 [Pipeline] sh [2022-11-01T17:26:48.609Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-01T17:26:48.682Z] 5eb5b503b376: Pull complete [2022-11-01T17:26:48.931Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-01T17:26:48.931Z] + sudo tee /etc/docker/daemon.new [2022-11-01T17:26:48.931Z] { [2022-11-01T17:26:48.931Z] "registry-mirrors": [ [2022-11-01T17:26:48.931Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-01T17:26:48.931Z] ], [2022-11-01T17:26:48.931Z] "bip": "10.250.0.254/24", [2022-11-01T17:26:48.931Z] "hosts": [ [2022-11-01T17:26:48.931Z] "tcp://0.0.0.0:5555", [2022-11-01T17:26:48.931Z] "unix:///var/run/docker.sock" [2022-11-01T17:26:48.931Z] ], [2022-11-01T17:26:48.931Z] "mtu": 1458, [2022-11-01T17:26:48.931Z] "selinux-enabled": true, [2022-11-01T17:26:48.931Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-01T17:26:48.931Z] } [2022-11-01T17:26:48.940Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2022-11-01T17:26:49.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-01T17:26:49.506Z] ec43610c2a17: Pull complete [2022-11-01T17:26:49.506Z] 3a2ae6a8a46f: Pull complete [2022-11-01T17:26:49.573Z] + sudo service docker restart [2022-11-01T17:26:49.764Z] 33b1e0a273af: Pull complete [2022-11-01T17:26:49.764Z] 5d3b04190fa2: Pull complete [2022-11-01T17:26:55.030Z] 2f39f015ded8: Pull complete [2022-11-01T17:26:55.030Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-01T17:26:55.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:26:55.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:26:55.114Z] prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container [2022-11-01T17:26:55.152Z] $ 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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-01T17:26:58.733Z] $ docker top d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:26:59.157Z] ---> job-cost.sh [2022-11-01T17:26:59.157Z] lf-activate-venv: SKIPPING [2022-11-01T17:26:59.157Z] INFO: No Stack... [2022-11-01T17:26:59.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-01T17:26:59.675Z] INFO: Archiving Costs [Pipeline] sh [2022-11-01T17:26:59.962Z] + cut -d, -f6 [2022-11-01T17:26:59.962Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/cost.csv [Pipeline] lock [2022-11-01T17:26:59.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [2022-11-01T17:26:59.980Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] did not exist. Created. [2022-11-01T17:26:59.981Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-01T17:27:00.290Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-01T17:27:00.326Z] Stashed 1 file(s) [Pipeline] } [2022-11-01T17:27:00.332Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-01T17:27:00.357Z] $ docker stop --time=1 d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc [2022-11-01T17:27:01.510Z] $ docker rm -f d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-01T17:27:07.829Z] provisioning config files... [2022-11-01T17:27:07.854Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17534897755114528581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:27:08.201Z] ---> docker-login.sh [2022-11-01T17:27:08.201Z] nexus3.edgexfoundry.org:10001 [2022-11-01T17:27:08.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:27:08.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:27:08.797Z] Configure a credential helper to remove this warning. See [2022-11-01T17:27:08.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:27:08.797Z] [2022-11-01T17:27:08.797Z] Login Succeeded [2022-11-01T17:27:08.797Z] nexus3.edgexfoundry.org:10002 [2022-11-01T17:27:09.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:27:09.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:27:09.066Z] Configure a credential helper to remove this warning. See [2022-11-01T17:27:09.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:27:09.066Z] [2022-11-01T17:27:09.066Z] Login Succeeded [2022-11-01T17:27:09.343Z] nexus3.edgexfoundry.org:10003 [2022-11-01T17:27:09.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:27:09.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:27:09.612Z] Configure a credential helper to remove this warning. See [2022-11-01T17:27:09.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:27:09.612Z] [2022-11-01T17:27:09.612Z] Login Succeeded [2022-11-01T17:27:09.612Z] nexus3.edgexfoundry.org:10004 [2022-11-01T17:27:09.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:27:09.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:27:09.888Z] Configure a credential helper to remove this warning. See [2022-11-01T17:27:09.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:27:09.888Z] [2022-11-01T17:27:09.888Z] Login Succeeded [2022-11-01T17:27:09.888Z] docker.io [2022-11-01T17:27:10.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-01T17:27:10.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-01T17:27:10.426Z] Configure a credential helper to remove this warning. See [2022-11-01T17:27:10.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-01T17:27:10.426Z] [2022-11-01T17:27:10.426Z] Login Succeeded [2022-11-01T17:27:10.693Z] ---> docker-login.sh ends [Pipeline] } [2022-11-01T17:27:10.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-01T17:27:10.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:27:10.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-01T17:27:10.885Z] ========================================================= [2022-11-01T17:27:10.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-01T17:27:10.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:27:11.239Z] + 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-01T17:27:11.507Z] Sending build context to Docker daemon 5.442MB [2022-11-01T17:27:11.507Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:27:11.507Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-01T17:27:11.779Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-01T17:27:11.779Z] 9b18e9b68314: Pulling fs layer [2022-11-01T17:27:11.779Z] d32db5db7311: Pulling fs layer [2022-11-01T17:27:11.779Z] d0c4b47475fc: Pulling fs layer [2022-11-01T17:27:11.779Z] 5831b945b038: Pulling fs layer [2022-11-01T17:27:11.779Z] 86bbec2aaacd: Pulling fs layer [2022-11-01T17:27:11.779Z] e10730c5d714: Pulling fs layer [2022-11-01T17:27:11.779Z] 5dd5c2283517: Pulling fs layer [2022-11-01T17:27:11.779Z] d5ac0230b979: Pulling fs layer [2022-11-01T17:27:11.779Z] 5831b945b038: Waiting [2022-11-01T17:27:11.779Z] 86bbec2aaacd: Waiting [2022-11-01T17:27:11.779Z] e10730c5d714: Waiting [2022-11-01T17:27:11.779Z] 5dd5c2283517: Waiting [2022-11-01T17:27:11.779Z] d5ac0230b979: Waiting [2022-11-01T17:27:11.779Z] d0c4b47475fc: Verifying Checksum [2022-11-01T17:27:11.779Z] d0c4b47475fc: Download complete [2022-11-01T17:27:11.779Z] d32db5db7311: Verifying Checksum [2022-11-01T17:27:11.779Z] d32db5db7311: Download complete [2022-11-01T17:27:11.779Z] 86bbec2aaacd: Download complete [2022-11-01T17:27:11.779Z] e10730c5d714: Verifying Checksum [2022-11-01T17:27:11.779Z] e10730c5d714: Download complete [2022-11-01T17:27:11.779Z] 9b18e9b68314: Verifying Checksum [2022-11-01T17:27:11.779Z] 9b18e9b68314: Download complete [2022-11-01T17:27:13.224Z] 9b18e9b68314: Pull complete [2022-11-01T17:27:13.224Z] d5ac0230b979: Verifying Checksum [2022-11-01T17:27:13.224Z] d5ac0230b979: Download complete [2022-11-01T17:27:13.500Z] d32db5db7311: Pull complete [2022-11-01T17:27:13.769Z] d0c4b47475fc: Pull complete [2022-11-01T17:27:14.359Z] 5dd5c2283517: Verifying Checksum [2022-11-01T17:27:14.359Z] 5dd5c2283517: Download complete [2022-11-01T17:27:14.945Z] 5831b945b038: Verifying Checksum [2022-11-01T17:27:14.945Z] 5831b945b038: Download complete [2022-11-01T17:27:27.291Z] 5831b945b038: Pull complete [2022-11-01T17:27:27.291Z] 86bbec2aaacd: Pull complete [2022-11-01T17:27:27.291Z] e10730c5d714: Pull complete [2022-11-01T17:27:32.645Z] 5dd5c2283517: Pull complete [2022-11-01T17:27:34.598Z] d5ac0230b979: Pull complete [2022-11-01T17:27:34.598Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-11-01T17:27:34.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-01T17:27:34.598Z] ---> 59b3b1a385d4 [2022-11-01T17:27:34.598Z] Step 3/10 : ARG MAKE=make build [2022-11-01T17:27:36.019Z] ---> Running in b28ebbb9f81b [2022-11-01T17:27:36.604Z] Removing intermediate container b28ebbb9f81b [2022-11-01T17:27:36.604Z] ---> cdbbe35754f8 [2022-11-01T17:27:36.604Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-01T17:27:36.604Z] ---> Running in 417437d6599d [2022-11-01T17:27:36.874Z] Removing intermediate container 417437d6599d [2022-11-01T17:27:36.874Z] ---> ae8bdd1ae092 [2022-11-01T17:27:36.874Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:27:36.874Z] ---> Running in c3937571d4b1 [2022-11-01T17:27:37.144Z] Removing intermediate container c3937571d4b1 [2022-11-01T17:27:37.144Z] ---> 9f1cd15d61b1 [2022-11-01T17:27:37.144Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:27:37.144Z] ---> Running in 99b8fb0f4d75 [2022-11-01T17:27:38.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-01T17:27:38.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-01T17:27:39.521Z] OK: 221 MiB in 51 packages [2022-11-01T17:27:40.486Z] Removing intermediate container 99b8fb0f4d75 [2022-11-01T17:27:40.486Z] ---> 028258f49e2e [2022-11-01T17:27:40.486Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-01T17:27:40.762Z] ---> c1e3918c4f8b [2022-11-01T17:27:40.762Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:27:41.031Z] ---> Running in aced0980bc10 [2022-11-01T17:28:37.439Z] Removing intermediate container aced0980bc10 [2022-11-01T17:28:37.439Z] ---> 60a58c7338cf [2022-11-01T17:28:37.439Z] Step 9/10 : COPY . . [2022-11-01T17:28:37.439Z] ---> 897bd34530b6 [2022-11-01T17:28:37.439Z] Step 10/10 : RUN ${MAKE} [2022-11-01T17:28:37.439Z] ---> Running in 2466d6de73f6 [2022-11-01T17:28:38.402Z] noop [2022-11-01T17:28:38.985Z] Removing intermediate container 2466d6de73f6 [2022-11-01T17:28:38.985Z] ---> a30a6a4dac5d [2022-11-01T17:28:38.985Z] Successfully built a30a6a4dac5d [2022-11-01T17:28:38.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:28:39.336Z] + docker inspect -f . ci-base-image-arm64 [2022-11-01T17:28:39.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:28:39.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container [2022-11-01T17:28:39.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-01T17:28:40.764Z] $ docker top 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:28:41.582Z] + go version [2022-11-01T17:28:41.582Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-01T17:28:41.600Z] $ docker stop --time=1 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a [2022-11-01T17:28:43.226Z] $ docker rm -f 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:28:43.779Z] + docker inspect -f . ci-base-image-arm64 [2022-11-01T17:28:43.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:28:43.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container [2022-11-01T17:28:44.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-01T17:28:46.368Z] $ docker top a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:28:47.185Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-11-01T17:28:47.516Z] + make test [2022-11-01T17:28:47.793Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-01T17:29:20.028Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-01T17:31:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-01T17:31:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-01T17:31:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-01T17:31:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-01T17:31:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-01T17:31:13.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.631s coverage: 27.6% of statements [2022-11-01T17:31:14.055Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.978s coverage: 78.9% of statements [2022-11-01T17:31:14.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-01T17:31:24.131Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.527s coverage: 73.1% of statements [2022-11-01T17:31:24.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-01T17:31:24.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-01T17:31:25.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.529s coverage: 54.4% of statements [2022-11-01T17:31:25.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-01T17:31:25.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-01T17:31:25.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-01T17:31:25.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-01T17:31:25.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.555s coverage: 65.1% of statements [2022-11-01T17:31:25.816Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-01T17:31:25.816Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-01T17:31:25.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.218s coverage: 89.2% of statements [2022-11-01T17:31:25.816Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-01T17:31:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements [2022-11-01T17:31:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-01T17:31:30.147Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-01T17:31:30.147Z] GO111MODULE=on go vet ./... [2022-11-01T17:33:06.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-01T17:33:06.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-01T17:33:06.806Z] ./bin/test-attribution-txt.sh [2022-11-01T17:33:06.806Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-01T17:33:06.806Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-01T17:33:06.806Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-01T17:33:06.806Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-01T17:33:06.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-01T17:33:06.833Z] $ docker stop --time=1 a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 [2022-11-01T17:33:08.638Z] $ docker rm -f a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-01T17:33:10.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-01T17:33:10.049Z] Warning: overwriting stash ‘coverage-report’ [2022-11-01T17:33:10.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-01T17:33:11.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-01T17:33:11.524Z] + ls -al . [2022-11-01T17:33:11.524Z] total 276 [2022-11-01T17:33:11.524Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 17:28 . [2022-11-01T17:33:11.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:26 .. [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:26 .dockerignore [2022-11-01T17:33:11.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:26 .git [2022-11-01T17:33:11.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:26 .github [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:26 .gitignore [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:26 .golangci.yml [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 1 17:26 CHANGELOG.md [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:26 GOVERNANCE.md [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:26 Jenkinsfile [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:26 LICENSE [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:26 Makefile [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:26 OWNERS.md [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:26 README.md [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:24 VERSION [2022-11-01T17:33:11.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:26 bin [2022-11-01T17:33:11.524Z] -rw-r--r-- 1 jenkins jenkins 101760 Nov 1 17:31 coverage.out [2022-11-01T17:33:11.524Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:26 example [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:26 go.mod [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:26 go.sum [2022-11-01T17:33:11.524Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:26 internal [2022-11-01T17:33:11.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:26 openapi [2022-11-01T17:33:11.524Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:26 pkg [2022-11-01T17:33:11.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:26 snap [2022-11-01T17:33:11.524Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:33:11.875Z] + 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=0d8540a62ee72219f1fc71b10188107ac82e8b69 --label arch=arm64 --label version=0.0.0 . [2022-11-01T17:33:12.144Z] Sending build context to Docker daemon 5.544MB [2022-11-01T17:33:12.414Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-01T17:33:12.414Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-01T17:33:12.414Z] ---> a30a6a4dac5d [2022-11-01T17:33:12.414Z] Step 3/23 : ARG MAKE=make build [2022-11-01T17:33:12.414Z] ---> Running in 4a095b88bedd [2022-11-01T17:33:12.686Z] Removing intermediate container 4a095b88bedd [2022-11-01T17:33:12.686Z] ---> 12e9597791bf [2022-11-01T17:33:12.686Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-01T17:33:12.686Z] ---> Running in f00e81c9f256 [2022-11-01T17:33:13.271Z] Removing intermediate container f00e81c9f256 [2022-11-01T17:33:13.271Z] ---> 8969dcaa072e [2022-11-01T17:33:13.271Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:33:13.271Z] ---> Running in fd8146fbd123 [2022-11-01T17:33:13.541Z] Removing intermediate container fd8146fbd123 [2022-11-01T17:33:13.541Z] ---> b95f6f75733a [2022-11-01T17:33:13.541Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-01T17:33:13.541Z] ---> Running in 4f798676cbf9 [2022-11-01T17:33:14.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-01T17:33:14.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-01T17:33:15.740Z] OK: 221 MiB in 51 packages [2022-11-01T17:33:16.701Z] Removing intermediate container 4f798676cbf9 [2022-11-01T17:33:16.701Z] ---> 629e673f01e9 [2022-11-01T17:33:16.701Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-01T17:33:16.968Z] ---> bf9f10aa9c67 [2022-11-01T17:33:16.968Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-01T17:33:17.235Z] ---> Running in d40554690762 [2022-11-01T17:33:19.181Z] Removing intermediate container d40554690762 [2022-11-01T17:33:19.181Z] ---> 58666d31c4df [2022-11-01T17:33:19.181Z] Step 9/23 : COPY . . [2022-11-01T17:33:20.142Z] ---> 515640968b3f [2022-11-01T17:33:20.142Z] Step 10/23 : RUN ${MAKE} [2022-11-01T17:33:20.142Z] ---> Running in 76c15a8b38c8 [2022-11-01T17:33:21.112Z] 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-01T17:35:27.781Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-01T17:35:27.781Z] Removing intermediate container 76c15a8b38c8 [2022-11-01T17:35:27.781Z] ---> 3390e90da28f [2022-11-01T17:35:27.781Z] Step 11/23 : FROM alpine:3.16 [2022-11-01T17:35:28.049Z] 3.16: Pulling from library/alpine [2022-11-01T17:35:28.315Z] 9b18e9b68314: Already exists [2022-11-01T17:35:28.583Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-01T17:35:28.583Z] Status: Downloaded newer image for alpine:3.16 [2022-11-01T17:35:28.583Z] ---> a6215f271958 [2022-11-01T17:35:28.583Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-01T17:35:28.583Z] ---> Running in 04afd5c3b8b7 [2022-11-01T17:35:28.856Z] Removing intermediate container 04afd5c3b8b7 [2022-11-01T17:35:28.856Z] ---> c1bb9c29d634 [2022-11-01T17:35:28.856Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-01T17:35:28.856Z] ---> Running in 4ddd1d57d22d [2022-11-01T17:35:29.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-01T17:35:30.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-01T17:35:31.051Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-01T17:35:31.051Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-01T17:35:31.051Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-01T17:35:31.051Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-01T17:35:31.051Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-01T17:35:31.051Z] Executing busybox-1.35.0-r17.trigger [2022-11-01T17:35:31.051Z] OK: 8 MiB in 19 packages [2022-11-01T17:35:32.011Z] Removing intermediate container 4ddd1d57d22d [2022-11-01T17:35:32.011Z] ---> 952b74bdeaae [2022-11-01T17:35:32.011Z] Step 14/23 : WORKDIR / [2022-11-01T17:35:32.011Z] ---> Running in e88cd32b3534 [2022-11-01T17:35:32.278Z] Removing intermediate container e88cd32b3534 [2022-11-01T17:35:32.278Z] ---> 0eda4c95f424 [2022-11-01T17:35:32.278Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-01T17:35:32.874Z] ---> 61f9b3c748d2 [2022-11-01T17:35:32.874Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-01T17:35:34.280Z] ---> fd5443771848 [2022-11-01T17:35:34.280Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-01T17:35:35.694Z] ---> 795f861a1207 [2022-11-01T17:35:35.694Z] Step 18/23 : EXPOSE 59999 [2022-11-01T17:35:35.694Z] ---> Running in f902414bda75 [2022-11-01T17:35:35.960Z] Removing intermediate container f902414bda75 [2022-11-01T17:35:35.960Z] ---> c8b648e5c1e3 [2022-11-01T17:35:35.960Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-01T17:35:36.227Z] ---> Running in 3a6011613c48 [2022-11-01T17:35:36.495Z] Removing intermediate container 3a6011613c48 [2022-11-01T17:35:36.495Z] ---> 5a3a34787d4f [2022-11-01T17:35:36.495Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-01T17:35:36.495Z] ---> Running in 2ec0e0e7e9b6 [2022-11-01T17:35:36.761Z] Removing intermediate container 2ec0e0e7e9b6 [2022-11-01T17:35:36.761Z] ---> d654c4598460 [2022-11-01T17:35:36.761Z] Step 21/23 : LABEL arch=arm64 [2022-11-01T17:35:36.761Z] ---> Running in 496e5384a049 [2022-11-01T17:35:37.028Z] Removing intermediate container 496e5384a049 [2022-11-01T17:35:37.028Z] ---> db3e9affcbc5 [2022-11-01T17:35:37.028Z] Step 22/23 : LABEL git_sha=0d8540a62ee72219f1fc71b10188107ac82e8b69 [2022-11-01T17:35:37.028Z] ---> Running in 0e2306880e94 [2022-11-01T17:35:37.294Z] Removing intermediate container 0e2306880e94 [2022-11-01T17:35:37.294Z] ---> bb03e6aa43b6 [2022-11-01T17:35:37.294Z] Step 23/23 : LABEL version=0.0.0 [2022-11-01T17:35:37.561Z] ---> Running in d0f4efbb686a [2022-11-01T17:35:37.828Z] Removing intermediate container d0f4efbb686a [2022-11-01T17:35:37.828Z] ---> c0f4e1c5f6c7 [2022-11-01T17:35:37.828Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-01T17:35:37.828Z] Successfully built c0f4e1c5f6c7 [2022-11-01T17:35:37.828Z] 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-01T17:35:38.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-01T17:35:38.247Z] [2022-11-01T17:35:38.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:35:38.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-01T17:35:38.570Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-01T17:35:38.570Z] 8998bd30e6a1: Pulling fs layer [2022-11-01T17:35:38.570Z] 04944245beec: Pulling fs layer [2022-11-01T17:35:38.570Z] 699f458cf7ca: Pulling fs layer [2022-11-01T17:35:38.570Z] 765212b225bb: Pulling fs layer [2022-11-01T17:35:38.570Z] f23df028b6ca: Pulling fs layer [2022-11-01T17:35:38.570Z] d65c8cfc05b1: Pulling fs layer [2022-11-01T17:35:38.570Z] 2437ff75d9bd: Pulling fs layer [2022-11-01T17:35:38.570Z] 765212b225bb: Waiting [2022-11-01T17:35:38.570Z] 2437ff75d9bd: Waiting [2022-11-01T17:35:38.570Z] d65c8cfc05b1: Waiting [2022-11-01T17:35:38.837Z] 04944245beec: Verifying Checksum [2022-11-01T17:35:38.837Z] 04944245beec: Download complete [2022-11-01T17:35:38.837Z] 765212b225bb: Verifying Checksum [2022-11-01T17:35:38.837Z] 765212b225bb: Download complete [2022-11-01T17:35:38.837Z] f23df028b6ca: Verifying Checksum [2022-11-01T17:35:38.837Z] f23df028b6ca: Download complete [2022-11-01T17:35:38.837Z] d65c8cfc05b1: Verifying Checksum [2022-11-01T17:35:38.837Z] d65c8cfc05b1: Download complete [2022-11-01T17:35:38.837Z] 699f458cf7ca: Verifying Checksum [2022-11-01T17:35:38.837Z] 699f458cf7ca: Download complete [2022-11-01T17:35:39.429Z] 8998bd30e6a1: Verifying Checksum [2022-11-01T17:35:39.429Z] 8998bd30e6a1: Download complete [2022-11-01T17:35:41.378Z] 2437ff75d9bd: Verifying Checksum [2022-11-01T17:35:41.378Z] 2437ff75d9bd: Download complete [2022-11-01T17:35:43.320Z] 8998bd30e6a1: Pull complete [2022-11-01T17:35:43.589Z] 04944245beec: Pull complete [2022-11-01T17:35:44.994Z] 699f458cf7ca: Pull complete [2022-11-01T17:35:44.994Z] 765212b225bb: Pull complete [2022-11-01T17:35:45.954Z] f23df028b6ca: Pull complete [2022-11-01T17:35:45.954Z] d65c8cfc05b1: Pull complete [2022-11-01T17:36:00.946Z] 2437ff75d9bd: Pull complete [2022-11-01T17:36:00.946Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-01T17:36:00.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-01T17:36:00.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:36:01.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container [2022-11-01T17:36:01.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-01T17:36:03.865Z] $ docker top c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:04.743Z] ---> job-cost.sh [2022-11-01T17:36:04.743Z] lf-activate-venv: SKIPPING [2022-11-01T17:36:04.743Z] INFO: No Stack... [2022-11-01T17:36:05.696Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-01T17:36:06.278Z] INFO: Archiving Costs [Pipeline] sh [2022-11-01T17:36:06.909Z] + cut -d, -f6 [2022-11-01T17:36:06.909Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2022-11-01T17:36:06.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [2022-11-01T17:36:06.978Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] did not exist. Created. [2022-11-01T17:36:06.978Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-01T17:36:07.305Z] /w/workspace/device-sdk-go/2@tmp/durable-3f67173a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-01T17:36:07.964Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-01T17:36:07.986Z] Warning: overwriting stash ‘stack-cost’ [2022-11-01T17:36:08.057Z] Stashed 1 file(s) [Pipeline] } [2022-11-01T17:36:08.109Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-01T17:36:08.140Z] $ docker stop --time=1 c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe [2022-11-01T17:36:09.691Z] $ docker rm -f c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe [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-01T17:36:10.129Z] provisioning config files... [2022-11-01T17:36:10.135Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config9270929964170570894tmp [Pipeline] { [Pipeline] sh [2022-11-01T17:36:10.425Z] + set +x [2022-11-01T17:36:10.425Z] + + bash -s -- [2022-11-01T17:36:10.425Z] curl -s https://codecov.io/bash [2022-11-01T17:36:10.425Z] [2022-11-01T17:36:10.425Z] _____ _ [2022-11-01T17:36:10.425Z] / ____| | | [2022-11-01T17:36:10.425Z] | | ___ __| | ___ ___ _____ __ [2022-11-01T17:36:10.425Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-01T17:36:10.425Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-01T17:36:10.425Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-01T17:36:10.425Z] Bash-1.0.6 [2022-11-01T17:36:10.425Z] [2022-11-01T17:36:10.425Z] [2022-11-01T17:36:10.425Z] ==> git version 2.25.1 found [2022-11-01T17:36:10.425Z] ==> 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-01T17:36:10.425Z] Release-Date: 2020-01-08 [2022-11-01T17:36:10.425Z] 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-01T17:36:10.425Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-01T17:36:10.425Z] ==> Jenkins CI detected. [2022-11-01T17:36:10.425Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1252 [2022-11-01T17:36:10.425Z] project root: . [2022-11-01T17:36:10.425Z] --> token set from env [2022-11-01T17:36:10.425Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-01T17:36:10.425Z] ==> Running gcov in . (disable via -X gcov) [2022-11-01T17:36:10.425Z] ==> Python coveragepy not found [2022-11-01T17:36:10.425Z] ==> Searching for coverage reports in: [2022-11-01T17:36:10.425Z] + . [2022-11-01T17:36:10.425Z] -> Found 1 reports [2022-11-01T17:36:10.425Z] ==> Detecting git/mercurial file structure [2022-11-01T17:36:10.425Z] ==> Reading reports [2022-11-01T17:36:10.425Z] + ./coverage.out bytes=101760 [2022-11-01T17:36:10.425Z] ==> Appending adjustments [2022-11-01T17:36:10.425Z] https://docs.codecov.io/docs/fixing-reports [2022-11-01T17:36:10.682Z] + Found adjustments [2022-11-01T17:36:10.682Z] ==> Gzipping contents [2022-11-01T17:36:10.959Z] 16K /tmp/codecov.b3senn.gz [2022-11-01T17:36:10.959Z] ==> Uploading reports [2022-11-01T17:36:10.959Z] url: https://codecov.io [2022-11-01T17:36:10.959Z] query: branch=PR-1252&commit=5bba170451d0dce67eb273271a2ef719c3573c6c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1252%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1252&job=&cmd_args= [2022-11-01T17:36:10.959Z] -> Pinging Codecov [2022-11-01T17:36:10.959Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1252&commit=5bba170451d0dce67eb273271a2ef719c3573c6c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1252%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1252&job=&cmd_args= [2022-11-01T17:36:11.221Z] -> Uploading to [2022-11-01T17:36:11.221Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-01/7E55EF52A471D76F132DFD9A03CDDE97/5bba170451d0dce67eb273271a2ef719c3573c6c/f66694c8-ba84-4bb9-a0b0-8c2bcf53777f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221101T173610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42649fcd514f5c2bc9a1996247d6c3eb8c848e65772975028c317d327952dfa1 [2022-11-01T17:36:11.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-01T17:36:11.221Z] Dload Upload Total Spent Left Speed [2022-11-01T17:36:11.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14706 0 0 100 14706 0 63115 --:--:-- --:--:-- --:--:-- 63387 [2022-11-01T17:36:11.480Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] } [2022-11-01T17:36:11.486Z] 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-01T17:36:12.175Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives ] [2022-11-01T17:36:12.175Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:36:12.175Z] total 16 [2022-11-01T17:36:12.175Z] drwxr-xr-x 3 root root 4096 Nov 1 17:26 . [2022-11-01T17:36:12.175Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:27 .. [2022-11-01T17:36:12.175Z] drwxr-xr-x 2 root root 4096 Nov 1 17:26 cost [2022-11-01T17:36:12.175Z] -rw-r--r-- 1 root root 86 Nov 1 17:26 cost.csv [2022-11-01T17:36:12.175Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:36:12.175Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives [2022-11-01T17:36:12.175Z] total 16 [2022-11-01T17:36:12.175Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:26 . [2022-11-01T17:36:12.175Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:27 .. [2022-11-01T17:36:12.175Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:26 cost [2022-11-01T17:36:12.175Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:12.459Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:13.309Z] ---> package-listing.sh [2022-11-01T17:36:13.309Z] ++ facter osfamily [2022-11-01T17:36:13.309Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-01T17:36:13.567Z] + OS_FAMILY=debian [2022-11-01T17:36:13.567Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1252 [2022-11-01T17:36:13.567Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-01T17:36:13.567Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-01T17:36:13.567Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-01T17:36:13.567Z] + PACKAGES=/tmp/packages_start.txt [2022-11-01T17:36:13.567Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' [2022-11-01T17:36:13.567Z] + PACKAGES=/tmp/packages_end.txt [2022-11-01T17:36:13.567Z] + case "${OS_FAMILY}" in [2022-11-01T17:36:13.567Z] + dpkg -l [2022-11-01T17:36:13.567Z] + grep '^ii' [2022-11-01T17:36:13.567Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-01T17:36:13.567Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-01T17:36:13.567Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-01T17:36:13.567Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' [2022-11-01T17:36:13.567Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ [2022-11-01T17:36:13.567Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ [Pipeline] echo [2022-11-01T17:36:13.577Z] 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-1252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-01T17:36:13.852Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-01T17:36:14.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-01T17:36:14.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-01T17:36:14.581Z] prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container [2022-11-01T17:36:14.622Z] $ 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-1252/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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-01T17:36:14.834Z] $ docker top 58d7677f02e8899471995d14425bd71bc1740fc9a3f65eefb82e20056af3cdb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-01T17:36:15.163Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-01T17:36:15.445Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-01T17:36:15.726Z] + ls /var/log/sa-host [2022-11-01T17:36:15.726Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-01T17:36:15.869Z] provisioning config files... [2022-11-01T17:36:15.878Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config343978456443797918tmp [Pipeline] { [Pipeline] echo [2022-11-01T17:36:15.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:16.169Z] ---> create-netrc.sh [Pipeline] } [2022-11-01T17:36:16.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:16.502Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-01T17:36:16.509Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:16.794Z] ---> sudo-logs.sh [2022-11-01T17:36:16.794Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-01T17:36:16.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:17.104Z] ---> job-cost.sh [2022-11-01T17:36:17.104Z] lf-activate-venv: SKIPPING [2022-11-01T17:36:17.104Z] DEBUG: total: 0.2199999988079071 [2022-11-01T17:36:17.104Z] INFO: Retrieving Stack Cost... [2022-11-01T17:36:17.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-01T17:36:17.931Z] INFO: Archiving Costs [Pipeline] echo [2022-11-01T17:36:17.942Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-01T17:36:18.223Z] ---> logs-deploy.sh [2022-11-01T17:36:18.223Z] lf-activate-venv: SKIPPING [2022-11-01T17:36:18.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1252/2 [2022-11-01T17:36:18.223Z] INFO: archiving workspace using pattern(s): [2022-11-01T17:36:19.158Z] Archives upload complete. [2022-11-01T17:36:19.158Z] INFO: archiving logs to Nexus