Pull request #1329 opened 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at bf4aa2dff0c0a7f4a97997804f6014e11af12954 rather than 7414f7f856fa0ae762c124471c520e272c125f0c Obtained Jenkinsfile from bf4aa2dff0c0a7f4a97997804f6014e11af12954 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-ssh17601165631399774055.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-ssh7884214259772600521.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13508161933328108501.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8983024343620030471.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15484692006830867445.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1329/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1329/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3145173354464927832.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-6436 in /w/workspace/gexfoundry_device-sdk-go_PR-1329 [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-1329 # 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/1329/head:refs/remotes/origin/PR-1329 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 7414f7f856fa0ae762c124471c520e272c125f0c Merge succeeded, producing 7414f7f856fa0ae762c124471c520e272c125f0c Checking out Revision 7414f7f856fa0ae762c124471c520e272c125f0c (PR-1329) > git config core.sparsecheckout # timeout=10 > git checkout -f 7414f7f856fa0ae762c124471c520e272c125f0c # 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 bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7414f7f856fa0ae762c124471c520e272c125f0c # timeout=10 Commit message: "feat!: Remove LastConnected, LastReported and UpdateLastConnected configs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T08:44:20.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T08:44:20.895Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T08:44:21.053Z] ========================================================= [2023-02-17T08:44:21.053Z] EdgeX Global Pipelines Version Info [2023-02-17T08:44:21.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T08:44:21.782Z] ------------------- [2023-02-17T08:44:21.782Z] stable info: [2023-02-17T08:44:21.782Z] ------------------- [2023-02-17T08:44:21.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T08:44:21.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T08:44:21.782Z] Message: update stable to v1.0.244 [2023-02-17T08:44:22.351Z] ------------------- [2023-02-17T08:44:22.351Z] experimental info: [2023-02-17T08:44:22.351Z] ------------------- [2023-02-17T08:44:22.351Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T08:44:22.351Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T08:44:22.351Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T08:44:22.658Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T08:44:22.700Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T08:44:22.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T08:44:22.781Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T08:44:22.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T08:44:22.864Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T08:44:22.905Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T08:44:22.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T08:44:22.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T08:44:23.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T08:44:23.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T08:44:23.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T08:44:23.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T08:44:23.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T08:44:23.214Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T08:44:23.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T08:44:23.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T08:44:23.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T08:44:23.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T08:44:23.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T08:44:23.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T08:44:23.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T08:44:23.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T08:44:23.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T08:44:23.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T08:44:23.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T08:44:23.692Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T08:44:23.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1329 [Pipeline] echo [2023-02-17T08:44:23.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1329 [Pipeline] echo [2023-02-17T08:44:23.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1329 [Pipeline] echo [2023-02-17T08:44:23.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7414f7f856fa0ae762c124471c520e272c125f0c [Pipeline] echo [2023-02-17T08:44:23.902Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7414f7f [Pipeline] echo [2023-02-17T08:44:23.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T08:44:24.056Z] provisioning config files... [2023-02-17T08:44:24.071Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/config6781495230417540183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T08:44:24.417Z] ---> docker-login.sh [2023-02-17T08:44:24.417Z] nexus3.edgexfoundry.org:10001 [2023-02-17T08:44:24.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:24.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:24.938Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:24.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:24.938Z] [2023-02-17T08:44:24.938Z] Login Succeeded [2023-02-17T08:44:24.938Z] nexus3.edgexfoundry.org:10002 [2023-02-17T08:44:24.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:24.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:24.938Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:24.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:24.938Z] [2023-02-17T08:44:24.938Z] Login Succeeded [2023-02-17T08:44:24.938Z] nexus3.edgexfoundry.org:10003 [2023-02-17T08:44:24.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:25.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:25.199Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:25.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:25.199Z] [2023-02-17T08:44:25.199Z] Login Succeeded [2023-02-17T08:44:25.199Z] nexus3.edgexfoundry.org:10004 [2023-02-17T08:44:25.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:25.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:25.199Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:25.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:25.199Z] [2023-02-17T08:44:25.199Z] Login Succeeded [2023-02-17T08:44:25.199Z] docker.io [2023-02-17T08:44:25.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:25.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:25.460Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:25.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:25.460Z] [2023-02-17T08:44:25.460Z] Login Succeeded [2023-02-17T08:44:25.460Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T08:44:25.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T08:44:26.114Z] + git rev-list -1 --merges 7414f7f856fa0ae762c124471c520e272c125f0c~1..7414f7f856fa0ae762c124471c520e272c125f0c [Pipeline] echo [2023-02-17T08:44:26.175Z] -----------> git rev-list -1 --merges 7414f7f856fa0ae762c124471c520e272c125f0c~1..7414f7f856fa0ae762c124471c520e272c125f0c 7414f7f856fa0ae762c124471c520e272c125f0c [false] [Pipeline] sh [2023-02-17T08:44:26.483Z] + git log --format=format:%s -1 7414f7f856fa0ae762c124471c520e272c125f0c [Pipeline] echo [2023-02-17T08:44:26.514Z] ========================================================= [2023-02-17T08:44:26.514Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T08:44:26.514Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T08:44:26.930Z] + git log --format=format:%s -1 7414f7f856fa0ae762c124471c520e272c125f0c [Pipeline] echo [2023-02-17T08:44:26.963Z] [semverPrep] GIT_COMMIT: 7414f7f856fa0ae762c124471c520e272c125f0c, Commit Message: feat!: Remove LastConnected, LastReported and UpdateLastConnected configs [Pipeline] echo [2023-02-17T08:44:26.990Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T08:44:27.395Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T08:44:27.395Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T08:44:27.395Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T08:44:27.395Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T08:44:27.395Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T08:44:27.395Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T08:44:27.395Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:44:27.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T08:44:27.818Z] [2023-02-17T08:44:27.818Z] 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-17T08:44:28.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T08:44:28.203Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T08:44:28.203Z] b85a868b505f: Pulling fs layer [2023-02-17T08:44:28.203Z] e2be974225ed: Pulling fs layer [2023-02-17T08:44:28.203Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T08:44:28.203Z] 988bab9f4d93: Pulling fs layer [2023-02-17T08:44:28.203Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T08:44:28.203Z] eaf3925da568: Pulling fs layer [2023-02-17T08:44:28.203Z] bab4dde63d76: Pulling fs layer [2023-02-17T08:44:28.203Z] bde34c3a00c8: Pulling fs layer [2023-02-17T08:44:28.203Z] b352a97aabf1: Pulling fs layer [2023-02-17T08:44:28.203Z] 4872d77fe225: Pulling fs layer [2023-02-17T08:44:28.203Z] 5851b861e8e6: Pulling fs layer [2023-02-17T08:44:28.203Z] eaf3925da568: Waiting [2023-02-17T08:44:28.203Z] bab4dde63d76: Waiting [2023-02-17T08:44:28.203Z] bde34c3a00c8: Waiting [2023-02-17T08:44:28.203Z] 4872d77fe225: Waiting [2023-02-17T08:44:28.203Z] 5851b861e8e6: Waiting [2023-02-17T08:44:28.203Z] b352a97aabf1: Waiting [2023-02-17T08:44:28.203Z] 988bab9f4d93: Waiting [2023-02-17T08:44:28.203Z] 1469e6f7b9e6: Waiting [2023-02-17T08:44:28.203Z] e2be974225ed: Verifying Checksum [2023-02-17T08:44:28.203Z] e2be974225ed: Download complete [2023-02-17T08:44:28.203Z] 988bab9f4d93: Verifying Checksum [2023-02-17T08:44:28.203Z] 988bab9f4d93: Download complete [2023-02-17T08:44:28.467Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T08:44:28.467Z] 339a4e72a1f5: Download complete [2023-02-17T08:44:28.467Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T08:44:28.467Z] 1469e6f7b9e6: Download complete [2023-02-17T08:44:28.467Z] eaf3925da568: Verifying Checksum [2023-02-17T08:44:28.467Z] eaf3925da568: Download complete [2023-02-17T08:44:28.727Z] bde34c3a00c8: Verifying Checksum [2023-02-17T08:44:28.727Z] bde34c3a00c8: Download complete [2023-02-17T08:44:28.727Z] b352a97aabf1: Verifying Checksum [2023-02-17T08:44:28.727Z] b352a97aabf1: Download complete [2023-02-17T08:44:28.727Z] 4872d77fe225: Download complete [2023-02-17T08:44:28.727Z] b85a868b505f: Verifying Checksum [2023-02-17T08:44:28.727Z] b85a868b505f: Download complete [2023-02-17T08:44:28.727Z] 5851b861e8e6: Verifying Checksum [2023-02-17T08:44:28.727Z] 5851b861e8e6: Download complete [2023-02-17T08:44:28.986Z] bab4dde63d76: Verifying Checksum [2023-02-17T08:44:28.986Z] bab4dde63d76: Download complete [2023-02-17T08:44:30.367Z] b85a868b505f: Pull complete [2023-02-17T08:44:30.367Z] e2be974225ed: Pull complete [2023-02-17T08:44:30.937Z] 339a4e72a1f5: Pull complete [2023-02-17T08:44:30.937Z] 988bab9f4d93: Pull complete [2023-02-17T08:44:31.196Z] 1469e6f7b9e6: Pull complete [2023-02-17T08:44:31.196Z] eaf3925da568: Pull complete [2023-02-17T08:44:33.104Z] bab4dde63d76: Pull complete [2023-02-17T08:44:33.365Z] bde34c3a00c8: Pull complete [2023-02-17T08:44:33.365Z] b352a97aabf1: Pull complete [2023-02-17T08:44:33.626Z] 4872d77fe225: Pull complete [2023-02-17T08:44:33.626Z] 5851b861e8e6: Pull complete [2023-02-17T08:44:33.887Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T08:44:33.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T08:44:33.887Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:44:34.124Z] prd-ubuntu20.04-docker-8c-8g-6436 does not seem to be running inside a container [2023-02-17T08:44:34.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1329 -v /w/workspace/gexfoundry_device-sdk-go_PR-1329:/w/workspace/gexfoundry_device-sdk-go_PR-1329:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1329@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T08:44:36.012Z] $ docker top 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f -eo pid,comm [2023-02-17T08:44:36.080Z] 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-17T08:44:36.080Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T08:44:36.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T08:44:36.219Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T08:44:36.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T08:44:36.354Z] $ docker exec 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f ssh-agent [2023-02-17T08:44:36.470Z] SSH_AUTH_SOCK=/tmp/ssh-erLEKUyvR0fF/agent.32 [2023-02-17T08:44:36.470Z] SSH_AGENT_PID=39 [2023-02-17T08:44:36.478Z] Running ssh-add (command line suppressed) [2023-02-17T08:44:36.590Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/private_key_13375292708190416240.key (/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/private_key_13375292708190416240.key) [2023-02-17T08:44:36.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T08:44:36.943Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T08:44:37.021Z] $ docker exec --env ******** --env ******** 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f ssh-agent -k [2023-02-17T08:44:37.132Z] unset SSH_AUTH_SOCK; [2023-02-17T08:44:37.133Z] unset SSH_AGENT_PID; [2023-02-17T08:44:37.133Z] echo Agent pid 39 killed; [2023-02-17T08:44:37.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T08:44:37.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T08:44:37.235Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T08:44:37.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T08:44:37.370Z] $ docker exec 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f ssh-agent [2023-02-17T08:44:37.493Z] SSH_AUTH_SOCK=/tmp/ssh-Ul0GAXwwYWkF/agent.71 [2023-02-17T08:44:37.493Z] SSH_AGENT_PID=77 [2023-02-17T08:44:37.498Z] Running ssh-add (command line suppressed) [2023-02-17T08:44:37.610Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/private_key_11910984138561293449.key (/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/private_key_11910984138561293449.key) [2023-02-17T08:44:37.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T08:44:37.953Z] + git semver init [2023-02-17T08:44:38.213Z] 2023-02-17 08:44:38,157 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T08:44:38.213Z] 2023-02-17 08:44:38,158 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver [2023-02-17T08:44:38.213Z] 2023-02-17 08:44:38,158 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver [2023-02-17T08:44:38.213Z] 2023-02-17 08:44:38,158 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1329, universal_newlines=False, shell=None, istream=None) [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,177 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329/.git/info/exclude [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,178 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver/PR-1329 with force:False [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,178 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver/PR-1329 [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,182 [execute] INFO git cat-file --batch-check [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,189 [execute] INFO git cat-file --batch [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T08:44:39.596Z] 2023-02-17 08:44:39,197 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1329/.semver/PR-1329 [2023-02-17T08:44:39.596Z] 0.0.0 [Pipeline] } [2023-02-17T08:44:39.625Z] $ docker exec --env ******** --env ******** 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f ssh-agent -k [2023-02-17T08:44:39.741Z] unset SSH_AUTH_SOCK; [2023-02-17T08:44:39.747Z] unset SSH_AGENT_PID; [2023-02-17T08:44:39.747Z] echo Agent pid 77 killed; [2023-02-17T08:44:39.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T08:44:40.182Z] + git semver [Pipeline] } [2023-02-17T08:44:40.471Z] $ docker stop --time=1 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f [2023-02-17T08:44:41.883Z] $ docker rm -f --volumes 2f1eac2002a0f64c4420dffd36518767127996c91efcc6522cf94d56e819854f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T08:44:42.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T08:44:42.578Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T08:44:42.595Z] [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-17T08:44:43.209Z] provisioning config files... [2023-02-17T08:44:43.221Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/config3582170203803301771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T08:44:43.579Z] ---> docker-login.sh [2023-02-17T08:44:43.579Z] nexus3.edgexfoundry.org:10001 [2023-02-17T08:44:43.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:43.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:43.579Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:43.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:43.579Z] [2023-02-17T08:44:43.579Z] Login Succeeded [2023-02-17T08:44:43.579Z] nexus3.edgexfoundry.org:10002 [2023-02-17T08:44:43.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:43.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:43.579Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:43.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:43.579Z] [2023-02-17T08:44:43.579Z] Login Succeeded [2023-02-17T08:44:43.842Z] nexus3.edgexfoundry.org:10003 [2023-02-17T08:44:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:43.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:43.842Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:43.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:43.842Z] [2023-02-17T08:44:43.842Z] Login Succeeded [2023-02-17T08:44:43.842Z] nexus3.edgexfoundry.org:10004 [2023-02-17T08:44:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:43.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:43.842Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:43.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:43.842Z] [2023-02-17T08:44:43.842Z] Login Succeeded [2023-02-17T08:44:43.842Z] docker.io [2023-02-17T08:44:44.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:44:44.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:44:44.363Z] Configure a credential helper to remove this warning. See [2023-02-17T08:44:44.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:44:44.363Z] [2023-02-17T08:44:44.363Z] Login Succeeded [2023-02-17T08:44:44.363Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T08:44:44.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T08:44:44.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T08:44:44.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T08:44:44.693Z] ========================================================= [2023-02-17T08:44:44.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T08:44:44.694Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:44:45.185Z] + 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-17T08:44:45.185Z] Sending build context to Docker daemon 10.56MB [2023-02-17T08:44:45.186Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T08:44:45.186Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T08:44:45.449Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T08:44:45.449Z] 213ec9aee27d: Pulling fs layer [2023-02-17T08:44:45.449Z] 4583459ba037: Pulling fs layer [2023-02-17T08:44:45.449Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T08:44:45.449Z] 53926ce57604: Pulling fs layer [2023-02-17T08:44:45.449Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T08:44:45.449Z] 22ff95d597cd: Pulling fs layer [2023-02-17T08:44:45.449Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T08:44:45.449Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T08:44:45.449Z] a7acece74701: Pulling fs layer [2023-02-17T08:44:45.449Z] 53926ce57604: Waiting [2023-02-17T08:44:45.449Z] 96b7cbca73a9: Waiting [2023-02-17T08:44:45.449Z] a7acece74701: Waiting [2023-02-17T08:44:45.449Z] 21b2b0c7a3f4: Waiting [2023-02-17T08:44:45.449Z] 22ff95d597cd: Waiting [2023-02-17T08:44:45.449Z] 12d6caf4c0d1: Waiting [2023-02-17T08:44:45.449Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T08:44:45.449Z] 93c1e223e6f2: Download complete [2023-02-17T08:44:45.449Z] 4583459ba037: Verifying Checksum [2023-02-17T08:44:45.449Z] 4583459ba037: Download complete [2023-02-17T08:44:45.449Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T08:44:45.449Z] 21b2b0c7a3f4: Download complete [2023-02-17T08:44:45.449Z] 22ff95d597cd: Verifying Checksum [2023-02-17T08:44:45.449Z] 22ff95d597cd: Download complete [2023-02-17T08:44:45.449Z] 213ec9aee27d: Verifying Checksum [2023-02-17T08:44:45.449Z] 213ec9aee27d: Download complete [2023-02-17T08:44:45.449Z] 12d6caf4c0d1: Download complete [2023-02-17T08:44:45.717Z] 213ec9aee27d: Pull complete [2023-02-17T08:44:45.717Z] 4583459ba037: Pull complete [2023-02-17T08:44:46.201Z] 93c1e223e6f2: Pull complete [2023-02-17T08:44:46.201Z] a7acece74701: Verifying Checksum [2023-02-17T08:44:46.201Z] a7acece74701: Download complete [2023-02-17T08:44:46.520Z] 53926ce57604: Verifying Checksum [2023-02-17T08:44:46.520Z] 53926ce57604: Download complete [2023-02-17T08:44:46.780Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T08:44:46.780Z] 96b7cbca73a9: Download complete [2023-02-17T08:44:50.973Z] 53926ce57604: Pull complete [2023-02-17T08:44:50.973Z] 21b2b0c7a3f4: Pull complete [2023-02-17T08:44:50.973Z] 22ff95d597cd: Pull complete [2023-02-17T08:44:50.973Z] 12d6caf4c0d1: Pull complete [2023-02-17T08:44:53.513Z] 96b7cbca73a9: Pull complete [2023-02-17T08:44:54.463Z] a7acece74701: Pull complete [2023-02-17T08:44:54.463Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T08:44:54.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T08:44:54.463Z] ---> db6d94c90886 [2023-02-17T08:44:54.463Z] Step 3/10 : ARG MAKE=make build [2023-02-17T08:44:57.032Z] ---> Running in 7aa2f719450b [2023-02-17T08:44:57.032Z] Removing intermediate container 7aa2f719450b [2023-02-17T08:44:57.032Z] ---> a00f567dfbc7 [2023-02-17T08:44:57.032Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T08:44:57.293Z] ---> Running in 2fd473bdb204 [2023-02-17T08:44:57.552Z] Removing intermediate container 2fd473bdb204 [2023-02-17T08:44:57.552Z] ---> 3345758fdf54 [2023-02-17T08:44:57.552Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T08:44:57.552Z] ---> Running in 889e02517f86 [2023-02-17T08:44:57.812Z] Removing intermediate container 889e02517f86 [2023-02-17T08:44:57.812Z] ---> 9d64ee3c1858 [2023-02-17T08:44:57.812Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T08:44:57.812Z] ---> Running in 9efc1414a84a [2023-02-17T08:44:57.998Z] Still waiting to schedule task [2023-02-17T08:44:57.999Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T08:44:58.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T08:44:58.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T08:44:58.590Z] OK: 211 MiB in 51 packages [2023-02-17T08:44:59.159Z] Removing intermediate container 9efc1414a84a [2023-02-17T08:44:59.159Z] ---> f841eb1bdcdc [2023-02-17T08:44:59.159Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T08:44:59.419Z] ---> 1f06b9947a2f [2023-02-17T08:44:59.419Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T08:44:59.419Z] ---> Running in b711b3d4776d [2023-02-17T08:45:25.992Z] Removing intermediate container b711b3d4776d [2023-02-17T08:45:25.992Z] ---> 54dde5ae70f0 [2023-02-17T08:45:25.992Z] Step 9/10 : COPY . . [2023-02-17T08:45:25.992Z] ---> 4405d6a9518e [2023-02-17T08:45:25.992Z] Step 10/10 : RUN ${MAKE} [2023-02-17T08:45:25.992Z] ---> Running in 9c3adcdd2fb3 [2023-02-17T08:45:25.992Z] noop [2023-02-17T08:45:25.992Z] Removing intermediate container 9c3adcdd2fb3 [2023-02-17T08:45:25.992Z] ---> 3bac8eeb5e0c [2023-02-17T08:45:25.992Z] Successfully built 3bac8eeb5e0c [2023-02-17T08:45:25.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:45:26.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T08:45:26.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:45:26.633Z] prd-ubuntu20.04-docker-8c-8g-6436 does not seem to be running inside a container [2023-02-17T08:45:26.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1329 -v /w/workspace/gexfoundry_device-sdk-go_PR-1329:/w/workspace/gexfoundry_device-sdk-go_PR-1329:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1329@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 ******** ci-base-image-x86_64 cat [2023-02-17T08:45:27.051Z] $ docker top cc713ba4953db9462fc8717eeba136b72e9b75a1f4ff64a6929bc2342a6a5096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T08:45:27.447Z] + go version [2023-02-17T08:45:27.447Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T08:45:27.474Z] $ docker stop --time=1 cc713ba4953db9462fc8717eeba136b72e9b75a1f4ff64a6929bc2342a6a5096 [2023-02-17T08:45:28.787Z] $ docker rm -f --volumes cc713ba4953db9462fc8717eeba136b72e9b75a1f4ff64a6929bc2342a6a5096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:45:29.500Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T08:45:29.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:45:29.662Z] prd-ubuntu20.04-docker-8c-8g-6436 does not seem to be running inside a container [2023-02-17T08:45:29.697Z] $ 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-1329 -v /w/workspace/gexfoundry_device-sdk-go_PR-1329:/w/workspace/gexfoundry_device-sdk-go_PR-1329:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1329@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 ******** ci-base-image-x86_64 cat [2023-02-17T08:45:30.096Z] $ docker top d9c6bef1857652a659e1e5367af64ac9ecb9fb29dbf612e6f7f275796fd4d892 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T08:45:30.499Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1329 [Pipeline] fileExists [Pipeline] sh [2023-02-17T08:45:30.859Z] + make test [2023-02-17T08:45:30.859Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T08:45:37.426Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T08:45:52.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-02-17T08:45:52.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T08:45:52.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.126s coverage: 86.0% of statements [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T08:45:52.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T08:45:52.555Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 77.0% of statements [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T08:45:52.555Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T08:45:52.555Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.781s coverage: 89.2% of statements [2023-02-17T08:45:52.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T08:45:52.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-17T08:45:52.815Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T08:46:10.966Z] 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-17T08:46:10.966Z] GO111MODULE=on go vet ./... [2023-02-17T08:46:13.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T08:46:13.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T08:46:13.498Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T08:46:13.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T08:46:13.572Z] $ docker stop --time=1 d9c6bef1857652a659e1e5367af64ac9ecb9fb29dbf612e6f7f275796fd4d892 [2023-02-17T08:46:15.738Z] $ docker rm -f --volumes d9c6bef1857652a659e1e5367af64ac9ecb9fb29dbf612e6f7f275796fd4d892 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T08:46:16.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T08:46:16.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T08:46:17.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T08:46:17.465Z] + ls -al . [2023-02-17T08:46:17.466Z] total 272 [2023-02-17T08:46:17.466Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 08:45 . [2023-02-17T08:46:17.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 08:44 .. [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 08:44 .dockerignore [2023-02-17T08:46:17.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 08:45 .git [2023-02-17T08:46:17.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 08:44 .github [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 08:44 .gitignore [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 08:44 .golangci.yml [2023-02-17T08:46:17.466Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 08:44 .semver [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 08:44 CHANGELOG.md [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 08:44 GOVERNANCE.md [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 08:44 Jenkinsfile [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 08:44 LICENSE [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 08:44 Makefile [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 08:44 OWNERS.md [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 08:44 README.md [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 08:44 VERSION [2023-02-17T08:46:17.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 08:44 bin [2023-02-17T08:46:17.466Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 17 08:45 coverage.out [2023-02-17T08:46:17.466Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 08:44 example [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 08:44 go.mod [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 08:44 go.sum [2023-02-17T08:46:17.466Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 08:44 internal [2023-02-17T08:46:17.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 08:44 openapi [2023-02-17T08:46:17.466Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 08:44 pkg [2023-02-17T08:46:17.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 08:44 snap [2023-02-17T08:46:17.466Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 08:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:46:17.874Z] + 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=7414f7f856fa0ae762c124471c520e272c125f0c --label arch=amd64 --label version=0.0.0 . [2023-02-17T08:46:17.874Z] Sending build context to Docker daemon 10.66MB [2023-02-17T08:46:17.874Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T08:46:17.874Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T08:46:17.874Z] ---> 3bac8eeb5e0c [2023-02-17T08:46:17.874Z] Step 3/23 : ARG MAKE=make build [2023-02-17T08:46:18.138Z] ---> Running in 5b13fdafa8f9 [2023-02-17T08:46:18.138Z] Removing intermediate container 5b13fdafa8f9 [2023-02-17T08:46:18.138Z] ---> f38f898da93f [2023-02-17T08:46:18.138Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T08:46:18.138Z] ---> Running in 61a7794fb256 [2023-02-17T08:46:18.138Z] Removing intermediate container 61a7794fb256 [2023-02-17T08:46:18.138Z] ---> 8c6151889710 [2023-02-17T08:46:18.138Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T08:46:18.406Z] ---> Running in f72b30b30141 [2023-02-17T08:46:18.406Z] Removing intermediate container f72b30b30141 [2023-02-17T08:46:18.406Z] ---> 722aa242195c [2023-02-17T08:46:18.406Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T08:46:18.406Z] ---> Running in 29ae36733033 [2023-02-17T08:46:18.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T08:46:18.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T08:46:19.183Z] OK: 211 MiB in 51 packages [2023-02-17T08:46:19.443Z] Removing intermediate container 29ae36733033 [2023-02-17T08:46:19.443Z] ---> 6c0b92a7879a [2023-02-17T08:46:19.443Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T08:46:19.705Z] ---> dc149c1db925 [2023-02-17T08:46:19.705Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T08:46:19.705Z] ---> Running in b254584d5488 [2023-02-17T08:46:20.645Z] Removing intermediate container b254584d5488 [2023-02-17T08:46:20.645Z] ---> 84a394c88f9e [2023-02-17T08:46:20.645Z] Step 9/23 : COPY . . [2023-02-17T08:46:21.222Z] ---> 2fd729f963a8 [2023-02-17T08:46:21.222Z] Step 10/23 : RUN ${MAKE} [2023-02-17T08:46:21.222Z] ---> Running in 1995ea8f0274 [2023-02-17T08:46:21.484Z] 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-17T08:46:43.426Z] Removing intermediate container 1995ea8f0274 [2023-02-17T08:46:43.426Z] ---> 051f7c7b7c98 [2023-02-17T08:46:43.426Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T08:46:43.426Z] 3.16: Pulling from library/alpine [2023-02-17T08:46:43.426Z] ef5531b6e74e: Pulling fs layer [2023-02-17T08:46:43.426Z] ef5531b6e74e: Verifying Checksum [2023-02-17T08:46:43.426Z] ef5531b6e74e: Download complete [2023-02-17T08:46:43.426Z] ef5531b6e74e: Pull complete [2023-02-17T08:46:43.426Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T08:46:43.426Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T08:46:43.426Z] ---> dfd21b5a31f5 [2023-02-17T08:46:43.426Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T08:46:43.426Z] ---> Running in 6005d8824cda [2023-02-17T08:46:43.426Z] Removing intermediate container 6005d8824cda [2023-02-17T08:46:43.426Z] ---> 01ff98a6a22f [2023-02-17T08:46:43.426Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T08:46:43.426Z] ---> Running in 4df1d965d10c [2023-02-17T08:46:43.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T08:46:43.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T08:46:43.426Z] OK: 6 MiB in 14 packages [2023-02-17T08:46:43.426Z] Removing intermediate container 4df1d965d10c [2023-02-17T08:46:43.426Z] ---> 52ad7dea3e20 [2023-02-17T08:46:43.426Z] Step 14/23 : WORKDIR / [2023-02-17T08:46:43.426Z] ---> Running in b69abaab7669 [2023-02-17T08:46:43.426Z] Removing intermediate container b69abaab7669 [2023-02-17T08:46:43.426Z] ---> 53e8763e6aa3 [2023-02-17T08:46:43.426Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T08:46:43.426Z] ---> e605380772b0 [2023-02-17T08:46:43.426Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T08:46:43.684Z] ---> acfdb49b42fc [2023-02-17T08:46:43.684Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T08:46:43.943Z] ---> d691bc961e7f [2023-02-17T08:46:43.943Z] Step 18/23 : EXPOSE 59999 [2023-02-17T08:46:43.943Z] ---> Running in ac9cf9f68f5c [2023-02-17T08:46:44.201Z] Removing intermediate container ac9cf9f68f5c [2023-02-17T08:46:44.201Z] ---> 241945e1979d [2023-02-17T08:46:44.201Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T08:46:44.201Z] ---> Running in 0ad29ac14a26 [2023-02-17T08:46:44.201Z] Removing intermediate container 0ad29ac14a26 [2023-02-17T08:46:44.201Z] ---> 34230925f53c [2023-02-17T08:46:44.201Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T08:46:44.201Z] ---> Running in f1de158765f6 [2023-02-17T08:46:44.458Z] Removing intermediate container f1de158765f6 [2023-02-17T08:46:44.458Z] ---> e6c645ddcfa7 [2023-02-17T08:46:44.458Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T08:46:44.458Z] ---> Running in 96b978d80fa0 [2023-02-17T08:46:44.458Z] Removing intermediate container 96b978d80fa0 [2023-02-17T08:46:44.458Z] ---> 12849c6aae71 [2023-02-17T08:46:44.458Z] Step 22/23 : LABEL git_sha=7414f7f856fa0ae762c124471c520e272c125f0c [2023-02-17T08:46:44.458Z] ---> Running in 129cc96b81a4 [2023-02-17T08:46:44.716Z] Removing intermediate container 129cc96b81a4 [2023-02-17T08:46:44.716Z] ---> 82f57f8555d8 [2023-02-17T08:46:44.716Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T08:46:44.716Z] ---> Running in dd719718c5a4 [2023-02-17T08:46:44.716Z] Removing intermediate container dd719718c5a4 [2023-02-17T08:46:44.716Z] ---> 27cb1acb1e33 [2023-02-17T08:46:44.716Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T08:46:44.716Z] Successfully built 27cb1acb1e33 [2023-02-17T08:46:44.716Z] 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-17T08:46:45.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T08:46:45.477Z] [2023-02-17T08:46:45.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:46:45.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T08:46:45.858Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T08:46:45.858Z] 5eb5b503b376: Pulling fs layer [2023-02-17T08:46:45.858Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T08:46:45.858Z] ec43610c2a17: Pulling fs layer [2023-02-17T08:46:45.858Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T08:46:45.858Z] 33b1e0a273af: Pulling fs layer [2023-02-17T08:46:45.858Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T08:46:45.858Z] 2f39f015ded8: Pulling fs layer [2023-02-17T08:46:45.858Z] 33b1e0a273af: Waiting [2023-02-17T08:46:45.858Z] 3a2ae6a8a46f: Waiting [2023-02-17T08:46:45.858Z] 5d3b04190fa2: Waiting [2023-02-17T08:46:45.858Z] 2f39f015ded8: Waiting [2023-02-17T08:46:45.858Z] 5c69ac0246d0: Download complete [2023-02-17T08:46:45.858Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T08:46:45.858Z] 3a2ae6a8a46f: Download complete [2023-02-17T08:46:46.124Z] 33b1e0a273af: Verifying Checksum [2023-02-17T08:46:46.124Z] 33b1e0a273af: Download complete [2023-02-17T08:46:46.124Z] 5d3b04190fa2: Download complete [2023-02-17T08:46:46.124Z] ec43610c2a17: Verifying Checksum [2023-02-17T08:46:46.124Z] ec43610c2a17: Download complete [2023-02-17T08:46:46.124Z] 5eb5b503b376: Verifying Checksum [2023-02-17T08:46:46.124Z] 5eb5b503b376: Download complete [2023-02-17T08:46:47.065Z] 2f39f015ded8: Download complete [2023-02-17T08:46:47.324Z] 5eb5b503b376: Pull complete [2023-02-17T08:46:47.584Z] 5c69ac0246d0: Pull complete [2023-02-17T08:46:47.842Z] ec43610c2a17: Pull complete [2023-02-17T08:46:48.102Z] 3a2ae6a8a46f: Pull complete [2023-02-17T08:46:48.359Z] 33b1e0a273af: Pull complete [2023-02-17T08:46:48.359Z] 5d3b04190fa2: Pull complete [2023-02-17T08:46:52.542Z] 2f39f015ded8: Pull complete [2023-02-17T08:46:52.542Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T08:46:52.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T08:46:52.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:46:52.756Z] prd-ubuntu20.04-docker-8c-8g-6436 does not seem to be running inside a container [2023-02-17T08:46:52.794Z] $ 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-1329 -v /w/workspace/gexfoundry_device-sdk-go_PR-1329:/w/workspace/gexfoundry_device-sdk-go_PR-1329:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T08:46:54.548Z] $ docker top b1010be77b87b925cc02f28c1f11fb1e3a20451bae653283dd6e4c7d56caf3cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T08:46:55.015Z] ---> job-cost.sh [2023-02-17T08:46:55.015Z] lf-activate-venv: SKIPPING [2023-02-17T08:46:55.015Z] INFO: No Stack... [2023-02-17T08:46:55.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T08:46:55.850Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T08:46:56.165Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives/cost.csv [2023-02-17T08:46:56.165Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T08:46:56.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [2023-02-17T08:46:56.209Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] did not exist. Created. [2023-02-17T08:46:56.209Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T08:46:56.618Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T08:46:56.678Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T08:46:56.702Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T08:46:56.785Z] $ docker stop --time=1 b1010be77b87b925cc02f28c1f11fb1e3a20451bae653283dd6e4c7d56caf3cd [2023-02-17T08:46:57.968Z] $ docker rm -f --volumes b1010be77b87b925cc02f28c1f11fb1e3a20451bae653283dd6e4c7d56caf3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T08:49:44.360Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6437 in /w/workspace/gexfoundry_device-sdk-go_PR-1329 [Pipeline] { [Pipeline] ws [2023-02-17T08:49:44.425Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T08:49:44.529Z] The recommended git tool is: git [2023-02-17T08:49:54.219Z] using credential edgex-jenkins-ssh [2023-02-17T08:49:54.253Z] Cloning the remote Git repository [2023-02-17T08:49:54.352Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T08:49:54.469Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-17T08:49:54.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T08:49:54.889Z] > git --version # timeout=10 [2023-02-17T08:49:54.975Z] > git --version # 'git version 2.25.1' [2023-02-17T08:49:54.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T08:49:55.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T08:49:57.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T08:49:57.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T08:49:59.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T08:49:59.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T08:49:59.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T08:49:59.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1329/head:refs/remotes/origin/PR-1329 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T08:50:00.617Z] Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 7414f7f856fa0ae762c124471c520e272c125f0c [2023-02-17T08:50:00.958Z] Merge succeeded, producing 7414f7f856fa0ae762c124471c520e272c125f0c [2023-02-17T08:50:00.959Z] Checking out Revision 7414f7f856fa0ae762c124471c520e272c125f0c (PR-1329) [2023-02-17T08:50:00.645Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T08:50:00.682Z] > git checkout -f 7414f7f856fa0ae762c124471c520e272c125f0c # timeout=10 [2023-02-17T08:50:00.827Z] > git remote # timeout=10 [2023-02-17T08:50:00.850Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T08:50:00.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T08:50:00.896Z] > git merge bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 [2023-02-17T08:50:00.933Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T08:50:00.970Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T08:50:01.000Z] > git checkout -f 7414f7f856fa0ae762c124471c520e272c125f0c # timeout=10 [2023-02-17T08:50:04.933Z] Commit message: "feat!: Remove LastConnected, LastReported and UpdateLastConnected configs" [2023-02-17T08:50:05.021Z] > git --version # timeout=10 [2023-02-17T08:50:05.041Z] > git --version # 'git version 2.25.1' [2023-02-17T08:50:05.062Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T08:50:06.376Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T08:50:06.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T08:50:06.377Z] Dload Upload Total Spent Left Speed [2023-02-17T08:50:06.377Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-02-17T08:50:07.291Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T08:50:07.678Z] + sudo tee /etc/docker/daemon.new [2023-02-17T08:50:07.678Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T08:50:07.678Z] { [2023-02-17T08:50:07.678Z] "registry-mirrors": [ [2023-02-17T08:50:07.678Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T08:50:07.678Z] ], [2023-02-17T08:50:07.678Z] "bip": "10.250.0.254/24", [2023-02-17T08:50:07.678Z] "hosts": [ [2023-02-17T08:50:07.678Z] "tcp://0.0.0.0:5555", [2023-02-17T08:50:07.678Z] "unix:///var/run/docker.sock" [2023-02-17T08:50:07.678Z] ], [2023-02-17T08:50:07.678Z] "mtu": 1458, [2023-02-17T08:50:07.678Z] "selinux-enabled": true, [2023-02-17T08:50:07.679Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T08:50:07.679Z] } [Pipeline] sh [2023-02-17T08:50:08.048Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T08:50:08.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T08:50:26.812Z] provisioning config files... [2023-02-17T08:50:26.845Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16495620310525081793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T08:50:27.244Z] ---> docker-login.sh [2023-02-17T08:50:27.244Z] nexus3.edgexfoundry.org:10001 [2023-02-17T08:50:27.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:50:28.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:50:28.109Z] Configure a credential helper to remove this warning. See [2023-02-17T08:50:28.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:50:28.109Z] [2023-02-17T08:50:28.109Z] Login Succeeded [2023-02-17T08:50:28.109Z] nexus3.edgexfoundry.org:10002 [2023-02-17T08:50:28.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:50:28.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:50:28.381Z] Configure a credential helper to remove this warning. See [2023-02-17T08:50:28.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:50:28.381Z] [2023-02-17T08:50:28.381Z] Login Succeeded [2023-02-17T08:50:28.381Z] nexus3.edgexfoundry.org:10003 [2023-02-17T08:50:28.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:50:28.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:50:28.931Z] Configure a credential helper to remove this warning. See [2023-02-17T08:50:28.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:50:28.931Z] [2023-02-17T08:50:28.931Z] Login Succeeded [2023-02-17T08:50:28.931Z] nexus3.edgexfoundry.org:10004 [2023-02-17T08:50:29.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:50:29.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:50:29.203Z] Configure a credential helper to remove this warning. See [2023-02-17T08:50:29.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:50:29.203Z] [2023-02-17T08:50:29.203Z] Login Succeeded [2023-02-17T08:50:29.203Z] docker.io [2023-02-17T08:50:29.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T08:50:29.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T08:50:29.749Z] Configure a credential helper to remove this warning. See [2023-02-17T08:50:29.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T08:50:29.749Z] [2023-02-17T08:50:29.749Z] Login Succeeded [2023-02-17T08:50:30.021Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T08:50:30.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T08:50:30.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T08:50:30.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T08:50:30.538Z] ========================================================= [2023-02-17T08:50:30.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T08:50:30.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:50:31.042Z] + 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-17T08:50:31.641Z] Sending build context to Docker daemon 5.687MB [2023-02-17T08:50:31.641Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T08:50:31.641Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T08:50:31.641Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T08:50:31.641Z] 9b18e9b68314: Pulling fs layer [2023-02-17T08:50:31.641Z] 35d82f9e3411: Pulling fs layer [2023-02-17T08:50:31.641Z] e16973657156: Pulling fs layer [2023-02-17T08:50:31.641Z] fc693d55d65f: Pulling fs layer [2023-02-17T08:50:31.641Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T08:50:31.641Z] dda99020689f: Pulling fs layer [2023-02-17T08:50:31.641Z] db1c61fa0a46: Pulling fs layer [2023-02-17T08:50:31.641Z] 891c053d2c06: Pulling fs layer [2023-02-17T08:50:31.641Z] dda99020689f: Waiting [2023-02-17T08:50:31.641Z] db1c61fa0a46: Waiting [2023-02-17T08:50:31.641Z] fc693d55d65f: Waiting [2023-02-17T08:50:31.641Z] 7e9fc2657dce: Waiting [2023-02-17T08:50:31.641Z] 891c053d2c06: Waiting [2023-02-17T08:50:31.641Z] e16973657156: Verifying Checksum [2023-02-17T08:50:31.641Z] e16973657156: Download complete [2023-02-17T08:50:31.641Z] 35d82f9e3411: Verifying Checksum [2023-02-17T08:50:31.641Z] 35d82f9e3411: Download complete [2023-02-17T08:50:31.925Z] 7e9fc2657dce: Download complete [2023-02-17T08:50:31.925Z] dda99020689f: Verifying Checksum [2023-02-17T08:50:31.925Z] dda99020689f: Download complete [2023-02-17T08:50:31.925Z] 9b18e9b68314: Verifying Checksum [2023-02-17T08:50:32.918Z] 891c053d2c06: Verifying Checksum [2023-02-17T08:50:32.918Z] 891c053d2c06: Download complete [2023-02-17T08:50:34.369Z] db1c61fa0a46: Verifying Checksum [2023-02-17T08:50:34.369Z] db1c61fa0a46: Download complete [2023-02-17T08:50:34.972Z] fc693d55d65f: Download complete [2023-02-17T08:50:34.972Z] 9b18e9b68314: Pull complete [2023-02-17T08:50:35.564Z] 35d82f9e3411: Pull complete [2023-02-17T08:50:35.836Z] e16973657156: Pull complete [2023-02-17T08:50:48.185Z] fc693d55d65f: Pull complete [2023-02-17T08:50:48.185Z] 7e9fc2657dce: Pull complete [2023-02-17T08:50:48.454Z] dda99020689f: Pull complete [2023-02-17T08:50:53.829Z] db1c61fa0a46: Pull complete [2023-02-17T08:50:55.780Z] 891c053d2c06: Pull complete [2023-02-17T08:50:55.780Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T08:50:55.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T08:50:55.780Z] ---> f96f9c87975a [2023-02-17T08:50:55.780Z] Step 3/10 : ARG MAKE=make build [2023-02-17T08:50:58.381Z] ---> Running in 00432f651ef6 [2023-02-17T08:50:58.381Z] Removing intermediate container 00432f651ef6 [2023-02-17T08:50:58.381Z] ---> f20bf6b73f53 [2023-02-17T08:50:58.381Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T08:50:58.381Z] ---> Running in a100734f5ecf [2023-02-17T08:50:58.652Z] Removing intermediate container a100734f5ecf [2023-02-17T08:50:58.652Z] ---> 736ab62c5faa [2023-02-17T08:50:58.652Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T08:50:58.652Z] ---> Running in e6d391543f78 [2023-02-17T08:50:58.925Z] Removing intermediate container e6d391543f78 [2023-02-17T08:50:58.925Z] ---> 91f1fdb99cff [2023-02-17T08:50:58.925Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T08:50:59.196Z] ---> Running in a943d4ffae63 [2023-02-17T08:51:00.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T08:51:00.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T08:51:01.741Z] OK: 221 MiB in 51 packages [2023-02-17T08:51:02.717Z] Removing intermediate container a943d4ffae63 [2023-02-17T08:51:02.717Z] ---> 1d8373a73fcc [2023-02-17T08:51:02.717Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T08:51:03.312Z] ---> bee05651ef35 [2023-02-17T08:51:03.312Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T08:51:03.312Z] ---> Running in cafa33d8b8d5 [2023-02-17T08:52:11.257Z] Removing intermediate container cafa33d8b8d5 [2023-02-17T08:52:11.257Z] ---> 7780b83f8d0b [2023-02-17T08:52:11.257Z] Step 9/10 : COPY . . [2023-02-17T08:52:11.257Z] ---> e29a633986ec [2023-02-17T08:52:11.257Z] Step 10/10 : RUN ${MAKE} [2023-02-17T08:52:11.257Z] ---> Running in 0c21622f8805 [2023-02-17T08:52:11.847Z] noop [2023-02-17T08:52:12.445Z] Removing intermediate container 0c21622f8805 [2023-02-17T08:52:12.445Z] ---> 3785ae9c58b3 [2023-02-17T08:52:12.717Z] Successfully built 3785ae9c58b3 [2023-02-17T08:52:12.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:52:13.191Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T08:52:13.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:52:13.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-6437 does not seem to be running inside a container [2023-02-17T08:52:13.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-17T08:52:14.826Z] $ docker top 5365b73b9963d71f0507b25aad9355d2f60ee3d7a353f0fde10de86b697b300e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T08:52:15.821Z] + go version [2023-02-17T08:52:15.821Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T08:52:15.861Z] $ docker stop --time=1 5365b73b9963d71f0507b25aad9355d2f60ee3d7a353f0fde10de86b697b300e [2023-02-17T08:52:17.546Z] $ docker rm -f --volumes 5365b73b9963d71f0507b25aad9355d2f60ee3d7a353f0fde10de86b697b300e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:52:18.504Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T08:52:18.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T08:52:18.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-6437 does not seem to be running inside a container [2023-02-17T08:52:18.867Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-17T08:52:20.210Z] $ docker top 9b9b113f473cfe203cf5314bfc215e9c6b820b7382d1c3a1f3481a561980491d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T08:52:21.119Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T08:52:21.831Z] + make test [2023-02-17T08:52:21.832Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T08:53:00.743Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T08:55:07.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T08:55:07.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T08:55:07.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T08:55:07.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T08:55:07.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T08:55:09.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.300s coverage: 27.6% of statements [2023-02-17T08:55:10.839Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.337s coverage: 78.9% of statements [2023-02-17T08:55:10.839Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T08:55:17.522Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.537s coverage: 86.0% of statements [2023-02-17T08:55:17.522Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T08:55:17.522Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T08:55:18.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.747s coverage: 77.0% of statements [2023-02-17T08:55:18.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T08:55:18.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T08:55:18.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T08:55:19.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.495s coverage: 65.2% of statements [2023-02-17T08:55:19.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T08:55:19.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T08:55:20.505Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.494s coverage: 89.2% of statements [2023-02-17T08:55:20.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T08:55:20.505Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.302s coverage: 4.7% of statements [2023-02-17T08:55:20.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T08:55:21.095Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T08:55:21.095Z] GO111MODULE=on go vet ./... [2023-02-17T08:57:12.963Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T08:57:12.963Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T08:57:12.963Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T08:57:13.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T08:57:13.037Z] $ docker stop --time=1 9b9b113f473cfe203cf5314bfc215e9c6b820b7382d1c3a1f3481a561980491d [2023-02-17T08:57:14.953Z] $ docker rm -f --volumes 9b9b113f473cfe203cf5314bfc215e9c6b820b7382d1c3a1f3481a561980491d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T08:57:16.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T08:57:16.579Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T08:57:17.275Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T08:57:17.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T08:57:18.227Z] + ls -al . [2023-02-17T08:57:18.227Z] total 268 [2023-02-17T08:57:18.227Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 08:52 . [2023-02-17T08:57:18.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 08:49 .. [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 08:50 .dockerignore [2023-02-17T08:57:18.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 08:50 .git [2023-02-17T08:57:18.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 08:50 .github [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 08:50 .gitignore [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 08:50 .golangci.yml [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 08:50 CHANGELOG.md [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 08:50 GOVERNANCE.md [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 08:50 Jenkinsfile [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 08:50 LICENSE [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 08:50 Makefile [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 08:50 OWNERS.md [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 08:50 README.md [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 08:44 VERSION [2023-02-17T08:57:18.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 08:50 bin [2023-02-17T08:57:18.227Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 17 08:55 coverage.out [2023-02-17T08:57:18.227Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 08:50 example [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 08:50 go.mod [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 08:50 go.sum [2023-02-17T08:57:18.227Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 08:50 internal [2023-02-17T08:57:18.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 08:50 openapi [2023-02-17T08:57:18.227Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 08:50 pkg [2023-02-17T08:57:18.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 08:50 snap [2023-02-17T08:57:18.227Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 08:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T08:57:18.650Z] + 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=7414f7f856fa0ae762c124471c520e272c125f0c --label arch=arm64 --label version=0.0.0 . [2023-02-17T08:57:19.243Z] Sending build context to Docker daemon 5.786MB [2023-02-17T08:57:19.243Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T08:57:19.243Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T08:57:19.243Z] ---> 3785ae9c58b3 [2023-02-17T08:57:19.243Z] Step 3/23 : ARG MAKE=make build [2023-02-17T08:57:19.243Z] ---> Running in 74fc462735c8 [2023-02-17T08:57:19.521Z] Removing intermediate container 74fc462735c8 [2023-02-17T08:57:19.521Z] ---> e45edd4ec1b3 [2023-02-17T08:57:19.521Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T08:57:19.795Z] ---> Running in ea6e97880559 [2023-02-17T08:57:20.065Z] Removing intermediate container ea6e97880559 [2023-02-17T08:57:20.065Z] ---> 43bc7d7a91ae [2023-02-17T08:57:20.065Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T08:57:20.065Z] ---> Running in 0bb567dcfe05 [2023-02-17T08:57:20.333Z] Removing intermediate container 0bb567dcfe05 [2023-02-17T08:57:20.333Z] ---> ccd4c8d66cba [2023-02-17T08:57:20.334Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T08:57:20.603Z] ---> Running in 158b25a600b6 [2023-02-17T08:57:21.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T08:57:22.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T08:57:23.122Z] OK: 221 MiB in 51 packages [2023-02-17T08:57:24.088Z] Removing intermediate container 158b25a600b6 [2023-02-17T08:57:24.088Z] ---> a4efa6d97672 [2023-02-17T08:57:24.088Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T08:57:24.675Z] ---> 6e1487fcd674 [2023-02-17T08:57:24.675Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T08:57:24.954Z] ---> Running in b2af94e3fb27 [2023-02-17T08:57:27.546Z] Removing intermediate container b2af94e3fb27 [2023-02-17T08:57:27.546Z] ---> ea5645e39476 [2023-02-17T08:57:27.546Z] Step 9/23 : COPY . . [2023-02-17T08:57:28.965Z] ---> 9a0098aa8bb0 [2023-02-17T08:57:28.965Z] Step 10/23 : RUN ${MAKE} [2023-02-17T08:57:29.233Z] ---> Running in 94458532ef7d [2023-02-17T08:57:30.269Z] 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-17T09:00:07.135Z] Removing intermediate container 94458532ef7d [2023-02-17T09:00:07.136Z] ---> e4aee3b2a475 [2023-02-17T09:00:07.136Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T09:00:07.136Z] 3.16: Pulling from library/alpine [2023-02-17T09:00:07.136Z] 3760b48202b3: Pulling fs layer [2023-02-17T09:00:07.136Z] 3760b48202b3: Verifying Checksum [2023-02-17T09:00:07.136Z] 3760b48202b3: Download complete [2023-02-17T09:00:07.136Z] 3760b48202b3: Pull complete [2023-02-17T09:00:07.136Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T09:00:07.136Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T09:00:07.136Z] ---> 4c81e5bf8899 [2023-02-17T09:00:07.136Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T09:00:07.136Z] ---> Running in bc1688e48255 [2023-02-17T09:00:07.136Z] Removing intermediate container bc1688e48255 [2023-02-17T09:00:07.136Z] ---> 1c3640e83ecd [2023-02-17T09:00:07.136Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T09:00:07.136Z] ---> Running in 12ae09552d5c [2023-02-17T09:00:07.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T09:00:07.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T09:00:07.136Z] OK: 5 MiB in 14 packages [2023-02-17T09:00:07.136Z] Removing intermediate container 12ae09552d5c [2023-02-17T09:00:07.136Z] ---> 7accdb3a7d8e [2023-02-17T09:00:07.136Z] Step 14/23 : WORKDIR / [2023-02-17T09:00:07.136Z] ---> Running in ad4889e2c2d8 [2023-02-17T09:00:07.136Z] Removing intermediate container ad4889e2c2d8 [2023-02-17T09:00:07.136Z] ---> b14099090641 [2023-02-17T09:00:07.136Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T09:00:07.136Z] ---> a82569925da8 [2023-02-17T09:00:07.136Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T09:00:07.136Z] ---> 227aa67a67ff [2023-02-17T09:00:07.136Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T09:00:07.136Z] ---> 9aec7f97fb01 [2023-02-17T09:00:07.136Z] Step 18/23 : EXPOSE 59999 [2023-02-17T09:00:07.136Z] ---> Running in 62a0fb626783 [2023-02-17T09:00:07.136Z] Removing intermediate container 62a0fb626783 [2023-02-17T09:00:07.136Z] ---> 4ba7aaf338a0 [2023-02-17T09:00:07.136Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T09:00:07.136Z] ---> Running in 02352fb0525a [2023-02-17T09:00:07.136Z] Removing intermediate container 02352fb0525a [2023-02-17T09:00:07.136Z] ---> 95069784ef0f [2023-02-17T09:00:07.136Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T09:00:07.136Z] ---> Running in ec6536afcf25 [2023-02-17T09:00:07.136Z] Removing intermediate container ec6536afcf25 [2023-02-17T09:00:07.136Z] ---> e6a52e6a4052 [2023-02-17T09:00:07.136Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T09:00:07.136Z] ---> Running in 0abe334edb62 [2023-02-17T09:00:07.136Z] Removing intermediate container 0abe334edb62 [2023-02-17T09:00:07.136Z] ---> 5b578b8742b1 [2023-02-17T09:00:07.136Z] Step 22/23 : LABEL git_sha=7414f7f856fa0ae762c124471c520e272c125f0c [2023-02-17T09:00:07.136Z] ---> Running in dea698e2bc2d [2023-02-17T09:00:07.136Z] Removing intermediate container dea698e2bc2d [2023-02-17T09:00:07.136Z] ---> 79be5a02e507 [2023-02-17T09:00:07.136Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T09:00:07.136Z] ---> Running in 68c070a7cddb [2023-02-17T09:00:07.405Z] Removing intermediate container 68c070a7cddb [2023-02-17T09:00:07.405Z] ---> 2c24c5f81414 [2023-02-17T09:00:07.405Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T09:00:07.405Z] Successfully built 2c24c5f81414 [2023-02-17T09:00:07.405Z] 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-17T09:00:08.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T09:00:08.204Z] [2023-02-17T09:00:08.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T09:00:08.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T09:00:08.608Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T09:00:08.608Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T09:00:08.608Z] 04944245beec: Pulling fs layer [2023-02-17T09:00:08.608Z] 699f458cf7ca: Pulling fs layer [2023-02-17T09:00:08.608Z] 765212b225bb: Pulling fs layer [2023-02-17T09:00:08.608Z] f23df028b6ca: Pulling fs layer [2023-02-17T09:00:08.608Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T09:00:08.608Z] 765212b225bb: Waiting [2023-02-17T09:00:08.608Z] f23df028b6ca: Waiting [2023-02-17T09:00:08.608Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T09:00:08.608Z] d65c8cfc05b1: Waiting [2023-02-17T09:00:08.608Z] 2437ff75d9bd: Waiting [2023-02-17T09:00:08.877Z] 04944245beec: Verifying Checksum [2023-02-17T09:00:08.877Z] 04944245beec: Download complete [2023-02-17T09:00:08.877Z] 765212b225bb: Verifying Checksum [2023-02-17T09:00:08.877Z] 765212b225bb: Download complete [2023-02-17T09:00:08.877Z] f23df028b6ca: Download complete [2023-02-17T09:00:09.148Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T09:00:09.148Z] d65c8cfc05b1: Download complete [2023-02-17T09:00:09.148Z] 699f458cf7ca: Verifying Checksum [2023-02-17T09:00:09.148Z] 699f458cf7ca: Download complete [2023-02-17T09:00:09.419Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T09:00:09.419Z] 8998bd30e6a1: Download complete [2023-02-17T09:00:12.016Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T09:00:12.016Z] 2437ff75d9bd: Download complete [2023-02-17T09:00:13.431Z] 8998bd30e6a1: Pull complete [2023-02-17T09:00:13.700Z] 04944245beec: Pull complete [2023-02-17T09:00:15.109Z] 699f458cf7ca: Pull complete [2023-02-17T09:00:15.379Z] 765212b225bb: Pull complete [2023-02-17T09:00:15.964Z] f23df028b6ca: Pull complete [2023-02-17T09:00:16.232Z] d65c8cfc05b1: Pull complete [2023-02-17T09:00:31.242Z] 2437ff75d9bd: Pull complete [2023-02-17T09:00:31.242Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T09:00:31.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T09:00:31.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T09:00:31.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-6437 does not seem to be running inside a container [2023-02-17T09:00:31.666Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T09:00:34.704Z] $ docker top 60b0791fad6193fc336bbdad9d054e8671791f5125079abc1c7c3b07000abcf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:35.678Z] ---> job-cost.sh [2023-02-17T09:00:35.678Z] lf-activate-venv: SKIPPING [2023-02-17T09:00:35.678Z] INFO: No Stack... [2023-02-17T09:00:35.950Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T09:00:36.918Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T09:00:37.589Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-17T09:00:37.589Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T09:00:37.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [2023-02-17T09:00:37.693Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] did not exist. Created. [2023-02-17T09:00:37.693Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T09:00:38.434Z] /w/workspace/device-sdk-go/1@tmp/durable-e8455e8e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T09:00:39.126Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T09:00:39.162Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T09:00:39.249Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T09:00:39.263Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1329-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T09:00:39.342Z] $ docker stop --time=1 60b0791fad6193fc336bbdad9d054e8671791f5125079abc1c7c3b07000abcf6 [2023-02-17T09:00:42.379Z] $ docker rm -f --volumes 60b0791fad6193fc336bbdad9d054e8671791f5125079abc1c7c3b07000abcf6 [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-17T09:00:43.370Z] provisioning config files... [2023-02-17T09:00:43.379Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/config5594533021042873021tmp [Pipeline] { [Pipeline] sh [2023-02-17T09:00:43.714Z] + set +x [2023-02-17T09:00:43.714Z] + curl -s https://codecov.io/bash [2023-02-17T09:00:43.714Z] + bash -s -- [2023-02-17T09:00:43.714Z] [2023-02-17T09:00:43.714Z] _____ _ [2023-02-17T09:00:43.714Z] / ____| | | [2023-02-17T09:00:43.714Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T09:00:43.714Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T09:00:43.714Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T09:00:43.714Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T09:00:43.714Z] Bash-1.0.6 [2023-02-17T09:00:43.714Z] [2023-02-17T09:00:43.714Z] [2023-02-17T09:00:43.714Z] ==> git version 2.25.1 found [2023-02-17T09:00:43.714Z] ==> 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-17T09:00:43.714Z] Release-Date: 2020-01-08 [2023-02-17T09:00:43.714Z] 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-17T09:00:43.714Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T09:00:43.714Z] ==> Jenkins CI detected. [2023-02-17T09:00:43.714Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1329 [2023-02-17T09:00:43.714Z] project root: . [2023-02-17T09:00:43.714Z] --> token set from env [2023-02-17T09:00:43.714Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T09:00:43.974Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T09:00:43.974Z] ==> Python coveragepy not found [2023-02-17T09:00:43.974Z] ==> Searching for coverage reports in: [2023-02-17T09:00:43.974Z] + . [2023-02-17T09:00:43.974Z] -> Found 1 reports [2023-02-17T09:00:43.974Z] ==> Detecting git/mercurial file structure [2023-02-17T09:00:43.974Z] ==> Reading reports [2023-02-17T09:00:43.974Z] + ./coverage.out bytes=98530 [2023-02-17T09:00:43.974Z] ==> Appending adjustments [2023-02-17T09:00:43.974Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T09:00:44.234Z] + Found adjustments [2023-02-17T09:00:44.234Z] ==> Gzipping contents [2023-02-17T09:00:44.234Z] 16K /tmp/codecov.402jja.gz [2023-02-17T09:00:44.234Z] ==> Uploading reports [2023-02-17T09:00:44.234Z] url: https://codecov.io [2023-02-17T09:00:44.234Z] query: branch=PR-1329&commit=7414f7f856fa0ae762c124471c520e272c125f0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1329&job=&cmd_args= [2023-02-17T09:00:44.234Z] -> Pinging Codecov [2023-02-17T09:00:44.234Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1329&commit=7414f7f856fa0ae762c124471c520e272c125f0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1329&job=&cmd_args= [2023-02-17T09:00:44.492Z] -> Uploading to [2023-02-17T09:00:44.492Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/7414f7f856fa0ae762c124471c520e272c125f0c/9c9c14e4-b5b9-439d-8ab5-98dd5a777d2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T090044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=349805a13341a3308715d1bb35e54ea71193e8605916571f564be7f425cb6957 [2023-02-17T09:00:44.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T09:00:44.492Z] Dload Upload Total Spent Left Speed [2023-02-17T09:00:44.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14343 0 0 100 14343 0 52156 --:--:-- --:--:-- --:--:-- 52156 [2023-02-17T09:00:44.750Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7414f7f856fa0ae762c124471c520e272c125f0c [Pipeline] } [2023-02-17T09:00:44.775Z] 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-17T09:00:46.553Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives ] [2023-02-17T09:00:46.553Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives [2023-02-17T09:00:46.553Z] total 16 [2023-02-17T09:00:46.553Z] drwxr-xr-x 3 root root 4096 Feb 17 08:46 . [2023-02-17T09:00:46.553Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 08:46 .. [2023-02-17T09:00:46.553Z] drwxr-xr-x 2 root root 4096 Feb 17 08:46 cost [2023-02-17T09:00:46.553Z] -rw-r--r-- 1 root root 86 Feb 17 08:46 cost.csv [2023-02-17T09:00:46.553Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives [2023-02-17T09:00:46.553Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives [2023-02-17T09:00:46.553Z] total 16 [2023-02-17T09:00:46.553Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 08:46 . [2023-02-17T09:00:46.553Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 08:46 .. [2023-02-17T09:00:46.553Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 08:46 cost [2023-02-17T09:00:46.553Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 08:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:46.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:47.771Z] ---> package-listing.sh [2023-02-17T09:00:47.771Z] ++ facter osfamily [2023-02-17T09:00:47.771Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T09:00:48.031Z] + OS_FAMILY=debian [2023-02-17T09:00:48.031Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1329 [2023-02-17T09:00:48.031Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T09:00:48.031Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T09:00:48.031Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T09:00:48.031Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T09:00:48.031Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1329 ']' [2023-02-17T09:00:48.031Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T09:00:48.031Z] + case "${OS_FAMILY}" in [2023-02-17T09:00:48.031Z] + dpkg -l [2023-02-17T09:00:48.031Z] + grep '^ii' [2023-02-17T09:00:48.031Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T09:00:48.031Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T09:00:48.031Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T09:00:48.031Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1329 ']' [2023-02-17T09:00:48.031Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives/ [2023-02-17T09:00:48.031Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1329/archives/ [Pipeline] echo [2023-02-17T09:00:48.069Z] 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-1329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T09:00:48.361Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T09:00:48.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T09:00:48.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T09:00:49.127Z] prd-ubuntu20.04-docker-8c-8g-6436 does not seem to be running inside a container [2023-02-17T09:00:49.160Z] $ 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-1329/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-1329 -v /w/workspace/gexfoundry_device-sdk-go_PR-1329:/w/workspace/gexfoundry_device-sdk-go_PR-1329:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1329@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T09:00:49.377Z] $ docker top b26a7999e83126e73687afbe20e8a68bdf8a9493a40c5dd20e33a634d280064d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T09:00:49.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T09:00:50.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T09:00:50.373Z] + ls /var/log/sa-host [2023-02-17T09:00:50.373Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T09:00:50.593Z] provisioning config files... [2023-02-17T09:00:50.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1329@tmp/config16639365384192223626tmp [Pipeline] { [Pipeline] echo [2023-02-17T09:00:50.646Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:50.956Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T09:00:50.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:51.378Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T09:00:51.412Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:51.723Z] ---> sudo-logs.sh [2023-02-17T09:00:51.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T09:00:51.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:52.114Z] ---> job-cost.sh [2023-02-17T09:00:52.114Z] lf-activate-venv: SKIPPING [2023-02-17T09:00:52.114Z] DEBUG: total: 0.2199999988079071 [2023-02-17T09:00:52.114Z] INFO: Retrieving Stack Cost... [2023-02-17T09:00:52.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T09:00:52.942Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T09:00:52.981Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T09:00:53.295Z] ---> logs-deploy.sh [2023-02-17T09:00:53.295Z] lf-activate-venv: SKIPPING [2023-02-17T09:00:53.295Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1329/1 [2023-02-17T09:00:53.295Z] INFO: archiving workspace using pattern(s): [2023-02-17T09:00:54.234Z] Archives upload complete. [2023-02-17T09:00:54.234Z] INFO: archiving logs to Nexus