Pull request #1343 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b4dcd90c517d60267da088e4e26fcccd6a523ed6 rather than 024354f679838ebb0b10ebebf42c53dd4ef179a0 Obtained Jenkinsfile from b4dcd90c517d60267da088e4e26fcccd6a523ed6 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-ssh16276001882837736373.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-ssh6092096007842135786.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-1343/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-1343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8910109088898944484.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-ssh3222161993473257916.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-1343/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-1343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12434133298729192445.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-8379 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [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-1343 # 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/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 024354f679838ebb0b10ebebf42c53dd4ef179a0 Merge succeeded, producing 024354f679838ebb0b10ebebf42c53dd4ef179a0 Checking out Revision 024354f679838ebb0b10ebebf42c53dd4ef179a0 (PR-1343) > git config core.sparsecheckout # timeout=10 > git checkout -f 024354f679838ebb0b10ebebf42c53dd4ef179a0 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 024354f679838ebb0b10ebebf42c53dd4ef179a0 # timeout=10 Commit message: "feat!: Apply JWT authentication to incoming calls" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-06T17:03:50.792Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-06T17:03:50.857Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-06T17:03:50.877Z] ========================================================= [2023-03-06T17:03:50.877Z] EdgeX Global Pipelines Version Info [2023-03-06T17:03:50.877Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 [2023-03-06T17:03:51.982Z] ------------------- [2023-03-06T17:03:51.982Z] stable info: [2023-03-06T17:03:51.982Z] ------------------- [2023-03-06T17:03:51.982Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-06T17:03:51.982Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T17:03:51.982Z] Message: update stable to v1.0.244 [2023-03-06T17:03:52.242Z] ------------------- [2023-03-06T17:03:52.242Z] experimental info: [2023-03-06T17:03:52.242Z] ------------------- [2023-03-06T17:03:52.242Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-06T17:03:52.242Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T17:03:52.242Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-06T17:03:52.414Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-06T17:03:52.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-06T17:03:52.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-06T17:03:52.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-06T17:03:52.468Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-06T17:03:52.481Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-06T17:03:52.493Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-06T17:03:52.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-06T17:03:52.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-06T17:03:52.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-06T17:03:52.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-06T17:03:52.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-06T17:03:52.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-06T17:03:52.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-06T17:03:52.589Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-06T17:03:52.603Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T17:03:52.615Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T17:03:52.628Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T17:03:52.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-06T17:03:52.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-06T17:03:52.664Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-06T17:03:52.676Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-06T17:03:52.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-06T17:03:52.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-06T17:03:52.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-06T17:03:52.734Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-06T17:03:52.746Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-06T17:03:52.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1343 [Pipeline] echo [2023-03-06T17:03:52.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1343 [Pipeline] echo [2023-03-06T17:03:52.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1343 [Pipeline] echo [2023-03-06T17:03:52.800Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 024354f679838ebb0b10ebebf42c53dd4ef179a0 [Pipeline] echo [2023-03-06T17:03:52.815Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 024354f [Pipeline] echo [2023-03-06T17:03:52.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T17:03:52.874Z] provisioning config files... [2023-03-06T17:03:52.889Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config1948333392870003508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:03:53.195Z] ---> docker-login.sh [2023-03-06T17:03:53.195Z] nexus3.edgexfoundry.org:10001 [2023-03-06T17:03:53.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:03:53.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:03:53.460Z] Configure a credential helper to remove this warning. See [2023-03-06T17:03:53.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:03:53.460Z] [2023-03-06T17:03:53.460Z] Login Succeeded [2023-03-06T17:03:53.460Z] nexus3.edgexfoundry.org:10002 [2023-03-06T17:03:53.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:03:53.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:03:53.460Z] Configure a credential helper to remove this warning. See [2023-03-06T17:03:53.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:03:53.460Z] [2023-03-06T17:03:53.460Z] Login Succeeded [2023-03-06T17:03:53.460Z] nexus3.edgexfoundry.org:10003 [2023-03-06T17:03:53.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:03:53.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:03:53.720Z] Configure a credential helper to remove this warning. See [2023-03-06T17:03:53.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:03:53.720Z] [2023-03-06T17:03:53.720Z] Login Succeeded [2023-03-06T17:03:53.720Z] nexus3.edgexfoundry.org:10004 [2023-03-06T17:03:53.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:03:53.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:03:53.720Z] Configure a credential helper to remove this warning. See [2023-03-06T17:03:53.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:03:53.720Z] [2023-03-06T17:03:53.720Z] Login Succeeded [2023-03-06T17:03:53.720Z] docker.io [2023-03-06T17:03:53.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:03:53.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:03:53.981Z] Configure a credential helper to remove this warning. See [2023-03-06T17:03:53.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:03:53.981Z] [2023-03-06T17:03:53.981Z] Login Succeeded [2023-03-06T17:03:53.981Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T17:03:53.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-06T17:03:54.364Z] + git rev-list -1 --merges 024354f679838ebb0b10ebebf42c53dd4ef179a0~1..024354f679838ebb0b10ebebf42c53dd4ef179a0 [Pipeline] echo [2023-03-06T17:03:54.413Z] -----------> git rev-list -1 --merges 024354f679838ebb0b10ebebf42c53dd4ef179a0~1..024354f679838ebb0b10ebebf42c53dd4ef179a0 024354f679838ebb0b10ebebf42c53dd4ef179a0 [false] [Pipeline] sh [2023-03-06T17:03:54.701Z] + git log --format=format:%s -1 024354f679838ebb0b10ebebf42c53dd4ef179a0 [Pipeline] echo [2023-03-06T17:03:54.716Z] ========================================================= [2023-03-06T17:03:54.717Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T17:03:54.717Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T17:03:55.031Z] + git log --format=format:%s -1 024354f679838ebb0b10ebebf42c53dd4ef179a0 [Pipeline] echo [2023-03-06T17:03:55.042Z] [semverPrep] GIT_COMMIT: 024354f679838ebb0b10ebebf42c53dd4ef179a0, Commit Message: feat!: Apply JWT authentication to incoming calls [Pipeline] echo [2023-03-06T17:03:55.053Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-06T17:03:55.479Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-06T17:03:55.480Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-06T17:03:55.480Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-06T17:03:55.480Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-06T17:03:55.480Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-06T17:03:55.480Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-06T17:03:55.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:03:55.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T17:03:55.834Z] [2023-03-06T17:03:55.834Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:03:56.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T17:03:56.137Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-06T17:03:56.137Z] b85a868b505f: Pulling fs layer [2023-03-06T17:03:56.137Z] e2be974225ed: Pulling fs layer [2023-03-06T17:03:56.137Z] 339a4e72a1f5: Pulling fs layer [2023-03-06T17:03:56.137Z] 988bab9f4d93: Pulling fs layer [2023-03-06T17:03:56.137Z] 1469e6f7b9e6: Pulling fs layer [2023-03-06T17:03:56.137Z] eaf3925da568: Pulling fs layer [2023-03-06T17:03:56.137Z] bab4dde63d76: Pulling fs layer [2023-03-06T17:03:56.137Z] bde34c3a00c8: Pulling fs layer [2023-03-06T17:03:56.137Z] b352a97aabf1: Pulling fs layer [2023-03-06T17:03:56.137Z] 4872d77fe225: Pulling fs layer [2023-03-06T17:03:56.137Z] 5851b861e8e6: Pulling fs layer [2023-03-06T17:03:56.137Z] 988bab9f4d93: Waiting [2023-03-06T17:03:56.137Z] 1469e6f7b9e6: Waiting [2023-03-06T17:03:56.137Z] eaf3925da568: Waiting [2023-03-06T17:03:56.137Z] bab4dde63d76: Waiting [2023-03-06T17:03:56.137Z] b352a97aabf1: Waiting [2023-03-06T17:03:56.137Z] 4872d77fe225: Waiting [2023-03-06T17:03:56.137Z] bde34c3a00c8: Waiting [2023-03-06T17:03:56.137Z] 5851b861e8e6: Waiting [2023-03-06T17:03:56.137Z] e2be974225ed: Verifying Checksum [2023-03-06T17:03:56.137Z] e2be974225ed: Download complete [2023-03-06T17:03:56.137Z] 988bab9f4d93: Verifying Checksum [2023-03-06T17:03:56.137Z] 988bab9f4d93: Download complete [2023-03-06T17:03:56.400Z] 1469e6f7b9e6: Verifying Checksum [2023-03-06T17:03:56.400Z] 1469e6f7b9e6: Download complete [2023-03-06T17:03:56.400Z] eaf3925da568: Download complete [2023-03-06T17:03:56.400Z] 339a4e72a1f5: Verifying Checksum [2023-03-06T17:03:56.400Z] 339a4e72a1f5: Download complete [2023-03-06T17:03:56.400Z] bde34c3a00c8: Verifying Checksum [2023-03-06T17:03:56.400Z] bde34c3a00c8: Download complete [2023-03-06T17:03:56.400Z] b352a97aabf1: Download complete [2023-03-06T17:03:56.400Z] 4872d77fe225: Download complete [2023-03-06T17:03:56.400Z] 5851b861e8e6: Download complete [2023-03-06T17:03:56.400Z] b85a868b505f: Verifying Checksum [2023-03-06T17:03:56.400Z] b85a868b505f: Download complete [2023-03-06T17:03:56.979Z] bab4dde63d76: Verifying Checksum [2023-03-06T17:03:56.979Z] bab4dde63d76: Download complete [2023-03-06T17:03:57.921Z] b85a868b505f: Pull complete [2023-03-06T17:03:57.921Z] e2be974225ed: Pull complete [2023-03-06T17:03:58.490Z] 339a4e72a1f5: Pull complete [2023-03-06T17:03:58.490Z] 988bab9f4d93: Pull complete [2023-03-06T17:03:58.750Z] 1469e6f7b9e6: Pull complete [2023-03-06T17:03:59.044Z] eaf3925da568: Pull complete [2023-03-06T17:04:00.966Z] bab4dde63d76: Pull complete [2023-03-06T17:04:00.966Z] bde34c3a00c8: Pull complete [2023-03-06T17:04:00.966Z] b352a97aabf1: Pull complete [2023-03-06T17:04:00.966Z] 4872d77fe225: Pull complete [2023-03-06T17:04:00.966Z] 5851b861e8e6: Pull complete [2023-03-06T17:04:00.966Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-06T17:04:00.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T17:04:00.966Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:04:01.056Z] prd-ubuntu20.04-docker-8c-8g-8379 does not seem to be running inside a container [2023-03-06T17:04:01.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-06T17:04:03.815Z] $ docker top fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 -eo pid,comm [2023-03-06T17:04:03.866Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-06T17:04:03.866Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-06T17:04:03.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T17:04:03.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T17:04:04.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T17:04:04.042Z] $ docker exec fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 ssh-agent [2023-03-06T17:04:04.148Z] SSH_AUTH_SOCK=/tmp/ssh-lBBghurzcFr9/agent.34 [2023-03-06T17:04:04.148Z] SSH_AGENT_PID=40 [2023-03-06T17:04:04.153Z] Running ssh-add (command line suppressed) [2023-03-06T17:04:04.258Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_3246647067301932677.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_3246647067301932677.key) [2023-03-06T17:04:04.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T17:04:04.557Z] + git tag --points-at HEAD [Pipeline] } [2023-03-06T17:04:04.573Z] $ docker exec --env ******** --env ******** fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 ssh-agent -k [2023-03-06T17:04:04.671Z] unset SSH_AUTH_SOCK; [2023-03-06T17:04:04.671Z] unset SSH_AGENT_PID; [2023-03-06T17:04:04.671Z] echo Agent pid 40 killed; [2023-03-06T17:04:04.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-06T17:04:04.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T17:04:04.741Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T17:04:04.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T17:04:04.856Z] $ docker exec fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 ssh-agent [2023-03-06T17:04:04.955Z] SSH_AUTH_SOCK=/tmp/ssh-fOV2M6I8NKzU/agent.72 [2023-03-06T17:04:04.955Z] SSH_AGENT_PID=79 [2023-03-06T17:04:04.959Z] Running ssh-add (command line suppressed) [2023-03-06T17:04:05.053Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_909245848789851669.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_909245848789851669.key) [2023-03-06T17:04:05.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T17:04:05.346Z] + git semver init [2023-03-06T17:04:05.916Z] 2023-03-06 17:04:05,671 [run_init] DEBUG init version:0.0.0 force:False [2023-03-06T17:04:05.916Z] 2023-03-06 17:04:05,673 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver [2023-03-06T17:04:05.916Z] 2023-03-06 17:04:05,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver [2023-03-06T17:04:05.916Z] 2023-03-06 17:04:05,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343, universal_newlines=False, shell=None, istream=None) [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,718 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.git/info/exclude [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,719 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 with force:False [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,719 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,723 [execute] INFO git cat-file --batch-check [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,729 [execute] INFO git cat-file --batch [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T17:04:06.852Z] 2023-03-06 17:04:06,733 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 [2023-03-06T17:04:06.852Z] 0.0.0 [Pipeline] } [2023-03-06T17:04:06.865Z] $ docker exec --env ******** --env ******** fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 ssh-agent -k [2023-03-06T17:04:06.971Z] unset SSH_AUTH_SOCK; [2023-03-06T17:04:06.971Z] unset SSH_AGENT_PID; [2023-03-06T17:04:06.971Z] echo Agent pid 79 killed; [2023-03-06T17:04:06.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-06T17:04:07.273Z] + git semver [Pipeline] } [2023-03-06T17:04:07.550Z] $ docker stop --time=1 fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 [2023-03-06T17:04:08.865Z] $ docker rm -f --volumes fda132690ac04d6f11250b9825b3356faefa85b50e142506fcd5a078d4e67c95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T17:04:09.189Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-06T17:04:09.399Z] Stashed 1 file(s) [Pipeline] echo [2023-03-06T17:04:09.402Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T17:04:09.563Z] provisioning config files... [2023-03-06T17:04:09.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config816446997019468001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:04:09.875Z] ---> docker-login.sh [2023-03-06T17:04:09.875Z] nexus3.edgexfoundry.org:10001 [2023-03-06T17:04:09.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:04:09.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:04:09.875Z] Configure a credential helper to remove this warning. See [2023-03-06T17:04:09.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:04:09.875Z] [2023-03-06T17:04:09.875Z] Login Succeeded [2023-03-06T17:04:09.875Z] nexus3.edgexfoundry.org:10002 [2023-03-06T17:04:09.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:04:09.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:04:09.875Z] Configure a credential helper to remove this warning. See [2023-03-06T17:04:09.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:04:09.875Z] [2023-03-06T17:04:09.875Z] Login Succeeded [2023-03-06T17:04:09.875Z] nexus3.edgexfoundry.org:10003 [2023-03-06T17:04:10.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:04:10.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:04:10.136Z] Configure a credential helper to remove this warning. See [2023-03-06T17:04:10.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:04:10.136Z] [2023-03-06T17:04:10.136Z] Login Succeeded [2023-03-06T17:04:10.136Z] nexus3.edgexfoundry.org:10004 [2023-03-06T17:04:10.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:04:10.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:04:10.136Z] Configure a credential helper to remove this warning. See [2023-03-06T17:04:10.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:04:10.136Z] [2023-03-06T17:04:10.136Z] Login Succeeded [2023-03-06T17:04:10.136Z] docker.io [2023-03-06T17:04:10.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:04:10.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:04:10.395Z] Configure a credential helper to remove this warning. See [2023-03-06T17:04:10.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:04:10.395Z] [2023-03-06T17:04:10.395Z] Login Succeeded [2023-03-06T17:04:10.395Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T17:04:10.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T17:04:10.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T17:04:10.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T17:04:10.502Z] ========================================================= [2023-03-06T17:04:10.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-06T17:04:10.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:04:10.886Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T17:04:10.886Z] Sending build context to Docker daemon 10.61MB [2023-03-06T17:04:10.886Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T17:04:10.886Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-06T17:04:10.886Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-06T17:04:10.886Z] 213ec9aee27d: Pulling fs layer [2023-03-06T17:04:10.886Z] 4583459ba037: Pulling fs layer [2023-03-06T17:04:10.886Z] 93c1e223e6f2: Pulling fs layer [2023-03-06T17:04:10.886Z] 53926ce57604: Pulling fs layer [2023-03-06T17:04:10.886Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-06T17:04:10.886Z] 22ff95d597cd: Pulling fs layer [2023-03-06T17:04:10.886Z] 12d6caf4c0d1: Pulling fs layer [2023-03-06T17:04:10.886Z] 96b7cbca73a9: Pulling fs layer [2023-03-06T17:04:10.886Z] a7acece74701: Pulling fs layer [2023-03-06T17:04:10.886Z] 21b2b0c7a3f4: Waiting [2023-03-06T17:04:10.886Z] 22ff95d597cd: Waiting [2023-03-06T17:04:10.886Z] 12d6caf4c0d1: Waiting [2023-03-06T17:04:10.886Z] 96b7cbca73a9: Waiting [2023-03-06T17:04:10.886Z] a7acece74701: Waiting [2023-03-06T17:04:10.886Z] 53926ce57604: Waiting [2023-03-06T17:04:11.155Z] 93c1e223e6f2: Verifying Checksum [2023-03-06T17:04:11.155Z] 93c1e223e6f2: Download complete [2023-03-06T17:04:11.155Z] 4583459ba037: Download complete [2023-03-06T17:04:11.155Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-06T17:04:11.155Z] 21b2b0c7a3f4: Download complete [2023-03-06T17:04:11.155Z] 22ff95d597cd: Verifying Checksum [2023-03-06T17:04:11.155Z] 22ff95d597cd: Download complete [2023-03-06T17:04:11.155Z] 213ec9aee27d: Verifying Checksum [2023-03-06T17:04:11.155Z] 213ec9aee27d: Download complete [2023-03-06T17:04:11.155Z] 12d6caf4c0d1: Download complete [2023-03-06T17:04:11.417Z] 213ec9aee27d: Pull complete [2023-03-06T17:04:11.417Z] 4583459ba037: Pull complete [2023-03-06T17:04:11.417Z] 93c1e223e6f2: Pull complete [2023-03-06T17:04:11.684Z] a7acece74701: Download complete [2023-03-06T17:04:11.943Z] 96b7cbca73a9: Verifying Checksum [2023-03-06T17:04:11.943Z] 96b7cbca73a9: Download complete [2023-03-06T17:04:11.943Z] 53926ce57604: Verifying Checksum [2023-03-06T17:04:11.943Z] 53926ce57604: Download complete [2023-03-06T17:04:16.150Z] 53926ce57604: Pull complete [2023-03-06T17:04:16.150Z] 21b2b0c7a3f4: Pull complete [2023-03-06T17:04:16.150Z] 22ff95d597cd: Pull complete [2023-03-06T17:04:16.150Z] 12d6caf4c0d1: Pull complete [2023-03-06T17:04:18.683Z] 96b7cbca73a9: Pull complete [2023-03-06T17:04:19.251Z] a7acece74701: Pull complete [2023-03-06T17:04:19.251Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-06T17:04:19.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-06T17:04:19.251Z] ---> db6d94c90886 [2023-03-06T17:04:19.251Z] Step 3/10 : ARG MAKE=make build [2023-03-06T17:04:23.442Z] ---> Running in 5dbbe78571e5 [2023-03-06T17:04:23.442Z] Removing intermediate container 5dbbe78571e5 [2023-03-06T17:04:23.442Z] ---> 1b1b477a38dc [2023-03-06T17:04:23.442Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-06T17:04:23.442Z] ---> Running in caaddeed11ce [2023-03-06T17:04:23.700Z] Removing intermediate container caaddeed11ce [2023-03-06T17:04:23.700Z] ---> 6e66f3d00dea [2023-03-06T17:04:23.700Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T17:04:23.700Z] ---> Running in d9c42a7fe452 [2023-03-06T17:04:23.700Z] Removing intermediate container d9c42a7fe452 [2023-03-06T17:04:23.700Z] ---> 8c3a3feea1b4 [2023-03-06T17:04:23.700Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-06T17:04:23.700Z] ---> Running in c685c40a7c09 [2023-03-06T17:04:23.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T17:04:24.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T17:04:24.479Z] OK: 211 MiB in 51 packages [2023-03-06T17:04:24.514Z] Still waiting to schedule task [2023-03-06T17:04:24.514Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-06T17:04:24.749Z] Removing intermediate container c685c40a7c09 [2023-03-06T17:04:24.749Z] ---> 501db76e1a27 [2023-03-06T17:04:24.749Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-06T17:04:25.008Z] ---> e37b2ddaac44 [2023-03-06T17:04:25.008Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T17:04:25.008Z] ---> Running in 4effab946f58 [2023-03-06T17:05:11.724Z] Removing intermediate container 4effab946f58 [2023-03-06T17:05:11.724Z] ---> ce92f09f5dbe [2023-03-06T17:05:11.724Z] Step 9/10 : COPY . . [2023-03-06T17:05:11.724Z] ---> 47c01b11c700 [2023-03-06T17:05:11.724Z] Step 10/10 : RUN ${MAKE} [2023-03-06T17:05:11.724Z] ---> Running in 576aa6add595 [2023-03-06T17:05:11.724Z] noop [2023-03-06T17:05:11.724Z] Removing intermediate container 576aa6add595 [2023-03-06T17:05:11.724Z] ---> 37b8fbd55d09 [2023-03-06T17:05:11.724Z] Successfully built 37b8fbd55d09 [2023-03-06T17:05:11.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:05:12.036Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T17:05:12.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:05:12.121Z] prd-ubuntu20.04-docker-8c-8g-8379 does not seem to be running inside a container [2023-03-06T17:05:12.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T17:05:12.524Z] $ docker top bceda9faa6d19818e612772416cd2e70e81ecaa7b94a5b67c0fcad671f050384 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T17:05:12.869Z] + go version [2023-03-06T17:05:12.869Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-06T17:05:12.884Z] $ docker stop --time=1 bceda9faa6d19818e612772416cd2e70e81ecaa7b94a5b67c0fcad671f050384 [2023-03-06T17:05:14.144Z] $ docker rm -f --volumes bceda9faa6d19818e612772416cd2e70e81ecaa7b94a5b67c0fcad671f050384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:05:14.525Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T17:05:14.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:05:14.599Z] prd-ubuntu20.04-docker-8c-8g-8379 does not seem to be running inside a container [2023-03-06T17:05:14.637Z] $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T17:05:14.947Z] $ docker top fb460cdf61b09c728cccf2f2b0db586b70f37b93ffbc91ad11b16ddb554dc5cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T17:05:15.296Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] fileExists [Pipeline] sh [2023-03-06T17:05:15.586Z] + make test [2023-03-06T17:05:15.586Z] go test -race -coverprofile=coverage.out ./... [2023-03-06T17:05:22.163Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-06T17:05:37.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-03-06T17:05:37.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.090s coverage: 78.9% of statements [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-06T17:05:37.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.138s coverage: 86.0% of statements [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-06T17:05:37.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 75.4% of statements [2023-03-06T17:05:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-06T17:05:39.567Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.3% of statements [2023-03-06T17:05:39.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-06T17:05:39.567Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements [2023-03-06T17:05:39.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-06T17:05:39.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-06T17:05:39.567Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements [2023-03-06T17:05:39.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-06T17:05:39.567Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-03-06T17:05:39.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-06T17:05:54.433Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-06T17:05:54.433Z] GO111MODULE=on go vet ./... [2023-03-06T17:05:58.621Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T17:05:58.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T17:05:58.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T17:05:58.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T17:05:58.649Z] $ docker stop --time=1 fb460cdf61b09c728cccf2f2b0db586b70f37b93ffbc91ad11b16ddb554dc5cd [2023-03-06T17:06:01.899Z] $ docker rm -f --volumes fb460cdf61b09c728cccf2f2b0db586b70f37b93ffbc91ad11b16ddb554dc5cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T17:06:02.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T17:06:02.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-06T17:06:03.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T17:06:03.350Z] + ls -al . [2023-03-06T17:06:03.350Z] total 280 [2023-03-06T17:06:03.350Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 6 17:05 . [2023-03-06T17:06:03.350Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 17:03 .. [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 6 17:03 .dockerignore [2023-03-06T17:06:03.350Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 17:05 .git [2023-03-06T17:06:03.350Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 17:03 .github [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 6 17:03 .gitignore [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 6 17:03 .golangci.yml [2023-03-06T17:06:03.350Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 17:04 .semver [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 6 17:03 CHANGELOG.md [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 17:03 GOVERNANCE.md [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 6 17:03 Jenkinsfile [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 6 17:03 LICENSE [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 6 17:03 Makefile [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 6 17:03 OWNERS.md [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 6 17:03 README.md [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 17:04 VERSION [2023-03-06T17:06:03.350Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 17:03 bin [2023-03-06T17:06:03.350Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 6 17:05 coverage.out [2023-03-06T17:06:03.350Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 6 17:03 example [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 6 17:03 go.mod [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 6 17:03 go.sum [2023-03-06T17:06:03.350Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 6 17:03 internal [2023-03-06T17:06:03.350Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 17:03 openapi [2023-03-06T17:06:03.350Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 6 17:03 pkg [2023-03-06T17:06:03.350Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 17:03 snap [2023-03-06T17:06:03.350Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 6 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:06:03.664Z] + 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=024354f679838ebb0b10ebebf42c53dd4ef179a0 --label arch=amd64 --label version=0.0.0 . [2023-03-06T17:06:03.664Z] Sending build context to Docker daemon 10.72MB [2023-03-06T17:06:03.664Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T17:06:03.664Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-06T17:06:03.664Z] ---> 37b8fbd55d09 [2023-03-06T17:06:03.664Z] Step 3/23 : ARG MAKE=make build [2023-03-06T17:06:03.925Z] ---> Running in 8e5969ebaacf [2023-03-06T17:06:03.925Z] Removing intermediate container 8e5969ebaacf [2023-03-06T17:06:03.925Z] ---> 08de29ac37f8 [2023-03-06T17:06:03.925Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-06T17:06:03.925Z] ---> Running in 19dc0d9401ae [2023-03-06T17:06:04.183Z] Removing intermediate container 19dc0d9401ae [2023-03-06T17:06:04.183Z] ---> 301d725f6c8e [2023-03-06T17:06:04.183Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T17:06:04.183Z] ---> Running in 515bb1f91b03 [2023-03-06T17:06:04.183Z] Removing intermediate container 515bb1f91b03 [2023-03-06T17:06:04.183Z] ---> 3aa460793e99 [2023-03-06T17:06:04.183Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-06T17:06:04.183Z] ---> Running in 06970bbdbfaf [2023-03-06T17:06:04.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T17:06:04.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T17:06:04.961Z] OK: 211 MiB in 51 packages [2023-03-06T17:06:05.220Z] Removing intermediate container 06970bbdbfaf [2023-03-06T17:06:05.220Z] ---> 3844dac87708 [2023-03-06T17:06:05.220Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-06T17:06:05.220Z] ---> 55d5e58f4ea6 [2023-03-06T17:06:05.220Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T17:06:05.480Z] ---> Running in db271f24f016 [2023-03-06T17:06:06.417Z] Removing intermediate container db271f24f016 [2023-03-06T17:06:06.417Z] ---> 63916ed898aa [2023-03-06T17:06:06.417Z] Step 9/23 : COPY . . [2023-03-06T17:06:06.678Z] ---> 80acf5d5bacc [2023-03-06T17:06:06.678Z] Step 10/23 : RUN ${MAKE} [2023-03-06T17:06:06.678Z] ---> Running in 23c3b66ee0a2 [2023-03-06T17:06:06.936Z] 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-03-06T17:06:28.861Z] Removing intermediate container 23c3b66ee0a2 [2023-03-06T17:06:28.861Z] ---> d393c39966cc [2023-03-06T17:06:28.861Z] Step 11/23 : FROM alpine:3.16 [2023-03-06T17:06:28.861Z] 3.16: Pulling from library/alpine [2023-03-06T17:06:28.861Z] ef5531b6e74e: Pulling fs layer [2023-03-06T17:06:28.861Z] ef5531b6e74e: Verifying Checksum [2023-03-06T17:06:28.861Z] ef5531b6e74e: Download complete [2023-03-06T17:06:28.861Z] ef5531b6e74e: Pull complete [2023-03-06T17:06:28.861Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T17:06:28.861Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T17:06:28.861Z] ---> dfd21b5a31f5 [2023-03-06T17:06:28.861Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T17:06:28.861Z] ---> Running in 782c60126ace [2023-03-06T17:06:28.861Z] Removing intermediate container 782c60126ace [2023-03-06T17:06:28.861Z] ---> db81c28389ac [2023-03-06T17:06:28.861Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-06T17:06:28.861Z] ---> Running in 74944c4b7f2c [2023-03-06T17:06:29.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T17:06:29.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T17:06:29.392Z] OK: 6 MiB in 14 packages [2023-03-06T17:06:29.651Z] Removing intermediate container 74944c4b7f2c [2023-03-06T17:06:29.651Z] ---> 4c562485f140 [2023-03-06T17:06:29.651Z] Step 14/23 : WORKDIR / [2023-03-06T17:06:29.651Z] ---> Running in 46658c7349a6 [2023-03-06T17:06:29.909Z] Removing intermediate container 46658c7349a6 [2023-03-06T17:06:29.909Z] ---> 64e060508fa7 [2023-03-06T17:06:29.909Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-06T17:06:29.909Z] ---> 094a1236902c [2023-03-06T17:06:29.909Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-06T17:06:30.845Z] ---> d3984175ab35 [2023-03-06T17:06:30.845Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-06T17:06:30.845Z] ---> c643fa141d57 [2023-03-06T17:06:30.845Z] Step 18/23 : EXPOSE 59999 [2023-03-06T17:06:30.845Z] ---> Running in 61f8848779f5 [2023-03-06T17:06:30.845Z] Removing intermediate container 61f8848779f5 [2023-03-06T17:06:30.845Z] ---> 8d7fa9a8840a [2023-03-06T17:06:30.845Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-06T17:06:30.845Z] ---> Running in d61d69780c40 [2023-03-06T17:06:31.104Z] Removing intermediate container d61d69780c40 [2023-03-06T17:06:31.104Z] ---> 9175cb5a0094 [2023-03-06T17:06:31.104Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-06T17:06:31.104Z] ---> Running in a0413e077f56 [2023-03-06T17:06:31.104Z] Removing intermediate container a0413e077f56 [2023-03-06T17:06:31.104Z] ---> f9441114f811 [2023-03-06T17:06:31.104Z] Step 21/23 : LABEL arch=amd64 [2023-03-06T17:06:31.104Z] ---> Running in 61bce6435e72 [2023-03-06T17:06:31.363Z] Removing intermediate container 61bce6435e72 [2023-03-06T17:06:31.363Z] ---> 3cde49b48018 [2023-03-06T17:06:31.363Z] Step 22/23 : LABEL git_sha=024354f679838ebb0b10ebebf42c53dd4ef179a0 [2023-03-06T17:06:31.363Z] ---> Running in 959886cecd0d [2023-03-06T17:06:31.363Z] Removing intermediate container 959886cecd0d [2023-03-06T17:06:31.363Z] ---> f31f021a7fda [2023-03-06T17:06:31.363Z] Step 23/23 : LABEL version=0.0.0 [2023-03-06T17:06:31.363Z] ---> Running in 8099f4448f91 [2023-03-06T17:06:31.363Z] Removing intermediate container 8099f4448f91 [2023-03-06T17:06:31.363Z] ---> a12e597f9c8b [2023-03-06T17:06:31.363Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T17:06:31.363Z] Successfully built a12e597f9c8b [2023-03-06T17:06:31.363Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:06:31.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T17:06:31.791Z] [2023-03-06T17:06:31.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:06:32.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T17:06:32.095Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-06T17:06:32.095Z] 5eb5b503b376: Pulling fs layer [2023-03-06T17:06:32.095Z] 5c69ac0246d0: Pulling fs layer [2023-03-06T17:06:32.095Z] ec43610c2a17: Pulling fs layer [2023-03-06T17:06:32.095Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-06T17:06:32.095Z] 33b1e0a273af: Pulling fs layer [2023-03-06T17:06:32.095Z] 3a2ae6a8a46f: Waiting [2023-03-06T17:06:32.095Z] 5d3b04190fa2: Pulling fs layer [2023-03-06T17:06:32.095Z] 2f39f015ded8: Pulling fs layer [2023-03-06T17:06:32.095Z] 5d3b04190fa2: Waiting [2023-03-06T17:06:32.095Z] 2f39f015ded8: Waiting [2023-03-06T17:06:32.095Z] 5c69ac0246d0: Verifying Checksum [2023-03-06T17:06:32.095Z] 5c69ac0246d0: Download complete [2023-03-06T17:06:32.095Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-06T17:06:32.095Z] 3a2ae6a8a46f: Download complete [2023-03-06T17:06:32.356Z] 33b1e0a273af: Verifying Checksum [2023-03-06T17:06:32.356Z] 33b1e0a273af: Download complete [2023-03-06T17:06:32.356Z] ec43610c2a17: Verifying Checksum [2023-03-06T17:06:32.356Z] ec43610c2a17: Download complete [2023-03-06T17:06:32.356Z] 5d3b04190fa2: Verifying Checksum [2023-03-06T17:06:32.356Z] 5d3b04190fa2: Download complete [2023-03-06T17:06:32.356Z] 5eb5b503b376: Verifying Checksum [2023-03-06T17:06:32.356Z] 5eb5b503b376: Download complete [2023-03-06T17:06:33.299Z] 2f39f015ded8: Verifying Checksum [2023-03-06T17:06:33.867Z] 5eb5b503b376: Pull complete [2023-03-06T17:06:33.867Z] 5c69ac0246d0: Pull complete [2023-03-06T17:06:34.126Z] ec43610c2a17: Pull complete [2023-03-06T17:06:34.385Z] 3a2ae6a8a46f: Pull complete [2023-03-06T17:06:34.643Z] 33b1e0a273af: Pull complete [2023-03-06T17:06:34.643Z] 5d3b04190fa2: Pull complete [2023-03-06T17:06:38.826Z] 2f39f015ded8: Pull complete [2023-03-06T17:06:38.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-06T17:06:38.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T17:06:38.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:06:38.898Z] prd-ubuntu20.04-docker-8c-8g-8379 does not seem to be running inside a container [2023-03-06T17:06:38.940Z] $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T17:06:42.301Z] $ docker top d7a773b24480ef70216267a5c2e61926501452c021034a17d35c48a55f57f1a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:06:42.665Z] ---> job-cost.sh [2023-03-06T17:06:42.665Z] lf-activate-venv: SKIPPING [2023-03-06T17:06:42.665Z] INFO: No Stack... [2023-03-06T17:06:43.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T17:06:43.493Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T17:06:43.782Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/cost.csv [2023-03-06T17:06:43.782Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T17:06:43.799Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [2023-03-06T17:06:43.805Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] did not exist. Created. [2023-03-06T17:06:43.805Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T17:06:44.112Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-06T17:06:44.134Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T17:06:44.141Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T17:06:44.160Z] $ docker stop --time=1 d7a773b24480ef70216267a5c2e61926501452c021034a17d35c48a55f57f1a8 [2023-03-06T17:06:45.306Z] $ docker rm -f --volumes d7a773b24480ef70216267a5c2e61926501452c021034a17d35c48a55f57f1a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-06T17:07:34.434Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8382 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] { [Pipeline] ws [2023-03-06T17:07:34.447Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-06T17:07:34.486Z] The recommended git tool is: git [2023-03-06T17:07:41.423Z] using credential edgex-jenkins-ssh [2023-03-06T17:07:41.446Z] Cloning the remote Git repository [2023-03-06T17:07:41.509Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T17:07:41.609Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-06T17:07:41.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T17:07:41.812Z] > git --version # timeout=10 [2023-03-06T17:07:41.840Z] > git --version # 'git version 2.25.1' [2023-03-06T17:07:41.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T17:07:41.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T17:07:43.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-06T17:07:43.762Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T17:07:45.588Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 024354f679838ebb0b10ebebf42c53dd4ef179a0 [2023-03-06T17:07:45.872Z] Merge succeeded, producing 024354f679838ebb0b10ebebf42c53dd4ef179a0 [2023-03-06T17:07:45.873Z] Checking out Revision 024354f679838ebb0b10ebebf42c53dd4ef179a0 (PR-1343) [2023-03-06T17:07:44.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-06T17:07:44.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T17:07:44.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T17:07:44.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-06T17:07:45.613Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T17:07:45.638Z] > git checkout -f 024354f679838ebb0b10ebebf42c53dd4ef179a0 # timeout=10 [2023-03-06T17:07:45.762Z] > git remote # timeout=10 [2023-03-06T17:07:45.783Z] > git config --get remote.origin.url # timeout=10 [2023-03-06T17:07:45.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T17:07:45.815Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-06T17:07:45.845Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-06T17:07:45.882Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T17:07:45.902Z] > git checkout -f 024354f679838ebb0b10ebebf42c53dd4ef179a0 # timeout=10 [2023-03-06T17:07:49.487Z] Commit message: "feat!: Apply JWT authentication to incoming calls" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T17:07:50.453Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-06T17:07:50.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T17:07:50.453Z] Dload Upload Total Spent Left Speed [2023-03-06T17:07:50.453Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68553 [Pipeline] sh [2023-03-06T17:07:51.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-06T17:07:51.557Z] + sudo tee /etc/docker/daemon.new [2023-03-06T17:07:51.557Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-06T17:07:51.557Z] { [2023-03-06T17:07:51.557Z] "registry-mirrors": [ [2023-03-06T17:07:51.557Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-06T17:07:51.557Z] ], [2023-03-06T17:07:51.557Z] "bip": "10.250.0.254/24", [2023-03-06T17:07:51.557Z] "hosts": [ [2023-03-06T17:07:51.557Z] "tcp://0.0.0.0:5555", [2023-03-06T17:07:51.557Z] "unix:///var/run/docker.sock" [2023-03-06T17:07:51.557Z] ], [2023-03-06T17:07:51.557Z] "mtu": 1458, [2023-03-06T17:07:51.557Z] "selinux-enabled": true, [2023-03-06T17:07:51.557Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-06T17:07:51.557Z] } [Pipeline] sh [2023-03-06T17:07:51.900Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-06T17:07:52.242Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T17:08:10.543Z] provisioning config files... [2023-03-06T17:08:10.575Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config11855311172259457623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:08:10.938Z] ---> docker-login.sh [2023-03-06T17:08:10.938Z] nexus3.edgexfoundry.org:10001 [2023-03-06T17:08:11.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:08:11.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:08:11.530Z] Configure a credential helper to remove this warning. See [2023-03-06T17:08:11.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:08:11.530Z] [2023-03-06T17:08:11.530Z] Login Succeeded [2023-03-06T17:08:11.530Z] nexus3.edgexfoundry.org:10002 [2023-03-06T17:08:11.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:08:12.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:08:12.079Z] Configure a credential helper to remove this warning. See [2023-03-06T17:08:12.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:08:12.079Z] [2023-03-06T17:08:12.079Z] Login Succeeded [2023-03-06T17:08:12.079Z] nexus3.edgexfoundry.org:10003 [2023-03-06T17:08:12.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:08:12.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:08:12.350Z] Configure a credential helper to remove this warning. See [2023-03-06T17:08:12.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:08:12.350Z] [2023-03-06T17:08:12.350Z] Login Succeeded [2023-03-06T17:08:12.350Z] nexus3.edgexfoundry.org:10004 [2023-03-06T17:08:12.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:08:12.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:08:12.891Z] Configure a credential helper to remove this warning. See [2023-03-06T17:08:12.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:08:12.891Z] [2023-03-06T17:08:12.891Z] Login Succeeded [2023-03-06T17:08:12.891Z] docker.io [2023-03-06T17:08:13.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T17:08:13.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T17:08:13.430Z] Configure a credential helper to remove this warning. See [2023-03-06T17:08:13.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T17:08:13.430Z] [2023-03-06T17:08:13.430Z] Login Succeeded [2023-03-06T17:08:13.430Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T17:08:13.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T17:08:13.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T17:08:13.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T17:08:13.762Z] ========================================================= [2023-03-06T17:08:13.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-06T17:08:13.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:08:14.123Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T17:08:14.397Z] Sending build context to Docker daemon 5.703MB [2023-03-06T17:08:14.671Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T17:08:14.671Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-06T17:08:14.671Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-06T17:08:14.671Z] 9b18e9b68314: Pulling fs layer [2023-03-06T17:08:14.671Z] 35d82f9e3411: Pulling fs layer [2023-03-06T17:08:14.671Z] e16973657156: Pulling fs layer [2023-03-06T17:08:14.671Z] fc693d55d65f: Pulling fs layer [2023-03-06T17:08:14.671Z] 7e9fc2657dce: Pulling fs layer [2023-03-06T17:08:14.671Z] dda99020689f: Pulling fs layer [2023-03-06T17:08:14.671Z] db1c61fa0a46: Pulling fs layer [2023-03-06T17:08:14.671Z] 891c053d2c06: Pulling fs layer [2023-03-06T17:08:14.671Z] dda99020689f: Waiting [2023-03-06T17:08:14.671Z] db1c61fa0a46: Waiting [2023-03-06T17:08:14.671Z] fc693d55d65f: Waiting [2023-03-06T17:08:14.671Z] 7e9fc2657dce: Waiting [2023-03-06T17:08:14.671Z] 891c053d2c06: Waiting [2023-03-06T17:08:14.671Z] e16973657156: Verifying Checksum [2023-03-06T17:08:14.671Z] e16973657156: Download complete [2023-03-06T17:08:14.671Z] 35d82f9e3411: Verifying Checksum [2023-03-06T17:08:14.671Z] 35d82f9e3411: Download complete [2023-03-06T17:08:14.958Z] 7e9fc2657dce: Verifying Checksum [2023-03-06T17:08:14.958Z] 7e9fc2657dce: Download complete [2023-03-06T17:08:14.958Z] dda99020689f: Verifying Checksum [2023-03-06T17:08:14.958Z] dda99020689f: Download complete [2023-03-06T17:08:14.958Z] 9b18e9b68314: Verifying Checksum [2023-03-06T17:08:14.958Z] 9b18e9b68314: Download complete [2023-03-06T17:08:15.947Z] 9b18e9b68314: Pull complete [2023-03-06T17:08:15.947Z] 891c053d2c06: Verifying Checksum [2023-03-06T17:08:15.947Z] 891c053d2c06: Download complete [2023-03-06T17:08:16.543Z] 35d82f9e3411: Pull complete [2023-03-06T17:08:17.134Z] e16973657156: Pull complete [2023-03-06T17:08:17.406Z] db1c61fa0a46: Verifying Checksum [2023-03-06T17:08:17.406Z] db1c61fa0a46: Download complete [2023-03-06T17:08:17.999Z] fc693d55d65f: Verifying Checksum [2023-03-06T17:08:17.999Z] fc693d55d65f: Download complete [2023-03-06T17:08:33.044Z] fc693d55d65f: Pull complete [2023-03-06T17:08:33.044Z] 7e9fc2657dce: Pull complete [2023-03-06T17:08:33.044Z] dda99020689f: Pull complete [2023-03-06T17:08:37.336Z] db1c61fa0a46: Pull complete [2023-03-06T17:08:39.290Z] 891c053d2c06: Pull complete [2023-03-06T17:08:39.290Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-06T17:08:39.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-06T17:08:39.290Z] ---> f96f9c87975a [2023-03-06T17:08:39.290Z] Step 3/10 : ARG MAKE=make build [2023-03-06T17:08:39.883Z] ---> Running in c91647ab0b07 [2023-03-06T17:08:40.154Z] Removing intermediate container c91647ab0b07 [2023-03-06T17:08:40.154Z] ---> cd3ad5ee3ab6 [2023-03-06T17:08:40.154Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-06T17:08:40.154Z] ---> Running in 73cd136021b4 [2023-03-06T17:08:40.753Z] Removing intermediate container 73cd136021b4 [2023-03-06T17:08:40.753Z] ---> 6250a396d59e [2023-03-06T17:08:40.753Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T17:08:40.753Z] ---> Running in 03aaec44b4c3 [2023-03-06T17:08:41.030Z] Removing intermediate container 03aaec44b4c3 [2023-03-06T17:08:41.030Z] ---> f9d3dc04d49d [2023-03-06T17:08:41.030Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-06T17:08:41.303Z] ---> Running in ebc22ec42861 [2023-03-06T17:08:42.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T17:08:42.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T17:08:43.697Z] OK: 221 MiB in 51 packages [2023-03-06T17:08:46.283Z] Removing intermediate container ebc22ec42861 [2023-03-06T17:08:46.283Z] ---> cfe906ebd6f0 [2023-03-06T17:08:46.283Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-06T17:08:46.551Z] ---> f6c8f4b24536 [2023-03-06T17:08:46.551Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T17:08:46.551Z] ---> Running in 80372ae71dda [2023-03-06T17:09:54.642Z] Removing intermediate container 80372ae71dda [2023-03-06T17:09:54.642Z] ---> 05285e2e6408 [2023-03-06T17:09:54.642Z] Step 9/10 : COPY . . [2023-03-06T17:09:55.605Z] ---> 8195e5494cf1 [2023-03-06T17:09:55.605Z] Step 10/10 : RUN ${MAKE} [2023-03-06T17:09:55.605Z] ---> Running in edcdc321f6db [2023-03-06T17:09:56.571Z] noop [2023-03-06T17:09:57.159Z] Removing intermediate container edcdc321f6db [2023-03-06T17:09:57.160Z] ---> 94da5d3d71db [2023-03-06T17:09:57.428Z] Successfully built 94da5d3d71db [2023-03-06T17:09:57.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:09:57.775Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T17:09:57.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:09:57.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-8382 does not seem to be running inside a container [2023-03-06T17:09:58.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T17:09:59.279Z] $ docker top c7edd81f1862a7c7532e4266a769f906ed4eb0f2b6f983fb7673423c027af559 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T17:10:00.139Z] + go version [2023-03-06T17:10:00.139Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-06T17:10:00.165Z] $ docker stop --time=1 c7edd81f1862a7c7532e4266a769f906ed4eb0f2b6f983fb7673423c027af559 [2023-03-06T17:10:01.845Z] $ docker rm -f --volumes c7edd81f1862a7c7532e4266a769f906ed4eb0f2b6f983fb7673423c027af559 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:10:02.405Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T17:10:02.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:10:02.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-8382 does not seem to be running inside a container [2023-03-06T17:10:02.677Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T17:10:03.925Z] $ docker top 3271bf912053689cd8e1ac7b06ddbf04c2fb82d89175f491f70f75ee09f9f49c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T17:10:04.777Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-06T17:10:05.427Z] + make test [2023-03-06T17:10:05.427Z] go test -race -coverprofile=coverage.out ./... [2023-03-06T17:10:44.366Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-06T17:12:51.099Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-06T17:12:51.099Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-06T17:12:51.099Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-06T17:12:51.099Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-06T17:12:51.099Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-06T17:12:53.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.477s coverage: 27.6% of statements [2023-03-06T17:12:56.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.395s coverage: 78.9% of statements [2023-03-06T17:12:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-06T17:13:02.968Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.496s coverage: 86.0% of statements [2023-03-06T17:13:02.968Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-06T17:13:02.968Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-06T17:13:04.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.769s coverage: 75.4% of statements [2023-03-06T17:13:04.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-06T17:13:04.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.528s coverage: 15.3% of statements [2023-03-06T17:13:04.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-06T17:13:06.876Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.455s coverage: 65.2% of statements [2023-03-06T17:13:06.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-06T17:13:06.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-06T17:13:11.133Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.006s coverage: 89.2% of statements [2023-03-06T17:13:11.133Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-06T17:13:11.133Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.272s coverage: 4.6% of statements [2023-03-06T17:13:11.133Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-06T17:13:11.402Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-06T17:13:11.402Z] GO111MODULE=on go vet ./... [2023-03-06T17:14:48.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T17:14:48.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T17:14:48.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T17:14:48.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T17:14:48.109Z] $ docker stop --time=1 3271bf912053689cd8e1ac7b06ddbf04c2fb82d89175f491f70f75ee09f9f49c [2023-03-06T17:14:49.953Z] $ docker rm -f --volumes 3271bf912053689cd8e1ac7b06ddbf04c2fb82d89175f491f70f75ee09f9f49c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T17:14:51.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T17:14:51.344Z] Warning: overwriting stash ‘coverage-report’ [2023-03-06T17:14:52.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T17:14:52.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T17:14:52.840Z] + ls -al . [2023-03-06T17:14:52.840Z] total 276 [2023-03-06T17:14:52.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 17:10 . [2023-03-06T17:14:52.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 17:07 .. [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 6 17:07 .dockerignore [2023-03-06T17:14:52.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 17:07 .git [2023-03-06T17:14:52.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 17:07 .github [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 6 17:07 .gitignore [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 6 17:07 .golangci.yml [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 6 17:07 CHANGELOG.md [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 17:07 GOVERNANCE.md [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 6 17:07 Jenkinsfile [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 6 17:07 LICENSE [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 6 17:07 Makefile [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 6 17:07 OWNERS.md [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 6 17:07 README.md [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 17:04 VERSION [2023-03-06T17:14:52.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 17:07 bin [2023-03-06T17:14:52.840Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 6 17:13 coverage.out [2023-03-06T17:14:52.840Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 6 17:07 example [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 6 17:07 go.mod [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 6 17:07 go.sum [2023-03-06T17:14:52.840Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 6 17:07 internal [2023-03-06T17:14:52.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 17:07 openapi [2023-03-06T17:14:52.840Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 6 17:07 pkg [2023-03-06T17:14:52.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 17:07 snap [2023-03-06T17:14:52.840Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 6 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:14:53.185Z] + 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=024354f679838ebb0b10ebebf42c53dd4ef179a0 --label arch=arm64 --label version=0.0.0 . [2023-03-06T17:14:53.776Z] Sending build context to Docker daemon 5.815MB [2023-03-06T17:14:53.776Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T17:14:53.776Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-06T17:14:53.776Z] ---> 94da5d3d71db [2023-03-06T17:14:53.776Z] Step 3/23 : ARG MAKE=make build [2023-03-06T17:14:53.776Z] ---> Running in 42c46b5e947b [2023-03-06T17:14:54.061Z] Removing intermediate container 42c46b5e947b [2023-03-06T17:14:54.061Z] ---> 1b3f01b98b8b [2023-03-06T17:14:54.061Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-06T17:14:54.357Z] ---> Running in 83905e0fa68a [2023-03-06T17:14:54.632Z] Removing intermediate container 83905e0fa68a [2023-03-06T17:14:54.632Z] ---> 5481e35d13b3 [2023-03-06T17:14:54.632Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T17:14:54.632Z] ---> Running in ec1f26c558d6 [2023-03-06T17:14:54.906Z] Removing intermediate container ec1f26c558d6 [2023-03-06T17:14:54.906Z] ---> 085a0d9a4b8f [2023-03-06T17:14:54.906Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-06T17:14:55.176Z] ---> Running in f2d5c54c68c4 [2023-03-06T17:14:56.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T17:14:56.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T17:14:57.821Z] OK: 221 MiB in 51 packages [2023-03-06T17:14:58.405Z] Removing intermediate container f2d5c54c68c4 [2023-03-06T17:14:58.405Z] ---> 08018be8778f [2023-03-06T17:14:58.405Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-06T17:14:58.989Z] ---> bdf9fb59708e [2023-03-06T17:14:58.989Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T17:14:58.989Z] ---> Running in 97385253bb3d [2023-03-06T17:15:01.576Z] Removing intermediate container 97385253bb3d [2023-03-06T17:15:01.576Z] ---> bb036c266e06 [2023-03-06T17:15:01.577Z] Step 9/23 : COPY . . [2023-03-06T17:15:02.988Z] ---> d0cb113512e2 [2023-03-06T17:15:02.988Z] Step 10/23 : RUN ${MAKE} [2023-03-06T17:15:02.988Z] ---> Running in e5679b09969c [2023-03-06T17:15:03.952Z] 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-03-06T17:17:10.650Z] Removing intermediate container e5679b09969c [2023-03-06T17:17:10.650Z] ---> 13ace5860fed [2023-03-06T17:17:10.650Z] Step 11/23 : FROM alpine:3.16 [2023-03-06T17:17:11.232Z] 3.16: Pulling from library/alpine [2023-03-06T17:17:11.232Z] 3760b48202b3: Pulling fs layer [2023-03-06T17:17:11.499Z] 3760b48202b3: Verifying Checksum [2023-03-06T17:17:11.499Z] 3760b48202b3: Download complete [2023-03-06T17:17:12.083Z] 3760b48202b3: Pull complete [2023-03-06T17:17:12.083Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T17:17:12.083Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T17:17:12.083Z] ---> 4c81e5bf8899 [2023-03-06T17:17:12.083Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T17:17:12.083Z] ---> Running in a4fd0a688bd3 [2023-03-06T17:17:12.351Z] Removing intermediate container a4fd0a688bd3 [2023-03-06T17:17:12.351Z] ---> 8198f038e68a [2023-03-06T17:17:12.351Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-06T17:17:12.351Z] ---> Running in 044a07006b73 [2023-03-06T17:17:13.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T17:17:13.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T17:17:14.857Z] OK: 5 MiB in 14 packages [2023-03-06T17:17:15.821Z] Removing intermediate container 044a07006b73 [2023-03-06T17:17:15.821Z] ---> 3fff0b582f29 [2023-03-06T17:17:15.821Z] Step 14/23 : WORKDIR / [2023-03-06T17:17:15.821Z] ---> Running in 376e9f4fa9a6 [2023-03-06T17:17:15.821Z] Removing intermediate container 376e9f4fa9a6 [2023-03-06T17:17:15.821Z] ---> b425cf08d2b0 [2023-03-06T17:17:15.821Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-06T17:17:16.406Z] ---> afbd037a8465 [2023-03-06T17:17:16.406Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-06T17:17:17.816Z] ---> 64c2e8625ca6 [2023-03-06T17:17:17.816Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-06T17:17:18.400Z] ---> 5b0673c9ab24 [2023-03-06T17:17:18.400Z] Step 18/23 : EXPOSE 59999 [2023-03-06T17:17:18.400Z] ---> Running in 16f650dd3c41 [2023-03-06T17:17:18.669Z] Removing intermediate container 16f650dd3c41 [2023-03-06T17:17:18.669Z] ---> b28d77a147f4 [2023-03-06T17:17:18.669Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-06T17:17:18.939Z] ---> Running in b2a7e59995bc [2023-03-06T17:17:19.206Z] Removing intermediate container b2a7e59995bc [2023-03-06T17:17:19.206Z] ---> d06d2b7d2ca9 [2023-03-06T17:17:19.206Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-06T17:17:19.206Z] ---> Running in ae36b15d5ce5 [2023-03-06T17:17:19.472Z] Removing intermediate container ae36b15d5ce5 [2023-03-06T17:17:19.472Z] ---> 245aaa058f68 [2023-03-06T17:17:19.472Z] Step 21/23 : LABEL arch=arm64 [2023-03-06T17:17:19.472Z] ---> Running in de85bf14cbef [2023-03-06T17:17:19.741Z] Removing intermediate container de85bf14cbef [2023-03-06T17:17:19.741Z] ---> d1fef1eb61b8 [2023-03-06T17:17:19.741Z] Step 22/23 : LABEL git_sha=024354f679838ebb0b10ebebf42c53dd4ef179a0 [2023-03-06T17:17:20.008Z] ---> Running in 9a40b20e563f [2023-03-06T17:17:20.275Z] Removing intermediate container 9a40b20e563f [2023-03-06T17:17:20.275Z] ---> 9ebeedc748f7 [2023-03-06T17:17:20.275Z] Step 23/23 : LABEL version=0.0.0 [2023-03-06T17:17:20.275Z] ---> Running in a6514066fc13 [2023-03-06T17:17:20.542Z] Removing intermediate container a6514066fc13 [2023-03-06T17:17:20.542Z] ---> aaa6c9eded4d [2023-03-06T17:17:20.542Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T17:17:20.542Z] Successfully built aaa6c9eded4d [2023-03-06T17:17:20.542Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:17:20.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T17:17:20.987Z] [2023-03-06T17:17:20.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:17:21.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T17:17:21.315Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-06T17:17:21.315Z] 8998bd30e6a1: Pulling fs layer [2023-03-06T17:17:21.315Z] 04944245beec: Pulling fs layer [2023-03-06T17:17:21.315Z] 699f458cf7ca: Pulling fs layer [2023-03-06T17:17:21.315Z] 765212b225bb: Pulling fs layer [2023-03-06T17:17:21.315Z] f23df028b6ca: Pulling fs layer [2023-03-06T17:17:21.315Z] d65c8cfc05b1: Pulling fs layer [2023-03-06T17:17:21.315Z] 2437ff75d9bd: Pulling fs layer [2023-03-06T17:17:21.315Z] 765212b225bb: Waiting [2023-03-06T17:17:21.315Z] f23df028b6ca: Waiting [2023-03-06T17:17:21.315Z] d65c8cfc05b1: Waiting [2023-03-06T17:17:21.315Z] 2437ff75d9bd: Waiting [2023-03-06T17:17:21.582Z] 04944245beec: Verifying Checksum [2023-03-06T17:17:21.582Z] 04944245beec: Download complete [2023-03-06T17:17:21.582Z] 765212b225bb: Verifying Checksum [2023-03-06T17:17:21.582Z] 765212b225bb: Download complete [2023-03-06T17:17:21.582Z] f23df028b6ca: Verifying Checksum [2023-03-06T17:17:21.582Z] f23df028b6ca: Download complete [2023-03-06T17:17:21.582Z] d65c8cfc05b1: Verifying Checksum [2023-03-06T17:17:21.582Z] d65c8cfc05b1: Download complete [2023-03-06T17:17:21.851Z] 699f458cf7ca: Verifying Checksum [2023-03-06T17:17:21.851Z] 699f458cf7ca: Download complete [2023-03-06T17:17:22.119Z] 8998bd30e6a1: Verifying Checksum [2023-03-06T17:17:22.119Z] 8998bd30e6a1: Download complete [2023-03-06T17:17:24.702Z] 2437ff75d9bd: Verifying Checksum [2023-03-06T17:17:24.702Z] 2437ff75d9bd: Download complete [2023-03-06T17:17:26.110Z] 8998bd30e6a1: Pull complete [2023-03-06T17:17:26.377Z] 04944245beec: Pull complete [2023-03-06T17:17:27.796Z] 699f458cf7ca: Pull complete [2023-03-06T17:17:28.064Z] 765212b225bb: Pull complete [2023-03-06T17:17:31.404Z] f23df028b6ca: Pull complete [2023-03-06T17:17:31.404Z] d65c8cfc05b1: Pull complete [2023-03-06T17:17:46.486Z] 2437ff75d9bd: Pull complete [2023-03-06T17:17:46.486Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-06T17:17:46.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T17:17:46.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:17:46.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-8382 does not seem to be running inside a container [2023-03-06T17:17:46.746Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-06T17:17:49.421Z] $ docker top 7a7e325a8d05df0451e9a9d04f4b54bb326caf69b75d0c676c7ce11dfe595943 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:17:50.253Z] ---> job-cost.sh [2023-03-06T17:17:50.253Z] lf-activate-venv: SKIPPING [2023-03-06T17:17:50.253Z] INFO: No Stack... [2023-03-06T17:17:50.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-06T17:17:51.789Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T17:17:52.424Z] + cut -d, -f6 [2023-03-06T17:17:52.424Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2023-03-06T17:17:52.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [2023-03-06T17:17:52.503Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] did not exist. Created. [2023-03-06T17:17:52.504Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T17:17:52.839Z] /w/workspace/device-sdk-go/3@tmp/durable-081a84b6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-06T17:17:53.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-06T17:17:53.199Z] Warning: overwriting stash ‘stack-cost’ [2023-03-06T17:17:53.262Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T17:17:53.271Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T17:17:53.294Z] $ docker stop --time=1 7a7e325a8d05df0451e9a9d04f4b54bb326caf69b75d0c676c7ce11dfe595943 [2023-03-06T17:17:56.850Z] $ docker rm -f --volumes 7a7e325a8d05df0451e9a9d04f4b54bb326caf69b75d0c676c7ce11dfe595943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-06T17:17:57.207Z] provisioning config files... [2023-03-06T17:17:57.214Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config15773224484374516960tmp [Pipeline] { [Pipeline] sh [2023-03-06T17:17:57.516Z] + set +x [2023-03-06T17:17:57.516Z] + bash -s -- [2023-03-06T17:17:57.516Z] + curl -s https://codecov.io/bash [2023-03-06T17:17:57.516Z] [2023-03-06T17:17:57.516Z] _____ _ [2023-03-06T17:17:57.516Z] / ____| | | [2023-03-06T17:17:57.516Z] | | ___ __| | ___ ___ _____ __ [2023-03-06T17:17:57.516Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-06T17:17:57.516Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-06T17:17:57.516Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-06T17:17:57.516Z] Bash-1.0.6 [2023-03-06T17:17:57.516Z] [2023-03-06T17:17:57.516Z] [2023-03-06T17:17:57.516Z] ==> git version 2.25.1 found [2023-03-06T17:17:57.516Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-06T17:17:57.516Z] Release-Date: 2020-01-08 [2023-03-06T17:17:57.516Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-06T17:17:57.516Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-06T17:17:57.516Z] ==> Jenkins CI detected. [2023-03-06T17:17:57.516Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1343 [2023-03-06T17:17:57.516Z] project root: . [2023-03-06T17:17:57.516Z] --> token set from env [2023-03-06T17:17:57.516Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-06T17:17:57.516Z] ==> Running gcov in . (disable via -X gcov) [2023-03-06T17:17:57.516Z] ==> Python coveragepy not found [2023-03-06T17:17:57.516Z] ==> Searching for coverage reports in: [2023-03-06T17:17:57.516Z] + . [2023-03-06T17:17:57.516Z] -> Found 1 reports [2023-03-06T17:17:57.516Z] ==> Detecting git/mercurial file structure [2023-03-06T17:17:57.516Z] ==> Reading reports [2023-03-06T17:17:57.516Z] + ./coverage.out bytes=111244 [2023-03-06T17:17:57.516Z] ==> Appending adjustments [2023-03-06T17:17:57.516Z] https://docs.codecov.io/docs/fixing-reports [2023-03-06T17:17:57.775Z] + Found adjustments [2023-03-06T17:17:57.775Z] ==> Gzipping contents [2023-03-06T17:17:58.032Z] 16K /tmp/codecov.k1iSxg.gz [2023-03-06T17:17:58.032Z] ==> Uploading reports [2023-03-06T17:17:58.032Z] url: https://codecov.io [2023-03-06T17:17:58.032Z] query: branch=PR-1343&commit=024354f679838ebb0b10ebebf42c53dd4ef179a0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= [2023-03-06T17:17:58.032Z] -> Pinging Codecov [2023-03-06T17:17:58.032Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1343&commit=024354f679838ebb0b10ebebf42c53dd4ef179a0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= [2023-03-06T17:17:58.032Z] -> Uploading to [2023-03-06T17:17:58.032Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-06/7E55EF52A471D76F132DFD9A03CDDE97/024354f679838ebb0b10ebebf42c53dd4ef179a0/3e9c8878-1463-4919-8343-cfd46deb9ab2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230306%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230306T171757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd03b92a48c9d63af0b315c5c4cb9f7a06506f6de5982905c3d5e324260b792c [2023-03-06T17:17:58.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T17:17:58.032Z] Dload Upload Total Spent Left Speed [2023-03-06T17:17:58.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15364 0 0 100 15364 0 50373 --:--:-- --:--:-- --:--:-- 50373 [2023-03-06T17:17:58.290Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/024354f679838ebb0b10ebebf42c53dd4ef179a0 [Pipeline] } [2023-03-06T17:17:58.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-06T17:17:58.949Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives ] [2023-03-06T17:17:58.949Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-03-06T17:17:58.949Z] total 16 [2023-03-06T17:17:58.949Z] drwxr-xr-x 3 root root 4096 Mar 6 17:06 . [2023-03-06T17:17:58.949Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 6 17:06 .. [2023-03-06T17:17:58.949Z] drwxr-xr-x 2 root root 4096 Mar 6 17:06 cost [2023-03-06T17:17:58.949Z] -rw-r--r-- 1 root root 86 Mar 6 17:06 cost.csv [2023-03-06T17:17:58.949Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-03-06T17:17:58.949Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-03-06T17:17:58.949Z] total 16 [2023-03-06T17:17:58.949Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 17:06 . [2023-03-06T17:17:58.949Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 6 17:06 .. [2023-03-06T17:17:58.949Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 17:06 cost [2023-03-06T17:17:58.949Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 6 17:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:17:59.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:00.098Z] ---> package-listing.sh [2023-03-06T17:18:00.098Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-06T17:18:00.098Z] ++ facter osfamily [2023-03-06T17:18:00.356Z] + OS_FAMILY=debian [2023-03-06T17:18:00.356Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1343 [2023-03-06T17:18:00.356Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-06T17:18:00.356Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-06T17:18:00.356Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-06T17:18:00.356Z] + PACKAGES=/tmp/packages_start.txt [2023-03-06T17:18:00.356Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' [2023-03-06T17:18:00.356Z] + PACKAGES=/tmp/packages_end.txt [2023-03-06T17:18:00.356Z] + case "${OS_FAMILY}" in [2023-03-06T17:18:00.356Z] + dpkg -l [2023-03-06T17:18:00.356Z] + grep '^ii' [2023-03-06T17:18:00.356Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-06T17:18:00.356Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-06T17:18:00.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-06T17:18:00.356Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' [2023-03-06T17:18:00.356Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ [2023-03-06T17:18:00.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ [Pipeline] echo [2023-03-06T17:18:00.367Z] 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-1343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-06T17:18:00.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T17:18:01.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T17:18:01.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T17:18:01.273Z] prd-ubuntu20.04-docker-8c-8g-8379 does not seem to be running inside a container [2023-03-06T17:18:01.296Z] $ 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-1343/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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T17:18:01.509Z] $ docker top 672eef3b9e59dbdcbde7988f58b10f61a2bb37749ab3c351026bc941e9c56067 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T17:18:01.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-06T17:18:02.148Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-06T17:18:02.438Z] + ls /var/log/sa-host [2023-03-06T17:18:02.438Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T17:18:02.508Z] provisioning config files... [2023-03-06T17:18:02.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config9898958202499536706tmp [Pipeline] { [Pipeline] echo [2023-03-06T17:18:02.535Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:02.814Z] ---> create-netrc.sh [Pipeline] } [2023-03-06T17:18:02.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:03.153Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-06T17:18:03.164Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:03.449Z] ---> sudo-logs.sh [2023-03-06T17:18:03.449Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-06T17:18:03.480Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:03.764Z] ---> job-cost.sh [2023-03-06T17:18:03.764Z] lf-activate-venv: SKIPPING [2023-03-06T17:18:03.764Z] DEBUG: total: 0.2199999988079071 [2023-03-06T17:18:03.764Z] INFO: Retrieving Stack Cost... [2023-03-06T17:18:04.022Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T17:18:04.591Z] INFO: Archiving Costs [Pipeline] echo [2023-03-06T17:18:04.606Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T17:18:04.887Z] ---> logs-deploy.sh [2023-03-06T17:18:04.887Z] lf-activate-venv: SKIPPING [2023-03-06T17:18:04.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1343/3 [2023-03-06T17:18:04.887Z] INFO: archiving workspace using pattern(s): [2023-03-06T17:18:05.825Z] Archives upload complete. [2023-03-06T17:18:06.084Z] INFO: archiving logs to Nexus