Branch indexing 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 rather than 7be4a1db85f1bf1c2d503463fb528c564abf3216 Obtained Jenkinsfile from b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 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-ssh4947846237490487424.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1771579362415683787.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1335/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-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6141480209902646815.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4883881640825425352.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-1335/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-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13895935517379594167.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, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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/v3 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-7279 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [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-1335 # 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/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 Merge succeeded, producing 294b38de005242430c1f5bb7a38b4a13fc6e7301 Checking out Revision 294b38de005242430c1f5bb7a38b4a13fc6e7301 (PR-1335) > git config core.sparsecheckout # timeout=10 > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # 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 b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 294b38de005242430c1f5bb7a38b4a13fc6e7301 # timeout=10 Commit message: "Merge commit 'b7afc2aba7a1c5861c6c21c42b42dc1283ea5949' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-23T18:42:30.402Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-23T18:42:30.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-23T18:42:30.466Z] ========================================================= [2023-02-23T18:42:30.466Z] EdgeX Global Pipelines Version Info [2023-02-23T18:42:30.466Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 # timeout=10 [2023-02-23T18:42:31.205Z] ------------------- [2023-02-23T18:42:31.205Z] stable info: [2023-02-23T18:42:31.205Z] ------------------- [2023-02-23T18:42:31.205Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-23T18:42:31.205Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T18:42:31.205Z] Message: update stable to v1.0.244 [2023-02-23T18:42:31.777Z] ------------------- [2023-02-23T18:42:31.777Z] experimental info: [2023-02-23T18:42:31.777Z] ------------------- [2023-02-23T18:42:31.777Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-23T18:42:31.777Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T18:42:31.777Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-23T18:42:31.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-23T18:42:31.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-23T18:42:31.958Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-23T18:42:31.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-23T18:42:31.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-23T18:42:31.996Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-23T18:42:32.009Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-23T18:42:32.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-23T18:42:32.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-23T18:42:32.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-23T18:42:32.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-23T18:42:32.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-23T18:42:32.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-23T18:42:32.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-23T18:42:32.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T18:42:32.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T18:42:32.139Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T18:42:32.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T18:42:32.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-23T18:42:32.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-23T18:42:32.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-23T18:42:32.203Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-23T18:42:32.217Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-23T18:42:32.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-23T18:42:32.243Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-23T18:42:32.255Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-23T18:42:32.270Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-23T18:42:32.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1335 [Pipeline] echo [2023-02-23T18:42:32.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1335 [Pipeline] echo [2023-02-23T18:42:32.312Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1335 [Pipeline] echo [2023-02-23T18:42:32.326Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 294b38de005242430c1f5bb7a38b4a13fc6e7301 [Pipeline] echo [2023-02-23T18:42:32.343Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 294b38d [Pipeline] echo [2023-02-23T18:42:32.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T18:42:32.397Z] provisioning config files... [2023-02-23T18:42:32.411Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config12392891554385473434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:42:32.712Z] ---> docker-login.sh [2023-02-23T18:42:32.712Z] nexus3.edgexfoundry.org:10001 [2023-02-23T18:42:32.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:32.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:32.971Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:32.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:32.971Z] [2023-02-23T18:42:32.971Z] Login Succeeded [2023-02-23T18:42:32.971Z] nexus3.edgexfoundry.org:10002 [2023-02-23T18:42:32.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:32.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:32.972Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:32.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:32.972Z] [2023-02-23T18:42:32.972Z] Login Succeeded [2023-02-23T18:42:32.972Z] nexus3.edgexfoundry.org:10003 [2023-02-23T18:42:33.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:33.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:33.232Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:33.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:33.232Z] [2023-02-23T18:42:33.232Z] Login Succeeded [2023-02-23T18:42:33.232Z] nexus3.edgexfoundry.org:10004 [2023-02-23T18:42:33.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:33.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:33.232Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:33.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:33.232Z] [2023-02-23T18:42:33.232Z] Login Succeeded [2023-02-23T18:42:33.232Z] docker.io [2023-02-23T18:42:33.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:33.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:33.492Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:33.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:33.492Z] [2023-02-23T18:42:33.492Z] Login Succeeded [2023-02-23T18:42:33.753Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T18:42:33.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-23T18:42:34.121Z] + git rev-list -1 --merges 294b38de005242430c1f5bb7a38b4a13fc6e7301~1..294b38de005242430c1f5bb7a38b4a13fc6e7301 [Pipeline] echo [2023-02-23T18:42:34.167Z] -----------> git rev-list -1 --merges 294b38de005242430c1f5bb7a38b4a13fc6e7301~1..294b38de005242430c1f5bb7a38b4a13fc6e7301 294b38de005242430c1f5bb7a38b4a13fc6e7301 [2023-02-23T18:42:34.167Z] 294b38de005242430c1f5bb7a38b4a13fc6e7301 [false] [Pipeline] sh [2023-02-23T18:42:34.455Z] + git log --format=format:%s -1 294b38de005242430c1f5bb7a38b4a13fc6e7301 [Pipeline] echo [2023-02-23T18:42:34.470Z] ========================================================= [2023-02-23T18:42:34.470Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-23T18:42:34.470Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T18:42:34.786Z] + git log --format=format:%s -1 294b38de005242430c1f5bb7a38b4a13fc6e7301 [Pipeline] echo [2023-02-23T18:42:34.797Z] [semverPrep] GIT_COMMIT: 294b38de005242430c1f5bb7a38b4a13fc6e7301, Commit Message: Merge commit 'b7afc2aba7a1c5861c6c21c42b42dc1283ea5949' into HEAD [Pipeline] echo [2023-02-23T18:42:34.809Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-23T18:42:35.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-23T18:42:35.167Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-23T18:42:35.167Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-23T18:42:35.167Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-23T18:42:35.167Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-23T18:42:35.167Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-23T18:42:35.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:42:35.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T18:42:35.525Z] [2023-02-23T18:42:35.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:42:35.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T18:42:35.838Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-23T18:42:35.838Z] b85a868b505f: Pulling fs layer [2023-02-23T18:42:35.838Z] e2be974225ed: Pulling fs layer [2023-02-23T18:42:35.838Z] 339a4e72a1f5: Pulling fs layer [2023-02-23T18:42:35.838Z] 988bab9f4d93: Pulling fs layer [2023-02-23T18:42:35.838Z] 1469e6f7b9e6: Pulling fs layer [2023-02-23T18:42:35.838Z] eaf3925da568: Pulling fs layer [2023-02-23T18:42:35.838Z] bab4dde63d76: Pulling fs layer [2023-02-23T18:42:35.838Z] bde34c3a00c8: Pulling fs layer [2023-02-23T18:42:35.838Z] b352a97aabf1: Pulling fs layer [2023-02-23T18:42:35.838Z] 4872d77fe225: Pulling fs layer [2023-02-23T18:42:35.838Z] 5851b861e8e6: Pulling fs layer [2023-02-23T18:42:35.838Z] bde34c3a00c8: Waiting [2023-02-23T18:42:35.838Z] 1469e6f7b9e6: Waiting [2023-02-23T18:42:35.838Z] eaf3925da568: Waiting [2023-02-23T18:42:35.838Z] bab4dde63d76: Waiting [2023-02-23T18:42:35.838Z] b352a97aabf1: Waiting [2023-02-23T18:42:35.838Z] 4872d77fe225: Waiting [2023-02-23T18:42:35.838Z] 988bab9f4d93: Waiting [2023-02-23T18:42:35.838Z] 5851b861e8e6: Waiting [2023-02-23T18:42:35.838Z] e2be974225ed: Download complete [2023-02-23T18:42:35.838Z] 988bab9f4d93: Download complete [2023-02-23T18:42:36.101Z] 1469e6f7b9e6: Download complete [2023-02-23T18:42:36.101Z] eaf3925da568: Download complete [2023-02-23T18:42:36.101Z] 339a4e72a1f5: Verifying Checksum [2023-02-23T18:42:36.101Z] 339a4e72a1f5: Download complete [2023-02-23T18:42:36.101Z] bde34c3a00c8: Download complete [2023-02-23T18:42:36.101Z] b352a97aabf1: Download complete [2023-02-23T18:42:36.101Z] 4872d77fe225: Verifying Checksum [2023-02-23T18:42:36.101Z] 4872d77fe225: Download complete [2023-02-23T18:42:36.101Z] 5851b861e8e6: Download complete [2023-02-23T18:42:36.101Z] b85a868b505f: Verifying Checksum [2023-02-23T18:42:36.101Z] b85a868b505f: Download complete [2023-02-23T18:42:36.667Z] bab4dde63d76: Verifying Checksum [2023-02-23T18:42:36.667Z] bab4dde63d76: Download complete [2023-02-23T18:42:37.606Z] b85a868b505f: Pull complete [2023-02-23T18:42:37.606Z] e2be974225ed: Pull complete [2023-02-23T18:42:37.867Z] 339a4e72a1f5: Pull complete [2023-02-23T18:42:38.127Z] 988bab9f4d93: Pull complete [2023-02-23T18:42:38.387Z] 1469e6f7b9e6: Pull complete [2023-02-23T18:42:38.387Z] eaf3925da568: Pull complete [2023-02-23T18:42:40.295Z] bab4dde63d76: Pull complete [2023-02-23T18:42:40.295Z] bde34c3a00c8: Pull complete [2023-02-23T18:42:40.556Z] b352a97aabf1: Pull complete [2023-02-23T18:42:40.556Z] 4872d77fe225: Pull complete [2023-02-23T18:42:40.556Z] 5851b861e8e6: Pull complete [2023-02-23T18:42:40.556Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-23T18:42:40.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T18:42:40.556Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:42:40.652Z] prd-ubuntu20.04-docker-8c-8g-7279 does not seem to be running inside a container [2023-02-23T18:42:40.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-23T18:42:42.359Z] $ docker top f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf -eo pid,comm [2023-02-23T18:42:42.404Z] 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-02-23T18:42:42.404Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-23T18:42:42.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T18:42:42.443Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T18:42:42.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T18:42:42.572Z] $ docker exec f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf ssh-agent [2023-02-23T18:42:42.694Z] SSH_AUTH_SOCK=/tmp/ssh-pUSpgAt3waV3/agent.34 [2023-02-23T18:42:42.694Z] SSH_AGENT_PID=40 [2023-02-23T18:42:42.701Z] Running ssh-add (command line suppressed) [2023-02-23T18:42:42.803Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3521154675892188714.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3521154675892188714.key) [2023-02-23T18:42:42.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T18:42:43.104Z] + git tag --points-at HEAD [Pipeline] } [2023-02-23T18:42:43.124Z] $ docker exec --env ******** --env ******** f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf ssh-agent -k [2023-02-23T18:42:43.225Z] unset SSH_AUTH_SOCK; [2023-02-23T18:42:43.225Z] unset SSH_AGENT_PID; [2023-02-23T18:42:43.226Z] echo Agent pid 40 killed; [2023-02-23T18:42:43.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-23T18:42:43.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T18:42:43.256Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T18:42:43.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T18:42:43.382Z] $ docker exec f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf ssh-agent [2023-02-23T18:42:43.498Z] SSH_AUTH_SOCK=/tmp/ssh-Jf4XFNBQyPmo/agent.73 [2023-02-23T18:42:43.498Z] SSH_AGENT_PID=80 [2023-02-23T18:42:43.502Z] Running ssh-add (command line suppressed) [2023-02-23T18:42:43.618Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_12036574995381756559.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_12036574995381756559.key) [2023-02-23T18:42:43.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T18:42:43.934Z] + git semver init [2023-02-23T18:42:44.194Z] 2023-02-23 18:42:44,117 [run_init] DEBUG init version:0.0.0 force:False [2023-02-23T18:42:44.194Z] 2023-02-23 18:42:44,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-23T18:42:44.194Z] 2023-02-23 18:42:44,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-23T18:42:44.194Z] 2023-02-23 18:42:44,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335, universal_newlines=False, shell=None, istream=None) [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,119 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.git/info/exclude [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,120 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 with force:False [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,120 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,125 [execute] INFO git cat-file --batch-check [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,131 [execute] INFO git cat-file --batch [2023-02-23T18:42:45.133Z] 2023-02-23 18:42:45,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T18:42:45.394Z] 2023-02-23 18:42:45,137 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-23T18:42:45.394Z] 0.0.0 [Pipeline] } [2023-02-23T18:42:45.406Z] $ docker exec --env ******** --env ******** f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf ssh-agent -k [2023-02-23T18:42:45.498Z] unset SSH_AUTH_SOCK; [2023-02-23T18:42:45.498Z] unset SSH_AGENT_PID; [2023-02-23T18:42:45.498Z] echo Agent pid 80 killed; [2023-02-23T18:42:45.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-23T18:42:45.805Z] + git semver [Pipeline] } [2023-02-23T18:42:46.081Z] $ docker stop --time=1 f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf [2023-02-23T18:42:47.446Z] $ docker rm -f --volumes f02d5e84f143d0eedf3965b0de2b437ea68fbc539dfacf2e6a8c7a93d106b5cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T18:42:47.782Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-23T18:42:47.987Z] Stashed 1 file(s) [Pipeline] echo [2023-02-23T18:42:47.990Z] [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-02-23T18:42:48.108Z] provisioning config files... [2023-02-23T18:42:48.118Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config9373490977169456902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:42:48.412Z] ---> docker-login.sh [2023-02-23T18:42:48.412Z] nexus3.edgexfoundry.org:10001 [2023-02-23T18:42:48.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:48.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:48.412Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:48.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:48.412Z] [2023-02-23T18:42:48.412Z] Login Succeeded [2023-02-23T18:42:48.412Z] nexus3.edgexfoundry.org:10002 [2023-02-23T18:42:48.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:48.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:48.412Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:48.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:48.412Z] [2023-02-23T18:42:48.412Z] Login Succeeded [2023-02-23T18:42:48.412Z] nexus3.edgexfoundry.org:10003 [2023-02-23T18:42:48.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:48.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:48.671Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:48.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:48.671Z] [2023-02-23T18:42:48.671Z] Login Succeeded [2023-02-23T18:42:48.671Z] nexus3.edgexfoundry.org:10004 [2023-02-23T18:42:48.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:48.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:48.671Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:48.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:48.671Z] [2023-02-23T18:42:48.671Z] Login Succeeded [2023-02-23T18:42:48.671Z] docker.io [2023-02-23T18:42:48.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:42:48.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:42:48.932Z] Configure a credential helper to remove this warning. See [2023-02-23T18:42:48.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:42:48.932Z] [2023-02-23T18:42:48.932Z] Login Succeeded [2023-02-23T18:42:48.932Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T18:42:48.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T18:42:48.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T18:42:49.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T18:42:49.019Z] ========================================================= [2023-02-23T18:42:49.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-23T18:42:49.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:42:49.351Z] + 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-02-23T18:42:49.351Z] Sending build context to Docker daemon 10.6MB [2023-02-23T18:42:49.351Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T18:42:49.351Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-23T18:42:49.351Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-23T18:42:49.351Z] 213ec9aee27d: Pulling fs layer [2023-02-23T18:42:49.351Z] 4583459ba037: Pulling fs layer [2023-02-23T18:42:49.351Z] 93c1e223e6f2: Pulling fs layer [2023-02-23T18:42:49.351Z] 53926ce57604: Pulling fs layer [2023-02-23T18:42:49.351Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-23T18:42:49.351Z] 22ff95d597cd: Pulling fs layer [2023-02-23T18:42:49.351Z] 12d6caf4c0d1: Pulling fs layer [2023-02-23T18:42:49.351Z] 96b7cbca73a9: Pulling fs layer [2023-02-23T18:42:49.351Z] a7acece74701: Pulling fs layer [2023-02-23T18:42:49.351Z] 12d6caf4c0d1: Waiting [2023-02-23T18:42:49.351Z] 53926ce57604: Waiting [2023-02-23T18:42:49.351Z] 21b2b0c7a3f4: Waiting [2023-02-23T18:42:49.351Z] 96b7cbca73a9: Waiting [2023-02-23T18:42:49.351Z] a7acece74701: Waiting [2023-02-23T18:42:49.351Z] 22ff95d597cd: Waiting [2023-02-23T18:42:49.351Z] 93c1e223e6f2: Verifying Checksum [2023-02-23T18:42:49.351Z] 93c1e223e6f2: Download complete [2023-02-23T18:42:49.351Z] 4583459ba037: Download complete [2023-02-23T18:42:49.351Z] 21b2b0c7a3f4: Download complete [2023-02-23T18:42:49.613Z] 22ff95d597cd: Download complete [2023-02-23T18:42:49.613Z] 213ec9aee27d: Verifying Checksum [2023-02-23T18:42:49.613Z] 213ec9aee27d: Download complete [2023-02-23T18:42:49.613Z] 12d6caf4c0d1: Verifying Checksum [2023-02-23T18:42:49.613Z] 12d6caf4c0d1: Download complete [2023-02-23T18:42:49.613Z] 213ec9aee27d: Pull complete [2023-02-23T18:42:49.884Z] 4583459ba037: Pull complete [2023-02-23T18:42:49.884Z] 93c1e223e6f2: Pull complete [2023-02-23T18:42:50.146Z] a7acece74701: Verifying Checksum [2023-02-23T18:42:50.146Z] a7acece74701: Download complete [2023-02-23T18:42:50.146Z] 96b7cbca73a9: Verifying Checksum [2023-02-23T18:42:50.146Z] 96b7cbca73a9: Download complete [2023-02-23T18:42:50.405Z] 53926ce57604: Verifying Checksum [2023-02-23T18:42:50.405Z] 53926ce57604: Download complete [2023-02-23T18:42:54.593Z] 53926ce57604: Pull complete [2023-02-23T18:42:54.593Z] 21b2b0c7a3f4: Pull complete [2023-02-23T18:42:54.593Z] 22ff95d597cd: Pull complete [2023-02-23T18:42:54.593Z] 12d6caf4c0d1: Pull complete [2023-02-23T18:42:56.494Z] 96b7cbca73a9: Pull complete [2023-02-23T18:42:57.062Z] a7acece74701: Pull complete [2023-02-23T18:42:57.062Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-23T18:42:57.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-23T18:42:57.062Z] ---> db6d94c90886 [2023-02-23T18:42:57.062Z] Step 3/10 : ARG MAKE=make build [2023-02-23T18:42:58.443Z] ---> Running in 5228ced02146 [2023-02-23T18:42:58.702Z] Removing intermediate container 5228ced02146 [2023-02-23T18:42:58.702Z] ---> e5651f50c23d [2023-02-23T18:42:58.702Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-23T18:42:58.702Z] ---> Running in 2dcd4ac80ad0 [2023-02-23T18:42:58.962Z] Removing intermediate container 2dcd4ac80ad0 [2023-02-23T18:42:58.962Z] ---> 697d57a23ef5 [2023-02-23T18:42:58.962Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-23T18:42:58.962Z] ---> Running in 62eec70fd1f0 [2023-02-23T18:42:58.962Z] Removing intermediate container 62eec70fd1f0 [2023-02-23T18:42:58.962Z] ---> 57790128ec26 [2023-02-23T18:42:58.962Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-23T18:42:58.962Z] ---> Running in 4bc6f6921809 [2023-02-23T18:42:59.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T18:42:59.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T18:42:59.739Z] OK: 211 MiB in 51 packages [2023-02-23T18:42:59.996Z] Removing intermediate container 4bc6f6921809 [2023-02-23T18:42:59.996Z] ---> 4b89c9f3c1d4 [2023-02-23T18:42:59.996Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-23T18:43:00.255Z] ---> 8dbcf97ce458 [2023-02-23T18:43:00.255Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T18:43:00.255Z] ---> Running in b05b9fb9e533 [2023-02-23T18:43:03.078Z] Still waiting to schedule task [2023-02-23T18:43:03.079Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7277’ [2023-02-23T18:43:26.821Z] Removing intermediate container b05b9fb9e533 [2023-02-23T18:43:26.821Z] ---> ab7586210879 [2023-02-23T18:43:26.821Z] Step 9/10 : COPY . . [2023-02-23T18:43:26.821Z] ---> 461d7e161e36 [2023-02-23T18:43:26.821Z] Step 10/10 : RUN ${MAKE} [2023-02-23T18:43:26.821Z] ---> Running in 1af056ae398e [2023-02-23T18:43:26.821Z] noop [2023-02-23T18:43:26.821Z] Removing intermediate container 1af056ae398e [2023-02-23T18:43:26.821Z] ---> dc2fd2aad2b7 [2023-02-23T18:43:26.821Z] Successfully built dc2fd2aad2b7 [2023-02-23T18:43:26.821Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:43:27.158Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T18:43:27.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:43:27.237Z] prd-ubuntu20.04-docker-8c-8g-7279 does not seem to be running inside a container [2023-02-23T18:43:27.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-x86_64 cat [2023-02-23T18:43:27.672Z] $ docker top 3b24d305930637683fd71acde2096f818098ec3bc3d0c9e866233012d6d3d2ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T18:43:28.054Z] + go version [2023-02-23T18:43:28.054Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-23T18:43:28.070Z] $ docker stop --time=1 3b24d305930637683fd71acde2096f818098ec3bc3d0c9e866233012d6d3d2ce [2023-02-23T18:43:29.384Z] $ docker rm -f --volumes 3b24d305930637683fd71acde2096f818098ec3bc3d0c9e866233012d6d3d2ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:43:29.780Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T18:43:29.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:43:29.855Z] prd-ubuntu20.04-docker-8c-8g-7279 does not seem to be running inside a container [2023-02-23T18:43:29.890Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-x86_64 cat [2023-02-23T18:43:30.251Z] $ docker top f1be8ad1296810340b37653738a0ad7236dd5a2f6f003809b65c3e9326d26918 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T18:43:30.613Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] fileExists [Pipeline] sh [2023-02-23T18:43:30.911Z] + make test [2023-02-23T18:43:30.911Z] go test -race -coverprofile=coverage.out ./... [2023-02-23T18:43:37.497Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-23T18:43:49.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-23T18:43:49.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-23T18:43:49.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-23T18:43:49.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-23T18:43:49.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-23T18:43:49.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-02-23T18:43:49.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.080s coverage: 78.9% of statements [2023-02-23T18:43:49.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-23T18:43:49.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 86.0% of statements [2023-02-23T18:43:49.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-23T18:43:49.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-23T18:43:50.519Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 75.0% of statements [2023-02-23T18:43:50.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-23T18:43:53.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.087s coverage: 15.3% of statements [2023-02-23T18:43:53.811Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-23T18:43:53.811Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements [2023-02-23T18:43:53.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-23T18:43:53.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-23T18:43:53.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.759s coverage: 89.2% of statements [2023-02-23T18:43:53.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-23T18:43:53.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-02-23T18:43:53.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-23T18:44:08.675Z] 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-02-23T18:44:08.676Z] GO111MODULE=on go vet ./... [2023-02-23T18:44:11.203Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T18:44:11.203Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T18:44:11.203Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-23T18:44:11.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T18:44:11.231Z] $ docker stop --time=1 f1be8ad1296810340b37653738a0ad7236dd5a2f6f003809b65c3e9326d26918 [2023-02-23T18:44:13.450Z] $ docker rm -f --volumes f1be8ad1296810340b37653738a0ad7236dd5a2f6f003809b65c3e9326d26918 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T18:44:13.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T18:44:13.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-23T18:44:14.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T18:44:14.782Z] + ls -al . [2023-02-23T18:44:14.782Z] total 284 [2023-02-23T18:44:14.782Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 18:43 . [2023-02-23T18:44:14.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 18:42 .. [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 18:42 .dockerignore [2023-02-23T18:44:14.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 18:43 .git [2023-02-23T18:44:14.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 18:42 .github [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 23 18:42 .gitignore [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 23 18:42 .golangci.yml [2023-02-23T18:44:14.782Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 18:42 .semver [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 23 18:42 CHANGELOG.md [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 18:42 GOVERNANCE.md [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 23 18:42 Jenkinsfile [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 18:42 LICENSE [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 23 18:42 Makefile [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 23 18:42 OWNERS.md [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 23 18:42 README.md [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 18:42 VERSION [2023-02-23T18:44:14.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 18:42 bin [2023-02-23T18:44:14.782Z] -rw-r--r-- 1 jenkins jenkins 111243 Feb 23 18:43 coverage.out [2023-02-23T18:44:14.782Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 18:42 example [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 23 18:42 go.mod [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 23 18:42 go.sum [2023-02-23T18:44:14.782Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 18:42 internal [2023-02-23T18:44:14.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 18:42 openapi [2023-02-23T18:44:14.782Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 23 18:42 pkg [2023-02-23T18:44:14.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 18:42 snap [2023-02-23T18:44:14.782Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:44:15.105Z] + 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=294b38de005242430c1f5bb7a38b4a13fc6e7301 --label arch=amd64 --label version=0.0.0 . [2023-02-23T18:44:15.105Z] Sending build context to Docker daemon 10.71MB [2023-02-23T18:44:15.105Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T18:44:15.105Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-23T18:44:15.105Z] ---> dc2fd2aad2b7 [2023-02-23T18:44:15.105Z] Step 3/23 : ARG MAKE=make build [2023-02-23T18:44:15.366Z] ---> Running in 930a9af620e8 [2023-02-23T18:44:15.625Z] Removing intermediate container 930a9af620e8 [2023-02-23T18:44:15.625Z] ---> 2f2a4102f8e0 [2023-02-23T18:44:15.625Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-23T18:44:15.884Z] ---> Running in b0564e660361 [2023-02-23T18:44:16.142Z] Removing intermediate container b0564e660361 [2023-02-23T18:44:16.142Z] ---> 1e9cd5e834ec [2023-02-23T18:44:16.142Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-23T18:44:16.142Z] ---> Running in ff70c9af0d63 [2023-02-23T18:44:16.425Z] Removing intermediate container ff70c9af0d63 [2023-02-23T18:44:16.425Z] ---> 7c2749a8b53a [2023-02-23T18:44:16.425Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-23T18:44:16.994Z] ---> Running in 487c91ffa934 [2023-02-23T18:44:17.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T18:44:17.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T18:44:17.772Z] OK: 211 MiB in 51 packages [2023-02-23T18:44:18.031Z] Removing intermediate container 487c91ffa934 [2023-02-23T18:44:18.031Z] ---> ae43b01d2d14 [2023-02-23T18:44:18.031Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-23T18:44:18.288Z] ---> b533fd24ed70 [2023-02-23T18:44:18.288Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T18:44:18.288Z] ---> Running in 80078c4ed01f [2023-02-23T18:44:19.223Z] Removing intermediate container 80078c4ed01f [2023-02-23T18:44:19.223Z] ---> 90e7cda3dcd8 [2023-02-23T18:44:19.223Z] Step 9/23 : COPY . . [2023-02-23T18:44:19.482Z] ---> 165f56bec737 [2023-02-23T18:44:19.482Z] Step 10/23 : RUN ${MAKE} [2023-02-23T18:44:19.482Z] ---> Running in 28d1b2986fa0 [2023-02-23T18:44:19.742Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-23T18:44:37.824Z] Removing intermediate container 28d1b2986fa0 [2023-02-23T18:44:37.824Z] ---> 23c9ea17ba79 [2023-02-23T18:44:37.824Z] Step 11/23 : FROM alpine:3.16 [2023-02-23T18:44:38.392Z] 3.16: Pulling from library/alpine [2023-02-23T18:44:38.392Z] ef5531b6e74e: Pulling fs layer [2023-02-23T18:44:38.392Z] ef5531b6e74e: Verifying Checksum [2023-02-23T18:44:38.392Z] ef5531b6e74e: Download complete [2023-02-23T18:44:38.652Z] ef5531b6e74e: Pull complete [2023-02-23T18:44:38.652Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T18:44:38.652Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T18:44:38.652Z] ---> dfd21b5a31f5 [2023-02-23T18:44:38.652Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-23T18:44:38.652Z] ---> Running in fd1bc5c537c8 [2023-02-23T18:44:38.911Z] Removing intermediate container fd1bc5c537c8 [2023-02-23T18:44:38.911Z] ---> 7bdc98a42b7c [2023-02-23T18:44:38.911Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-23T18:44:38.911Z] ---> Running in 5903794ad03b [2023-02-23T18:44:39.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T18:44:39.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T18:44:39.434Z] OK: 6 MiB in 14 packages [2023-02-23T18:44:40.005Z] Removing intermediate container 5903794ad03b [2023-02-23T18:44:40.005Z] ---> 70a942769584 [2023-02-23T18:44:40.005Z] Step 14/23 : WORKDIR / [2023-02-23T18:44:40.005Z] ---> Running in 7afad71bfda0 [2023-02-23T18:44:40.005Z] Removing intermediate container 7afad71bfda0 [2023-02-23T18:44:40.005Z] ---> de7f924068ce [2023-02-23T18:44:40.005Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-23T18:44:40.265Z] ---> 4bca22b08481 [2023-02-23T18:44:40.265Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-23T18:44:40.834Z] ---> 17c270978314 [2023-02-23T18:44:40.834Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-23T18:44:40.834Z] ---> 00850c9466bf [2023-02-23T18:44:40.834Z] Step 18/23 : EXPOSE 59999 [2023-02-23T18:44:40.834Z] ---> Running in dba6701277e0 [2023-02-23T18:44:41.091Z] Removing intermediate container dba6701277e0 [2023-02-23T18:44:41.091Z] ---> 0f87d9a0a875 [2023-02-23T18:44:41.091Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-23T18:44:41.091Z] ---> Running in 8be5ab45bf12 [2023-02-23T18:44:41.091Z] Removing intermediate container 8be5ab45bf12 [2023-02-23T18:44:41.091Z] ---> 9d7bc9d1c0bf [2023-02-23T18:44:41.091Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-23T18:44:41.091Z] ---> Running in ae0fa46fa705 [2023-02-23T18:44:41.350Z] Removing intermediate container ae0fa46fa705 [2023-02-23T18:44:41.350Z] ---> 4f272aa18ad9 [2023-02-23T18:44:41.350Z] Step 21/23 : LABEL arch=amd64 [2023-02-23T18:44:41.350Z] ---> Running in aa8a3a9af5e8 [2023-02-23T18:44:41.350Z] Removing intermediate container aa8a3a9af5e8 [2023-02-23T18:44:41.350Z] ---> fae2b19abefa [2023-02-23T18:44:41.350Z] Step 22/23 : LABEL git_sha=294b38de005242430c1f5bb7a38b4a13fc6e7301 [2023-02-23T18:44:41.609Z] ---> Running in 30b4f26ef214 [2023-02-23T18:44:41.609Z] Removing intermediate container 30b4f26ef214 [2023-02-23T18:44:41.609Z] ---> bbfd2e4acc5d [2023-02-23T18:44:41.609Z] Step 23/23 : LABEL version=0.0.0 [2023-02-23T18:44:41.609Z] ---> Running in 34ec1c0d5528 [2023-02-23T18:44:41.609Z] Removing intermediate container 34ec1c0d5528 [2023-02-23T18:44:41.609Z] ---> 67e921119163 [2023-02-23T18:44:41.609Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T18:44:41.609Z] Successfully built 67e921119163 [2023-02-23T18:44:41.609Z] 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-02-23T18:44:42.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T18:44:42.044Z] [2023-02-23T18:44:42.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:44:42.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T18:44:42.340Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-23T18:44:42.340Z] 5eb5b503b376: Pulling fs layer [2023-02-23T18:44:42.340Z] 5c69ac0246d0: Pulling fs layer [2023-02-23T18:44:42.340Z] ec43610c2a17: Pulling fs layer [2023-02-23T18:44:42.340Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-23T18:44:42.340Z] 33b1e0a273af: Pulling fs layer [2023-02-23T18:44:42.340Z] 5d3b04190fa2: Pulling fs layer [2023-02-23T18:44:42.340Z] 2f39f015ded8: Pulling fs layer [2023-02-23T18:44:42.340Z] 33b1e0a273af: Waiting [2023-02-23T18:44:42.340Z] 5d3b04190fa2: Waiting [2023-02-23T18:44:42.340Z] 3a2ae6a8a46f: Waiting [2023-02-23T18:44:42.340Z] 5c69ac0246d0: Verifying Checksum [2023-02-23T18:44:42.340Z] 5c69ac0246d0: Download complete [2023-02-23T18:44:42.340Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-23T18:44:42.340Z] 3a2ae6a8a46f: Download complete [2023-02-23T18:44:42.600Z] 33b1e0a273af: Verifying Checksum [2023-02-23T18:44:42.600Z] 33b1e0a273af: Download complete [2023-02-23T18:44:42.600Z] ec43610c2a17: Verifying Checksum [2023-02-23T18:44:42.600Z] ec43610c2a17: Download complete [2023-02-23T18:44:42.600Z] 5d3b04190fa2: Verifying Checksum [2023-02-23T18:44:42.600Z] 5eb5b503b376: Verifying Checksum [2023-02-23T18:44:42.600Z] 5eb5b503b376: Download complete [2023-02-23T18:44:43.535Z] 2f39f015ded8: Download complete [2023-02-23T18:44:43.794Z] 5eb5b503b376: Pull complete [2023-02-23T18:44:43.794Z] 5c69ac0246d0: Pull complete [2023-02-23T18:44:44.361Z] ec43610c2a17: Pull complete [2023-02-23T18:44:44.361Z] 3a2ae6a8a46f: Pull complete [2023-02-23T18:44:44.619Z] 33b1e0a273af: Pull complete [2023-02-23T18:44:44.619Z] 5d3b04190fa2: Pull complete [2023-02-23T18:44:48.804Z] 2f39f015ded8: Pull complete [2023-02-23T18:44:48.804Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-23T18:44:48.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T18:44:48.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:44:48.878Z] prd-ubuntu20.04-docker-8c-8g-7279 does not seem to be running inside a container [2023-02-23T18:44:48.910Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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:latest cat [2023-02-23T18:44:51.042Z] $ docker top ed739bf73c21d8f0101833932aa36943c43e8753c8681443536691b37ae56419 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:44:51.406Z] ---> job-cost.sh [2023-02-23T18:44:51.406Z] lf-activate-venv: SKIPPING [2023-02-23T18:44:51.406Z] INFO: No Stack... [2023-02-23T18:44:51.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T18:44:51.925Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T18:44:52.210Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/cost.csv [2023-02-23T18:44:52.210Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T18:44:52.226Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [2023-02-23T18:44:52.232Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] did not exist. Created. [2023-02-23T18:44:52.232Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T18:44:52.531Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-23T18:44:52.564Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T18:44:52.571Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T18:44:52.588Z] $ docker stop --time=1 ed739bf73c21d8f0101833932aa36943c43e8753c8681443536691b37ae56419 [2023-02-23T18:44:53.754Z] $ docker rm -f --volumes ed739bf73c21d8f0101833932aa36943c43e8753c8681443536691b37ae56419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-23T18:46:13.219Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7282 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] { [Pipeline] ws [2023-02-23T18:46:13.232Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-02-23T18:46:13.275Z] The recommended git tool is: git [2023-02-23T18:46:19.141Z] using credential edgex-jenkins-ssh [2023-02-23T18:46:19.162Z] Cloning the remote Git repository [2023-02-23T18:46:19.217Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-23T18:46:19.303Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-02-23T18:46:19.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-23T18:46:19.502Z] > git --version # timeout=10 [2023-02-23T18:46:19.525Z] > git --version # 'git version 2.25.1' [2023-02-23T18:46:19.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T18:46:19.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T18:46:21.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-23T18:46:21.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T18:46:23.111Z] Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 [2023-02-23T18:46:23.427Z] Merge succeeded, producing 8d69a0a4c082e7059abb7cf629683d260ddee0bb [2023-02-23T18:46:23.428Z] Checking out Revision 8d69a0a4c082e7059abb7cf629683d260ddee0bb (PR-1335) [2023-02-23T18:46:22.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-23T18:46:22.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-23T18:46:22.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T18:46:22.371Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-23T18:46:23.129Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T18:46:23.151Z] > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # timeout=10 [2023-02-23T18:46:23.256Z] > git remote # timeout=10 [2023-02-23T18:46:23.272Z] > git config --get remote.origin.url # timeout=10 [2023-02-23T18:46:23.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T18:46:23.302Z] > git merge b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 [2023-02-23T18:46:23.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-23T18:46:23.432Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T18:46:23.446Z] > git checkout -f 8d69a0a4c082e7059abb7cf629683d260ddee0bb # timeout=10 [2023-02-23T18:46:26.964Z] Commit message: "Merge commit 'b7afc2aba7a1c5861c6c21c42b42dc1283ea5949' into HEAD" [2023-02-23T18:46:26.989Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T18:46:28.003Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-23T18:46:28.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T18:46:28.003Z] Dload Upload Total Spent Left Speed [2023-02-23T18:46:28.003Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [2023-02-23T18:46:26.971Z] > git rev-list --no-walk 7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 # timeout=10 [Pipeline] sh [2023-02-23T18:46:28.804Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-23T18:46:29.145Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-23T18:46:29.145Z] + sudo tee /etc/docker/daemon.new [2023-02-23T18:46:29.145Z] { [2023-02-23T18:46:29.145Z] "registry-mirrors": [ [2023-02-23T18:46:29.145Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-23T18:46:29.145Z] ], [2023-02-23T18:46:29.145Z] "bip": "10.250.0.254/24", [2023-02-23T18:46:29.145Z] "hosts": [ [2023-02-23T18:46:29.145Z] "tcp://0.0.0.0:5555", [2023-02-23T18:46:29.145Z] "unix:///var/run/docker.sock" [2023-02-23T18:46:29.145Z] ], [2023-02-23T18:46:29.145Z] "mtu": 1458, [2023-02-23T18:46:29.145Z] "selinux-enabled": true, [2023-02-23T18:46:29.145Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-23T18:46:29.145Z] } [Pipeline] sh [2023-02-23T18:46:29.480Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-23T18:46:29.820Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T18:46:48.165Z] provisioning config files... [2023-02-23T18:46:48.199Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config9170406842603910879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:46:48.576Z] ---> docker-login.sh [2023-02-23T18:46:48.577Z] nexus3.edgexfoundry.org:10001 [2023-02-23T18:46:48.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:46:49.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:46:49.232Z] Configure a credential helper to remove this warning. See [2023-02-23T18:46:49.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:46:49.232Z] [2023-02-23T18:46:49.232Z] Login Succeeded [2023-02-23T18:46:49.232Z] nexus3.edgexfoundry.org:10002 [2023-02-23T18:46:49.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:46:49.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:46:49.778Z] Configure a credential helper to remove this warning. See [2023-02-23T18:46:49.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:46:49.778Z] [2023-02-23T18:46:49.778Z] Login Succeeded [2023-02-23T18:46:49.778Z] nexus3.edgexfoundry.org:10003 [2023-02-23T18:46:50.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:46:50.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:46:50.048Z] Configure a credential helper to remove this warning. See [2023-02-23T18:46:50.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:46:50.048Z] [2023-02-23T18:46:50.048Z] Login Succeeded [2023-02-23T18:46:50.048Z] nexus3.edgexfoundry.org:10004 [2023-02-23T18:46:50.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:46:50.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:46:50.589Z] Configure a credential helper to remove this warning. See [2023-02-23T18:46:50.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:46:50.589Z] [2023-02-23T18:46:50.589Z] Login Succeeded [2023-02-23T18:46:50.589Z] docker.io [2023-02-23T18:46:50.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T18:46:51.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T18:46:51.129Z] Configure a credential helper to remove this warning. See [2023-02-23T18:46:51.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T18:46:51.129Z] [2023-02-23T18:46:51.129Z] Login Succeeded [2023-02-23T18:46:51.129Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T18:46:51.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T18:46:51.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T18:46:51.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T18:46:51.481Z] ========================================================= [2023-02-23T18:46:51.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-23T18:46:51.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:46:51.836Z] + 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-02-23T18:46:52.442Z] Sending build context to Docker daemon 5.707MB [2023-02-23T18:46:52.442Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T18:46:52.442Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-23T18:46:52.442Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-23T18:46:52.442Z] 9b18e9b68314: Pulling fs layer [2023-02-23T18:46:52.442Z] 35d82f9e3411: Pulling fs layer [2023-02-23T18:46:52.442Z] e16973657156: Pulling fs layer [2023-02-23T18:46:52.442Z] fc693d55d65f: Pulling fs layer [2023-02-23T18:46:52.442Z] 7e9fc2657dce: Pulling fs layer [2023-02-23T18:46:52.442Z] dda99020689f: Pulling fs layer [2023-02-23T18:46:52.442Z] db1c61fa0a46: Pulling fs layer [2023-02-23T18:46:52.442Z] 891c053d2c06: Pulling fs layer [2023-02-23T18:46:52.442Z] fc693d55d65f: Waiting [2023-02-23T18:46:52.442Z] 7e9fc2657dce: Waiting [2023-02-23T18:46:52.442Z] dda99020689f: Waiting [2023-02-23T18:46:52.442Z] db1c61fa0a46: Waiting [2023-02-23T18:46:52.442Z] 891c053d2c06: Waiting [2023-02-23T18:46:52.442Z] e16973657156: Verifying Checksum [2023-02-23T18:46:52.442Z] e16973657156: Download complete [2023-02-23T18:46:52.442Z] 35d82f9e3411: Verifying Checksum [2023-02-23T18:46:52.442Z] 35d82f9e3411: Download complete [2023-02-23T18:46:52.719Z] 7e9fc2657dce: Verifying Checksum [2023-02-23T18:46:52.719Z] 7e9fc2657dce: Download complete [2023-02-23T18:46:52.719Z] dda99020689f: Verifying Checksum [2023-02-23T18:46:52.719Z] 9b18e9b68314: Verifying Checksum [2023-02-23T18:46:52.719Z] 9b18e9b68314: Download complete [2023-02-23T18:46:53.717Z] 9b18e9b68314: Pull complete [2023-02-23T18:46:53.994Z] 891c053d2c06: Verifying Checksum [2023-02-23T18:46:53.994Z] 891c053d2c06: Download complete [2023-02-23T18:46:54.265Z] 35d82f9e3411: Pull complete [2023-02-23T18:46:54.856Z] e16973657156: Pull complete [2023-02-23T18:46:55.445Z] db1c61fa0a46: Verifying Checksum [2023-02-23T18:46:55.445Z] db1c61fa0a46: Download complete [2023-02-23T18:46:56.037Z] fc693d55d65f: Verifying Checksum [2023-02-23T18:46:56.037Z] fc693d55d65f: Download complete [2023-02-23T18:47:08.395Z] fc693d55d65f: Pull complete [2023-02-23T18:47:08.395Z] 7e9fc2657dce: Pull complete [2023-02-23T18:47:08.395Z] dda99020689f: Pull complete [2023-02-23T18:47:15.105Z] db1c61fa0a46: Pull complete [2023-02-23T18:47:17.058Z] 891c053d2c06: Pull complete [2023-02-23T18:47:17.058Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-23T18:47:17.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-23T18:47:17.058Z] ---> f96f9c87975a [2023-02-23T18:47:17.058Z] Step 3/10 : ARG MAKE=make build [2023-02-23T18:47:19.012Z] ---> Running in f415756212d1 [2023-02-23T18:47:19.604Z] Removing intermediate container f415756212d1 [2023-02-23T18:47:19.604Z] ---> 566e6af333b9 [2023-02-23T18:47:19.604Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-23T18:47:19.604Z] ---> Running in 44d3fcf25acf [2023-02-23T18:47:19.876Z] Removing intermediate container 44d3fcf25acf [2023-02-23T18:47:19.876Z] ---> 581f7fd26685 [2023-02-23T18:47:19.876Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-23T18:47:19.876Z] ---> Running in 0f306aae9000 [2023-02-23T18:47:20.469Z] Removing intermediate container 0f306aae9000 [2023-02-23T18:47:20.469Z] ---> 8d8fec9324cf [2023-02-23T18:47:20.469Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-23T18:47:20.469Z] ---> Running in f4277805cda0 [2023-02-23T18:47:21.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T18:47:22.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T18:47:23.000Z] OK: 221 MiB in 51 packages [2023-02-23T18:47:24.003Z] Removing intermediate container f4277805cda0 [2023-02-23T18:47:24.003Z] ---> 92c52dd71e17 [2023-02-23T18:47:24.003Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-23T18:47:25.952Z] ---> c3048306848a [2023-02-23T18:47:25.952Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T18:47:25.952Z] ---> Running in 4fefd3312cac [2023-02-23T18:48:33.880Z] Removing intermediate container 4fefd3312cac [2023-02-23T18:48:33.880Z] ---> 731aff4d59cf [2023-02-23T18:48:33.880Z] Step 9/10 : COPY . . [2023-02-23T18:48:35.304Z] ---> 44facdf4be1c [2023-02-23T18:48:35.304Z] Step 10/10 : RUN ${MAKE} [2023-02-23T18:48:35.304Z] ---> Running in 18a249afdf70 [2023-02-23T18:48:36.275Z] noop [2023-02-23T18:48:36.864Z] Removing intermediate container 18a249afdf70 [2023-02-23T18:48:36.864Z] ---> 7783059b22d8 [2023-02-23T18:48:36.864Z] Successfully built 7783059b22d8 [2023-02-23T18:48:36.864Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:48:37.239Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T18:48:37.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:48:37.445Z] prd-ubuntu20.04-docker-arm64-4c-16g-7282 does not seem to be running inside a container [2023-02-23T18:48:37.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-02-23T18:48:38.813Z] $ docker top 23fae3fc54cc9f505e0b36baf385006ddc107911cac5dce20e796d1a2f425af1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T18:48:39.662Z] + go version [2023-02-23T18:48:39.662Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-23T18:48:39.680Z] $ docker stop --time=1 23fae3fc54cc9f505e0b36baf385006ddc107911cac5dce20e796d1a2f425af1 [2023-02-23T18:48:43.860Z] $ docker rm -f --volumes 23fae3fc54cc9f505e0b36baf385006ddc107911cac5dce20e796d1a2f425af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:48:44.429Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T18:48:44.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:48:44.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-7282 does not seem to be running inside a container [2023-02-23T18:48:44.718Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-02-23T18:48:46.039Z] $ docker top 6e78e7feb6681b7d96c21a99aa51d6846c1b499964235c8ff8316791e317afaf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T18:48:46.898Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-02-23T18:48:47.558Z] + make test [2023-02-23T18:48:47.558Z] go test -race -coverprofile=coverage.out ./... [2023-02-23T18:49:26.464Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-23T18:51:48.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-23T18:51:48.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-23T18:51:48.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-23T18:51:48.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-23T18:51:48.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-23T18:51:58.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.247s coverage: 27.6% of statements [2023-02-23T18:51:59.275Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.285s coverage: 78.9% of statements [2023-02-23T18:51:59.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-23T18:52:05.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.434s coverage: 86.0% of statements [2023-02-23T18:52:05.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-23T18:52:05.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-23T18:52:07.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.539s coverage: 75.0% of statements [2023-02-23T18:52:07.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-23T18:52:07.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.296s coverage: 15.3% of statements [2023-02-23T18:52:07.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-23T18:52:10.504Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.447s coverage: 65.2% of statements [2023-02-23T18:52:10.504Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-23T18:52:10.504Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-23T18:52:10.504Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.190s coverage: 89.2% of statements [2023-02-23T18:52:10.504Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-23T18:52:10.504Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.424s coverage: 4.6% of statements [2023-02-23T18:52:10.504Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-23T18:52:11.089Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-23T18:52:11.089Z] GO111MODULE=on go vet ./... [2023-02-23T18:53:47.771Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T18:53:47.771Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T18:53:47.771Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-23T18:53:47.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T18:53:47.803Z] $ docker stop --time=1 6e78e7feb6681b7d96c21a99aa51d6846c1b499964235c8ff8316791e317afaf [2023-02-23T18:53:49.712Z] $ docker rm -f --volumes 6e78e7feb6681b7d96c21a99aa51d6846c1b499964235c8ff8316791e317afaf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T18:53:51.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T18:53:51.173Z] Warning: overwriting stash ‘coverage-report’ [2023-02-23T18:53:51.882Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T18:53:52.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T18:53:52.614Z] + ls -al . [2023-02-23T18:53:52.615Z] total 280 [2023-02-23T18:53:52.615Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 18:48 . [2023-02-23T18:53:52.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 18:46 .. [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 18:46 .dockerignore [2023-02-23T18:53:52.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 18:46 .git [2023-02-23T18:53:52.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 18:46 .github [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 23 18:46 .gitignore [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 23 18:46 .golangci.yml [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 23 18:46 CHANGELOG.md [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 18:46 GOVERNANCE.md [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 23 18:46 Jenkinsfile [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 18:46 LICENSE [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 23 18:46 Makefile [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 23 18:46 OWNERS.md [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 23 18:46 README.md [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 18:42 VERSION [2023-02-23T18:53:52.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 18:46 bin [2023-02-23T18:53:52.615Z] -rw-r--r-- 1 jenkins jenkins 111242 Feb 23 18:52 coverage.out [2023-02-23T18:53:52.615Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 18:46 example [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 23 18:46 go.mod [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 23 18:46 go.sum [2023-02-23T18:53:52.615Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 18:46 internal [2023-02-23T18:53:52.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 18:46 openapi [2023-02-23T18:53:52.615Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 23 18:46 pkg [2023-02-23T18:53:52.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 18:46 snap [2023-02-23T18:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:53:52.951Z] + 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=8d69a0a4c082e7059abb7cf629683d260ddee0bb --label arch=arm64 --label version=0.0.0 . [2023-02-23T18:53:53.537Z] Sending build context to Docker daemon 5.819MB [2023-02-23T18:53:53.537Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T18:53:53.537Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-23T18:53:53.537Z] ---> 7783059b22d8 [2023-02-23T18:53:53.537Z] Step 3/23 : ARG MAKE=make build [2023-02-23T18:53:53.537Z] ---> Running in af2c519f0113 [2023-02-23T18:53:53.817Z] Removing intermediate container af2c519f0113 [2023-02-23T18:53:53.817Z] ---> d6dfff8299db [2023-02-23T18:53:53.817Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-23T18:53:54.083Z] ---> Running in f9cd7a7848e0 [2023-02-23T18:53:54.350Z] Removing intermediate container f9cd7a7848e0 [2023-02-23T18:53:54.351Z] ---> 3a0f29447b8f [2023-02-23T18:53:54.351Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-23T18:53:54.351Z] ---> Running in 74f2b6d31b48 [2023-02-23T18:53:54.618Z] Removing intermediate container 74f2b6d31b48 [2023-02-23T18:53:54.618Z] ---> 731d9d12cdb2 [2023-02-23T18:53:54.618Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-23T18:53:54.884Z] ---> Running in a3324ac6c48a [2023-02-23T18:53:55.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T18:53:56.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T18:53:57.079Z] OK: 221 MiB in 51 packages [2023-02-23T18:53:58.039Z] Removing intermediate container a3324ac6c48a [2023-02-23T18:53:58.039Z] ---> e7703b548170 [2023-02-23T18:53:58.039Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-23T18:53:58.624Z] ---> 9c26c24fbefb [2023-02-23T18:53:58.624Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T18:53:58.624Z] ---> Running in 32258263ca79 [2023-02-23T18:54:01.204Z] Removing intermediate container 32258263ca79 [2023-02-23T18:54:01.204Z] ---> d48150c85018 [2023-02-23T18:54:01.204Z] Step 9/23 : COPY . . [2023-02-23T18:54:02.610Z] ---> d7f29c3d4e8c [2023-02-23T18:54:02.610Z] Step 10/23 : RUN ${MAKE} [2023-02-23T18:54:02.610Z] ---> Running in b33729e9ae59 [2023-02-23T18:54:03.569Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-23T18:56:25.255Z] Removing intermediate container b33729e9ae59 [2023-02-23T18:56:25.255Z] ---> 60f7e1cc6332 [2023-02-23T18:56:25.255Z] Step 11/23 : FROM alpine:3.16 [2023-02-23T18:56:25.255Z] 3.16: Pulling from library/alpine [2023-02-23T18:56:25.255Z] 3760b48202b3: Pulling fs layer [2023-02-23T18:56:25.255Z] 3760b48202b3: Verifying Checksum [2023-02-23T18:56:25.255Z] 3760b48202b3: Download complete [2023-02-23T18:56:25.255Z] 3760b48202b3: Pull complete [2023-02-23T18:56:25.255Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T18:56:25.255Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T18:56:25.255Z] ---> 4c81e5bf8899 [2023-02-23T18:56:25.255Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-23T18:56:25.255Z] ---> Running in a8cb8d13ac77 [2023-02-23T18:56:25.255Z] Removing intermediate container a8cb8d13ac77 [2023-02-23T18:56:25.255Z] ---> ab800942b7f5 [2023-02-23T18:56:25.255Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-23T18:56:25.255Z] ---> Running in 126a74997682 [2023-02-23T18:56:25.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T18:56:25.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T18:56:25.255Z] OK: 5 MiB in 14 packages [2023-02-23T18:56:25.255Z] Removing intermediate container 126a74997682 [2023-02-23T18:56:25.255Z] ---> 5e82b0222f46 [2023-02-23T18:56:25.255Z] Step 14/23 : WORKDIR / [2023-02-23T18:56:25.255Z] ---> Running in da377d0928dc [2023-02-23T18:56:25.255Z] Removing intermediate container da377d0928dc [2023-02-23T18:56:25.255Z] ---> 1c428d6b933e [2023-02-23T18:56:25.255Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-23T18:56:25.255Z] ---> 2622aec5e4a3 [2023-02-23T18:56:25.255Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-23T18:56:25.255Z] ---> 9c44619e88f6 [2023-02-23T18:56:25.255Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-23T18:56:25.255Z] ---> db81fc29c05f [2023-02-23T18:56:25.255Z] Step 18/23 : EXPOSE 59999 [2023-02-23T18:56:25.255Z] ---> Running in fc01df2f9547 [2023-02-23T18:56:25.255Z] Removing intermediate container fc01df2f9547 [2023-02-23T18:56:25.255Z] ---> a5eda0fe9c65 [2023-02-23T18:56:25.255Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-23T18:56:25.255Z] ---> Running in e60ed786ee87 [2023-02-23T18:56:25.255Z] Removing intermediate container e60ed786ee87 [2023-02-23T18:56:25.255Z] ---> e66491c7037f [2023-02-23T18:56:25.255Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-23T18:56:25.255Z] ---> Running in 43bfe351886f [2023-02-23T18:56:25.255Z] Removing intermediate container 43bfe351886f [2023-02-23T18:56:25.255Z] ---> 2b293e7bbc2c [2023-02-23T18:56:25.255Z] Step 21/23 : LABEL arch=arm64 [2023-02-23T18:56:25.255Z] ---> Running in 6465845b50bb [2023-02-23T18:56:25.255Z] Removing intermediate container 6465845b50bb [2023-02-23T18:56:25.255Z] ---> e08cfcad1c8d [2023-02-23T18:56:25.255Z] Step 22/23 : LABEL git_sha=8d69a0a4c082e7059abb7cf629683d260ddee0bb [2023-02-23T18:56:25.255Z] ---> Running in 623847a855b3 [2023-02-23T18:56:25.255Z] Removing intermediate container 623847a855b3 [2023-02-23T18:56:25.255Z] ---> 81041624e0cc [2023-02-23T18:56:25.255Z] Step 23/23 : LABEL version=0.0.0 [2023-02-23T18:56:25.255Z] ---> Running in 912db6a329a3 [2023-02-23T18:56:25.255Z] Removing intermediate container 912db6a329a3 [2023-02-23T18:56:25.255Z] ---> c3c639aa9609 [2023-02-23T18:56:25.255Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T18:56:25.255Z] Successfully built c3c639aa9609 [2023-02-23T18:56:25.255Z] 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-02-23T18:56:25.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T18:56:25.698Z] [2023-02-23T18:56:25.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:56:26.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T18:56:26.315Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-23T18:56:26.315Z] 8998bd30e6a1: Pulling fs layer [2023-02-23T18:56:26.315Z] 04944245beec: Pulling fs layer [2023-02-23T18:56:26.315Z] 699f458cf7ca: Pulling fs layer [2023-02-23T18:56:26.315Z] 765212b225bb: Pulling fs layer [2023-02-23T18:56:26.315Z] f23df028b6ca: Pulling fs layer [2023-02-23T18:56:26.315Z] d65c8cfc05b1: Pulling fs layer [2023-02-23T18:56:26.315Z] 2437ff75d9bd: Pulling fs layer [2023-02-23T18:56:26.315Z] 765212b225bb: Waiting [2023-02-23T18:56:26.315Z] f23df028b6ca: Waiting [2023-02-23T18:56:26.315Z] d65c8cfc05b1: Waiting [2023-02-23T18:56:26.315Z] 2437ff75d9bd: Waiting [2023-02-23T18:56:26.315Z] 04944245beec: Verifying Checksum [2023-02-23T18:56:26.315Z] 04944245beec: Download complete [2023-02-23T18:56:26.315Z] 765212b225bb: Download complete [2023-02-23T18:56:26.315Z] f23df028b6ca: Download complete [2023-02-23T18:56:26.315Z] d65c8cfc05b1: Verifying Checksum [2023-02-23T18:56:26.315Z] d65c8cfc05b1: Download complete [2023-02-23T18:56:26.588Z] 699f458cf7ca: Verifying Checksum [2023-02-23T18:56:26.588Z] 699f458cf7ca: Download complete [2023-02-23T18:56:26.859Z] 8998bd30e6a1: Verifying Checksum [2023-02-23T18:56:26.859Z] 8998bd30e6a1: Download complete [2023-02-23T18:56:29.443Z] 2437ff75d9bd: Download complete [2023-02-23T18:56:31.403Z] 8998bd30e6a1: Pull complete [2023-02-23T18:56:31.668Z] 04944245beec: Pull complete [2023-02-23T18:56:33.077Z] 699f458cf7ca: Pull complete [2023-02-23T18:56:33.345Z] 765212b225bb: Pull complete [2023-02-23T18:56:33.930Z] f23df028b6ca: Pull complete [2023-02-23T18:56:34.198Z] d65c8cfc05b1: Pull complete [2023-02-23T18:56:49.194Z] 2437ff75d9bd: Pull complete [2023-02-23T18:56:49.194Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-23T18:56:49.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T18:56:49.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:56:49.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-7282 does not seem to be running inside a container [2023-02-23T18:56:49.458Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-02-23T18:56:52.135Z] $ docker top a6fb9a3fadba1bc4a07dab1a4b6b960aaeabe8c3f4a00bbac8155470dc2d7778 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:56:52.980Z] ---> job-cost.sh [2023-02-23T18:56:52.980Z] lf-activate-venv: SKIPPING [2023-02-23T18:56:52.980Z] INFO: No Stack... [2023-02-23T18:56:53.246Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-23T18:56:54.205Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T18:56:54.850Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-02-23T18:56:54.850Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T18:56:54.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [2023-02-23T18:56:54.923Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] did not exist. Created. [2023-02-23T18:56:54.923Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T18:56:55.580Z] /w/workspace/device-sdk-go/4@tmp/durable-cb1ac9d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-23T18:56:56.237Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-23T18:56:56.260Z] Warning: overwriting stash ‘stack-cost’ [2023-02-23T18:56:56.327Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T18:56:56.333Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T18:56:56.355Z] $ docker stop --time=1 a6fb9a3fadba1bc4a07dab1a4b6b960aaeabe8c3f4a00bbac8155470dc2d7778 [2023-02-23T18:56:57.846Z] $ docker rm -f --volumes a6fb9a3fadba1bc4a07dab1a4b6b960aaeabe8c3f4a00bbac8155470dc2d7778 [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-02-23T18:56:58.231Z] provisioning config files... [2023-02-23T18:56:58.237Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config8126995571453324792tmp [Pipeline] { [Pipeline] sh [2023-02-23T18:56:58.528Z] + set +x [2023-02-23T18:56:58.528Z] + curl -s https://codecov.io/bash [2023-02-23T18:56:58.528Z] + bash -s -- [2023-02-23T18:56:58.528Z] [2023-02-23T18:56:58.528Z] _____ _ [2023-02-23T18:56:58.528Z] / ____| | | [2023-02-23T18:56:58.528Z] | | ___ __| | ___ ___ _____ __ [2023-02-23T18:56:58.528Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-23T18:56:58.528Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-23T18:56:58.528Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-23T18:56:58.528Z] Bash-1.0.6 [2023-02-23T18:56:58.528Z] [2023-02-23T18:56:58.528Z] [2023-02-23T18:56:58.528Z] ==> git version 2.25.1 found [2023-02-23T18:56:58.528Z] ==> 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-02-23T18:56:58.528Z] Release-Date: 2020-01-08 [2023-02-23T18:56:58.528Z] 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-02-23T18:56:58.528Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-23T18:56:58.528Z] ==> Jenkins CI detected. [2023-02-23T18:56:58.528Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-23T18:56:58.528Z] project root: . [2023-02-23T18:56:58.528Z] --> token set from env [2023-02-23T18:56:58.528Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-23T18:56:58.528Z] ==> Running gcov in . (disable via -X gcov) [2023-02-23T18:56:58.528Z] ==> Python coveragepy not found [2023-02-23T18:56:58.528Z] ==> Searching for coverage reports in: [2023-02-23T18:56:58.528Z] + . [2023-02-23T18:56:58.528Z] -> Found 1 reports [2023-02-23T18:56:58.528Z] ==> Detecting git/mercurial file structure [2023-02-23T18:56:58.528Z] ==> Reading reports [2023-02-23T18:56:58.528Z] + ./coverage.out bytes=111242 [2023-02-23T18:56:58.528Z] ==> Appending adjustments [2023-02-23T18:56:58.528Z] https://docs.codecov.io/docs/fixing-reports [2023-02-23T18:56:58.787Z] + Found adjustments [2023-02-23T18:56:58.787Z] ==> Gzipping contents [2023-02-23T18:56:59.046Z] 16K /tmp/codecov.YlJmqB.gz [2023-02-23T18:56:59.046Z] ==> Uploading reports [2023-02-23T18:56:59.046Z] url: https://codecov.io [2023-02-23T18:56:59.046Z] query: branch=PR-1335&commit=294b38de005242430c1f5bb7a38b4a13fc6e7301&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-23T18:56:59.046Z] -> Pinging Codecov [2023-02-23T18:56:59.046Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1335&commit=294b38de005242430c1f5bb7a38b4a13fc6e7301&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-23T18:56:59.046Z] -> Uploading to [2023-02-23T18:56:59.046Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-23/7E55EF52A471D76F132DFD9A03CDDE97/294b38de005242430c1f5bb7a38b4a13fc6e7301/0ac20033-7319-448d-8f5d-b7db235c947a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T185658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54d176c171a297ca09ab78f11c409f347113bc915e0b96bcab0c3e645405a93b [2023-02-23T18:56:59.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T18:56:59.046Z] Dload Upload Total Spent Left Speed [2023-02-23T18:56:59.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15385 0 0 100 15385 0 57838 --:--:-- --:--:-- --:--:-- 57838 [2023-02-23T18:56:59.305Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/294b38de005242430c1f5bb7a38b4a13fc6e7301 [Pipeline] } [2023-02-23T18:56:59.314Z] 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-02-23T18:56:59.941Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives ] [2023-02-23T18:56:59.941Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-23T18:56:59.941Z] total 16 [2023-02-23T18:56:59.941Z] drwxr-xr-x 3 root root 4096 Feb 23 18:44 . [2023-02-23T18:56:59.941Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 23 18:44 .. [2023-02-23T18:56:59.941Z] drwxr-xr-x 2 root root 4096 Feb 23 18:44 cost [2023-02-23T18:56:59.941Z] -rw-r--r-- 1 root root 86 Feb 23 18:44 cost.csv [2023-02-23T18:56:59.941Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-23T18:56:59.941Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-23T18:56:59.941Z] total 16 [2023-02-23T18:56:59.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 18:44 . [2023-02-23T18:56:59.941Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 23 18:44 .. [2023-02-23T18:56:59.941Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 18:44 cost [2023-02-23T18:56:59.941Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 23 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:00.233Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:01.090Z] ---> package-listing.sh [2023-02-23T18:57:01.090Z] ++ facter osfamily [2023-02-23T18:57:01.090Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-23T18:57:01.350Z] + OS_FAMILY=debian [2023-02-23T18:57:01.350Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-23T18:57:01.350Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-23T18:57:01.350Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-23T18:57:01.350Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-23T18:57:01.350Z] + PACKAGES=/tmp/packages_start.txt [2023-02-23T18:57:01.350Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-23T18:57:01.350Z] + PACKAGES=/tmp/packages_end.txt [2023-02-23T18:57:01.350Z] + case "${OS_FAMILY}" in [2023-02-23T18:57:01.350Z] + dpkg -l [2023-02-23T18:57:01.350Z] + grep '^ii' [2023-02-23T18:57:01.350Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-23T18:57:01.350Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-23T18:57:01.350Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-23T18:57:01.350Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-23T18:57:01.350Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [2023-02-23T18:57:01.350Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [Pipeline] echo [2023-02-23T18:57:01.361Z] 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-1335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-23T18:57:01.639Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T18:57:02.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T18:57:02.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T18:57:02.264Z] prd-ubuntu20.04-docker-8c-8g-7279 does not seem to be running inside a container [2023-02-23T18:57:02.294Z] $ 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-1335/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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-23T18:57:02.518Z] $ docker top d690576cc0c31eec06a49925b2b47b26214471a7d8d3739fdb61f9b61819db29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T18:57:02.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-23T18:57:03.150Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-23T18:57:03.436Z] + ls /var/log/sa-host [2023-02-23T18:57:03.436Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T18:57:03.499Z] provisioning config files... [2023-02-23T18:57:03.509Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config7689271019923540467tmp [Pipeline] { [Pipeline] echo [2023-02-23T18:57:03.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:03.807Z] ---> create-netrc.sh [Pipeline] } [2023-02-23T18:57:03.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:04.151Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-23T18:57:04.161Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:04.451Z] ---> sudo-logs.sh [2023-02-23T18:57:04.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-23T18:57:04.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:04.769Z] ---> job-cost.sh [2023-02-23T18:57:04.769Z] lf-activate-venv: SKIPPING [2023-02-23T18:57:04.769Z] DEBUG: total: 0.2199999988079071 [2023-02-23T18:57:04.769Z] INFO: Retrieving Stack Cost... [2023-02-23T18:57:05.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T18:57:05.598Z] INFO: Archiving Costs [Pipeline] echo [2023-02-23T18:57:05.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T18:57:05.900Z] ---> logs-deploy.sh [2023-02-23T18:57:05.900Z] lf-activate-venv: SKIPPING [2023-02-23T18:57:05.900Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1335/4 [2023-02-23T18:57:05.900Z] INFO: archiving workspace using pattern(s): [2023-02-23T18:57:06.837Z] Archives upload complete. [2023-02-23T18:57:06.837Z] INFO: archiving logs to Nexus