Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15e83892f451e2fa3bbee6901e4c3548de020a12+881f10918eb4e60f546b60d89ac5bea6bad2c109 (ab3bc686ad4ec4812b55618ceffa8dbba84a7e72) 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-ssh9699865718018995656.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-ssh15371146142541422209.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-1290/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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2365817042517338341.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-ssh9512755521759124141.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-1290/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-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16758090123307658268.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4009’ Running on prd-ubuntu20.04-docker-8c-8g-4012 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [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-1290 # 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 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 > 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/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing e40bc2d9fefddf2c87f3000237f0230c80860175 Checking out Revision e40bc2d9fefddf2c87f3000237f0230c80860175 (PR-1290) > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e40bc2d9fefddf2c87f3000237f0230c80860175 # timeout=10 Commit message: "Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD" > git rev-list --no-walk 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-30T18:42:23.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-30T18:42:23.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-30T18:42:23.674Z] ========================================================= [2023-01-30T18:42:23.674Z] EdgeX Global Pipelines Version Info [2023-01-30T18:42:23.674Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:42:24.389Z] ------------------- [2023-01-30T18:42:24.389Z] stable info: [2023-01-30T18:42:24.389Z] ------------------- [2023-01-30T18:42:24.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-30T18:42:24.389Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T18:42:24.389Z] Message: update stable to v1.0.244 [2023-01-30T18:42:24.958Z] ------------------- [2023-01-30T18:42:24.958Z] experimental info: [2023-01-30T18:42:24.958Z] ------------------- [2023-01-30T18:42:24.958Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-30T18:42:24.958Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T18:42:24.958Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-30T18:42:25.150Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-30T18:42:25.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-30T18:42:25.179Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-30T18:42:25.191Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-30T18:42:25.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-30T18:42:25.215Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-30T18:42:25.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-30T18:42:25.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-30T18:42:25.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-30T18:42:25.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-30T18:42:25.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-30T18:42:25.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-30T18:42:25.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-30T18:42:25.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-30T18:42:25.328Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-30T18:42:25.339Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:42:25.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:42:25.364Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:42:25.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-30T18:42:25.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-30T18:42:25.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-30T18:42:25.414Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-30T18:42:25.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-30T18:42:25.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-30T18:42:25.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-30T18:42:25.463Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-30T18:42:25.474Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-30T18:42:25.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1290 [Pipeline] echo [2023-01-30T18:42:25.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1290 [Pipeline] echo [2023-01-30T18:42:25.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1290 [Pipeline] echo [2023-01-30T18:42:25.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e40bc2d9fefddf2c87f3000237f0230c80860175 [Pipeline] echo [2023-01-30T18:42:25.557Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e40bc2d [Pipeline] echo [2023-01-30T18:42:25.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:42:25.618Z] provisioning config files... [2023-01-30T18:42:25.632Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config17131434035791789601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:42:25.935Z] ---> docker-login.sh [2023-01-30T18:42:25.935Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:42:26.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:26.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:26.195Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:26.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:26.195Z] [2023-01-30T18:42:26.195Z] Login Succeeded [2023-01-30T18:42:26.195Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:42:26.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:26.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:26.195Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:26.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:26.195Z] [2023-01-30T18:42:26.195Z] Login Succeeded [2023-01-30T18:42:26.195Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:42:26.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:26.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:26.454Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:26.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:26.454Z] [2023-01-30T18:42:26.454Z] Login Succeeded [2023-01-30T18:42:26.454Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:42:26.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:26.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:26.454Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:26.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:26.454Z] [2023-01-30T18:42:26.454Z] Login Succeeded [2023-01-30T18:42:26.454Z] docker.io [2023-01-30T18:42:26.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:26.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:26.714Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:26.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:26.714Z] [2023-01-30T18:42:26.714Z] Login Succeeded [2023-01-30T18:42:26.972Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:42:26.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-30T18:42:27.335Z] + git rev-list -1 --merges e40bc2d9fefddf2c87f3000237f0230c80860175~1..e40bc2d9fefddf2c87f3000237f0230c80860175 [Pipeline] echo [2023-01-30T18:42:27.377Z] -----------> git rev-list -1 --merges e40bc2d9fefddf2c87f3000237f0230c80860175~1..e40bc2d9fefddf2c87f3000237f0230c80860175 e40bc2d9fefddf2c87f3000237f0230c80860175 [2023-01-30T18:42:27.377Z] e40bc2d9fefddf2c87f3000237f0230c80860175 [false] [Pipeline] sh [2023-01-30T18:42:27.662Z] + git log --format=format:%s -1 e40bc2d9fefddf2c87f3000237f0230c80860175 [Pipeline] echo [2023-01-30T18:42:27.676Z] ========================================================= [2023-01-30T18:42:27.676Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-30T18:42:27.676Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:42:27.991Z] + git log --format=format:%s -1 e40bc2d9fefddf2c87f3000237f0230c80860175 [Pipeline] echo [2023-01-30T18:42:28.002Z] [semverPrep] GIT_COMMIT: e40bc2d9fefddf2c87f3000237f0230c80860175, Commit Message: Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD [Pipeline] echo [2023-01-30T18:42:28.012Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-30T18:42:28.359Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-30T18:42:28.359Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-30T18:42:28.359Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-30T18:42:28.359Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-30T18:42:28.359Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-30T18:42:28.359Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-30T18:42:28.359Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:42:28.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:42:28.700Z] [2023-01-30T18:42:28.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:42:29.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:42:29.007Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-30T18:42:29.007Z] b85a868b505f: Pulling fs layer [2023-01-30T18:42:29.007Z] e2be974225ed: Pulling fs layer [2023-01-30T18:42:29.007Z] 339a4e72a1f5: Pulling fs layer [2023-01-30T18:42:29.007Z] 988bab9f4d93: Pulling fs layer [2023-01-30T18:42:29.007Z] 1469e6f7b9e6: Pulling fs layer [2023-01-30T18:42:29.007Z] eaf3925da568: Pulling fs layer [2023-01-30T18:42:29.007Z] bab4dde63d76: Pulling fs layer [2023-01-30T18:42:29.007Z] bde34c3a00c8: Pulling fs layer [2023-01-30T18:42:29.007Z] b352a97aabf1: Pulling fs layer [2023-01-30T18:42:29.007Z] 4872d77fe225: Pulling fs layer [2023-01-30T18:42:29.007Z] 5851b861e8e6: Pulling fs layer [2023-01-30T18:42:29.007Z] 1469e6f7b9e6: Waiting [2023-01-30T18:42:29.007Z] eaf3925da568: Waiting [2023-01-30T18:42:29.007Z] 4872d77fe225: Waiting [2023-01-30T18:42:29.007Z] bde34c3a00c8: Waiting [2023-01-30T18:42:29.007Z] 988bab9f4d93: Waiting [2023-01-30T18:42:29.007Z] 5851b861e8e6: Waiting [2023-01-30T18:42:29.007Z] b352a97aabf1: Waiting [2023-01-30T18:42:29.007Z] e2be974225ed: Verifying Checksum [2023-01-30T18:42:29.007Z] e2be974225ed: Download complete [2023-01-30T18:42:29.007Z] 988bab9f4d93: Verifying Checksum [2023-01-30T18:42:29.007Z] 988bab9f4d93: Download complete [2023-01-30T18:42:29.270Z] 1469e6f7b9e6: Verifying Checksum [2023-01-30T18:42:29.270Z] 1469e6f7b9e6: Download complete [2023-01-30T18:42:29.270Z] eaf3925da568: Verifying Checksum [2023-01-30T18:42:29.270Z] eaf3925da568: Download complete [2023-01-30T18:42:29.270Z] 339a4e72a1f5: Verifying Checksum [2023-01-30T18:42:29.270Z] 339a4e72a1f5: Download complete [2023-01-30T18:42:29.270Z] bde34c3a00c8: Download complete [2023-01-30T18:42:29.531Z] b352a97aabf1: Verifying Checksum [2023-01-30T18:42:29.531Z] b352a97aabf1: Download complete [2023-01-30T18:42:29.531Z] 4872d77fe225: Verifying Checksum [2023-01-30T18:42:29.531Z] 4872d77fe225: Download complete [2023-01-30T18:42:29.531Z] 5851b861e8e6: Download complete [2023-01-30T18:42:29.531Z] b85a868b505f: Download complete [2023-01-30T18:42:29.791Z] bab4dde63d76: Verifying Checksum [2023-01-30T18:42:29.791Z] bab4dde63d76: Download complete [2023-01-30T18:42:30.727Z] b85a868b505f: Pull complete [2023-01-30T18:42:30.986Z] e2be974225ed: Pull complete [2023-01-30T18:42:31.556Z] 339a4e72a1f5: Pull complete [2023-01-30T18:42:31.556Z] 988bab9f4d93: Pull complete [2023-01-30T18:42:31.815Z] 1469e6f7b9e6: Pull complete [2023-01-30T18:42:31.815Z] eaf3925da568: Pull complete [2023-01-30T18:42:33.716Z] bab4dde63d76: Pull complete [2023-01-30T18:42:33.977Z] bde34c3a00c8: Pull complete [2023-01-30T18:42:33.977Z] b352a97aabf1: Pull complete [2023-01-30T18:42:34.237Z] 4872d77fe225: Pull complete [2023-01-30T18:42:34.237Z] 5851b861e8e6: Pull complete [2023-01-30T18:42:34.237Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-30T18:42:34.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:42:34.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:42:34.323Z] prd-ubuntu20.04-docker-8c-8g-4012 does not seem to be running inside a container [2023-01-30T18:42:34.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-30T18:42:35.780Z] $ docker top c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 -eo pid,comm [2023-01-30T18:42:35.842Z] 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-01-30T18:42:35.842Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-30T18:42:35.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T18:42:35.878Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T18:42:35.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T18:42:35.996Z] $ docker exec c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 ssh-agent [2023-01-30T18:42:36.114Z] SSH_AUTH_SOCK=/tmp/ssh-Vgy1Esh4FH5A/agent.32 [2023-01-30T18:42:36.114Z] SSH_AGENT_PID=38 [2023-01-30T18:42:36.120Z] Running ssh-add (command line suppressed) [2023-01-30T18:42:36.223Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_16885174383441985182.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_16885174383441985182.key) [2023-01-30T18:42:36.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T18:42:36.529Z] + git tag --points-at HEAD [Pipeline] } [2023-01-30T18:42:36.546Z] $ docker exec --env ******** --env ******** c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 ssh-agent -k [2023-01-30T18:42:36.658Z] unset SSH_AUTH_SOCK; [2023-01-30T18:42:36.659Z] unset SSH_AGENT_PID; [2023-01-30T18:42:36.659Z] echo Agent pid 38 killed; [2023-01-30T18:42:36.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-30T18:42:36.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T18:42:36.702Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T18:42:36.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T18:42:36.816Z] $ docker exec c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 ssh-agent [2023-01-30T18:42:36.932Z] SSH_AUTH_SOCK=/tmp/ssh-e1p5LKlGwlBf/agent.70 [2023-01-30T18:42:36.933Z] SSH_AGENT_PID=76 [2023-01-30T18:42:36.937Z] Running ssh-add (command line suppressed) [2023-01-30T18:42:37.044Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_13808226756761339339.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_13808226756761339339.key) [2023-01-30T18:42:37.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T18:42:37.354Z] + git semver init [2023-01-30T18:42:37.614Z] 2023-01-30 18:42:37,556 [run_init] DEBUG init version:0.0.0 force:False [2023-01-30T18:42:37.614Z] 2023-01-30 18:42:37,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-01-30T18:42:37.614Z] 2023-01-30 18:42:37,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-01-30T18:42:37.614Z] 2023-01-30 18:42:37,558 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290, universal_newlines=False, shell=None, istream=None) [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,525 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.git/info/exclude [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 with force:False [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,525 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,529 [execute] INFO git cat-file --batch-check [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,535 [execute] INFO git cat-file --batch [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T18:42:38.605Z] 2023-01-30 18:42:38,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-01-30T18:42:38.605Z] 0.0.0 [Pipeline] } [2023-01-30T18:42:38.618Z] $ docker exec --env ******** --env ******** c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 ssh-agent -k [2023-01-30T18:42:38.724Z] unset SSH_AUTH_SOCK; [2023-01-30T18:42:38.724Z] unset SSH_AGENT_PID; [2023-01-30T18:42:38.725Z] echo Agent pid 76 killed; [2023-01-30T18:42:38.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-30T18:42:39.047Z] + git semver [Pipeline] } [2023-01-30T18:42:39.318Z] $ docker stop --time=1 c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 [2023-01-30T18:42:40.888Z] $ docker rm -f --volumes c8092ac632f586189c4e7c72f8d7af7b26616ce1f9a23c2114598922da688805 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:42:41.237Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-30T18:42:41.458Z] Stashed 1 file(s) [Pipeline] echo [2023-01-30T18:42:41.462Z] [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-01-30T18:42:41.564Z] provisioning config files... [2023-01-30T18:42:41.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config17667754797610386177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:42:41.875Z] ---> docker-login.sh [2023-01-30T18:42:41.875Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:42:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:41.875Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:41.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:41.875Z] [2023-01-30T18:42:41.875Z] Login Succeeded [2023-01-30T18:42:41.875Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:42:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:41.875Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:41.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:41.875Z] [2023-01-30T18:42:41.875Z] Login Succeeded [2023-01-30T18:42:41.875Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:42:42.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:42.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:42.135Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:42.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:42.135Z] [2023-01-30T18:42:42.135Z] Login Succeeded [2023-01-30T18:42:42.135Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:42:42.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:42.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:42.396Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:42.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:42.396Z] [2023-01-30T18:42:42.396Z] Login Succeeded [2023-01-30T18:42:42.396Z] docker.io [2023-01-30T18:42:42.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:42.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:42.655Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:42.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:42.655Z] [2023-01-30T18:42:42.655Z] Login Succeeded [2023-01-30T18:42:42.655Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:42:42.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T18:42:42.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:42:42.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:42:42.734Z] ========================================================= [2023-01-30T18:42:42.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-30T18:42:42.734Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:42:43.036Z] + 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-01-30T18:42:43.036Z] Sending build context to Docker daemon 10.54MB [2023-01-30T18:42:43.036Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:42:43.036Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-30T18:42:43.036Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-30T18:42:43.036Z] 213ec9aee27d: Pulling fs layer [2023-01-30T18:42:43.036Z] 4583459ba037: Pulling fs layer [2023-01-30T18:42:43.036Z] 93c1e223e6f2: Pulling fs layer [2023-01-30T18:42:43.036Z] 53926ce57604: Pulling fs layer [2023-01-30T18:42:43.036Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-30T18:42:43.036Z] 22ff95d597cd: Pulling fs layer [2023-01-30T18:42:43.036Z] 12d6caf4c0d1: Pulling fs layer [2023-01-30T18:42:43.036Z] 96b7cbca73a9: Pulling fs layer [2023-01-30T18:42:43.036Z] a7acece74701: Pulling fs layer [2023-01-30T18:42:43.036Z] 22ff95d597cd: Waiting [2023-01-30T18:42:43.036Z] 12d6caf4c0d1: Waiting [2023-01-30T18:42:43.036Z] 96b7cbca73a9: Waiting [2023-01-30T18:42:43.036Z] a7acece74701: Waiting [2023-01-30T18:42:43.036Z] 53926ce57604: Waiting [2023-01-30T18:42:43.036Z] 21b2b0c7a3f4: Waiting [2023-01-30T18:42:43.305Z] 93c1e223e6f2: Verifying Checksum [2023-01-30T18:42:43.305Z] 93c1e223e6f2: Download complete [2023-01-30T18:42:43.305Z] 4583459ba037: Verifying Checksum [2023-01-30T18:42:43.305Z] 4583459ba037: Download complete [2023-01-30T18:42:43.305Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-30T18:42:43.305Z] 21b2b0c7a3f4: Download complete [2023-01-30T18:42:43.305Z] 22ff95d597cd: Verifying Checksum [2023-01-30T18:42:43.305Z] 22ff95d597cd: Download complete [2023-01-30T18:42:43.305Z] 213ec9aee27d: Verifying Checksum [2023-01-30T18:42:43.305Z] 213ec9aee27d: Download complete [2023-01-30T18:42:43.305Z] 12d6caf4c0d1: Verifying Checksum [2023-01-30T18:42:43.305Z] 12d6caf4c0d1: Download complete [2023-01-30T18:42:43.574Z] 213ec9aee27d: Pull complete [2023-01-30T18:42:43.574Z] 4583459ba037: Pull complete [2023-01-30T18:42:43.574Z] 93c1e223e6f2: Pull complete [2023-01-30T18:42:44.171Z] a7acece74701: Verifying Checksum [2023-01-30T18:42:44.171Z] a7acece74701: Download complete [2023-01-30T18:42:44.466Z] 96b7cbca73a9: Verifying Checksum [2023-01-30T18:42:44.466Z] 96b7cbca73a9: Download complete [2023-01-30T18:42:45.850Z] 53926ce57604: Download complete [2023-01-30T18:42:50.041Z] 53926ce57604: Pull complete [2023-01-30T18:42:50.041Z] 21b2b0c7a3f4: Pull complete [2023-01-30T18:42:50.041Z] 22ff95d597cd: Pull complete [2023-01-30T18:42:50.041Z] 12d6caf4c0d1: Pull complete [2023-01-30T18:42:52.571Z] 96b7cbca73a9: Pull complete [2023-01-30T18:42:53.139Z] a7acece74701: Pull complete [2023-01-30T18:42:53.139Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-30T18:42:53.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-30T18:42:53.139Z] ---> db6d94c90886 [2023-01-30T18:42:53.139Z] Step 3/10 : ARG MAKE=make build [2023-01-30T18:42:54.524Z] ---> Running in 56023968f58b [2023-01-30T18:42:54.784Z] Removing intermediate container 56023968f58b [2023-01-30T18:42:54.784Z] ---> 8b9fd81c4f2c [2023-01-30T18:42:54.784Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-30T18:42:54.784Z] ---> Running in fd286814c96b [2023-01-30T18:42:54.784Z] Removing intermediate container fd286814c96b [2023-01-30T18:42:54.784Z] ---> 346c3798e56e [2023-01-30T18:42:54.784Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:42:55.043Z] ---> Running in 62679a512192 [2023-01-30T18:42:55.043Z] Removing intermediate container 62679a512192 [2023-01-30T18:42:55.043Z] ---> 6e11b35fa7f8 [2023-01-30T18:42:55.043Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-30T18:42:55.043Z] ---> Running in 111f22df44ad [2023-01-30T18:42:55.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:42:55.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:42:55.820Z] OK: 211 MiB in 51 packages [2023-01-30T18:42:56.079Z] Removing intermediate container 111f22df44ad [2023-01-30T18:42:56.079Z] ---> eea0e77c43e3 [2023-01-30T18:42:56.079Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-30T18:42:56.339Z] ---> 3de2074bcd5f [2023-01-30T18:42:56.339Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:42:56.339Z] ---> Running in 2b2d25cc3db9 [2023-01-30T18:42:56.534Z] Still waiting to schedule task [2023-01-30T18:42:56.535Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4010’ [2023-01-30T18:43:28.459Z] Removing intermediate container 2b2d25cc3db9 [2023-01-30T18:43:28.459Z] ---> 24064b2874ad [2023-01-30T18:43:28.459Z] Step 9/10 : COPY . . [2023-01-30T18:43:28.459Z] ---> 7b4db5a6f4f8 [2023-01-30T18:43:28.459Z] Step 10/10 : RUN ${MAKE} [2023-01-30T18:43:28.459Z] ---> Running in 32f8a36a722f [2023-01-30T18:43:28.459Z] noop [2023-01-30T18:43:28.459Z] Removing intermediate container 32f8a36a722f [2023-01-30T18:43:28.459Z] ---> ea679f51df8d [2023-01-30T18:43:28.459Z] Successfully built ea679f51df8d [2023-01-30T18:43:28.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:43:28.771Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T18:43:28.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:43:28.862Z] prd-ubuntu20.04-docker-8c-8g-4012 does not seem to be running inside a container [2023-01-30T18:43:28.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-30T18:43:29.247Z] $ docker top 200ecb4789c9e7a27d7d6b703e99de17e4a27b188a3e71b3e3db77b7f82c50fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:43:29.583Z] + go version [2023-01-30T18:43:29.583Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-30T18:43:29.597Z] $ docker stop --time=1 200ecb4789c9e7a27d7d6b703e99de17e4a27b188a3e71b3e3db77b7f82c50fa [2023-01-30T18:43:30.908Z] $ docker rm -f --volumes 200ecb4789c9e7a27d7d6b703e99de17e4a27b188a3e71b3e3db77b7f82c50fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:43:31.311Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T18:43:31.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:43:31.379Z] prd-ubuntu20.04-docker-8c-8g-4012 does not seem to be running inside a container [2023-01-30T18:43:31.412Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-30T18:43:31.770Z] $ docker top dae515cd67013bf97fcacd2dd39c01f822435832d16cfcb55043b2ec358ce4e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:43:32.116Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] fileExists [Pipeline] sh [2023-01-30T18:43:32.411Z] + make test [2023-01-30T18:43:32.411Z] go test -race -coverprofile=coverage.out ./... [2023-01-30T18:43:38.978Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-30T18:43:51.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-30T18:43:51.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-30T18:43:51.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-30T18:43:51.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-30T18:43:51.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-30T18:43:51.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-01-30T18:43:51.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.100s coverage: 78.9% of statements [2023-01-30T18:43:51.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-30T18:43:51.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 73.6% of statements [2023-01-30T18:43:51.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-30T18:43:51.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-30T18:43:51.994Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 60.6% of statements [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-30T18:43:51.994Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.1% of statements [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-30T18:43:51.994Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.727s coverage: 89.2% of statements [2023-01-30T18:43:51.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-30T18:43:52.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.6% of statements [2023-01-30T18:43:52.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-30T18:44:07.126Z] 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-01-30T18:44:07.126Z] GO111MODULE=on go vet ./... [2023-01-30T18:44:09.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T18:44:09.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T18:44:09.025Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-30T18:44:09.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T18:44:09.055Z] $ docker stop --time=1 dae515cd67013bf97fcacd2dd39c01f822435832d16cfcb55043b2ec358ce4e4 [2023-01-30T18:44:11.266Z] $ docker rm -f --volumes dae515cd67013bf97fcacd2dd39c01f822435832d16cfcb55043b2ec358ce4e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:44:11.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T18:44:11.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-30T18:44:12.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T18:44:12.539Z] + ls -al . [2023-01-30T18:44:12.539Z] total 272 [2023-01-30T18:44:12.539Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 18:43 . [2023-01-30T18:44:12.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:42 .. [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 18:42 .dockerignore [2023-01-30T18:44:12.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:43 .git [2023-01-30T18:44:12.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:42 .github [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 18:42 .gitignore [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:42 .golangci.yml [2023-01-30T18:44:12.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:42 .semver [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 18:42 CHANGELOG.md [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:42 GOVERNANCE.md [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 18:42 Jenkinsfile [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 18:42 LICENSE [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 18:42 Makefile [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 18:42 OWNERS.md [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 18:42 README.md [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 18:42 VERSION [2023-01-30T18:44:12.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:42 bin [2023-01-30T18:44:12.539Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 18:43 coverage.out [2023-01-30T18:44:12.539Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 18:42 example [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 18:42 go.mod [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 18:42 go.sum [2023-01-30T18:44:12.539Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 18:42 internal [2023-01-30T18:44:12.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:42 openapi [2023-01-30T18:44:12.539Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:42 pkg [2023-01-30T18:44:12.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:42 snap [2023-01-30T18:44:12.539Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:44:12.860Z] + 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=e40bc2d9fefddf2c87f3000237f0230c80860175 --label arch=amd64 --label version=0.0.0 . [2023-01-30T18:44:12.860Z] Sending build context to Docker daemon 10.64MB [2023-01-30T18:44:12.860Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:44:12.860Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-30T18:44:12.860Z] ---> ea679f51df8d [2023-01-30T18:44:12.860Z] Step 3/23 : ARG MAKE=make build [2023-01-30T18:44:13.118Z] ---> Running in c9b0bcb26269 [2023-01-30T18:44:13.118Z] Removing intermediate container c9b0bcb26269 [2023-01-30T18:44:13.118Z] ---> 16c7be121b20 [2023-01-30T18:44:13.118Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-30T18:44:13.118Z] ---> Running in 044fe9ea781e [2023-01-30T18:44:13.118Z] Removing intermediate container 044fe9ea781e [2023-01-30T18:44:13.118Z] ---> 2eff2ec85736 [2023-01-30T18:44:13.118Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:44:13.118Z] ---> Running in 439f0719bd5c [2023-01-30T18:44:13.376Z] Removing intermediate container 439f0719bd5c [2023-01-30T18:44:13.376Z] ---> 596022f5a030 [2023-01-30T18:44:13.376Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-30T18:44:13.376Z] ---> Running in eb291831ee68 [2023-01-30T18:44:13.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:13.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:13.891Z] OK: 211 MiB in 51 packages [2023-01-30T18:44:14.148Z] Removing intermediate container eb291831ee68 [2023-01-30T18:44:14.148Z] ---> 924c4118dfab [2023-01-30T18:44:14.148Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-30T18:44:14.408Z] ---> cdca41ad740e [2023-01-30T18:44:14.408Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:44:14.408Z] ---> Running in 7011a9fc705d [2023-01-30T18:44:15.341Z] Removing intermediate container 7011a9fc705d [2023-01-30T18:44:15.341Z] ---> 2a2a0ba61179 [2023-01-30T18:44:15.341Z] Step 9/23 : COPY . . [2023-01-30T18:44:15.601Z] ---> 4aac8c4f2770 [2023-01-30T18:44:15.601Z] Step 10/23 : RUN ${MAKE} [2023-01-30T18:44:15.601Z] ---> Running in fab114e2f98e [2023-01-30T18:44:15.859Z] 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-01-30T18:44:33.937Z] Removing intermediate container fab114e2f98e [2023-01-30T18:44:33.937Z] ---> e27f51616c59 [2023-01-30T18:44:33.937Z] Step 11/23 : FROM alpine:3.16 [2023-01-30T18:44:33.937Z] 3.16: Pulling from library/alpine [2023-01-30T18:44:33.937Z] ca7dd9ec2225: Pulling fs layer [2023-01-30T18:44:33.937Z] ca7dd9ec2225: Verifying Checksum [2023-01-30T18:44:33.937Z] ca7dd9ec2225: Download complete [2023-01-30T18:44:33.937Z] ca7dd9ec2225: Pull complete [2023-01-30T18:44:33.937Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T18:44:33.937Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T18:44:33.937Z] ---> bfe296a52501 [2023-01-30T18:44:33.937Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-30T18:44:33.937Z] ---> Running in d1e586013a1f [2023-01-30T18:44:34.195Z] Removing intermediate container d1e586013a1f [2023-01-30T18:44:34.195Z] ---> 04bcd3c2127d [2023-01-30T18:44:34.195Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-30T18:44:34.195Z] ---> Running in 03f09530eaca [2023-01-30T18:44:34.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:34.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:34.970Z] OK: 6 MiB in 14 packages [2023-01-30T18:44:35.229Z] Removing intermediate container 03f09530eaca [2023-01-30T18:44:35.229Z] ---> 79b31b280f50 [2023-01-30T18:44:35.229Z] Step 14/23 : WORKDIR / [2023-01-30T18:44:35.229Z] ---> Running in d1899eb5962a [2023-01-30T18:44:35.489Z] Removing intermediate container d1899eb5962a [2023-01-30T18:44:35.489Z] ---> 2bc5d12cfe8e [2023-01-30T18:44:35.489Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-30T18:44:35.489Z] ---> 7c1a82d90279 [2023-01-30T18:44:35.489Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-30T18:44:36.058Z] ---> 613603bf86ec [2023-01-30T18:44:36.058Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-30T18:44:36.058Z] ---> 5c1e02b319d1 [2023-01-30T18:44:36.058Z] Step 18/23 : EXPOSE 59999 [2023-01-30T18:44:36.316Z] ---> Running in b2ce69711d82 [2023-01-30T18:44:36.317Z] Removing intermediate container b2ce69711d82 [2023-01-30T18:44:36.317Z] ---> 3f3c97d966c2 [2023-01-30T18:44:36.317Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-30T18:44:36.317Z] ---> Running in 316f6cbbcd16 [2023-01-30T18:44:36.575Z] Removing intermediate container 316f6cbbcd16 [2023-01-30T18:44:36.575Z] ---> c2b9f40d78c5 [2023-01-30T18:44:36.575Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T18:44:36.575Z] ---> Running in 97a70d80d2a7 [2023-01-30T18:44:36.575Z] Removing intermediate container 97a70d80d2a7 [2023-01-30T18:44:36.575Z] ---> f23d894bbcb5 [2023-01-30T18:44:36.575Z] Step 21/23 : LABEL arch=amd64 [2023-01-30T18:44:36.575Z] ---> Running in 9f43a05f4bf7 [2023-01-30T18:44:36.833Z] Removing intermediate container 9f43a05f4bf7 [2023-01-30T18:44:36.833Z] ---> 13096112c007 [2023-01-30T18:44:36.833Z] Step 22/23 : LABEL git_sha=e40bc2d9fefddf2c87f3000237f0230c80860175 [2023-01-30T18:44:36.833Z] ---> Running in cf67ad103957 [2023-01-30T18:44:36.833Z] Removing intermediate container cf67ad103957 [2023-01-30T18:44:36.833Z] ---> 734aee17c899 [2023-01-30T18:44:36.833Z] Step 23/23 : LABEL version=0.0.0 [2023-01-30T18:44:36.833Z] ---> Running in 3df81eea9fa0 [2023-01-30T18:44:37.091Z] Removing intermediate container 3df81eea9fa0 [2023-01-30T18:44:37.091Z] ---> 76417e425264 [2023-01-30T18:44:37.091Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T18:44:37.091Z] Successfully built 76417e425264 [2023-01-30T18:44:37.091Z] 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-01-30T18:44:37.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:37.529Z] [2023-01-30T18:44:37.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:44:37.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:37.827Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-30T18:44:37.827Z] 5eb5b503b376: Pulling fs layer [2023-01-30T18:44:37.827Z] 5c69ac0246d0: Pulling fs layer [2023-01-30T18:44:37.827Z] ec43610c2a17: Pulling fs layer [2023-01-30T18:44:37.827Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-30T18:44:37.827Z] 33b1e0a273af: Pulling fs layer [2023-01-30T18:44:37.827Z] 5d3b04190fa2: Pulling fs layer [2023-01-30T18:44:37.827Z] 2f39f015ded8: Pulling fs layer [2023-01-30T18:44:37.827Z] 3a2ae6a8a46f: Waiting [2023-01-30T18:44:37.827Z] 33b1e0a273af: Waiting [2023-01-30T18:44:37.827Z] 5d3b04190fa2: Waiting [2023-01-30T18:44:37.827Z] 2f39f015ded8: Waiting [2023-01-30T18:44:37.827Z] 5c69ac0246d0: Verifying Checksum [2023-01-30T18:44:37.827Z] 5c69ac0246d0: Download complete [2023-01-30T18:44:37.827Z] 3a2ae6a8a46f: Download complete [2023-01-30T18:44:38.092Z] 33b1e0a273af: Verifying Checksum [2023-01-30T18:44:38.092Z] 33b1e0a273af: Download complete [2023-01-30T18:44:38.092Z] 5d3b04190fa2: Verifying Checksum [2023-01-30T18:44:38.092Z] 5d3b04190fa2: Download complete [2023-01-30T18:44:38.092Z] ec43610c2a17: Verifying Checksum [2023-01-30T18:44:38.092Z] ec43610c2a17: Download complete [2023-01-30T18:44:38.351Z] 5eb5b503b376: Verifying Checksum [2023-01-30T18:44:38.351Z] 5eb5b503b376: Download complete [2023-01-30T18:44:38.919Z] 2f39f015ded8: Verifying Checksum [2023-01-30T18:44:38.919Z] 2f39f015ded8: Download complete [2023-01-30T18:44:39.486Z] 5eb5b503b376: Pull complete [2023-01-30T18:44:39.486Z] 5c69ac0246d0: Pull complete [2023-01-30T18:44:40.054Z] ec43610c2a17: Pull complete [2023-01-30T18:44:40.054Z] 3a2ae6a8a46f: Pull complete [2023-01-30T18:44:40.312Z] 33b1e0a273af: Pull complete [2023-01-30T18:44:40.312Z] 5d3b04190fa2: Pull complete [2023-01-30T18:44:43.591Z] 2f39f015ded8: Pull complete [2023-01-30T18:44:43.849Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-30T18:44:43.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:43.849Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:44:43.927Z] prd-ubuntu20.04-docker-8c-8g-4012 does not seem to be running inside a container [2023-01-30T18:44:43.960Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-30T18:44:45.541Z] $ docker top 65b4d9628915a89dc7a54ceda5d66654349f9c5feebb53b40af19f608335ac15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:44:45.911Z] ---> job-cost.sh [2023-01-30T18:44:45.911Z] lf-activate-venv: SKIPPING [2023-01-30T18:44:45.911Z] INFO: No Stack... [2023-01-30T18:44:46.169Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T18:44:46.737Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T18:44:47.029Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/cost.csv [2023-01-30T18:44:47.029Z] + cut -d, -f6 [Pipeline] lock [2023-01-30T18:44:47.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [2023-01-30T18:44:47.050Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] did not exist. Created. [2023-01-30T18:44:47.050Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T18:44:47.348Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-30T18:44:47.383Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T18:44:47.390Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T18:44:47.417Z] $ docker stop --time=1 65b4d9628915a89dc7a54ceda5d66654349f9c5feebb53b40af19f608335ac15 [2023-01-30T18:44:48.595Z] $ docker rm -f --volumes 65b4d9628915a89dc7a54ceda5d66654349f9c5feebb53b40af19f608335ac15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-30T18:45:56.912Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4015 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] { [Pipeline] ws [2023-01-30T18:45:56.923Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-30T18:45:56.961Z] The recommended git tool is: git [2023-01-30T18:46:03.011Z] using credential edgex-jenkins-ssh [2023-01-30T18:46:03.030Z] Cloning the remote Git repository [2023-01-30T18:46:03.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:46:03.175Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-30T18:46:03.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:46:03.357Z] > git --version # timeout=10 [2023-01-30T18:46:03.384Z] > git --version # 'git version 2.25.1' [2023-01-30T18:46:03.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:46:03.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T18:46:05.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-30T18:46:05.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T18:46:06.961Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-01-30T18:46:07.307Z] Merge succeeded, producing e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 [2023-01-30T18:46:07.307Z] Checking out Revision e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 (PR-1290) [2023-01-30T18:46:06.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-30T18:46:06.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:46:06.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:46:06.401Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-30T18:46:06.984Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T18:46:07.004Z] > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [2023-01-30T18:46:07.120Z] > git remote # timeout=10 [2023-01-30T18:46:07.141Z] > git config --get remote.origin.url # timeout=10 [2023-01-30T18:46:07.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:46:07.181Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-01-30T18:46:07.289Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-30T18:46:07.318Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T18:46:07.346Z] > git checkout -f e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 # timeout=10 [2023-01-30T18:46:10.941Z] Commit message: "Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD" [2023-01-30T18:46:10.953Z] > git rev-list --no-walk 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:46:11.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-30T18:46:11.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T18:46:11.920Z] Dload Upload Total Spent Left Speed [2023-01-30T18:46:11.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-01-30T18:46:12.660Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-30T18:46:12.989Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-30T18:46:12.989Z] + sudo tee /etc/docker/daemon.new [2023-01-30T18:46:12.989Z] { [2023-01-30T18:46:12.989Z] "registry-mirrors": [ [2023-01-30T18:46:12.989Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-30T18:46:12.989Z] ], [2023-01-30T18:46:12.989Z] "bip": "10.250.0.254/24", [2023-01-30T18:46:12.989Z] "hosts": [ [2023-01-30T18:46:12.989Z] "tcp://0.0.0.0:5555", [2023-01-30T18:46:12.989Z] "unix:///var/run/docker.sock" [2023-01-30T18:46:12.989Z] ], [2023-01-30T18:46:12.989Z] "mtu": 1458, [2023-01-30T18:46:12.989Z] "selinux-enabled": true, [2023-01-30T18:46:12.989Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-30T18:46:12.989Z] } [Pipeline] sh [2023-01-30T18:46:13.319Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-30T18:46:13.661Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:46:31.957Z] provisioning config files... [2023-01-30T18:46:31.986Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config12311309014410115881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:46:32.338Z] ---> docker-login.sh [2023-01-30T18:46:32.339Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:46:32.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:46:32.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:46:32.928Z] Configure a credential helper to remove this warning. See [2023-01-30T18:46:32.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:46:32.928Z] [2023-01-30T18:46:32.928Z] Login Succeeded [2023-01-30T18:46:32.928Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:46:33.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:46:33.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:46:33.200Z] Configure a credential helper to remove this warning. See [2023-01-30T18:46:33.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:46:33.200Z] [2023-01-30T18:46:33.200Z] Login Succeeded [2023-01-30T18:46:33.200Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:46:33.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:46:33.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:46:33.838Z] Configure a credential helper to remove this warning. See [2023-01-30T18:46:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:46:33.838Z] [2023-01-30T18:46:33.838Z] Login Succeeded [2023-01-30T18:46:33.838Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:46:34.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:46:34.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:46:34.108Z] Configure a credential helper to remove this warning. See [2023-01-30T18:46:34.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:46:34.108Z] [2023-01-30T18:46:34.108Z] Login Succeeded [2023-01-30T18:46:34.108Z] docker.io [2023-01-30T18:46:34.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:46:34.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:46:34.659Z] Configure a credential helper to remove this warning. See [2023-01-30T18:46:34.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:46:34.659Z] [2023-01-30T18:46:34.659Z] Login Succeeded [2023-01-30T18:46:34.659Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:46:34.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T18:46:34.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:46:34.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:46:34.994Z] ========================================================= [2023-01-30T18:46:34.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-30T18:46:34.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:46:35.342Z] + 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-01-30T18:46:35.611Z] Sending build context to Docker daemon 5.694MB [2023-01-30T18:46:35.891Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:46:35.891Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-30T18:46:35.891Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-30T18:46:35.891Z] 9b18e9b68314: Pulling fs layer [2023-01-30T18:46:35.891Z] 35d82f9e3411: Pulling fs layer [2023-01-30T18:46:35.891Z] e16973657156: Pulling fs layer [2023-01-30T18:46:35.891Z] fc693d55d65f: Pulling fs layer [2023-01-30T18:46:35.891Z] 7e9fc2657dce: Pulling fs layer [2023-01-30T18:46:35.891Z] dda99020689f: Pulling fs layer [2023-01-30T18:46:35.891Z] db1c61fa0a46: Pulling fs layer [2023-01-30T18:46:35.891Z] 891c053d2c06: Pulling fs layer [2023-01-30T18:46:35.891Z] dda99020689f: Waiting [2023-01-30T18:46:35.891Z] db1c61fa0a46: Waiting [2023-01-30T18:46:35.891Z] fc693d55d65f: Waiting [2023-01-30T18:46:35.891Z] 891c053d2c06: Waiting [2023-01-30T18:46:35.891Z] 7e9fc2657dce: Waiting [2023-01-30T18:46:35.891Z] e16973657156: Verifying Checksum [2023-01-30T18:46:35.891Z] e16973657156: Download complete [2023-01-30T18:46:36.162Z] 35d82f9e3411: Verifying Checksum [2023-01-30T18:46:36.162Z] 35d82f9e3411: Download complete [2023-01-30T18:46:36.162Z] 7e9fc2657dce: Verifying Checksum [2023-01-30T18:46:36.162Z] 7e9fc2657dce: Download complete [2023-01-30T18:46:36.162Z] dda99020689f: Verifying Checksum [2023-01-30T18:46:36.162Z] dda99020689f: Download complete [2023-01-30T18:46:36.162Z] 9b18e9b68314: Verifying Checksum [2023-01-30T18:46:37.606Z] 9b18e9b68314: Pull complete [2023-01-30T18:46:37.606Z] 891c053d2c06: Verifying Checksum [2023-01-30T18:46:37.606Z] 891c053d2c06: Download complete [2023-01-30T18:46:37.882Z] 35d82f9e3411: Pull complete [2023-01-30T18:46:38.155Z] e16973657156: Pull complete [2023-01-30T18:46:38.763Z] db1c61fa0a46: Verifying Checksum [2023-01-30T18:46:38.763Z] db1c61fa0a46: Download complete [2023-01-30T18:46:39.348Z] fc693d55d65f: Verifying Checksum [2023-01-30T18:46:39.348Z] fc693d55d65f: Download complete [2023-01-30T18:46:51.720Z] fc693d55d65f: Pull complete [2023-01-30T18:46:51.720Z] 7e9fc2657dce: Pull complete [2023-01-30T18:46:51.720Z] dda99020689f: Pull complete [2023-01-30T18:46:58.395Z] db1c61fa0a46: Pull complete [2023-01-30T18:46:59.814Z] 891c053d2c06: Pull complete [2023-01-30T18:46:59.814Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-30T18:46:59.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-30T18:46:59.814Z] ---> f96f9c87975a [2023-01-30T18:46:59.814Z] Step 3/10 : ARG MAKE=make build [2023-01-30T18:47:01.781Z] ---> Running in c3908a10ca42 [2023-01-30T18:47:02.371Z] Removing intermediate container c3908a10ca42 [2023-01-30T18:47:02.371Z] ---> a3d8e5f2018a [2023-01-30T18:47:02.371Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-30T18:47:02.371Z] ---> Running in 25c74104efc2 [2023-01-30T18:47:02.641Z] Removing intermediate container 25c74104efc2 [2023-01-30T18:47:02.641Z] ---> 490abaa29d43 [2023-01-30T18:47:02.641Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:47:02.641Z] ---> Running in 96144a1866c0 [2023-01-30T18:47:03.230Z] Removing intermediate container 96144a1866c0 [2023-01-30T18:47:03.230Z] ---> 6cff87c41af2 [2023-01-30T18:47:03.230Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-30T18:47:03.230Z] ---> Running in e40394a803b5 [2023-01-30T18:47:04.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:47:04.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:47:06.077Z] OK: 221 MiB in 51 packages [2023-01-30T18:47:06.667Z] Removing intermediate container e40394a803b5 [2023-01-30T18:47:06.667Z] ---> 10b2ac724045 [2023-01-30T18:47:06.667Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-30T18:47:07.258Z] ---> 4e613bc5205a [2023-01-30T18:47:07.258Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:47:07.526Z] ---> Running in d697ed9eb8a2 [2023-01-30T18:48:29.223Z] Removing intermediate container d697ed9eb8a2 [2023-01-30T18:48:29.223Z] ---> 2c6652c7ea7f [2023-01-30T18:48:29.223Z] Step 9/10 : COPY . . [2023-01-30T18:48:29.223Z] ---> 741a622a3187 [2023-01-30T18:48:29.223Z] Step 10/10 : RUN ${MAKE} [2023-01-30T18:48:29.223Z] ---> Running in c203e47b70d9 [2023-01-30T18:48:29.223Z] noop [2023-01-30T18:48:29.223Z] Removing intermediate container c203e47b70d9 [2023-01-30T18:48:29.223Z] ---> 526542115718 [2023-01-30T18:48:29.223Z] Successfully built 526542115718 [2023-01-30T18:48:29.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:48:29.572Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T18:48:29.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:48:29.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-4015 does not seem to be running inside a container [2023-01-30T18:48:29.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-30T18:48:31.199Z] $ docker top 66f14c8f1e10ae4db00eecded60f1bd80d8e004edb6fb2a5fb7e339f4efb1656 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:48:32.103Z] + go version [2023-01-30T18:48:32.103Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-30T18:48:32.123Z] $ docker stop --time=1 66f14c8f1e10ae4db00eecded60f1bd80d8e004edb6fb2a5fb7e339f4efb1656 [2023-01-30T18:48:34.065Z] $ docker rm -f --volumes 66f14c8f1e10ae4db00eecded60f1bd80d8e004edb6fb2a5fb7e339f4efb1656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:48:34.637Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T18:48:34.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:48:34.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-4015 does not seem to be running inside a container [2023-01-30T18:48:34.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-30T18:48:36.305Z] $ docker top 594f6b50aee4cf34832e3ddbdfe02b612b6aee9c822f445e9c5d31c6f2f18eb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:48:37.193Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-30T18:48:37.847Z] + make test [2023-01-30T18:48:37.847Z] go test -race -coverprofile=coverage.out ./... [2023-01-30T18:49:16.786Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-30T18:51:38.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-30T18:51:38.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-30T18:51:38.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-30T18:51:38.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-30T18:51:38.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-30T18:51:45.165Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.261s coverage: 27.6% of statements [2023-01-30T18:51:45.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.344s coverage: 78.9% of statements [2023-01-30T18:51:45.166Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-30T18:51:55.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.344s coverage: 73.6% of statements [2023-01-30T18:51:55.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-30T18:51:55.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-30T18:51:55.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.550s coverage: 60.6% of statements [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-30T18:51:55.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.408s coverage: 65.1% of statements [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-30T18:51:55.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.292s coverage: 89.2% of statements [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-30T18:51:55.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 4.6% of statements [2023-01-30T18:51:55.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-30T18:51:56.486Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-30T18:51:56.486Z] GO111MODULE=on go vet ./... [2023-01-30T18:53:33.154Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T18:53:33.154Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T18:53:33.154Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-30T18:53:33.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T18:53:33.181Z] $ docker stop --time=1 594f6b50aee4cf34832e3ddbdfe02b612b6aee9c822f445e9c5d31c6f2f18eb7 [2023-01-30T18:53:34.979Z] $ docker rm -f --volumes 594f6b50aee4cf34832e3ddbdfe02b612b6aee9c822f445e9c5d31c6f2f18eb7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:53:36.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T18:53:36.379Z] Warning: overwriting stash ‘coverage-report’ [2023-01-30T18:53:36.988Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:53:37.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T18:53:37.775Z] + ls -al . [2023-01-30T18:53:37.775Z] total 268 [2023-01-30T18:53:37.775Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 18:48 . [2023-01-30T18:53:37.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:46 .. [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 18:46 .dockerignore [2023-01-30T18:53:37.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:46 .git [2023-01-30T18:53:37.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:46 .github [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 18:46 .gitignore [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:46 .golangci.yml [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 18:46 CHANGELOG.md [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:46 GOVERNANCE.md [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 18:46 Jenkinsfile [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 18:46 LICENSE [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 18:46 Makefile [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 18:46 OWNERS.md [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 18:46 README.md [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 18:42 VERSION [2023-01-30T18:53:37.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:46 bin [2023-01-30T18:53:37.775Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 18:51 coverage.out [2023-01-30T18:53:37.775Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 18:46 example [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 18:46 go.mod [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 18:46 go.sum [2023-01-30T18:53:37.775Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 18:46 internal [2023-01-30T18:53:37.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:46 openapi [2023-01-30T18:53:37.775Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:46 pkg [2023-01-30T18:53:37.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:46 snap [2023-01-30T18:53:37.775Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:53:38.124Z] + 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=e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 --label arch=arm64 --label version=0.0.0 . [2023-01-30T18:53:38.732Z] Sending build context to Docker daemon 5.796MB [2023-01-30T18:53:38.732Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:53:38.732Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-30T18:53:38.732Z] ---> 526542115718 [2023-01-30T18:53:38.732Z] Step 3/23 : ARG MAKE=make build [2023-01-30T18:53:40.700Z] ---> Running in c5329bc8e08c [2023-01-30T18:53:40.700Z] Removing intermediate container c5329bc8e08c [2023-01-30T18:53:40.700Z] ---> 529fc33b728a [2023-01-30T18:53:40.700Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-30T18:53:40.700Z] ---> Running in 3fd88e501093 [2023-01-30T18:53:41.288Z] Removing intermediate container 3fd88e501093 [2023-01-30T18:53:41.288Z] ---> f603c33e5d50 [2023-01-30T18:53:41.288Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:53:41.288Z] ---> Running in 9da8401d8bd4 [2023-01-30T18:53:41.562Z] Removing intermediate container 9da8401d8bd4 [2023-01-30T18:53:41.562Z] ---> f7d897bccf0a [2023-01-30T18:53:41.562Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-30T18:53:41.562Z] ---> Running in 72046cda6885 [2023-01-30T18:53:42.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:53:43.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:53:44.111Z] OK: 221 MiB in 51 packages [2023-01-30T18:53:45.077Z] Removing intermediate container 72046cda6885 [2023-01-30T18:53:45.077Z] ---> 9ae6b6fb77ed [2023-01-30T18:53:45.077Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-30T18:53:45.665Z] ---> 93f7736d4c05 [2023-01-30T18:53:45.665Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:53:45.665Z] ---> Running in ad5e74495ca7 [2023-01-30T18:53:48.269Z] Removing intermediate container ad5e74495ca7 [2023-01-30T18:53:48.269Z] ---> da207f4d07fd [2023-01-30T18:53:48.269Z] Step 9/23 : COPY . . [2023-01-30T18:53:49.691Z] ---> 0d0f35b5d04d [2023-01-30T18:53:49.691Z] Step 10/23 : RUN ${MAKE} [2023-01-30T18:53:49.691Z] ---> Running in d21b1d361083 [2023-01-30T18:53:50.657Z] 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-01-30T18:56:12.363Z] Removing intermediate container d21b1d361083 [2023-01-30T18:56:12.363Z] ---> 0917f5819d9b [2023-01-30T18:56:12.363Z] Step 11/23 : FROM alpine:3.16 [2023-01-30T18:56:12.363Z] 3.16: Pulling from library/alpine [2023-01-30T18:56:12.363Z] 6875df1f5354: Pulling fs layer [2023-01-30T18:56:12.363Z] 6875df1f5354: Verifying Checksum [2023-01-30T18:56:12.363Z] 6875df1f5354: Pull complete [2023-01-30T18:56:12.363Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T18:56:12.363Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T18:56:12.363Z] ---> 2b4661558fb8 [2023-01-30T18:56:12.363Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-30T18:56:12.363Z] ---> Running in 44824c75c56b [2023-01-30T18:56:12.363Z] Removing intermediate container 44824c75c56b [2023-01-30T18:56:12.363Z] ---> 9a742df96746 [2023-01-30T18:56:12.363Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-30T18:56:12.363Z] ---> Running in 049e481617e6 [2023-01-30T18:56:12.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:56:12.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:56:12.363Z] OK: 5 MiB in 14 packages [2023-01-30T18:56:12.363Z] Removing intermediate container 049e481617e6 [2023-01-30T18:56:12.363Z] ---> eb5ccf7ad454 [2023-01-30T18:56:12.363Z] Step 14/23 : WORKDIR / [2023-01-30T18:56:12.363Z] ---> Running in 8c6b6b2fa3e4 [2023-01-30T18:56:12.363Z] Removing intermediate container 8c6b6b2fa3e4 [2023-01-30T18:56:12.363Z] ---> 328a006501b2 [2023-01-30T18:56:12.363Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-30T18:56:12.363Z] ---> 35ea33a387fb [2023-01-30T18:56:12.363Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-30T18:56:12.363Z] ---> ef8b2de22e90 [2023-01-30T18:56:12.363Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-30T18:56:12.363Z] ---> 521f75bc7bcd [2023-01-30T18:56:12.363Z] Step 18/23 : EXPOSE 59999 [2023-01-30T18:56:12.363Z] ---> Running in 5a9f9a00a186 [2023-01-30T18:56:12.630Z] Removing intermediate container 5a9f9a00a186 [2023-01-30T18:56:12.630Z] ---> 306c7beaac4c [2023-01-30T18:56:12.630Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-30T18:56:12.630Z] ---> Running in dd19e63ee68c [2023-01-30T18:56:12.898Z] Removing intermediate container dd19e63ee68c [2023-01-30T18:56:12.898Z] ---> 65dc75272072 [2023-01-30T18:56:12.898Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T18:56:13.170Z] ---> Running in abd942e9d078 [2023-01-30T18:56:13.437Z] Removing intermediate container abd942e9d078 [2023-01-30T18:56:13.437Z] ---> 28dd0d261caa [2023-01-30T18:56:13.437Z] Step 21/23 : LABEL arch=arm64 [2023-01-30T18:56:13.437Z] ---> Running in a7fa45347a79 [2023-01-30T18:56:13.706Z] Removing intermediate container a7fa45347a79 [2023-01-30T18:56:13.706Z] ---> c9827064c293 [2023-01-30T18:56:13.706Z] Step 22/23 : LABEL git_sha=e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 [2023-01-30T18:56:13.706Z] ---> Running in 574268d79dae [2023-01-30T18:56:14.310Z] Removing intermediate container 574268d79dae [2023-01-30T18:56:14.310Z] ---> 78d8d25a01e1 [2023-01-30T18:56:14.310Z] Step 23/23 : LABEL version=0.0.0 [2023-01-30T18:56:14.310Z] ---> Running in 62360b5a96a4 [2023-01-30T18:56:14.578Z] Removing intermediate container 62360b5a96a4 [2023-01-30T18:56:14.578Z] ---> 49820e9cdded [2023-01-30T18:56:14.578Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T18:56:14.578Z] Successfully built 49820e9cdded [2023-01-30T18:56:14.578Z] 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-01-30T18:56:15.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:56:15.016Z] [2023-01-30T18:56:15.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:56:15.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:56:15.352Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-30T18:56:15.352Z] 8998bd30e6a1: Pulling fs layer [2023-01-30T18:56:15.352Z] 04944245beec: Pulling fs layer [2023-01-30T18:56:15.352Z] 699f458cf7ca: Pulling fs layer [2023-01-30T18:56:15.352Z] 765212b225bb: Pulling fs layer [2023-01-30T18:56:15.352Z] f23df028b6ca: Pulling fs layer [2023-01-30T18:56:15.352Z] d65c8cfc05b1: Pulling fs layer [2023-01-30T18:56:15.352Z] 2437ff75d9bd: Pulling fs layer [2023-01-30T18:56:15.352Z] f23df028b6ca: Waiting [2023-01-30T18:56:15.352Z] d65c8cfc05b1: Waiting [2023-01-30T18:56:15.352Z] 2437ff75d9bd: Waiting [2023-01-30T18:56:15.352Z] 765212b225bb: Waiting [2023-01-30T18:56:15.619Z] 04944245beec: Verifying Checksum [2023-01-30T18:56:15.619Z] 04944245beec: Download complete [2023-01-30T18:56:15.619Z] 765212b225bb: Verifying Checksum [2023-01-30T18:56:15.619Z] 765212b225bb: Download complete [2023-01-30T18:56:15.886Z] f23df028b6ca: Download complete [2023-01-30T18:56:15.886Z] d65c8cfc05b1: Verifying Checksum [2023-01-30T18:56:15.886Z] d65c8cfc05b1: Download complete [2023-01-30T18:56:15.886Z] 699f458cf7ca: Verifying Checksum [2023-01-30T18:56:15.886Z] 699f458cf7ca: Download complete [2023-01-30T18:56:16.154Z] 8998bd30e6a1: Verifying Checksum [2023-01-30T18:56:16.154Z] 8998bd30e6a1: Download complete [2023-01-30T18:56:18.745Z] 2437ff75d9bd: Download complete [2023-01-30T18:56:19.701Z] 8998bd30e6a1: Pull complete [2023-01-30T18:56:20.283Z] 04944245beec: Pull complete [2023-01-30T18:56:22.857Z] 699f458cf7ca: Pull complete [2023-01-30T18:56:23.124Z] 765212b225bb: Pull complete [2023-01-30T18:56:24.083Z] f23df028b6ca: Pull complete [2023-01-30T18:56:24.083Z] d65c8cfc05b1: Pull complete [2023-01-30T18:56:39.061Z] 2437ff75d9bd: Pull complete [2023-01-30T18:56:39.061Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-30T18:56:39.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:56:39.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:56:39.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-4015 does not seem to be running inside a container [2023-01-30T18:56:39.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-30T18:56:41.923Z] $ docker top 7bd3c88162ec8f7014ebb771d288eb7214b7b96bd0e1e719695b590b94120cf8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:42.757Z] ---> job-cost.sh [2023-01-30T18:56:42.757Z] lf-activate-venv: SKIPPING [2023-01-30T18:56:42.757Z] INFO: No Stack... [2023-01-30T18:56:43.022Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-30T18:56:43.982Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T18:56:44.621Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-01-30T18:56:44.621Z] + cut -d, -f6 [Pipeline] lock [2023-01-30T18:56:44.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [2023-01-30T18:56:44.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] did not exist. Created. [2023-01-30T18:56:44.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T18:56:45.016Z] /w/workspace/device-sdk-go/2@tmp/durable-afb2460f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-30T18:56:45.348Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-30T18:56:45.368Z] Warning: overwriting stash ‘stack-cost’ [2023-01-30T18:56:45.434Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T18:56:45.441Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T18:56:45.459Z] $ docker stop --time=1 7bd3c88162ec8f7014ebb771d288eb7214b7b96bd0e1e719695b590b94120cf8 [2023-01-30T18:56:47.703Z] $ docker rm -f --volumes 7bd3c88162ec8f7014ebb771d288eb7214b7b96bd0e1e719695b590b94120cf8 [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-01-30T18:56:48.082Z] provisioning config files... [2023-01-30T18:56:48.090Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config15428432853472441704tmp [Pipeline] { [Pipeline] sh [2023-01-30T18:56:48.385Z] + set +x [2023-01-30T18:56:48.385Z] + curl -s https://codecov.io/bash [2023-01-30T18:56:48.385Z] + bash -s -- [2023-01-30T18:56:48.385Z] [2023-01-30T18:56:48.385Z] _____ _ [2023-01-30T18:56:48.385Z] / ____| | | [2023-01-30T18:56:48.385Z] | | ___ __| | ___ ___ _____ __ [2023-01-30T18:56:48.385Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-30T18:56:48.385Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-30T18:56:48.385Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-30T18:56:48.385Z] Bash-1.0.6 [2023-01-30T18:56:48.385Z] [2023-01-30T18:56:48.385Z] [2023-01-30T18:56:48.385Z] ==> git version 2.25.1 found [2023-01-30T18:56:48.385Z] ==> 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-01-30T18:56:48.385Z] Release-Date: 2020-01-08 [2023-01-30T18:56:48.385Z] 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-01-30T18:56:48.385Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-30T18:56:48.385Z] ==> Jenkins CI detected. [2023-01-30T18:56:48.385Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-01-30T18:56:48.385Z] project root: . [2023-01-30T18:56:48.385Z] --> token set from env [2023-01-30T18:56:48.385Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-30T18:56:48.385Z] ==> Running gcov in . (disable via -X gcov) [2023-01-30T18:56:48.385Z] ==> Python coveragepy not found [2023-01-30T18:56:48.385Z] ==> Searching for coverage reports in: [2023-01-30T18:56:48.385Z] + . [2023-01-30T18:56:48.385Z] -> Found 1 reports [2023-01-30T18:56:48.385Z] ==> Detecting git/mercurial file structure [2023-01-30T18:56:48.385Z] ==> Reading reports [2023-01-30T18:56:48.385Z] + ./coverage.out bytes=100832 [2023-01-30T18:56:48.385Z] ==> Appending adjustments [2023-01-30T18:56:48.385Z] https://docs.codecov.io/docs/fixing-reports [2023-01-30T18:56:48.953Z] + Found adjustments [2023-01-30T18:56:48.953Z] ==> Gzipping contents [2023-01-30T18:56:48.953Z] 16K /tmp/codecov.unXS2S.gz [2023-01-30T18:56:48.953Z] ==> Uploading reports [2023-01-30T18:56:48.953Z] url: https://codecov.io [2023-01-30T18:56:48.953Z] query: branch=PR-1290&commit=e40bc2d9fefddf2c87f3000237f0230c80860175&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-01-30T18:56:48.953Z] -> Pinging Codecov [2023-01-30T18:56:48.953Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1290&commit=e40bc2d9fefddf2c87f3000237f0230c80860175&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-01-30T18:56:49.212Z] -> Uploading to [2023-01-30T18:56:49.212Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-30/7E55EF52A471D76F132DFD9A03CDDE97/e40bc2d9fefddf2c87f3000237f0230c80860175/a365553c-5c72-4dbc-abe3-cfa1dd6e6059.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T185648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1f032b811d7eb71342d6f8a116b2582dd85a2ea28f1d2313062c5d0169c1cc7 [2023-01-30T18:56:49.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T18:56:49.212Z] Dload Upload Total Spent Left Speed [2023-01-30T18:56:49.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14747 0 0 100 14747 0 57381 --:--:-- --:--:-- --:--:-- 57381 [2023-01-30T18:56:49.470Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e40bc2d9fefddf2c87f3000237f0230c80860175 [Pipeline] } [2023-01-30T18:56:49.477Z] 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-01-30T18:56:50.132Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives ] [2023-01-30T18:56:50.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-30T18:56:50.133Z] total 16 [2023-01-30T18:56:50.133Z] drwxr-xr-x 3 root root 4096 Jan 30 18:44 . [2023-01-30T18:56:50.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 18:44 .. [2023-01-30T18:56:50.133Z] drwxr-xr-x 2 root root 4096 Jan 30 18:44 cost [2023-01-30T18:56:50.133Z] -rw-r--r-- 1 root root 86 Jan 30 18:44 cost.csv [2023-01-30T18:56:50.133Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-30T18:56:50.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-30T18:56:50.133Z] total 16 [2023-01-30T18:56:50.133Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:44 . [2023-01-30T18:56:50.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 18:44 .. [2023-01-30T18:56:50.133Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 18:44 cost [2023-01-30T18:56:50.133Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 30 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:50.422Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:51.280Z] ---> package-listing.sh [2023-01-30T18:56:51.280Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-30T18:56:51.280Z] ++ facter osfamily [2023-01-30T18:56:51.538Z] + OS_FAMILY=debian [2023-01-30T18:56:51.538Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-01-30T18:56:51.538Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-30T18:56:51.538Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-30T18:56:51.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-30T18:56:51.538Z] + PACKAGES=/tmp/packages_start.txt [2023-01-30T18:56:51.538Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-01-30T18:56:51.538Z] + PACKAGES=/tmp/packages_end.txt [2023-01-30T18:56:51.538Z] + case "${OS_FAMILY}" in [2023-01-30T18:56:51.538Z] + dpkg -l [2023-01-30T18:56:51.538Z] + grep '^ii' [2023-01-30T18:56:51.538Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-30T18:56:51.538Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-30T18:56:51.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-30T18:56:51.538Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-01-30T18:56:51.538Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [2023-01-30T18:56:51.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [Pipeline] echo [2023-01-30T18:56:51.549Z] 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-1290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-30T18:56:51.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:56:52.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:56:52.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:56:52.463Z] prd-ubuntu20.04-docker-8c-8g-4012 does not seem to be running inside a container [2023-01-30T18:56:52.498Z] $ 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-1290/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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-30T18:56:52.762Z] $ docker top 66699e88421471e0589f318369e526bdc4c2a87843bacda7aff39632b90fa98c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:56:53.104Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-30T18:56:53.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-30T18:56:53.673Z] + ls /var/log/sa-host [2023-01-30T18:56:53.673Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:56:53.744Z] provisioning config files... [2023-01-30T18:56:53.752Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config12954355481143490285tmp [Pipeline] { [Pipeline] echo [2023-01-30T18:56:53.766Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:54.047Z] ---> create-netrc.sh [Pipeline] } [2023-01-30T18:56:54.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:54.378Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-30T18:56:54.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:54.673Z] ---> sudo-logs.sh [2023-01-30T18:56:54.673Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-30T18:56:54.704Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:54.986Z] ---> job-cost.sh [2023-01-30T18:56:54.987Z] lf-activate-venv: SKIPPING [2023-01-30T18:56:54.987Z] DEBUG: total: 0.2199999988079071 [2023-01-30T18:56:54.987Z] INFO: Retrieving Stack Cost... [2023-01-30T18:56:55.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T18:56:55.813Z] INFO: Archiving Costs [Pipeline] echo [2023-01-30T18:56:55.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:56:56.105Z] ---> logs-deploy.sh [2023-01-30T18:56:56.105Z] lf-activate-venv: SKIPPING [2023-01-30T18:56:56.105Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1290/2 [2023-01-30T18:56:56.105Z] INFO: archiving workspace using pattern(s): [2023-01-30T18:56:57.045Z] Archives upload complete. [2023-01-30T18:56:57.045Z] INFO: archiving logs to Nexus