cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4784eae9ccf763c7ae31f1170af2777237b51f1a+98b98247f9133d8f7aed6314c982956ab2f73d9e (5143dffceb0afb33ce51a725b9f6504cd2c62285) 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-ssh6460998509965373727.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9879581911861910906.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10845326734032612434.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16291705164876835260.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6998210262744986669.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-419’ is offline Running on prd-ubuntu20.04-docker-8c-8g-421 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [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-1210 # 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/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # 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 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 Commit message: "refactor: refactor device command application layer" > git rev-list --no-walk 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T05:18:28.824Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-21T05:18:28.877Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T05:18:28.890Z] ========================================================= [2022-09-21T05:18:28.890Z] EdgeX Global Pipelines Version Info [2022-09-21T05:18:28.890Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:18:29.590Z] ------------------- [2022-09-21T05:18:29.590Z] stable info: [2022-09-21T05:18:29.590Z] ------------------- [2022-09-21T05:18:29.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T05:18:29.590Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T05:18:29.590Z] Message: update stable to v1.0.239 [2022-09-21T05:18:30.159Z] ------------------- [2022-09-21T05:18:30.159Z] experimental info: [2022-09-21T05:18:30.159Z] ------------------- [2022-09-21T05:18:30.159Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T05:18:30.159Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T05:18:30.159Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T05:18:30.322Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-21T05:18:30.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-21T05:18:30.347Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T05:18:30.355Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T05:18:30.366Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T05:18:30.376Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T05:18:30.387Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T05:18:30.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-21T05:18:30.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T05:18:30.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T05:18:30.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T05:18:30.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-21T05:18:30.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T05:18:30.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T05:18:30.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T05:18:30.477Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:18:30.487Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:18:30.497Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:18:30.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T05:18:30.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T05:18:30.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-21T05:18:30.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-21T05:18:30.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T05:18:30.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T05:18:30.579Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T05:18:30.590Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T05:18:30.601Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T05:18:30.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1210 [Pipeline] echo [2022-09-21T05:18:30.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1210 [Pipeline] echo [2022-09-21T05:18:30.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1210 [Pipeline] echo [2022-09-21T05:18:30.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:18:30.657Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4784eae [Pipeline] echo [2022-09-21T05:18:30.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:18:30.711Z] provisioning config files... [2022-09-21T05:18:30.726Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config3920349912106360562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:18:31.044Z] ---> docker-login.sh [2022-09-21T05:18:31.044Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:18:31.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:31.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:31.309Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:31.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:31.309Z] [2022-09-21T05:18:31.309Z] Login Succeeded [2022-09-21T05:18:31.309Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:18:31.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:31.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:31.309Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:31.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:31.309Z] [2022-09-21T05:18:31.309Z] Login Succeeded [2022-09-21T05:18:31.309Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:18:31.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:31.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:31.584Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:31.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:31.584Z] [2022-09-21T05:18:31.584Z] Login Succeeded [2022-09-21T05:18:31.584Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:18:31.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:31.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:31.584Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:31.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:31.584Z] [2022-09-21T05:18:31.584Z] Login Succeeded [2022-09-21T05:18:31.584Z] docker.io [2022-09-21T05:18:31.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:32.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:32.106Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:32.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:32.106Z] [2022-09-21T05:18:32.106Z] Login Succeeded [2022-09-21T05:18:32.106Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:18:32.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T05:18:32.485Z] + git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:18:32.517Z] -----------> git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a 4784eae9ccf763c7ae31f1170af2777237b51f1a [false] [Pipeline] sh [2022-09-21T05:18:32.802Z] + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:18:32.816Z] ========================================================= [2022-09-21T05:18:32.816Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T05:18:32.816Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:18:33.128Z] + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:18:33.138Z] [semverPrep] GIT_COMMIT: 4784eae9ccf763c7ae31f1170af2777237b51f1a, Commit Message: refactor: refactor device command application layer [Pipeline] echo [2022-09-21T05:18:33.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T05:18:33.490Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T05:18:33.490Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T05:18:33.490Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T05:18:33.490Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T05:18:33.490Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T05:18:33.490Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T05:18:33.490Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:18:33.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:18:33.846Z] [2022-09-21T05:18:33.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:18:34.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:18:34.146Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T05:18:34.146Z] b85a868b505f: Pulling fs layer [2022-09-21T05:18:34.146Z] e2be974225ed: Pulling fs layer [2022-09-21T05:18:34.146Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T05:18:34.146Z] 988bab9f4d93: Pulling fs layer [2022-09-21T05:18:34.146Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T05:18:34.146Z] eaf3925da568: Pulling fs layer [2022-09-21T05:18:34.146Z] bab4dde63d76: Pulling fs layer [2022-09-21T05:18:34.146Z] bde34c3a00c8: Pulling fs layer [2022-09-21T05:18:34.146Z] b352a97aabf1: Pulling fs layer [2022-09-21T05:18:34.146Z] 4872d77fe225: Pulling fs layer [2022-09-21T05:18:34.146Z] 5851b861e8e6: Pulling fs layer [2022-09-21T05:18:34.146Z] bab4dde63d76: Waiting [2022-09-21T05:18:34.146Z] 4872d77fe225: Waiting [2022-09-21T05:18:34.146Z] bde34c3a00c8: Waiting [2022-09-21T05:18:34.146Z] 5851b861e8e6: Waiting [2022-09-21T05:18:34.146Z] b352a97aabf1: Waiting [2022-09-21T05:18:34.146Z] 1469e6f7b9e6: Waiting [2022-09-21T05:18:34.146Z] e2be974225ed: Verifying Checksum [2022-09-21T05:18:34.146Z] e2be974225ed: Download complete [2022-09-21T05:18:34.146Z] 988bab9f4d93: Verifying Checksum [2022-09-21T05:18:34.146Z] 988bab9f4d93: Download complete [2022-09-21T05:18:34.411Z] 1469e6f7b9e6: Verifying Checksum [2022-09-21T05:18:34.411Z] 1469e6f7b9e6: Download complete [2022-09-21T05:18:34.411Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T05:18:34.411Z] 339a4e72a1f5: Download complete [2022-09-21T05:18:34.411Z] eaf3925da568: Verifying Checksum [2022-09-21T05:18:34.411Z] eaf3925da568: Download complete [2022-09-21T05:18:34.411Z] bde34c3a00c8: Verifying Checksum [2022-09-21T05:18:34.411Z] bde34c3a00c8: Download complete [2022-09-21T05:18:34.411Z] b352a97aabf1: Verifying Checksum [2022-09-21T05:18:34.411Z] b352a97aabf1: Download complete [2022-09-21T05:18:34.411Z] 4872d77fe225: Verifying Checksum [2022-09-21T05:18:34.411Z] 4872d77fe225: Download complete [2022-09-21T05:18:34.411Z] 5851b861e8e6: Download complete [2022-09-21T05:18:34.411Z] b85a868b505f: Verifying Checksum [2022-09-21T05:18:34.411Z] b85a868b505f: Download complete [2022-09-21T05:18:34.985Z] bab4dde63d76: Verifying Checksum [2022-09-21T05:18:34.985Z] bab4dde63d76: Download complete [2022-09-21T05:18:35.556Z] b85a868b505f: Pull complete [2022-09-21T05:18:35.815Z] e2be974225ed: Pull complete [2022-09-21T05:18:36.385Z] 339a4e72a1f5: Pull complete [2022-09-21T05:18:36.385Z] 988bab9f4d93: Pull complete [2022-09-21T05:18:36.646Z] 1469e6f7b9e6: Pull complete [2022-09-21T05:18:36.646Z] eaf3925da568: Pull complete [2022-09-21T05:18:38.551Z] bab4dde63d76: Pull complete [2022-09-21T05:18:38.551Z] bde34c3a00c8: Pull complete [2022-09-21T05:18:38.811Z] b352a97aabf1: Pull complete [2022-09-21T05:18:38.811Z] 4872d77fe225: Pull complete [2022-09-21T05:18:39.073Z] 5851b861e8e6: Pull complete [2022-09-21T05:18:39.073Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T05:18:39.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:18:39.073Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:18:39.169Z] prd-ubuntu20.04-docker-8c-8g-421 does not seem to be running inside a container [2022-09-21T05:18:39.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T05:18:42.094Z] $ docker top 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e -eo pid,comm [2022-09-21T05:18:42.151Z] 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-09-21T05:18:42.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T05:18:42.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T05:18:42.194Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T05:18:42.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T05:18:42.329Z] $ docker exec 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e ssh-agent [2022-09-21T05:18:42.442Z] SSH_AUTH_SOCK=/tmp/ssh-s9dhhsa7OVic/agent.32 [2022-09-21T05:18:42.442Z] SSH_AGENT_PID=38 [2022-09-21T05:18:42.448Z] Running ssh-add (command line suppressed) [2022-09-21T05:18:42.567Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_14489275627093707680.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_14489275627093707680.key) [2022-09-21T05:18:42.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T05:18:42.927Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T05:18:42.957Z] $ docker exec --env ******** --env ******** 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e ssh-agent -k [2022-09-21T05:18:43.078Z] unset SSH_AUTH_SOCK; [2022-09-21T05:18:43.079Z] unset SSH_AGENT_PID; [2022-09-21T05:18:43.080Z] echo Agent pid 38 killed; [2022-09-21T05:18:43.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T05:18:43.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T05:18:43.112Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T05:18:43.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T05:18:43.230Z] $ docker exec 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e ssh-agent [2022-09-21T05:18:43.341Z] SSH_AUTH_SOCK=/tmp/ssh-j9uAZK5WhyWJ/agent.70 [2022-09-21T05:18:43.341Z] SSH_AGENT_PID=76 [2022-09-21T05:18:43.347Z] Running ssh-add (command line suppressed) [2022-09-21T05:18:43.454Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_5938636232888130873.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_5938636232888130873.key) [2022-09-21T05:18:43.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T05:18:43.758Z] + git semver init [2022-09-21T05:18:44.018Z] 2022-09-21 05:18:43,953 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T05:18:44.018Z] 2022-09-21 05:18:43,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-21T05:18:44.018Z] 2022-09-21 05:18:43,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-21T05:18:44.018Z] 2022-09-21 05:18:43,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210, universal_newlines=False, shell=None, istream=None) [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,941 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.git/info/exclude [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 with force:False [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,942 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,946 [execute] INFO git cat-file --batch-check [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,951 [execute] INFO git cat-file --batch [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T05:18:44.956Z] 2022-09-21 05:18:44,956 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-21T05:18:44.956Z] 0.0.0 [Pipeline] } [2022-09-21T05:18:45.226Z] $ docker exec --env ******** --env ******** 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e ssh-agent -k [2022-09-21T05:18:45.326Z] unset SSH_AUTH_SOCK; [2022-09-21T05:18:45.326Z] unset SSH_AGENT_PID; [2022-09-21T05:18:45.326Z] echo Agent pid 76 killed; [2022-09-21T05:18:45.338Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T05:18:45.640Z] + git semver [Pipeline] } [2022-09-21T05:18:45.934Z] $ docker stop --time=1 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e [2022-09-21T05:18:47.225Z] $ docker rm -f 257a241fcd39aaf4718999270ac89d33c4c732a7f1ebec27fd4007d0e494488e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:18:47.568Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T05:18:47.758Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T05:18:47.761Z] [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-09-21T05:18:47.887Z] provisioning config files... [2022-09-21T05:18:47.896Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config1691628217622929403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:18:48.193Z] ---> docker-login.sh [2022-09-21T05:18:48.193Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:18:48.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:48.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:48.193Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:48.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:48.193Z] [2022-09-21T05:18:48.193Z] Login Succeeded [2022-09-21T05:18:48.193Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:18:48.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:48.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:48.193Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:48.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:48.193Z] [2022-09-21T05:18:48.193Z] Login Succeeded [2022-09-21T05:18:48.193Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:18:48.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:48.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:48.459Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:48.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:48.459Z] [2022-09-21T05:18:48.459Z] Login Succeeded [2022-09-21T05:18:48.459Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:18:48.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:48.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:48.459Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:48.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:48.459Z] [2022-09-21T05:18:48.459Z] Login Succeeded [2022-09-21T05:18:48.459Z] docker.io [2022-09-21T05:18:48.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:18:48.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:18:48.979Z] Configure a credential helper to remove this warning. See [2022-09-21T05:18:48.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:18:48.979Z] [2022-09-21T05:18:48.979Z] Login Succeeded [2022-09-21T05:18:48.979Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:18:48.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T05:18:49.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:18:49.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:18:49.072Z] ========================================================= [2022-09-21T05:18:49.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T05:18:49.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:18:49.370Z] + 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-09-21T05:18:49.370Z] Sending build context to Docker daemon 9.867MB [2022-09-21T05:18:49.370Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:18:49.370Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-21T05:18:49.370Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T05:18:49.370Z] 2408cc74d12b: Pulling fs layer [2022-09-21T05:18:49.370Z] ea60b727a1ce: Pulling fs layer [2022-09-21T05:18:49.370Z] 30c4a7721957: Pulling fs layer [2022-09-21T05:18:49.370Z] 370296b7ddb6: Pulling fs layer [2022-09-21T05:18:49.370Z] 7c6cee850709: Pulling fs layer [2022-09-21T05:18:49.370Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T05:18:49.370Z] d94ebbe4e438: Pulling fs layer [2022-09-21T05:18:49.370Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T05:18:49.370Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T05:18:49.370Z] 370296b7ddb6: Waiting [2022-09-21T05:18:49.370Z] 39a5fcdaea64: Waiting [2022-09-21T05:18:49.370Z] 7c6cee850709: Waiting [2022-09-21T05:18:49.370Z] d94ebbe4e438: Waiting [2022-09-21T05:18:49.370Z] 59ccb84bbe0f: Waiting [2022-09-21T05:18:49.370Z] bcfd1f05c69d: Waiting [2022-09-21T05:18:49.370Z] 30c4a7721957: Verifying Checksum [2022-09-21T05:18:49.370Z] 30c4a7721957: Download complete [2022-09-21T05:18:49.630Z] ea60b727a1ce: Verifying Checksum [2022-09-21T05:18:49.630Z] ea60b727a1ce: Download complete [2022-09-21T05:18:49.630Z] 7c6cee850709: Verifying Checksum [2022-09-21T05:18:49.630Z] 7c6cee850709: Download complete [2022-09-21T05:18:49.630Z] 39a5fcdaea64: Download complete [2022-09-21T05:18:49.630Z] 2408cc74d12b: Verifying Checksum [2022-09-21T05:18:49.630Z] 2408cc74d12b: Download complete [2022-09-21T05:18:49.630Z] d94ebbe4e438: Verifying Checksum [2022-09-21T05:18:49.630Z] d94ebbe4e438: Download complete [2022-09-21T05:18:49.630Z] 2408cc74d12b: Pull complete [2022-09-21T05:18:49.893Z] ea60b727a1ce: Pull complete [2022-09-21T05:18:49.894Z] 30c4a7721957: Pull complete [2022-09-21T05:18:50.153Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T05:18:50.153Z] 59ccb84bbe0f: Download complete [2022-09-21T05:18:50.413Z] 370296b7ddb6: Verifying Checksum [2022-09-21T05:18:50.413Z] 370296b7ddb6: Download complete [2022-09-21T05:18:50.413Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T05:18:50.413Z] bcfd1f05c69d: Download complete [2022-09-21T05:18:54.610Z] 370296b7ddb6: Pull complete [2022-09-21T05:18:54.610Z] 7c6cee850709: Pull complete [2022-09-21T05:18:54.610Z] 39a5fcdaea64: Pull complete [2022-09-21T05:18:54.610Z] d94ebbe4e438: Pull complete [2022-09-21T05:18:57.148Z] bcfd1f05c69d: Pull complete [2022-09-21T05:18:57.715Z] 59ccb84bbe0f: Pull complete [2022-09-21T05:18:57.715Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T05:18:57.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T05:18:57.715Z] ---> a4fb48ad2a94 [2022-09-21T05:18:57.715Z] Step 3/11 : ARG MAKE=make build [2022-09-21T05:19:01.911Z] ---> Running in be1ac5a2ed2a [2022-09-21T05:19:01.911Z] Removing intermediate container be1ac5a2ed2a [2022-09-21T05:19:01.911Z] ---> dcc16d4cddd1 [2022-09-21T05:19:01.911Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-21T05:19:02.170Z] ---> Running in 7b256da8f2da [2022-09-21T05:19:02.170Z] Removing intermediate container 7b256da8f2da [2022-09-21T05:19:02.170Z] ---> 1de31faf5292 [2022-09-21T05:19:02.170Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:19:02.171Z] ---> Running in c3eff5f8c00b [2022-09-21T05:19:02.171Z] Removing intermediate container c3eff5f8c00b [2022-09-21T05:19:02.171Z] ---> 4b3d0c4f39da [2022-09-21T05:19:02.171Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:19:02.434Z] ---> Running in 85cb7a42e5e9 [2022-09-21T05:19:02.852Z] Still waiting to schedule task [2022-09-21T05:19:02.852Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-21T05:19:03.001Z] Removing intermediate container 85cb7a42e5e9 [2022-09-21T05:19:03.001Z] ---> 2744093418bc [2022-09-21T05:19:03.001Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:19:03.001Z] ---> Running in 5a4c417dee00 [2022-09-21T05:19:03.259Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:19:04.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:19:04.458Z] OK: 211 MiB in 51 packages [2022-09-21T05:19:04.716Z] Removing intermediate container 5a4c417dee00 [2022-09-21T05:19:04.716Z] ---> 1f178a2154d3 [2022-09-21T05:19:04.716Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-21T05:19:04.975Z] ---> b5bcdfb9ff07 [2022-09-21T05:19:04.975Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:19:04.975Z] ---> Running in 2f4ce3b1eb4b [2022-09-21T05:19:26.931Z] Removing intermediate container 2f4ce3b1eb4b [2022-09-21T05:19:26.931Z] ---> 53e7ada715a0 [2022-09-21T05:19:26.931Z] Step 10/11 : COPY . . [2022-09-21T05:19:26.931Z] ---> 93d6f992600b [2022-09-21T05:19:26.931Z] Step 11/11 : RUN ${MAKE} [2022-09-21T05:19:26.931Z] ---> Running in f73c0cb42280 [2022-09-21T05:19:26.931Z] noop [2022-09-21T05:19:26.931Z] Removing intermediate container f73c0cb42280 [2022-09-21T05:19:26.931Z] ---> af8889acba87 [2022-09-21T05:19:26.931Z] Successfully built af8889acba87 [2022-09-21T05:19:26.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:19:27.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T05:19:27.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:19:27.299Z] prd-ubuntu20.04-docker-8c-8g-421 does not seem to be running inside a container [2022-09-21T05:19:27.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T05:19:27.656Z] $ docker top 792ab49084aa919544fad642c5dd242d7a23e1e297c6fff1901b8b469b5faea0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:19:27.994Z] + go version [2022-09-21T05:19:27.994Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T05:19:28.007Z] $ docker stop --time=1 792ab49084aa919544fad642c5dd242d7a23e1e297c6fff1901b8b469b5faea0 [2022-09-21T05:19:29.274Z] $ docker rm -f 792ab49084aa919544fad642c5dd242d7a23e1e297c6fff1901b8b469b5faea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:19:29.645Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T05:19:29.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:19:29.709Z] prd-ubuntu20.04-docker-8c-8g-421 does not seem to be running inside a container [2022-09-21T05:19:29.736Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T05:19:30.085Z] $ docker top b432a11d9c877be6f3c1d1881d969c9db41027327e654f6c534cbc259114cd86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:19:30.425Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] fileExists [Pipeline] sh [2022-09-21T05:19:30.716Z] + make test [2022-09-21T05:19:30.717Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-21T05:19:37.280Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-21T05:19:49.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-09-21T05:19:49.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-21T05:19:49.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 60.0% of statements [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-21T05:19:49.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-21T05:19:50.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-21T05:19:50.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-21T05:19:50.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.745s coverage: 89.2% of statements [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-21T05:19:50.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.5% of statements [2022-09-21T05:19:50.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-21T05:20:04.955Z] 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-09-21T05:20:04.956Z] GO111MODULE=on go vet ./... [2022-09-21T05:20:08.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T05:20:08.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T05:20:08.238Z] ./bin/test-attribution-txt.sh [2022-09-21T05:20:08.238Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-21T05:20:08.238Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T05:20:08.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T05:20:08.524Z] $ docker stop --time=1 b432a11d9c877be6f3c1d1881d969c9db41027327e654f6c534cbc259114cd86 [2022-09-21T05:20:12.531Z] $ docker rm -f b432a11d9c877be6f3c1d1881d969c9db41027327e654f6c534cbc259114cd86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:20:13.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T05:20:13.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T05:20:13.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T05:20:14.012Z] + ls -al . [2022-09-21T05:20:14.012Z] total 276 [2022-09-21T05:20:14.012Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 05:19 . [2022-09-21T05:20:14.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:18 .. [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:18 .dockerignore [2022-09-21T05:20:14.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:19 .git [2022-09-21T05:20:14.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:18 .github [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:18 .gitignore [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:18 .golangci.yml [2022-09-21T05:20:14.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:18 .semver [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:18 CHANGELOG.md [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:18 GOVERNANCE.md [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:18 Jenkinsfile [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:18 LICENSE [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:18 Makefile [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:18 OWNERS.md [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:18 README.md [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:18 VERSION [2022-09-21T05:20:14.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:18 bin [2022-09-21T05:20:14.012Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:19 coverage.out [2022-09-21T05:20:14.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:18 example [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:18 go.mod [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:18 go.sum [2022-09-21T05:20:14.012Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:18 internal [2022-09-21T05:20:14.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:18 openapi [2022-09-21T05:20:14.012Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:18 pkg [2022-09-21T05:20:14.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:18 snap [2022-09-21T05:20:14.012Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:20:14.317Z] + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=amd64 --label version=0.0.0 . [2022-09-21T05:20:14.317Z] Sending build context to Docker daemon 9.969MB [2022-09-21T05:20:14.317Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:20:14.317Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-21T05:20:14.317Z] ---> af8889acba87 [2022-09-21T05:20:14.317Z] Step 3/25 : ARG MAKE=make build [2022-09-21T05:20:14.577Z] ---> Running in 26d93f894e13 [2022-09-21T05:20:14.577Z] Removing intermediate container 26d93f894e13 [2022-09-21T05:20:14.577Z] ---> c34e63e3ee72 [2022-09-21T05:20:14.577Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-21T05:20:14.577Z] ---> Running in 81debad48ac0 [2022-09-21T05:20:14.836Z] Removing intermediate container 81debad48ac0 [2022-09-21T05:20:14.836Z] ---> cc7ba144bbe4 [2022-09-21T05:20:14.836Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:20:14.836Z] ---> Running in 878a345d0af0 [2022-09-21T05:20:14.836Z] Removing intermediate container 878a345d0af0 [2022-09-21T05:20:14.836Z] ---> 1f8b4630e809 [2022-09-21T05:20:14.836Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:20:14.836Z] ---> Running in 443a5f4a2df8 [2022-09-21T05:20:15.404Z] Removing intermediate container 443a5f4a2df8 [2022-09-21T05:20:15.404Z] ---> 39e772c53f54 [2022-09-21T05:20:15.404Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:20:15.404Z] ---> Running in 3b3e0266ac55 [2022-09-21T05:20:15.663Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:20:16.604Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:20:16.863Z] OK: 211 MiB in 51 packages [2022-09-21T05:20:17.127Z] Removing intermediate container 3b3e0266ac55 [2022-09-21T05:20:17.127Z] ---> d197407e16e4 [2022-09-21T05:20:17.127Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-21T05:20:17.390Z] ---> c17c7a9c789f [2022-09-21T05:20:17.390Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:20:17.390Z] ---> Running in 6c3c4a458632 [2022-09-21T05:20:17.960Z] Removing intermediate container 6c3c4a458632 [2022-09-21T05:20:17.960Z] ---> 2fb0ba996ac8 [2022-09-21T05:20:17.960Z] Step 10/25 : COPY . . [2022-09-21T05:20:18.532Z] ---> 8c8667ce05eb [2022-09-21T05:20:18.532Z] Step 11/25 : RUN ${MAKE} [2022-09-21T05:20:18.532Z] ---> Running in 6cc80c44b23c [2022-09-21T05:20:18.796Z] 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-09-21T05:20:36.887Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-21T05:20:40.314Z] Removing intermediate container 6cc80c44b23c [2022-09-21T05:20:40.314Z] ---> b5e3913a7885 [2022-09-21T05:20:40.314Z] Step 12/25 : FROM alpine:3.16 [2022-09-21T05:20:40.572Z] 3.16: Pulling from library/alpine [2022-09-21T05:20:40.829Z] 213ec9aee27d: Pulling fs layer [2022-09-21T05:20:40.829Z] 213ec9aee27d: Verifying Checksum [2022-09-21T05:20:40.829Z] 213ec9aee27d: Download complete [2022-09-21T05:20:41.087Z] 213ec9aee27d: Pull complete [2022-09-21T05:20:41.087Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T05:20:41.087Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T05:20:41.087Z] ---> 9c6f07244728 [2022-09-21T05:20:41.087Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:20:41.087Z] ---> Running in a04bbc70a0ae [2022-09-21T05:20:41.345Z] Removing intermediate container a04bbc70a0ae [2022-09-21T05:20:41.345Z] ---> 3042a91cd464 [2022-09-21T05:20:41.345Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:20:41.345Z] ---> Running in 4a44069b96b8 [2022-09-21T05:20:41.910Z] Removing intermediate container 4a44069b96b8 [2022-09-21T05:20:41.910Z] ---> 6010086e847f [2022-09-21T05:20:41.910Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-21T05:20:41.910Z] ---> Running in c1f2607462f0 [2022-09-21T05:20:42.167Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:20:43.100Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:20:43.358Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T05:20:43.358Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-21T05:20:43.358Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T05:20:43.616Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-21T05:20:43.616Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-21T05:20:43.882Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T05:20:43.882Z] OK: 8 MiB in 19 packages [2022-09-21T05:20:44.141Z] Removing intermediate container c1f2607462f0 [2022-09-21T05:20:44.141Z] ---> 4fb918897e41 [2022-09-21T05:20:44.141Z] Step 16/25 : WORKDIR / [2022-09-21T05:20:44.141Z] ---> Running in 3612df1416d6 [2022-09-21T05:20:44.398Z] Removing intermediate container 3612df1416d6 [2022-09-21T05:20:44.398Z] ---> 51645c246959 [2022-09-21T05:20:44.398Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-21T05:20:44.398Z] ---> 2ef9e17b2fb2 [2022-09-21T05:20:44.398Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-21T05:20:45.335Z] ---> 8302d101896a [2022-09-21T05:20:45.335Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-21T05:20:45.335Z] ---> bd4c0084a523 [2022-09-21T05:20:45.335Z] Step 20/25 : EXPOSE 59999 [2022-09-21T05:20:45.335Z] ---> Running in b2192eb58496 [2022-09-21T05:20:45.335Z] Removing intermediate container b2192eb58496 [2022-09-21T05:20:45.335Z] ---> cb11d663fb7c [2022-09-21T05:20:45.335Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-21T05:20:45.335Z] ---> Running in 382b4052c567 [2022-09-21T05:20:45.335Z] Removing intermediate container 382b4052c567 [2022-09-21T05:20:45.335Z] ---> c3328ed6baaf [2022-09-21T05:20:45.335Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T05:20:45.594Z] ---> Running in 3b91f4905ee5 [2022-09-21T05:20:45.594Z] Removing intermediate container 3b91f4905ee5 [2022-09-21T05:20:45.594Z] ---> e84bf5ea5e0f [2022-09-21T05:20:45.594Z] Step 23/25 : LABEL arch=amd64 [2022-09-21T05:20:45.594Z] ---> Running in d32777886d0e [2022-09-21T05:20:45.594Z] Removing intermediate container d32777886d0e [2022-09-21T05:20:45.594Z] ---> 18ba44fc7dc4 [2022-09-21T05:20:45.594Z] Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:20:45.594Z] ---> Running in 2e233e958bec [2022-09-21T05:20:45.854Z] Removing intermediate container 2e233e958bec [2022-09-21T05:20:45.854Z] ---> 439891baf8e2 [2022-09-21T05:20:45.854Z] Step 25/25 : LABEL version=0.0.0 [2022-09-21T05:20:45.854Z] ---> Running in 97fb83f97d52 [2022-09-21T05:20:45.854Z] Removing intermediate container 97fb83f97d52 [2022-09-21T05:20:45.854Z] ---> d04584c31a8b [2022-09-21T05:20:45.854Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T05:20:45.854Z] Successfully built d04584c31a8b [2022-09-21T05:20:45.854Z] 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-09-21T05:20:46.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:20:46.297Z] [2022-09-21T05:20:46.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:20:46.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:20:46.594Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T05:20:46.594Z] 5eb5b503b376: Pulling fs layer [2022-09-21T05:20:46.594Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T05:20:46.594Z] ec43610c2a17: Pulling fs layer [2022-09-21T05:20:46.594Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T05:20:46.594Z] 33b1e0a273af: Pulling fs layer [2022-09-21T05:20:46.594Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T05:20:46.594Z] 2f39f015ded8: Pulling fs layer [2022-09-21T05:20:46.594Z] 5d3b04190fa2: Waiting [2022-09-21T05:20:46.594Z] 2f39f015ded8: Waiting [2022-09-21T05:20:46.594Z] 33b1e0a273af: Waiting [2022-09-21T05:20:46.594Z] 3a2ae6a8a46f: Waiting [2022-09-21T05:20:46.594Z] 5c69ac0246d0: Verifying Checksum [2022-09-21T05:20:46.594Z] 5c69ac0246d0: Download complete [2022-09-21T05:20:46.594Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-21T05:20:46.594Z] 3a2ae6a8a46f: Download complete [2022-09-21T05:20:46.594Z] 33b1e0a273af: Verifying Checksum [2022-09-21T05:20:46.594Z] 33b1e0a273af: Download complete [2022-09-21T05:20:46.594Z] 5d3b04190fa2: Verifying Checksum [2022-09-21T05:20:46.594Z] 5d3b04190fa2: Download complete [2022-09-21T05:20:46.594Z] ec43610c2a17: Verifying Checksum [2022-09-21T05:20:46.594Z] ec43610c2a17: Download complete [2022-09-21T05:20:46.636Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-422 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] { [Pipeline] ws [2022-09-21T05:20:46.647Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2022-09-21T05:20:46.682Z] The recommended git tool is: git [2022-09-21T05:20:46.852Z] 5eb5b503b376: Verifying Checksum [2022-09-21T05:20:46.852Z] 5eb5b503b376: Download complete [2022-09-21T05:20:47.418Z] 2f39f015ded8: Download complete [2022-09-21T05:20:47.983Z] 5eb5b503b376: Pull complete [2022-09-21T05:20:48.242Z] 5c69ac0246d0: Pull complete [2022-09-21T05:20:48.500Z] ec43610c2a17: Pull complete [2022-09-21T05:20:48.758Z] 3a2ae6a8a46f: Pull complete [2022-09-21T05:20:48.758Z] 33b1e0a273af: Pull complete [2022-09-21T05:20:49.016Z] 5d3b04190fa2: Pull complete [2022-09-21T05:20:52.359Z] using credential edgex-jenkins-ssh [2022-09-21T05:20:52.375Z] Cloning the remote Git repository [2022-09-21T05:20:52.416Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:20:52.488Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2022-09-21T05:20:52.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:20:52.624Z] > git --version # timeout=10 [2022-09-21T05:20:52.648Z] > git --version # 'git version 2.25.1' [2022-09-21T05:20:52.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:20:52.700Z] Verifying host key using known hosts file [2022-09-21T05:20:53.200Z] 2f39f015ded8: Pull complete [2022-09-21T05:20:53.200Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T05:20:53.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:20:53.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:20:53.279Z] prd-ubuntu20.04-docker-8c-8g-421 does not seem to be running inside a container [2022-09-21T05:20:53.313Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T05:20:52.909Z] 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-09-21T05:20:52.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T05:20:54.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-21T05:20:54.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T05:20:56.459Z] Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:20:56.722Z] Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:20:56.723Z] Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) [2022-09-21T05:20:55.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-21T05:20:55.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:20:55.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:20:55.744Z] Verifying host key using known hosts file [2022-09-21T05:20:55.752Z] 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-09-21T05:20:55.764Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-21T05:20:56.479Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T05:20:56.504Z] > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [2022-09-21T05:20:56.615Z] > git remote # timeout=10 [2022-09-21T05:20:56.635Z] > git config --get remote.origin.url # timeout=10 [2022-09-21T05:20:56.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:20:56.657Z] Verifying host key using known hosts file [2022-09-21T05:20:56.661Z] 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-09-21T05:20:56.669Z] > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 [2022-09-21T05:20:56.699Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-21T05:20:56.728Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T05:20:56.758Z] > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [2022-09-21T05:20:57.597Z] $ docker top 7e9fe5e821af7175aec87a0f878fb462eb0e6ac0022b5f91289659a1dc298477 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:20:57.987Z] ---> job-cost.sh [2022-09-21T05:20:57.987Z] lf-activate-venv: SKIPPING [2022-09-21T05:20:57.987Z] INFO: No Stack... [2022-09-21T05:20:58.555Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T05:20:59.123Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T05:20:59.409Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/cost.csv [2022-09-21T05:20:59.409Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T05:20:59.422Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [2022-09-21T05:20:59.427Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] did not exist. Created. [2022-09-21T05:20:59.428Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T05:20:59.721Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T05:20:59.750Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T05:20:59.756Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T05:20:59.772Z] $ docker stop --time=1 7e9fe5e821af7175aec87a0f878fb462eb0e6ac0022b5f91289659a1dc298477 [2022-09-21T05:21:00.394Z] Commit message: "refactor: refactor device command application layer" [2022-09-21T05:21:00.845Z] [2022-09-21T05:21:00.845Z] GitHub has been notified of this commit’s build result [2022-09-21T05:21:00.845Z] [2022-09-21T05:21:00.929Z] $ docker rm -f 7e9fe5e821af7175aec87a0f878fb462eb0e6ac0022b5f91289659a1dc298477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:21:01.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T05:21:01.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T05:21:01.541Z] Dload Upload Total Spent Left Speed [2022-09-21T05:21:01.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-09-21T05:21:02.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T05:21:02.517Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T05:21:02.517Z] + sudo tee /etc/docker/daemon.new [2022-09-21T05:21:02.517Z] { [2022-09-21T05:21:02.517Z] "registry-mirrors": [ [2022-09-21T05:21:02.517Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T05:21:02.517Z] ], [2022-09-21T05:21:02.517Z] "bip": "10.250.0.254/24", [2022-09-21T05:21:02.517Z] "hosts": [ [2022-09-21T05:21:02.517Z] "tcp://0.0.0.0:5555", [2022-09-21T05:21:02.517Z] "unix:///var/run/docker.sock" [2022-09-21T05:21:02.517Z] ], [2022-09-21T05:21:02.517Z] "mtu": 1458, [2022-09-21T05:21:02.517Z] "selinux-enabled": true, [2022-09-21T05:21:02.517Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T05:21:02.517Z] } [Pipeline] sh [2022-09-21T05:21:02.847Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T05:21:03.185Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:21:21.441Z] provisioning config files... [2022-09-21T05:21:21.466Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config10336222176405312506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:21:21.809Z] ---> docker-login.sh [2022-09-21T05:21:21.809Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:21:22.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:21:22.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:21:22.354Z] Configure a credential helper to remove this warning. See [2022-09-21T05:21:22.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:21:22.354Z] [2022-09-21T05:21:22.354Z] Login Succeeded [2022-09-21T05:21:22.354Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:21:22.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:21:22.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:21:22.621Z] Configure a credential helper to remove this warning. See [2022-09-21T05:21:22.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:21:22.622Z] [2022-09-21T05:21:22.622Z] Login Succeeded [2022-09-21T05:21:22.622Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:21:22.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:21:22.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:21:22.890Z] Configure a credential helper to remove this warning. See [2022-09-21T05:21:22.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:21:22.890Z] [2022-09-21T05:21:22.890Z] Login Succeeded [2022-09-21T05:21:23.176Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:21:23.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:21:23.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:21:23.445Z] Configure a credential helper to remove this warning. See [2022-09-21T05:21:23.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:21:23.445Z] [2022-09-21T05:21:23.445Z] Login Succeeded [2022-09-21T05:21:23.445Z] docker.io [2022-09-21T05:21:23.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:21:24.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:21:24.296Z] Configure a credential helper to remove this warning. See [2022-09-21T05:21:24.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:21:24.296Z] [2022-09-21T05:21:24.296Z] Login Succeeded [2022-09-21T05:21:24.296Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:21:24.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T05:21:24.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:21:24.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:21:24.478Z] ========================================================= [2022-09-21T05:21:24.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T05:21:24.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:21:24.835Z] + 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-09-21T05:21:25.102Z] Sending build context to Docker daemon 5.327MB [2022-09-21T05:21:25.102Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:21:25.102Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-21T05:21:25.374Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T05:21:25.374Z] b3c136eddcbf: Pulling fs layer [2022-09-21T05:21:25.374Z] c0a3192eca97: Pulling fs layer [2022-09-21T05:21:25.374Z] a050256f5b6f: Pulling fs layer [2022-09-21T05:21:25.374Z] 656be50a0ddc: Pulling fs layer [2022-09-21T05:21:25.374Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T05:21:25.374Z] 46d945488cbd: Pulling fs layer [2022-09-21T05:21:25.374Z] 8a5474983e97: Pulling fs layer [2022-09-21T05:21:25.374Z] 329c88fbcd65: Pulling fs layer [2022-09-21T05:21:25.374Z] 656be50a0ddc: Waiting [2022-09-21T05:21:25.374Z] 2bbca73fdf42: Waiting [2022-09-21T05:21:25.374Z] 46d945488cbd: Waiting [2022-09-21T05:21:25.374Z] 8a5474983e97: Waiting [2022-09-21T05:21:25.374Z] 329c88fbcd65: Waiting [2022-09-21T05:21:25.374Z] a050256f5b6f: Verifying Checksum [2022-09-21T05:21:25.374Z] a050256f5b6f: Download complete [2022-09-21T05:21:25.374Z] c0a3192eca97: Verifying Checksum [2022-09-21T05:21:25.374Z] c0a3192eca97: Download complete [2022-09-21T05:21:25.374Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T05:21:25.374Z] 2bbca73fdf42: Download complete [2022-09-21T05:21:25.374Z] 46d945488cbd: Verifying Checksum [2022-09-21T05:21:25.374Z] 46d945488cbd: Download complete [2022-09-21T05:21:25.374Z] b3c136eddcbf: Verifying Checksum [2022-09-21T05:21:25.374Z] b3c136eddcbf: Download complete [2022-09-21T05:21:26.364Z] b3c136eddcbf: Pull complete [2022-09-21T05:21:26.635Z] 329c88fbcd65: Verifying Checksum [2022-09-21T05:21:26.635Z] 329c88fbcd65: Download complete [2022-09-21T05:21:26.907Z] c0a3192eca97: Pull complete [2022-09-21T05:21:27.179Z] a050256f5b6f: Pull complete [2022-09-21T05:21:27.773Z] 8a5474983e97: Verifying Checksum [2022-09-21T05:21:27.773Z] 8a5474983e97: Download complete [2022-09-21T05:21:28.356Z] 656be50a0ddc: Verifying Checksum [2022-09-21T05:21:28.356Z] 656be50a0ddc: Download complete [2022-09-21T05:21:40.677Z] 656be50a0ddc: Pull complete [2022-09-21T05:21:40.677Z] 2bbca73fdf42: Pull complete [2022-09-21T05:21:40.677Z] 46d945488cbd: Pull complete [2022-09-21T05:21:46.052Z] 8a5474983e97: Pull complete [2022-09-21T05:21:48.007Z] 329c88fbcd65: Pull complete [2022-09-21T05:21:48.007Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T05:21:48.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T05:21:48.007Z] ---> ff4287adb874 [2022-09-21T05:21:48.007Z] Step 3/11 : ARG MAKE=make build [2022-09-21T05:21:49.955Z] ---> Running in d1121f1919f6 [2022-09-21T05:21:50.221Z] Removing intermediate container d1121f1919f6 [2022-09-21T05:21:50.221Z] ---> aafb7e578f75 [2022-09-21T05:21:50.221Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-21T05:21:50.487Z] ---> Running in a55a54c7bc60 [2022-09-21T05:21:50.754Z] Removing intermediate container a55a54c7bc60 [2022-09-21T05:21:50.754Z] ---> 6cad0ffd7eb9 [2022-09-21T05:21:50.754Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:21:50.754Z] ---> Running in 6fda24af55c5 [2022-09-21T05:21:51.020Z] Removing intermediate container 6fda24af55c5 [2022-09-21T05:21:51.020Z] ---> 0d5563815c27 [2022-09-21T05:21:51.020Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:21:51.288Z] ---> Running in 665a7422ae8d [2022-09-21T05:21:53.236Z] Removing intermediate container 665a7422ae8d [2022-09-21T05:21:53.236Z] ---> 4420f281d583 [2022-09-21T05:21:53.236Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:21:53.236Z] ---> Running in 9de0b507a458 [2022-09-21T05:21:53.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:21:54.800Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:21:55.761Z] OK: 221 MiB in 51 packages [2022-09-21T05:21:56.732Z] Removing intermediate container 9de0b507a458 [2022-09-21T05:21:56.732Z] ---> 5dda778ffc2d [2022-09-21T05:21:56.732Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-21T05:21:57.015Z] ---> ae478fb175a9 [2022-09-21T05:21:57.015Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:21:57.289Z] ---> Running in 1ea19d69bbb6 [2022-09-21T05:22:44.191Z] Removing intermediate container 1ea19d69bbb6 [2022-09-21T05:22:44.191Z] ---> c980e08d991d [2022-09-21T05:22:44.191Z] Step 10/11 : COPY . . [2022-09-21T05:22:44.191Z] ---> b9d12fb55333 [2022-09-21T05:22:44.191Z] Step 11/11 : RUN ${MAKE} [2022-09-21T05:22:44.191Z] ---> Running in 64b3e6c7a86f [2022-09-21T05:22:45.617Z] noop [2022-09-21T05:22:46.204Z] Removing intermediate container 64b3e6c7a86f [2022-09-21T05:22:46.204Z] ---> 2106f44000c0 [2022-09-21T05:22:46.204Z] Successfully built 2106f44000c0 [2022-09-21T05:22:46.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:22:46.561Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T05:22:46.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:22:46.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2022-09-21T05:22:46.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T05:22:48.060Z] $ docker top 7c16e25474874d0339b250dcc73eab81680d755ff353d3f29da133b817ec1ed8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:22:48.869Z] + go version [2022-09-21T05:22:48.869Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T05:22:48.894Z] $ docker stop --time=1 7c16e25474874d0339b250dcc73eab81680d755ff353d3f29da133b817ec1ed8 [2022-09-21T05:22:50.487Z] $ docker rm -f 7c16e25474874d0339b250dcc73eab81680d755ff353d3f29da133b817ec1ed8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:22:51.003Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T05:22:51.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:22:51.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2022-09-21T05:22:51.239Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T05:22:52.356Z] $ docker top 15fff8256d4380f6bc21be38a61f57da3e984fae7287bb97e0820552021ca0b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:22:52.855Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2022-09-21T05:22:53.779Z] + make test [2022-09-21T05:22:53.779Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-21T05:23:32.655Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-21T05:25:39.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-21T05:25:39.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-21T05:25:39.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-21T05:25:39.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-21T05:25:39.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-21T05:25:46.027Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.594s coverage: 27.6% of statements [2022-09-21T05:25:48.008Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.353s coverage: 78.9% of statements [2022-09-21T05:25:48.008Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-21T05:25:52.321Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.530s coverage: 60.0% of statements [2022-09-21T05:25:52.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-21T05:25:52.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-21T05:25:57.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.352s coverage: 54.4% of statements [2022-09-21T05:25:57.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-21T05:25:57.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-21T05:25:57.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-21T05:26:01.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.504s coverage: 65.1% of statements [2022-09-21T05:26:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-21T05:26:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-21T05:26:01.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.632s coverage: 89.2% of statements [2022-09-21T05:26:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-21T05:26:04.440Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.262s coverage: 4.5% of statements [2022-09-21T05:26:04.440Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-21T05:26:05.042Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T05:26:05.042Z] GO111MODULE=on go vet ./... [2022-09-21T05:27:56.743Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T05:27:56.743Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T05:27:56.743Z] ./bin/test-attribution-txt.sh [2022-09-21T05:27:56.743Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-21T05:27:56.743Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T05:27:56.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T05:27:56.786Z] $ docker stop --time=1 15fff8256d4380f6bc21be38a61f57da3e984fae7287bb97e0820552021ca0b2 [2022-09-21T05:27:58.620Z] $ docker rm -f 15fff8256d4380f6bc21be38a61f57da3e984fae7287bb97e0820552021ca0b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:28:00.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T05:28:00.079Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T05:28:00.669Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:28:01.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T05:28:01.433Z] + ls -al . [2022-09-21T05:28:01.434Z] total 272 [2022-09-21T05:28:01.434Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 05:22 . [2022-09-21T05:28:01.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:20 .. [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:20 .dockerignore [2022-09-21T05:28:01.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:20 .git [2022-09-21T05:28:01.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:20 .github [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:20 .gitignore [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:20 .golangci.yml [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:20 CHANGELOG.md [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:20 GOVERNANCE.md [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:20 Jenkinsfile [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:20 LICENSE [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:20 Makefile [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:20 OWNERS.md [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:20 README.md [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:18 VERSION [2022-09-21T05:28:01.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:20 bin [2022-09-21T05:28:01.434Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:26 coverage.out [2022-09-21T05:28:01.434Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:20 example [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:20 go.mod [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:20 go.sum [2022-09-21T05:28:01.434Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:20 internal [2022-09-21T05:28:01.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:20 openapi [2022-09-21T05:28:01.434Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:20 pkg [2022-09-21T05:28:01.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:20 snap [2022-09-21T05:28:01.434Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:28:01.773Z] + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=arm64 --label version=0.0.0 . [2022-09-21T05:28:02.041Z] Sending build context to Docker daemon 5.429MB [2022-09-21T05:28:02.041Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:28:02.041Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-21T05:28:02.041Z] ---> 2106f44000c0 [2022-09-21T05:28:02.041Z] Step 3/25 : ARG MAKE=make build [2022-09-21T05:28:02.310Z] ---> Running in b7bed9741219 [2022-09-21T05:28:02.584Z] Removing intermediate container b7bed9741219 [2022-09-21T05:28:02.584Z] ---> 1fa8b91141f4 [2022-09-21T05:28:02.584Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-21T05:28:02.856Z] ---> Running in 53c44ca72c23 [2022-09-21T05:28:03.124Z] Removing intermediate container 53c44ca72c23 [2022-09-21T05:28:03.124Z] ---> 96819e2c3014 [2022-09-21T05:28:03.124Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:28:03.124Z] ---> Running in a4d8e6465009 [2022-09-21T05:28:03.392Z] Removing intermediate container a4d8e6465009 [2022-09-21T05:28:03.392Z] ---> 6ef09fb2682b [2022-09-21T05:28:03.392Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:28:03.392Z] ---> Running in eb0d81cf30d0 [2022-09-21T05:28:05.352Z] Removing intermediate container eb0d81cf30d0 [2022-09-21T05:28:05.352Z] ---> 1b1fc0f51e6c [2022-09-21T05:28:05.352Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:28:05.352Z] ---> Running in 7491afe9601d [2022-09-21T05:28:06.315Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:28:07.278Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:28:08.240Z] OK: 221 MiB in 51 packages [2022-09-21T05:28:09.202Z] Removing intermediate container 7491afe9601d [2022-09-21T05:28:09.202Z] ---> 1bc69d34d405 [2022-09-21T05:28:09.202Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-21T05:28:09.472Z] ---> 2b6587cc9f82 [2022-09-21T05:28:09.472Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:28:09.740Z] ---> Running in c9c89f70e3b3 [2022-09-21T05:28:11.687Z] Removing intermediate container c9c89f70e3b3 [2022-09-21T05:28:11.687Z] ---> 02184af45813 [2022-09-21T05:28:11.687Z] Step 10/25 : COPY . . [2022-09-21T05:28:12.650Z] ---> d87351418054 [2022-09-21T05:28:12.650Z] Step 11/25 : RUN ${MAKE} [2022-09-21T05:28:12.918Z] ---> Running in 0b314df1acc6 [2022-09-21T05:28:13.892Z] 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-09-21T05:30:35.629Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-21T05:30:38.212Z] Removing intermediate container 0b314df1acc6 [2022-09-21T05:30:38.212Z] ---> 32c2b6c5aae2 [2022-09-21T05:30:38.212Z] Step 12/25 : FROM alpine:3.16 [2022-09-21T05:30:39.169Z] 3.16: Pulling from library/alpine [2022-09-21T05:30:39.169Z] 9b18e9b68314: Pulling fs layer [2022-09-21T05:30:39.436Z] 9b18e9b68314: Verifying Checksum [2022-09-21T05:30:39.436Z] 9b18e9b68314: Download complete [2022-09-21T05:30:40.027Z] 9b18e9b68314: Pull complete [2022-09-21T05:30:40.027Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T05:30:40.027Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T05:30:40.027Z] ---> a6215f271958 [2022-09-21T05:30:40.027Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:30:40.027Z] ---> Running in 7f8e622da923 [2022-09-21T05:30:40.621Z] Removing intermediate container 7f8e622da923 [2022-09-21T05:30:40.621Z] ---> e376dc2acea7 [2022-09-21T05:30:40.621Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:30:40.621Z] ---> Running in 680d483cef68 [2022-09-21T05:30:42.037Z] Removing intermediate container 680d483cef68 [2022-09-21T05:30:42.037Z] ---> 4bff2130f23d [2022-09-21T05:30:42.037Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-21T05:30:42.305Z] ---> Running in a6bb0e88fe4a [2022-09-21T05:30:43.267Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:30:44.240Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:30:45.198Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T05:30:45.198Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-21T05:30:45.466Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T05:30:45.466Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-21T05:30:45.734Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-21T05:30:45.734Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T05:30:45.734Z] OK: 8 MiB in 19 packages [2022-09-21T05:30:46.695Z] Removing intermediate container a6bb0e88fe4a [2022-09-21T05:30:46.695Z] ---> cbb101d347cd [2022-09-21T05:30:46.695Z] Step 16/25 : WORKDIR / [2022-09-21T05:30:46.695Z] ---> Running in c3d267dc343e [2022-09-21T05:30:47.281Z] Removing intermediate container c3d267dc343e [2022-09-21T05:30:47.281Z] ---> 8166732c1de7 [2022-09-21T05:30:47.281Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-21T05:30:47.547Z] ---> 31659af52aa2 [2022-09-21T05:30:47.547Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-21T05:30:48.956Z] ---> 9020e1b312be [2022-09-21T05:30:48.956Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-21T05:30:49.543Z] ---> 40aa5b937ba5 [2022-09-21T05:30:49.543Z] Step 20/25 : EXPOSE 59999 [2022-09-21T05:30:49.543Z] ---> Running in a3a71b256369 [2022-09-21T05:30:49.812Z] Removing intermediate container a3a71b256369 [2022-09-21T05:30:49.812Z] ---> 0d1c92ea53e8 [2022-09-21T05:30:49.812Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-21T05:30:50.087Z] ---> Running in 98ef140e0f27 [2022-09-21T05:30:50.356Z] Removing intermediate container 98ef140e0f27 [2022-09-21T05:30:50.356Z] ---> aad9362aba2d [2022-09-21T05:30:50.356Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T05:30:50.356Z] ---> Running in 8fc418fb5111 [2022-09-21T05:30:50.622Z] Removing intermediate container 8fc418fb5111 [2022-09-21T05:30:50.622Z] ---> 2f8a71ac4096 [2022-09-21T05:30:50.622Z] Step 23/25 : LABEL arch=arm64 [2022-09-21T05:30:50.622Z] ---> Running in f40d887593b2 [2022-09-21T05:30:50.892Z] Removing intermediate container f40d887593b2 [2022-09-21T05:30:50.892Z] ---> 888caebd7758 [2022-09-21T05:30:50.892Z] Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:30:51.162Z] ---> Running in 0d32ae9ecc15 [2022-09-21T05:30:51.431Z] Removing intermediate container 0d32ae9ecc15 [2022-09-21T05:30:51.431Z] ---> 1f05a176bf66 [2022-09-21T05:30:51.431Z] Step 25/25 : LABEL version=0.0.0 [2022-09-21T05:30:51.431Z] ---> Running in 60955f438d09 [2022-09-21T05:30:51.700Z] Removing intermediate container 60955f438d09 [2022-09-21T05:30:51.700Z] ---> 224d8d9a466c [2022-09-21T05:30:51.700Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T05:30:51.700Z] Successfully built 224d8d9a466c [2022-09-21T05:30:51.700Z] 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-09-21T05:30:52.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:30:52.118Z] [2022-09-21T05:30:52.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:30:52.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:30:52.448Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T05:30:52.448Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T05:30:52.448Z] 04944245beec: Pulling fs layer [2022-09-21T05:30:52.448Z] 699f458cf7ca: Pulling fs layer [2022-09-21T05:30:52.448Z] 765212b225bb: Pulling fs layer [2022-09-21T05:30:52.448Z] f23df028b6ca: Pulling fs layer [2022-09-21T05:30:52.448Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T05:30:52.448Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T05:30:52.448Z] 765212b225bb: Waiting [2022-09-21T05:30:52.448Z] f23df028b6ca: Waiting [2022-09-21T05:30:52.448Z] d65c8cfc05b1: Waiting [2022-09-21T05:30:52.448Z] 2437ff75d9bd: Waiting [2022-09-21T05:30:52.720Z] 04944245beec: Verifying Checksum [2022-09-21T05:30:52.720Z] 04944245beec: Download complete [2022-09-21T05:30:52.720Z] 765212b225bb: Verifying Checksum [2022-09-21T05:30:52.720Z] 765212b225bb: Download complete [2022-09-21T05:30:52.720Z] f23df028b6ca: Download complete [2022-09-21T05:30:52.720Z] d65c8cfc05b1: Verifying Checksum [2022-09-21T05:30:52.720Z] d65c8cfc05b1: Download complete [2022-09-21T05:30:52.720Z] 699f458cf7ca: Verifying Checksum [2022-09-21T05:30:52.720Z] 699f458cf7ca: Download complete [2022-09-21T05:30:53.300Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T05:30:53.300Z] 8998bd30e6a1: Download complete [2022-09-21T05:30:55.880Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T05:30:55.880Z] 2437ff75d9bd: Download complete [2022-09-21T05:30:57.286Z] 8998bd30e6a1: Pull complete [2022-09-21T05:30:57.554Z] 04944245beec: Pull complete [2022-09-21T05:30:58.961Z] 699f458cf7ca: Pull complete [2022-09-21T05:30:58.962Z] 765212b225bb: Pull complete [2022-09-21T05:30:59.918Z] f23df028b6ca: Pull complete [2022-09-21T05:30:59.918Z] d65c8cfc05b1: Pull complete [2022-09-21T05:31:14.896Z] 2437ff75d9bd: Pull complete [2022-09-21T05:31:14.896Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T05:31:14.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:31:14.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:31:15.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2022-09-21T05:31:15.162Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-21T05:31:17.988Z] $ docker top 0668aabb8ef2cc0c986c65e5b3f058b3f3973e4b48a1f6676ccf55c3dfe94255 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:18.823Z] ---> job-cost.sh [2022-09-21T05:31:18.824Z] lf-activate-venv: SKIPPING [2022-09-21T05:31:18.824Z] INFO: No Stack... [2022-09-21T05:31:19.090Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T05:31:20.047Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T05:31:20.685Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2022-09-21T05:31:20.685Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T05:31:20.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [2022-09-21T05:31:20.753Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] did not exist. Created. [2022-09-21T05:31:20.753Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T05:31:21.087Z] /w/workspace/device-sdk-go/7@tmp/durable-4406e67f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T05:31:21.743Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T05:31:21.765Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T05:31:21.824Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T05:31:21.831Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T05:31:21.856Z] $ docker stop --time=1 0668aabb8ef2cc0c986c65e5b3f058b3f3973e4b48a1f6676ccf55c3dfe94255 [2022-09-21T05:31:23.368Z] $ docker rm -f 0668aabb8ef2cc0c986c65e5b3f058b3f3973e4b48a1f6676ccf55c3dfe94255 [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-09-21T05:31:23.739Z] provisioning config files... [2022-09-21T05:31:23.746Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config18340193025485637289tmp [Pipeline] { [Pipeline] sh [2022-09-21T05:31:24.032Z] + set +x [2022-09-21T05:31:24.032Z] + curl -s https://codecov.io/bash [2022-09-21T05:31:24.032Z] + bash -s -- [2022-09-21T05:31:24.032Z] [2022-09-21T05:31:24.032Z] _____ _ [2022-09-21T05:31:24.032Z] / ____| | | [2022-09-21T05:31:24.032Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T05:31:24.032Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T05:31:24.032Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T05:31:24.032Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T05:31:24.032Z] Bash-1.0.6 [2022-09-21T05:31:24.032Z] [2022-09-21T05:31:24.032Z] [2022-09-21T05:31:24.032Z] ==> git version 2.25.1 found [2022-09-21T05:31:24.032Z] ==> 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-09-21T05:31:24.032Z] Release-Date: 2020-01-08 [2022-09-21T05:31:24.032Z] 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-09-21T05:31:24.033Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T05:31:24.033Z] ==> Jenkins CI detected. [2022-09-21T05:31:24.033Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-21T05:31:24.033Z] project root: . [2022-09-21T05:31:24.033Z] --> token set from env [2022-09-21T05:31:24.033Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T05:31:24.033Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T05:31:24.033Z] ==> Python coveragepy not found [2022-09-21T05:31:24.033Z] ==> Searching for coverage reports in: [2022-09-21T05:31:24.033Z] + . [2022-09-21T05:31:24.033Z] -> Found 1 reports [2022-09-21T05:31:24.033Z] ==> Detecting git/mercurial file structure [2022-09-21T05:31:24.033Z] ==> Reading reports [2022-09-21T05:31:24.033Z] + ./coverage.out bytes=101642 [2022-09-21T05:31:24.033Z] ==> Appending adjustments [2022-09-21T05:31:24.033Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T05:31:24.599Z] + Found adjustments [2022-09-21T05:31:24.599Z] ==> Gzipping contents [2022-09-21T05:31:24.599Z] 16K /tmp/codecov.P0ggu7.gz [2022-09-21T05:31:24.599Z] ==> Uploading reports [2022-09-21T05:31:24.599Z] url: https://codecov.io [2022-09-21T05:31:24.599Z] query: branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-21T05:31:24.599Z] -> Pinging Codecov [2022-09-21T05:31:24.599Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-21T05:31:24.858Z] -> Uploading to [2022-09-21T05:31:24.858Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/7E55EF52A471D76F132DFD9A03CDDE97/4784eae9ccf763c7ae31f1170af2777237b51f1a/9d4877db-26b1-4da6-b882-f951668961d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T053124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a51b80933c549bcbc055fb94c2723bfe238759fc9d2c33619b86a639b31c7c98 [2022-09-21T05:31:24.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T05:31:24.858Z] Dload Upload Total Spent Left Speed [2022-09-21T05:31:25.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14510 0 0 100 14510 0 59958 --:--:-- --:--:-- --:--:-- 59958 [2022-09-21T05:31:25.117Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] } [2022-09-21T05:31:25.123Z] 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-09-21T05:31:25.774Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives ] [2022-09-21T05:31:25.774Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:31:25.774Z] total 16 [2022-09-21T05:31:25.774Z] drwxr-xr-x 3 root root 4096 Sep 21 05:20 . [2022-09-21T05:31:25.774Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:20 .. [2022-09-21T05:31:25.774Z] drwxr-xr-x 2 root root 4096 Sep 21 05:20 cost [2022-09-21T05:31:25.774Z] -rw-r--r-- 1 root root 86 Sep 21 05:20 cost.csv [2022-09-21T05:31:25.774Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:31:25.774Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:31:25.774Z] total 16 [2022-09-21T05:31:25.774Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:20 . [2022-09-21T05:31:25.774Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:20 .. [2022-09-21T05:31:25.774Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 05:20 cost [2022-09-21T05:31:25.774Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 21 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:26.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:26.922Z] ---> package-listing.sh [2022-09-21T05:31:26.922Z] ++ facter osfamily [2022-09-21T05:31:26.922Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T05:31:27.182Z] + OS_FAMILY=debian [2022-09-21T05:31:27.182Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-21T05:31:27.182Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T05:31:27.182Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T05:31:27.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T05:31:27.182Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T05:31:27.182Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-21T05:31:27.182Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T05:31:27.182Z] + case "${OS_FAMILY}" in [2022-09-21T05:31:27.182Z] + dpkg -l [2022-09-21T05:31:27.182Z] + grep '^ii' [2022-09-21T05:31:27.182Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T05:31:27.182Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T05:31:27.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T05:31:27.182Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-21T05:31:27.182Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [2022-09-21T05:31:27.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [Pipeline] echo [2022-09-21T05:31:27.193Z] 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-1210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-21T05:31:27.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:31:28.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:31:28.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:31:28.090Z] prd-ubuntu20.04-docker-8c-8g-421 does not seem to be running inside a container [2022-09-21T05:31:28.123Z] $ 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-1210/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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T05:31:28.313Z] $ docker top 0fdc6596fdeb6549a885f9f23aaf7adf994f78092b0185f11549300da0894507 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:31:28.658Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T05:31:28.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T05:31:29.229Z] + ls /var/log/sa-host [2022-09-21T05:31:29.229Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:31:29.289Z] provisioning config files... [2022-09-21T05:31:29.298Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config966433618482315462tmp [Pipeline] { [Pipeline] echo [2022-09-21T05:31:29.309Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:29.591Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T05:31:29.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:29.938Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T05:31:29.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:30.231Z] ---> sudo-logs.sh [2022-09-21T05:31:30.231Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T05:31:30.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:30.542Z] ---> job-cost.sh [2022-09-21T05:31:30.542Z] lf-activate-venv: SKIPPING [2022-09-21T05:31:30.542Z] DEBUG: total: 0.2199999988079071 [2022-09-21T05:31:30.542Z] INFO: Retrieving Stack Cost... [2022-09-21T05:31:30.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T05:31:31.369Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T05:31:31.380Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:31:31.662Z] ---> logs-deploy.sh [2022-09-21T05:31:31.663Z] lf-activate-venv: SKIPPING [2022-09-21T05:31:31.663Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1210/7 [2022-09-21T05:31:31.663Z] INFO: archiving workspace using pattern(s): [2022-09-21T05:31:32.605Z] Archives upload complete. [2022-09-21T05:31:32.605Z] INFO: archiving logs to Nexus