Pull request #1316 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0b43c1610ee696a8d013eadbc860196eab436b77+8b9fd5bc22bc5ff949621087fe72c38333f95112 (2d9298fb4cdc1da85c732b16cf6222eab02af7c2) 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-ssh2206257434000552313.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-ssh13486117941201949533.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-1316/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-1316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh377107899324179368.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-ssh10880319111157846226.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-1316/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-1316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16711317896226120566.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6135 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [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-1316 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 0b43c1610ee696a8d013eadbc860196eab436b77 Merge succeeded, producing 0b43c1610ee696a8d013eadbc860196eab436b77 Checking out Revision 0b43c1610ee696a8d013eadbc860196eab436b77 (PR-1316) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b43c1610ee696a8d013eadbc860196eab436b77 # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b43c1610ee696a8d013eadbc860196eab436b77 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T16:10:58.790Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T16:10:58.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T16:10:58.860Z] ========================================================= [2023-02-15T16:10:58.860Z] EdgeX Global Pipelines Version Info [2023-02-15T16:10:58.860Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:10:59.584Z] ------------------- [2023-02-15T16:10:59.585Z] stable info: [2023-02-15T16:10:59.585Z] ------------------- [2023-02-15T16:10:59.585Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T16:10:59.585Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:10:59.585Z] Message: update stable to v1.0.244 > git rev-list --no-walk 973f95a1cfc82b87552ec904742da85478eb6c3a # timeout=10 [2023-02-15T16:11:00.155Z] ------------------- [2023-02-15T16:11:00.155Z] experimental info: [2023-02-15T16:11:00.155Z] ------------------- [2023-02-15T16:11:00.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T16:11:00.155Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:11:00.155Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T16:11:00.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T16:11:00.346Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T16:11:00.354Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T16:11:00.363Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T16:11:00.371Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T16:11:00.379Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T16:11:00.390Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T16:11:00.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T16:11:00.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T16:11:00.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T16:11:00.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T16:11:00.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T16:11:00.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T16:11:00.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T16:11:00.460Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T16:11:00.469Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:11:00.477Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:11:00.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:11:00.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T16:11:00.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T16:11:00.511Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T16:11:00.519Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T16:11:00.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T16:11:00.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T16:11:00.549Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T16:11:00.558Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T16:11:00.566Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T16:11:00.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1316 [Pipeline] echo [2023-02-15T16:11:00.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1316 [Pipeline] echo [2023-02-15T16:11:00.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1316 [Pipeline] echo [2023-02-15T16:11:00.600Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b43c1610ee696a8d013eadbc860196eab436b77 [Pipeline] echo [2023-02-15T16:11:00.609Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b43c16 [Pipeline] echo [2023-02-15T16:11:00.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:11:00.653Z] provisioning config files... [2023-02-15T16:11:00.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config16654810115837547875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:11:00.973Z] ---> docker-login.sh [2023-02-15T16:11:00.973Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:11:00.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:01.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:01.236Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:01.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:01.236Z] [2023-02-15T16:11:01.236Z] Login Succeeded [2023-02-15T16:11:01.236Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:11:01.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:01.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:01.236Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:01.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:01.236Z] [2023-02-15T16:11:01.236Z] Login Succeeded [2023-02-15T16:11:01.236Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:11:01.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:01.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:01.498Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:01.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:01.498Z] [2023-02-15T16:11:01.498Z] Login Succeeded [2023-02-15T16:11:01.498Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:11:01.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:01.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:01.498Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:01.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:01.498Z] [2023-02-15T16:11:01.498Z] Login Succeeded [2023-02-15T16:11:01.498Z] docker.io [2023-02-15T16:11:01.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:02.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:02.018Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:02.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:02.018Z] [2023-02-15T16:11:02.018Z] Login Succeeded [2023-02-15T16:11:02.018Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:11:02.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T16:11:02.371Z] + git rev-list -1 --merges 0b43c1610ee696a8d013eadbc860196eab436b77~1..0b43c1610ee696a8d013eadbc860196eab436b77 [Pipeline] echo [2023-02-15T16:11:02.415Z] -----------> git rev-list -1 --merges 0b43c1610ee696a8d013eadbc860196eab436b77~1..0b43c1610ee696a8d013eadbc860196eab436b77 0b43c1610ee696a8d013eadbc860196eab436b77 [false] [Pipeline] sh [2023-02-15T16:11:02.702Z] + git log --format=format:%s -1 0b43c1610ee696a8d013eadbc860196eab436b77 [Pipeline] echo [2023-02-15T16:11:02.720Z] ========================================================= [2023-02-15T16:11:02.720Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T16:11:02.720Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T16:11:03.065Z] + git log --format=format:%s -1 0b43c1610ee696a8d013eadbc860196eab436b77 [Pipeline] echo [2023-02-15T16:11:03.076Z] [semverPrep] GIT_COMMIT: 0b43c1610ee696a8d013eadbc860196eab436b77, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-02-15T16:11:03.086Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T16:11:03.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T16:11:03.445Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T16:11:03.445Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T16:11:03.445Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T16:11:03.445Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T16:11:03.445Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T16:11:03.445Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:11:03.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:11:03.848Z] [2023-02-15T16:11:03.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:11:04.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:11:04.147Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T16:11:04.147Z] b85a868b505f: Pulling fs layer [2023-02-15T16:11:04.147Z] e2be974225ed: Pulling fs layer [2023-02-15T16:11:04.147Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T16:11:04.147Z] 988bab9f4d93: Pulling fs layer [2023-02-15T16:11:04.147Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T16:11:04.147Z] eaf3925da568: Pulling fs layer [2023-02-15T16:11:04.147Z] bab4dde63d76: Pulling fs layer [2023-02-15T16:11:04.147Z] bde34c3a00c8: Pulling fs layer [2023-02-15T16:11:04.147Z] b352a97aabf1: Pulling fs layer [2023-02-15T16:11:04.147Z] 4872d77fe225: Pulling fs layer [2023-02-15T16:11:04.147Z] 5851b861e8e6: Pulling fs layer [2023-02-15T16:11:04.147Z] 988bab9f4d93: Waiting [2023-02-15T16:11:04.147Z] bde34c3a00c8: Waiting [2023-02-15T16:11:04.147Z] bab4dde63d76: Waiting [2023-02-15T16:11:04.147Z] b352a97aabf1: Waiting [2023-02-15T16:11:04.147Z] 5851b861e8e6: Waiting [2023-02-15T16:11:04.147Z] 1469e6f7b9e6: Waiting [2023-02-15T16:11:04.147Z] eaf3925da568: Waiting [2023-02-15T16:11:04.147Z] 4872d77fe225: Waiting [2023-02-15T16:11:04.147Z] e2be974225ed: Verifying Checksum [2023-02-15T16:11:04.410Z] e2be974225ed: Download complete [2023-02-15T16:11:04.410Z] 988bab9f4d93: Verifying Checksum [2023-02-15T16:11:04.410Z] 988bab9f4d93: Download complete [2023-02-15T16:11:04.678Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T16:11:04.678Z] 1469e6f7b9e6: Download complete [2023-02-15T16:11:04.678Z] eaf3925da568: Verifying Checksum [2023-02-15T16:11:04.678Z] eaf3925da568: Download complete [2023-02-15T16:11:04.948Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T16:11:04.948Z] 339a4e72a1f5: Download complete [2023-02-15T16:11:04.948Z] bde34c3a00c8: Verifying Checksum [2023-02-15T16:11:04.948Z] bde34c3a00c8: Download complete [2023-02-15T16:11:04.948Z] b352a97aabf1: Verifying Checksum [2023-02-15T16:11:04.948Z] b352a97aabf1: Download complete [2023-02-15T16:11:04.948Z] 4872d77fe225: Download complete [2023-02-15T16:11:04.948Z] 5851b861e8e6: Verifying Checksum [2023-02-15T16:11:04.948Z] 5851b861e8e6: Download complete [2023-02-15T16:11:05.212Z] b85a868b505f: Verifying Checksum [2023-02-15T16:11:05.212Z] b85a868b505f: Download complete [2023-02-15T16:11:05.471Z] bab4dde63d76: Verifying Checksum [2023-02-15T16:11:05.471Z] bab4dde63d76: Download complete [2023-02-15T16:11:06.413Z] b85a868b505f: Pull complete [2023-02-15T16:11:06.413Z] e2be974225ed: Pull complete [2023-02-15T16:11:06.986Z] 339a4e72a1f5: Pull complete [2023-02-15T16:11:06.986Z] 988bab9f4d93: Pull complete [2023-02-15T16:11:07.244Z] 1469e6f7b9e6: Pull complete [2023-02-15T16:11:07.244Z] eaf3925da568: Pull complete [2023-02-15T16:11:09.152Z] bab4dde63d76: Pull complete [2023-02-15T16:11:09.152Z] bde34c3a00c8: Pull complete [2023-02-15T16:11:09.152Z] b352a97aabf1: Pull complete [2023-02-15T16:11:09.152Z] 4872d77fe225: Pull complete [2023-02-15T16:11:09.152Z] 5851b861e8e6: Pull complete [2023-02-15T16:11:09.417Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T16:11:09.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:11:09.417Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:11:09.505Z] prd-ubuntu20.04-docker-8c-8g-6135 does not seem to be running inside a container [2023-02-15T16:11:09.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T16:11:10.884Z] $ docker top ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f -eo pid,comm [2023-02-15T16:11:10.940Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T16:11:10.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T16:11:10.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:11:10.972Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:11:11.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:11:11.094Z] $ docker exec ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f ssh-agent [2023-02-15T16:11:11.200Z] SSH_AUTH_SOCK=/tmp/ssh-pXpzR6th92SH/agent.32 [2023-02-15T16:11:11.200Z] SSH_AGENT_PID=38 [2023-02-15T16:11:11.206Z] Running ssh-add (command line suppressed) [2023-02-15T16:11:11.322Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_16535870700119849867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_16535870700119849867.key) [2023-02-15T16:11:11.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:11:11.626Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T16:11:11.638Z] $ docker exec --env ******** --env ******** ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f ssh-agent -k [2023-02-15T16:11:11.773Z] unset SSH_AUTH_SOCK; [2023-02-15T16:11:11.774Z] unset SSH_AGENT_PID; [2023-02-15T16:11:11.774Z] echo Agent pid 38 killed; [2023-02-15T16:11:11.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T16:11:11.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:11:11.805Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:11:11.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:11:11.929Z] $ docker exec ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f ssh-agent [2023-02-15T16:11:12.039Z] SSH_AUTH_SOCK=/tmp/ssh-2L9DCMCN39kA/agent.70 [2023-02-15T16:11:12.039Z] SSH_AGENT_PID=76 [2023-02-15T16:11:12.043Z] Running ssh-add (command line suppressed) [2023-02-15T16:11:12.162Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_15782928237263952344.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_15782928237263952344.key) [2023-02-15T16:11:12.179Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:11:12.468Z] + git semver init [2023-02-15T16:11:12.728Z] 2023-02-15 16:11:12,699 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T16:11:12.728Z] 2023-02-15 16:11:12,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver [2023-02-15T16:11:12.728Z] 2023-02-15 16:11:12,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver [2023-02-15T16:11:12.728Z] 2023-02-15 16:11:12,700 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316, universal_newlines=False, shell=None, istream=None) [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,730 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.git/info/exclude [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,731 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 with force:False [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,731 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,736 [execute] INFO git cat-file --batch-check [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,742 [execute] INFO git cat-file --batch [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T16:11:14.110Z] 2023-02-15 16:11:13,748 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 [2023-02-15T16:11:14.110Z] 0.0.0 [Pipeline] } [2023-02-15T16:11:14.121Z] $ docker exec --env ******** --env ******** ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f ssh-agent -k [2023-02-15T16:11:14.231Z] unset SSH_AUTH_SOCK; [2023-02-15T16:11:14.232Z] unset SSH_AGENT_PID; [2023-02-15T16:11:14.232Z] echo Agent pid 76 killed; [2023-02-15T16:11:14.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T16:11:14.546Z] + git semver [Pipeline] } [2023-02-15T16:11:14.824Z] $ docker stop --time=1 ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f [2023-02-15T16:11:16.146Z] $ docker rm -f --volumes ec868ff6327e85f4535a6dd883da1d99791ef5ed9c69ceb04c2e1ec31efe712f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:11:16.482Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T16:11:16.682Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T16:11:16.685Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:11:16.785Z] provisioning config files... [2023-02-15T16:11:16.794Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config7294048817707347315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:11:17.086Z] ---> docker-login.sh [2023-02-15T16:11:17.086Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:11:17.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:17.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:17.086Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:17.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:17.086Z] [2023-02-15T16:11:17.086Z] Login Succeeded [2023-02-15T16:11:17.086Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:11:17.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:17.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:17.086Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:17.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:17.086Z] [2023-02-15T16:11:17.086Z] Login Succeeded [2023-02-15T16:11:17.086Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:11:17.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:17.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:17.345Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:17.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:17.345Z] [2023-02-15T16:11:17.345Z] Login Succeeded [2023-02-15T16:11:17.345Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:11:17.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:17.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:17.345Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:17.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:17.345Z] [2023-02-15T16:11:17.345Z] Login Succeeded [2023-02-15T16:11:17.345Z] docker.io [2023-02-15T16:11:17.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:11:17.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:11:17.864Z] Configure a credential helper to remove this warning. See [2023-02-15T16:11:17.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:11:17.864Z] [2023-02-15T16:11:17.864Z] Login Succeeded [2023-02-15T16:11:17.864Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:11:17.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T16:11:17.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:11:17.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:11:17.943Z] ========================================================= [2023-02-15T16:11:17.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T16:11:17.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:11:18.245Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T16:11:18.245Z] Sending build context to Docker daemon 10.51MB [2023-02-15T16:11:18.245Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:11:18.245Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T16:11:18.245Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T16:11:18.245Z] 213ec9aee27d: Pulling fs layer [2023-02-15T16:11:18.245Z] 4583459ba037: Pulling fs layer [2023-02-15T16:11:18.245Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T16:11:18.245Z] 53926ce57604: Pulling fs layer [2023-02-15T16:11:18.245Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T16:11:18.245Z] 22ff95d597cd: Pulling fs layer [2023-02-15T16:11:18.245Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T16:11:18.245Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T16:11:18.245Z] a7acece74701: Pulling fs layer [2023-02-15T16:11:18.245Z] 53926ce57604: Waiting [2023-02-15T16:11:18.245Z] 21b2b0c7a3f4: Waiting [2023-02-15T16:11:18.245Z] 22ff95d597cd: Waiting [2023-02-15T16:11:18.245Z] 12d6caf4c0d1: Waiting [2023-02-15T16:11:18.245Z] 96b7cbca73a9: Waiting [2023-02-15T16:11:18.245Z] a7acece74701: Waiting [2023-02-15T16:11:18.245Z] 93c1e223e6f2: Download complete [2023-02-15T16:11:18.506Z] 4583459ba037: Verifying Checksum [2023-02-15T16:11:18.506Z] 4583459ba037: Download complete [2023-02-15T16:11:18.506Z] 21b2b0c7a3f4: Download complete [2023-02-15T16:11:18.506Z] 22ff95d597cd: Verifying Checksum [2023-02-15T16:11:18.507Z] 22ff95d597cd: Download complete [2023-02-15T16:11:18.507Z] 213ec9aee27d: Download complete [2023-02-15T16:11:18.507Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T16:11:18.507Z] 12d6caf4c0d1: Download complete [2023-02-15T16:11:18.507Z] 213ec9aee27d: Pull complete [2023-02-15T16:11:18.786Z] 4583459ba037: Pull complete [2023-02-15T16:11:18.786Z] 93c1e223e6f2: Pull complete [2023-02-15T16:11:19.775Z] a7acece74701: Verifying Checksum [2023-02-15T16:11:19.775Z] a7acece74701: Download complete [2023-02-15T16:11:19.775Z] 53926ce57604: Verifying Checksum [2023-02-15T16:11:19.775Z] 53926ce57604: Download complete [2023-02-15T16:11:20.035Z] 96b7cbca73a9: Download complete [2023-02-15T16:11:24.220Z] 53926ce57604: Pull complete [2023-02-15T16:11:24.220Z] 21b2b0c7a3f4: Pull complete [2023-02-15T16:11:24.220Z] 22ff95d597cd: Pull complete [2023-02-15T16:11:24.220Z] 12d6caf4c0d1: Pull complete [2023-02-15T16:11:26.754Z] 96b7cbca73a9: Pull complete [2023-02-15T16:11:27.348Z] a7acece74701: Pull complete [2023-02-15T16:11:27.607Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T16:11:27.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T16:11:27.607Z] ---> db6d94c90886 [2023-02-15T16:11:27.607Z] Step 3/10 : ARG MAKE=make build [2023-02-15T16:11:29.517Z] ---> Running in 4416685bf02c [2023-02-15T16:11:29.517Z] Removing intermediate container 4416685bf02c [2023-02-15T16:11:29.517Z] ---> 2ef7582be89b [2023-02-15T16:11:29.517Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T16:11:29.517Z] ---> Running in 409fb646a1e3 [2023-02-15T16:11:29.517Z] Removing intermediate container 409fb646a1e3 [2023-02-15T16:11:29.517Z] ---> fe907a0d6222 [2023-02-15T16:11:29.517Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:11:29.517Z] ---> Running in 6ecef565c39b [2023-02-15T16:11:29.776Z] Removing intermediate container 6ecef565c39b [2023-02-15T16:11:29.776Z] ---> c5339658af1e [2023-02-15T16:11:29.776Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T16:11:29.776Z] ---> Running in 3e4f836a8b5e [2023-02-15T16:11:30.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:11:30.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:11:30.554Z] OK: 211 MiB in 51 packages [2023-02-15T16:11:30.813Z] Removing intermediate container 3e4f836a8b5e [2023-02-15T16:11:30.813Z] ---> 1c1309aea79c [2023-02-15T16:11:30.813Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T16:11:31.072Z] ---> 71618158adbe [2023-02-15T16:11:31.072Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:11:31.072Z] ---> Running in 6e7097440ff4 [2023-02-15T16:11:31.755Z] Still waiting to schedule task [2023-02-15T16:11:31.756Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T16:11:57.657Z] Removing intermediate container 6e7097440ff4 [2023-02-15T16:11:57.657Z] ---> 228802f05f58 [2023-02-15T16:11:57.657Z] Step 9/10 : COPY . . [2023-02-15T16:11:57.917Z] ---> fedb1db0ae1e [2023-02-15T16:11:57.917Z] Step 10/10 : RUN ${MAKE} [2023-02-15T16:11:57.917Z] ---> Running in 3a6ba53fc2a9 [2023-02-15T16:11:58.176Z] noop [2023-02-15T16:11:58.435Z] Removing intermediate container 3a6ba53fc2a9 [2023-02-15T16:11:58.435Z] ---> 0106ae564d0b [2023-02-15T16:11:58.435Z] Successfully built 0106ae564d0b [2023-02-15T16:11:58.435Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:11:58.758Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:11:58.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:11:58.837Z] prd-ubuntu20.04-docker-8c-8g-6135 does not seem to be running inside a container [2023-02-15T16:11:58.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T16:11:59.257Z] $ docker top 800cde0f504c87758fdaef2bf98af190d5d77f5780f8a77149205f9bb01e79c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:11:59.609Z] + go version [2023-02-15T16:11:59.609Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T16:11:59.623Z] $ docker stop --time=1 800cde0f504c87758fdaef2bf98af190d5d77f5780f8a77149205f9bb01e79c1 [2023-02-15T16:12:00.905Z] $ docker rm -f --volumes 800cde0f504c87758fdaef2bf98af190d5d77f5780f8a77149205f9bb01e79c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:12:01.290Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:12:01.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:12:01.354Z] prd-ubuntu20.04-docker-8c-8g-6135 does not seem to be running inside a container [2023-02-15T16:12:01.384Z] $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T16:12:01.745Z] $ docker top e5836e08d79c2395cf1491273f701855b1887bdfc1710ba1560e4b4152ebaa1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:12:02.085Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] fileExists [Pipeline] sh [2023-02-15T16:12:02.383Z] + make test [2023-02-15T16:12:02.383Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T16:12:08.946Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T16:12:21.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T16:12:21.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 78.9% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.146s coverage: 77.8% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.115s coverage: 77.0% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.762s coverage: 89.2% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T16:12:21.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-15T16:12:21.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T16:12:36.005Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T16:12:36.005Z] GO111MODULE=on go vet ./... [2023-02-15T16:12:39.302Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T16:12:39.302Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T16:12:39.302Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T16:12:39.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T16:12:39.328Z] $ docker stop --time=1 e5836e08d79c2395cf1491273f701855b1887bdfc1710ba1560e4b4152ebaa1e [2023-02-15T16:12:41.669Z] $ docker rm -f --volumes e5836e08d79c2395cf1491273f701855b1887bdfc1710ba1560e4b4152ebaa1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:12:42.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T16:12:42.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T16:12:42.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T16:12:43.035Z] + ls -al . [2023-02-15T16:12:43.035Z] total 272 [2023-02-15T16:12:43.035Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 16:12 . [2023-02-15T16:12:43.035Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:10 .. [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 16:10 .dockerignore [2023-02-15T16:12:43.035Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 16:12 .git [2023-02-15T16:12:43.035Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:10 .github [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 16:10 .gitignore [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 16:10 .golangci.yml [2023-02-15T16:12:43.035Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:11 .semver [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 16:10 CHANGELOG.md [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 16:10 GOVERNANCE.md [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 16:10 Jenkinsfile [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 16:10 LICENSE [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 16:10 Makefile [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 16:10 OWNERS.md [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 16:10 README.md [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:11 VERSION [2023-02-15T16:12:43.035Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:10 bin [2023-02-15T16:12:43.035Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 16:12 coverage.out [2023-02-15T16:12:43.035Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 16:10 example [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 16:10 go.mod [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 16:10 go.sum [2023-02-15T16:12:43.035Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 16:10 internal [2023-02-15T16:12:43.035Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 16:10 openapi [2023-02-15T16:12:43.035Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 16:10 pkg [2023-02-15T16:12:43.035Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:10 snap [2023-02-15T16:12:43.035Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:12:43.353Z] + 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=0b43c1610ee696a8d013eadbc860196eab436b77 --label arch=amd64 --label version=0.0.0 . [2023-02-15T16:12:43.353Z] Sending build context to Docker daemon 10.61MB [2023-02-15T16:12:43.353Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:12:43.353Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T16:12:43.353Z] ---> 0106ae564d0b [2023-02-15T16:12:43.354Z] Step 3/23 : ARG MAKE=make build [2023-02-15T16:12:43.612Z] ---> Running in 1744776058df [2023-02-15T16:12:43.612Z] Removing intermediate container 1744776058df [2023-02-15T16:12:43.612Z] ---> 322f383ef23b [2023-02-15T16:12:43.612Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T16:12:43.612Z] ---> Running in dc6f9158cea0 [2023-02-15T16:12:43.612Z] Removing intermediate container dc6f9158cea0 [2023-02-15T16:12:43.612Z] ---> 8d764f136454 [2023-02-15T16:12:43.612Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:12:43.871Z] ---> Running in eb9c0dd48f2e [2023-02-15T16:12:43.871Z] Removing intermediate container eb9c0dd48f2e [2023-02-15T16:12:43.871Z] ---> 493943727798 [2023-02-15T16:12:43.871Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T16:12:43.871Z] ---> Running in 51c05cccba04 [2023-02-15T16:12:44.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:12:44.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:12:44.647Z] OK: 211 MiB in 51 packages [2023-02-15T16:12:44.905Z] Removing intermediate container 51c05cccba04 [2023-02-15T16:12:44.905Z] ---> 4f1a3afb78fb [2023-02-15T16:12:44.905Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T16:12:45.165Z] ---> 581544f0c11a [2023-02-15T16:12:45.165Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:12:45.165Z] ---> Running in 2e7ff620af98 [2023-02-15T16:12:46.108Z] Removing intermediate container 2e7ff620af98 [2023-02-15T16:12:46.108Z] ---> 426e06405a80 [2023-02-15T16:12:46.108Z] Step 9/23 : COPY . . [2023-02-15T16:12:46.368Z] ---> abdf1c74c97f [2023-02-15T16:12:46.368Z] Step 10/23 : RUN ${MAKE} [2023-02-15T16:12:46.368Z] ---> Running in 827b79542e5b [2023-02-15T16:12:46.627Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-15T16:13:08.553Z] Removing intermediate container 827b79542e5b [2023-02-15T16:13:08.553Z] ---> b55a646a3b92 [2023-02-15T16:13:08.553Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T16:13:08.553Z] 3.16: Pulling from library/alpine [2023-02-15T16:13:08.553Z] ef5531b6e74e: Pulling fs layer [2023-02-15T16:13:08.553Z] ef5531b6e74e: Verifying Checksum [2023-02-15T16:13:08.553Z] ef5531b6e74e: Download complete [2023-02-15T16:13:08.553Z] ef5531b6e74e: Pull complete [2023-02-15T16:13:08.553Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T16:13:08.553Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T16:13:08.553Z] ---> dfd21b5a31f5 [2023-02-15T16:13:08.553Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T16:13:08.553Z] ---> Running in 54526665e0ce [2023-02-15T16:13:08.553Z] Removing intermediate container 54526665e0ce [2023-02-15T16:13:08.553Z] ---> 59f34ed74589 [2023-02-15T16:13:08.553Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T16:13:08.553Z] ---> Running in f6734ec2a936 [2023-02-15T16:13:08.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:13:08.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:13:08.553Z] OK: 6 MiB in 14 packages [2023-02-15T16:13:08.553Z] Removing intermediate container f6734ec2a936 [2023-02-15T16:13:08.553Z] ---> 2884f7f8bd44 [2023-02-15T16:13:08.553Z] Step 14/23 : WORKDIR / [2023-02-15T16:13:08.553Z] ---> Running in 4525373210af [2023-02-15T16:13:08.553Z] Removing intermediate container 4525373210af [2023-02-15T16:13:08.553Z] ---> cbcdaa6d0eae [2023-02-15T16:13:08.553Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T16:13:08.553Z] ---> 33895796e6a6 [2023-02-15T16:13:08.553Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T16:13:08.553Z] ---> 7143fa6e066c [2023-02-15T16:13:08.553Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T16:13:08.553Z] ---> 15ebe37f873e [2023-02-15T16:13:08.553Z] Step 18/23 : EXPOSE 59999 [2023-02-15T16:13:08.553Z] ---> Running in c97ca5d2e027 [2023-02-15T16:13:08.553Z] Removing intermediate container c97ca5d2e027 [2023-02-15T16:13:08.553Z] ---> 2f97e767efdc [2023-02-15T16:13:08.553Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T16:13:08.553Z] ---> Running in 53eac0571c5d [2023-02-15T16:13:08.553Z] Removing intermediate container 53eac0571c5d [2023-02-15T16:13:08.553Z] ---> eeb94292fd4e [2023-02-15T16:13:08.553Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T16:13:08.553Z] ---> Running in 150026e5d44b [2023-02-15T16:13:08.553Z] Removing intermediate container 150026e5d44b [2023-02-15T16:13:08.553Z] ---> 5b74363bcc18 [2023-02-15T16:13:08.553Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T16:13:08.553Z] ---> Running in b829f0de16d5 [2023-02-15T16:13:08.553Z] Removing intermediate container b829f0de16d5 [2023-02-15T16:13:08.553Z] ---> 55b75ec57f83 [2023-02-15T16:13:08.553Z] Step 22/23 : LABEL git_sha=0b43c1610ee696a8d013eadbc860196eab436b77 [2023-02-15T16:13:08.553Z] ---> Running in e98dec6ebf40 [2023-02-15T16:13:08.553Z] Removing intermediate container e98dec6ebf40 [2023-02-15T16:13:08.553Z] ---> e48d63fe4668 [2023-02-15T16:13:08.553Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T16:13:08.553Z] ---> Running in 56aa1f9527a8 [2023-02-15T16:13:08.553Z] Removing intermediate container 56aa1f9527a8 [2023-02-15T16:13:08.553Z] ---> 63b05341e7c3 [2023-02-15T16:13:08.553Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T16:13:08.553Z] Successfully built 63b05341e7c3 [2023-02-15T16:13:08.553Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:13:09.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:13:09.241Z] [2023-02-15T16:13:09.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:13:09.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:13:09.546Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T16:13:09.546Z] 5eb5b503b376: Pulling fs layer [2023-02-15T16:13:09.546Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T16:13:09.546Z] ec43610c2a17: Pulling fs layer [2023-02-15T16:13:09.546Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T16:13:09.546Z] 33b1e0a273af: Pulling fs layer [2023-02-15T16:13:09.546Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T16:13:09.546Z] 2f39f015ded8: Pulling fs layer [2023-02-15T16:13:09.546Z] 33b1e0a273af: Waiting [2023-02-15T16:13:09.546Z] 2f39f015ded8: Waiting [2023-02-15T16:13:09.546Z] 3a2ae6a8a46f: Waiting [2023-02-15T16:13:09.546Z] 5d3b04190fa2: Waiting [2023-02-15T16:13:09.546Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T16:13:09.546Z] 5c69ac0246d0: Download complete [2023-02-15T16:13:09.546Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T16:13:09.546Z] 3a2ae6a8a46f: Download complete [2023-02-15T16:13:09.806Z] 33b1e0a273af: Verifying Checksum [2023-02-15T16:13:09.806Z] 33b1e0a273af: Download complete [2023-02-15T16:13:09.806Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T16:13:09.806Z] 5d3b04190fa2: Download complete [2023-02-15T16:13:09.806Z] ec43610c2a17: Verifying Checksum [2023-02-15T16:13:10.065Z] 5eb5b503b376: Verifying Checksum [2023-02-15T16:13:10.065Z] 5eb5b503b376: Download complete [2023-02-15T16:13:10.631Z] 2f39f015ded8: Download complete [2023-02-15T16:13:11.201Z] 5eb5b503b376: Pull complete [2023-02-15T16:13:11.460Z] 5c69ac0246d0: Pull complete [2023-02-15T16:13:11.720Z] ec43610c2a17: Pull complete [2023-02-15T16:13:11.978Z] 3a2ae6a8a46f: Pull complete [2023-02-15T16:13:12.236Z] 33b1e0a273af: Pull complete [2023-02-15T16:13:12.236Z] 5d3b04190fa2: Pull complete [2023-02-15T16:13:16.442Z] 2f39f015ded8: Pull complete [2023-02-15T16:13:16.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T16:13:16.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:13:16.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:13:16.534Z] prd-ubuntu20.04-docker-8c-8g-6135 does not seem to be running inside a container [2023-02-15T16:13:16.566Z] $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T16:13:18.324Z] $ docker top 4163244d271f1e9b5c3db23e8c8ac69a5645bb03b13091459ec4272ead060ef2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:13:18.697Z] ---> job-cost.sh [2023-02-15T16:13:18.697Z] lf-activate-venv: SKIPPING [2023-02-15T16:13:18.697Z] INFO: No Stack... [2023-02-15T16:13:20.073Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T16:13:20.332Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T16:13:20.621Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/cost.csv [2023-02-15T16:13:20.621Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T16:13:20.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [2023-02-15T16:13:20.642Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] did not exist. Created. [2023-02-15T16:13:20.642Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T16:13:20.940Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T16:13:20.976Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T16:13:20.983Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T16:13:20.999Z] $ docker stop --time=1 4163244d271f1e9b5c3db23e8c8ac69a5645bb03b13091459ec4272ead060ef2 [2023-02-15T16:13:22.168Z] $ docker rm -f --volumes 4163244d271f1e9b5c3db23e8c8ac69a5645bb03b13091459ec4272ead060ef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T16:15:36.486Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6136 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] { [Pipeline] ws [2023-02-15T16:15:36.500Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2023-02-15T16:15:36.540Z] The recommended git tool is: git [2023-02-15T16:15:42.009Z] using credential edgex-jenkins-ssh [2023-02-15T16:15:42.030Z] Cloning the remote Git repository [2023-02-15T16:15:42.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T16:15:42.178Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2023-02-15T16:15:42.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T16:15:42.360Z] > git --version # timeout=10 [2023-02-15T16:15:42.387Z] > git --version # 'git version 2.25.1' [2023-02-15T16:15:42.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T16:15:42.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T16:15:44.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T16:15:44.136Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T16:15:44.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T16:15:45.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T16:15:45.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T16:15:45.050Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T16:15:45.785Z] Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 0b43c1610ee696a8d013eadbc860196eab436b77 [2023-02-15T16:15:46.051Z] Merge succeeded, producing 0b43c1610ee696a8d013eadbc860196eab436b77 [2023-02-15T16:15:46.052Z] Checking out Revision 0b43c1610ee696a8d013eadbc860196eab436b77 (PR-1316) [2023-02-15T16:15:45.804Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T16:15:45.833Z] > git checkout -f 0b43c1610ee696a8d013eadbc860196eab436b77 # timeout=10 [2023-02-15T16:15:45.947Z] > git remote # timeout=10 [2023-02-15T16:15:45.972Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T16:15:45.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T16:15:46.005Z] > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [2023-02-15T16:15:46.033Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T16:15:46.059Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T16:15:46.074Z] > git checkout -f 0b43c1610ee696a8d013eadbc860196eab436b77 # timeout=10 [2023-02-15T16:15:49.651Z] Commit message: "refactor!: Replace internal topics from config with new constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T16:15:50.525Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T16:15:50.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T16:15:50.525Z] Dload Upload Total Spent Left Speed [2023-02-15T16:15:50.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh [2023-02-15T16:15:51.297Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T16:15:51.630Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T16:15:51.630Z] + sudo tee /etc/docker/daemon.new [2023-02-15T16:15:51.630Z] { [2023-02-15T16:15:51.630Z] "registry-mirrors": [ [2023-02-15T16:15:51.630Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T16:15:51.630Z] ], [2023-02-15T16:15:51.630Z] "bip": "10.250.0.254/24", [2023-02-15T16:15:51.630Z] "hosts": [ [2023-02-15T16:15:51.630Z] "tcp://0.0.0.0:5555", [2023-02-15T16:15:51.630Z] "unix:///var/run/docker.sock" [2023-02-15T16:15:51.630Z] ], [2023-02-15T16:15:51.630Z] "mtu": 1458, [2023-02-15T16:15:51.630Z] "selinux-enabled": true, [2023-02-15T16:15:51.630Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T16:15:51.630Z] } [Pipeline] sh [2023-02-15T16:15:51.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T16:15:52.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:16:10.545Z] provisioning config files... [2023-02-15T16:16:10.571Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config3903251730493127154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:16:10.920Z] ---> docker-login.sh [2023-02-15T16:16:10.920Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:16:11.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:16:11.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:16:11.506Z] Configure a credential helper to remove this warning. See [2023-02-15T16:16:11.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:16:11.506Z] [2023-02-15T16:16:11.506Z] Login Succeeded [2023-02-15T16:16:11.774Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:16:11.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:16:12.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:16:12.042Z] Configure a credential helper to remove this warning. See [2023-02-15T16:16:12.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:16:12.042Z] [2023-02-15T16:16:12.042Z] Login Succeeded [2023-02-15T16:16:12.042Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:16:12.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:16:12.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:16:12.310Z] Configure a credential helper to remove this warning. See [2023-02-15T16:16:12.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:16:12.310Z] [2023-02-15T16:16:12.310Z] Login Succeeded [2023-02-15T16:16:12.310Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:16:12.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:16:12.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:16:12.578Z] Configure a credential helper to remove this warning. See [2023-02-15T16:16:12.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:16:12.578Z] [2023-02-15T16:16:12.578Z] Login Succeeded [2023-02-15T16:16:12.578Z] docker.io [2023-02-15T16:16:12.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:16:13.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:16:13.429Z] Configure a credential helper to remove this warning. See [2023-02-15T16:16:13.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:16:13.429Z] [2023-02-15T16:16:13.429Z] Login Succeeded [2023-02-15T16:16:13.429Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:16:13.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T16:16:13.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:16:13.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:16:13.738Z] ========================================================= [2023-02-15T16:16:13.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T16:16:13.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:16:14.083Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T16:16:14.353Z] Sending build context to Docker daemon 5.664MB [2023-02-15T16:16:14.353Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:16:14.353Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T16:16:14.934Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T16:16:14.934Z] 9b18e9b68314: Pulling fs layer [2023-02-15T16:16:14.934Z] 35d82f9e3411: Pulling fs layer [2023-02-15T16:16:14.934Z] e16973657156: Pulling fs layer [2023-02-15T16:16:14.934Z] fc693d55d65f: Pulling fs layer [2023-02-15T16:16:14.934Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T16:16:14.934Z] dda99020689f: Pulling fs layer [2023-02-15T16:16:14.934Z] db1c61fa0a46: Pulling fs layer [2023-02-15T16:16:14.934Z] 891c053d2c06: Pulling fs layer [2023-02-15T16:16:14.934Z] dda99020689f: Waiting [2023-02-15T16:16:14.934Z] db1c61fa0a46: Waiting [2023-02-15T16:16:14.934Z] 891c053d2c06: Waiting [2023-02-15T16:16:14.934Z] fc693d55d65f: Waiting [2023-02-15T16:16:14.934Z] 7e9fc2657dce: Waiting [2023-02-15T16:16:15.202Z] e16973657156: Download complete [2023-02-15T16:16:15.202Z] 35d82f9e3411: Download complete [2023-02-15T16:16:15.202Z] 7e9fc2657dce: Download complete [2023-02-15T16:16:15.468Z] dda99020689f: Verifying Checksum [2023-02-15T16:16:15.469Z] dda99020689f: Download complete [2023-02-15T16:16:16.430Z] 9b18e9b68314: Download complete [2023-02-15T16:16:17.853Z] 891c053d2c06: Verifying Checksum [2023-02-15T16:16:17.853Z] 891c053d2c06: Download complete [2023-02-15T16:16:18.140Z] 9b18e9b68314: Pull complete [2023-02-15T16:16:18.741Z] 35d82f9e3411: Pull complete [2023-02-15T16:16:18.741Z] db1c61fa0a46: Verifying Checksum [2023-02-15T16:16:18.741Z] db1c61fa0a46: Download complete [2023-02-15T16:16:19.009Z] e16973657156: Pull complete [2023-02-15T16:16:19.279Z] fc693d55d65f: Verifying Checksum [2023-02-15T16:16:19.279Z] fc693d55d65f: Download complete [2023-02-15T16:16:31.598Z] fc693d55d65f: Pull complete [2023-02-15T16:16:31.598Z] 7e9fc2657dce: Pull complete [2023-02-15T16:16:31.598Z] dda99020689f: Pull complete [2023-02-15T16:16:36.951Z] db1c61fa0a46: Pull complete [2023-02-15T16:16:38.359Z] 891c053d2c06: Pull complete [2023-02-15T16:16:38.359Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T16:16:38.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T16:16:38.625Z] ---> f96f9c87975a [2023-02-15T16:16:38.625Z] Step 3/10 : ARG MAKE=make build [2023-02-15T16:16:39.210Z] ---> Running in c0c96a2564e4 [2023-02-15T16:16:39.477Z] Removing intermediate container c0c96a2564e4 [2023-02-15T16:16:39.477Z] ---> 64d14e949fa7 [2023-02-15T16:16:39.477Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T16:16:39.744Z] ---> Running in c8d60bef6123 [2023-02-15T16:16:40.012Z] Removing intermediate container c8d60bef6123 [2023-02-15T16:16:40.012Z] ---> 2e1c94ba40fd [2023-02-15T16:16:40.012Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:16:40.012Z] ---> Running in 3a95df83d906 [2023-02-15T16:16:40.279Z] Removing intermediate container 3a95df83d906 [2023-02-15T16:16:40.279Z] ---> 4361a1335678 [2023-02-15T16:16:40.279Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T16:16:40.551Z] ---> Running in e7ae84df6091 [2023-02-15T16:16:41.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T16:16:42.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T16:16:43.060Z] OK: 221 MiB in 51 packages [2023-02-15T16:16:43.644Z] Removing intermediate container e7ae84df6091 [2023-02-15T16:16:43.644Z] ---> a0ec0a430753 [2023-02-15T16:16:43.644Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T16:16:44.231Z] ---> 85dd36926fef [2023-02-15T16:16:44.231Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:16:44.231Z] ---> Running in f279104432df [2023-02-15T16:17:52.093Z] Removing intermediate container f279104432df [2023-02-15T16:17:52.093Z] ---> b54d15171f6e [2023-02-15T16:17:52.093Z] Step 9/10 : COPY . . [2023-02-15T16:17:52.093Z] ---> 27ee7de64074 [2023-02-15T16:17:52.093Z] Step 10/10 : RUN ${MAKE} [2023-02-15T16:17:52.093Z] ---> Running in a2d3b462a0c7 [2023-02-15T16:17:52.093Z] noop [2023-02-15T16:17:52.093Z] Removing intermediate container a2d3b462a0c7 [2023-02-15T16:17:52.093Z] ---> 5d20cce09906 [2023-02-15T16:17:52.093Z] Successfully built 5d20cce09906 [2023-02-15T16:17:52.093Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:17:52.443Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T16:17:52.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:17:52.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-6136 does not seem to be running inside a container [2023-02-15T16:17:52.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T16:17:53.875Z] $ docker top abe82660a1d6862a3fd9e7add4bc1a12d0fc41009650d6253e1f1e4b6b3b830d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:17:54.701Z] + go version [2023-02-15T16:17:54.701Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T16:17:54.725Z] $ docker stop --time=1 abe82660a1d6862a3fd9e7add4bc1a12d0fc41009650d6253e1f1e4b6b3b830d [2023-02-15T16:17:56.379Z] $ docker rm -f --volumes abe82660a1d6862a3fd9e7add4bc1a12d0fc41009650d6253e1f1e4b6b3b830d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:17:56.933Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T16:17:56.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:17:57.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-6136 does not seem to be running inside a container [2023-02-15T16:17:57.203Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T16:17:58.413Z] $ docker top 362fd62cf2c790b66b48431bed4340986ce6ba07cdeba9533e0e2fc49742a2db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:17:58.920Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh [2023-02-15T16:17:59.832Z] + make test [2023-02-15T16:17:59.832Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T16:18:32.059Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T16:20:41.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.257s coverage: 27.6% of statements [2023-02-15T16:20:41.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.323s coverage: 78.9% of statements [2023-02-15T16:20:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T16:20:42.915Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.400s coverage: 77.8% of statements [2023-02-15T16:20:42.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T16:20:42.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T16:20:45.508Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.489s coverage: 77.0% of statements [2023-02-15T16:20:45.508Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T16:20:45.508Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T16:20:45.508Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T16:20:46.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.452s coverage: 65.2% of statements [2023-02-15T16:20:46.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T16:20:46.101Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T16:20:46.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.232s coverage: 89.2% of statements [2023-02-15T16:20:46.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T16:20:46.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 4.7% of statements [2023-02-15T16:20:46.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T16:20:47.655Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T16:20:47.655Z] GO111MODULE=on go vet ./... [2023-02-15T16:22:24.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T16:22:24.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T16:22:24.325Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T16:22:24.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T16:22:24.359Z] $ docker stop --time=1 362fd62cf2c790b66b48431bed4340986ce6ba07cdeba9533e0e2fc49742a2db [2023-02-15T16:22:27.265Z] $ docker rm -f --volumes 362fd62cf2c790b66b48431bed4340986ce6ba07cdeba9533e0e2fc49742a2db [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:22:28.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T16:22:28.627Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T16:22:29.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T16:22:29.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T16:22:29.918Z] + ls -al . [2023-02-15T16:22:29.918Z] total 268 [2023-02-15T16:22:29.918Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 16:18 . [2023-02-15T16:22:29.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:15 .. [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 16:15 .dockerignore [2023-02-15T16:22:29.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 16:15 .git [2023-02-15T16:22:29.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:15 .github [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 16:15 .gitignore [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 16:15 .golangci.yml [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 16:15 CHANGELOG.md [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 16:15 GOVERNANCE.md [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 16:15 Jenkinsfile [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 16:15 LICENSE [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 16:15 Makefile [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 16:15 OWNERS.md [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 16:15 README.md [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:11 VERSION [2023-02-15T16:22:29.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:15 bin [2023-02-15T16:22:29.918Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 16:20 coverage.out [2023-02-15T16:22:29.918Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 16:15 example [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 16:15 go.mod [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 16:15 go.sum [2023-02-15T16:22:29.918Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 16:15 internal [2023-02-15T16:22:29.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 16:15 openapi [2023-02-15T16:22:29.918Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 16:15 pkg [2023-02-15T16:22:29.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:15 snap [2023-02-15T16:22:29.918Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:22:30.262Z] + 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=0b43c1610ee696a8d013eadbc860196eab436b77 --label arch=arm64 --label version=0.0.0 . [2023-02-15T16:22:30.856Z] Sending build context to Docker daemon 5.764MB [2023-02-15T16:22:30.856Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:22:30.856Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T16:22:30.856Z] ---> 5d20cce09906 [2023-02-15T16:22:30.856Z] Step 3/23 : ARG MAKE=make build [2023-02-15T16:22:30.856Z] ---> Running in 557bdccd7742 [2023-02-15T16:22:31.125Z] Removing intermediate container 557bdccd7742 [2023-02-15T16:22:31.125Z] ---> 8d66935ed29e [2023-02-15T16:22:31.125Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T16:22:31.394Z] ---> Running in 78c2a515e856 [2023-02-15T16:22:31.663Z] Removing intermediate container 78c2a515e856 [2023-02-15T16:22:31.663Z] ---> 52d71fa102c4 [2023-02-15T16:22:31.663Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:22:31.663Z] ---> Running in 6491d164d3e3 [2023-02-15T16:22:31.932Z] Removing intermediate container 6491d164d3e3 [2023-02-15T16:22:31.932Z] ---> 78c96aa9cc99 [2023-02-15T16:22:31.932Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T16:22:31.932Z] ---> Running in 9062128899db [2023-02-15T16:22:32.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T16:22:33.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T16:22:34.499Z] OK: 221 MiB in 51 packages [2023-02-15T16:22:35.506Z] Removing intermediate container 9062128899db [2023-02-15T16:22:35.506Z] ---> 73975a61e7bf [2023-02-15T16:22:35.506Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T16:22:35.785Z] ---> 4582d3980a33 [2023-02-15T16:22:35.785Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:22:35.785Z] ---> Running in dc3b49b3d649 [2023-02-15T16:22:38.409Z] Removing intermediate container dc3b49b3d649 [2023-02-15T16:22:38.409Z] ---> a2f292b1cc29 [2023-02-15T16:22:38.409Z] Step 9/23 : COPY . . [2023-02-15T16:22:40.993Z] ---> 15e978d5fba1 [2023-02-15T16:22:40.993Z] Step 10/23 : RUN ${MAKE} [2023-02-15T16:22:40.993Z] ---> Running in 1f73f54b4f80 [2023-02-15T16:22:41.959Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-15T16:24:48.667Z] Removing intermediate container 1f73f54b4f80 [2023-02-15T16:24:48.667Z] ---> 44aaa9e2468d [2023-02-15T16:24:48.667Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T16:24:48.667Z] 3.16: Pulling from library/alpine [2023-02-15T16:24:48.667Z] 3760b48202b3: Pulling fs layer [2023-02-15T16:24:48.667Z] 3760b48202b3: Verifying Checksum [2023-02-15T16:24:48.667Z] 3760b48202b3: Download complete [2023-02-15T16:24:48.667Z] 3760b48202b3: Pull complete [2023-02-15T16:24:48.667Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T16:24:48.667Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T16:24:48.667Z] ---> 4c81e5bf8899 [2023-02-15T16:24:48.667Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T16:24:48.667Z] ---> Running in 9802dbe46032 [2023-02-15T16:24:48.667Z] Removing intermediate container 9802dbe46032 [2023-02-15T16:24:48.667Z] ---> 5db9ec4fa978 [2023-02-15T16:24:48.667Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T16:24:48.667Z] ---> Running in df735bf57a2c [2023-02-15T16:24:48.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T16:24:48.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T16:24:48.667Z] OK: 5 MiB in 14 packages [2023-02-15T16:24:48.667Z] Removing intermediate container df735bf57a2c [2023-02-15T16:24:48.667Z] ---> 51cbf66d67a3 [2023-02-15T16:24:48.667Z] Step 14/23 : WORKDIR / [2023-02-15T16:24:48.667Z] ---> Running in 90f62fe41f56 [2023-02-15T16:24:48.667Z] Removing intermediate container 90f62fe41f56 [2023-02-15T16:24:48.667Z] ---> ded26ff562a3 [2023-02-15T16:24:48.667Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T16:24:48.667Z] ---> 5658b2a8a407 [2023-02-15T16:24:48.667Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T16:24:48.668Z] ---> cc91d0c9c5b8 [2023-02-15T16:24:48.668Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T16:24:49.250Z] ---> 793e642c44e1 [2023-02-15T16:24:49.250Z] Step 18/23 : EXPOSE 59999 [2023-02-15T16:24:49.250Z] ---> Running in f6bc0aa86c93 [2023-02-15T16:24:49.516Z] Removing intermediate container f6bc0aa86c93 [2023-02-15T16:24:49.516Z] ---> 91728d32df5a [2023-02-15T16:24:49.516Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T16:24:49.516Z] ---> Running in 1cffecc74b29 [2023-02-15T16:24:49.782Z] Removing intermediate container 1cffecc74b29 [2023-02-15T16:24:49.782Z] ---> 271bcf0b06da [2023-02-15T16:24:49.782Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T16:24:49.782Z] ---> Running in 3ac66dc06adb [2023-02-15T16:24:50.049Z] Removing intermediate container 3ac66dc06adb [2023-02-15T16:24:50.049Z] ---> 35a2ffe3eaf3 [2023-02-15T16:24:50.049Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T16:24:50.316Z] ---> Running in 973de3868bae [2023-02-15T16:24:50.582Z] Removing intermediate container 973de3868bae [2023-02-15T16:24:50.582Z] ---> 3120795eb71b [2023-02-15T16:24:50.582Z] Step 22/23 : LABEL git_sha=0b43c1610ee696a8d013eadbc860196eab436b77 [2023-02-15T16:24:50.582Z] ---> Running in d4165d69402a [2023-02-15T16:24:50.850Z] Removing intermediate container d4165d69402a [2023-02-15T16:24:50.850Z] ---> bfa8563499b9 [2023-02-15T16:24:50.850Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T16:24:50.850Z] ---> Running in 413348ccd34a [2023-02-15T16:24:51.117Z] Removing intermediate container 413348ccd34a [2023-02-15T16:24:51.117Z] ---> fdb022df30ec [2023-02-15T16:24:51.117Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T16:24:51.383Z] Successfully built fdb022df30ec [2023-02-15T16:24:51.383Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:24:51.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T16:24:51.803Z] [2023-02-15T16:24:51.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:24:52.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T16:24:52.146Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T16:24:52.146Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T16:24:52.146Z] 04944245beec: Pulling fs layer [2023-02-15T16:24:52.146Z] 699f458cf7ca: Pulling fs layer [2023-02-15T16:24:52.146Z] 765212b225bb: Pulling fs layer [2023-02-15T16:24:52.146Z] f23df028b6ca: Pulling fs layer [2023-02-15T16:24:52.146Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T16:24:52.146Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T16:24:52.146Z] f23df028b6ca: Waiting [2023-02-15T16:24:52.146Z] d65c8cfc05b1: Waiting [2023-02-15T16:24:52.146Z] 2437ff75d9bd: Waiting [2023-02-15T16:24:52.146Z] 765212b225bb: Waiting [2023-02-15T16:24:52.416Z] 04944245beec: Verifying Checksum [2023-02-15T16:24:52.416Z] 04944245beec: Download complete [2023-02-15T16:24:52.416Z] 765212b225bb: Verifying Checksum [2023-02-15T16:24:52.416Z] 765212b225bb: Download complete [2023-02-15T16:24:52.416Z] f23df028b6ca: Verifying Checksum [2023-02-15T16:24:52.416Z] f23df028b6ca: Download complete [2023-02-15T16:24:52.416Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T16:24:52.416Z] d65c8cfc05b1: Download complete [2023-02-15T16:24:52.687Z] 699f458cf7ca: Verifying Checksum [2023-02-15T16:24:52.687Z] 699f458cf7ca: Download complete [2023-02-15T16:24:52.954Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T16:24:52.954Z] 8998bd30e6a1: Download complete [2023-02-15T16:24:54.898Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T16:24:54.898Z] 2437ff75d9bd: Download complete [2023-02-15T16:24:56.836Z] 8998bd30e6a1: Pull complete [2023-02-15T16:24:57.103Z] 04944245beec: Pull complete [2023-02-15T16:24:58.074Z] 699f458cf7ca: Pull complete [2023-02-15T16:24:58.339Z] 765212b225bb: Pull complete [2023-02-15T16:24:59.298Z] f23df028b6ca: Pull complete [2023-02-15T16:24:59.299Z] d65c8cfc05b1: Pull complete [2023-02-15T16:25:11.595Z] 2437ff75d9bd: Pull complete [2023-02-15T16:25:11.595Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T16:25:11.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T16:25:11.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:25:11.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-6136 does not seem to be running inside a container [2023-02-15T16:25:11.849Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T16:25:14.386Z] $ docker top 15b775f833766d012274f82ac0c8ac316b3f5dad19e259b51f6ced7f59d28f09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:14.902Z] ---> job-cost.sh [2023-02-15T16:25:15.166Z] lf-activate-venv: SKIPPING [2023-02-15T16:25:15.166Z] INFO: No Stack... [2023-02-15T16:25:15.431Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T16:25:16.387Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T16:25:16.705Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2023-02-15T16:25:16.705Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T16:25:17.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [2023-02-15T16:25:17.037Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] did not exist. Created. [2023-02-15T16:25:17.037Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T16:25:17.368Z] /w/workspace/device-sdk-go/9@tmp/durable-b9bc11bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T16:25:17.695Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T16:25:17.717Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T16:25:17.781Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T16:25:17.790Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T16:25:17.810Z] $ docker stop --time=1 15b775f833766d012274f82ac0c8ac316b3f5dad19e259b51f6ced7f59d28f09 [2023-02-15T16:25:19.306Z] $ docker rm -f --volumes 15b775f833766d012274f82ac0c8ac316b3f5dad19e259b51f6ced7f59d28f09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T16:25:19.743Z] provisioning config files... [2023-02-15T16:25:19.750Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config1986004864184764953tmp [Pipeline] { [Pipeline] sh [2023-02-15T16:25:20.036Z] + set +x [2023-02-15T16:25:20.036Z] + curl -s https://codecov.io/bash [2023-02-15T16:25:20.036Z] + bash -s -- [2023-02-15T16:25:20.036Z] [2023-02-15T16:25:20.036Z] _____ _ [2023-02-15T16:25:20.036Z] / ____| | | [2023-02-15T16:25:20.036Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T16:25:20.036Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T16:25:20.036Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T16:25:20.036Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T16:25:20.036Z] Bash-1.0.6 [2023-02-15T16:25:20.036Z] [2023-02-15T16:25:20.036Z] [2023-02-15T16:25:20.036Z] ==> git version 2.25.1 found [2023-02-15T16:25:20.036Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T16:25:20.036Z] Release-Date: 2020-01-08 [2023-02-15T16:25:20.036Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T16:25:20.036Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T16:25:20.036Z] ==> Jenkins CI detected. [2023-02-15T16:25:20.036Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1316 [2023-02-15T16:25:20.036Z] project root: . [2023-02-15T16:25:20.036Z] --> token set from env [2023-02-15T16:25:20.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T16:25:20.036Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T16:25:20.036Z] ==> Python coveragepy not found [2023-02-15T16:25:20.036Z] ==> Searching for coverage reports in: [2023-02-15T16:25:20.036Z] + . [2023-02-15T16:25:20.036Z] -> Found 1 reports [2023-02-15T16:25:20.036Z] ==> Detecting git/mercurial file structure [2023-02-15T16:25:20.295Z] ==> Reading reports [2023-02-15T16:25:20.295Z] + ./coverage.out bytes=98700 [2023-02-15T16:25:20.295Z] ==> Appending adjustments [2023-02-15T16:25:20.295Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T16:25:20.556Z] + Found adjustments [2023-02-15T16:25:20.556Z] ==> Gzipping contents [2023-02-15T16:25:20.556Z] 16K /tmp/codecov.YaiT82.gz [2023-02-15T16:25:20.556Z] ==> Uploading reports [2023-02-15T16:25:20.556Z] url: https://codecov.io [2023-02-15T16:25:20.556Z] query: branch=PR-1316&commit=0b43c1610ee696a8d013eadbc860196eab436b77&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= [2023-02-15T16:25:20.556Z] -> Pinging Codecov [2023-02-15T16:25:20.556Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1316&commit=0b43c1610ee696a8d013eadbc860196eab436b77&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= [2023-02-15T16:25:20.556Z] -> Uploading to [2023-02-15T16:25:20.556Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/0b43c1610ee696a8d013eadbc860196eab436b77/9d67a617-20f8-43ca-b5e9-25ffb4797c62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T162520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a3fb875dd1a5a2ff83493feddc3a60e197e4e1ac95a76e871370f0dc9d04320 [2023-02-15T16:25:20.556Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T16:25:20.557Z] Dload Upload Total Spent Left Speed [2023-02-15T16:25:20.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14394 0 0 100 14394 0 64837 --:--:-- --:--:-- --:--:-- 64547 100 14394 0 0 100 14394 0 49634 --:--:-- --:--:-- --:--:-- 49463 [2023-02-15T16:25:20.817Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0b43c1610ee696a8d013eadbc860196eab436b77 [Pipeline] } [2023-02-15T16:25:20.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T16:25:21.494Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives ] [2023-02-15T16:25:21.494Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T16:25:21.494Z] total 16 [2023-02-15T16:25:21.494Z] drwxr-xr-x 3 root root 4096 Feb 15 16:13 . [2023-02-15T16:25:21.494Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 16:13 .. [2023-02-15T16:25:21.494Z] drwxr-xr-x 2 root root 4096 Feb 15 16:13 cost [2023-02-15T16:25:21.494Z] -rw-r--r-- 1 root root 86 Feb 15 16:13 cost.csv [2023-02-15T16:25:21.494Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T16:25:21.494Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T16:25:21.494Z] total 16 [2023-02-15T16:25:21.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:13 . [2023-02-15T16:25:21.494Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 16:13 .. [2023-02-15T16:25:21.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 16:13 cost [2023-02-15T16:25:21.494Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:21.796Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:22.662Z] ---> package-listing.sh [2023-02-15T16:25:22.662Z] ++ facter osfamily [2023-02-15T16:25:22.662Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T16:25:22.922Z] + OS_FAMILY=debian [2023-02-15T16:25:22.922Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1316 [2023-02-15T16:25:22.922Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T16:25:22.922Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T16:25:22.922Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T16:25:22.922Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T16:25:22.922Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' [2023-02-15T16:25:22.922Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T16:25:22.922Z] + case "${OS_FAMILY}" in [2023-02-15T16:25:22.922Z] + dpkg -l [2023-02-15T16:25:22.922Z] + grep '^ii' [2023-02-15T16:25:22.922Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T16:25:22.922Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T16:25:22.922Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T16:25:22.922Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' [2023-02-15T16:25:22.922Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [2023-02-15T16:25:22.922Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [Pipeline] echo [2023-02-15T16:25:22.933Z] 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-1316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T16:25:23.223Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:25:23.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:25:23.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:25:23.851Z] prd-ubuntu20.04-docker-8c-8g-6135 does not seem to be running inside a container [2023-02-15T16:25:23.877Z] $ 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-1316/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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T16:25:24.221Z] $ docker top 1161b9e811d4d58270bee2269ae910b3596299eb0e9b5a366f64168182f7e6c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:25:24.560Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T16:25:24.847Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T16:25:25.133Z] + ls /var/log/sa-host [2023-02-15T16:25:25.133Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:25:25.287Z] provisioning config files... [2023-02-15T16:25:25.296Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config11994718039009565804tmp [Pipeline] { [Pipeline] echo [2023-02-15T16:25:25.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:25.590Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T16:25:25.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:25.940Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T16:25:25.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:26.227Z] ---> sudo-logs.sh [2023-02-15T16:25:26.227Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T16:25:26.256Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:26.539Z] ---> job-cost.sh [2023-02-15T16:25:26.539Z] lf-activate-venv: SKIPPING [2023-02-15T16:25:26.539Z] DEBUG: total: 0.2199999988079071 [2023-02-15T16:25:26.539Z] INFO: Retrieving Stack Cost... [2023-02-15T16:25:26.798Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T16:25:27.366Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T16:25:27.377Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:25:27.661Z] ---> logs-deploy.sh [2023-02-15T16:25:27.662Z] lf-activate-venv: SKIPPING [2023-02-15T16:25:27.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1316/9 [2023-02-15T16:25:27.662Z] INFO: archiving workspace using pattern(s): [2023-02-15T16:25:28.598Z] Archives upload complete. [2023-02-15T16:25:28.598Z] INFO: archiving logs to Nexus