Pull request #508 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d+a297faecba2e479c84256204d88875266373bb25 (6429c0822db3b83039c7ec8a5866bf36029103dc) 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-ssh15810482434981252913.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13495630732126615469.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-508/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-508/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3154464993543820634.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-508/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh529202537657372501.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10456080737072149616.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-508/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-508/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9654509544826142748.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui 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: false 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9574 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-508 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d Merge succeeded, producing 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d Checking out Revision 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d (PR-508) > git config core.sparsecheckout # timeout=10 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a297faecba2e479c84256204d88875266373bb25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 Commit message: "chore(deps): Bump minimist from 1.2.5 to 1.2.6 in /web" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:50 ========================================================= 07:08:50 EdgeX Global Pipelines Version Info 07:08:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:08:51 ------------------- 07:08:51 stable info: 07:08:51 ------------------- 07:08:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:08:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:08:51 Message: update stable to v1.0.221 07:08:52 ------------------- 07:08:52 experimental info: 07:08:52 ------------------- 07:08:52 Commited By: **** collab-it+edgex@linuxfoundation.org 07:08:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:08:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:08:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2337fb0 [Pipeline] echo 07:08:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:53 provisioning config files... 07:08:53 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config3467837504822311912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:54 ---> docker-login.sh 07:08:54 nexus3.edgexfoundry.org:10001 07:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:54 Configure a credential helper to remove this warning. See 07:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:54 07:08:54 Login Succeeded 07:08:54 nexus3.edgexfoundry.org:10002 07:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:54 Configure a credential helper to remove this warning. See 07:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:54 07:08:54 Login Succeeded 07:08:54 nexus3.edgexfoundry.org:10003 07:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:54 Configure a credential helper to remove this warning. See 07:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:54 07:08:54 Login Succeeded 07:08:54 nexus3.edgexfoundry.org:10004 07:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:54 Configure a credential helper to remove this warning. See 07:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:54 07:08:54 Login Succeeded 07:08:54 docker.io 07:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:55 Configure a credential helper to remove this warning. See 07:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:55 07:08:55 Login Succeeded 07:08:55 ---> docker-login.sh ends [Pipeline] } 07:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:08:56 + git rev-list -1 --merges 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d~1..2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [Pipeline] echo 07:08:56 -----------> git rev-list -1 --merges 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d~1..2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [false] [Pipeline] sh 07:08:56 + git log --format=format:%s -1 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [Pipeline] echo 07:08:56 ========================================================= 07:08:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:08:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:08:56 + git log --format=format:%s -1 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [Pipeline] echo 07:08:56 [semverPrep] GIT_COMMIT: 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d, Commit Message: chore(deps): Bump minimist from 1.2.5 to 1.2.6 in /web [Pipeline] echo 07:08:56 [semverPrep] This is not a build commit. [Pipeline] sh 07:08:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:57 + grep -v github /etc/ssh/ssh_known_hosts 07:08:57 + [ -e /tmp/ssh_known_hosts ] 07:08:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:08:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:08:57 + sudo tee -a /etc/ssh/ssh_known_hosts 07:08:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:57 07:08:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:08:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:58 latest: Pulling from edgex-devops/git-semver 07:08:58 a0d0a0d46f8b: Pulling fs layer 07:08:58 3e5f54012d9b: Pulling fs layer 07:08:58 4c7163046ea9: Pulling fs layer 07:08:58 0c2d73faf560: Pulling fs layer 07:08:58 0c2d73faf560: Waiting 07:08:58 3e5f54012d9b: Download complete 07:08:58 a0d0a0d46f8b: Verifying Checksum 07:08:58 4c7163046ea9: Verifying Checksum 07:08:58 4c7163046ea9: Download complete 07:08:58 0c2d73faf560: Verifying Checksum 07:08:58 0c2d73faf560: Download complete 07:08:58 a0d0a0d46f8b: Pull complete 07:08:58 3e5f54012d9b: Pull complete 07:08:59 4c7163046ea9: Pull complete 07:08:59 0c2d73faf560: Pull complete 07:08:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:08:59 prd-ubuntu20.04-docker-8c-8g-9574 does not seem to be running inside a container 07:08:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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:10004/edgex-devops/git-semver:latest cat 07:09:00 $ docker top cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:00 [ssh-agent] Looking for ssh-agent implementation... 07:09:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:00 $ docker exec cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 ssh-agent 07:09:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPpiPj/agent.13 07:09:00 SSH_AGENT_PID=20 07:09:00 Running ssh-add (command line suppressed) 07:09:00 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_3697084056858620127.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_3697084056858620127.key) 07:09:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:01 + git tag --points-at HEAD [Pipeline] } 07:09:01 $ docker exec --env ******** --env ******** cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 ssh-agent -k 07:09:01 unset SSH_AUTH_SOCK; 07:09:01 unset SSH_AGENT_PID; 07:09:01 echo Agent pid 20 killed; 07:09:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:09:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:01 [ssh-agent] Looking for ssh-agent implementation... 07:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:01 $ docker exec cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 ssh-agent 07:09:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKAfIAa/agent.54 07:09:01 SSH_AGENT_PID=61 07:09:01 Running ssh-add (command line suppressed) 07:09:01 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_1048427090808513510.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_1048427090808513510.key) 07:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:02 + git semver init 07:09:02 # -> Open(): unable to determine branch for HEAD 07:09:02 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.git 07:09:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-508 07:09:02 # $SEMVER_REMOTE_NAME = origin 07:09:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:09:02 # $SEMVER_USER_NAME = edgex-jenkins 07:09:02 # $SEMVER_BRANCH = PR-508 07:09:02 # $SEMVER_TEMP = /tmp/semver-865858815 07:09:02 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 07:09:04 # '/tmp/semver-865858815' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver' 07:09:04 # -> Force: false 07:09:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver [Pipeline] } 07:09:04 $ docker exec --env ******** --env ******** cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 ssh-agent -k 07:09:04 unset SSH_AUTH_SOCK; 07:09:04 unset SSH_AGENT_PID; 07:09:04 echo Agent pid 61 killed; 07:09:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:05 + git semver [Pipeline] } 07:09:05 $ docker stop --time=1 cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 07:09:06 $ docker rm -f cb71d1b113afaa245b90dfce2c256c069939ed1d6d362176804886be64b7e973 [Pipeline] // withDockerContainer [Pipeline] sh 07:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:09:07 Stashed 1 file(s) [Pipeline] echo 07:09:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:07 provisioning config files... 07:09:07 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config1787823634064185002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:08 ---> docker-login.sh 07:09:08 nexus3.edgexfoundry.org:10001 07:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:08 Configure a credential helper to remove this warning. See 07:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:08 07:09:08 Login Succeeded 07:09:08 nexus3.edgexfoundry.org:10002 07:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:08 Configure a credential helper to remove this warning. See 07:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:08 07:09:08 Login Succeeded 07:09:08 nexus3.edgexfoundry.org:10003 07:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:08 Configure a credential helper to remove this warning. See 07:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:08 07:09:08 Login Succeeded 07:09:08 nexus3.edgexfoundry.org:10004 07:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:08 Configure a credential helper to remove this warning. See 07:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:08 07:09:08 Login Succeeded 07:09:08 docker.io 07:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:09 Configure a credential helper to remove this warning. See 07:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:09 07:09:09 Login Succeeded 07:09:09 ---> docker-login.sh ends [Pipeline] } 07:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:09:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:09:09 ========================================================= 07:09:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:09:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:09:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:09:09 Sending build context to Docker daemon 43.13MB 07:09:09 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:09:09 Step 2/15 : FROM ${BASE} AS builder 07:09:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:09:09 59bf1c3509f3: Pulling fs layer 07:09:09 666ba61612fd: Pulling fs layer 07:09:09 8ed8ca486205: Pulling fs layer 07:09:09 4fe6c5a15a65: Pulling fs layer 07:09:09 22a0e8bec74d: Pulling fs layer 07:09:09 640e595b4fbd: Pulling fs layer 07:09:09 763cafe07f6e: Pulling fs layer 07:09:09 0c0b528cf693: Pulling fs layer 07:09:09 10935f4eaf8b: Pulling fs layer 07:09:09 640e595b4fbd: Waiting 07:09:09 763cafe07f6e: Waiting 07:09:09 22a0e8bec74d: Waiting 07:09:09 4fe6c5a15a65: Waiting 07:09:09 10935f4eaf8b: Waiting 07:09:09 0c0b528cf693: Waiting 07:09:09 8ed8ca486205: Verifying Checksum 07:09:09 8ed8ca486205: Download complete 07:09:09 666ba61612fd: Download complete 07:09:09 22a0e8bec74d: Verifying Checksum 07:09:09 22a0e8bec74d: Download complete 07:09:09 640e595b4fbd: Verifying Checksum 07:09:09 640e595b4fbd: Download complete 07:09:09 59bf1c3509f3: Download complete 07:09:10 763cafe07f6e: Download complete 07:09:10 0c0b528cf693: Verifying Checksum 07:09:10 0c0b528cf693: Download complete 07:09:10 59bf1c3509f3: Pull complete 07:09:10 666ba61612fd: Pull complete 07:09:10 8ed8ca486205: Pull complete 07:09:10 10935f4eaf8b: Verifying Checksum 07:09:10 10935f4eaf8b: Download complete 07:09:10 4fe6c5a15a65: Verifying Checksum 07:09:10 4fe6c5a15a65: Download complete 07:09:14 4fe6c5a15a65: Pull complete 07:09:14 22a0e8bec74d: Pull complete 07:09:15 640e595b4fbd: Pull complete 07:09:15 763cafe07f6e: Pull complete 07:09:15 0c0b528cf693: Pull complete 07:09:17 10935f4eaf8b: Pull complete 07:09:17 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:09:17 ---> 99d49a6021b9 07:09:17 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:09:19 ---> Running in 442a912d8828 07:09:19 Removing intermediate container 442a912d8828 07:09:19 ---> 5cbe5937bb99 07:09:19 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:09:19 ---> Running in f8af4ec64ed7 07:09:19 Removing intermediate container f8af4ec64ed7 07:09:19 ---> e4f74f48c60a 07:09:19 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:09:19 ---> Running in c752360d19e0 07:09:19 Removing intermediate container c752360d19e0 07:09:19 ---> ebebf501b271 07:09:19 Step 6/15 : LABEL Name=edgex-ui-go 07:09:19 ---> Running in 745a8bc33240 07:09:19 Removing intermediate container 745a8bc33240 07:09:19 ---> 4c75167f657e 07:09:19 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:09:19 ---> Running in cca0c57e1e0a 07:09:19 Removing intermediate container cca0c57e1e0a 07:09:19 ---> d9cdc6bcffe2 07:09:19 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:09:19 ---> Running in bddfd5a58bf8 07:09:20 Removing intermediate container bddfd5a58bf8 07:09:20 ---> 6bcad710df9a 07:09:20 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:09:20 ---> Running in 4ada22c7b05c 07:09:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:09:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:09:21 OK: 221 MiB in 52 packages 07:09:22 Removing intermediate container 4ada22c7b05c 07:09:22 ---> 688723c0a082 07:09:22 Step 10/15 : ENV GO111MODULE=on 07:09:22 ---> Running in 5eafceea90b5 07:09:22 Removing intermediate container 5eafceea90b5 07:09:22 ---> 00bea3572f8c 07:09:22 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:09:22 ---> Running in 0d0b7da364f5 07:09:22 Removing intermediate container 0d0b7da364f5 07:09:22 ---> a90815614624 07:09:22 Step 12/15 : COPY go.mod vendor* ./ 07:09:22 ---> f65db90b29cc 07:09:22 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:09:22 Still waiting to schedule task 07:09:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:09:22 ---> Running in 17379e4219c0 07:09:49 Removing intermediate container 17379e4219c0 07:09:49 ---> b0ba07fd23c0 07:09:49 Step 14/15 : COPY . . 07:09:49 ---> c8be23960dbb 07:09:49 Step 15/15 : RUN ${MAKE} 07:09:49 ---> Running in 0b19083a12a6 07:09:49 noop 07:09:50 Removing intermediate container 0b19083a12a6 07:09:50 ---> 1992caf1151d 07:09:50 Successfully built 1992caf1151d 07:09:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:09:50 + docker inspect -f . ci-base-image-x86_64 07:09:50 . [Pipeline] withDockerContainer 07:09:50 prd-ubuntu20.04-docker-8c-8g-9574 does not seem to be running inside a container 07:09:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:09:51 $ docker top a67b626ad3b4bf2af42a0ef2ba888677dd29f9b499e615f4a27973e8fa5e18d8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:51 + go version 07:09:51 go version go1.17.6 linux/amd64 [Pipeline] } 07:09:51 $ docker stop --time=1 a67b626ad3b4bf2af42a0ef2ba888677dd29f9b499e615f4a27973e8fa5e18d8 07:09:52 $ docker rm -f a67b626ad3b4bf2af42a0ef2ba888677dd29f9b499e615f4a27973e8fa5e18d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:09:53 + docker inspect -f . ci-base-image-x86_64 07:09:53 . [Pipeline] withDockerContainer 07:09:53 prd-ubuntu20.04-docker-8c-8g-9574 does not seem to be running inside a container 07:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:09:54 $ docker top 1d3f551581f5e23bfb6441df6f0fbbae514b3dd3aefc89a5e9215931b4a552ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:09:54 + make test 07:09:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:09:54 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:10:00 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:10:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:10:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:10:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:10:03 $ docker stop --time=1 1d3f551581f5e23bfb6441df6f0fbbae514b3dd3aefc89a5e9215931b4a552ec 07:10:05 $ docker rm -f 1d3f551581f5e23bfb6441df6f0fbbae514b3dd3aefc89a5e9215931b4a552ec [Pipeline] // withDockerContainer [Pipeline] sh 07:10:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:10:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:10:07 + ls -al . 07:10:07 total 160 07:10:07 drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 07:09 . 07:10:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:08 .. 07:10:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 07:08 .git 07:10:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:08 .github 07:10:07 -rw-rw-r-- 1 jenkins jenkins 155 Mar 31 07:08 .gitignore 07:10:07 drwx------ 3 jenkins jenkins 4096 Mar 31 07:09 .semver 07:10:07 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 31 07:08 CONTRIBUTING.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 31 07:08 Dockerfile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 652 Mar 31 07:08 Jenkinsfile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 31 07:08 LICENSE 07:10:07 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 31 07:08 Makefile 07:10:07 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 31 07:08 README.md 07:10:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 07:09 VERSION 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:08 assets 07:10:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:08 bin 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:08 cmd 07:10:07 -rw-r--r-- 1 jenkins jenkins 10 Mar 31 07:09 coverage.out 07:10:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:08 docs 07:10:07 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 31 07:08 go.mod 07:10:07 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 31 07:08 go.sum 07:10:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 07:08 internal 07:10:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:08 pkg 07:10:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:08 snap 07:10:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:08 testing 07:10:07 -rw-rw-r-- 1 jenkins jenkins 155 Mar 31 07:08 version.go 07:10:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:08 web [Pipeline] isUnix [Pipeline] sh 07:10:07 + docker build -t edgex-ui -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d --label arch=amd64 --label version=0.0.0 . 07:10:07 Sending build context to Docker daemon 43.13MB 07:10:07 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:10:07 Step 2/23 : FROM ${BASE} AS builder 07:10:07 ---> 1992caf1151d 07:10:07 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:10:07 ---> Running in 352e41d52434 07:10:08 Removing intermediate container 352e41d52434 07:10:08 ---> 41cd9b21f878 07:10:08 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:10:08 ---> Running in daa6797d12ed 07:10:08 Removing intermediate container daa6797d12ed 07:10:08 ---> 0a171c95583c 07:10:08 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:10:08 ---> Running in 03d6405e8056 07:10:08 Removing intermediate container 03d6405e8056 07:10:08 ---> fd36fd0ea3f7 07:10:08 Step 6/23 : LABEL Name=edgex-ui-go 07:10:08 ---> Running in eccaaa0f8bfd 07:10:08 Removing intermediate container eccaaa0f8bfd 07:10:08 ---> f377afa4175e 07:10:08 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:10:08 ---> Running in 3bbaadb46b83 07:10:08 Removing intermediate container 3bbaadb46b83 07:10:08 ---> ce93eebd4489 07:10:08 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:10:08 ---> Running in 49759ace2d79 07:10:09 Removing intermediate container 49759ace2d79 07:10:09 ---> 10ba181b39f1 07:10:09 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:10:09 ---> Running in d166dbcc9f07 07:10:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:10:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:10:10 OK: 221 MiB in 52 packages 07:10:10 Removing intermediate container d166dbcc9f07 07:10:10 ---> 2f96f401ac68 07:10:10 Step 10/23 : ENV GO111MODULE=on 07:10:10 ---> Running in 659f2b31895f 07:10:10 Removing intermediate container 659f2b31895f 07:10:10 ---> c879a1d93916 07:10:10 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:10:11 ---> Running in 58c105003cba 07:10:11 Removing intermediate container 58c105003cba 07:10:11 ---> 685d1ab1b611 07:10:11 Step 12/23 : COPY go.mod vendor* ./ 07:10:11 ---> a51a8ea6e752 07:10:11 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:11 ---> Running in 51089dc67c49 07:10:12 Removing intermediate container 51089dc67c49 07:10:12 ---> 6dd9cdab522e 07:10:12 Step 14/23 : COPY . . 07:10:13 ---> 3ce56873c456 07:10:13 Step 15/23 : RUN ${MAKE} 07:10:13 ---> Running in 3dccfc57d23f 07:10:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:10:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:10:20 Removing intermediate container 3dccfc57d23f 07:10:20 ---> f18686223f9c 07:10:20 Step 16/23 : FROM alpine:3.14 07:10:21 3.14: Pulling from library/alpine 07:10:21 cfab2db72209: Pulling fs layer 07:10:21 cfab2db72209: Verifying Checksum 07:10:21 cfab2db72209: Download complete 07:10:21 cfab2db72209: Pull complete 07:10:21 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 07:10:21 Status: Downloaded newer image for alpine:3.14 07:10:21 ---> 84b07dd2d1fd 07:10:21 Step 17/23 : EXPOSE 4000 07:10:21 ---> Running in b8ad2d0f8e1a 07:10:21 Removing intermediate container b8ad2d0f8e1a 07:10:21 ---> 0b0c222f78db 07:10:21 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:10:22 ---> 099f1e529ce7 07:10:22 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:10:22 ---> Running in 6e351f3ff5fd 07:10:22 Removing intermediate container 6e351f3ff5fd 07:10:22 ---> f5440365484f 07:10:22 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:10:22 ---> Running in fd6474e1b884 07:10:22 Removing intermediate container fd6474e1b884 07:10:22 ---> 6e56dc3481f3 07:10:22 Step 21/23 : LABEL arch=amd64 07:10:22 ---> Running in 3e8904237d32 07:10:22 Removing intermediate container 3e8904237d32 07:10:22 ---> 7434ce9317fe 07:10:22 Step 22/23 : LABEL git_sha=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 07:10:22 ---> Running in c2824a536850 07:10:22 Removing intermediate container c2824a536850 07:10:22 ---> 3c6c43b587a7 07:10:22 Step 23/23 : LABEL version=0.0.0 07:10:22 ---> Running in 9f717065b1d7 07:10:22 Removing intermediate container 9f717065b1d7 07:10:22 ---> 33221d02ea33 07:10:22 [Warning] One or more build-args [ARCH] were not consumed 07:10:22 Successfully built 33221d02ea33 07:10:22 Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:23 07:10:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:10:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:23 latest: Pulling from edgex-lftools-log-publisher 07:10:23 5eb5b503b376: Pulling fs layer 07:10:23 5c69ac0246d0: Pulling fs layer 07:10:23 ec43610c2a17: Pulling fs layer 07:10:23 3a2ae6a8a46f: Pulling fs layer 07:10:23 33b1e0a273af: Pulling fs layer 07:10:23 5d3b04190fa2: Pulling fs layer 07:10:23 2f39f015ded8: Pulling fs layer 07:10:23 33b1e0a273af: Waiting 07:10:23 3a2ae6a8a46f: Waiting 07:10:23 5d3b04190fa2: Waiting 07:10:23 2f39f015ded8: Waiting 07:10:23 5c69ac0246d0: Verifying Checksum 07:10:23 5c69ac0246d0: Download complete 07:10:23 3a2ae6a8a46f: Download complete 07:10:23 33b1e0a273af: Verifying Checksum 07:10:23 33b1e0a273af: Download complete 07:10:23 5d3b04190fa2: Download complete 07:10:23 ec43610c2a17: Verifying Checksum 07:10:23 ec43610c2a17: Download complete 07:10:24 5eb5b503b376: Verifying Checksum 07:10:24 5eb5b503b376: Download complete 07:10:24 2f39f015ded8: Download complete 07:10:25 5eb5b503b376: Pull complete 07:10:25 5c69ac0246d0: Pull complete 07:10:26 ec43610c2a17: Pull complete 07:10:26 3a2ae6a8a46f: Pull complete 07:10:26 33b1e0a273af: Pull complete 07:10:26 5d3b04190fa2: Pull complete 07:10:30 2f39f015ded8: Pull complete 07:10:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:10:30 prd-ubuntu20.04-docker-8c-8g-9574 does not seem to be running inside a container 07:10:30 $ 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/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:10:32 $ docker top cede98a70095109694a6b1a56fa0118ed9feaaa7212b2aba7145a0a1066a4801 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:32 ---> job-cost.sh 07:10:32 lf-activate-venv: SKIPPING 07:10:32 INFO: No Stack... 07:10:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:34 INFO: Archiving Costs [Pipeline] sh 07:10:34 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/cost.csv 07:10:34 + cut -d, -f6 [Pipeline] lock 07:10:34 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] 07:10:34 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] did not exist. Created. 07:10:34 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:34 + echo total: 0.2199999988079071 [Pipeline] stash 07:10:34 Stashed 1 file(s) [Pipeline] } 07:10:34 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:10:35 $ docker stop --time=1 cede98a70095109694a6b1a56fa0118ed9feaaa7212b2aba7145a0a1066a4801 07:10:36 $ docker rm -f cede98a70095109694a6b1a56fa0118ed9feaaa7212b2aba7145a0a1066a4801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:10:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9575 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [Pipeline] { [Pipeline] ws 07:10:57 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 07:10:58 The recommended git tool is: git 07:11:05 using credential edgex-jenkins-ssh 07:11:05 Cloning the remote Git repository 07:11:05 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:11:05 > git init /w/workspace/edgex-ui-go/1 # timeout=10 07:11:06 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:11:06 > git --version # timeout=10 07:11:06 > git --version # 'git version 2.25.1' 07:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:09 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:11:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:09 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:11:09 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:11:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:11:10 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 07:11:11 Merge succeeded, producing 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 07:11:11 Checking out Revision 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d (PR-508) 07:11:10 > git config core.sparsecheckout # timeout=10 07:11:10 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 07:11:10 > git remote # timeout=10 07:11:10 > git config --get remote.origin.url # timeout=10 07:11:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:10 > git merge a297faecba2e479c84256204d88875266373bb25 # timeout=10 07:11:11 > git rev-parse HEAD^{commit} # timeout=10 07:11:11 > git config core.sparsecheckout # timeout=10 07:11:11 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 07:11:15 Commit message: "chore(deps): Bump minimist from 1.2.5 to 1.2.6 in /web" 07:11:15 > git --version # timeout=10 07:11:15 > git --version # 'git version 2.25.1' 07:11:15 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:11:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:11:17 Dload Upload Total Spent Left Speed 07:11:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46443 [Pipeline] sh 07:11:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:11:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:11:17 + sudo tee /etc/docker/daemon.new 07:11:17 { 07:11:17 "registry-mirrors": [ 07:11:17 "https://nexus3.edgexfoundry.org:10001" 07:11:17 ], 07:11:17 "bip": "10.250.0.254/24", 07:11:17 "hosts": [ 07:11:17 "tcp://0.0.0.0:5555", 07:11:17 "unix:///var/run/docker.sock" 07:11:17 ], 07:11:17 "mtu": 1458, 07:11:17 "selinux-enabled": true, 07:11:17 "seccomp-profile": "/etc/docker/seccomp.json" 07:11:17 } [Pipeline] sh 07:11:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:11:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:37 provisioning config files... 07:11:37 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config8348132845228786446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:37 ---> docker-login.sh 07:11:37 nexus3.edgexfoundry.org:10001 07:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:38 Configure a credential helper to remove this warning. See 07:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:38 07:11:38 Login Succeeded 07:11:38 nexus3.edgexfoundry.org:10002 07:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:38 Configure a credential helper to remove this warning. See 07:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:38 07:11:38 Login Succeeded 07:11:38 nexus3.edgexfoundry.org:10003 07:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:39 Configure a credential helper to remove this warning. See 07:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:39 07:11:39 Login Succeeded 07:11:39 nexus3.edgexfoundry.org:10004 07:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:39 Configure a credential helper to remove this warning. See 07:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:39 07:11:39 Login Succeeded 07:11:39 docker.io 07:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:40 Configure a credential helper to remove this warning. See 07:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:40 07:11:40 Login Succeeded 07:11:40 ---> docker-login.sh ends [Pipeline] } 07:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:11:41 ========================================================= 07:11:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:11:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:11:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:11:42 Sending build context to Docker daemon 27.04MB 07:11:42 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:11:42 Step 2/15 : FROM ${BASE} AS builder 07:11:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:11:42 9b3977197b4f: Pulling fs layer 07:11:42 1a89e8eeedd5: Pulling fs layer 07:11:42 94645a83ff95: Pulling fs layer 07:11:42 3f3a8bcf1eab: Pulling fs layer 07:11:42 0c92f367c5e7: Pulling fs layer 07:11:42 f7c0051592d6: Pulling fs layer 07:11:42 a227ed2f7395: Pulling fs layer 07:11:42 7b1c46037f91: Pulling fs layer 07:11:42 7b1c46037f91: Waiting 07:11:42 a227ed2f7395: Waiting 07:11:42 f7c0051592d6: Waiting 07:11:42 3f3a8bcf1eab: Waiting 07:11:42 0c92f367c5e7: Waiting 07:11:42 94645a83ff95: Download complete 07:11:42 1a89e8eeedd5: Verifying Checksum 07:11:42 1a89e8eeedd5: Download complete 07:11:42 0c92f367c5e7: Download complete 07:11:42 9b3977197b4f: Download complete 07:11:42 f7c0051592d6: Verifying Checksum 07:11:42 f7c0051592d6: Download complete 07:11:42 a227ed2f7395: Verifying Checksum 07:11:42 a227ed2f7395: Download complete 07:11:43 9b3977197b4f: Pull complete 07:11:44 1a89e8eeedd5: Pull complete 07:11:44 94645a83ff95: Pull complete 07:11:44 7b1c46037f91: Verifying Checksum 07:11:44 7b1c46037f91: Download complete 07:11:45 3f3a8bcf1eab: Verifying Checksum 07:11:45 3f3a8bcf1eab: Download complete 07:11:57 3f3a8bcf1eab: Pull complete 07:11:57 0c92f367c5e7: Pull complete 07:11:57 f7c0051592d6: Pull complete 07:11:57 a227ed2f7395: Pull complete 07:12:04 7b1c46037f91: Pull complete 07:12:04 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:12:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:12:04 ---> f79e39bc4007 07:12:04 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:12:05 ---> Running in 85dd41975a91 07:12:05 Removing intermediate container 85dd41975a91 07:12:05 ---> 7bf3194b2341 07:12:05 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:12:05 ---> Running in d33b8e900816 07:12:06 Removing intermediate container d33b8e900816 07:12:06 ---> 392b28183aea 07:12:06 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:12:06 ---> Running in fc4509fe6435 07:12:06 Removing intermediate container fc4509fe6435 07:12:06 ---> 03ab56c569c5 07:12:06 Step 6/15 : LABEL Name=edgex-ui-go 07:12:06 ---> Running in e1a4c0f183cf 07:12:07 Removing intermediate container e1a4c0f183cf 07:12:07 ---> d0ea19800418 07:12:07 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:12:07 ---> Running in 419b8270a497 07:12:07 Removing intermediate container 419b8270a497 07:12:07 ---> dd70f106ea19 07:12:07 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:07 ---> Running in 089e40c10971 07:12:09 Removing intermediate container 089e40c10971 07:12:09 ---> 09e9b95d5525 07:12:09 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:09 ---> Running in a99c6aa8fc50 07:12:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:12:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:12:11 OK: 220 MiB in 52 packages 07:12:12 Removing intermediate container a99c6aa8fc50 07:12:12 ---> 03189f7cfab8 07:12:12 Step 10/15 : ENV GO111MODULE=on 07:12:12 ---> Running in 32479dc6bda2 07:12:13 Removing intermediate container 32479dc6bda2 07:12:13 ---> 5daf12d8c202 07:12:13 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:12:13 ---> Running in 033f189d2b36 07:12:13 Removing intermediate container 033f189d2b36 07:12:13 ---> ef1c93f032ea 07:12:13 Step 12/15 : COPY go.mod vendor* ./ 07:12:13 ---> 2e0511eb7a18 07:12:13 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:13 ---> Running in 882fb3cffef7 07:13:35 Removing intermediate container 882fb3cffef7 07:13:35 ---> 87ed40a1e2cc 07:13:35 Step 14/15 : COPY . . 07:13:35 ---> 823e34af3c4b 07:13:35 Step 15/15 : RUN ${MAKE} 07:13:35 ---> Running in ebdc5190e6bd 07:13:35 noop 07:13:35 Removing intermediate container ebdc5190e6bd 07:13:35 ---> 2bb914471f0e 07:13:35 Successfully built 2bb914471f0e 07:13:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:13:36 + docker inspect -f . ci-base-image-arm64 07:13:36 . [Pipeline] withDockerContainer 07:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-9575 does not seem to be running inside a container 07:13:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:13:37 $ docker top 06760bd8282435b23d8746d7086557a5b367208a6aa20f58473646de35029ac3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:38 + go version 07:13:38 go version go1.17.6 linux/arm64 [Pipeline] } 07:13:38 $ docker stop --time=1 06760bd8282435b23d8746d7086557a5b367208a6aa20f58473646de35029ac3 07:13:40 $ docker rm -f 06760bd8282435b23d8746d7086557a5b367208a6aa20f58473646de35029ac3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:41 + docker inspect -f . ci-base-image-arm64 07:13:41 . [Pipeline] withDockerContainer 07:13:41 prd-ubuntu20.04-docker-arm64-4c-16g-9575 does not seem to be running inside a container 07:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:13:42 $ docker top d9e77370ac3b785bbf7eec0f3737d4097404261e7751b6ac86a15905c9ebf368 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:13:43 + make test 07:13:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:13:45 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:14:24 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:14:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:14:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:14:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:14:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:14:39 $ docker stop --time=1 d9e77370ac3b785bbf7eec0f3737d4097404261e7751b6ac86a15905c9ebf368 07:14:41 $ docker rm -f d9e77370ac3b785bbf7eec0f3737d4097404261e7751b6ac86a15905c9ebf368 [Pipeline] // withDockerContainer [Pipeline] sh 07:14:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:14:42 Warning: overwriting stash ‘coverage-report’ 07:14:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:43 + ls -al . 07:14:43 total 156 07:14:43 drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 07:13 . 07:14:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:11 .. 07:14:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 07:11 .git 07:14:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:11 .github 07:14:43 -rw-rw-r-- 1 jenkins jenkins 155 Mar 31 07:11 .gitignore 07:14:43 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 31 07:11 CONTRIBUTING.md 07:14:43 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 31 07:11 Dockerfile 07:14:43 -rw-rw-r-- 1 jenkins jenkins 652 Mar 31 07:11 Jenkinsfile 07:14:43 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 31 07:11 LICENSE 07:14:43 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 31 07:11 Makefile 07:14:43 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 31 07:11 README.md 07:14:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 07:09 VERSION 07:14:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:11 assets 07:14:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:11 bin 07:14:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:11 cmd 07:14:43 -rw-r--r-- 1 jenkins jenkins 10 Mar 31 07:13 coverage.out 07:14:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:11 docs 07:14:43 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 31 07:11 go.mod 07:14:43 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 31 07:11 go.sum 07:14:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 07:11 internal 07:14:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:11 pkg 07:14:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:11 snap 07:14:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:11 testing 07:14:43 -rw-rw-r-- 1 jenkins jenkins 155 Mar 31 07:11 version.go 07:14:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:11 web [Pipeline] isUnix [Pipeline] sh 07:14:44 + docker build -t edgex-ui-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d --label arch=arm64 --label version=0.0.0 . 07:14:45 Sending build context to Docker daemon 27.04MB 07:14:45 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:14:45 Step 2/23 : FROM ${BASE} AS builder 07:14:45 ---> 2bb914471f0e 07:14:45 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:14:45 ---> Running in 3a3b57a61b6e 07:14:45 Removing intermediate container 3a3b57a61b6e 07:14:45 ---> 3116e4eea29c 07:14:45 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:14:45 ---> Running in ea2c1821c626 07:14:45 Removing intermediate container ea2c1821c626 07:14:45 ---> 4b064889b0f2 07:14:45 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:14:46 ---> Running in 6757c45412be 07:14:46 Removing intermediate container 6757c45412be 07:14:46 ---> 70b77f70667f 07:14:46 Step 6/23 : LABEL Name=edgex-ui-go 07:14:46 ---> Running in b149b2fcfd32 07:14:46 Removing intermediate container b149b2fcfd32 07:14:46 ---> 9ea658798e64 07:14:46 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:14:46 ---> Running in 67635ed435ea 07:14:47 Removing intermediate container 67635ed435ea 07:14:47 ---> 21654e73e680 07:14:47 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:47 ---> Running in ef7ae0b8b637 07:14:49 Removing intermediate container ef7ae0b8b637 07:14:49 ---> cb891d6b9f9b 07:14:49 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:49 ---> Running in 1052d206d460 07:14:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:14:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:14:51 OK: 220 MiB in 52 packages 07:14:52 Removing intermediate container 1052d206d460 07:14:52 ---> 754bcb552990 07:14:52 Step 10/23 : ENV GO111MODULE=on 07:14:52 ---> Running in 6ccb17c0cd7a 07:14:53 Removing intermediate container 6ccb17c0cd7a 07:14:53 ---> 504482b3bf12 07:14:53 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:14:53 ---> Running in 9173bf72caac 07:14:53 Removing intermediate container 9173bf72caac 07:14:53 ---> f0cf0d656991 07:14:53 Step 12/23 : COPY go.mod vendor* ./ 07:14:54 ---> eba1bd2db04c 07:14:54 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:54 ---> Running in e1337eb3821f 07:14:56 Removing intermediate container e1337eb3821f 07:14:56 ---> 15d87ba4c5ed 07:14:56 Step 14/23 : COPY . . 07:14:59 ---> 6b08092b7fa5 07:14:59 Step 15/23 : RUN ${MAKE} 07:14:59 ---> Running in 07e89208300d 07:15:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:15:32 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:15:36 Removing intermediate container 07e89208300d 07:15:36 ---> 650a48b78114 07:15:36 Step 16/23 : FROM alpine:3.14 07:15:36 3.14: Pulling from library/alpine 07:15:36 810d54c7e01b: Pulling fs layer 07:15:36 810d54c7e01b: Verifying Checksum 07:15:36 810d54c7e01b: Download complete 07:15:37 810d54c7e01b: Pull complete 07:15:37 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 07:15:37 Status: Downloaded newer image for alpine:3.14 07:15:37 ---> cc3d11fa2d52 07:15:37 Step 17/23 : EXPOSE 4000 07:15:37 ---> Running in 8126becdb145 07:15:37 Removing intermediate container 8126becdb145 07:15:37 ---> 8a42b42233c6 07:15:37 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:15:39 ---> 8f78dfeb1fc8 07:15:39 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:15:39 ---> Running in 02dba50a2fc1 07:15:39 Removing intermediate container 02dba50a2fc1 07:15:39 ---> 5903def8e61a 07:15:39 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:15:39 ---> Running in a28c9482134b 07:15:39 Removing intermediate container a28c9482134b 07:15:39 ---> 9636d6ea45ff 07:15:39 Step 21/23 : LABEL arch=arm64 07:15:40 ---> Running in 5032e58bd8cf 07:15:40 Removing intermediate container 5032e58bd8cf 07:15:40 ---> 13fb27617150 07:15:40 Step 22/23 : LABEL git_sha=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 07:15:40 ---> Running in e6b5d41fad2f 07:15:40 Removing intermediate container e6b5d41fad2f 07:15:40 ---> 05003509631e 07:15:40 Step 23/23 : LABEL version=0.0.0 07:15:40 ---> Running in 5e94642784e9 07:15:40 Removing intermediate container 5e94642784e9 07:15:40 ---> d3fce687a268 07:15:40 [Warning] One or more build-args [ARCH] were not consumed 07:15:41 Successfully built d3fce687a268 07:15:41 Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:15:41 07:15:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:15:42 arm64: Pulling from edgex-lftools-log-publisher 07:15:42 8998bd30e6a1: Pulling fs layer 07:15:42 04944245beec: Pulling fs layer 07:15:42 699f458cf7ca: Pulling fs layer 07:15:42 765212b225bb: Pulling fs layer 07:15:42 f23df028b6ca: Pulling fs layer 07:15:42 d65c8cfc05b1: Pulling fs layer 07:15:42 2437ff75d9bd: Pulling fs layer 07:15:42 765212b225bb: Waiting 07:15:42 f23df028b6ca: Waiting 07:15:42 d65c8cfc05b1: Waiting 07:15:42 2437ff75d9bd: Waiting 07:15:42 04944245beec: Verifying Checksum 07:15:42 04944245beec: Download complete 07:15:42 765212b225bb: Verifying Checksum 07:15:42 765212b225bb: Download complete 07:15:42 f23df028b6ca: Verifying Checksum 07:15:42 f23df028b6ca: Download complete 07:15:42 d65c8cfc05b1: Verifying Checksum 07:15:42 d65c8cfc05b1: Download complete 07:15:42 699f458cf7ca: Verifying Checksum 07:15:42 699f458cf7ca: Download complete 07:15:43 8998bd30e6a1: Verifying Checksum 07:15:43 8998bd30e6a1: Download complete 07:15:45 2437ff75d9bd: Verifying Checksum 07:15:45 2437ff75d9bd: Download complete 07:15:47 8998bd30e6a1: Pull complete 07:15:47 04944245beec: Pull complete 07:15:49 699f458cf7ca: Pull complete 07:15:49 765212b225bb: Pull complete 07:15:50 f23df028b6ca: Pull complete 07:15:50 d65c8cfc05b1: Pull complete 07:16:05 2437ff75d9bd: Pull complete 07:16:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:16:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:16:05 prd-ubuntu20.04-docker-arm64-4c-16g-9575 does not seem to be running inside a container 07:16:05 $ 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/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:16:08 $ docker top 775001a5ae5095eacf6336bde9f8c739d9842d87d2ffa1e53a507a410e01926a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:09 ---> job-cost.sh 07:16:09 lf-activate-venv: SKIPPING 07:16:09 INFO: No Stack... 07:16:09 INFO: Retrieving Pricing Info for: v3-standard-4 07:16:10 INFO: Archiving Costs [Pipeline] sh 07:16:11 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 07:16:11 + cut -d, -f6 [Pipeline] lock 07:16:11 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] 07:16:11 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] did not exist. Created. 07:16:11 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:16:12 /w/workspace/edgex-ui-go/1@tmp/durable-8333f0d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:16:12 + echo total: 0.10999999940395355 [Pipeline] stash 07:16:12 Warning: overwriting stash ‘stack-cost’ 07:16:13 Stashed 1 file(s) [Pipeline] } 07:16:13 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:16:13 $ docker stop --time=1 775001a5ae5095eacf6336bde9f8c739d9842d87d2ffa1e53a507a410e01926a 07:16:14 $ docker rm -f 775001a5ae5095eacf6336bde9f8c739d9842d87d2ffa1e53a507a410e01926a [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 07:16:15 provisioning config files... 07:16:15 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config7074116173763419323tmp [Pipeline] { [Pipeline] sh 07:16:16 + set +x 07:16:16 + curl -s https://codecov.io/bash 07:16:16 + bash -s -- 07:16:16 07:16:16 _____ _ 07:16:16 / ____| | | 07:16:16 | | ___ __| | ___ ___ _____ __ 07:16:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:16:16 | |___| (_) | (_| | __/ (_| (_) \ V / 07:16:16 \_____\___/ \__,_|\___|\___\___/ \_/ 07:16:16 Bash-1.0.6 07:16:16 07:16:16 07:16:16 ==> git version 2.25.1 found 07:16:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:16:16 Release-Date: 2020-01-08 07:16:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:16:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:16:16 ==> Jenkins CI detected. 07:16:16 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-508 07:16:16 project root: . 07:16:16 --> token set from env 07:16:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:16:16 ==> Running gcov in . (disable via -X gcov) 07:16:16 ==> Python coveragepy not found 07:16:16 ==> Searching for coverage reports in: 07:16:16 + . 07:16:16 -> Found 1 reports 07:16:16 ==> Detecting git/mercurial file structure 07:16:16 ==> Reading reports 07:16:16 + ./coverage.out bytes=10 07:16:16 ==> Appending adjustments 07:16:16 https://docs.codecov.io/docs/fixing-reports 07:16:16 + Found adjustments 07:16:16 ==> Gzipping contents 07:16:16 4.0K /tmp/codecov.ZJD1Cd.gz 07:16:16 ==> Uploading reports 07:16:16 url: https://codecov.io 07:16:16 query: branch=PR-508&commit=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 07:16:16 -> Pinging Codecov 07:16:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-508&commit=2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 07:16:16 -> Uploading to 07:16:16 https://storage.googleapis.com/codecov/v4/raw/2022-03-31/FB506323287CE973F263BFD2A0EB1F37/2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d/b2157503-7013-4e2d-ad6c-c215137462a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220331T071616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2ed7f52c0ca6033c0ddf3f4fb0f515ecfdbfe0dbf4165909388bfb56f6451be 07:16:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:16:16 Dload Upload Total Spent Left Speed 07:16:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4052 0 0 100 4052 0 14842 --:--:-- --:--:-- --:--:-- 14842 07:16:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d [Pipeline] } 07:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:16:18 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives ] 07:16:18 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 07:16:18 total 16 07:16:18 drwxr-xr-x 3 root root 4096 Mar 31 07:10 . 07:16:18 drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 07:10 .. 07:16:18 drwxr-xr-x 2 root root 4096 Mar 31 07:10 cost 07:16:18 -rw-r--r-- 1 root root 82 Mar 31 07:10 cost.csv 07:16:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 07:16:18 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 07:16:18 total 16 07:16:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 07:10 . 07:16:18 drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 07:10 .. 07:16:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 07:10 cost 07:16:18 -rw-r--r-- 1 jenkins jenkins 82 Mar 31 07:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:16:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:16:19 ---> package-listing.sh 07:16:19 ++ facter osfamily 07:16:19 ++ tr '[:upper:]' '[:lower:]' 07:16:20 + OS_FAMILY=debian 07:16:20 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-508 07:16:20 + START_PACKAGES=/tmp/packages_start.txt 07:16:20 + END_PACKAGES=/tmp/packages_end.txt 07:16:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:16:20 + PACKAGES=/tmp/packages_start.txt 07:16:20 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 07:16:20 + PACKAGES=/tmp/packages_end.txt 07:16:20 + case "${OS_FAMILY}" in 07:16:20 + dpkg -l 07:16:20 + grep '^ii' 07:16:20 + '[' -f /tmp/packages_start.txt ']' 07:16:20 + '[' -f /tmp/packages_end.txt ']' 07:16:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:16:20 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 07:16:20 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ 07:16:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ [Pipeline] echo 07:16:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:16:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:16:21 . [Pipeline] withDockerContainer 07:16:21 prd-ubuntu20.04-docker-8c-8g-9574 does not seem to be running inside a container 07:16:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:16:21 $ docker top 2563956b4d8b68f06f3933277bee70d4ca7cd1cc1e802dacccec06c9d509e1e0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:21 + touch /tmp/pre-build-complete [Pipeline] sh 07:16:22 + mkdir -p /var/log/sysstat [Pipeline] sh 07:16:22 + ls /var/log/sa-host 07:16:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:22 provisioning config files... 07:16:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config2980358023305165127tmp [Pipeline] { [Pipeline] echo 07:16:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:16:23 ---> create-netrc.sh [Pipeline] } 07:16:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:16:23 ---> python-tools-install.sh [Pipeline] echo 07:16:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:16:24 ---> sudo-logs.sh 07:16:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:16:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:16:24 ---> job-cost.sh 07:16:24 lf-activate-venv: SKIPPING 07:16:24 DEBUG: total: 0.2199999988079071 07:16:24 INFO: Retrieving Stack Cost... 07:16:24 INFO: Retrieving Pricing Info for: v3-standard-8 07:16:25 INFO: Archiving Costs [Pipeline] echo 07:16:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:16:25 ---> logs-deploy.sh 07:16:25 lf-activate-venv: SKIPPING 07:16:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-508/1 07:16:25 INFO: archiving workspace using pattern(s): 07:16:26 Archives upload complete. 07:16:26 INFO: archiving logs to Nexus