Pull request #1388 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 EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch levski at a6639bc907c868da99f3246e240586b858116a4d rather than 004d75f85e58af59dc84fb56a49efa5c62926634 Obtained Jenkinsfile from a6639bc907c868da99f3246e240586b858116a4d 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-ssh2972339479858924629.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9638451349016682674.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1388/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-1388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8328989943325142303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17272228493782459088.key > 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-1388/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-1388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13261507755282223491.key > 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, goVersion:1.18, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2287 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [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-1388 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 004d75f85e58af59dc84fb56a49efa5c62926634 Merge succeeded, producing 004d75f85e58af59dc84fb56a49efa5c62926634 Checking out Revision 004d75f85e58af59dc84fb56a49efa5c62926634 (PR-1388) > git config core.sparsecheckout # timeout=10 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 Commit message: "docs: added a new tag" > git rev-list --no-walk 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T21:22:25.673Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T21:22:25.721Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T21:22:25.739Z] ========================================================= [2023-03-15T21:22:25.739Z] EdgeX Global Pipelines Version Info [2023-03-15T21:22:25.740Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:22:26.449Z] ------------------- [2023-03-15T21:22:26.449Z] stable info: [2023-03-15T21:22:26.449Z] ------------------- [2023-03-15T21:22:26.449Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T21:22:26.449Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T21:22:26.449Z] Message: update stable to v1.0.245 [2023-03-15T21:22:27.019Z] ------------------- [2023-03-15T21:22:27.019Z] experimental info: [2023-03-15T21:22:27.019Z] ------------------- [2023-03-15T21:22:27.019Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T21:22:27.019Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T21:22:27.019Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T21:22:27.211Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-15T21:22:27.222Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-15T21:22:27.233Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T21:22:27.244Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T21:22:27.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T21:22:27.266Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-15T21:22:27.279Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T21:22:27.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-15T21:22:27.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T21:22:27.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T21:22:27.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T21:22:27.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-15T21:22:27.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T21:22:27.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T21:22:27.381Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T21:22:27.394Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T21:22:27.405Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T21:22:27.422Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T21:22:27.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T21:22:27.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T21:22:27.458Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T21:22:27.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-03-15T21:22:27.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T21:22:27.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T21:22:27.508Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T21:22:27.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T21:22:27.534Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T21:22:27.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1388 [Pipeline] echo [2023-03-15T21:22:27.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1388 [Pipeline] echo [2023-03-15T21:22:27.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1388 [Pipeline] echo [2023-03-15T21:22:27.579Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo [2023-03-15T21:22:27.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 004d75f [Pipeline] echo [2023-03-15T21:22:27.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T21:22:27.735Z] provisioning config files... [2023-03-15T21:22:27.748Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config6191567781166460619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:22:28.047Z] ---> docker-login.sh [2023-03-15T21:22:28.047Z] nexus3.edgexfoundry.org:10001 [2023-03-15T21:22:28.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:28.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:28.306Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:28.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:28.306Z] [2023-03-15T21:22:28.306Z] Login Succeeded [2023-03-15T21:22:28.306Z] nexus3.edgexfoundry.org:10002 [2023-03-15T21:22:28.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:28.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:28.567Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:28.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:28.567Z] [2023-03-15T21:22:28.567Z] Login Succeeded [2023-03-15T21:22:28.567Z] nexus3.edgexfoundry.org:10003 [2023-03-15T21:22:28.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:28.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:28.567Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:28.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:28.567Z] [2023-03-15T21:22:28.567Z] Login Succeeded [2023-03-15T21:22:28.567Z] nexus3.edgexfoundry.org:10004 [2023-03-15T21:22:28.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:28.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:28.827Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:28.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:28.827Z] [2023-03-15T21:22:28.827Z] Login Succeeded [2023-03-15T21:22:28.827Z] docker.io [2023-03-15T21:22:28.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:29.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:29.087Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:29.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:29.087Z] [2023-03-15T21:22:29.087Z] Login Succeeded [2023-03-15T21:22:29.087Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T21:22:29.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T21:22:29.458Z] + git rev-list -1 --merges 004d75f85e58af59dc84fb56a49efa5c62926634~1..004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo [2023-03-15T21:22:29.507Z] -----------> git rev-list -1 --merges 004d75f85e58af59dc84fb56a49efa5c62926634~1..004d75f85e58af59dc84fb56a49efa5c62926634 004d75f85e58af59dc84fb56a49efa5c62926634 [false] [Pipeline] sh [2023-03-15T21:22:29.799Z] + git log --format=format:%s -1 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo [2023-03-15T21:22:29.813Z] ========================================================= [2023-03-15T21:22:29.813Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T21:22:29.813Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T21:22:30.133Z] + git log --format=format:%s -1 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo [2023-03-15T21:22:30.143Z] [semverPrep] GIT_COMMIT: 004d75f85e58af59dc84fb56a49efa5c62926634, Commit Message: docs: added a new tag [Pipeline] echo [2023-03-15T21:22:30.152Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T21:22:30.499Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T21:22:30.499Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T21:22:30.499Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T21:22:30.499Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T21:22:30.499Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T21:22:30.499Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T21:22:30.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:22:30.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T21:22:30.852Z] [2023-03-15T21:22:30.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:22:31.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T21:22:31.153Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T21:22:31.153Z] b85a868b505f: Pulling fs layer [2023-03-15T21:22:31.153Z] e2be974225ed: Pulling fs layer [2023-03-15T21:22:31.153Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T21:22:31.153Z] 988bab9f4d93: Pulling fs layer [2023-03-15T21:22:31.153Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T21:22:31.153Z] eaf3925da568: Pulling fs layer [2023-03-15T21:22:31.153Z] bab4dde63d76: Pulling fs layer [2023-03-15T21:22:31.153Z] bde34c3a00c8: Pulling fs layer [2023-03-15T21:22:31.153Z] b352a97aabf1: Pulling fs layer [2023-03-15T21:22:31.153Z] 4872d77fe225: Pulling fs layer [2023-03-15T21:22:31.153Z] 5851b861e8e6: Pulling fs layer [2023-03-15T21:22:31.153Z] 4872d77fe225: Waiting [2023-03-15T21:22:31.153Z] eaf3925da568: Waiting [2023-03-15T21:22:31.153Z] 5851b861e8e6: Waiting [2023-03-15T21:22:31.153Z] bab4dde63d76: Waiting [2023-03-15T21:22:31.153Z] bde34c3a00c8: Waiting [2023-03-15T21:22:31.154Z] 988bab9f4d93: Waiting [2023-03-15T21:22:31.154Z] 1469e6f7b9e6: Waiting [2023-03-15T21:22:31.154Z] b352a97aabf1: Waiting [2023-03-15T21:22:31.154Z] e2be974225ed: Verifying Checksum [2023-03-15T21:22:31.154Z] e2be974225ed: Download complete [2023-03-15T21:22:31.154Z] 988bab9f4d93: Download complete [2023-03-15T21:22:31.419Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T21:22:31.419Z] 1469e6f7b9e6: Download complete [2023-03-15T21:22:31.419Z] eaf3925da568: Verifying Checksum [2023-03-15T21:22:31.419Z] eaf3925da568: Download complete [2023-03-15T21:22:31.419Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T21:22:31.419Z] 339a4e72a1f5: Download complete [2023-03-15T21:22:31.419Z] bde34c3a00c8: Verifying Checksum [2023-03-15T21:22:31.419Z] bde34c3a00c8: Download complete [2023-03-15T21:22:31.419Z] b352a97aabf1: Verifying Checksum [2023-03-15T21:22:31.419Z] b352a97aabf1: Download complete [2023-03-15T21:22:31.419Z] 4872d77fe225: Verifying Checksum [2023-03-15T21:22:31.419Z] 4872d77fe225: Download complete [2023-03-15T21:22:31.419Z] 5851b861e8e6: Verifying Checksum [2023-03-15T21:22:31.419Z] 5851b861e8e6: Download complete [2023-03-15T21:22:31.419Z] b85a868b505f: Verifying Checksum [2023-03-15T21:22:31.419Z] b85a868b505f: Download complete [2023-03-15T21:22:31.993Z] bab4dde63d76: Verifying Checksum [2023-03-15T21:22:31.993Z] bab4dde63d76: Download complete [2023-03-15T21:22:32.561Z] b85a868b505f: Pull complete [2023-03-15T21:22:32.820Z] e2be974225ed: Pull complete [2023-03-15T21:22:33.387Z] 339a4e72a1f5: Pull complete [2023-03-15T21:22:33.387Z] 988bab9f4d93: Pull complete [2023-03-15T21:22:33.647Z] 1469e6f7b9e6: Pull complete [2023-03-15T21:22:33.647Z] eaf3925da568: Pull complete [2023-03-15T21:22:35.551Z] bab4dde63d76: Pull complete [2023-03-15T21:22:35.551Z] bde34c3a00c8: Pull complete [2023-03-15T21:22:35.551Z] b352a97aabf1: Pull complete [2023-03-15T21:22:35.811Z] 4872d77fe225: Pull complete [2023-03-15T21:22:35.811Z] 5851b861e8e6: Pull complete [2023-03-15T21:22:35.811Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T21:22:35.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T21:22:35.811Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:22:35.918Z] prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container [2023-03-15T21:22:35.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@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 [2023-03-15T21:22:37.269Z] $ docker top d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f -eo pid,comm [2023-03-15T21:22:37.323Z] 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). [2023-03-15T21:22:37.323Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T21:22:37.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T21:22:37.363Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T21:22:37.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T21:22:37.479Z] $ docker exec d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent [2023-03-15T21:22:37.602Z] SSH_AUTH_SOCK=/tmp/ssh-6Wk7zLToTEW3/agent.32 [2023-03-15T21:22:37.602Z] SSH_AGENT_PID=38 [2023-03-15T21:22:37.609Z] Running ssh-add (command line suppressed) [2023-03-15T21:22:37.711Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_8723992972344732483.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_8723992972344732483.key) [2023-03-15T21:22:37.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T21:22:38.010Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T21:22:38.025Z] $ docker exec --env ******** --env ******** d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent -k [2023-03-15T21:22:38.125Z] unset SSH_AUTH_SOCK; [2023-03-15T21:22:38.125Z] unset SSH_AGENT_PID; [2023-03-15T21:22:38.125Z] echo Agent pid 38 killed; [2023-03-15T21:22:38.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T21:22:38.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T21:22:38.152Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T21:22:38.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T21:22:38.269Z] $ docker exec d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent [2023-03-15T21:22:38.360Z] SSH_AUTH_SOCK=/tmp/ssh-sYKh50kYlWvg/agent.70 [2023-03-15T21:22:38.360Z] SSH_AGENT_PID=76 [2023-03-15T21:22:38.365Z] Running ssh-add (command line suppressed) [2023-03-15T21:22:38.469Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_3861316639446989360.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_3861316639446989360.key) [2023-03-15T21:22:38.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T21:22:38.765Z] + git semver init [2023-03-15T21:22:39.024Z] 2023-03-15 21:22:38,933 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T21:22:39.024Z] 2023-03-15 21:22:38,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver [2023-03-15T21:22:39.024Z] 2023-03-15 21:22:38,934 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver [2023-03-15T21:22:39.024Z] 2023-03-15 21:22:38,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388, universal_newlines=False, shell=None, istream=None) [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,824 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.git/info/exclude [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 with force:False [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,825 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,828 [execute] INFO git cat-file --batch-check [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,833 [execute] INFO git cat-file --batch [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T21:22:39.962Z] 2023-03-15 21:22:39,838 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 [2023-03-15T21:22:39.962Z] 0.0.0 [Pipeline] } [2023-03-15T21:22:39.976Z] $ docker exec --env ******** --env ******** d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent -k [2023-03-15T21:22:40.070Z] unset SSH_AUTH_SOCK; [2023-03-15T21:22:40.071Z] unset SSH_AGENT_PID; [2023-03-15T21:22:40.072Z] echo Agent pid 76 killed; [2023-03-15T21:22:40.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T21:22:40.397Z] + git semver [Pipeline] } [2023-03-15T21:22:40.673Z] $ docker stop --time=1 d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f [2023-03-15T21:22:41.938Z] $ docker rm -f --volumes d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T21:22:42.272Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T21:22:42.480Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T21:22:42.482Z] [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 [2023-03-15T21:22:42.603Z] provisioning config files... [2023-03-15T21:22:42.613Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config16423777069484333484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:22:42.908Z] ---> docker-login.sh [2023-03-15T21:22:42.908Z] nexus3.edgexfoundry.org:10001 [2023-03-15T21:22:42.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:42.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:42.908Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:42.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:42.908Z] [2023-03-15T21:22:42.908Z] Login Succeeded [2023-03-15T21:22:42.908Z] nexus3.edgexfoundry.org:10002 [2023-03-15T21:22:42.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:42.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:42.908Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:42.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:42.908Z] [2023-03-15T21:22:42.908Z] Login Succeeded [2023-03-15T21:22:42.908Z] nexus3.edgexfoundry.org:10003 [2023-03-15T21:22:43.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:43.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:43.168Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:43.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:43.168Z] [2023-03-15T21:22:43.168Z] Login Succeeded [2023-03-15T21:22:43.168Z] nexus3.edgexfoundry.org:10004 [2023-03-15T21:22:43.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:43.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:43.168Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:43.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:43.168Z] [2023-03-15T21:22:43.168Z] Login Succeeded [2023-03-15T21:22:43.168Z] docker.io [2023-03-15T21:22:43.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:22:43.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:22:43.427Z] Configure a credential helper to remove this warning. See [2023-03-15T21:22:43.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:22:43.427Z] [2023-03-15T21:22:43.427Z] Login Succeeded [2023-03-15T21:22:43.427Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T21:22:43.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T21:22:43.495Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T21:22:43.506Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T21:22:43.514Z] ========================================================= [2023-03-15T21:22:43.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-15T21:22:43.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:22:43.829Z] + 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 . [2023-03-15T21:22:43.829Z] Sending build context to Docker daemon 10.85MB [2023-03-15T21:22:43.829Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T21:22:43.829Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T21:22:43.829Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T21:22:43.829Z] 213ec9aee27d: Pulling fs layer [2023-03-15T21:22:43.829Z] 4583459ba037: Pulling fs layer [2023-03-15T21:22:43.829Z] 93c1e223e6f2: Pulling fs layer [2023-03-15T21:22:43.829Z] 53926ce57604: Pulling fs layer [2023-03-15T21:22:43.829Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-15T21:22:43.829Z] 22ff95d597cd: Pulling fs layer [2023-03-15T21:22:43.829Z] 12d6caf4c0d1: Pulling fs layer [2023-03-15T21:22:43.829Z] 96b7cbca73a9: Pulling fs layer [2023-03-15T21:22:43.829Z] a7acece74701: Pulling fs layer [2023-03-15T21:22:43.829Z] 21b2b0c7a3f4: Waiting [2023-03-15T21:22:43.829Z] 22ff95d597cd: Waiting [2023-03-15T21:22:43.829Z] 96b7cbca73a9: Waiting [2023-03-15T21:22:43.829Z] a7acece74701: Waiting [2023-03-15T21:22:43.829Z] 53926ce57604: Waiting [2023-03-15T21:22:43.829Z] 12d6caf4c0d1: Waiting [2023-03-15T21:22:43.829Z] 93c1e223e6f2: Verifying Checksum [2023-03-15T21:22:43.829Z] 93c1e223e6f2: Download complete [2023-03-15T21:22:43.829Z] 4583459ba037: Download complete [2023-03-15T21:22:44.091Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-15T21:22:44.091Z] 21b2b0c7a3f4: Download complete [2023-03-15T21:22:44.091Z] 22ff95d597cd: Download complete [2023-03-15T21:22:44.091Z] 213ec9aee27d: Verifying Checksum [2023-03-15T21:22:44.091Z] 213ec9aee27d: Download complete [2023-03-15T21:22:44.091Z] 12d6caf4c0d1: Verifying Checksum [2023-03-15T21:22:44.091Z] 12d6caf4c0d1: Download complete [2023-03-15T21:22:44.091Z] 213ec9aee27d: Pull complete [2023-03-15T21:22:44.364Z] 4583459ba037: Pull complete [2023-03-15T21:22:44.364Z] 93c1e223e6f2: Pull complete [2023-03-15T21:22:44.625Z] a7acece74701: Verifying Checksum [2023-03-15T21:22:44.883Z] 53926ce57604: Verifying Checksum [2023-03-15T21:22:44.883Z] 53926ce57604: Download complete [2023-03-15T21:22:44.883Z] 96b7cbca73a9: Verifying Checksum [2023-03-15T21:22:44.883Z] 96b7cbca73a9: Download complete [2023-03-15T21:22:49.079Z] 53926ce57604: Pull complete [2023-03-15T21:22:49.079Z] 21b2b0c7a3f4: Pull complete [2023-03-15T21:22:49.079Z] 22ff95d597cd: Pull complete [2023-03-15T21:22:49.079Z] 12d6caf4c0d1: Pull complete [2023-03-15T21:22:50.978Z] 96b7cbca73a9: Pull complete [2023-03-15T21:22:51.543Z] a7acece74701: Pull complete [2023-03-15T21:22:51.802Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-15T21:22:51.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-15T21:22:51.802Z] ---> db6d94c90886 [2023-03-15T21:22:51.802Z] Step 3/10 : ARG MAKE=make build [2023-03-15T21:22:53.710Z] ---> Running in e1ed557b1a7d [2023-03-15T21:22:53.710Z] Removing intermediate container e1ed557b1a7d [2023-03-15T21:22:53.710Z] ---> b35a7141fa01 [2023-03-15T21:22:53.710Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T21:22:53.710Z] ---> Running in f5cc82fbbd49 [2023-03-15T21:22:53.710Z] Removing intermediate container f5cc82fbbd49 [2023-03-15T21:22:53.710Z] ---> 0af747e42482 [2023-03-15T21:22:53.710Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:22:53.710Z] ---> Running in 5e6433d060d9 [2023-03-15T21:22:53.710Z] Removing intermediate container 5e6433d060d9 [2023-03-15T21:22:53.710Z] ---> 257f3d024993 [2023-03-15T21:22:53.710Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-15T21:22:53.968Z] ---> Running in 4045b6f9f92c [2023-03-15T21:22:54.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-15T21:22:54.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-15T21:22:54.485Z] OK: 211 MiB in 51 packages [2023-03-15T21:22:54.744Z] Removing intermediate container 4045b6f9f92c [2023-03-15T21:22:54.744Z] ---> 3ff3052a084c [2023-03-15T21:22:54.744Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T21:22:55.003Z] ---> e842663190bb [2023-03-15T21:22:55.003Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T21:22:55.003Z] ---> Running in 06f0e065286a [2023-03-15T21:22:57.572Z] Still waiting to schedule task [2023-03-15T21:22:57.573Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T21:23:13.101Z] Removing intermediate container 06f0e065286a [2023-03-15T21:23:13.101Z] ---> 26b801996560 [2023-03-15T21:23:13.101Z] Step 9/10 : COPY . . [2023-03-15T21:23:13.101Z] ---> 6326bf16faa3 [2023-03-15T21:23:13.101Z] Step 10/10 : RUN ${MAKE} [2023-03-15T21:23:13.101Z] ---> Running in a97a5f8d6b9e [2023-03-15T21:23:13.101Z] noop [2023-03-15T21:23:13.101Z] Removing intermediate container a97a5f8d6b9e [2023-03-15T21:23:13.101Z] ---> a807ec4b3c75 [2023-03-15T21:23:13.101Z] Successfully built a807ec4b3c75 [2023-03-15T21:23:13.101Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:23:13.415Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T21:23:13.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:23:13.489Z] prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container [2023-03-15T21:23:13.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@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 [2023-03-15T21:23:13.838Z] $ docker top e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T21:23:14.173Z] + go version [2023-03-15T21:23:14.173Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-15T21:23:14.187Z] $ docker stop --time=1 e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 [2023-03-15T21:23:15.452Z] $ docker rm -f --volumes e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:23:15.843Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T21:23:15.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:23:15.908Z] prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container [2023-03-15T21:23:15.940Z] $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@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 [2023-03-15T21:23:16.284Z] $ docker top 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T21:23:16.620Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] fileExists [Pipeline] sh [2023-03-15T21:23:16.916Z] + make test [2023-03-15T21:23:16.916Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-15T21:23:23.479Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.095s coverage: 73.1% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.720s coverage: 89.2% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-15T21:23:35.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.7% of statements [2023-03-15T21:23:35.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-15T21:23:53.754Z] 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." [2023-03-15T21:23:53.754Z] GO111MODULE=on go vet ./... [2023-03-15T21:23:55.124Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T21:23:55.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T21:23:55.382Z] ./bin/test-attribution-txt.sh [2023-03-15T21:23:55.382Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-15T21:23:55.382Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-15T21:23:55.382Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-15T21:23:55.382Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-15T21:23:55.393Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T21:23:55.410Z] $ docker stop --time=1 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 [2023-03-15T21:23:58.251Z] $ docker rm -f --volumes 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T21:23:58.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T21:23:58.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T21:23:59.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T21:23:59.518Z] + ls -al . [2023-03-15T21:23:59.518Z] total 280 [2023-03-15T21:23:59.518Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 21:23 . [2023-03-15T21:23:59.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:22 .. [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 21:22 .dockerignore [2023-03-15T21:23:59.518Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:23 .git [2023-03-15T21:23:59.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:22 .github [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 21:22 .gitignore [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 21:22 .golangci.yml [2023-03-15T21:23:59.518Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:22 .semver [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 31944 Mar 15 21:22 CHANGELOG.md [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:22 GOVERNANCE.md [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 21:22 Jenkinsfile [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 21:22 LICENSE [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 21:22 Makefile [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 21:22 OWNERS.md [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 21:22 README.md [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:22 VERSION [2023-03-15T21:23:59.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:22 bin [2023-03-15T21:23:59.518Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 21:23 coverage.out [2023-03-15T21:23:59.518Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:22 example [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 21:22 go.mod [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 21:22 go.sum [2023-03-15T21:23:59.518Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 21:22 internal [2023-03-15T21:23:59.518Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:22 openapi [2023-03-15T21:23:59.518Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 21:22 pkg [2023-03-15T21:23:59.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:22 snap [2023-03-15T21:23:59.518Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 21:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:23:59.815Z] + 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=004d75f85e58af59dc84fb56a49efa5c62926634 --label arch=amd64 --label version=0.0.0 . [2023-03-15T21:23:59.815Z] Sending build context to Docker daemon 10.95MB [2023-03-15T21:23:59.815Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T21:23:59.815Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T21:23:59.815Z] ---> a807ec4b3c75 [2023-03-15T21:23:59.815Z] Step 3/23 : ARG MAKE=make build [2023-03-15T21:24:00.075Z] ---> Running in e9a8386e69a8 [2023-03-15T21:24:00.075Z] Removing intermediate container e9a8386e69a8 [2023-03-15T21:24:00.075Z] ---> df627c5cf375 [2023-03-15T21:24:00.075Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T21:24:00.075Z] ---> Running in 4e78caeebb74 [2023-03-15T21:24:00.075Z] Removing intermediate container 4e78caeebb74 [2023-03-15T21:24:00.075Z] ---> b1540b11a37b [2023-03-15T21:24:00.075Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:24:00.334Z] ---> Running in 3ff894e3f665 [2023-03-15T21:24:00.334Z] Removing intermediate container 3ff894e3f665 [2023-03-15T21:24:00.334Z] ---> 73e8ddf44581 [2023-03-15T21:24:00.334Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-15T21:24:00.334Z] ---> Running in 49dcc4a4a865 [2023-03-15T21:24:00.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-15T21:24:00.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-15T21:24:01.113Z] OK: 211 MiB in 51 packages [2023-03-15T21:24:01.370Z] Removing intermediate container 49dcc4a4a865 [2023-03-15T21:24:01.370Z] ---> 609bd2c6569a [2023-03-15T21:24:01.370Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T21:24:01.370Z] ---> 0f61ecdd4436 [2023-03-15T21:24:01.370Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T21:24:01.370Z] ---> Running in 10ead314d8fd [2023-03-15T21:24:01.937Z] Removing intermediate container 10ead314d8fd [2023-03-15T21:24:01.937Z] ---> f35b59529ecf [2023-03-15T21:24:01.937Z] Step 9/23 : COPY . . [2023-03-15T21:24:02.503Z] ---> c4bc680143ec [2023-03-15T21:24:02.503Z] Step 10/23 : RUN ${MAKE} [2023-03-15T21:24:02.503Z] ---> Running in 1f220e7b0013 [2023-03-15T21:24:02.761Z] 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 [2023-03-15T21:24:20.833Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-15T21:24:23.363Z] Removing intermediate container 1f220e7b0013 [2023-03-15T21:24:23.363Z] ---> 1e6ec72c688b [2023-03-15T21:24:23.363Z] Step 11/23 : FROM alpine:3.16 [2023-03-15T21:24:23.931Z] 3.16: Pulling from library/alpine [2023-03-15T21:24:24.187Z] ef5531b6e74e: Pulling fs layer [2023-03-15T21:24:24.188Z] ef5531b6e74e: Verifying Checksum [2023-03-15T21:24:24.188Z] ef5531b6e74e: Download complete [2023-03-15T21:24:24.446Z] ef5531b6e74e: Pull complete [2023-03-15T21:24:24.446Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-15T21:24:24.446Z] Status: Downloaded newer image for alpine:3.16 [2023-03-15T21:24:24.446Z] ---> dfd21b5a31f5 [2023-03-15T21:24:24.446Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:24:24.446Z] ---> Running in 9cdabf010f95 [2023-03-15T21:24:24.446Z] Removing intermediate container 9cdabf010f95 [2023-03-15T21:24:24.446Z] ---> 94c0e3f7ef85 [2023-03-15T21:24:24.446Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-15T21:24:24.705Z] ---> Running in 964fa63712a6 [2023-03-15T21:24:24.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-15T21:24:24.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-15T21:24:25.221Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-15T21:24:25.221Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-15T21:24:25.221Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-15T21:24:25.221Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-15T21:24:25.221Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-15T21:24:25.221Z] Executing busybox-1.35.0-r17.trigger [2023-03-15T21:24:25.221Z] OK: 8 MiB in 19 packages [2023-03-15T21:24:25.786Z] Removing intermediate container 964fa63712a6 [2023-03-15T21:24:25.786Z] ---> 01bc9a2e3846 [2023-03-15T21:24:25.786Z] Step 14/23 : WORKDIR / [2023-03-15T21:24:25.786Z] ---> Running in 30091f5007e9 [2023-03-15T21:24:25.786Z] Removing intermediate container 30091f5007e9 [2023-03-15T21:24:25.786Z] ---> f3bef7debf45 [2023-03-15T21:24:25.786Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T21:24:25.786Z] ---> 1e80196a54c6 [2023-03-15T21:24:25.786Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T21:24:26.716Z] ---> 6e7d249c9445 [2023-03-15T21:24:26.716Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T21:24:26.716Z] ---> 560d7a5faea1 [2023-03-15T21:24:26.717Z] Step 18/23 : EXPOSE 59999 [2023-03-15T21:24:26.717Z] ---> Running in dd10ad5f788b [2023-03-15T21:24:26.975Z] Removing intermediate container dd10ad5f788b [2023-03-15T21:24:26.975Z] ---> dfa8d59ee499 [2023-03-15T21:24:26.975Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T21:24:26.975Z] ---> Running in 089fbdb00297 [2023-03-15T21:24:26.975Z] Removing intermediate container 089fbdb00297 [2023-03-15T21:24:26.975Z] ---> 39fc9e3dfab1 [2023-03-15T21:24:26.975Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-15T21:24:26.975Z] ---> Running in 970404b39c96 [2023-03-15T21:24:26.975Z] Removing intermediate container 970404b39c96 [2023-03-15T21:24:26.975Z] ---> f4d4ed7c1ef7 [2023-03-15T21:24:26.975Z] Step 21/23 : LABEL arch=amd64 [2023-03-15T21:24:27.233Z] ---> Running in 0146c542fd7d [2023-03-15T21:24:27.233Z] Removing intermediate container 0146c542fd7d [2023-03-15T21:24:27.233Z] ---> 708a98702c63 [2023-03-15T21:24:27.233Z] Step 22/23 : LABEL git_sha=004d75f85e58af59dc84fb56a49efa5c62926634 [2023-03-15T21:24:27.233Z] ---> Running in cfa5cbbaaad5 [2023-03-15T21:24:27.233Z] Removing intermediate container cfa5cbbaaad5 [2023-03-15T21:24:27.233Z] ---> 67c7aabdce5b [2023-03-15T21:24:27.233Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T21:24:27.233Z] ---> Running in 1f70eda1ea73 [2023-03-15T21:24:27.491Z] Removing intermediate container 1f70eda1ea73 [2023-03-15T21:24:27.492Z] ---> 872db5553d19 [2023-03-15T21:24:27.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T21:24:27.492Z] Successfully built 872db5553d19 [2023-03-15T21:24:27.492Z] 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 [2023-03-15T21:24:27.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T21:24:27.953Z] [2023-03-15T21:24:27.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:24:28.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T21:24:28.246Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T21:24:28.246Z] 5eb5b503b376: Pulling fs layer [2023-03-15T21:24:28.246Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T21:24:28.246Z] ec43610c2a17: Pulling fs layer [2023-03-15T21:24:28.246Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T21:24:28.246Z] 33b1e0a273af: Pulling fs layer [2023-03-15T21:24:28.246Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T21:24:28.246Z] 2f39f015ded8: Pulling fs layer [2023-03-15T21:24:28.246Z] 5d3b04190fa2: Waiting [2023-03-15T21:24:28.246Z] 2f39f015ded8: Waiting [2023-03-15T21:24:28.246Z] 3a2ae6a8a46f: Waiting [2023-03-15T21:24:28.246Z] 33b1e0a273af: Waiting [2023-03-15T21:24:28.246Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T21:24:28.246Z] 5c69ac0246d0: Download complete [2023-03-15T21:24:28.246Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T21:24:28.246Z] 3a2ae6a8a46f: Download complete [2023-03-15T21:24:28.246Z] 33b1e0a273af: Verifying Checksum [2023-03-15T21:24:28.246Z] 33b1e0a273af: Download complete [2023-03-15T21:24:28.503Z] ec43610c2a17: Verifying Checksum [2023-03-15T21:24:28.503Z] ec43610c2a17: Download complete [2023-03-15T21:24:28.503Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T21:24:28.503Z] 5d3b04190fa2: Download complete [2023-03-15T21:24:28.503Z] 5eb5b503b376: Download complete [2023-03-15T21:24:29.068Z] 2f39f015ded8: Download complete [2023-03-15T21:24:29.634Z] 5eb5b503b376: Pull complete [2023-03-15T21:24:29.894Z] 5c69ac0246d0: Pull complete [2023-03-15T21:24:30.153Z] ec43610c2a17: Pull complete [2023-03-15T21:24:30.411Z] 3a2ae6a8a46f: Pull complete [2023-03-15T21:24:30.411Z] 33b1e0a273af: Pull complete [2023-03-15T21:24:30.669Z] 5d3b04190fa2: Pull complete [2023-03-15T21:24:34.850Z] 2f39f015ded8: Pull complete [2023-03-15T21:24:34.850Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T21:24:34.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T21:24:34.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:24:34.931Z] prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container [2023-03-15T21:24:34.957Z] $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@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 [2023-03-15T21:24:37.002Z] $ docker top 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:24:37.412Z] ---> job-cost.sh [2023-03-15T21:24:37.412Z] lf-activate-venv: SKIPPING [2023-03-15T21:24:37.412Z] INFO: No Stack... [2023-03-15T21:24:37.671Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T21:24:38.238Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T21:24:38.524Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/cost.csv [2023-03-15T21:24:38.524Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T21:24:38.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [2023-03-15T21:24:38.547Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] did not exist. Created. [2023-03-15T21:24:38.547Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T21:24:38.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T21:24:38.874Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T21:24:38.880Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T21:24:38.901Z] $ docker stop --time=1 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 [2023-03-15T21:24:40.050Z] $ docker rm -f --volumes 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T21:26:13.920Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2288 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] { [Pipeline] ws [2023-03-15T21:26:13.933Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-15T21:26:13.969Z] The recommended git tool is: git [2023-03-15T21:26:19.335Z] using credential edgex-jenkins-ssh [2023-03-15T21:26:19.354Z] Cloning the remote Git repository [2023-03-15T21:26:19.398Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T21:26:19.488Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-15T21:26:19.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T21:26:19.628Z] > git --version # timeout=10 [2023-03-15T21:26:19.648Z] > git --version # 'git version 2.25.1' [2023-03-15T21:26:19.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T21:26:19.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T21:26:21.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T21:26:21.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T21:26:22.848Z] Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 004d75f85e58af59dc84fb56a49efa5c62926634 [2023-03-15T21:26:22.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T21:26:22.201Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T21:26:22.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T21:26:22.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-15T21:26:23.129Z] Merge succeeded, producing 004d75f85e58af59dc84fb56a49efa5c62926634 [2023-03-15T21:26:23.129Z] Checking out Revision 004d75f85e58af59dc84fb56a49efa5c62926634 (PR-1388) [2023-03-15T21:26:22.868Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T21:26:22.933Z] > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 [2023-03-15T21:26:23.036Z] > git remote # timeout=10 [2023-03-15T21:26:23.057Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T21:26:23.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T21:26:23.090Z] > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 [2023-03-15T21:26:23.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T21:26:23.138Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T21:26:23.154Z] > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 [2023-03-15T21:26:26.603Z] Commit message: "docs: added a new tag" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T21:26:27.565Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T21:26:27.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T21:26:27.565Z] Dload Upload Total Spent Left Speed [2023-03-15T21:26:27.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-15T21:26:28.246Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T21:26:28.574Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T21:26:28.574Z] + sudo tee /etc/docker/daemon.new [2023-03-15T21:26:28.574Z] { [2023-03-15T21:26:28.574Z] "registry-mirrors": [ [2023-03-15T21:26:28.574Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T21:26:28.574Z] ], [2023-03-15T21:26:28.574Z] "bip": "10.250.0.254/24", [2023-03-15T21:26:28.574Z] "hosts": [ [2023-03-15T21:26:28.574Z] "tcp://0.0.0.0:5555", [2023-03-15T21:26:28.574Z] "unix:///var/run/docker.sock" [2023-03-15T21:26:28.574Z] ], [2023-03-15T21:26:28.574Z] "mtu": 1458, [2023-03-15T21:26:28.574Z] "selinux-enabled": true, [2023-03-15T21:26:28.574Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T21:26:28.574Z] } [Pipeline] sh [2023-03-15T21:26:28.899Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T21:26:29.227Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T21:26:47.491Z] provisioning config files... [2023-03-15T21:26:47.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3808906829389967270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:26:47.890Z] ---> docker-login.sh [2023-03-15T21:26:47.890Z] nexus3.edgexfoundry.org:10001 [2023-03-15T21:26:48.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:26:48.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:26:48.485Z] Configure a credential helper to remove this warning. See [2023-03-15T21:26:48.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:26:48.485Z] [2023-03-15T21:26:48.485Z] Login Succeeded [2023-03-15T21:26:48.485Z] nexus3.edgexfoundry.org:10002 [2023-03-15T21:26:48.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:26:49.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:26:49.033Z] Configure a credential helper to remove this warning. See [2023-03-15T21:26:49.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:26:49.033Z] [2023-03-15T21:26:49.033Z] Login Succeeded [2023-03-15T21:26:49.033Z] nexus3.edgexfoundry.org:10003 [2023-03-15T21:26:49.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:26:49.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:26:49.305Z] Configure a credential helper to remove this warning. See [2023-03-15T21:26:49.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:26:49.305Z] [2023-03-15T21:26:49.305Z] Login Succeeded [2023-03-15T21:26:49.305Z] nexus3.edgexfoundry.org:10004 [2023-03-15T21:26:49.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:26:49.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:26:49.854Z] Configure a credential helper to remove this warning. See [2023-03-15T21:26:49.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:26:49.854Z] [2023-03-15T21:26:49.854Z] Login Succeeded [2023-03-15T21:26:49.854Z] docker.io [2023-03-15T21:26:50.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T21:26:50.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T21:26:50.402Z] Configure a credential helper to remove this warning. See [2023-03-15T21:26:50.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T21:26:50.402Z] [2023-03-15T21:26:50.402Z] Login Succeeded [2023-03-15T21:26:50.402Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T21:26:50.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T21:26:50.713Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T21:26:50.733Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T21:26:50.745Z] ========================================================= [2023-03-15T21:26:50.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-15T21:26:50.745Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:26:51.116Z] + 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 . [2023-03-15T21:26:52.086Z] Sending build context to Docker daemon 5.854MB [2023-03-15T21:26:52.086Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T21:26:52.086Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T21:26:52.366Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T21:26:52.366Z] 9b18e9b68314: Pulling fs layer [2023-03-15T21:26:52.366Z] 35d82f9e3411: Pulling fs layer [2023-03-15T21:26:52.366Z] e16973657156: Pulling fs layer [2023-03-15T21:26:52.366Z] fc693d55d65f: Pulling fs layer [2023-03-15T21:26:52.366Z] 7e9fc2657dce: Pulling fs layer [2023-03-15T21:26:52.366Z] dda99020689f: Pulling fs layer [2023-03-15T21:26:52.366Z] db1c61fa0a46: Pulling fs layer [2023-03-15T21:26:52.366Z] 891c053d2c06: Pulling fs layer [2023-03-15T21:26:52.366Z] fc693d55d65f: Waiting [2023-03-15T21:26:52.366Z] 7e9fc2657dce: Waiting [2023-03-15T21:26:52.366Z] dda99020689f: Waiting [2023-03-15T21:26:52.366Z] db1c61fa0a46: Waiting [2023-03-15T21:26:52.366Z] 891c053d2c06: Waiting [2023-03-15T21:26:52.366Z] e16973657156: Verifying Checksum [2023-03-15T21:26:52.366Z] e16973657156: Download complete [2023-03-15T21:26:52.366Z] 35d82f9e3411: Verifying Checksum [2023-03-15T21:26:52.366Z] 35d82f9e3411: Download complete [2023-03-15T21:26:52.366Z] 7e9fc2657dce: Verifying Checksum [2023-03-15T21:26:52.366Z] 7e9fc2657dce: Download complete [2023-03-15T21:26:52.366Z] dda99020689f: Verifying Checksum [2023-03-15T21:26:52.366Z] dda99020689f: Download complete [2023-03-15T21:26:52.366Z] 9b18e9b68314: Verifying Checksum [2023-03-15T21:26:52.366Z] 9b18e9b68314: Download complete [2023-03-15T21:26:53.358Z] 9b18e9b68314: Pull complete [2023-03-15T21:26:53.630Z] 891c053d2c06: Verifying Checksum [2023-03-15T21:26:53.630Z] 891c053d2c06: Download complete [2023-03-15T21:26:53.906Z] 35d82f9e3411: Pull complete [2023-03-15T21:26:54.177Z] e16973657156: Pull complete [2023-03-15T21:26:54.764Z] db1c61fa0a46: Verifying Checksum [2023-03-15T21:26:54.764Z] db1c61fa0a46: Download complete [2023-03-15T21:26:55.350Z] fc693d55d65f: Download complete [2023-03-15T21:27:07.685Z] fc693d55d65f: Pull complete [2023-03-15T21:27:07.685Z] 7e9fc2657dce: Pull complete [2023-03-15T21:27:07.685Z] dda99020689f: Pull complete [2023-03-15T21:27:14.370Z] db1c61fa0a46: Pull complete [2023-03-15T21:27:15.795Z] 891c053d2c06: Pull complete [2023-03-15T21:27:15.795Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-15T21:27:15.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-15T21:27:15.795Z] ---> f96f9c87975a [2023-03-15T21:27:15.795Z] Step 3/10 : ARG MAKE=make build [2023-03-15T21:27:17.748Z] ---> Running in 0999abbf311f [2023-03-15T21:27:18.016Z] Removing intermediate container 0999abbf311f [2023-03-15T21:27:18.016Z] ---> 2f8fbfe5736d [2023-03-15T21:27:18.016Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T21:27:18.016Z] ---> Running in afc9fc18fa11 [2023-03-15T21:27:18.306Z] Removing intermediate container afc9fc18fa11 [2023-03-15T21:27:18.306Z] ---> 71cee0372608 [2023-03-15T21:27:18.306Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:27:18.576Z] ---> Running in d95225209e19 [2023-03-15T21:27:18.845Z] Removing intermediate container d95225209e19 [2023-03-15T21:27:18.845Z] ---> 071b6faa8560 [2023-03-15T21:27:18.845Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-15T21:27:18.845Z] ---> Running in 71dcff0e4905 [2023-03-15T21:27:20.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-15T21:27:20.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-15T21:27:21.233Z] OK: 221 MiB in 51 packages [2023-03-15T21:27:22.197Z] Removing intermediate container 71dcff0e4905 [2023-03-15T21:27:22.197Z] ---> 76e40a203832 [2023-03-15T21:27:22.197Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T21:27:22.487Z] ---> ff2135279083 [2023-03-15T21:27:22.487Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T21:27:22.487Z] ---> Running in 6ca3d77f6384 [2023-03-15T21:28:18.898Z] Removing intermediate container 6ca3d77f6384 [2023-03-15T21:28:18.898Z] ---> f7969fc0cce4 [2023-03-15T21:28:18.898Z] Step 9/10 : COPY . . [2023-03-15T21:28:18.898Z] ---> 4ba0858341ee [2023-03-15T21:28:18.898Z] Step 10/10 : RUN ${MAKE} [2023-03-15T21:28:18.898Z] ---> Running in c3f74ae52dd5 [2023-03-15T21:28:19.488Z] noop [2023-03-15T21:28:21.456Z] Removing intermediate container c3f74ae52dd5 [2023-03-15T21:28:21.456Z] ---> 88bab12464d9 [2023-03-15T21:28:21.456Z] Successfully built 88bab12464d9 [2023-03-15T21:28:21.456Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:28:21.811Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T21:28:21.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:28:22.030Z] prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container [2023-03-15T21:28:22.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T21:28:23.303Z] $ docker top e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T21:28:24.127Z] + go version [2023-03-15T21:28:24.127Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-15T21:28:24.152Z] $ docker stop --time=1 e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 [2023-03-15T21:28:25.758Z] $ docker rm -f --volumes e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:28:26.299Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T21:28:26.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:28:26.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container [2023-03-15T21:28:26.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T21:28:27.738Z] $ docker top 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T21:28:28.235Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-15T21:28:28.564Z] + make test [2023-03-15T21:28:28.564Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-15T21:29:00.821Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-15T21:31:07.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.571s coverage: 27.6% of statements [2023-03-15T21:31:07.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.527s coverage: 78.9% of statements [2023-03-15T21:31:07.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-15T21:31:12.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.729s coverage: 73.1% of statements [2023-03-15T21:31:12.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-15T21:31:12.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-15T21:31:17.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.595s coverage: 54.4% of statements [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-15T21:31:17.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.494s coverage: 65.1% of statements [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-15T21:31:17.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.908s coverage: 89.2% of statements [2023-03-15T21:31:17.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-15T21:31:21.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements [2023-03-15T21:31:21.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-15T21:31:21.675Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T21:31:21.675Z] GO111MODULE=on go vet ./... [2023-03-15T21:33:13.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T21:33:13.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T21:33:13.345Z] ./bin/test-attribution-txt.sh [2023-03-15T21:33:13.345Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-15T21:33:13.345Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-15T21:33:13.345Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-15T21:33:13.345Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-15T21:33:13.361Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T21:33:13.378Z] $ docker stop --time=1 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 [2023-03-15T21:33:15.211Z] $ docker rm -f --volumes 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T21:33:16.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T21:33:16.665Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T21:33:17.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T21:33:17.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T21:33:21.235Z] + ls -al . [2023-03-15T21:33:21.235Z] total 276 [2023-03-15T21:33:21.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 21:28 . [2023-03-15T21:33:21.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:26 .. [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 21:26 .dockerignore [2023-03-15T21:33:21.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:26 .git [2023-03-15T21:33:21.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:26 .github [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 21:26 .gitignore [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 21:26 .golangci.yml [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 31944 Mar 15 21:26 CHANGELOG.md [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:26 GOVERNANCE.md [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 21:26 Jenkinsfile [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 21:26 LICENSE [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 21:26 Makefile [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 21:26 OWNERS.md [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 21:26 README.md [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:22 VERSION [2023-03-15T21:33:21.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:26 bin [2023-03-15T21:33:21.235Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 21:31 coverage.out [2023-03-15T21:33:21.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:26 example [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 21:26 go.mod [2023-03-15T21:33:21.235Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 21:26 go.sum [2023-03-15T21:33:21.236Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 21:26 internal [2023-03-15T21:33:21.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:26 openapi [2023-03-15T21:33:21.236Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 21:26 pkg [2023-03-15T21:33:21.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:26 snap [2023-03-15T21:33:21.236Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 21:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:33:21.577Z] + 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=004d75f85e58af59dc84fb56a49efa5c62926634 --label arch=arm64 --label version=0.0.0 . [2023-03-15T21:33:21.863Z] Sending build context to Docker daemon 5.956MB [2023-03-15T21:33:22.146Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T21:33:22.146Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T21:33:22.146Z] ---> 88bab12464d9 [2023-03-15T21:33:22.146Z] Step 3/23 : ARG MAKE=make build [2023-03-15T21:33:22.146Z] ---> Running in 5bc7f64e7fed [2023-03-15T21:33:22.421Z] Removing intermediate container 5bc7f64e7fed [2023-03-15T21:33:22.421Z] ---> 8971621068c8 [2023-03-15T21:33:22.421Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T21:33:22.688Z] ---> Running in 72a9af147080 [2023-03-15T21:33:22.957Z] Removing intermediate container 72a9af147080 [2023-03-15T21:33:22.957Z] ---> 513d2db92b4d [2023-03-15T21:33:22.957Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:33:22.957Z] ---> Running in b697d186c8ba [2023-03-15T21:33:23.226Z] Removing intermediate container b697d186c8ba [2023-03-15T21:33:23.226Z] ---> 801c8e183732 [2023-03-15T21:33:23.226Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-15T21:33:23.226Z] ---> Running in 0fb76a30d8ef [2023-03-15T21:33:24.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-15T21:33:24.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-15T21:33:26.069Z] OK: 221 MiB in 51 packages [2023-03-15T21:33:26.653Z] Removing intermediate container 0fb76a30d8ef [2023-03-15T21:33:26.653Z] ---> 2fda1de476e8 [2023-03-15T21:33:26.653Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T21:33:27.236Z] ---> 8c38c5540479 [2023-03-15T21:33:27.236Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T21:33:27.236Z] ---> Running in 6b997e241783 [2023-03-15T21:33:29.179Z] Removing intermediate container 6b997e241783 [2023-03-15T21:33:29.179Z] ---> b328efb7a235 [2023-03-15T21:33:29.179Z] Step 9/23 : COPY . . [2023-03-15T21:33:30.599Z] ---> 067d20c1cf51 [2023-03-15T21:33:30.599Z] Step 10/23 : RUN ${MAKE} [2023-03-15T21:33:30.599Z] ---> Running in 7055852aefe0 [2023-03-15T21:33:31.568Z] 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 [2023-03-15T21:35:53.257Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-15T21:35:53.257Z] Removing intermediate container 7055852aefe0 [2023-03-15T21:35:53.257Z] ---> c95b4eafeda4 [2023-03-15T21:35:53.257Z] Step 11/23 : FROM alpine:3.16 [2023-03-15T21:35:53.257Z] 3.16: Pulling from library/alpine [2023-03-15T21:35:53.257Z] 3760b48202b3: Pulling fs layer [2023-03-15T21:35:53.257Z] 3760b48202b3: Verifying Checksum [2023-03-15T21:35:53.257Z] 3760b48202b3: Download complete [2023-03-15T21:35:53.535Z] 3760b48202b3: Pull complete [2023-03-15T21:35:53.535Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-15T21:35:53.535Z] Status: Downloaded newer image for alpine:3.16 [2023-03-15T21:35:53.535Z] ---> 4c81e5bf8899 [2023-03-15T21:35:53.535Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T21:35:53.806Z] ---> Running in 8a6aeebdf28c [2023-03-15T21:35:54.082Z] Removing intermediate container 8a6aeebdf28c [2023-03-15T21:35:54.082Z] ---> 1fa50154d99b [2023-03-15T21:35:54.082Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-15T21:35:54.082Z] ---> Running in 8df044e263fa [2023-03-15T21:35:55.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-15T21:35:55.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-15T21:35:56.602Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-15T21:35:56.602Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-15T21:35:56.602Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-15T21:35:56.602Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-15T21:35:56.602Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-15T21:35:56.602Z] Executing busybox-1.35.0-r17.trigger [2023-03-15T21:35:56.602Z] OK: 8 MiB in 19 packages [2023-03-15T21:35:57.565Z] Removing intermediate container 8df044e263fa [2023-03-15T21:35:57.566Z] ---> af1a6c076556 [2023-03-15T21:35:57.566Z] Step 14/23 : WORKDIR / [2023-03-15T21:35:57.834Z] ---> Running in 5e6014bb8f21 [2023-03-15T21:35:58.102Z] Removing intermediate container 5e6014bb8f21 [2023-03-15T21:35:58.102Z] ---> 2d016a00e1a6 [2023-03-15T21:35:58.102Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T21:35:58.687Z] ---> f434559f47c8 [2023-03-15T21:35:58.687Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T21:36:00.099Z] ---> 69ef5fd1e60c [2023-03-15T21:36:00.099Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T21:36:00.365Z] ---> c1d58bfff636 [2023-03-15T21:36:00.365Z] Step 18/23 : EXPOSE 59999 [2023-03-15T21:36:00.632Z] ---> Running in db19ead3021a [2023-03-15T21:36:00.899Z] Removing intermediate container db19ead3021a [2023-03-15T21:36:00.899Z] ---> 84054a38c34c [2023-03-15T21:36:00.899Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T21:36:00.899Z] ---> Running in e7d6da7e5bba [2023-03-15T21:36:01.167Z] Removing intermediate container e7d6da7e5bba [2023-03-15T21:36:01.167Z] ---> 8a968d7da866 [2023-03-15T21:36:01.167Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-15T21:36:01.435Z] ---> Running in 3f0089da6120 [2023-03-15T21:36:01.702Z] Removing intermediate container 3f0089da6120 [2023-03-15T21:36:01.702Z] ---> c1f10702736a [2023-03-15T21:36:01.702Z] Step 21/23 : LABEL arch=arm64 [2023-03-15T21:36:01.702Z] ---> Running in ddd93800857f [2023-03-15T21:36:01.969Z] Removing intermediate container ddd93800857f [2023-03-15T21:36:01.969Z] ---> adb1adf71b4a [2023-03-15T21:36:01.969Z] Step 22/23 : LABEL git_sha=004d75f85e58af59dc84fb56a49efa5c62926634 [2023-03-15T21:36:02.236Z] ---> Running in b4954103a150 [2023-03-15T21:36:02.519Z] Removing intermediate container b4954103a150 [2023-03-15T21:36:02.519Z] ---> 8870b5328fdd [2023-03-15T21:36:02.519Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T21:36:02.519Z] ---> Running in 270b52f8b15e [2023-03-15T21:36:02.786Z] Removing intermediate container 270b52f8b15e [2023-03-15T21:36:02.786Z] ---> f17c7c37bbc4 [2023-03-15T21:36:02.786Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T21:36:02.786Z] Successfully built f17c7c37bbc4 [2023-03-15T21:36:02.786Z] 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 [2023-03-15T21:36:03.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T21:36:03.205Z] [2023-03-15T21:36:03.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:36:03.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T21:36:03.540Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T21:36:03.540Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T21:36:03.540Z] 04944245beec: Pulling fs layer [2023-03-15T21:36:03.540Z] 699f458cf7ca: Pulling fs layer [2023-03-15T21:36:03.540Z] 765212b225bb: Pulling fs layer [2023-03-15T21:36:03.540Z] f23df028b6ca: Pulling fs layer [2023-03-15T21:36:03.540Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T21:36:03.540Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T21:36:03.540Z] 765212b225bb: Waiting [2023-03-15T21:36:03.540Z] d65c8cfc05b1: Waiting [2023-03-15T21:36:03.540Z] 2437ff75d9bd: Waiting [2023-03-15T21:36:03.540Z] f23df028b6ca: Waiting [2023-03-15T21:36:03.811Z] 04944245beec: Verifying Checksum [2023-03-15T21:36:03.811Z] 04944245beec: Download complete [2023-03-15T21:36:03.811Z] 765212b225bb: Verifying Checksum [2023-03-15T21:36:03.811Z] 765212b225bb: Download complete [2023-03-15T21:36:03.811Z] f23df028b6ca: Verifying Checksum [2023-03-15T21:36:03.811Z] f23df028b6ca: Download complete [2023-03-15T21:36:03.811Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T21:36:03.811Z] d65c8cfc05b1: Download complete [2023-03-15T21:36:04.079Z] 699f458cf7ca: Verifying Checksum [2023-03-15T21:36:04.079Z] 699f458cf7ca: Download complete [2023-03-15T21:36:04.350Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T21:36:04.350Z] 8998bd30e6a1: Download complete [2023-03-15T21:36:06.946Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T21:36:06.947Z] 2437ff75d9bd: Download complete [2023-03-15T21:36:08.365Z] 8998bd30e6a1: Pull complete [2023-03-15T21:36:08.950Z] 04944245beec: Pull complete [2023-03-15T21:36:10.367Z] 699f458cf7ca: Pull complete [2023-03-15T21:36:10.636Z] 765212b225bb: Pull complete [2023-03-15T21:36:11.220Z] f23df028b6ca: Pull complete [2023-03-15T21:36:11.490Z] d65c8cfc05b1: Pull complete [2023-03-15T21:36:26.498Z] 2437ff75d9bd: Pull complete [2023-03-15T21:36:26.498Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T21:36:26.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T21:36:26.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:36:26.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container [2023-03-15T21:36:26.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T21:36:29.596Z] $ docker top 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:30.456Z] ---> job-cost.sh [2023-03-15T21:36:30.456Z] lf-activate-venv: SKIPPING [2023-03-15T21:36:30.456Z] INFO: No Stack... [2023-03-15T21:36:31.040Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T21:36:31.999Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T21:36:32.317Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-15T21:36:32.317Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T21:36:32.639Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [2023-03-15T21:36:32.646Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] did not exist. Created. [2023-03-15T21:36:32.646Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T21:36:32.986Z] /w/workspace/device-sdk-go/2@tmp/durable-a6b30fd1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T21:36:33.582Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T21:36:33.606Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T21:36:33.665Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T21:36:33.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T21:36:33.701Z] $ docker stop --time=1 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 [2023-03-15T21:36:35.221Z] $ docker rm -f --volumes 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 [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 [2023-03-15T21:36:35.611Z] provisioning config files... [2023-03-15T21:36:35.618Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config11647537195472181462tmp [Pipeline] { [Pipeline] sh [2023-03-15T21:36:35.906Z] + set +x [2023-03-15T21:36:35.906Z] + curl -s+ https://codecov.io/bash [2023-03-15T21:36:35.906Z] bash -s -- [2023-03-15T21:36:35.906Z] [2023-03-15T21:36:35.906Z] _____ _ [2023-03-15T21:36:35.906Z] / ____| | | [2023-03-15T21:36:35.906Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T21:36:35.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T21:36:35.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T21:36:35.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T21:36:35.906Z] Bash-1.0.6 [2023-03-15T21:36:35.906Z] [2023-03-15T21:36:35.906Z] [2023-03-15T21:36:35.906Z] ==> git version 2.25.1 found [2023-03-15T21:36:35.906Z] ==> 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 [2023-03-15T21:36:35.906Z] Release-Date: 2020-01-08 [2023-03-15T21:36:35.906Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T21:36:35.906Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T21:36:35.906Z] ==> Jenkins CI detected. [2023-03-15T21:36:35.906Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1388 [2023-03-15T21:36:35.906Z] project root: . [2023-03-15T21:36:35.906Z] --> token set from env [2023-03-15T21:36:35.906Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T21:36:35.906Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T21:36:35.906Z] ==> Python coveragepy not found [2023-03-15T21:36:35.906Z] ==> Searching for coverage reports in: [2023-03-15T21:36:35.906Z] + . [2023-03-15T21:36:35.906Z] -> Found 1 reports [2023-03-15T21:36:35.906Z] ==> Detecting git/mercurial file structure [2023-03-15T21:36:35.906Z] ==> Reading reports [2023-03-15T21:36:35.906Z] + ./coverage.out bytes=101840 [2023-03-15T21:36:35.906Z] ==> Appending adjustments [2023-03-15T21:36:35.906Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T21:36:36.164Z] + Found adjustments [2023-03-15T21:36:36.422Z] ==> Gzipping contents [2023-03-15T21:36:36.422Z] 16K /tmp/codecov.uNFBqN.gz [2023-03-15T21:36:36.422Z] ==> Uploading reports [2023-03-15T21:36:36.422Z] url: https://codecov.io [2023-03-15T21:36:36.422Z] query: branch=PR-1388&commit=004d75f85e58af59dc84fb56a49efa5c62926634&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= [2023-03-15T21:36:36.422Z] -> Pinging Codecov [2023-03-15T21:36:36.422Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1388&commit=004d75f85e58af59dc84fb56a49efa5c62926634&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= [2023-03-15T21:36:36.422Z] -> Uploading to [2023-03-15T21:36:36.423Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/004d75f85e58af59dc84fb56a49efa5c62926634/b25e6fe6-ec1b-4e6a-8a6c-4b83f8139d42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T213636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e160d2eb990a9847802aeb1f6263a68738a17ba29ea6f7a9ebaf75a3e9228c72 [2023-03-15T21:36:36.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T21:36:36.423Z] Dload Upload Total Spent Left Speed [2023-03-15T21:36:36.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14695 0 0 100 14695 0 63891 --:--:-- --:--:-- --:--:-- 64170 [2023-03-15T21:36:36.681Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] } [2023-03-15T21:36:36.687Z] 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 [2023-03-15T21:36:37.387Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives ] [2023-03-15T21:36:37.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives [2023-03-15T21:36:37.387Z] total 16 [2023-03-15T21:36:37.387Z] drwxr-xr-x 3 root root 4096 Mar 15 21:24 . [2023-03-15T21:36:37.387Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:24 .. [2023-03-15T21:36:37.387Z] drwxr-xr-x 2 root root 4096 Mar 15 21:24 cost [2023-03-15T21:36:37.387Z] -rw-r--r-- 1 root root 86 Mar 15 21:24 cost.csv [2023-03-15T21:36:37.387Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives [2023-03-15T21:36:37.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives [2023-03-15T21:36:37.387Z] total 16 [2023-03-15T21:36:37.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:24 . [2023-03-15T21:36:37.387Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:24 .. [2023-03-15T21:36:37.387Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 21:24 cost [2023-03-15T21:36:37.387Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:37.672Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:38.522Z] ---> package-listing.sh [2023-03-15T21:36:38.522Z] ++ facter osfamily [2023-03-15T21:36:38.522Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T21:36:38.522Z] + OS_FAMILY=debian [2023-03-15T21:36:38.522Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1388 [2023-03-15T21:36:38.522Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T21:36:38.522Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T21:36:38.522Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T21:36:38.522Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T21:36:38.522Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' [2023-03-15T21:36:38.522Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T21:36:38.522Z] + case "${OS_FAMILY}" in [2023-03-15T21:36:38.522Z] + dpkg -l [2023-03-15T21:36:38.522Z] + grep '^ii' [2023-03-15T21:36:38.781Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T21:36:38.781Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T21:36:38.781Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T21:36:38.781Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' [2023-03-15T21:36:38.781Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ [2023-03-15T21:36:38.781Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ [Pipeline] echo [2023-03-15T21:36:38.790Z] 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-1388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T21:36:39.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T21:36:39.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T21:36:39.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T21:36:39.678Z] prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container [2023-03-15T21:36:39.703Z] $ 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-1388/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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@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 [2023-03-15T21:36:39.918Z] $ docker top b9b38103e89487e8dbd8523e78d55fe3e5d438103538c1b49e63fc4b97318ea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T21:36:40.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T21:36:40.540Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T21:36:40.824Z] + ls /var/log/sa-host [2023-03-15T21:36:40.825Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T21:36:40.998Z] provisioning config files... [2023-03-15T21:36:41.007Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config17633372718389514840tmp [Pipeline] { [Pipeline] echo [2023-03-15T21:36:41.022Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:41.304Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T21:36:41.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:41.651Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T21:36:41.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:41.944Z] ---> sudo-logs.sh [2023-03-15T21:36:41.944Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T21:36:41.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:42.259Z] ---> job-cost.sh [2023-03-15T21:36:42.259Z] lf-activate-venv: SKIPPING [2023-03-15T21:36:42.259Z] DEBUG: total: 0.2199999988079071 [2023-03-15T21:36:42.259Z] INFO: Retrieving Stack Cost... [2023-03-15T21:36:42.518Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T21:36:43.086Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T21:36:43.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T21:36:43.377Z] ---> logs-deploy.sh [2023-03-15T21:36:43.377Z] lf-activate-venv: SKIPPING [2023-03-15T21:36:43.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1388/2 [2023-03-15T21:36:43.377Z] INFO: archiving workspace using pattern(s): [2023-03-15T21:36:44.315Z] Archives upload complete. [2023-03-15T21:36:44.315Z] INFO: archiving logs to Nexus