Pull request #1250 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 266727b5787047c0a0e523203b4799d9ba2ae572+5c206d5ec711179ff4ebe49da9da22b1560eb8ca (d9e7778451a142af72ed567db143c57e9a41c2ff) 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-ssh2191909680415619113.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13966557480466717794.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1250/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-1250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2740133955054617417.key Verifying host key using known hosts file > 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-1250/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6144575361429041494.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh504336247740448357.key Verifying host key using known hosts file > 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-1250/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-1250/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18126059909382141421.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-117053’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117061 in /w/workspace/gexfoundry_device-sdk-go_PR-1250 [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-1250 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1250/head:refs/remotes/origin/PR-1250 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit 266727b5787047c0a0e523203b4799d9ba2ae572 Merge succeeded, producing 266727b5787047c0a0e523203b4799d9ba2ae572 Checking out Revision 266727b5787047c0a0e523203b4799d9ba2ae572 (PR-1250) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T04:07:38.860Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T04:07:39.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T04:07:39.140Z] ========================================================= [2022-10-26T04:07:39.140Z] EdgeX Global Pipelines Version Info [2022-10-26T04:07:39.140Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:07:39.875Z] ------------------- [2022-10-26T04:07:39.875Z] stable info: [2022-10-26T04:07:39.875Z] ------------------- [2022-10-26T04:07:39.875Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T04:07:39.875Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T04:07:39.875Z] Message: update stable to v1.0.243 [2022-10-26T04:07:40.443Z] ------------------- [2022-10-26T04:07:40.443Z] experimental info: [2022-10-26T04:07:40.443Z] ------------------- [2022-10-26T04:07:40.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T04:07:40.443Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T04:07:40.443Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T04:07:40.710Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-26T04:07:40.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-26T04:07:40.792Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T04:07:40.834Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T04:07:40.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T04:07:40.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T04:07:40.963Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T04:07:41.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-26T04:07:41.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T04:07:41.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T04:07:41.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T04:07:41.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-26T04:07:41.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T04:07:41.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T04:07:41.288Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T04:07:41.333Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:07:41.423Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:07:41.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:07:41.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T04:07:41.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T04:07:41.582Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T04:07:41.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-26T04:07:41.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T04:07:41.691Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T04:07:41.729Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T04:07:41.767Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T04:07:41.808Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T04:07:41.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1250 [Pipeline] echo [2022-10-26T04:07:41.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1250 [Pipeline] echo [2022-10-26T04:07:41.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1250 [Pipeline] echo [2022-10-26T04:07:41.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo [2022-10-26T04:07:42.005Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 266727b [Pipeline] echo [2022-10-26T04:07:42.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:07:42.172Z] provisioning config files... [2022-10-26T04:07:42.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config7418945966718666857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:07:42.542Z] ---> docker-login.sh [2022-10-26T04:07:42.542Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:07:42.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:42.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:42.800Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:42.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:42.800Z] [2022-10-26T04:07:42.800Z] Login Succeeded [2022-10-26T04:07:42.800Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:07:43.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:43.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:43.059Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:43.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:43.059Z] [2022-10-26T04:07:43.059Z] Login Succeeded [2022-10-26T04:07:43.059Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:07:43.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:43.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:43.059Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:43.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:43.059Z] [2022-10-26T04:07:43.059Z] Login Succeeded [2022-10-26T04:07:43.059Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:07:43.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:43.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:43.318Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:43.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:43.318Z] [2022-10-26T04:07:43.318Z] Login Succeeded [2022-10-26T04:07:43.318Z] docker.io [2022-10-26T04:07:43.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:43.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:43.577Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:43.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:43.577Z] [2022-10-26T04:07:43.577Z] Login Succeeded [2022-10-26T04:07:43.577Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:07:43.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T04:07:44.223Z] + git rev-list -1 --merges 266727b5787047c0a0e523203b4799d9ba2ae572~1..266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo [2022-10-26T04:07:44.270Z] -----------> git rev-list -1 --merges 266727b5787047c0a0e523203b4799d9ba2ae572~1..266727b5787047c0a0e523203b4799d9ba2ae572 266727b5787047c0a0e523203b4799d9ba2ae572 [false] [Pipeline] sh [2022-10-26T04:07:44.581Z] + git log --format=format:%s -1 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo [2022-10-26T04:07:44.617Z] ========================================================= [2022-10-26T04:07:44.617Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T04:07:44.617Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T04:07:45.046Z] + git log --format=format:%s -1 266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] echo [2022-10-26T04:07:45.078Z] [semverPrep] GIT_COMMIT: 266727b5787047c0a0e523203b4799d9ba2ae572, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-26T04:07:45.109Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T04:07:45.486Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T04:07:45.486Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T04:07:45.486Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T04:07:45.486Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T04:07:45.486Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T04:07:45.486Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T04:07:45.486Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:07:45.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:07:45.904Z] [2022-10-26T04:07:45.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:07:46.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:07:46.281Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T04:07:46.281Z] b85a868b505f: Pulling fs layer [2022-10-26T04:07:46.281Z] e2be974225ed: Pulling fs layer [2022-10-26T04:07:46.281Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T04:07:46.281Z] 988bab9f4d93: Pulling fs layer [2022-10-26T04:07:46.281Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T04:07:46.281Z] eaf3925da568: Pulling fs layer [2022-10-26T04:07:46.281Z] bab4dde63d76: Pulling fs layer [2022-10-26T04:07:46.281Z] 988bab9f4d93: Waiting [2022-10-26T04:07:46.281Z] 1469e6f7b9e6: Waiting [2022-10-26T04:07:46.281Z] bab4dde63d76: Waiting [2022-10-26T04:07:46.281Z] eaf3925da568: Waiting [2022-10-26T04:07:46.281Z] bde34c3a00c8: Pulling fs layer [2022-10-26T04:07:46.281Z] b352a97aabf1: Pulling fs layer [2022-10-26T04:07:46.281Z] 4872d77fe225: Pulling fs layer [2022-10-26T04:07:46.281Z] 5851b861e8e6: Pulling fs layer [2022-10-26T04:07:46.281Z] bde34c3a00c8: Waiting [2022-10-26T04:07:46.281Z] b352a97aabf1: Waiting [2022-10-26T04:07:46.281Z] 4872d77fe225: Waiting [2022-10-26T04:07:46.281Z] 5851b861e8e6: Waiting [2022-10-26T04:07:46.281Z] e2be974225ed: Verifying Checksum [2022-10-26T04:07:46.281Z] e2be974225ed: Download complete [2022-10-26T04:07:46.281Z] 988bab9f4d93: Verifying Checksum [2022-10-26T04:07:46.281Z] 988bab9f4d93: Download complete [2022-10-26T04:07:46.547Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T04:07:46.547Z] 1469e6f7b9e6: Download complete [2022-10-26T04:07:46.547Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T04:07:46.547Z] 339a4e72a1f5: Download complete [2022-10-26T04:07:46.547Z] eaf3925da568: Verifying Checksum [2022-10-26T04:07:46.547Z] eaf3925da568: Download complete [2022-10-26T04:07:46.547Z] bde34c3a00c8: Download complete [2022-10-26T04:07:46.547Z] b352a97aabf1: Download complete [2022-10-26T04:07:46.547Z] 4872d77fe225: Download complete [2022-10-26T04:07:46.547Z] 5851b861e8e6: Download complete [2022-10-26T04:07:46.547Z] b85a868b505f: Verifying Checksum [2022-10-26T04:07:46.547Z] b85a868b505f: Download complete [2022-10-26T04:07:46.808Z] bab4dde63d76: Verifying Checksum [2022-10-26T04:07:46.808Z] bab4dde63d76: Download complete [2022-10-26T04:07:48.184Z] b85a868b505f: Pull complete [2022-10-26T04:07:48.184Z] e2be974225ed: Pull complete [2022-10-26T04:07:48.442Z] 339a4e72a1f5: Pull complete [2022-10-26T04:07:48.703Z] 988bab9f4d93: Pull complete [2022-10-26T04:07:48.963Z] 1469e6f7b9e6: Pull complete [2022-10-26T04:07:48.963Z] eaf3925da568: Pull complete [2022-10-26T04:07:50.862Z] bab4dde63d76: Pull complete [2022-10-26T04:07:50.862Z] bde34c3a00c8: Pull complete [2022-10-26T04:07:50.862Z] b352a97aabf1: Pull complete [2022-10-26T04:07:50.862Z] 4872d77fe225: Pull complete [2022-10-26T04:07:50.862Z] 5851b861e8e6: Pull complete [2022-10-26T04:07:50.862Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T04:07:50.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:07:50.862Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:07:51.086Z] prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container [2022-10-26T04:07:51.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@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 [2022-10-26T04:07:52.621Z] $ docker top a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 -eo pid,comm [2022-10-26T04:07:52.685Z] 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). [2022-10-26T04:07:52.685Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T04:07:52.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T04:07:52.809Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T04:07:52.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T04:07:52.926Z] $ docker exec a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent [2022-10-26T04:07:53.042Z] SSH_AUTH_SOCK=/tmp/ssh-ouJ7UO6NPaYk/agent.32 [2022-10-26T04:07:53.042Z] SSH_AGENT_PID=38 [2022-10-26T04:07:53.048Z] Running ssh-add (command line suppressed) [2022-10-26T04:07:53.153Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_3572705980757297256.key (/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_3572705980757297256.key) [2022-10-26T04:07:53.170Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T04:07:53.494Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T04:07:53.517Z] $ docker exec --env ******** --env ******** a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent -k [2022-10-26T04:07:53.618Z] unset SSH_AUTH_SOCK; [2022-10-26T04:07:53.618Z] unset SSH_AGENT_PID; [2022-10-26T04:07:53.619Z] echo Agent pid 38 killed; [2022-10-26T04:07:53.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T04:07:53.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T04:07:53.722Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T04:07:53.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T04:07:53.840Z] $ docker exec a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent [2022-10-26T04:07:53.974Z] SSH_AUTH_SOCK=/tmp/ssh-Jh5ZvqCeSpAD/agent.70 [2022-10-26T04:07:53.974Z] SSH_AGENT_PID=77 [2022-10-26T04:07:53.980Z] Running ssh-add (command line suppressed) [2022-10-26T04:07:54.093Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_12154323878954770257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/private_key_12154323878954770257.key) [2022-10-26T04:07:54.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T04:07:54.454Z] + git semver init [2022-10-26T04:07:54.714Z] 2022-10-26 04:07:54,639 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T04:07:54.714Z] 2022-10-26 04:07:54,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver [2022-10-26T04:07:54.714Z] 2022-10-26 04:07:54,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver [2022-10-26T04:07:54.714Z] 2022-10-26 04:07:54,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250, universal_newlines=False, shell=None, istream=None) [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,649 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.git/info/exclude [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 with force:False [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,650 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,654 [execute] INFO git cat-file --batch-check [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,661 [execute] INFO git cat-file --batch [2022-10-26T04:07:55.670Z] 2022-10-26 04:07:55,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T04:07:55.929Z] 2022-10-26 04:07:55,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1250/.semver/PR-1250 [2022-10-26T04:07:55.929Z] 0.0.0 [Pipeline] } [2022-10-26T04:07:55.951Z] $ docker exec --env ******** --env ******** a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 ssh-agent -k [2022-10-26T04:07:56.053Z] unset SSH_AUTH_SOCK; [2022-10-26T04:07:56.054Z] unset SSH_AGENT_PID; [2022-10-26T04:07:56.054Z] echo Agent pid 77 killed; [2022-10-26T04:07:56.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T04:07:56.495Z] + git semver [Pipeline] } [2022-10-26T04:07:56.779Z] $ docker stop --time=1 a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 [2022-10-26T04:07:58.092Z] $ docker rm -f a1516de036c2156b82a6058770e5d9a3d4da3881debbc3354b2880773a7b20d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:07:58.506Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T04:07:58.759Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T04:07:58.777Z] [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 [2022-10-26T04:07:59.388Z] provisioning config files... [2022-10-26T04:07:59.398Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config11358030656820724330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:07:59.742Z] ---> docker-login.sh [2022-10-26T04:07:59.742Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:07:59.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:59.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:59.742Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:59.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:59.742Z] [2022-10-26T04:07:59.742Z] Login Succeeded [2022-10-26T04:07:59.742Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:07:59.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:07:59.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:07:59.742Z] Configure a credential helper to remove this warning. See [2022-10-26T04:07:59.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:07:59.742Z] [2022-10-26T04:07:59.742Z] Login Succeeded [2022-10-26T04:07:59.742Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:08:00.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:08:00.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:08:00.004Z] Configure a credential helper to remove this warning. See [2022-10-26T04:08:00.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:08:00.004Z] [2022-10-26T04:08:00.004Z] Login Succeeded [2022-10-26T04:08:00.004Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:08:00.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:08:00.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:08:00.004Z] Configure a credential helper to remove this warning. See [2022-10-26T04:08:00.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:08:00.004Z] [2022-10-26T04:08:00.004Z] Login Succeeded [2022-10-26T04:08:00.004Z] docker.io [2022-10-26T04:08:00.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:08:00.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:08:00.523Z] Configure a credential helper to remove this warning. See [2022-10-26T04:08:00.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:08:00.523Z] [2022-10-26T04:08:00.523Z] Login Succeeded [2022-10-26T04:08:00.523Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:08:00.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T04:08:00.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:08:00.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:08:00.802Z] ========================================================= [2022-10-26T04:08:00.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T04:08:00.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:08:01.259Z] + 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 . [2022-10-26T04:08:01.259Z] Sending build context to Docker daemon 10.08MB [2022-10-26T04:08:01.259Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:08:01.259Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T04:08:01.259Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T04:08:01.259Z] 213ec9aee27d: Pulling fs layer [2022-10-26T04:08:01.259Z] 4583459ba037: Pulling fs layer [2022-10-26T04:08:01.259Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T04:08:01.259Z] 53926ce57604: Pulling fs layer [2022-10-26T04:08:01.259Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T04:08:01.259Z] 30f14e443154: Pulling fs layer [2022-10-26T04:08:01.259Z] 801331c1e519: Pulling fs layer [2022-10-26T04:08:01.259Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T04:08:01.259Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T04:08:01.259Z] 30f14e443154: Waiting [2022-10-26T04:08:01.259Z] 53926ce57604: Waiting [2022-10-26T04:08:01.259Z] 801331c1e519: Waiting [2022-10-26T04:08:01.259Z] 7d9ed39f4882: Waiting [2022-10-26T04:08:01.259Z] 99cc6dd402b0: Waiting [2022-10-26T04:08:01.259Z] 21b2b0c7a3f4: Waiting [2022-10-26T04:08:01.520Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T04:08:01.520Z] 93c1e223e6f2: Download complete [2022-10-26T04:08:01.520Z] 4583459ba037: Verifying Checksum [2022-10-26T04:08:01.520Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T04:08:01.520Z] 21b2b0c7a3f4: Download complete [2022-10-26T04:08:01.520Z] 30f14e443154: Download complete [2022-10-26T04:08:01.520Z] 213ec9aee27d: Verifying Checksum [2022-10-26T04:08:01.520Z] 213ec9aee27d: Download complete [2022-10-26T04:08:01.520Z] 801331c1e519: Download complete [2022-10-26T04:08:01.520Z] 213ec9aee27d: Pull complete [2022-10-26T04:08:01.780Z] 4583459ba037: Pull complete [2022-10-26T04:08:01.780Z] 93c1e223e6f2: Pull complete [2022-10-26T04:08:02.040Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T04:08:02.040Z] 7d9ed39f4882: Download complete [2022-10-26T04:08:02.040Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T04:08:02.040Z] 99cc6dd402b0: Download complete [2022-10-26T04:08:02.305Z] 53926ce57604: Verifying Checksum [2022-10-26T04:08:02.305Z] 53926ce57604: Download complete [2022-10-26T04:08:06.494Z] 53926ce57604: Pull complete [2022-10-26T04:08:06.494Z] 21b2b0c7a3f4: Pull complete [2022-10-26T04:08:06.494Z] 30f14e443154: Pull complete [2022-10-26T04:08:06.494Z] 801331c1e519: Pull complete [2022-10-26T04:08:09.022Z] 99cc6dd402b0: Pull complete [2022-10-26T04:08:09.280Z] 7d9ed39f4882: Pull complete [2022-10-26T04:08:09.539Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T04:08:09.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T04:08:09.539Z] ---> 1dedd983c030 [2022-10-26T04:08:09.539Z] Step 3/10 : ARG MAKE=make build [2022-10-26T04:08:11.447Z] ---> Running in 7a2e48fc143b [2022-10-26T04:08:11.447Z] Removing intermediate container 7a2e48fc143b [2022-10-26T04:08:11.447Z] ---> d21c7724b881 [2022-10-26T04:08:11.447Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T04:08:11.447Z] ---> Running in 0dfefbacd6c0 [2022-10-26T04:08:11.447Z] Removing intermediate container 0dfefbacd6c0 [2022-10-26T04:08:11.447Z] ---> db26bfd99bee [2022-10-26T04:08:11.447Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:08:11.447Z] ---> Running in 7523b4e5779e [2022-10-26T04:08:11.447Z] Removing intermediate container 7523b4e5779e [2022-10-26T04:08:11.447Z] ---> e63eaff4ae80 [2022-10-26T04:08:11.447Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:08:11.707Z] ---> Running in 69f4715d47f6 [2022-10-26T04:08:11.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:11.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:12.226Z] OK: 211 MiB in 51 packages [2022-10-26T04:08:12.488Z] Removing intermediate container 69f4715d47f6 [2022-10-26T04:08:12.488Z] ---> 13c5bcf5166f [2022-10-26T04:08:12.488Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T04:08:12.747Z] ---> b7fa2edff860 [2022-10-26T04:08:12.747Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:08:12.747Z] ---> Running in b8fa49dba384 [2022-10-26T04:08:14.214Z] Still waiting to schedule task [2022-10-26T04:08:14.215Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-26T04:08:30.855Z] Removing intermediate container b8fa49dba384 [2022-10-26T04:08:30.855Z] ---> a1dbc6cec064 [2022-10-26T04:08:30.855Z] Step 9/10 : COPY . . [2022-10-26T04:08:30.855Z] ---> c462fb582423 [2022-10-26T04:08:30.855Z] Step 10/10 : RUN ${MAKE} [2022-10-26T04:08:30.855Z] ---> Running in da9ef5ab272e [2022-10-26T04:08:30.855Z] noop [2022-10-26T04:08:30.855Z] Removing intermediate container da9ef5ab272e [2022-10-26T04:08:30.855Z] ---> 2434bd8d77e2 [2022-10-26T04:08:30.855Z] Successfully built 2434bd8d77e2 [2022-10-26T04:08:30.855Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:08:31.283Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T04:08:31.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:08:31.422Z] prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container [2022-10-26T04:08:31.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@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 [2022-10-26T04:08:31.812Z] $ docker top 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:08:32.284Z] + go version [2022-10-26T04:08:32.285Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T04:08:32.315Z] $ docker stop --time=1 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 [2022-10-26T04:08:33.587Z] $ docker rm -f 1f0396bb3ae24409d4da7a36a5f81129a156face33fd9fcd86c86f07deca0946 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:08:34.300Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T04:08:34.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:08:34.440Z] prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container [2022-10-26T04:08:34.477Z] $ 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-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@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 [2022-10-26T04:08:34.855Z] $ docker top c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:08:35.242Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1250 [Pipeline] fileExists [Pipeline] sh [2022-10-26T04:08:35.591Z] + make test [2022-10-26T04:08:35.592Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T04:08:42.156Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 73.1% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 54.4% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T04:08:57.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-10-26T04:08:57.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T04:09:12.054Z] 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." [2022-10-26T04:09:12.054Z] GO111MODULE=on go vet ./... [2022-10-26T04:09:14.581Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T04:09:14.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T04:09:14.838Z] ./bin/test-attribution-txt.sh [2022-10-26T04:09:14.838Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T04:09:14.838Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T04:09:14.838Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T04:09:14.838Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T04:09:14.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T04:09:14.905Z] $ docker stop --time=1 c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 [2022-10-26T04:09:17.307Z] $ docker rm -f c8bf3831c81d2eab9a3023a980cd7198f0d2666af9d077483604278df72e7923 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:09:17.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T04:09:17.950Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T04:09:18.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T04:09:18.854Z] + ls -al . [2022-10-26T04:09:18.854Z] total 280 [2022-10-26T04:09:18.854Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 04:08 . [2022-10-26T04:09:18.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:07 .. [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:07 .dockerignore [2022-10-26T04:09:18.854Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:08 .git [2022-10-26T04:09:18.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:07 .github [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:07 .gitignore [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:07 .golangci.yml [2022-10-26T04:09:18.854Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:07 .semver [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:07 CHANGELOG.md [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:07 GOVERNANCE.md [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:07 Jenkinsfile [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:07 LICENSE [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:07 Makefile [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:07 OWNERS.md [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:07 README.md [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:07 VERSION [2022-10-26T04:09:18.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:07 bin [2022-10-26T04:09:18.854Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:08 coverage.out [2022-10-26T04:09:18.854Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:07 example [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:07 go.mod [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:07 go.sum [2022-10-26T04:09:18.854Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:07 internal [2022-10-26T04:09:18.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:07 openapi [2022-10-26T04:09:18.854Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:07 pkg [2022-10-26T04:09:18.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:07 snap [2022-10-26T04:09:18.854Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:09:19.242Z] + 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=266727b5787047c0a0e523203b4799d9ba2ae572 --label arch=amd64 --label version=0.0.0 . [2022-10-26T04:09:19.243Z] Sending build context to Docker daemon 10.18MB [2022-10-26T04:09:19.243Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:09:19.243Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T04:09:19.243Z] ---> 2434bd8d77e2 [2022-10-26T04:09:19.243Z] Step 3/23 : ARG MAKE=make build [2022-10-26T04:09:19.243Z] ---> Running in f756766ef746 [2022-10-26T04:09:19.504Z] Removing intermediate container f756766ef746 [2022-10-26T04:09:19.504Z] ---> 62f3d3648790 [2022-10-26T04:09:19.504Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T04:09:19.504Z] ---> Running in 3de70a50255b [2022-10-26T04:09:19.504Z] Removing intermediate container 3de70a50255b [2022-10-26T04:09:19.504Z] ---> f19cd3563838 [2022-10-26T04:09:19.504Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:09:19.761Z] ---> Running in a61a70f0cd36 [2022-10-26T04:09:19.761Z] Removing intermediate container a61a70f0cd36 [2022-10-26T04:09:19.761Z] ---> 217f4d7a9cf0 [2022-10-26T04:09:19.761Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:09:19.761Z] ---> Running in 0309b739b0b4 [2022-10-26T04:09:20.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:09:20.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:09:20.294Z] OK: 211 MiB in 51 packages [2022-10-26T04:09:21.241Z] Removing intermediate container 0309b739b0b4 [2022-10-26T04:09:21.241Z] ---> b00336145132 [2022-10-26T04:09:21.241Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T04:09:21.503Z] ---> 3e8ed0d06373 [2022-10-26T04:09:21.503Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:09:21.763Z] ---> Running in db175438d594 [2022-10-26T04:09:22.700Z] Removing intermediate container db175438d594 [2022-10-26T04:09:22.700Z] ---> f4043293e72e [2022-10-26T04:09:22.700Z] Step 9/23 : COPY . . [2022-10-26T04:09:23.266Z] ---> cf7030dd29c5 [2022-10-26T04:09:23.266Z] Step 10/23 : RUN ${MAKE} [2022-10-26T04:09:23.266Z] ---> Running in 687989215fdf [2022-10-26T04:09:23.529Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-26T04:09:41.597Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T04:09:43.511Z] Removing intermediate container 687989215fdf [2022-10-26T04:09:43.511Z] ---> 80a3801fc726 [2022-10-26T04:09:43.511Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T04:09:44.076Z] 3.16: Pulling from library/alpine [2022-10-26T04:09:44.077Z] 213ec9aee27d: Already exists [2022-10-26T04:09:44.335Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T04:09:44.335Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T04:09:44.335Z] ---> 9c6f07244728 [2022-10-26T04:09:44.335Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:09:44.335Z] ---> Running in 2be4bbd53176 [2022-10-26T04:09:44.593Z] Removing intermediate container 2be4bbd53176 [2022-10-26T04:09:44.593Z] ---> 59dd4b524644 [2022-10-26T04:09:44.593Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T04:09:44.593Z] ---> Running in 4b3095526ecd [2022-10-26T04:09:44.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:09:44.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:09:45.108Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T04:09:45.108Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T04:09:45.108Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T04:09:45.108Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T04:09:45.108Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T04:09:45.108Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T04:09:45.108Z] OK: 8 MiB in 19 packages [2022-10-26T04:09:45.673Z] Removing intermediate container 4b3095526ecd [2022-10-26T04:09:45.673Z] ---> f02a71ac1a67 [2022-10-26T04:09:45.673Z] Step 14/23 : WORKDIR / [2022-10-26T04:09:45.673Z] ---> Running in 078479a1ba96 [2022-10-26T04:09:45.673Z] Removing intermediate container 078479a1ba96 [2022-10-26T04:09:45.673Z] ---> 5311316781e6 [2022-10-26T04:09:45.673Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T04:09:45.931Z] ---> 92bf52ccbf48 [2022-10-26T04:09:45.931Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T04:09:46.500Z] ---> e3fb6b250608 [2022-10-26T04:09:46.500Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T04:09:46.500Z] ---> a6f359521e95 [2022-10-26T04:09:46.500Z] Step 18/23 : EXPOSE 59999 [2022-10-26T04:09:46.500Z] ---> Running in 50d7ca64ac19 [2022-10-26T04:09:46.759Z] Removing intermediate container 50d7ca64ac19 [2022-10-26T04:09:46.759Z] ---> 4ef24149e82f [2022-10-26T04:09:46.759Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T04:09:46.759Z] ---> Running in 18e772982bd2 [2022-10-26T04:09:46.759Z] Removing intermediate container 18e772982bd2 [2022-10-26T04:09:46.759Z] ---> c31abfaf3b38 [2022-10-26T04:09:46.759Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T04:09:46.759Z] ---> Running in 8323516c8154 [2022-10-26T04:09:47.016Z] Removing intermediate container 8323516c8154 [2022-10-26T04:09:47.016Z] ---> 894a415eac9d [2022-10-26T04:09:47.016Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T04:09:47.016Z] ---> Running in f2797726e994 [2022-10-26T04:09:47.016Z] Removing intermediate container f2797726e994 [2022-10-26T04:09:47.016Z] ---> 598f8f0301d4 [2022-10-26T04:09:47.016Z] Step 22/23 : LABEL git_sha=266727b5787047c0a0e523203b4799d9ba2ae572 [2022-10-26T04:09:47.016Z] ---> Running in b5af03f524b4 [2022-10-26T04:09:47.275Z] Removing intermediate container b5af03f524b4 [2022-10-26T04:09:47.275Z] ---> ca024d469cf1 [2022-10-26T04:09:47.275Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T04:09:47.275Z] ---> Running in 069f3d902e58 [2022-10-26T04:09:47.275Z] Removing intermediate container 069f3d902e58 [2022-10-26T04:09:47.275Z] ---> ab54a315666c [2022-10-26T04:09:47.275Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T04:09:47.275Z] Successfully built ab54a315666c [2022-10-26T04:09:47.275Z] 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 [2022-10-26T04:09:48.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:09:48.085Z] [2022-10-26T04:09:48.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:09:48.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:09:48.457Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T04:09:48.457Z] 5eb5b503b376: Pulling fs layer [2022-10-26T04:09:48.457Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T04:09:48.457Z] ec43610c2a17: Pulling fs layer [2022-10-26T04:09:48.457Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T04:09:48.457Z] 33b1e0a273af: Pulling fs layer [2022-10-26T04:09:48.457Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T04:09:48.457Z] 2f39f015ded8: Pulling fs layer [2022-10-26T04:09:48.457Z] 33b1e0a273af: Waiting [2022-10-26T04:09:48.457Z] 5d3b04190fa2: Waiting [2022-10-26T04:09:48.457Z] 2f39f015ded8: Waiting [2022-10-26T04:09:48.457Z] 3a2ae6a8a46f: Waiting [2022-10-26T04:09:48.457Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T04:09:48.457Z] 5c69ac0246d0: Download complete [2022-10-26T04:09:48.457Z] 3a2ae6a8a46f: Download complete [2022-10-26T04:09:48.457Z] 33b1e0a273af: Verifying Checksum [2022-10-26T04:09:48.457Z] 33b1e0a273af: Download complete [2022-10-26T04:09:48.457Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T04:09:48.457Z] 5d3b04190fa2: Download complete [2022-10-26T04:09:48.457Z] ec43610c2a17: Verifying Checksum [2022-10-26T04:09:48.457Z] ec43610c2a17: Download complete [2022-10-26T04:09:48.716Z] 5eb5b503b376: Verifying Checksum [2022-10-26T04:09:48.716Z] 5eb5b503b376: Download complete [2022-10-26T04:09:49.284Z] 2f39f015ded8: Verifying Checksum [2022-10-26T04:09:49.284Z] 2f39f015ded8: Download complete [2022-10-26T04:09:50.220Z] 5eb5b503b376: Pull complete [2022-10-26T04:09:50.220Z] 5c69ac0246d0: Pull complete [2022-10-26T04:09:50.478Z] ec43610c2a17: Pull complete [2022-10-26T04:09:50.737Z] 3a2ae6a8a46f: Pull complete [2022-10-26T04:09:50.737Z] 33b1e0a273af: Pull complete [2022-10-26T04:09:50.995Z] 5d3b04190fa2: Pull complete [2022-10-26T04:09:55.176Z] 2f39f015ded8: Pull complete [2022-10-26T04:09:55.176Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T04:09:55.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:09:55.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:09:55.439Z] prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container [2022-10-26T04:09:55.480Z] $ 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-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@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 [2022-10-26T04:09:57.332Z] $ docker top 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:09:57.807Z] ---> job-cost.sh [2022-10-26T04:09:57.807Z] lf-activate-venv: SKIPPING [2022-10-26T04:09:57.807Z] INFO: No Stack... [2022-10-26T04:09:58.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T04:09:58.635Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T04:09:58.953Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/cost.csv [2022-10-26T04:09:58.953Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T04:09:58.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [2022-10-26T04:09:58.996Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] did not exist. Created. [2022-10-26T04:09:58.996Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T04:09:59.385Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T04:09:59.442Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T04:09:59.465Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T04:09:59.548Z] $ docker stop --time=1 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe [2022-10-26T04:10:00.712Z] $ docker rm -f 2dff52b0771472268439c4320d04c1b14aad1ac67d3b37081014956e2e8b3dfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T04:10:32.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117065 in /w/workspace/gexfoundry_device-sdk-go_PR-1250 [Pipeline] { [Pipeline] ws [2022-10-26T04:10:32.881Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-26T04:10:32.958Z] The recommended git tool is: git [2022-10-26T04:10:39.163Z] using credential edgex-jenkins-ssh [2022-10-26T04:10:39.182Z] Cloning the remote Git repository [2022-10-26T04:10:39.233Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:10:39.323Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-26T04:10:39.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:10:39.504Z] > git --version # timeout=10 [2022-10-26T04:10:39.527Z] > git --version # 'git version 2.25.1' [2022-10-26T04:10:39.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:10:39.597Z] Verifying host key using known hosts file [2022-10-26T04:10:39.830Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T04:10:39.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T04:10:41.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T04:10:41.647Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T04:10:42.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T04:10:42.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:10:42.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:10:42.705Z] Verifying host key using known hosts file [2022-10-26T04:10:42.714Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T04:10:42.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1250/head:refs/remotes/origin/PR-1250 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T04:10:43.321Z] Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit 266727b5787047c0a0e523203b4799d9ba2ae572 [2022-10-26T04:10:43.612Z] Merge succeeded, producing 266727b5787047c0a0e523203b4799d9ba2ae572 [2022-10-26T04:10:43.613Z] Checking out Revision 266727b5787047c0a0e523203b4799d9ba2ae572 (PR-1250) [2022-10-26T04:10:44.253Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-26T04:10:44.315Z] > git --version # timeout=10 [2022-10-26T04:10:44.328Z] > git --version # 'git version 2.25.1' [2022-10-26T04:10:44.356Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-10-26T04:10:43.344Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T04:10:43.363Z] > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 [2022-10-26T04:10:43.492Z] > git remote # timeout=10 [2022-10-26T04:10:43.516Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T04:10:43.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:10:43.542Z] Verifying host key using known hosts file [2022-10-26T04:10:43.546Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T04:10:43.559Z] > git merge 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 [2022-10-26T04:10:43.591Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T04:10:43.620Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T04:10:43.643Z] > git checkout -f 266727b5787047c0a0e523203b4799d9ba2ae572 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T04:10:45.425Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T04:10:45.425Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T04:10:45.425Z] Dload Upload Total Spent Left Speed [2022-10-26T04:10:45.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-10-26T04:10:46.069Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T04:10:46.416Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-10-26T04:10:46.416Z] tee /etc/docker/daemon.new [2022-10-26T04:10:46.416Z] { [2022-10-26T04:10:46.416Z] "registry-mirrors": [ [2022-10-26T04:10:46.416Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T04:10:46.416Z] ], [2022-10-26T04:10:46.416Z] "bip": "10.250.0.254/24", [2022-10-26T04:10:46.416Z] "hosts": [ [2022-10-26T04:10:46.416Z] "tcp://0.0.0.0:5555", [2022-10-26T04:10:46.416Z] "unix:///var/run/docker.sock" [2022-10-26T04:10:46.416Z] ], [2022-10-26T04:10:46.416Z] "mtu": 1458, [2022-10-26T04:10:46.416Z] "selinux-enabled": true, [2022-10-26T04:10:46.416Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T04:10:46.416Z] } [Pipeline] sh [2022-10-26T04:10:46.775Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T04:10:47.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:11:05.482Z] provisioning config files... [2022-10-26T04:11:05.516Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8640963804840533289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:11:05.929Z] ---> docker-login.sh [2022-10-26T04:11:05.929Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:11:06.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:11:06.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:11:06.530Z] Configure a credential helper to remove this warning. See [2022-10-26T04:11:06.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:11:06.530Z] [2022-10-26T04:11:06.530Z] Login Succeeded [2022-10-26T04:11:06.802Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:11:07.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:11:07.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:11:07.075Z] Configure a credential helper to remove this warning. See [2022-10-26T04:11:07.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:11:07.075Z] [2022-10-26T04:11:07.075Z] Login Succeeded [2022-10-26T04:11:07.075Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:11:07.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:11:07.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:11:07.346Z] Configure a credential helper to remove this warning. See [2022-10-26T04:11:07.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:11:07.346Z] [2022-10-26T04:11:07.346Z] Login Succeeded [2022-10-26T04:11:07.346Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:11:07.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:11:07.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:11:07.894Z] Configure a credential helper to remove this warning. See [2022-10-26T04:11:07.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:11:07.894Z] [2022-10-26T04:11:07.894Z] Login Succeeded [2022-10-26T04:11:07.894Z] docker.io [2022-10-26T04:11:08.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:11:08.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:11:08.436Z] Configure a credential helper to remove this warning. See [2022-10-26T04:11:08.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:11:08.436Z] [2022-10-26T04:11:08.436Z] Login Succeeded [2022-10-26T04:11:08.436Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:11:08.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T04:11:08.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:11:08.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:11:08.843Z] ========================================================= [2022-10-26T04:11:08.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T04:11:08.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:11:09.436Z] + 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 . [2022-10-26T04:11:10.052Z] Sending build context to Docker daemon 5.425MB [2022-10-26T04:11:10.052Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:11:10.052Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T04:11:10.052Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T04:11:10.052Z] 9b18e9b68314: Pulling fs layer [2022-10-26T04:11:10.052Z] d32db5db7311: Pulling fs layer [2022-10-26T04:11:10.052Z] d0c4b47475fc: Pulling fs layer [2022-10-26T04:11:10.052Z] 5831b945b038: Pulling fs layer [2022-10-26T04:11:10.052Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T04:11:10.052Z] e10730c5d714: Pulling fs layer [2022-10-26T04:11:10.052Z] 5dd5c2283517: Pulling fs layer [2022-10-26T04:11:10.052Z] d5ac0230b979: Pulling fs layer [2022-10-26T04:11:10.052Z] 5831b945b038: Waiting [2022-10-26T04:11:10.052Z] 86bbec2aaacd: Waiting [2022-10-26T04:11:10.052Z] e10730c5d714: Waiting [2022-10-26T04:11:10.052Z] 5dd5c2283517: Waiting [2022-10-26T04:11:10.052Z] d5ac0230b979: Waiting [2022-10-26T04:11:10.335Z] d0c4b47475fc: Verifying Checksum [2022-10-26T04:11:10.335Z] d0c4b47475fc: Download complete [2022-10-26T04:11:10.335Z] d32db5db7311: Verifying Checksum [2022-10-26T04:11:10.335Z] d32db5db7311: Download complete [2022-10-26T04:11:10.335Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T04:11:10.335Z] 86bbec2aaacd: Download complete [2022-10-26T04:11:10.335Z] e10730c5d714: Verifying Checksum [2022-10-26T04:11:10.335Z] e10730c5d714: Download complete [2022-10-26T04:11:10.335Z] 9b18e9b68314: Verifying Checksum [2022-10-26T04:11:10.335Z] 9b18e9b68314: Download complete [2022-10-26T04:11:11.319Z] 9b18e9b68314: Pull complete [2022-10-26T04:11:11.589Z] d5ac0230b979: Verifying Checksum [2022-10-26T04:11:11.589Z] d5ac0230b979: Download complete [2022-10-26T04:11:11.860Z] d32db5db7311: Pull complete [2022-10-26T04:11:12.137Z] d0c4b47475fc: Pull complete [2022-10-26T04:11:12.736Z] 5dd5c2283517: Verifying Checksum [2022-10-26T04:11:12.736Z] 5dd5c2283517: Download complete [2022-10-26T04:11:13.324Z] 5831b945b038: Verifying Checksum [2022-10-26T04:11:13.324Z] 5831b945b038: Download complete [2022-10-26T04:11:25.692Z] 5831b945b038: Pull complete [2022-10-26T04:11:25.692Z] 86bbec2aaacd: Pull complete [2022-10-26T04:11:25.692Z] e10730c5d714: Pull complete [2022-10-26T04:11:32.372Z] 5dd5c2283517: Pull complete [2022-10-26T04:11:33.343Z] d5ac0230b979: Pull complete [2022-10-26T04:11:33.343Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T04:11:33.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T04:11:33.617Z] ---> 59b3b1a385d4 [2022-10-26T04:11:33.617Z] Step 3/10 : ARG MAKE=make build [2022-10-26T04:11:35.586Z] ---> Running in acbc92c89eab [2022-10-26T04:11:35.865Z] Removing intermediate container acbc92c89eab [2022-10-26T04:11:35.865Z] ---> f741c9bba21f [2022-10-26T04:11:35.865Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T04:11:35.865Z] ---> Running in 56472ce989fa [2022-10-26T04:11:36.455Z] Removing intermediate container 56472ce989fa [2022-10-26T04:11:36.455Z] ---> 8e69c139eb86 [2022-10-26T04:11:36.455Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:11:36.455Z] ---> Running in 8f9a39c50528 [2022-10-26T04:11:36.731Z] Removing intermediate container 8f9a39c50528 [2022-10-26T04:11:36.731Z] ---> 6bcc74aabac5 [2022-10-26T04:11:36.731Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:11:36.731Z] ---> Running in 709a830f7cc7 [2022-10-26T04:11:38.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:11:38.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:11:39.866Z] OK: 221 MiB in 51 packages [2022-10-26T04:11:40.470Z] Removing intermediate container 709a830f7cc7 [2022-10-26T04:11:40.470Z] ---> abb28beb59f2 [2022-10-26T04:11:40.470Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T04:11:41.440Z] ---> 8d3d77e79a08 [2022-10-26T04:11:41.440Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:11:41.440Z] ---> Running in 183ecb83e3c5 [2022-10-26T04:12:37.930Z] Removing intermediate container 183ecb83e3c5 [2022-10-26T04:12:37.931Z] ---> 77ae3cd00654 [2022-10-26T04:12:37.931Z] Step 9/10 : COPY . . [2022-10-26T04:12:37.931Z] ---> 61f109e50328 [2022-10-26T04:12:37.931Z] Step 10/10 : RUN ${MAKE} [2022-10-26T04:12:37.931Z] ---> Running in f067e989b10f [2022-10-26T04:12:37.931Z] noop [2022-10-26T04:12:38.523Z] Removing intermediate container f067e989b10f [2022-10-26T04:12:38.523Z] ---> 999d8262abbf [2022-10-26T04:12:38.523Z] Successfully built 999d8262abbf [2022-10-26T04:12:38.523Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:12:39.012Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T04:12:39.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:12:39.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container [2022-10-26T04:12:39.388Z] $ 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 [2022-10-26T04:12:40.771Z] $ docker top 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:12:41.677Z] + go version [2022-10-26T04:12:41.677Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T04:12:41.714Z] $ docker stop --time=1 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 [2022-10-26T04:12:43.412Z] $ docker rm -f 96b71ffa3b367806cc5833fcd32fcef29e774997d7f6af0e5eff707d18ce6a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:12:44.231Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T04:12:44.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:12:44.488Z] prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container [2022-10-26T04:12:44.565Z] $ 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 [2022-10-26T04:12:45.881Z] $ docker top f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:12:46.759Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-26T04:12:47.144Z] + make test [2022-10-26T04:12:47.411Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T04:13:26.301Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T04:15:48.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T04:15:48.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T04:15:48.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T04:15:48.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T04:15:48.054Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T04:16:00.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.501s coverage: 27.6% of statements [2022-10-26T04:16:00.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.579s coverage: 78.9% of statements [2022-10-26T04:16:00.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T04:16:07.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.479s coverage: 73.1% of statements [2022-10-26T04:16:07.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T04:16:07.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T04:16:10.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.622s coverage: 54.4% of statements [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T04:16:10.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.509s coverage: 65.1% of statements [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T04:16:10.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.177s coverage: 89.2% of statements [2022-10-26T04:16:10.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T04:16:16.362Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.282s coverage: 4.7% of statements [2022-10-26T04:16:16.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T04:16:16.629Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T04:16:16.629Z] GO111MODULE=on go vet ./... [2022-10-26T04:17:53.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T04:17:53.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T04:17:53.314Z] ./bin/test-attribution-txt.sh [2022-10-26T04:17:53.314Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T04:17:53.314Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T04:17:53.314Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T04:17:53.314Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T04:17:53.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T04:17:53.665Z] $ docker stop --time=1 f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b [2022-10-26T04:17:55.494Z] $ docker rm -f f7150f887cfe5e72b52f3e23d16309410eaf39b54fa7823f516977eb54dae47b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:17:57.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T04:17:57.151Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T04:17:57.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T04:17:58.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T04:17:58.647Z] + ls -al . [2022-10-26T04:17:58.647Z] total 276 [2022-10-26T04:17:58.647Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:12 . [2022-10-26T04:17:58.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:10 .. [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:10 .dockerignore [2022-10-26T04:17:58.647Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:10 .git [2022-10-26T04:17:58.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:10 .github [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:10 .gitignore [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:10 .golangci.yml [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:10 CHANGELOG.md [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:10 GOVERNANCE.md [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:10 Jenkinsfile [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:10 LICENSE [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:10 Makefile [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:10 OWNERS.md [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:10 README.md [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:07 VERSION [2022-10-26T04:17:58.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:10 bin [2022-10-26T04:17:58.647Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:16 coverage.out [2022-10-26T04:17:58.647Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:10 example [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:10 go.mod [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:10 go.sum [2022-10-26T04:17:58.647Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:10 internal [2022-10-26T04:17:58.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:10 openapi [2022-10-26T04:17:58.647Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:10 pkg [2022-10-26T04:17:58.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:10 snap [2022-10-26T04:17:58.647Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:17:59.072Z] + 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=266727b5787047c0a0e523203b4799d9ba2ae572 --label arch=arm64 --label version=0.0.0 . [2022-10-26T04:17:59.341Z] Sending build context to Docker daemon 5.527MB [2022-10-26T04:17:59.609Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:17:59.609Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T04:17:59.609Z] ---> 999d8262abbf [2022-10-26T04:17:59.609Z] Step 3/23 : ARG MAKE=make build [2022-10-26T04:17:59.609Z] ---> Running in 5d9d3356a26a [2022-10-26T04:17:59.878Z] Removing intermediate container 5d9d3356a26a [2022-10-26T04:17:59.878Z] ---> 4b0aca1a3917 [2022-10-26T04:17:59.878Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T04:18:00.146Z] ---> Running in 99faa318d23a [2022-10-26T04:18:00.416Z] Removing intermediate container 99faa318d23a [2022-10-26T04:18:00.416Z] ---> ddf2faa0ce7b [2022-10-26T04:18:00.416Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:18:00.416Z] ---> Running in 8739c441607e [2022-10-26T04:18:00.689Z] Removing intermediate container 8739c441607e [2022-10-26T04:18:00.689Z] ---> 3fa5654ed8e0 [2022-10-26T04:18:00.689Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:18:00.960Z] ---> Running in e861effedbb1 [2022-10-26T04:18:01.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:18:02.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:18:03.604Z] OK: 221 MiB in 51 packages [2022-10-26T04:18:04.187Z] Removing intermediate container e861effedbb1 [2022-10-26T04:18:04.187Z] ---> 5bcf62e0d5e1 [2022-10-26T04:18:04.187Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T04:18:06.141Z] ---> 9d28c3f32799 [2022-10-26T04:18:06.141Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:18:06.141Z] ---> Running in 9578b82aca51 [2022-10-26T04:18:08.086Z] Removing intermediate container 9578b82aca51 [2022-10-26T04:18:08.086Z] ---> 398b506a3830 [2022-10-26T04:18:08.086Z] Step 9/23 : COPY . . [2022-10-26T04:18:09.498Z] ---> 08cb6ec59d20 [2022-10-26T04:18:09.498Z] Step 10/23 : RUN ${MAKE} [2022-10-26T04:18:09.498Z] ---> Running in d70f2edae1f8 [2022-10-26T04:18:10.455Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-26T04:20:32.139Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T04:20:34.728Z] Removing intermediate container d70f2edae1f8 [2022-10-26T04:20:34.728Z] ---> 2df851a864e2 [2022-10-26T04:20:34.728Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T04:20:35.314Z] 3.16: Pulling from library/alpine [2022-10-26T04:20:35.583Z] 9b18e9b68314: Already exists [2022-10-26T04:20:35.583Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T04:20:35.583Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T04:20:35.849Z] ---> a6215f271958 [2022-10-26T04:20:35.849Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:20:35.849Z] ---> Running in 72e193f1c635 [2022-10-26T04:20:36.117Z] Removing intermediate container 72e193f1c635 [2022-10-26T04:20:36.117Z] ---> bf49afb3f0f3 [2022-10-26T04:20:36.117Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T04:20:36.117Z] ---> Running in 73cf7955d927 [2022-10-26T04:20:37.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:20:37.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:20:38.945Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T04:20:38.945Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T04:20:38.945Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T04:20:38.945Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T04:20:38.945Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T04:20:38.945Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T04:20:38.945Z] OK: 8 MiB in 19 packages [2022-10-26T04:20:40.572Z] Removing intermediate container 73cf7955d927 [2022-10-26T04:20:40.572Z] ---> af057e6be613 [2022-10-26T04:20:40.572Z] Step 14/23 : WORKDIR / [2022-10-26T04:20:40.572Z] ---> Running in 35f00b7dd94e [2022-10-26T04:20:40.846Z] Removing intermediate container 35f00b7dd94e [2022-10-26T04:20:40.846Z] ---> c6dda2dd3e22 [2022-10-26T04:20:40.846Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T04:20:41.450Z] ---> 27d1f22eed6a [2022-10-26T04:20:41.450Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T04:20:42.913Z] ---> 91027304cc23 [2022-10-26T04:20:42.913Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T04:20:43.193Z] ---> bc8cd26a9fa3 [2022-10-26T04:20:43.193Z] Step 18/23 : EXPOSE 59999 [2022-10-26T04:20:43.473Z] ---> Running in ee38a1963faa [2022-10-26T04:20:43.754Z] Removing intermediate container ee38a1963faa [2022-10-26T04:20:43.754Z] ---> 4fc356c4bf65 [2022-10-26T04:20:43.755Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T04:20:43.755Z] ---> Running in 3b483dc9394a [2022-10-26T04:20:44.028Z] Removing intermediate container 3b483dc9394a [2022-10-26T04:20:44.028Z] ---> cbc5f42adfb4 [2022-10-26T04:20:44.029Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T04:20:44.306Z] ---> Running in 67b3e8550ed7 [2022-10-26T04:20:44.575Z] Removing intermediate container 67b3e8550ed7 [2022-10-26T04:20:44.575Z] ---> f462b0bbd5f5 [2022-10-26T04:20:44.575Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T04:20:44.575Z] ---> Running in 3f7ab4a30e2b [2022-10-26T04:20:44.843Z] Removing intermediate container 3f7ab4a30e2b [2022-10-26T04:20:44.843Z] ---> 022e0c30fa50 [2022-10-26T04:20:44.843Z] Step 22/23 : LABEL git_sha=266727b5787047c0a0e523203b4799d9ba2ae572 [2022-10-26T04:20:45.112Z] ---> Running in b4da096e9bdc [2022-10-26T04:20:45.380Z] Removing intermediate container b4da096e9bdc [2022-10-26T04:20:45.380Z] ---> 0d6b82261043 [2022-10-26T04:20:45.380Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T04:20:45.380Z] ---> Running in 65ab0db7d96d [2022-10-26T04:20:45.648Z] Removing intermediate container 65ab0db7d96d [2022-10-26T04:20:45.648Z] ---> 18a311c21d65 [2022-10-26T04:20:45.648Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T04:20:45.648Z] Successfully built 18a311c21d65 [2022-10-26T04:20:45.648Z] 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 [2022-10-26T04:20:46.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:20:46.410Z] [2022-10-26T04:20:46.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:20:46.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:20:46.812Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T04:20:46.812Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T04:20:46.812Z] 04944245beec: Pulling fs layer [2022-10-26T04:20:46.812Z] 699f458cf7ca: Pulling fs layer [2022-10-26T04:20:46.812Z] 765212b225bb: Pulling fs layer [2022-10-26T04:20:46.812Z] f23df028b6ca: Pulling fs layer [2022-10-26T04:20:46.812Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T04:20:46.812Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T04:20:46.812Z] 765212b225bb: Waiting [2022-10-26T04:20:46.812Z] f23df028b6ca: Waiting [2022-10-26T04:20:46.812Z] d65c8cfc05b1: Waiting [2022-10-26T04:20:46.812Z] 2437ff75d9bd: Waiting [2022-10-26T04:20:47.083Z] 04944245beec: Verifying Checksum [2022-10-26T04:20:47.083Z] 04944245beec: Download complete [2022-10-26T04:20:47.083Z] 765212b225bb: Verifying Checksum [2022-10-26T04:20:47.083Z] 765212b225bb: Download complete [2022-10-26T04:20:47.083Z] f23df028b6ca: Verifying Checksum [2022-10-26T04:20:47.083Z] f23df028b6ca: Download complete [2022-10-26T04:20:47.083Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T04:20:47.083Z] d65c8cfc05b1: Download complete [2022-10-26T04:20:47.083Z] 699f458cf7ca: Verifying Checksum [2022-10-26T04:20:47.083Z] 699f458cf7ca: Download complete [2022-10-26T04:20:47.670Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T04:20:47.670Z] 8998bd30e6a1: Download complete [2022-10-26T04:20:50.250Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T04:20:50.250Z] 2437ff75d9bd: Download complete [2022-10-26T04:20:51.657Z] 8998bd30e6a1: Pull complete [2022-10-26T04:20:51.927Z] 04944245beec: Pull complete [2022-10-26T04:20:53.337Z] 699f458cf7ca: Pull complete [2022-10-26T04:20:53.604Z] 765212b225bb: Pull complete [2022-10-26T04:20:54.566Z] f23df028b6ca: Pull complete [2022-10-26T04:20:54.566Z] d65c8cfc05b1: Pull complete [2022-10-26T04:21:09.556Z] 2437ff75d9bd: Pull complete [2022-10-26T04:21:09.557Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T04:21:09.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:21:09.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:21:09.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-117065 does not seem to be running inside a container [2022-10-26T04:21:09.959Z] $ 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 [2022-10-26T04:21:12.680Z] $ docker top 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:13.583Z] ---> job-cost.sh [2022-10-26T04:21:13.583Z] lf-activate-venv: SKIPPING [2022-10-26T04:21:13.583Z] INFO: No Stack... [2022-10-26T04:21:14.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T04:21:14.753Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T04:21:15.430Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-26T04:21:15.430Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T04:21:15.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [2022-10-26T04:21:15.491Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] did not exist. Created. [2022-10-26T04:21:15.491Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T04:21:16.228Z] /w/workspace/device-sdk-go/1@tmp/durable-8746e781/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T04:21:16.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T04:21:16.947Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T04:21:17.010Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T04:21:17.026Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T04:21:17.109Z] $ docker stop --time=1 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 [2022-10-26T04:21:18.617Z] $ docker rm -f 88675b29a8862efb3c3e586c4313d28499b711117caf87ae46ac6759145d1f48 [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 [2022-10-26T04:21:19.571Z] provisioning config files... [2022-10-26T04:21:19.578Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config9943425494598182095tmp [Pipeline] { [Pipeline] sh [2022-10-26T04:21:19.923Z] + set +x [2022-10-26T04:21:19.923Z] + bash -s -- [2022-10-26T04:21:19.923Z] + curl -s https://codecov.io/bash [2022-10-26T04:21:19.923Z] [2022-10-26T04:21:19.923Z] _____ _ [2022-10-26T04:21:19.923Z] / ____| | | [2022-10-26T04:21:19.923Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T04:21:19.923Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T04:21:19.923Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T04:21:19.923Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T04:21:19.923Z] Bash-1.0.6 [2022-10-26T04:21:19.923Z] [2022-10-26T04:21:19.923Z] [2022-10-26T04:21:19.923Z] ==> git version 2.25.1 found [2022-10-26T04:21:19.923Z] ==> 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 [2022-10-26T04:21:19.923Z] Release-Date: 2020-01-08 [2022-10-26T04:21:19.923Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T04:21:19.923Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T04:21:19.923Z] ==> Jenkins CI detected. [2022-10-26T04:21:19.923Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1250 [2022-10-26T04:21:19.923Z] project root: . [2022-10-26T04:21:19.923Z] --> token set from env [2022-10-26T04:21:19.923Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T04:21:19.923Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T04:21:19.923Z] ==> Python coveragepy not found [2022-10-26T04:21:19.923Z] ==> Searching for coverage reports in: [2022-10-26T04:21:19.923Z] + . [2022-10-26T04:21:19.923Z] -> Found 1 reports [2022-10-26T04:21:19.923Z] ==> Detecting git/mercurial file structure [2022-10-26T04:21:19.923Z] ==> Reading reports [2022-10-26T04:21:19.923Z] + ./coverage.out bytes=101759 [2022-10-26T04:21:19.923Z] ==> Appending adjustments [2022-10-26T04:21:19.923Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T04:21:20.183Z] + Found adjustments [2022-10-26T04:21:20.183Z] ==> Gzipping contents [2022-10-26T04:21:20.443Z] 16K /tmp/codecov.OaO57p.gz [2022-10-26T04:21:20.443Z] ==> Uploading reports [2022-10-26T04:21:20.443Z] url: https://codecov.io [2022-10-26T04:21:20.443Z] query: branch=PR-1250&commit=266727b5787047c0a0e523203b4799d9ba2ae572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1250&job=&cmd_args= [2022-10-26T04:21:20.443Z] -> Pinging Codecov [2022-10-26T04:21:20.443Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1250&commit=266727b5787047c0a0e523203b4799d9ba2ae572&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1250&job=&cmd_args= [2022-10-26T04:21:20.705Z] -> Uploading to [2022-10-26T04:21:20.705Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/266727b5787047c0a0e523203b4799d9ba2ae572/27dee6ea-a7a2-45b5-b3cc-5d2608c2ed74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T042120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db2fbd742f5b91f263fcc00bc39cb17214e8d578edd6d408f4b9b8593ffe03dc [2022-10-26T04:21:20.705Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T04:21:20.705Z] Dload Upload Total Spent Left Speed [2022-10-26T04:21:20.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14702 0 0 100 14702 0 64482 --:--:-- --:--:-- --:--:-- 64482 [2022-10-26T04:21:20.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/266727b5787047c0a0e523203b4799d9ba2ae572 [Pipeline] } [2022-10-26T04:21:20.995Z] 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 [2022-10-26T04:21:22.699Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives ] [2022-10-26T04:21:22.699Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives [2022-10-26T04:21:22.699Z] total 16 [2022-10-26T04:21:22.699Z] drwxr-xr-x 3 root root 4096 Oct 26 04:09 . [2022-10-26T04:21:22.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. [2022-10-26T04:21:22.699Z] drwxr-xr-x 2 root root 4096 Oct 26 04:09 cost [2022-10-26T04:21:22.699Z] -rw-r--r-- 1 root root 86 Oct 26 04:09 cost.csv [2022-10-26T04:21:22.699Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives [2022-10-26T04:21:22.699Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives [2022-10-26T04:21:22.699Z] total 16 [2022-10-26T04:21:22.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:09 . [2022-10-26T04:21:22.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. [2022-10-26T04:21:22.699Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 04:09 cost [2022-10-26T04:21:22.699Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:23.037Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:23.929Z] ---> package-listing.sh [2022-10-26T04:21:23.929Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T04:21:23.929Z] ++ facter osfamily [2022-10-26T04:21:24.188Z] + OS_FAMILY=debian [2022-10-26T04:21:24.188Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1250 [2022-10-26T04:21:24.188Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T04:21:24.188Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T04:21:24.188Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T04:21:24.188Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T04:21:24.188Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1250 ']' [2022-10-26T04:21:24.188Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T04:21:24.188Z] + case "${OS_FAMILY}" in [2022-10-26T04:21:24.188Z] + dpkg -l [2022-10-26T04:21:24.188Z] + grep '^ii' [2022-10-26T04:21:24.188Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T04:21:24.188Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T04:21:24.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T04:21:24.188Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1250 ']' [2022-10-26T04:21:24.188Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/ [2022-10-26T04:21:24.188Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1250/archives/ [Pipeline] echo [2022-10-26T04:21:24.225Z] 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-1250/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T04:21:24.520Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:21:25.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:21:25.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:21:25.296Z] prd-ubuntu20.04-docker-8c-8g-117061 does not seem to be running inside a container [2022-10-26T04:21:25.326Z] $ 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-1250/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-1250 -v /w/workspace/gexfoundry_device-sdk-go_PR-1250:/w/workspace/gexfoundry_device-sdk-go_PR-1250:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1250@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 [2022-10-26T04:21:25.536Z] $ docker top 0b5baae912302f6e885d036edaa5a40ba273e46794b1052c49f26b60aab732a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:21:25.941Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T04:21:26.256Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T04:21:26.559Z] + ls /var/log/sa-host [2022-10-26T04:21:26.559Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:21:26.700Z] provisioning config files... [2022-10-26T04:21:26.709Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1250@tmp/config3910874257009210721tmp [Pipeline] { [Pipeline] echo [2022-10-26T04:21:26.760Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:27.091Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T04:21:27.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:27.520Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T04:21:27.553Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:27.870Z] ---> sudo-logs.sh [2022-10-26T04:21:27.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T04:21:27.962Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:28.274Z] ---> job-cost.sh [2022-10-26T04:21:28.274Z] lf-activate-venv: SKIPPING [2022-10-26T04:21:28.274Z] DEBUG: total: 0.2199999988079071 [2022-10-26T04:21:28.274Z] INFO: Retrieving Stack Cost... [2022-10-26T04:21:28.842Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T04:21:29.102Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T04:21:29.136Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:21:29.448Z] ---> logs-deploy.sh [2022-10-26T04:21:29.448Z] lf-activate-venv: SKIPPING [2022-10-26T04:21:29.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1250/1 [2022-10-26T04:21:29.448Z] INFO: archiving workspace using pattern(s): [2022-10-26T04:21:30.384Z] Archives upload complete. [2022-10-26T04:21:30.384Z] INFO: archiving logs to Nexus