Pull request #1351 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00de040a6a0738cd00085ee833e45d29aa0d9ce5+5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 (59a7c0839eca46ee2e4bfd433b539819f7738485) 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-ssh6555642247533122271.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-ssh2696228712160884011.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-1351/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-1351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3642479229449611069.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-1351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14772669339764597666.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-ssh18245975040037898445.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-1351/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-1351/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13732021974129376682.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7690 in /w/workspace/gexfoundry_device-sdk-go_PR-1351 [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-1351 # 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/1351/head:refs/remotes/origin/PR-1351 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 00de040a6a0738cd00085ee833e45d29aa0d9ce5 Merge succeeded, producing 00de040a6a0738cd00085ee833e45d29aa0d9ce5 Checking out Revision 00de040a6a0738cd00085ee833e45d29aa0d9ce5 (PR-1351) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v3" 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-28T04:59:24.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 00de040a6a0738cd00085ee833e45d29aa0d9ce5 # 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 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00de040a6a0738cd00085ee833e45d29aa0d9ce5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T04:59:25.147Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T04:59:25.246Z] ========================================================= [2023-02-28T04:59:25.246Z] EdgeX Global Pipelines Version Info [2023-02-28T04:59:25.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T04:59:25.987Z] ------------------- [2023-02-28T04:59:25.987Z] stable info: [2023-02-28T04:59:25.987Z] ------------------- [2023-02-28T04:59:25.987Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T04:59:25.987Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T04:59:25.987Z] Message: update stable to v1.0.244 [2023-02-28T04:59:26.559Z] ------------------- [2023-02-28T04:59:26.559Z] experimental info: [2023-02-28T04:59:26.559Z] ------------------- [2023-02-28T04:59:26.559Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T04:59:26.559Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T04:59:26.559Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T04:59:26.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-28T04:59:26.898Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-28T04:59:26.937Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T04:59:26.980Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T04:59:27.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T04:59:27.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T04:59:27.115Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T04:59:27.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-28T04:59:27.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T04:59:27.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T04:59:27.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T04:59:27.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-28T04:59:27.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T04:59:27.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T04:59:27.468Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T04:59:27.509Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:27.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:27.594Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:27.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T04:59:27.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T04:59:27.708Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-28T04:59:27.745Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-28T04:59:27.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T04:59:27.828Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T04:59:27.868Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T04:59:27.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T04:59:28.031Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T04:59:28.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1351 [Pipeline] echo [2023-02-28T04:59:28.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1351 [Pipeline] echo [2023-02-28T04:59:28.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1351 [Pipeline] echo [2023-02-28T04:59:28.196Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [Pipeline] echo [2023-02-28T04:59:28.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00de040 [Pipeline] echo [2023-02-28T04:59:28.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T04:59:28.423Z] provisioning config files... [2023-02-28T04:59:28.436Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/config1065677190306822840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T04:59:28.791Z] ---> docker-login.sh [2023-02-28T04:59:28.791Z] nexus3.edgexfoundry.org:10001 [2023-02-28T04:59:29.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:29.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:29.051Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:29.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:29.051Z] [2023-02-28T04:59:29.051Z] Login Succeeded [2023-02-28T04:59:29.051Z] nexus3.edgexfoundry.org:10002 [2023-02-28T04:59:29.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:29.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:29.051Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:29.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:29.051Z] [2023-02-28T04:59:29.051Z] Login Succeeded [2023-02-28T04:59:29.051Z] nexus3.edgexfoundry.org:10003 [2023-02-28T04:59:29.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:29.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:29.312Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:29.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:29.312Z] [2023-02-28T04:59:29.312Z] Login Succeeded [2023-02-28T04:59:29.312Z] nexus3.edgexfoundry.org:10004 [2023-02-28T04:59:29.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:29.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:29.312Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:29.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:29.312Z] [2023-02-28T04:59:29.312Z] Login Succeeded [2023-02-28T04:59:29.312Z] docker.io [2023-02-28T04:59:29.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:29.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:29.572Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:29.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:29.572Z] [2023-02-28T04:59:29.572Z] Login Succeeded [2023-02-28T04:59:29.572Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T04:59:29.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T04:59:30.232Z] + git rev-list -1 --merges 00de040a6a0738cd00085ee833e45d29aa0d9ce5~1..00de040a6a0738cd00085ee833e45d29aa0d9ce5 [Pipeline] echo [2023-02-28T04:59:30.297Z] -----------> git rev-list -1 --merges 00de040a6a0738cd00085ee833e45d29aa0d9ce5~1..00de040a6a0738cd00085ee833e45d29aa0d9ce5 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [false] [Pipeline] sh [2023-02-28T04:59:30.610Z] + git log --format=format:%s -1 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [Pipeline] echo [2023-02-28T04:59:30.644Z] ========================================================= [2023-02-28T04:59:30.644Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T04:59:30.644Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T04:59:31.075Z] + git log --format=format:%s -1 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [Pipeline] echo [2023-02-28T04:59:31.108Z] [semverPrep] GIT_COMMIT: 00de040a6a0738cd00085ee833e45d29aa0d9ce5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v3 [Pipeline] echo [2023-02-28T04:59:31.136Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T04:59:31.510Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T04:59:31.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T04:59:31.510Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T04:59:31.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T04:59:31.510Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T04:59:31.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T04:59:31.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T04:59:31.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T04:59:31.939Z] [2023-02-28T04:59:31.939Z] 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-28T04:59:32.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T04:59:32.304Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T04:59:32.304Z] b85a868b505f: Pulling fs layer [2023-02-28T04:59:32.304Z] e2be974225ed: Pulling fs layer [2023-02-28T04:59:32.304Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T04:59:32.304Z] 988bab9f4d93: Pulling fs layer [2023-02-28T04:59:32.304Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T04:59:32.304Z] eaf3925da568: Pulling fs layer [2023-02-28T04:59:32.304Z] bab4dde63d76: Pulling fs layer [2023-02-28T04:59:32.304Z] bde34c3a00c8: Pulling fs layer [2023-02-28T04:59:32.304Z] b352a97aabf1: Pulling fs layer [2023-02-28T04:59:32.304Z] 4872d77fe225: Pulling fs layer [2023-02-28T04:59:32.304Z] 5851b861e8e6: Pulling fs layer [2023-02-28T04:59:32.304Z] b352a97aabf1: Waiting [2023-02-28T04:59:32.304Z] 4872d77fe225: Waiting [2023-02-28T04:59:32.304Z] 1469e6f7b9e6: Waiting [2023-02-28T04:59:32.304Z] 5851b861e8e6: Waiting [2023-02-28T04:59:32.304Z] eaf3925da568: Waiting [2023-02-28T04:59:32.304Z] bde34c3a00c8: Waiting [2023-02-28T04:59:32.304Z] 988bab9f4d93: Waiting [2023-02-28T04:59:32.304Z] bab4dde63d76: Waiting [2023-02-28T04:59:32.304Z] e2be974225ed: Download complete [2023-02-28T04:59:32.304Z] 988bab9f4d93: Verifying Checksum [2023-02-28T04:59:32.304Z] 988bab9f4d93: Download complete [2023-02-28T04:59:32.567Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T04:59:32.567Z] 339a4e72a1f5: Download complete [2023-02-28T04:59:32.567Z] eaf3925da568: Verifying Checksum [2023-02-28T04:59:32.567Z] eaf3925da568: Download complete [2023-02-28T04:59:32.826Z] b85a868b505f: Verifying Checksum [2023-02-28T04:59:32.826Z] b85a868b505f: Download complete [2023-02-28T04:59:32.826Z] bde34c3a00c8: Verifying Checksum [2023-02-28T04:59:32.826Z] bde34c3a00c8: Download complete [2023-02-28T04:59:32.826Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T04:59:32.826Z] 1469e6f7b9e6: Download complete [2023-02-28T04:59:32.826Z] 4872d77fe225: Verifying Checksum [2023-02-28T04:59:32.826Z] 4872d77fe225: Download complete [2023-02-28T04:59:32.826Z] 5851b861e8e6: Verifying Checksum [2023-02-28T04:59:32.826Z] 5851b861e8e6: Download complete [2023-02-28T04:59:32.826Z] b352a97aabf1: Download complete [2023-02-28T04:59:33.084Z] bab4dde63d76: Verifying Checksum [2023-02-28T04:59:33.084Z] bab4dde63d76: Download complete [2023-02-28T04:59:34.026Z] b85a868b505f: Pull complete [2023-02-28T04:59:34.284Z] e2be974225ed: Pull complete [2023-02-28T04:59:34.852Z] 339a4e72a1f5: Pull complete [2023-02-28T04:59:34.852Z] 988bab9f4d93: Pull complete [2023-02-28T04:59:35.111Z] 1469e6f7b9e6: Pull complete [2023-02-28T04:59:35.111Z] eaf3925da568: Pull complete [2023-02-28T04:59:37.014Z] bab4dde63d76: Pull complete [2023-02-28T04:59:37.014Z] bde34c3a00c8: Pull complete [2023-02-28T04:59:37.275Z] b352a97aabf1: Pull complete [2023-02-28T04:59:37.275Z] 4872d77fe225: Pull complete [2023-02-28T04:59:37.275Z] 5851b861e8e6: Pull complete [2023-02-28T04:59:37.275Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T04:59:37.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T04:59:37.275Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T04:59:37.517Z] prd-ubuntu20.04-docker-8c-8g-7690 does not seem to be running inside a container [2023-02-28T04:59:37.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1351 -v /w/workspace/gexfoundry_device-sdk-go_PR-1351:/w/workspace/gexfoundry_device-sdk-go_PR-1351:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1351@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T04:59:38.993Z] $ docker top 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b -eo pid,comm [2023-02-28T04:59:39.056Z] 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-28T04:59:39.056Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T04:59:39.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T04:59:39.193Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T04:59:39.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T04:59:39.321Z] $ docker exec 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b ssh-agent [2023-02-28T04:59:39.429Z] SSH_AUTH_SOCK=/tmp/ssh-PAJYOJvtJgNz/agent.33 [2023-02-28T04:59:39.429Z] SSH_AGENT_PID=39 [2023-02-28T04:59:39.436Z] Running ssh-add (command line suppressed) [2023-02-28T04:59:39.548Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/private_key_18185605917822483905.key (/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/private_key_18185605917822483905.key) [2023-02-28T04:59:39.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T04:59:39.887Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T04:59:39.913Z] $ docker exec --env ******** --env ******** 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b ssh-agent -k [2023-02-28T04:59:40.021Z] unset SSH_AUTH_SOCK; [2023-02-28T04:59:40.021Z] unset SSH_AGENT_PID; [2023-02-28T04:59:40.021Z] echo Agent pid 39 killed; [2023-02-28T04:59:40.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T04:59:40.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T04:59:40.118Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T04:59:40.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T04:59:40.257Z] $ docker exec 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b ssh-agent [2023-02-28T04:59:40.367Z] SSH_AUTH_SOCK=/tmp/ssh-SWFDps8suhoz/agent.71 [2023-02-28T04:59:40.367Z] SSH_AGENT_PID=77 [2023-02-28T04:59:40.372Z] Running ssh-add (command line suppressed) [2023-02-28T04:59:40.476Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/private_key_3874774627334492953.key (/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/private_key_3874774627334492953.key) [2023-02-28T04:59:40.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T04:59:40.825Z] + git semver init [2023-02-28T04:59:41.085Z] 2023-02-28 04:59:41,022 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T04:59:41.085Z] 2023-02-28 04:59:41,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver [2023-02-28T04:59:41.085Z] 2023-02-28 04:59:41,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver [2023-02-28T04:59:41.085Z] 2023-02-28 04:59:41,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1351, universal_newlines=False, shell=None, istream=None) [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,987 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351/.git/info/exclude [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,988 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver/PR-1351 with force:False [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,988 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver/PR-1351 [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,992 [execute] INFO git cat-file --batch-check [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,993 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,998 [execute] INFO git cat-file --batch [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:41,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T04:59:42.025Z] 2023-02-28 04:59:42,004 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1351/.semver/PR-1351 [2023-02-28T04:59:42.025Z] 0.0.0 [Pipeline] } [2023-02-28T04:59:42.057Z] $ docker exec --env ******** --env ******** 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b ssh-agent -k [2023-02-28T04:59:42.176Z] unset SSH_AUTH_SOCK; [2023-02-28T04:59:42.177Z] unset SSH_AGENT_PID; [2023-02-28T04:59:42.177Z] echo Agent pid 77 killed; [2023-02-28T04:59:42.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T04:59:42.624Z] + git semver [Pipeline] } [2023-02-28T04:59:42.908Z] $ docker stop --time=1 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b [2023-02-28T04:59:44.241Z] $ docker rm -f --volumes 0eade481a25d463338a7005994048c9f5ce9b69a96c8eec0f73bb91fd3f9940b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T04:59:44.659Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T04:59:44.933Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T04:59:44.950Z] [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-28T04:59:45.544Z] provisioning config files... [2023-02-28T04:59:45.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/config14644694903679387178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T04:59:45.894Z] ---> docker-login.sh [2023-02-28T04:59:45.894Z] nexus3.edgexfoundry.org:10001 [2023-02-28T04:59:45.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:45.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:45.894Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:45.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:45.894Z] [2023-02-28T04:59:45.894Z] Login Succeeded [2023-02-28T04:59:45.894Z] nexus3.edgexfoundry.org:10002 [2023-02-28T04:59:45.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:45.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:45.894Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:45.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:45.894Z] [2023-02-28T04:59:45.894Z] Login Succeeded [2023-02-28T04:59:45.894Z] nexus3.edgexfoundry.org:10003 [2023-02-28T04:59:46.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:46.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:46.154Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:46.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:46.154Z] [2023-02-28T04:59:46.154Z] Login Succeeded [2023-02-28T04:59:46.154Z] nexus3.edgexfoundry.org:10004 [2023-02-28T04:59:46.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:46.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:46.154Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:46.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:46.154Z] [2023-02-28T04:59:46.154Z] Login Succeeded [2023-02-28T04:59:46.154Z] docker.io [2023-02-28T04:59:46.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:46.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:46.413Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:46.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:46.413Z] [2023-02-28T04:59:46.413Z] Login Succeeded [2023-02-28T04:59:46.413Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T04:59:46.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T04:59:46.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T04:59:46.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T04:59:46.713Z] ========================================================= [2023-02-28T04:59:46.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T04:59:46.713Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T04:59:47.188Z] + 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-28T04:59:47.188Z] Sending build context to Docker daemon 10.58MB [2023-02-28T04:59:47.188Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T04:59:47.188Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T04:59:47.188Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T04:59:47.188Z] 213ec9aee27d: Pulling fs layer [2023-02-28T04:59:47.188Z] 4583459ba037: Pulling fs layer [2023-02-28T04:59:47.188Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T04:59:47.188Z] 53926ce57604: Pulling fs layer [2023-02-28T04:59:47.188Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T04:59:47.188Z] 22ff95d597cd: Pulling fs layer [2023-02-28T04:59:47.188Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T04:59:47.188Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T04:59:47.188Z] a7acece74701: Pulling fs layer [2023-02-28T04:59:47.188Z] 53926ce57604: Waiting [2023-02-28T04:59:47.188Z] 21b2b0c7a3f4: Waiting [2023-02-28T04:59:47.188Z] 22ff95d597cd: Waiting [2023-02-28T04:59:47.188Z] 12d6caf4c0d1: Waiting [2023-02-28T04:59:47.188Z] a7acece74701: Waiting [2023-02-28T04:59:47.188Z] 96b7cbca73a9: Waiting [2023-02-28T04:59:47.188Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T04:59:47.188Z] 93c1e223e6f2: Download complete [2023-02-28T04:59:47.459Z] 4583459ba037: Download complete [2023-02-28T04:59:47.459Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T04:59:47.459Z] 21b2b0c7a3f4: Download complete [2023-02-28T04:59:47.459Z] 22ff95d597cd: Verifying Checksum [2023-02-28T04:59:47.459Z] 22ff95d597cd: Download complete [2023-02-28T04:59:47.459Z] 213ec9aee27d: Verifying Checksum [2023-02-28T04:59:47.459Z] 213ec9aee27d: Download complete [2023-02-28T04:59:47.459Z] 12d6caf4c0d1: Download complete [2023-02-28T04:59:47.727Z] 213ec9aee27d: Pull complete [2023-02-28T04:59:47.727Z] 4583459ba037: Pull complete [2023-02-28T04:59:47.727Z] 93c1e223e6f2: Pull complete [2023-02-28T04:59:47.989Z] a7acece74701: Verifying Checksum [2023-02-28T04:59:47.989Z] a7acece74701: Download complete [2023-02-28T04:59:48.250Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T04:59:48.250Z] 96b7cbca73a9: Download complete [2023-02-28T04:59:48.250Z] 53926ce57604: Verifying Checksum [2023-02-28T04:59:48.250Z] 53926ce57604: Download complete [2023-02-28T04:59:52.457Z] 53926ce57604: Pull complete [2023-02-28T04:59:52.457Z] 21b2b0c7a3f4: Pull complete [2023-02-28T04:59:52.457Z] 22ff95d597cd: Pull complete [2023-02-28T04:59:52.457Z] 12d6caf4c0d1: Pull complete [2023-02-28T04:59:54.357Z] 96b7cbca73a9: Pull complete [2023-02-28T04:59:54.922Z] a7acece74701: Pull complete [2023-02-28T04:59:54.922Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T04:59:54.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T04:59:54.922Z] ---> db6d94c90886 [2023-02-28T04:59:54.922Z] Step 3/10 : ARG MAKE=make build [2023-02-28T04:59:56.833Z] ---> Running in 9b40415d6a1a [2023-02-28T04:59:56.833Z] Removing intermediate container 9b40415d6a1a [2023-02-28T04:59:56.833Z] ---> b5ba61a97f48 [2023-02-28T04:59:56.833Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T04:59:56.833Z] ---> Running in cbd1d2b827f4 [2023-02-28T04:59:57.097Z] Removing intermediate container cbd1d2b827f4 [2023-02-28T04:59:57.097Z] ---> 70e7750d32f9 [2023-02-28T04:59:57.097Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T04:59:57.097Z] ---> Running in 27f5ea9ed8fa [2023-02-28T04:59:57.097Z] Removing intermediate container 27f5ea9ed8fa [2023-02-28T04:59:57.097Z] ---> 157a01d4f674 [2023-02-28T04:59:57.097Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T04:59:57.358Z] ---> Running in 3b507fa8b1a6 [2023-02-28T04:59:57.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T04:59:57.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T04:59:58.187Z] OK: 211 MiB in 51 packages [2023-02-28T04:59:58.448Z] Removing intermediate container 3b507fa8b1a6 [2023-02-28T04:59:58.448Z] ---> ab307de35a9e [2023-02-28T04:59:58.448Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T04:59:58.448Z] ---> e256624cd937 [2023-02-28T04:59:58.448Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T04:59:58.707Z] ---> Running in 3f02c9dbe7d9 [2023-02-28T05:00:00.361Z] Still waiting to schedule task [2023-02-28T05:00:00.361Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-28T05:00:45.387Z] Removing intermediate container 3f02c9dbe7d9 [2023-02-28T05:00:45.387Z] ---> 6c9baf8252a1 [2023-02-28T05:00:45.387Z] Step 9/10 : COPY . . [2023-02-28T05:00:45.387Z] ---> f6df73193798 [2023-02-28T05:00:45.387Z] Step 10/10 : RUN ${MAKE} [2023-02-28T05:00:45.387Z] ---> Running in dac46a88de67 [2023-02-28T05:00:45.387Z] noop [2023-02-28T05:00:45.388Z] Removing intermediate container dac46a88de67 [2023-02-28T05:00:45.388Z] ---> 176eb2ed140d [2023-02-28T05:00:45.388Z] Successfully built 176eb2ed140d [2023-02-28T05:00:45.388Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:45.839Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T05:00:45.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:00:45.973Z] prd-ubuntu20.04-docker-8c-8g-7690 does not seem to be running inside a container [2023-02-28T05:00:46.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1351 -v /w/workspace/gexfoundry_device-sdk-go_PR-1351:/w/workspace/gexfoundry_device-sdk-go_PR-1351:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1351@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 ******** ci-base-image-x86_64 cat [2023-02-28T05:00:46.394Z] $ docker top 67d6cd45e1a57ea847c181013a60d5a7872ac0e679a91069b4e0682e54a79d39 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:00:46.788Z] + go version [2023-02-28T05:00:46.788Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T05:00:46.825Z] $ docker stop --time=1 67d6cd45e1a57ea847c181013a60d5a7872ac0e679a91069b4e0682e54a79d39 [2023-02-28T05:00:48.106Z] $ docker rm -f --volumes 67d6cd45e1a57ea847c181013a60d5a7872ac0e679a91069b4e0682e54a79d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:48.847Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T05:00:48.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:00:49.003Z] prd-ubuntu20.04-docker-8c-8g-7690 does not seem to be running inside a container [2023-02-28T05:00:49.039Z] $ 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-1351 -v /w/workspace/gexfoundry_device-sdk-go_PR-1351:/w/workspace/gexfoundry_device-sdk-go_PR-1351:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1351@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 ******** ci-base-image-x86_64 cat [2023-02-28T05:00:49.422Z] $ docker top 5fe37e4c7368168872cb9fe2b16578d72d1e7ae04adc9f24956ff823d9962772 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:00:49.801Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1351 [Pipeline] fileExists [Pipeline] sh [2023-02-28T05:00:50.153Z] + make test [2023-02-28T05:00:50.153Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T05:00:56.712Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T05:01:11.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-02-28T05:01:11.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.073s coverage: 78.9% of statements [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T05:01:11.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.103s coverage: 86.0% of statements [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T05:01:11.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 74.7% of statements [2023-02-28T05:01:11.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T05:01:13.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.090s coverage: 15.5% of statements [2023-02-28T05:01:13.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T05:01:13.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.110s coverage: 65.2% of statements [2023-02-28T05:01:13.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T05:01:13.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T05:01:13.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.759s coverage: 89.2% of statements [2023-02-28T05:01:13.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T05:01:13.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-02-28T05:01:13.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T05:01:28.444Z] 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-28T05:01:28.444Z] GO111MODULE=on go vet ./... [2023-02-28T05:01:31.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T05:01:31.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T05:01:31.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T05:01:31.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T05:01:31.840Z] $ docker stop --time=1 5fe37e4c7368168872cb9fe2b16578d72d1e7ae04adc9f24956ff823d9962772 [2023-02-28T05:01:33.992Z] $ docker rm -f --volumes 5fe37e4c7368168872cb9fe2b16578d72d1e7ae04adc9f24956ff823d9962772 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T05:01:34.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T05:01:34.656Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T05:01:35.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T05:01:35.651Z] + ls -al . [2023-02-28T05:01:35.651Z] total 280 [2023-02-28T05:01:35.651Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 05:00 . [2023-02-28T05:01:35.651Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 04:59 .. [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 04:59 .dockerignore [2023-02-28T05:01:35.651Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 05:01 .git [2023-02-28T05:01:35.651Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 04:59 .github [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 04:59 .gitignore [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 04:59 .golangci.yml [2023-02-28T05:01:35.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 04:59 .semver [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 04:59 CHANGELOG.md [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 04:59 GOVERNANCE.md [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 04:59 Jenkinsfile [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 04:59 LICENSE [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 04:59 Makefile [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 04:59 OWNERS.md [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 04:59 README.md [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 04:59 VERSION [2023-02-28T05:01:35.651Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 04:59 bin [2023-02-28T05:01:35.651Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 05:01 coverage.out [2023-02-28T05:01:35.651Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 04:59 example [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 04:59 go.mod [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 04:59 go.sum [2023-02-28T05:01:35.651Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 04:59 internal [2023-02-28T05:01:35.651Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 04:59 openapi [2023-02-28T05:01:35.651Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 04:59 pkg [2023-02-28T05:01:35.651Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 04:59 snap [2023-02-28T05:01:35.651Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:01:36.046Z] + 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=00de040a6a0738cd00085ee833e45d29aa0d9ce5 --label arch=amd64 --label version=0.0.0 . [2023-02-28T05:01:36.046Z] Sending build context to Docker daemon 10.69MB [2023-02-28T05:01:36.046Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:01:36.046Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T05:01:36.046Z] ---> 176eb2ed140d [2023-02-28T05:01:36.046Z] Step 3/23 : ARG MAKE=make build [2023-02-28T05:01:36.316Z] ---> Running in 60cc1ed9c702 [2023-02-28T05:01:36.316Z] Removing intermediate container 60cc1ed9c702 [2023-02-28T05:01:36.316Z] ---> e74ed5ba4147 [2023-02-28T05:01:36.316Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T05:01:36.316Z] ---> Running in f7abcb40df26 [2023-02-28T05:01:36.316Z] Removing intermediate container f7abcb40df26 [2023-02-28T05:01:36.316Z] ---> 067770b2d300 [2023-02-28T05:01:36.316Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:01:36.575Z] ---> Running in c8fef19668ef [2023-02-28T05:01:36.575Z] Removing intermediate container c8fef19668ef [2023-02-28T05:01:36.575Z] ---> c55ee8b8e50e [2023-02-28T05:01:36.575Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T05:01:36.575Z] ---> Running in e86e58a76272 [2023-02-28T05:01:36.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:37.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:37.350Z] OK: 211 MiB in 51 packages [2023-02-28T05:01:37.611Z] Removing intermediate container e86e58a76272 [2023-02-28T05:01:37.611Z] ---> 7465601ff873 [2023-02-28T05:01:37.611Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T05:01:37.870Z] ---> d40bc11a1c8b [2023-02-28T05:01:37.870Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:01:37.870Z] ---> Running in e6899f26789c [2023-02-28T05:01:38.809Z] Removing intermediate container e6899f26789c [2023-02-28T05:01:38.809Z] ---> 172f0e0e89b6 [2023-02-28T05:01:38.809Z] Step 9/23 : COPY . . [2023-02-28T05:01:39.377Z] ---> b5c3b05288c9 [2023-02-28T05:01:39.377Z] Step 10/23 : RUN ${MAKE} [2023-02-28T05:01:39.377Z] ---> Running in 55ece34d2ffc [2023-02-28T05:01:39.636Z] 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-28T05:01:57.710Z] Removing intermediate container 55ece34d2ffc [2023-02-28T05:01:57.710Z] ---> e6d448be50b8 [2023-02-28T05:01:57.710Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T05:01:57.710Z] 3.16: Pulling from library/alpine [2023-02-28T05:01:57.982Z] ef5531b6e74e: Pulling fs layer [2023-02-28T05:01:57.982Z] ef5531b6e74e: Download complete [2023-02-28T05:01:58.241Z] ef5531b6e74e: Pull complete [2023-02-28T05:01:58.241Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T05:01:58.241Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T05:01:58.241Z] ---> dfd21b5a31f5 [2023-02-28T05:01:58.241Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T05:01:58.241Z] ---> Running in 48639f2be0f2 [2023-02-28T05:01:58.241Z] Removing intermediate container 48639f2be0f2 [2023-02-28T05:01:58.241Z] ---> 2a5c1f5c705e [2023-02-28T05:01:58.241Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T05:01:58.241Z] ---> Running in 8df9f270dc6c [2023-02-28T05:01:58.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:58.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:59.020Z] OK: 6 MiB in 14 packages [2023-02-28T05:01:59.278Z] Removing intermediate container 8df9f270dc6c [2023-02-28T05:01:59.278Z] ---> 5e1b6d2ea42c [2023-02-28T05:01:59.278Z] Step 14/23 : WORKDIR / [2023-02-28T05:01:59.278Z] ---> Running in b1c4f0ee1528 [2023-02-28T05:01:59.537Z] Removing intermediate container b1c4f0ee1528 [2023-02-28T05:01:59.537Z] ---> 220c47a6556f [2023-02-28T05:01:59.537Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T05:01:59.537Z] ---> 38ec298cfb2a [2023-02-28T05:01:59.537Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T05:02:00.102Z] ---> d475eb8dbb7a [2023-02-28T05:02:00.102Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T05:02:00.359Z] ---> 981e2eb0ed7c [2023-02-28T05:02:00.359Z] Step 18/23 : EXPOSE 59999 [2023-02-28T05:02:00.359Z] ---> Running in 0476f88e8def [2023-02-28T05:02:00.359Z] Removing intermediate container 0476f88e8def [2023-02-28T05:02:00.359Z] ---> 30867ff792df [2023-02-28T05:02:00.359Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T05:02:00.359Z] ---> Running in b7199c33cbf7 [2023-02-28T05:02:00.617Z] Removing intermediate container b7199c33cbf7 [2023-02-28T05:02:00.617Z] ---> 2d60032e6999 [2023-02-28T05:02:00.617Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T05:02:00.617Z] ---> Running in bd49ab0021fd [2023-02-28T05:02:00.617Z] Removing intermediate container bd49ab0021fd [2023-02-28T05:02:00.617Z] ---> b15c92a1d4b2 [2023-02-28T05:02:00.617Z] Step 21/23 : LABEL arch=amd64 [2023-02-28T05:02:00.617Z] ---> Running in c7383b367a6b [2023-02-28T05:02:00.876Z] Removing intermediate container c7383b367a6b [2023-02-28T05:02:00.876Z] ---> c0948cb1d4a7 [2023-02-28T05:02:00.876Z] Step 22/23 : LABEL git_sha=00de040a6a0738cd00085ee833e45d29aa0d9ce5 [2023-02-28T05:02:00.876Z] ---> Running in f0a37fcc5fe3 [2023-02-28T05:02:00.876Z] Removing intermediate container f0a37fcc5fe3 [2023-02-28T05:02:00.876Z] ---> dbf55f307641 [2023-02-28T05:02:00.876Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T05:02:01.134Z] ---> Running in b4883495147c [2023-02-28T05:02:01.134Z] Removing intermediate container b4883495147c [2023-02-28T05:02:01.134Z] ---> 635bfbe50631 [2023-02-28T05:02:01.134Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T05:02:01.134Z] Successfully built 635bfbe50631 [2023-02-28T05:02:01.134Z] 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-28T05:02:01.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:01.918Z] [2023-02-28T05:02:01.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:02:02.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:02.289Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T05:02:02.290Z] 5eb5b503b376: Pulling fs layer [2023-02-28T05:02:02.290Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T05:02:02.290Z] ec43610c2a17: Pulling fs layer [2023-02-28T05:02:02.290Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T05:02:02.290Z] 33b1e0a273af: Pulling fs layer [2023-02-28T05:02:02.290Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T05:02:02.290Z] 2f39f015ded8: Pulling fs layer [2023-02-28T05:02:02.290Z] 3a2ae6a8a46f: Waiting [2023-02-28T05:02:02.290Z] 5d3b04190fa2: Waiting [2023-02-28T05:02:02.290Z] 33b1e0a273af: Waiting [2023-02-28T05:02:02.290Z] 2f39f015ded8: Waiting [2023-02-28T05:02:02.290Z] 5c69ac0246d0: Download complete [2023-02-28T05:02:02.290Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T05:02:02.290Z] 3a2ae6a8a46f: Download complete [2023-02-28T05:02:02.547Z] 33b1e0a273af: Verifying Checksum [2023-02-28T05:02:02.547Z] 33b1e0a273af: Download complete [2023-02-28T05:02:02.547Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T05:02:02.547Z] 5d3b04190fa2: Download complete [2023-02-28T05:02:02.547Z] ec43610c2a17: Verifying Checksum [2023-02-28T05:02:02.547Z] ec43610c2a17: Download complete [2023-02-28T05:02:02.547Z] 5eb5b503b376: Verifying Checksum [2023-02-28T05:02:02.547Z] 5eb5b503b376: Download complete [2023-02-28T05:02:03.117Z] 2f39f015ded8: Download complete [2023-02-28T05:02:03.682Z] 5eb5b503b376: Pull complete [2023-02-28T05:02:03.939Z] 5c69ac0246d0: Pull complete [2023-02-28T05:02:04.197Z] ec43610c2a17: Pull complete [2023-02-28T05:02:04.197Z] 3a2ae6a8a46f: Pull complete [2023-02-28T05:02:04.453Z] 33b1e0a273af: Pull complete [2023-02-28T05:02:04.453Z] 5d3b04190fa2: Pull complete [2023-02-28T05:02:05.812Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7694 in /w/workspace/gexfoundry_device-sdk-go_PR-1351 [Pipeline] { [Pipeline] ws [2023-02-28T05:02:05.876Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-28T05:02:05.949Z] The recommended git tool is: git [2023-02-28T05:02:08.630Z] 2f39f015ded8: Pull complete [2023-02-28T05:02:08.631Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T05:02:08.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:08.631Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:02:08.853Z] prd-ubuntu20.04-docker-8c-8g-7690 does not seem to be running inside a container [2023-02-28T05:02:08.888Z] $ 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-1351 -v /w/workspace/gexfoundry_device-sdk-go_PR-1351:/w/workspace/gexfoundry_device-sdk-go_PR-1351:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T05:02:10.640Z] $ docker top d9f9df47fa753e8b6a56ed2e36e9a0faffcd2136a640160789885c7554fed0a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:02:11.067Z] ---> job-cost.sh [2023-02-28T05:02:11.067Z] lf-activate-venv: SKIPPING [2023-02-28T05:02:11.067Z] INFO: No Stack... [2023-02-28T05:02:11.325Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T05:02:11.584Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T05:02:11.739Z] using credential edgex-jenkins-ssh [2023-02-28T05:02:11.754Z] Cloning the remote Git repository [2023-02-28T05:02:11.910Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives/cost.csv [2023-02-28T05:02:11.910Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T05:02:11.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [2023-02-28T05:02:11.954Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] did not exist. Created. [2023-02-28T05:02:11.954Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T05:02:11.797Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:02:11.895Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-28T05:02:12.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:02:12.088Z] > git --version # timeout=10 [2023-02-28T05:02:12.110Z] > git --version # 'git version 2.25.1' [2023-02-28T05:02:12.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:02:12.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T05:02:12.390Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T05:02:12.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T05:02:12.500Z] $ docker stop --time=1 d9f9df47fa753e8b6a56ed2e36e9a0faffcd2136a640160789885c7554fed0a4 [2023-02-28T05:02:12.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T05:02:13.663Z] $ docker rm -f --volumes d9f9df47fa753e8b6a56ed2e36e9a0faffcd2136a640160789885c7554fed0a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T05:02:13.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T05:02:13.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T05:02:15.523Z] Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [2023-02-28T05:02:15.791Z] Merge succeeded, producing 00de040a6a0738cd00085ee833e45d29aa0d9ce5 [2023-02-28T05:02:15.791Z] Checking out Revision 00de040a6a0738cd00085ee833e45d29aa0d9ce5 (PR-1351) [2023-02-28T05:02:14.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T05:02:14.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:02:14.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:02:14.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1351/head:refs/remotes/origin/PR-1351 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T05:02:15.539Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T05:02:15.565Z] > git checkout -f 00de040a6a0738cd00085ee833e45d29aa0d9ce5 # timeout=10 [2023-02-28T05:02:15.683Z] > git remote # timeout=10 [2023-02-28T05:02:15.700Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T05:02:15.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:02:15.735Z] > git merge 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 [2023-02-28T05:02:15.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T05:02:15.796Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T05:02:15.816Z] > git checkout -f 00de040a6a0738cd00085ee833e45d29aa0d9ce5 # timeout=10 [2023-02-28T05:02:16.370Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v3" [2023-02-28T05:02:16.435Z] > git --version # timeout=10 [2023-02-28T05:02:16.449Z] > git --version # 'git version 2.25.1' [2023-02-28T05:02:16.465Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T05:02:17.584Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T05:02:17.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T05:02:17.584Z] Dload Upload Total Spent Left Speed [2023-02-28T05:02:17.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-02-28T05:02:18.236Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T05:02:18.585Z] + sudo tee /etc/docker/daemon.new [2023-02-28T05:02:18.585Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T05:02:18.585Z] { [2023-02-28T05:02:18.585Z] "registry-mirrors": [ [2023-02-28T05:02:18.585Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T05:02:18.585Z] ], [2023-02-28T05:02:18.585Z] "bip": "10.250.0.254/24", [2023-02-28T05:02:18.585Z] "hosts": [ [2023-02-28T05:02:18.585Z] "tcp://0.0.0.0:5555", [2023-02-28T05:02:18.585Z] "unix:///var/run/docker.sock" [2023-02-28T05:02:18.585Z] ], [2023-02-28T05:02:18.585Z] "mtu": 1458, [2023-02-28T05:02:18.585Z] "selinux-enabled": true, [2023-02-28T05:02:18.585Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T05:02:18.585Z] } [Pipeline] sh [2023-02-28T05:02:18.934Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T05:02:19.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T05:02:37.618Z] provisioning config files... [2023-02-28T05:02:37.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14442428404276454232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:02:38.057Z] ---> docker-login.sh [2023-02-28T05:02:38.057Z] nexus3.edgexfoundry.org:10001 [2023-02-28T05:02:38.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:02:38.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:02:38.654Z] Configure a credential helper to remove this warning. See [2023-02-28T05:02:38.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:02:38.654Z] [2023-02-28T05:02:38.654Z] Login Succeeded [2023-02-28T05:02:38.654Z] nexus3.edgexfoundry.org:10002 [2023-02-28T05:02:38.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:02:39.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:02:39.198Z] Configure a credential helper to remove this warning. See [2023-02-28T05:02:39.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:02:39.198Z] [2023-02-28T05:02:39.198Z] Login Succeeded [2023-02-28T05:02:39.198Z] nexus3.edgexfoundry.org:10003 [2023-02-28T05:02:39.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:02:39.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:02:39.470Z] Configure a credential helper to remove this warning. See [2023-02-28T05:02:39.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:02:39.470Z] [2023-02-28T05:02:39.470Z] Login Succeeded [2023-02-28T05:02:39.470Z] nexus3.edgexfoundry.org:10004 [2023-02-28T05:02:39.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:02:40.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:02:40.024Z] Configure a credential helper to remove this warning. See [2023-02-28T05:02:40.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:02:40.024Z] [2023-02-28T05:02:40.024Z] Login Succeeded [2023-02-28T05:02:40.024Z] docker.io [2023-02-28T05:02:40.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:02:40.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:02:40.563Z] Configure a credential helper to remove this warning. See [2023-02-28T05:02:40.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:02:40.563Z] [2023-02-28T05:02:40.563Z] Login Succeeded [2023-02-28T05:02:40.563Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T05:02:40.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T05:02:41.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:02:41.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:02:41.103Z] ========================================================= [2023-02-28T05:02:41.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T05:02:41.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:02:41.615Z] + 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-28T05:02:42.238Z] Sending build context to Docker daemon 5.676MB [2023-02-28T05:02:42.238Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:02:42.238Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T05:02:42.238Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T05:02:42.238Z] 9b18e9b68314: Pulling fs layer [2023-02-28T05:02:42.238Z] 35d82f9e3411: Pulling fs layer [2023-02-28T05:02:42.238Z] e16973657156: Pulling fs layer [2023-02-28T05:02:42.238Z] fc693d55d65f: Pulling fs layer [2023-02-28T05:02:42.238Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T05:02:42.238Z] dda99020689f: Pulling fs layer [2023-02-28T05:02:42.238Z] db1c61fa0a46: Pulling fs layer [2023-02-28T05:02:42.238Z] 891c053d2c06: Pulling fs layer [2023-02-28T05:02:42.238Z] dda99020689f: Waiting [2023-02-28T05:02:42.238Z] db1c61fa0a46: Waiting [2023-02-28T05:02:42.238Z] 891c053d2c06: Waiting [2023-02-28T05:02:42.238Z] 7e9fc2657dce: Waiting [2023-02-28T05:02:42.238Z] fc693d55d65f: Waiting [2023-02-28T05:02:42.238Z] e16973657156: Verifying Checksum [2023-02-28T05:02:42.238Z] e16973657156: Download complete [2023-02-28T05:02:42.238Z] 35d82f9e3411: Verifying Checksum [2023-02-28T05:02:42.238Z] 35d82f9e3411: Download complete [2023-02-28T05:02:42.238Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T05:02:42.238Z] 7e9fc2657dce: Download complete [2023-02-28T05:02:42.514Z] dda99020689f: Verifying Checksum [2023-02-28T05:02:42.514Z] dda99020689f: Download complete [2023-02-28T05:02:42.514Z] 9b18e9b68314: Verifying Checksum [2023-02-28T05:02:42.514Z] 9b18e9b68314: Download complete [2023-02-28T05:02:43.494Z] 9b18e9b68314: Pull complete [2023-02-28T05:02:43.494Z] 891c053d2c06: Verifying Checksum [2023-02-28T05:02:43.494Z] 891c053d2c06: Download complete [2023-02-28T05:02:43.766Z] 35d82f9e3411: Pull complete [2023-02-28T05:02:44.424Z] e16973657156: Pull complete [2023-02-28T05:02:44.692Z] db1c61fa0a46: Verifying Checksum [2023-02-28T05:02:44.692Z] db1c61fa0a46: Download complete [2023-02-28T05:02:45.288Z] fc693d55d65f: Verifying Checksum [2023-02-28T05:02:45.288Z] fc693d55d65f: Download complete [2023-02-28T05:02:57.723Z] fc693d55d65f: Pull complete [2023-02-28T05:02:57.723Z] 7e9fc2657dce: Pull complete [2023-02-28T05:02:57.723Z] dda99020689f: Pull complete [2023-02-28T05:03:03.104Z] db1c61fa0a46: Pull complete [2023-02-28T05:03:04.536Z] 891c053d2c06: Pull complete [2023-02-28T05:03:04.536Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T05:03:04.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T05:03:04.536Z] ---> f96f9c87975a [2023-02-28T05:03:04.536Z] Step 3/10 : ARG MAKE=make build [2023-02-28T05:03:06.492Z] ---> Running in 707ae0d62f7c [2023-02-28T05:03:06.771Z] Removing intermediate container 707ae0d62f7c [2023-02-28T05:03:06.771Z] ---> 843f7b485db3 [2023-02-28T05:03:06.771Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T05:03:07.045Z] ---> Running in 1c6f0d093559 [2023-02-28T05:03:07.314Z] Removing intermediate container 1c6f0d093559 [2023-02-28T05:03:07.314Z] ---> a3ea9fb22ace [2023-02-28T05:03:07.314Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:03:07.314Z] ---> Running in c4434a7ecada [2023-02-28T05:03:07.906Z] Removing intermediate container c4434a7ecada [2023-02-28T05:03:07.906Z] ---> b1771470435d [2023-02-28T05:03:07.906Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T05:03:07.906Z] ---> Running in ddbbc3a86ba0 [2023-02-28T05:03:08.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:03:09.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:03:10.427Z] OK: 221 MiB in 51 packages [2023-02-28T05:03:11.852Z] Removing intermediate container ddbbc3a86ba0 [2023-02-28T05:03:11.852Z] ---> 1c3680d41095 [2023-02-28T05:03:11.852Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T05:03:12.443Z] ---> df23291cd1d1 [2023-02-28T05:03:12.444Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:03:12.444Z] ---> Running in dcae0a8fb58d [2023-02-28T05:04:20.378Z] Removing intermediate container dcae0a8fb58d [2023-02-28T05:04:20.378Z] ---> abf4f2464829 [2023-02-28T05:04:20.378Z] Step 9/10 : COPY . . [2023-02-28T05:04:20.378Z] ---> e542e042c38a [2023-02-28T05:04:20.378Z] Step 10/10 : RUN ${MAKE} [2023-02-28T05:04:20.378Z] ---> Running in 85036e17c902 [2023-02-28T05:04:20.379Z] noop [2023-02-28T05:04:20.379Z] Removing intermediate container 85036e17c902 [2023-02-28T05:04:20.379Z] ---> f684eaf08f17 [2023-02-28T05:04:20.379Z] Successfully built f684eaf08f17 [2023-02-28T05:04:20.379Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:04:20.867Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T05:04:20.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:04:21.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-7694 does not seem to be running inside a container [2023-02-28T05:04:21.248Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-28T05:04:22.614Z] $ docker top c55c78707582f4f3aa1a907eec86685c20e23c3fff667f7e80b16d925bc9d59f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:04:23.507Z] + go version [2023-02-28T05:04:23.507Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T05:04:23.567Z] $ docker stop --time=1 c55c78707582f4f3aa1a907eec86685c20e23c3fff667f7e80b16d925bc9d59f [2023-02-28T05:04:25.191Z] $ docker rm -f --volumes c55c78707582f4f3aa1a907eec86685c20e23c3fff667f7e80b16d925bc9d59f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:04:26.030Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T05:04:26.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:04:26.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-7694 does not seem to be running inside a container [2023-02-28T05:04:26.374Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-28T05:04:27.504Z] $ docker top 6c784c02e536c9213161acfab203beb3d2da6c7458214685dda159e2541266af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:04:28.047Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-28T05:04:28.426Z] + make test [2023-02-28T05:04:28.426Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T05:05:07.325Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T05:07:14.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T05:07:14.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T05:07:14.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T05:07:14.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T05:07:14.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T05:07:16.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.295s coverage: 27.6% of statements [2023-02-28T05:07:18.602Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.601s coverage: 78.9% of statements [2023-02-28T05:07:18.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T05:07:26.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.938s coverage: 86.0% of statements [2023-02-28T05:07:26.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T05:07:26.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T05:07:32.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.881s coverage: 74.7% of statements [2023-02-28T05:07:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T05:07:32.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.657s coverage: 15.5% of statements [2023-02-28T05:07:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T05:07:34.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.497s coverage: 65.2% of statements [2023-02-28T05:07:34.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T05:07:34.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T05:07:34.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.846s coverage: 89.2% of statements [2023-02-28T05:07:34.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T05:07:34.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.793s coverage: 4.6% of statements [2023-02-28T05:07:34.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T05:07:35.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T05:07:35.105Z] GO111MODULE=on go vet ./... [2023-02-28T05:09:26.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T05:09:26.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T05:09:26.817Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T05:09:26.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T05:09:26.901Z] $ docker stop --time=1 6c784c02e536c9213161acfab203beb3d2da6c7458214685dda159e2541266af [2023-02-28T05:09:28.819Z] $ docker rm -f --volumes 6c784c02e536c9213161acfab203beb3d2da6c7458214685dda159e2541266af [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T05:09:30.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T05:09:30.357Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T05:09:30.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T05:09:31.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T05:09:31.858Z] + ls -al . [2023-02-28T05:09:31.858Z] total 276 [2023-02-28T05:09:31.858Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 05:04 . [2023-02-28T05:09:31.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 05:02 .. [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 05:02 .dockerignore [2023-02-28T05:09:31.858Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 05:02 .git [2023-02-28T05:09:31.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 05:02 .github [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 05:02 .gitignore [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 05:02 .golangci.yml [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 05:02 CHANGELOG.md [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 05:02 GOVERNANCE.md [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 05:02 Jenkinsfile [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 05:02 LICENSE [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 05:02 Makefile [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 05:02 OWNERS.md [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 05:02 README.md [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 04:59 VERSION [2023-02-28T05:09:31.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 05:02 bin [2023-02-28T05:09:31.858Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 05:07 coverage.out [2023-02-28T05:09:31.858Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 05:02 example [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 05:02 go.mod [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 05:02 go.sum [2023-02-28T05:09:31.858Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 05:02 internal [2023-02-28T05:09:31.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 05:02 openapi [2023-02-28T05:09:31.858Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 05:02 pkg [2023-02-28T05:09:31.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 05:02 snap [2023-02-28T05:09:31.858Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:09:32.284Z] + 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=00de040a6a0738cd00085ee833e45d29aa0d9ce5 --label arch=arm64 --label version=0.0.0 . [2023-02-28T05:09:32.553Z] Sending build context to Docker daemon 5.788MB [2023-02-28T05:09:32.553Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:09:32.553Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T05:09:32.553Z] ---> f684eaf08f17 [2023-02-28T05:09:32.553Z] Step 3/23 : ARG MAKE=make build [2023-02-28T05:09:32.825Z] ---> Running in d3db3c27ed82 [2023-02-28T05:09:33.095Z] Removing intermediate container d3db3c27ed82 [2023-02-28T05:09:33.095Z] ---> 9d3314c8fd60 [2023-02-28T05:09:33.095Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T05:09:33.095Z] ---> Running in 2edcc6a59824 [2023-02-28T05:09:33.366Z] Removing intermediate container 2edcc6a59824 [2023-02-28T05:09:33.366Z] ---> ddf76c72066b [2023-02-28T05:09:33.366Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:09:33.636Z] ---> Running in 8ec09ea27184 [2023-02-28T05:09:33.902Z] Removing intermediate container 8ec09ea27184 [2023-02-28T05:09:33.902Z] ---> 08d582b667b8 [2023-02-28T05:09:33.902Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T05:09:33.902Z] ---> Running in f0294536de85 [2023-02-28T05:09:34.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:09:35.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:09:36.535Z] OK: 221 MiB in 51 packages [2023-02-28T05:09:37.122Z] Removing intermediate container f0294536de85 [2023-02-28T05:09:37.122Z] ---> e87f5d6161e6 [2023-02-28T05:09:37.122Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T05:09:37.705Z] ---> 4278158b5ca9 [2023-02-28T05:09:37.705Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:09:37.705Z] ---> Running in e54d7ad02801 [2023-02-28T05:09:40.286Z] Removing intermediate container e54d7ad02801 [2023-02-28T05:09:40.286Z] ---> d61836645c3d [2023-02-28T05:09:40.286Z] Step 9/23 : COPY . . [2023-02-28T05:09:41.699Z] ---> 1c935a8af988 [2023-02-28T05:09:41.699Z] Step 10/23 : RUN ${MAKE} [2023-02-28T05:09:41.699Z] ---> Running in dc4bc20deea5 [2023-02-28T05:09:42.667Z] 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-28T05:11:51.489Z] Removing intermediate container dc4bc20deea5 [2023-02-28T05:11:51.489Z] ---> 1d0f75c028d8 [2023-02-28T05:11:51.489Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T05:11:51.489Z] 3.16: Pulling from library/alpine [2023-02-28T05:11:51.489Z] 3760b48202b3: Pulling fs layer [2023-02-28T05:11:51.489Z] 3760b48202b3: Verifying Checksum [2023-02-28T05:11:51.489Z] 3760b48202b3: Download complete [2023-02-28T05:11:51.489Z] 3760b48202b3: Pull complete [2023-02-28T05:11:51.489Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T05:11:51.489Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T05:11:51.489Z] ---> 4c81e5bf8899 [2023-02-28T05:11:51.489Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T05:11:51.489Z] ---> Running in 2aaf85740ba3 [2023-02-28T05:11:51.489Z] Removing intermediate container 2aaf85740ba3 [2023-02-28T05:11:51.489Z] ---> b0683fd144c1 [2023-02-28T05:11:51.489Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T05:11:51.489Z] ---> Running in d9c9d39bfe1c [2023-02-28T05:11:51.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:11:51.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:11:52.717Z] OK: 5 MiB in 14 packages [2023-02-28T05:11:53.678Z] Removing intermediate container d9c9d39bfe1c [2023-02-28T05:11:53.678Z] ---> 155169d73d4b [2023-02-28T05:11:53.678Z] Step 14/23 : WORKDIR / [2023-02-28T05:11:53.678Z] ---> Running in 82d0034abf3f [2023-02-28T05:11:53.948Z] Removing intermediate container 82d0034abf3f [2023-02-28T05:11:53.948Z] ---> 48ff0ae7a645 [2023-02-28T05:11:53.948Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T05:11:54.533Z] ---> e1c999ae5598 [2023-02-28T05:11:54.533Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T05:11:55.947Z] ---> 7442426c3083 [2023-02-28T05:11:55.947Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T05:11:56.529Z] ---> 415cd173a951 [2023-02-28T05:11:56.529Z] Step 18/23 : EXPOSE 59999 [2023-02-28T05:11:56.529Z] ---> Running in 9232a7bfead3 [2023-02-28T05:11:56.855Z] Removing intermediate container 9232a7bfead3 [2023-02-28T05:11:56.855Z] ---> a59d60ec3e29 [2023-02-28T05:11:56.855Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T05:11:56.855Z] ---> Running in 210de42334c4 [2023-02-28T05:11:57.142Z] Removing intermediate container 210de42334c4 [2023-02-28T05:11:57.142Z] ---> 0163444b8bc8 [2023-02-28T05:11:57.142Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T05:11:57.431Z] ---> Running in dd354acd1f83 [2023-02-28T05:11:57.720Z] Removing intermediate container dd354acd1f83 [2023-02-28T05:11:57.720Z] ---> d648ac0075e9 [2023-02-28T05:11:57.720Z] Step 21/23 : LABEL arch=arm64 [2023-02-28T05:11:57.720Z] ---> Running in c55705c9eb17 [2023-02-28T05:11:58.004Z] Removing intermediate container c55705c9eb17 [2023-02-28T05:11:58.004Z] ---> 827e58185052 [2023-02-28T05:11:58.004Z] Step 22/23 : LABEL git_sha=00de040a6a0738cd00085ee833e45d29aa0d9ce5 [2023-02-28T05:11:58.004Z] ---> Running in 2f31971df6b9 [2023-02-28T05:11:58.306Z] Removing intermediate container 2f31971df6b9 [2023-02-28T05:11:58.306Z] ---> 0f9d5c18c107 [2023-02-28T05:11:58.306Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T05:11:58.306Z] ---> Running in 860185d31df5 [2023-02-28T05:11:58.909Z] Removing intermediate container 860185d31df5 [2023-02-28T05:11:58.909Z] ---> 76232f1d3a77 [2023-02-28T05:11:58.909Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T05:11:58.909Z] Successfully built 76232f1d3a77 [2023-02-28T05:11:58.909Z] 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-28T05:11:59.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:11:59.734Z] [2023-02-28T05:11:59.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:12:00.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:12:00.161Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T05:12:00.161Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T05:12:00.161Z] 04944245beec: Pulling fs layer [2023-02-28T05:12:00.161Z] 699f458cf7ca: Pulling fs layer [2023-02-28T05:12:00.161Z] 765212b225bb: Pulling fs layer [2023-02-28T05:12:00.161Z] f23df028b6ca: Pulling fs layer [2023-02-28T05:12:00.161Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T05:12:00.161Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T05:12:00.161Z] f23df028b6ca: Waiting [2023-02-28T05:12:00.161Z] d65c8cfc05b1: Waiting [2023-02-28T05:12:00.161Z] 765212b225bb: Waiting [2023-02-28T05:12:00.428Z] 04944245beec: Verifying Checksum [2023-02-28T05:12:00.428Z] 04944245beec: Download complete [2023-02-28T05:12:00.428Z] 765212b225bb: Verifying Checksum [2023-02-28T05:12:00.428Z] 765212b225bb: Download complete [2023-02-28T05:12:00.428Z] f23df028b6ca: Verifying Checksum [2023-02-28T05:12:00.428Z] f23df028b6ca: Download complete [2023-02-28T05:12:00.428Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T05:12:00.428Z] d65c8cfc05b1: Download complete [2023-02-28T05:12:00.698Z] 699f458cf7ca: Verifying Checksum [2023-02-28T05:12:00.698Z] 699f458cf7ca: Download complete [2023-02-28T05:12:00.966Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T05:12:00.966Z] 8998bd30e6a1: Download complete [2023-02-28T05:12:03.555Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T05:12:03.555Z] 2437ff75d9bd: Download complete [2023-02-28T05:12:06.907Z] 8998bd30e6a1: Pull complete [2023-02-28T05:12:06.907Z] 04944245beec: Pull complete [2023-02-28T05:12:08.319Z] 699f458cf7ca: Pull complete [2023-02-28T05:12:08.589Z] 765212b225bb: Pull complete [2023-02-28T05:12:09.174Z] f23df028b6ca: Pull complete [2023-02-28T05:12:09.443Z] d65c8cfc05b1: Pull complete [2023-02-28T05:12:24.444Z] 2437ff75d9bd: Pull complete [2023-02-28T05:12:24.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T05:12:24.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:12:24.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:12:24.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-7694 does not seem to be running inside a container [2023-02-28T05:12:24.847Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-28T05:12:27.589Z] $ docker top 056dfa2bf5bb0d86e9d8801f640ad0363e5704a33c84e05ca2665cdd9687927c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:28.471Z] ---> job-cost.sh [2023-02-28T05:12:28.471Z] lf-activate-venv: SKIPPING [2023-02-28T05:12:28.471Z] INFO: No Stack... [2023-02-28T05:12:29.052Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T05:12:30.010Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T05:12:30.355Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-28T05:12:30.355Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T05:12:30.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [2023-02-28T05:12:30.718Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] did not exist. Created. [2023-02-28T05:12:30.718Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T05:12:31.444Z] /w/workspace/device-sdk-go/1@tmp/durable-9505b15b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T05:12:32.108Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T05:12:32.144Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T05:12:32.211Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T05:12:32.226Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1351-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T05:12:32.317Z] $ docker stop --time=1 056dfa2bf5bb0d86e9d8801f640ad0363e5704a33c84e05ca2665cdd9687927c [2023-02-28T05:12:33.783Z] $ docker rm -f --volumes 056dfa2bf5bb0d86e9d8801f640ad0363e5704a33c84e05ca2665cdd9687927c [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-28T05:12:34.698Z] provisioning config files... [2023-02-28T05:12:34.705Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/config1791046340122379187tmp [Pipeline] { [Pipeline] sh [2023-02-28T05:12:35.029Z] + set +x [2023-02-28T05:12:35.029Z] + + curl -sbash https://codecov.io/bash -s [2023-02-28T05:12:35.029Z] -- [2023-02-28T05:12:35.029Z] [2023-02-28T05:12:35.029Z] _____ _ [2023-02-28T05:12:35.029Z] / ____| | | [2023-02-28T05:12:35.029Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T05:12:35.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T05:12:35.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T05:12:35.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T05:12:35.029Z] Bash-1.0.6 [2023-02-28T05:12:35.029Z] [2023-02-28T05:12:35.029Z] [2023-02-28T05:12:35.029Z] ==> git version 2.25.1 found [2023-02-28T05:12:35.029Z] ==> 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-28T05:12:35.029Z] Release-Date: 2020-01-08 [2023-02-28T05:12:35.029Z] 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-28T05:12:35.029Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T05:12:35.029Z] ==> Jenkins CI detected. [2023-02-28T05:12:35.029Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1351 [2023-02-28T05:12:35.029Z] project root: . [2023-02-28T05:12:35.029Z] --> token set from env [2023-02-28T05:12:35.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T05:12:35.029Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T05:12:35.029Z] ==> Python coveragepy not found [2023-02-28T05:12:35.029Z] ==> Searching for coverage reports in: [2023-02-28T05:12:35.029Z] + . [2023-02-28T05:12:35.029Z] -> Found 1 reports [2023-02-28T05:12:35.029Z] ==> Detecting git/mercurial file structure [2023-02-28T05:12:35.029Z] ==> Reading reports [2023-02-28T05:12:35.029Z] + ./coverage.out bytes=111045 [2023-02-28T05:12:35.029Z] ==> Appending adjustments [2023-02-28T05:12:35.029Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T05:12:35.288Z] + Found adjustments [2023-02-28T05:12:35.288Z] ==> Gzipping contents [2023-02-28T05:12:35.288Z] 16K /tmp/codecov.adN5mu.gz [2023-02-28T05:12:35.288Z] ==> Uploading reports [2023-02-28T05:12:35.289Z] url: https://codecov.io [2023-02-28T05:12:35.289Z] query: branch=PR-1351&commit=00de040a6a0738cd00085ee833e45d29aa0d9ce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1351&job=&cmd_args= [2023-02-28T05:12:35.289Z] -> Pinging Codecov [2023-02-28T05:12:35.289Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1351&commit=00de040a6a0738cd00085ee833e45d29aa0d9ce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1351&job=&cmd_args= [2023-02-28T05:12:35.547Z] -> Uploading to [2023-02-28T05:12:35.547Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/7E55EF52A471D76F132DFD9A03CDDE97/00de040a6a0738cd00085ee833e45d29aa0d9ce5/e6ecff31-fb3f-4b09-9465-11d5e5be2f53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T051235Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43a53a038d2859c0e9b73d290fb19efb4df70eed8107317c8258cff2bcf234e5 [2023-02-28T05:12:35.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T05:12:35.547Z] Dload Upload Total Spent Left Speed [2023-02-28T05:12:35.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15311 0 0 100 15311 0 60043 --:--:-- --:--:-- --:--:-- 60043 [2023-02-28T05:12:35.805Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/00de040a6a0738cd00085ee833e45d29aa0d9ce5 [Pipeline] } [2023-02-28T05:12:35.831Z] 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-28T05:12:37.539Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives ] [2023-02-28T05:12:37.539Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives [2023-02-28T05:12:37.539Z] total 16 [2023-02-28T05:12:37.539Z] drwxr-xr-x 3 root root 4096 Feb 28 05:02 . [2023-02-28T05:12:37.539Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 05:02 .. [2023-02-28T05:12:37.539Z] drwxr-xr-x 2 root root 4096 Feb 28 05:02 cost [2023-02-28T05:12:37.539Z] -rw-r--r-- 1 root root 86 Feb 28 05:02 cost.csv [2023-02-28T05:12:37.539Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives [2023-02-28T05:12:37.539Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives [2023-02-28T05:12:37.539Z] total 16 [2023-02-28T05:12:37.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 05:02 . [2023-02-28T05:12:37.539Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 05:02 .. [2023-02-28T05:12:37.539Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 05:02 cost [2023-02-28T05:12:37.539Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 28 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:37.870Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:38.757Z] ---> package-listing.sh [2023-02-28T05:12:38.757Z] ++ facter osfamily [2023-02-28T05:12:38.757Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T05:12:39.016Z] + OS_FAMILY=debian [2023-02-28T05:12:39.016Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1351 [2023-02-28T05:12:39.016Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T05:12:39.016Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T05:12:39.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T05:12:39.016Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T05:12:39.016Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1351 ']' [2023-02-28T05:12:39.016Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T05:12:39.016Z] + case "${OS_FAMILY}" in [2023-02-28T05:12:39.016Z] + dpkg -l [2023-02-28T05:12:39.016Z] + grep '^ii' [2023-02-28T05:12:39.016Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T05:12:39.016Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T05:12:39.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T05:12:39.016Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1351 ']' [2023-02-28T05:12:39.016Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives/ [2023-02-28T05:12:39.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1351/archives/ [Pipeline] echo [2023-02-28T05:12:39.054Z] 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-1351/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T05:12:39.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:12:39.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:12:39.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:12:40.126Z] prd-ubuntu20.04-docker-8c-8g-7690 does not seem to be running inside a container [2023-02-28T05:12:40.158Z] $ 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-1351/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-1351 -v /w/workspace/gexfoundry_device-sdk-go_PR-1351:/w/workspace/gexfoundry_device-sdk-go_PR-1351:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1351@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-lftools-log-publisher:latest cat [2023-02-28T05:12:40.361Z] $ docker top f68d1cb6e7ea4fc4a29b044211122f8a36b4e678a055fe37940c32d5301465b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:12:40.748Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T05:12:41.055Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T05:12:41.358Z] + ls /var/log/sa-host [2023-02-28T05:12:41.358Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T05:12:41.492Z] provisioning config files... [2023-02-28T05:12:41.499Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1351@tmp/config12048662247894961859tmp [Pipeline] { [Pipeline] echo [2023-02-28T05:12:41.545Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:41.852Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T05:12:41.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:42.276Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T05:12:42.308Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:42.617Z] ---> sudo-logs.sh [2023-02-28T05:12:42.617Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T05:12:42.704Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:43.013Z] ---> job-cost.sh [2023-02-28T05:12:43.013Z] lf-activate-venv: SKIPPING [2023-02-28T05:12:43.013Z] DEBUG: total: 0.2199999988079071 [2023-02-28T05:12:43.013Z] INFO: Retrieving Stack Cost... [2023-02-28T05:12:43.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T05:12:43.841Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T05:12:43.876Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:12:44.184Z] ---> logs-deploy.sh [2023-02-28T05:12:44.184Z] lf-activate-venv: SKIPPING [2023-02-28T05:12:44.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1351/1 [2023-02-28T05:12:44.184Z] INFO: archiving workspace using pattern(s): [2023-02-28T05:12:45.121Z] Archives upload complete. [2023-02-28T05:12:45.121Z] INFO: archiving logs to Nexus