Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c489e4920d8ecc2bfbec6e129aa767e61b2209f1 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh3664081686294713786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7476255718827063141.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/main/workspace@libs/edgex-global-pipelines/.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/app-service-configurable/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7357635522393885470.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 shared 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-ssh265532510466295781.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/main/workspace@libs/lf-pipelines/.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/app-service-configurable/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8558087838413518119.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1076 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/ry_app-service-configurable_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/ry_app-service-configurable_main@tmp/jenkins-gitclient-ssh3761100141527099565.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c489e4920d8ecc2bfbec6e129aa767e61b2209f1 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c489e4920d8ecc2bfbec6e129aa767e61b2209f1 # timeout=10 Commit message: "feat: Add CORS capability (#342)" > git rev-list --no-walk 510fea55546d2a9cfee0b501985e4f37129c1dcb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:40:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:40:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:40:54 ========================================================= 00:40:54 EdgeX Global Pipelines Version Info 00:40:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:40:55 ------------------- 00:40:55 stable info: 00:40:55 ------------------- 00:40:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:40:55 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 00:40:55 Message: update stable to v1.0.210 00:40:56 ------------------- 00:40:56 experimental info: 00:40:56 ------------------- 00:40:56 Commited By: **** collab-it+edgex@linuxfoundation.org 00:40:56 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 00:40:56 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c489e49 [Pipeline] echo 00:40:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:56 provisioning config files... 00:40:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config1320203119801270536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:56 ---> docker-login.sh 00:40:56 nexus3.edgexfoundry.org:10001 00:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 nexus3.edgexfoundry.org:10002 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 nexus3.edgexfoundry.org:10003 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 nexus3.edgexfoundry.org:10004 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 docker.io 00:40:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:57 Configure a credential helper to remove this warning. See 00:40:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:57 00:40:57 Login Succeeded 00:40:57 ---> docker-login.sh ends [Pipeline] } 00:40:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:58 + git log --format=format:%s -1 c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] echo 00:40:58 GIT_COMMIT: c489e4920d8ecc2bfbec6e129aa767e61b2209f1, Commit Message: feat: Add CORS capability (#342) [Pipeline] echo 00:40:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:58 00:40:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:40:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:59 latest: Pulling from edgex-devops/git-semver 00:40:59 a0d0a0d46f8b: Pulling fs layer 00:40:59 3e5f54012d9b: Pulling fs layer 00:40:59 4c7163046ea9: Pulling fs layer 00:40:59 0c2d73faf560: Pulling fs layer 00:40:59 0c2d73faf560: Waiting 00:40:59 3e5f54012d9b: Verifying Checksum 00:40:59 3e5f54012d9b: Download complete 00:40:59 a0d0a0d46f8b: Verifying Checksum 00:40:59 a0d0a0d46f8b: Download complete 00:40:59 0c2d73faf560: Verifying Checksum 00:40:59 0c2d73faf560: Download complete 00:40:59 4c7163046ea9: Verifying Checksum 00:40:59 4c7163046ea9: Download complete 00:40:59 a0d0a0d46f8b: Pull complete 00:40:59 3e5f54012d9b: Pull complete 00:40:59 4c7163046ea9: Pull complete 00:40:59 0c2d73faf560: Pull complete 00:40:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:40:59 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:41:00 $ docker top 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:00 [ssh-agent] Looking for ssh-agent implementation... 00:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:00 $ docker exec 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e ssh-agent 00:41:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnhhFdC/agent.15 00:41:00 SSH_AGENT_PID=22 00:41:00 Running ssh-add (command line suppressed) 00:41:01 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_7600414423893298336.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_7600414423893298336.key) 00:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:01 + git tag --points-at HEAD [Pipeline] } 00:41:01 $ docker exec --env ******** --env ******** 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e ssh-agent -k 00:41:01 unset SSH_AUTH_SOCK; 00:41:01 unset SSH_AGENT_PID; 00:41:01 echo Agent pid 22 killed; 00:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:41:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:01 [ssh-agent] Looking for ssh-agent implementation... 00:41:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:01 $ docker exec 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e ssh-agent 00:41:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaCIopH/agent.55 00:41:01 SSH_AGENT_PID=61 00:41:01 Running ssh-add (command line suppressed) 00:41:01 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_8201938985307569623.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_8201938985307569623.key) 00:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:02 + git semver init 00:41:02 # -> Open(): unable to determine branch for HEAD 00:41:02 # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git 00:41:02 # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main 00:41:02 # $SEMVER_REMOTE_NAME = origin 00:41:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:41:02 # $SEMVER_USER_NAME = edgex-jenkins 00:41:02 # $SEMVER_BRANCH = main 00:41:02 # $SEMVER_TEMP = /tmp/semver-946647502 00:41:02 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 00:41:02 # '/tmp/semver-946647502' -> '/w/workspace/ry_app-service-configurable_main/.semver' 00:41:02 # -> Force: false 00:41:02 # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [Pipeline] } 00:41:02 $ docker exec --env ******** --env ******** 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e ssh-agent -k 00:41:02 unset SSH_AUTH_SOCK; 00:41:02 unset SSH_AGENT_PID; 00:41:02 echo Agent pid 61 killed; 00:41:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:03 + git semver [Pipeline] } 00:41:03 $ docker stop --time=1 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e 00:41:04 $ docker rm -f 59b909ba0b19825c13de9e164de0a8c40b87cc02883c5eab3806dd37ed5e739e [Pipeline] // withDockerContainer [Pipeline] sh 00:41:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:41:04 Stashed 1 file(s) [Pipeline] echo 00:41:04 [edgeXSemver]: initialized semver on version 2.0.2-dev.20 [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] node [Pipeline] node 00:41:20 Still waiting to schedule task 00:41:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:41:20 Still waiting to schedule task 00:41:20 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1073’ 00:48:45 Running on prd-centos7-docker-4c-2g-1087 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 00:48:45 Running in /w/workspace/app-service-configurable/24 [Pipeline] { [Pipeline] checkout 00:48:45 Selected Git installation does not exist. Using Default 00:48:45 The recommended git tool is: NONE 00:48:47 using credential edgex-jenkins-ssh 00:48:47 Cloning the remote Git repository 00:48:48 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:48:48 > git init /w/workspace/app-service-configurable/24 # timeout=10 00:48:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:48:48 > git --version # timeout=10 00:48:48 > git --version # 'git version 2.24.4' 00:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:48 [INFO] Currently running in a labeled security context 00:48:48 [INFO] Currently SELinux is 'enforcing' on the host 00:48:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/24@tmp/jenkins-gitclient-ssh550478988716765304.key 00:48:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:48 Avoid second fetch 00:48:48 Checking out Revision c489e4920d8ecc2bfbec6e129aa767e61b2209f1 (main) 00:48:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:48:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:48 > git config core.sparsecheckout # timeout=10 00:48:48 > git checkout -f c489e4920d8ecc2bfbec6e129aa767e61b2209f1 # timeout=10 00:48:52 Commit message: "feat: Add CORS capability (#342)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:48:52 provisioning config files... 00:48:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/24@tmp/config5692200826562751415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:53 ---> docker-login.sh 00:48:53 nexus3.edgexfoundry.org:10001 00:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:53 Configure a credential helper to remove this warning. See 00:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:53 00:48:53 Login Succeeded 00:48:53 nexus3.edgexfoundry.org:10002 00:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:53 Configure a credential helper to remove this warning. See 00:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:53 00:48:53 Login Succeeded 00:48:53 nexus3.edgexfoundry.org:10003 00:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:53 Configure a credential helper to remove this warning. See 00:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:53 00:48:53 Login Succeeded 00:48:53 nexus3.edgexfoundry.org:10004 00:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:53 Configure a credential helper to remove this warning. See 00:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:53 00:48:53 Login Succeeded 00:48:53 docker.io 00:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:54 Configure a credential helper to remove this warning. See 00:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:54 00:48:54 Login Succeeded 00:48:54 ---> docker-login.sh ends [Pipeline] } 00:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:48:54 ========================================================= 00:48:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:48:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:48:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 00:48:54 Sending build context to Docker daemon 200.2kB 00:48:54 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 00:48:54 Step 2/12 : FROM ${BASE} AS builder 00:48:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:48:54 a0d0a0d46f8b: Pulling fs layer 00:48:54 31adcdaf11c8: Pulling fs layer 00:48:54 b8b176561691: Pulling fs layer 00:48:54 4527c011a84f: Pulling fs layer 00:48:54 5d74067f8e1e: Pulling fs layer 00:48:54 e0aca202a116: Pulling fs layer 00:48:54 3a43be97a3b4: Pulling fs layer 00:48:54 34cad66bf833: Pulling fs layer 00:48:54 b4e3c513aaa6: Pulling fs layer 00:48:54 4527c011a84f: Waiting 00:48:54 5d74067f8e1e: Waiting 00:48:54 e0aca202a116: Waiting 00:48:54 3a43be97a3b4: Waiting 00:48:54 34cad66bf833: Waiting 00:48:54 b4e3c513aaa6: Waiting 00:48:54 b8b176561691: Download complete 00:48:54 31adcdaf11c8: Download complete 00:48:54 5d74067f8e1e: Verifying Checksum 00:48:54 5d74067f8e1e: Download complete 00:48:54 a0d0a0d46f8b: Download complete 00:48:54 e0aca202a116: Verifying Checksum 00:48:54 e0aca202a116: Download complete 00:48:54 3a43be97a3b4: Verifying Checksum 00:48:54 3a43be97a3b4: Download complete 00:48:55 34cad66bf833: Verifying Checksum 00:48:55 34cad66bf833: Download complete 00:48:55 a0d0a0d46f8b: Pull complete 00:48:55 4527c011a84f: Verifying Checksum 00:48:55 4527c011a84f: Download complete 00:48:55 31adcdaf11c8: Pull complete 00:48:55 b4e3c513aaa6: Verifying Checksum 00:48:55 b4e3c513aaa6: Download complete 00:48:55 b8b176561691: Pull complete 00:48:59 4527c011a84f: Pull complete 00:48:59 5d74067f8e1e: Pull complete 00:48:59 e0aca202a116: Pull complete 00:48:59 3a43be97a3b4: Pull complete 00:48:59 34cad66bf833: Pull complete 00:49:01 b4e3c513aaa6: Pull complete 00:49:01 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 00:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:49:01 ---> 9f6097aaca64 00:49:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:49:03 ---> Running in 954cc107203b 00:49:03 Removing intermediate container 954cc107203b 00:49:03 ---> 8b2dd76f456a 00:49:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:49:03 ---> Running in 2bacf943b40f 00:49:03 Removing intermediate container 2bacf943b40f 00:49:03 ---> accd64af436a 00:49:03 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:49:03 ---> Running in 4a6ac2d57b9b 00:49:03 Removing intermediate container 4a6ac2d57b9b 00:49:03 ---> 409faa4f9eb0 00:49:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:03 ---> Running in cb89d29f5208 00:49:04 Removing intermediate container cb89d29f5208 00:49:04 ---> ab0498efcb2b 00:49:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:04 ---> Running in 5cb148629a13 00:49:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:49:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:49:05 OK: 220 MiB in 52 packages 00:49:05 Removing intermediate container 5cb148629a13 00:49:05 ---> cd0fac8123e9 00:49:05 Step 8/12 : WORKDIR /app 00:49:06 ---> Running in 9c5bcfb593f8 00:49:06 Removing intermediate container 9c5bcfb593f8 00:49:06 ---> a239b0f5104f 00:49:06 Step 9/12 : COPY . . 00:49:06 ---> 292a56be0e0a 00:49:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:06 ---> Running in a9cd3bea5e22 00:49:38 Removing intermediate container a9cd3bea5e22 00:49:38 ---> ca7a86a28615 00:49:38 Step 11/12 : ARG MAKE="make build" 00:49:38 ---> Running in 34e4034d41c3 00:49:38 Removing intermediate container 34e4034d41c3 00:49:38 ---> 8b442cd0c4a7 00:49:38 Step 12/12 : RUN $MAKE 00:49:38 ---> Running in ee8188e09347 00:49:38 noop 00:49:38 Removing intermediate container ee8188e09347 00:49:38 ---> c76ec165562d 00:49:38 Successfully built c76ec165562d 00:49:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:49:39 + docker inspect -f . ci-base-image-x86_64 00:49:39 . [Pipeline] withDockerContainer 00:49:39 prd-centos7-docker-4c-2g-1087 does not seem to be running inside a container 00:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@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 ******** ci-base-image-x86_64 cat 00:49:39 $ docker top 655c6d83bf8d958815bdc9c6800b37e08c1bb8096db763fd4650eb9b90998b3f -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:39 + go version 00:49:39 go version go1.16.8 linux/amd64 [Pipeline] } 00:49:39 $ docker stop --time=1 655c6d83bf8d958815bdc9c6800b37e08c1bb8096db763fd4650eb9b90998b3f 00:49:41 $ docker rm -f 655c6d83bf8d958815bdc9c6800b37e08c1bb8096db763fd4650eb9b90998b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:49:41 + docker inspect -f . ci-base-image-x86_64 00:49:41 . [Pipeline] withDockerContainer 00:49:41 prd-centos7-docker-4c-2g-1087 does not seem to be running inside a container 00:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@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 ******** ci-base-image-x86_64 cat 00:49:42 $ docker top b1285ea97ad069aedf609dc22eb80467c9ea093cb28067aaf319617ed7cb1599 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:49:42 + make test 00:49:42 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:49:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1088 in /w/workspace/ry_app-service-configurable_main [Pipeline] { [Pipeline] ws 00:49:53 Running in /w/workspace/app-service-configurable/24 [Pipeline] { [Pipeline] checkout 00:49:53 Selected Git installation does not exist. Using Default 00:49:53 The recommended git tool is: NONE 00:49:58 using credential edgex-jenkins-ssh 00:49:58 Cloning the remote Git repository 00:49:59 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:49:59 > git init /w/workspace/app-service-configurable/24 # timeout=10 00:49:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:49:59 > git --version # timeout=10 00:49:59 > git --version # 'git version 2.17.1' 00:49:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:49:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:00 Avoid second fetch 00:50:00 Checking out Revision c489e4920d8ecc2bfbec6e129aa767e61b2209f1 (main) 00:50:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:50:00 CGO_ENABLED=1 go vet ./... 00:50:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:50:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:00 > git config core.sparsecheckout # timeout=10 00:50:00 > git checkout -f c489e4920d8ecc2bfbec6e129aa767e61b2209f1 # timeout=10 00:50:04 Commit message: "feat: Add CORS capability (#342)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:50:05 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:05 Dload Upload Total Spent Left Speed 00:50:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 54740 0 --:--:-- --:--:-- --:--:-- 54995 [Pipeline] sh 00:50:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:50:06 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 00:50:06 /etc/docker/daemon.json 00:50:06 { 00:50:06 "registry-mirrors": [ 00:50:06 "https://nexus3.edgexfoundry.org:10001" 00:50:06 ], 00:50:06 "bip": "10.250.0.254/24", 00:50:06 "hosts": [ 00:50:06 "tcp://0.0.0.0:5555", 00:50:06 "unix:///var/run/docker.sock" 00:50:06 ], 00:50:06 "mtu": 1458, 00:50:06 "selinux-enabled": true, 00:50:06 "seccomp-profile": "/etc/docker/seccomp.json" 00:50:06 } [Pipeline] sh 00:50:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:50:07 + sudo service docker restart 00:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:07 ./bin/test-attribution-txt.sh [Pipeline] } 00:50:07 $ docker stop --time=1 b1285ea97ad069aedf609dc22eb80467c9ea093cb28067aaf319617ed7cb1599 00:50:08 $ docker rm -f b1285ea97ad069aedf609dc22eb80467c9ea093cb28067aaf319617ed7cb1599 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:10 + ls -al . 00:50:10 total 148 00:50:10 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 22 00:50 . 00:50:10 drwxrwxr-x. 4 jenkins jenkins 30 Oct 22 00:48 .. 00:50:10 -rw-rw-r--. 1 jenkins jenkins 7608 Oct 22 00:48 Attribution.txt 00:50:10 drwxrwxr-x. 2 jenkins jenkins 37 Oct 22 00:48 bin 00:50:10 -rw-rw-r--. 1 jenkins jenkins 22206 Oct 22 00:48 CHANGELOG.md 00:50:10 -rw-r--r--. 1 jenkins jenkins 10 Oct 22 00:49 coverage.out 00:50:10 -rw-rw-r--. 1 jenkins jenkins 2064 Oct 22 00:48 Dockerfile 00:50:10 -rw-rw-r--. 1 jenkins jenkins 119 Oct 22 00:48 .dockerignore 00:50:10 drwxrwxr-x. 8 jenkins jenkins 162 Oct 22 00:48 .git 00:50:10 drwxrwxr-x. 2 jenkins jenkins 104 Oct 22 00:48 .github 00:50:10 -rw-rw-r--. 1 jenkins jenkins 104 Oct 22 00:48 .gitignore 00:50:10 -rw-rw-r--. 1 jenkins jenkins 136 Oct 22 00:48 go.mod 00:50:10 -rw-rw-r--. 1 jenkins jenkins 50044 Oct 22 00:48 go.sum 00:50:10 -rw-rw-r--. 1 jenkins jenkins 677 Oct 22 00:48 GOVERNANCE.md 00:50:10 -rw-rw-r--. 1 jenkins jenkins 687 Oct 22 00:48 Jenkinsfile 00:50:10 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 22 00:48 LICENSE 00:50:10 -rw-rw-r--. 1 jenkins jenkins 1949 Oct 22 00:48 main.go 00:50:10 -rw-rw-r--. 1 jenkins jenkins 1614 Oct 22 00:48 makefile 00:50:10 -rw-rw-r--. 1 jenkins jenkins 618 Oct 22 00:48 OWNERS.md 00:50:10 -rw-rw-r--. 1 jenkins jenkins 3224 Oct 22 00:48 README.md 00:50:10 drwxrwxr-x. 9 jenkins jenkins 151 Oct 22 00:48 res 00:50:10 drwxrwxr-x. 3 jenkins jenkins 58 Oct 22 00:48 snap 00:50:10 -rw-rw-r--. 1 jenkins jenkins 12 Oct 22 00:41 VERSION [Pipeline] isUnix [Pipeline] sh 00:50:10 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c489e4920d8ecc2bfbec6e129aa767e61b2209f1 --label arch=amd64 --label version=2.0.2-dev.20 . 00:50:10 Sending build context to Docker daemon 201.2kB 00:50:10 Step 1/26 : ARG BASE=golang:1.16-alpine3.14 00:50:10 Step 2/26 : FROM ${BASE} AS builder 00:50:10 ---> c76ec165562d 00:50:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:50:10 ---> Running in d68883e1f605 00:50:10 Removing intermediate container d68883e1f605 00:50:10 ---> 21004752670a 00:50:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:50:10 ---> Running in e7a235aebe5f 00:50:10 Removing intermediate container e7a235aebe5f 00:50:10 ---> 07e2c3ff39c4 00:50:10 Step 5/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:50:10 ---> Running in b251ec75d061 00:50:10 Removing intermediate container b251ec75d061 00:50:10 ---> ca07bad264b3 00:50:10 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:50:10 ---> Running in 4e840b30c965 00:50:11 Removing intermediate container 4e840b30c965 00:50:11 ---> f20402a89222 00:50:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:11 ---> Running in 228b6563ee1a 00:50:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:50:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:50:13 OK: 220 MiB in 52 packages 00:50:13 Removing intermediate container 228b6563ee1a 00:50:13 ---> 1392b2fc5421 00:50:13 Step 8/26 : WORKDIR /app 00:50:13 ---> Running in fcd13cde6318 00:50:13 Removing intermediate container fcd13cde6318 00:50:13 ---> 5943c1ca1935 00:50:13 Step 9/26 : COPY . . 00:50:13 ---> d1e6b12a6bdc 00:50:13 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:13 ---> Running in f232a2e319b4 00:50:14 Removing intermediate container f232a2e319b4 00:50:14 ---> c5b6a0d28bd5 00:50:14 Step 11/26 : ARG MAKE="make build" 00:50:14 ---> Running in 918b7202c7a9 00:50:14 Removing intermediate container 918b7202c7a9 00:50:14 ---> 81c87c110638 00:50:14 Step 12/26 : RUN $MAKE 00:50:14 ---> Running in 9c110fde3330 00:50:14 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.2-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.0.2-dev.20" -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:25 provisioning config files... 00:50:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/24@tmp/config7214040411134006903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:25 ---> docker-login.sh 00:50:25 nexus3.edgexfoundry.org:10001 00:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:27 Configure a credential helper to remove this warning. See 00:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:27 00:50:27 Login Succeeded 00:50:27 nexus3.edgexfoundry.org:10002 00:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:27 Configure a credential helper to remove this warning. See 00:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:27 00:50:27 Login Succeeded 00:50:27 nexus3.edgexfoundry.org:10003 00:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 nexus3.edgexfoundry.org:10004 00:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:28 Configure a credential helper to remove this warning. See 00:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:28 00:50:28 Login Succeeded 00:50:28 docker.io 00:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:29 Configure a credential helper to remove this warning. See 00:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:29 00:50:29 Login Succeeded 00:50:29 ---> docker-login.sh ends [Pipeline] } 00:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:29 ========================================================= 00:50:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:50:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:50:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 00:50:30 Sending build context to Docker daemon 200.2kB 00:50:30 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 00:50:30 Step 2/12 : FROM ${BASE} AS builder 00:50:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:50:30 552d1f2373af: Pulling fs layer 00:50:30 ea3f2d53f512: Pulling fs layer 00:50:30 9e70ebbbe112: Pulling fs layer 00:50:30 7a9cfe048b4a: Pulling fs layer 00:50:30 72dc09318566: Pulling fs layer 00:50:30 f4f7b4309257: Pulling fs layer 00:50:30 0ac9a79272e3: Pulling fs layer 00:50:30 b78e95d17946: Pulling fs layer 00:50:30 f4f7b4309257: Waiting 00:50:30 72dc09318566: Waiting 00:50:30 0ac9a79272e3: Waiting 00:50:30 7a9cfe048b4a: Waiting 00:50:30 b78e95d17946: Waiting 00:50:30 9e70ebbbe112: Download complete 00:50:30 ea3f2d53f512: Verifying Checksum 00:50:30 ea3f2d53f512: Download complete 00:50:30 72dc09318566: Verifying Checksum 00:50:30 72dc09318566: Download complete 00:50:30 f4f7b4309257: Verifying Checksum 00:50:30 f4f7b4309257: Download complete 00:50:30 552d1f2373af: Download complete 00:50:30 0ac9a79272e3: Verifying Checksum 00:50:30 0ac9a79272e3: Download complete 00:50:31 552d1f2373af: Pull complete 00:50:32 ea3f2d53f512: Pull complete 00:50:32 Removing intermediate container 9c110fde3330 00:50:32 ---> fae1991b65ec 00:50:32 Step 13/26 : FROM alpine:3.14 00:50:32 3.14: Pulling from library/alpine 00:50:32 a0d0a0d46f8b: Already exists 00:50:33 b78e95d17946: Verifying Checksum 00:50:33 b78e95d17946: Download complete 00:50:33 9e70ebbbe112: Pull complete 00:50:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 00:50:33 Status: Downloaded newer image for alpine:3.14 00:50:33 ---> 14119a10abf4 00:50:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:50:33 ---> Running in f26056a80df9 00:50:33 Removing intermediate container f26056a80df9 00:50:33 ---> 176b4b23d79f 00:50:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:50:33 ---> Running in 87e7fded2ddc 00:50:33 Removing intermediate container 87e7fded2ddc 00:50:33 ---> 9da4942c0d6d 00:50:33 Step 16/26 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 00:50:33 ---> Running in c154770704c5 00:50:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:50:33 7a9cfe048b4a: Verifying Checksum 00:50:33 7a9cfe048b4a: Download complete 00:50:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:50:33 (1/7) Installing ca-certificates (20191127-r5) 00:50:33 (2/7) Installing dumb-init (1.2.5-r1) 00:50:33 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:50:33 (4/7) Installing libsodium (1.0.18-r0) 00:50:33 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:50:33 (6/7) Installing libzmq (4.3.4-r0) 00:50:34 (7/7) Installing zeromq (4.3.4-r0) 00:50:34 Executing busybox-1.33.1-r3.trigger 00:50:34 Executing ca-certificates-20191127-r5.trigger 00:50:34 OK: 9 MiB in 21 packages 00:50:34 Removing intermediate container c154770704c5 00:50:34 ---> 26dc39565c6e 00:50:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:50:34 ---> f62be7fefe4d 00:50:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:50:34 ---> 216a647120cf 00:50:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:50:35 ---> 73d68cd864ce 00:50:35 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:50:35 ---> 8522b23f8713 00:50:35 Step 21/26 : EXPOSE 48095 00:50:35 ---> Running in 414d1d5275e4 00:50:35 Removing intermediate container 414d1d5275e4 00:50:35 ---> 2faf6bd21223 00:50:35 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:50:35 ---> Running in 36368206aaa1 00:50:35 Removing intermediate container 36368206aaa1 00:50:35 ---> a3d25e9b8237 00:50:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:50:35 ---> Running in bab5a5b91b88 00:50:35 Removing intermediate container bab5a5b91b88 00:50:35 ---> ddaf35543b84 00:50:35 Step 24/26 : LABEL arch=amd64 00:50:35 ---> Running in 854cfaaf2e98 00:50:35 Removing intermediate container 854cfaaf2e98 00:50:35 ---> 67de9a8d5c6a 00:50:35 Step 25/26 : LABEL git_sha=c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:50:35 ---> Running in ea69d187e839 00:50:35 Removing intermediate container ea69d187e839 00:50:35 ---> 18a9ff782eac 00:50:35 Step 26/26 : LABEL version=2.0.2-dev.20 00:50:36 ---> Running in 69bd844efac4 00:50:36 Removing intermediate container 69bd844efac4 00:50:36 ---> 97d6e3903e40 00:50:36 [Warning] One or more build-args [ARCH] were not consumed 00:50:36 Successfully built 97d6e3903e40 00:50:36 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:36 provisioning config files... 00:50:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/24@tmp/config6598458254395123114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:36 ---> docker-login.sh 00:50:36 nexus3.edgexfoundry.org:10001 00:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:36 Configure a credential helper to remove this warning. See 00:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:36 00:50:36 Login Succeeded 00:50:36 nexus3.edgexfoundry.org:10002 00:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:36 Configure a credential helper to remove this warning. See 00:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:36 00:50:36 Login Succeeded 00:50:36 nexus3.edgexfoundry.org:10003 00:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:36 Configure a credential helper to remove this warning. See 00:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:36 00:50:36 Login Succeeded 00:50:36 nexus3.edgexfoundry.org:10004 00:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:36 Configure a credential helper to remove this warning. See 00:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:36 00:50:36 Login Succeeded 00:50:36 docker.io 00:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:37 Configure a credential helper to remove this warning. See 00:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:37 00:50:37 Login Succeeded 00:50:37 ---> docker-login.sh ends [Pipeline] } 00:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:37 [edgeXDocker.push] Tagging docker image app-service-configurable with the following tags: 00:50:37 c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:50:37 latest 00:50:37 2.0.2-dev.20 00:50:37 c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:50:37 main 00:50:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:50:37 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] isUnix [Pipeline] sh 00:50:38 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:50:38 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 00:50:38 cf48a4a99864: Preparing 00:50:38 b23b810bce70: Preparing 00:50:38 6f900b47efb7: Preparing 00:50:38 57e0b3ccc5e8: Preparing 00:50:38 63680b190044: Preparing 00:50:38 e2eb06d8af82: Preparing 00:50:38 e2eb06d8af82: Waiting 00:50:38 b23b810bce70: Pushed 00:50:38 e2eb06d8af82: Layer already exists 00:50:38 57e0b3ccc5e8: Pushed 00:50:38 63680b190044: Pushed 00:50:38 6f900b47efb7: Pushed 00:50:39 cf48a4a99864: Pushed 00:50:39 c489e4920d8ecc2bfbec6e129aa767e61b2209f1: digest: sha256:454ae888a8ed84cbea4bea9dab547a30f82990ce5ebf767f084950c722062f1e size: 1574 [Pipeline] isUnix [Pipeline] sh 00:50:39 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 00:50:40 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:latest 00:50:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 00:50:40 cf48a4a99864: Preparing 00:50:40 b23b810bce70: Preparing 00:50:40 6f900b47efb7: Preparing 00:50:40 57e0b3ccc5e8: Preparing 00:50:40 63680b190044: Preparing 00:50:40 e2eb06d8af82: Preparing 00:50:40 e2eb06d8af82: Waiting 00:50:40 b23b810bce70: Layer already exists 00:50:40 63680b190044: Layer already exists 00:50:40 57e0b3ccc5e8: Layer already exists 00:50:40 6f900b47efb7: Layer already exists 00:50:40 cf48a4a99864: Layer already exists 00:50:40 e2eb06d8af82: Layer already exists 00:50:40 latest: digest: sha256:454ae888a8ed84cbea4bea9dab547a30f82990ce5ebf767f084950c722062f1e size: 1574 [Pipeline] isUnix [Pipeline] sh 00:50:40 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:2.0.2-dev.20 [Pipeline] isUnix [Pipeline] sh 00:50:40 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:2.0.2-dev.20 00:50:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 00:50:40 cf48a4a99864: Preparing 00:50:40 b23b810bce70: Preparing 00:50:40 6f900b47efb7: Preparing 00:50:40 57e0b3ccc5e8: Preparing 00:50:40 63680b190044: Preparing 00:50:40 e2eb06d8af82: Preparing 00:50:40 e2eb06d8af82: Waiting 00:50:40 cf48a4a99864: Layer already exists 00:50:40 b23b810bce70: Layer already exists 00:50:40 63680b190044: Layer already exists 00:50:40 57e0b3ccc5e8: Layer already exists 00:50:40 6f900b47efb7: Layer already exists 00:50:40 e2eb06d8af82: Layer already exists 00:50:40 2.0.2-dev.20: digest: sha256:454ae888a8ed84cbea4bea9dab547a30f82990ce5ebf767f084950c722062f1e size: 1574 [Pipeline] isUnix [Pipeline] sh 00:50:40 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 [Pipeline] isUnix [Pipeline] sh 00:50:41 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 00:50:41 cf48a4a99864: Preparing 00:50:41 b23b810bce70: Preparing 00:50:41 6f900b47efb7: Preparing 00:50:41 57e0b3ccc5e8: Preparing 00:50:41 63680b190044: Preparing 00:50:41 e2eb06d8af82: Preparing 00:50:41 e2eb06d8af82: Waiting 00:50:41 b23b810bce70: Layer already exists 00:50:41 57e0b3ccc5e8: Layer already exists 00:50:41 63680b190044: Layer already exists 00:50:41 cf48a4a99864: Layer already exists 00:50:41 6f900b47efb7: Layer already exists 00:50:41 e2eb06d8af82: Layer already exists 00:50:41 c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20: digest: sha256:454ae888a8ed84cbea4bea9dab547a30f82990ce5ebf767f084950c722062f1e size: 1574 [Pipeline] isUnix [Pipeline] sh 00:50:41 + docker tag app-service-configurable nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] isUnix [Pipeline] sh 00:50:41 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable:main 00:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable] 00:50:41 cf48a4a99864: Preparing 00:50:41 b23b810bce70: Preparing 00:50:41 6f900b47efb7: Preparing 00:50:41 57e0b3ccc5e8: Preparing 00:50:41 63680b190044: Preparing 00:50:41 e2eb06d8af82: Preparing 00:50:41 e2eb06d8af82: Waiting 00:50:41 57e0b3ccc5e8: Layer already exists 00:50:41 6f900b47efb7: Layer already exists 00:50:41 cf48a4a99864: Layer already exists 00:50:41 63680b190044: Layer already exists 00:50:41 b23b810bce70: Layer already exists 00:50:41 e2eb06d8af82: Layer already exists 00:50:41 main: digest: sha256:454ae888a8ed84cbea4bea9dab547a30f82990ce5ebf767f084950c722062f1e size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:41 ===================================================== [Pipeline] echo 00:50:41 taggedImages: 00:50:41 - nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:50:41 - nexus3.edgexfoundry.org:10004/app-service-configurable:latest 00:50:41 - nexus3.edgexfoundry.org:10004/app-service-configurable:2.0.2-dev.20 00:50:41 - nexus3.edgexfoundry.org:10004/app-service-configurable:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:50:41 - nexus3.edgexfoundry.org:10004/app-service-configurable:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:42 00:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:42 latest: Pulling from edgex-lftools-log-publisher 00:50:42 b4d181a07f80: Pulling fs layer 00:50:42 a1111a8f2ec3: Pulling fs layer 00:50:42 ed53099fbce6: Pulling fs layer 00:50:42 dc539afda2c1: Pulling fs layer 00:50:42 77bc0d833cb6: Pulling fs layer 00:50:42 9065ff56babe: Pulling fs layer 00:50:42 d287ab97295c: Pulling fs layer 00:50:42 dc539afda2c1: Waiting 00:50:42 9065ff56babe: Waiting 00:50:42 d287ab97295c: Waiting 00:50:42 77bc0d833cb6: Waiting 00:50:42 a1111a8f2ec3: Verifying Checksum 00:50:42 a1111a8f2ec3: Download complete 00:50:42 dc539afda2c1: Verifying Checksum 00:50:42 dc539afda2c1: Download complete 00:50:42 ed53099fbce6: Verifying Checksum 00:50:42 ed53099fbce6: Download complete 00:50:42 9065ff56babe: Verifying Checksum 00:50:42 9065ff56babe: Download complete 00:50:42 77bc0d833cb6: Verifying Checksum 00:50:42 77bc0d833cb6: Download complete 00:50:42 b4d181a07f80: Verifying Checksum 00:50:42 b4d181a07f80: Download complete 00:50:43 d287ab97295c: Verifying Checksum 00:50:43 d287ab97295c: Download complete 00:50:43 7a9cfe048b4a: Pull complete 00:50:44 72dc09318566: Pull complete 00:50:44 f4f7b4309257: Pull complete 00:50:44 b4d181a07f80: Pull complete 00:50:44 a1111a8f2ec3: Pull complete 00:50:44 0ac9a79272e3: Pull complete 00:50:45 ed53099fbce6: Pull complete 00:50:45 dc539afda2c1: Pull complete 00:50:45 77bc0d833cb6: Pull complete 00:50:45 9065ff56babe: Pull complete 00:50:50 d287ab97295c: Pull complete 00:50:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:50:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:50:50 prd-centos7-docker-4c-2g-1087 does not seem to be running inside a container 00:50:50 $ 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/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:51 b78e95d17946: Pull complete 00:50:51 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 00:50:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:50:51 ---> 8b459fc5aaf0 00:50:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:50:52 ---> Running in 6b9677c44944 00:50:52 Removing intermediate container 6b9677c44944 00:50:52 ---> c3844bc7ce1b 00:50:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:50:52 ---> Running in 6d4324e11778 00:50:52 Removing intermediate container 6d4324e11778 00:50:52 ---> ea43aa272bd3 00:50:52 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:50:53 ---> Running in b8f2c5282e29 00:50:53 Removing intermediate container b8f2c5282e29 00:50:53 ---> 8683d3f2901f 00:50:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:50:53 ---> Running in 6e0898eee3c6 00:50:55 Removing intermediate container 6e0898eee3c6 00:50:55 ---> 215099f3c3ae 00:50:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:55 ---> Running in 01a8368b7dfa 00:50:56 $ docker top 9db743cd2eeacf7606ac30f1031335a570f5eaafaf3c2c59310e0f5c09fe3a35 -eo pid,comm [Pipeline] { 00:50:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh 00:50:57 ---> job-cost.sh 00:50:57 lf-activate-venv: SKIPPING 00:50:57 INFO: No Stack... 00:50:57 INFO: Retrieving Pricing Info for: v3-standard-2 00:50:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:50:58 INFO: Archiving Costs [Pipeline] sh 00:50:58 + cat /w/workspace/app-service-configurable/24/archives/cost.csv 00:50:58 + cut -d, -f6 [Pipeline] lock 00:50:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] 00:50:58 Resource [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] did not exist. Created. 00:50:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:58 OK: 219 MiB in 52 packages 00:50:58 + echo total: 0.05999999865889549 [Pipeline] stash 00:50:58 Stashed 1 file(s) [Pipeline] } 00:50:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:58 $ docker stop --time=1 9db743cd2eeacf7606ac30f1031335a570f5eaafaf3c2c59310e0f5c09fe3a35 00:50:59 Removing intermediate container 01a8368b7dfa 00:50:59 ---> 05cf6cb4aa81 00:50:59 Step 8/12 : WORKDIR /app 00:50:59 ---> Running in a7755cc10d36 00:50:59 Removing intermediate container a7755cc10d36 00:50:59 ---> 7320a6d6bbc4 00:50:59 Step 9/12 : COPY . . 00:51:00 $ docker rm -f 9db743cd2eeacf7606ac30f1031335a570f5eaafaf3c2c59310e0f5c09fe3a35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:00 ---> 10f98275e4ec 00:51:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:00 ---> Running in a32b9d8871ba 00:52:22 Removing intermediate container a32b9d8871ba 00:52:22 ---> d45012ecbdfb 00:52:22 Step 11/12 : ARG MAKE="make build" 00:52:22 ---> Running in f2d4b5134bb7 00:52:22 Removing intermediate container f2d4b5134bb7 00:52:22 ---> e4a58acb1601 00:52:22 Step 12/12 : RUN $MAKE 00:52:22 ---> Running in 8ca8e73ad5a3 00:52:22 noop 00:52:22 Removing intermediate container 8ca8e73ad5a3 00:52:22 ---> fd9ca10599e8 00:52:22 Successfully built fd9ca10599e8 00:52:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:52:23 + docker inspect -f . ci-base-image-arm64 00:52:23 . [Pipeline] withDockerContainer 00:52:23 prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container 00:52:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@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 ******** ci-base-image-arm64 cat 00:52:24 $ docker top 21241354a7be864136cdaf8111da6cb5d4f58cd4d854775a009c377fe0759d2a -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:25 + go version 00:52:25 go version go1.16.8 linux/arm64 [Pipeline] } 00:52:25 $ docker stop --time=1 21241354a7be864136cdaf8111da6cb5d4f58cd4d854775a009c377fe0759d2a 00:52:27 $ docker rm -f 21241354a7be864136cdaf8111da6cb5d4f58cd4d854775a009c377fe0759d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:52:28 + docker inspect -f . ci-base-image-arm64 00:52:28 . [Pipeline] withDockerContainer 00:52:28 prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container 00:52:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@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 ******** ci-base-image-arm64 cat 00:52:30 $ docker top c3a150188687e34d025b915e04375f4164ae963cb1a83c51d5438790f7737d71 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:52:31 + make test 00:52:31 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:53:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:53:27 CGO_ENABLED=1 go vet ./... 00:53:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:53:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:53:54 ./bin/test-attribution-txt.sh [Pipeline] } 00:53:54 $ docker stop --time=1 c3a150188687e34d025b915e04375f4164ae963cb1a83c51d5438790f7737d71 00:53:56 $ docker rm -f c3a150188687e34d025b915e04375f4164ae963cb1a83c51d5438790f7737d71 [Pipeline] // withDockerContainer [Pipeline] sh 00:53:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:53:57 Warning: overwriting stash ‘coverage-report’ 00:53:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:53:58 + ls -al . 00:53:58 total 172 00:53:58 drwxrwxr-x 7 jenkins jenkins 4096 Oct 22 00:53 . 00:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 00:49 .. 00:53:58 -rw-rw-r-- 1 jenkins jenkins 119 Oct 22 00:50 .dockerignore 00:53:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 00:50 .git 00:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 00:50 .github 00:53:58 -rw-rw-r-- 1 jenkins jenkins 104 Oct 22 00:50 .gitignore 00:53:58 -rw-rw-r-- 1 jenkins jenkins 7608 Oct 22 00:50 Attribution.txt 00:53:58 -rw-rw-r-- 1 jenkins jenkins 22206 Oct 22 00:50 CHANGELOG.md 00:53:58 -rw-rw-r-- 1 jenkins jenkins 2064 Oct 22 00:50 Dockerfile 00:53:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 00:50 GOVERNANCE.md 00:53:58 -rw-rw-r-- 1 jenkins jenkins 687 Oct 22 00:50 Jenkinsfile 00:53:58 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 00:50 LICENSE 00:53:58 -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 00:50 OWNERS.md 00:53:58 -rw-rw-r-- 1 jenkins jenkins 3224 Oct 22 00:50 README.md 00:53:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 22 00:41 VERSION 00:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 00:50 bin 00:53:58 -rw-r--r-- 1 jenkins jenkins 10 Oct 22 00:52 coverage.out 00:53:58 -rw-rw-r-- 1 jenkins jenkins 136 Oct 22 00:50 go.mod 00:53:58 -rw-rw-r-- 1 jenkins jenkins 50044 Oct 22 00:50 go.sum 00:53:58 -rw-rw-r-- 1 jenkins jenkins 1949 Oct 22 00:50 main.go 00:53:58 -rw-rw-r-- 1 jenkins jenkins 1614 Oct 22 00:50 makefile 00:53:58 drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 00:50 res 00:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 00:50 snap [Pipeline] isUnix [Pipeline] sh 00:53:59 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c489e4920d8ecc2bfbec6e129aa767e61b2209f1 --label arch=arm64 --label version=2.0.2-dev.20 . 00:53:59 Sending build context to Docker daemon 201.2kB 00:53:59 Step 1/26 : ARG BASE=golang:1.16-alpine3.14 00:53:59 Step 2/26 : FROM ${BASE} AS builder 00:53:59 ---> fd9ca10599e8 00:53:59 Step 3/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:53:59 ---> Running in f416f1d1d17d 00:53:59 Removing intermediate container f416f1d1d17d 00:53:59 ---> dbcaeb8aee6a 00:53:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:54:00 ---> Running in 5361011434df 00:54:00 Removing intermediate container 5361011434df 00:54:00 ---> 53a3cfe9e24f 00:54:00 Step 5/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:54:00 ---> Running in a25b8e06b944 00:54:01 Removing intermediate container a25b8e06b944 00:54:01 ---> 9ff7ae1fb296 00:54:01 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:54:01 ---> Running in dc702bda3b99 00:54:03 Removing intermediate container dc702bda3b99 00:54:03 ---> fed5b0200988 00:54:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:54:03 ---> Running in d4a6755b5706 00:54:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:54:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:54:06 OK: 219 MiB in 52 packages 00:54:07 Removing intermediate container d4a6755b5706 00:54:07 ---> ea6c59c63b6e 00:54:07 Step 8/26 : WORKDIR /app 00:54:07 ---> Running in 2410d92abb23 00:54:07 Removing intermediate container 2410d92abb23 00:54:07 ---> dc7a1dad1040 00:54:07 Step 9/26 : COPY . . 00:54:08 ---> 1b7dc33b0e9d 00:54:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:08 ---> Running in c5e28bdb7b4d 00:54:11 Removing intermediate container c5e28bdb7b4d 00:54:11 ---> d52a5e76686f 00:54:11 Step 11/26 : ARG MAKE="make build" 00:54:11 ---> Running in f5d4e82f96c1 00:54:11 Removing intermediate container f5d4e82f96c1 00:54:11 ---> bca3555f8894 00:54:11 Step 12/26 : RUN $MAKE 00:54:11 ---> Running in a9a4f7d0588d 00:54:12 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.2-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=2.0.2-dev.20" -o app-service-configurable 00:54:59 Removing intermediate container a9a4f7d0588d 00:54:59 ---> 12a28ec988f0 00:54:59 Step 13/26 : FROM alpine:3.14 00:54:59 3.14: Pulling from library/alpine 00:54:59 552d1f2373af: Already exists 00:54:59 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 00:54:59 Status: Downloaded newer image for alpine:3.14 00:54:59 ---> bb3de5531c18 00:54:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:54:59 ---> Running in 1a3957567623 00:54:59 Removing intermediate container 1a3957567623 00:54:59 ---> e3a9d7c44e1a 00:54:59 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:54:59 ---> Running in 535518a83f32 00:54:59 Removing intermediate container 535518a83f32 00:54:59 ---> 18fa4af331d7 00:54:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 00:54:59 ---> Running in ec8a4fba6184 00:54:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:54:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:54:59 (1/7) Installing ca-certificates (20191127-r5) 00:54:59 (2/7) Installing dumb-init (1.2.5-r1) 00:54:59 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:54:59 (4/7) Installing libsodium (1.0.18-r0) 00:54:59 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:54:59 (6/7) Installing libzmq (4.3.4-r0) 00:54:59 (7/7) Installing zeromq (4.3.4-r0) 00:54:59 Executing busybox-1.33.1-r3.trigger 00:54:59 Executing ca-certificates-20191127-r5.trigger 00:54:59 OK: 9 MiB in 21 packages 00:54:59 Removing intermediate container ec8a4fba6184 00:54:59 ---> 2d6cc8a39c10 00:54:59 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:55:00 ---> 0b110e12e5fc 00:55:00 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:55:00 ---> 64d73918d0a0 00:55:00 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:55:01 ---> c1060f5454c7 00:55:01 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:55:02 ---> 5b827bc5310a 00:55:02 Step 21/26 : EXPOSE 48095 00:55:02 ---> Running in ecab31b60c70 00:55:03 Removing intermediate container ecab31b60c70 00:55:03 ---> 64a4040fa5b2 00:55:03 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:55:03 ---> Running in 5269a6c23b3b 00:55:03 Removing intermediate container 5269a6c23b3b 00:55:03 ---> 4f7df16468d8 00:55:03 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:55:03 ---> Running in 9bd53a5181b5 00:55:04 Removing intermediate container 9bd53a5181b5 00:55:04 ---> 837975ad1d47 00:55:04 Step 24/26 : LABEL arch=arm64 00:55:04 ---> Running in 1496cce5995e 00:55:04 Removing intermediate container 1496cce5995e 00:55:04 ---> 76a41791f2eb 00:55:04 Step 25/26 : LABEL git_sha=c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:55:04 ---> Running in 11f20a82ef53 00:55:05 Removing intermediate container 11f20a82ef53 00:55:05 ---> 78fdabd3f800 00:55:05 Step 26/26 : LABEL version=2.0.2-dev.20 00:55:05 ---> Running in 9850a396ec88 00:55:05 Removing intermediate container 9850a396ec88 00:55:05 ---> bbe784bb7847 00:55:05 [Warning] One or more build-args [ARCH] were not consumed 00:55:05 Successfully built bbe784bb7847 00:55:05 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:05 provisioning config files... 00:55:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/24@tmp/config4229807062825001039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:06 ---> docker-login.sh 00:55:06 nexus3.edgexfoundry.org:10001 00:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 nexus3.edgexfoundry.org:10002 00:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:07 Configure a credential helper to remove this warning. See 00:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:07 00:55:07 Login Succeeded 00:55:07 nexus3.edgexfoundry.org:10003 00:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:07 Configure a credential helper to remove this warning. See 00:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:07 00:55:07 Login Succeeded 00:55:07 nexus3.edgexfoundry.org:10004 00:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:08 Configure a credential helper to remove this warning. See 00:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:08 00:55:08 Login Succeeded 00:55:08 docker.io 00:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:09 Configure a credential helper to remove this warning. See 00:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:09 00:55:09 Login Succeeded 00:55:09 ---> docker-login.sh ends [Pipeline] } 00:55:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:55:09 [edgeXDocker.push] Tagging docker image app-service-configurable-arm64 with the following tags: 00:55:09 c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:55:09 latest 00:55:09 2.0.2-dev.20 00:55:09 c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:55:09 main 00:55:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:55:09 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] isUnix [Pipeline] sh 00:55:10 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:55:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 00:55:10 56e48762e4d8: Preparing 00:55:10 a9418821ad58: Preparing 00:55:10 59f0c33fb69d: Preparing 00:55:10 cff38064384a: Preparing 00:55:10 a27a8c2ae1a8: Preparing 00:55:10 ee420dfed78a: Preparing 00:55:10 ee420dfed78a: Waiting 00:55:10 cff38064384a: Pushed 00:55:10 a9418821ad58: Pushed 00:55:10 59f0c33fb69d: Pushed 00:55:10 ee420dfed78a: Layer already exists 00:55:11 a27a8c2ae1a8: Pushed 00:55:14 56e48762e4d8: Pushed 00:55:14 c489e4920d8ecc2bfbec6e129aa767e61b2209f1: digest: sha256:7b48063f057abeb4984998bd7ba95186f5dd49107d46234b6f16312a22142f11 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:55:14 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:55:14 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 00:55:14 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 00:55:14 56e48762e4d8: Preparing 00:55:14 a9418821ad58: Preparing 00:55:14 59f0c33fb69d: Preparing 00:55:14 cff38064384a: Preparing 00:55:14 a27a8c2ae1a8: Preparing 00:55:14 ee420dfed78a: Preparing 00:55:14 ee420dfed78a: Waiting 00:55:14 59f0c33fb69d: Layer already exists 00:55:14 a9418821ad58: Layer already exists 00:55:14 a27a8c2ae1a8: Layer already exists 00:55:14 56e48762e4d8: Layer already exists 00:55:14 cff38064384a: Layer already exists 00:55:14 ee420dfed78a: Layer already exists 00:55:15 latest: digest: sha256:7b48063f057abeb4984998bd7ba95186f5dd49107d46234b6f16312a22142f11 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:55:15 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.0.2-dev.20 [Pipeline] isUnix [Pipeline] sh 00:55:15 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.0.2-dev.20 00:55:15 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 00:55:15 56e48762e4d8: Preparing 00:55:15 a9418821ad58: Preparing 00:55:15 59f0c33fb69d: Preparing 00:55:15 cff38064384a: Preparing 00:55:15 a27a8c2ae1a8: Preparing 00:55:15 ee420dfed78a: Preparing 00:55:15 ee420dfed78a: Waiting 00:55:16 a27a8c2ae1a8: Layer already exists 00:55:16 56e48762e4d8: Layer already exists 00:55:16 a9418821ad58: Layer already exists 00:55:16 cff38064384a: Layer already exists 00:55:16 59f0c33fb69d: Layer already exists 00:55:16 ee420dfed78a: Layer already exists 00:55:16 2.0.2-dev.20: digest: sha256:7b48063f057abeb4984998bd7ba95186f5dd49107d46234b6f16312a22142f11 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:55:16 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 [Pipeline] isUnix [Pipeline] sh 00:55:16 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:55:16 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 00:55:16 56e48762e4d8: Preparing 00:55:16 a9418821ad58: Preparing 00:55:16 59f0c33fb69d: Preparing 00:55:16 cff38064384a: Preparing 00:55:16 a27a8c2ae1a8: Preparing 00:55:16 ee420dfed78a: Preparing 00:55:16 ee420dfed78a: Waiting 00:55:16 a27a8c2ae1a8: Layer already exists 00:55:16 cff38064384a: Layer already exists 00:55:16 59f0c33fb69d: Layer already exists 00:55:16 a9418821ad58: Layer already exists 00:55:16 56e48762e4d8: Layer already exists 00:55:16 ee420dfed78a: Layer already exists 00:55:16 c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20: digest: sha256:7b48063f057abeb4984998bd7ba95186f5dd49107d46234b6f16312a22142f11 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:55:17 + docker tag app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] isUnix [Pipeline] sh 00:55:17 + docker push nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main 00:55:17 The push refers to repository [nexus3.edgexfoundry.org:10004/app-service-configurable-arm64] 00:55:17 56e48762e4d8: Preparing 00:55:17 a9418821ad58: Preparing 00:55:17 59f0c33fb69d: Preparing 00:55:17 cff38064384a: Preparing 00:55:17 a27a8c2ae1a8: Preparing 00:55:17 ee420dfed78a: Preparing 00:55:17 ee420dfed78a: Waiting 00:55:17 a9418821ad58: Layer already exists 00:55:17 56e48762e4d8: Layer already exists 00:55:17 59f0c33fb69d: Layer already exists 00:55:17 cff38064384a: Layer already exists 00:55:17 a27a8c2ae1a8: Layer already exists 00:55:17 ee420dfed78a: Layer already exists 00:55:17 main: digest: sha256:7b48063f057abeb4984998bd7ba95186f5dd49107d46234b6f16312a22142f11 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:55:17 ===================================================== [Pipeline] echo 00:55:17 taggedImages: 00:55:17 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1 00:55:17 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:latest 00:55:17 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:2.0.2-dev.20 00:55:17 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:c489e4920d8ecc2bfbec6e129aa767e61b2209f1-2.0.2-dev.20 00:55:17 - nexus3.edgexfoundry.org:10004/app-service-configurable-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:18 00:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:19 arm64: Pulling from edgex-lftools-log-publisher 00:55:19 448f6bf000e3: Pulling fs layer 00:55:19 f757da607395: Pulling fs layer 00:55:19 05883995daec: Pulling fs layer 00:55:19 8603b9c90790: Pulling fs layer 00:55:19 1560dd03e051: Pulling fs layer 00:55:19 27f5ce0e4adf: Pulling fs layer 00:55:19 c2d8d7efcc4b: Pulling fs layer 00:55:19 1560dd03e051: Waiting 00:55:19 27f5ce0e4adf: Waiting 00:55:19 c2d8d7efcc4b: Waiting 00:55:19 8603b9c90790: Waiting 00:55:19 f757da607395: Verifying Checksum 00:55:19 f757da607395: Download complete 00:55:19 8603b9c90790: Verifying Checksum 00:55:19 8603b9c90790: Download complete 00:55:19 1560dd03e051: Verifying Checksum 00:55:19 1560dd03e051: Download complete 00:55:19 27f5ce0e4adf: Download complete 00:55:19 05883995daec: Verifying Checksum 00:55:19 05883995daec: Download complete 00:55:19 448f6bf000e3: Verifying Checksum 00:55:19 448f6bf000e3: Download complete 00:55:22 c2d8d7efcc4b: Verifying Checksum 00:55:22 c2d8d7efcc4b: Download complete 00:55:23 448f6bf000e3: Pull complete 00:55:24 f757da607395: Pull complete 00:55:25 05883995daec: Pull complete 00:55:25 8603b9c90790: Pull complete 00:55:26 1560dd03e051: Pull complete 00:55:27 27f5ce0e4adf: Pull complete 00:55:42 c2d8d7efcc4b: Pull complete 00:55:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:55:42 prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container 00:55:42 $ 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/app-service-configurable/24 -v /w/workspace/app-service-configurable/24:/w/workspace/app-service-configurable/24:rw,z -v /w/workspace/app-service-configurable/24@tmp:/w/workspace/app-service-configurable/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:55:45 $ docker top e75c8a29b58b87dc0d44dbf5e7f10bddd8cb37d06899fd372b77a01c955ed7bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:46 ---> job-cost.sh 00:55:46 lf-activate-venv: SKIPPING 00:55:46 INFO: No Stack... 00:55:47 INFO: Retrieving Pricing Info for: v3-standard-4 00:55:48 INFO: Archiving Costs [Pipeline] sh 00:55:48 + cat /w/workspace/app-service-configurable/24/archives/cost.csv 00:55:48 + cut -d, -f6 [Pipeline] lock 00:55:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] 00:55:48 Resource [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] did not exist. Created. 00:55:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:49 /w/workspace/app-service-configurable/24@tmp/durable-c8e427f1/script.sh: 1: /w/workspace/app-service-configurable/24@tmp/durable-c8e427f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:55:50 + echo total: 0.10999999940395355 [Pipeline] stash 00:55:50 Warning: overwriting stash ‘stack-cost’ 00:55:50 Stashed 1 file(s) [Pipeline] } 00:55:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:50 $ docker stop --time=1 e75c8a29b58b87dc0d44dbf5e7f10bddd8cb37d06899fd372b77a01c955ed7bd 00:55:51 $ docker rm -f e75c8a29b58b87dc0d44dbf5e7f10bddd8cb37d06899fd372b77a01c955ed7bd [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 00:55:52 provisioning config files... 00:55:52 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4405412468225232335tmp [Pipeline] { [Pipeline] sh 00:55:52 + set +x 00:55:52 + curl -s https://codecov.io/bash 00:55:52 + bash -s -- 00:55:52 00:55:52 _____ _ 00:55:52 / ____| | | 00:55:52 | | ___ __| | ___ ___ _____ __ 00:55:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:55:52 | |___| (_) | (_| | __/ (_| (_) \ V / 00:55:52 \_____\___/ \__,_|\___|\___\___/ \_/ 00:55:52 Bash-1.0.6 00:55:52 00:55:52 00:55:52 ==> git version 2.24.4 found 00:55:52 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:55:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:55:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:55:52 ==> Jenkins CI detected. 00:55:52 current dir:  /w/workspace/ry_app-service-configurable_main 00:55:52 project root: . 00:55:52 --> token set from env 00:55:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:55:52 ==> Running gcov in . (disable via -X gcov) 00:55:52 ==> Python coveragepy not found 00:55:52 ==> Searching for coverage reports in: 00:55:52 + . 00:55:52 -> Found 1 reports 00:55:52 ==> Detecting git/mercurial file structure 00:55:53 ==> Reading reports 00:55:53 + ./coverage.out bytes=10 00:55:53 ==> Appending adjustments 00:55:53 https://docs.codecov.io/docs/fixing-reports 00:55:53 + Found adjustments 00:55:53 ==> Gzipping contents 00:55:53 4.0K /tmp/codecov.ODXlmd.gz 00:55:53 ==> Uploading reports 00:55:53 url: https://codecov.io 00:55:53 query: branch=main&commit=c489e4920d8ecc2bfbec6e129aa767e61b2209f1&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 00:55:53 -> Pinging Codecov 00:55:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=main&commit=c489e4920d8ecc2bfbec6e129aa767e61b2209f1&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 00:55:53 -> Uploading to 00:55:53 https://storage.googleapis.com/codecov/v4/raw/2021-10-22/A97CA9966030D2A3747ED39772930CCE/c489e4920d8ecc2bfbec6e129aa767e61b2209f1/3a529091-b38d-4458-aac9-8be653362793.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211022%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211022T005553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c64a2aeeb308733143795f7685ed523bc7e67f6f6416a0113e4fa42fcba2903 00:55:53 % Total % Received % Xferd Average Speed Time Time Time Current 00:55:53 Dload Upload Total Spent Left Speed 00:55:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 0 0 100 566 0 1933 --:--:-- --:--:-- --:--:-- 1931 100 566 0 0 100 566 0 1932 --:--:-- --:--:-- --:--:-- 1931 00:55:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] } 00:55:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:55:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:55:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:55:54 00:55:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:55:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:55:54 188c0c94c7c5: Pulling fs layer 00:55:54 0ef7d3d256c8: Pulling fs layer 00:55:54 de9db76c5a1d: Pulling fs layer 00:55:54 0eba1c9be4d2: Pulling fs layer 00:55:54 0d57e429df01: Pulling fs layer 00:55:54 4e4be7b47b0d: Pulling fs layer 00:55:54 e1f770b5df2f: Pulling fs layer 00:55:54 85a0685a4137: Pulling fs layer 00:55:54 0eba1c9be4d2: Waiting 00:55:54 0d57e429df01: Waiting 00:55:54 4e4be7b47b0d: Waiting 00:55:54 e1f770b5df2f: Waiting 00:55:54 85a0685a4137: Waiting 00:55:54 de9db76c5a1d: Download complete 00:55:54 0ef7d3d256c8: Download complete 00:55:54 0d57e429df01: Verifying Checksum 00:55:54 0d57e429df01: Download complete 00:55:54 4e4be7b47b0d: Verifying Checksum 00:55:54 4e4be7b47b0d: Download complete 00:55:54 188c0c94c7c5: Verifying Checksum 00:55:54 188c0c94c7c5: Download complete 00:55:54 e1f770b5df2f: Verifying Checksum 00:55:54 e1f770b5df2f: Download complete 00:55:54 188c0c94c7c5: Pull complete 00:55:55 0ef7d3d256c8: Pull complete 00:55:55 0eba1c9be4d2: Verifying Checksum 00:55:55 0eba1c9be4d2: Download complete 00:55:55 de9db76c5a1d: Pull complete 00:55:55 85a0685a4137: Verifying Checksum 00:55:55 85a0685a4137: Download complete 00:55:59 0eba1c9be4d2: Pull complete 00:55:59 0d57e429df01: Pull complete 00:55:59 4e4be7b47b0d: Pull complete 00:55:59 e1f770b5df2f: Pull complete 00:56:03 85a0685a4137: Pull complete 00:56:03 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:56:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:56:03 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:56:05 $ docker top c4833c8d278c848c11fa3026a19503b3ace4681866ece2c72273fe0751190200 -eo pid,comm [Pipeline] { [Pipeline] echo 00:56:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:56:06 + set -o pipefail 00:56:06 + snyk monitor '--org=edgex-jenkins' 00:56:11 00:56:11 Monitoring /w/workspace/ry_app-service-configurable_main (github.com/edgexfoundry/app-service-configurable)... 00:56:11 00:56:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/64b7423e-70f8-4c6a-8958-fa64f49419af 00:56:11 00:56:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:56:11 00:56:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:56:11 00:56:11 [Pipeline] } 00:56:11 $ docker stop --time=1 c4833c8d278c848c11fa3026a19503b3ace4681866ece2c72273fe0751190200 00:56:13 $ docker rm -f c4833c8d278c848c11fa3026a19503b3ace4681866ece2c72273fe0751190200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:14 + git log --format=format:%s -1 c489e4920d8ecc2bfbec6e129aa767e61b2209f1 [Pipeline] isUnix [Pipeline] sh 00:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:14 . [Pipeline] withDockerContainer 00:56:14 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:56:15 $ docker top 546572afe77b8055816c3530805af86ce03bdca1635bf3864b4eb9f43033f4c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:15 [ssh-agent] Looking for ssh-agent implementation... 00:56:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:15 $ docker exec 546572afe77b8055816c3530805af86ce03bdca1635bf3864b4eb9f43033f4c8 ssh-agent 00:56:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjeAbbi/agent.14 00:56:15 SSH_AGENT_PID=21 00:56:15 Running ssh-add (command line suppressed) 00:56:15 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_1348663432000504036.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_1348663432000504036.key) 00:56:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:15 + git semver tag 00:56:15 # -> Open(): unable to determine branch for HEAD 00:56:15 # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git 00:56:15 # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main 00:56:15 # $SEMVER_REMOTE_NAME = origin 00:56:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:15 # $SEMVER_USER_NAME = edgex-jenkins 00:56:15 # $SEMVER_BRANCH = main 00:56:15 # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver 00:56:15 # c489e4920d8ecc2bfbec6e129aa767e61b2209f1 HEAD 00:56:15 # -> Force: false 00:56:15 # e0f0d18eb8a371563eb511e9eff9db05f235bb0b refs/tags/v2.0.2-dev.20 [Pipeline] } 00:56:15 $ docker exec --env ******** --env ******** 546572afe77b8055816c3530805af86ce03bdca1635bf3864b4eb9f43033f4c8 ssh-agent -k 00:56:15 unset SSH_AUTH_SOCK; 00:56:15 unset SSH_AGENT_PID; 00:56:15 echo Agent pid 21 killed; 00:56:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:16 + git semver [Pipeline] } 00:56:16 $ docker stop --time=1 546572afe77b8055816c3530805af86ce03bdca1635bf3864b4eb9f43033f4c8 00:56:17 $ docker rm -f 546572afe77b8055816c3530805af86ce03bdca1635bf3864b4eb9f43033f4c8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:17 00:56:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:56:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:18 0.23.1-centos7: Pulling from edgex-lftools 00:56:18 ab5ef0e58194: Pulling fs layer 00:56:18 9712f1f96733: Pulling fs layer 00:56:18 63f879dbbcfc: Pulling fs layer 00:56:18 0d9ebad4ef96: Pulling fs layer 00:56:18 e9a5061849ea: Pulling fs layer 00:56:18 d747dcd14b5f: Pulling fs layer 00:56:18 2de7ff778b66: Pulling fs layer 00:56:18 0d9ebad4ef96: Waiting 00:56:18 e9a5061849ea: Waiting 00:56:18 d747dcd14b5f: Waiting 00:56:18 2de7ff778b66: Waiting 00:56:18 9712f1f96733: Verifying Checksum 00:56:18 9712f1f96733: Download complete 00:56:18 63f879dbbcfc: Verifying Checksum 00:56:18 63f879dbbcfc: Download complete 00:56:18 ab5ef0e58194: Verifying Checksum 00:56:18 ab5ef0e58194: Download complete 00:56:18 e9a5061849ea: Verifying Checksum 00:56:18 e9a5061849ea: Download complete 00:56:18 d747dcd14b5f: Verifying Checksum 00:56:18 d747dcd14b5f: Download complete 00:56:18 0d9ebad4ef96: Verifying Checksum 00:56:18 0d9ebad4ef96: Download complete 00:56:18 2de7ff778b66: Verifying Checksum 00:56:18 2de7ff778b66: Download complete 00:56:22 ab5ef0e58194: Pull complete 00:56:22 9712f1f96733: Pull complete 00:56:22 63f879dbbcfc: Pull complete 00:56:27 0d9ebad4ef96: Pull complete 00:56:27 e9a5061849ea: Pull complete 00:56:27 d747dcd14b5f: Pull complete 00:56:28 2de7ff778b66: Pull complete 00:56:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:56:28 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:56:31 $ docker top f6aec4ee1a3f10b5c2143f301074e7dd20163ea74c07190b953338df65787d02 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:56:31 provisioning config files... 00:56:31 copy managed file [sigul-config] to file:/w/workspace/ry_app-service-configurable_main@tmp/config7984637075161051941tmp 00:56:31 copy managed file [sigul-password] to file:/w/workspace/ry_app-service-configurable_main@tmp/config688834184261494714tmp 00:56:31 copy managed file [sigul-pki] to file:/w/workspace/ry_app-service-configurable_main@tmp/config4986684160816877243tmp [Pipeline] { [Pipeline] echo 00:56:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:56:31 ---> sigul-configuration.sh 00:56:31 gpg: directory `/root/.gnupg' created 00:56:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:56:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:56:31 gpg: keyring `/root/.gnupg/secring.gpg' created 00:56:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:56:31 gpg: CAST5 encrypted data 00:56:31 gpg: encrypted with 1 passphrase 00:56:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:56:32 + mkdir /home/jenkins 00:56:32 + mkdir /home/jenkins/sigul [Pipeline] sh 00:56:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:56:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:56:32 ---> sigul-install.sh 00:56:32 Sigul already installed; skipping installation. [Pipeline] sh 00:56:33 + git tag --list 00:56:33 v1.0.0 00:56:33 v1.1.0 00:56:33 v1.2.0 00:56:33 v1.3.0 00:56:33 v1.3.1 00:56:33 v2.0.0 00:56:33 v2.0.1 00:56:33 v2.0.1-dev.1 00:56:33 v2.0.2-dev.1 00:56:33 v2.0.2-dev.10 00:56:33 v2.0.2-dev.11 00:56:33 v2.0.2-dev.12 00:56:33 v2.0.2-dev.13 00:56:33 v2.0.2-dev.14 00:56:33 v2.0.2-dev.15 00:56:33 v2.0.2-dev.16 00:56:33 v2.0.2-dev.17 00:56:33 v2.0.2-dev.18 00:56:33 v2.0.2-dev.19 00:56:33 v2.0.2-dev.2 00:56:33 v2.0.2-dev.20 00:56:33 v2.0.2-dev.3 00:56:33 v2.0.2-dev.4 00:56:33 v2.0.2-dev.5 00:56:33 v2.0.2-dev.6 00:56:33 v2.0.2-dev.7 00:56:33 v2.0.2-dev.8 00:56:33 v2.0.2-dev.9 [Pipeline] sh 00:56:33 + lftools sign git-tag v2.0.2-dev.20 00:56:34 Signing Git tag with Sigul... 00:56:34 Signing v2.0.2-dev.20 [Pipeline] echo 00:56:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:56:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:56:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:56:35 $ docker stop --time=1 f6aec4ee1a3f10b5c2143f301074e7dd20163ea74c07190b953338df65787d02 00:56:36 $ docker rm -f f6aec4ee1a3f10b5c2143f301074e7dd20163ea74c07190b953338df65787d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:37 . [Pipeline] withDockerContainer 00:56:37 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:56:37 $ docker top 804822362ce2c7fdf03d81747e75b5c4fde7241b99dc631f0b432db4e74ffaba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:37 [ssh-agent] Looking for ssh-agent implementation... 00:56:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:37 $ docker exec 804822362ce2c7fdf03d81747e75b5c4fde7241b99dc631f0b432db4e74ffaba ssh-agent 00:56:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAKINjg/agent.13 00:56:37 SSH_AGENT_PID=20 00:56:37 Running ssh-add (command line suppressed) 00:56:38 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_2437789982584873310.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_2437789982584873310.key) 00:56:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:38 + git semver bump pre 00:56:38 # -> Open(): unable to determine branch for HEAD 00:56:38 # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git 00:56:38 # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main 00:56:38 # $SEMVER_REMOTE_NAME = origin 00:56:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:38 # $SEMVER_USER_NAME = edgex-jenkins 00:56:38 # $SEMVER_BRANCH = main 00:56:38 # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver 00:56:38 2.0.2-dev.21 [Pipeline] } 00:56:38 $ docker exec --env ******** --env ******** 804822362ce2c7fdf03d81747e75b5c4fde7241b99dc631f0b432db4e74ffaba ssh-agent -k 00:56:38 unset SSH_AUTH_SOCK; 00:56:38 unset SSH_AGENT_PID; 00:56:38 echo Agent pid 20 killed; 00:56:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:38 + git semver [Pipeline] } 00:56:38 $ docker stop --time=1 804822362ce2c7fdf03d81747e75b5c4fde7241b99dc631f0b432db4e74ffaba 00:56:39 $ docker rm -f 804822362ce2c7fdf03d81747e75b5c4fde7241b99dc631f0b432db4e74ffaba [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:56:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:40 . [Pipeline] withDockerContainer 00:56:40 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:56:40 $ docker top 302aee217754916ebb72cdb768efebec515924dd511e4c3c4f0511d3d45b36b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:40 [ssh-agent] Looking for ssh-agent implementation... 00:56:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:41 $ docker exec 302aee217754916ebb72cdb768efebec515924dd511e4c3c4f0511d3d45b36b6 ssh-agent 00:56:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIcfJEm/agent.14 00:56:41 SSH_AGENT_PID=20 00:56:41 Running ssh-add (command line suppressed) 00:56:41 Identity added: /w/workspace/ry_app-service-configurable_main@tmp/private_key_7524793522064912264.key (/w/workspace/ry_app-service-configurable_main@tmp/private_key_7524793522064912264.key) 00:56:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:41 + git semver push 00:56:41 # -> Open(): unable to determine branch for HEAD 00:56:41 # $GIT_DIR = /w/workspace/ry_app-service-configurable_main/.git 00:56:41 # $GIT_WORK_TREE = /w/workspace/ry_app-service-configurable_main 00:56:41 # $SEMVER_REMOTE_NAME = origin 00:56:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:41 # $SEMVER_USER_NAME = edgex-jenkins 00:56:41 # $SEMVER_BRANCH = main 00:56:41 # $SEMVER_DIR = /w/workspace/ry_app-service-configurable_main/.semver [Pipeline] } 00:56:43 $ docker exec --env ******** --env ******** 302aee217754916ebb72cdb768efebec515924dd511e4c3c4f0511d3d45b36b6 ssh-agent -k 00:56:43 unset SSH_AUTH_SOCK; 00:56:43 unset SSH_AGENT_PID; 00:56:43 echo Agent pid 20 killed; 00:56:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:43 + git semver [Pipeline] } 00:56:43 $ docker stop --time=1 302aee217754916ebb72cdb768efebec515924dd511e4c3c4f0511d3d45b36b6 00:56:44 $ docker rm -f 302aee217754916ebb72cdb768efebec515924dd511e4c3c4f0511d3d45b36b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:56:45 + '[' -d /w/workspace/ry_app-service-configurable_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:56:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:46 ---> package-listing.sh 00:56:46 ++ facter osfamily 00:56:46 ++ tr '[:upper:]' '[:lower:]' 00:56:46 + OS_FAMILY=redhat 00:56:46 + workspace=/w/workspace/ry_app-service-configurable_main 00:56:46 + START_PACKAGES=/tmp/packages_start.txt 00:56:46 + END_PACKAGES=/tmp/packages_end.txt 00:56:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:46 + PACKAGES=/tmp/packages_start.txt 00:56:46 + '[' /w/workspace/ry_app-service-configurable_main ']' 00:56:46 + PACKAGES=/tmp/packages_end.txt 00:56:46 + case "${OS_FAMILY}" in 00:56:46 + rpm -qa 00:56:46 + sort 00:56:47 + '[' -f /tmp/packages_start.txt ']' 00:56:47 + '[' -f /tmp/packages_end.txt ']' 00:56:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:47 + '[' /w/workspace/ry_app-service-configurable_main ']' 00:56:47 + mkdir -p /w/workspace/ry_app-service-configurable_main/archives/ 00:56:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-service-configurable_main/archives/ [Pipeline] echo 00:56:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:56:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:48 00:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:56:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:48 latest: Pulling from edgex-lftools-log-publisher 00:56:48 b4d181a07f80: Pulling fs layer 00:56:48 a1111a8f2ec3: Pulling fs layer 00:56:48 ed53099fbce6: Pulling fs layer 00:56:48 dc539afda2c1: Pulling fs layer 00:56:48 77bc0d833cb6: Pulling fs layer 00:56:48 9065ff56babe: Pulling fs layer 00:56:48 d287ab97295c: Pulling fs layer 00:56:48 dc539afda2c1: Waiting 00:56:48 77bc0d833cb6: Waiting 00:56:48 9065ff56babe: Waiting 00:56:48 a1111a8f2ec3: Verifying Checksum 00:56:48 a1111a8f2ec3: Download complete 00:56:48 dc539afda2c1: Verifying Checksum 00:56:48 dc539afda2c1: Download complete 00:56:48 ed53099fbce6: Verifying Checksum 00:56:48 ed53099fbce6: Download complete 00:56:48 9065ff56babe: Verifying Checksum 00:56:48 9065ff56babe: Download complete 00:56:48 77bc0d833cb6: Verifying Checksum 00:56:48 77bc0d833cb6: Download complete 00:56:48 b4d181a07f80: Download complete 00:56:49 d287ab97295c: Verifying Checksum 00:56:49 d287ab97295c: Download complete 00:56:50 b4d181a07f80: Pull complete 00:56:50 a1111a8f2ec3: Pull complete 00:56:50 ed53099fbce6: Pull complete 00:56:50 dc539afda2c1: Pull complete 00:56:51 77bc0d833cb6: Pull complete 00:56:51 9065ff56babe: Pull complete 00:56:56 d287ab97295c: Pull complete 00:56:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:56:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:56:56 prd-centos7-docker-4c-2g-1076 does not seem to be running inside a container 00:56:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-service-configurable_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-service-configurable_main -v /w/workspace/ry_app-service-configurable_main:/w/workspace/ry_app-service-configurable_main:rw,z -v /w/workspace/ry_app-service-configurable_main@tmp:/w/workspace/ry_app-service-configurable_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:59 $ docker top fae5e52e6425884240e16e557baeaac4bd67207a453fdaa5b661dc6c4e2f09e9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:59 + touch /tmp/pre-build-complete [Pipeline] sh 00:57:00 + mkdir -p /var/log/sysstat [Pipeline] sh 00:57:00 + ls /var/log/sa-host 00:57:00 + sadf -c /var/log/sa-host/sa22 00:57:00 file_magic: OK 00:57:00 HZ: Using current value: 100 00:57:00 file_header: OK 00:57:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:57:00 Statistics: 00:57:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:57:00 File successfully converted to sysstat format version 12.0.3 00:57:00 + sadf -c /var/log/sa-host/sa30 00:57:00 file_magic: OK 00:57:00 HZ: Using current value: 100 00:57:00 file_header: OK 00:57:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:57:00 Statistics: 00:57:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:57:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:00 provisioning config files... 00:57:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-service-configurable_main@tmp/config2137888561143338965tmp [Pipeline] { [Pipeline] echo 00:57:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:57:00 ---> create-netrc.sh [Pipeline] } 00:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:57:01 ---> python-tools-install.sh [Pipeline] echo 00:57:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:57:01 ---> sudo-logs.sh 00:57:01 Archiving 'sudo' log.. 00:57:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-1076.novalocal: Name or service not known 00:57:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-1076.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:57:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:57:01 ---> job-cost.sh 00:57:01 lf-activate-venv: SKIPPING 00:57:01 DEBUG: total: 0.10999999940395355 00:57:01 INFO: Retrieving Stack Cost... 00:57:23 INFO: Retrieving Pricing Info for: v3-standard-2 00:57:23 INFO: Archiving Costs [Pipeline] echo 00:57:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:57:24 ---> logs-deploy.sh 00:57:24 lf-activate-venv: SKIPPING 00:57:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/main/24 00:57:24 INFO: archiving workspace using pattern(s): 00:57:24 Archives upload complete. 00:57:24 INFO: archiving logs to Nexus