Pull request #510 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from 27f6e1df440cf25d2f4182a109183bb9963d4c9a+85e38400248efaa84ce551a52fbd297875ef55c6 (af65718710927d7511ba06edf1c76d3f9c97cd73) 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-ssh2023778083237200831.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-ssh12155068968957145750.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-510/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-510/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13407126613464215493.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-510/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10103335441639394454.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-ssh3610677636896122736.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-510/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-510/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8970324709040956807.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-11404 in /w/workspace/edgexfoundry_edgex-ui-go_PR-510 [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-510 # 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/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85e38400248efaa84ce551a52fbd297875ef55c6 into PR head commit 27f6e1df440cf25d2f4182a109183bb9963d4c9a Merge succeeded, producing 27f6e1df440cf25d2f4182a109183bb9963d4c9a Checking out Revision 27f6e1df440cf25d2f4182a109183bb9963d4c9a (PR-510) > git config core.sparsecheckout # timeout=10 > git checkout -f 27f6e1df440cf25d2f4182a109183bb9963d4c9a # 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 85e38400248efaa84ce551a52fbd297875ef55c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27f6e1df440cf25d2f4182a109183bb9963d4c9a # timeout=10 Commit message: "refactor: remove OperatingState property when new device adding and only show it when editing" 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 11:23:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:23:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:23:11 ========================================================= 11:23:11 EdgeX Global Pipelines Version Info 11:23:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:23:12 ------------------- 11:23:12 stable info: 11:23:12 ------------------- 11:23:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:23:12 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:23:12 Message: update stable to v1.0.221 11:23:13 ------------------- 11:23:13 experimental info: 11:23:13 ------------------- 11:23:13 Commited By: **** collab-it+edgex@linuxfoundation.org 11:23:13 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:23:13 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 11:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-510 [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-510 [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-510 [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27f6e1df440cf25d2f4182a109183bb9963d4c9a [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27f6e1d [Pipeline] echo 11:23:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:23:14 provisioning config files... 11:23:14 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/config174793212689203965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:23:15 ---> docker-login.sh 11:23:15 nexus3.edgexfoundry.org:10001 11:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:15 Configure a credential helper to remove this warning. See 11:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:15 11:23:15 Login Succeeded 11:23:15 nexus3.edgexfoundry.org:10002 11:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:15 Configure a credential helper to remove this warning. See 11:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:15 11:23:15 Login Succeeded 11:23:15 nexus3.edgexfoundry.org:10003 11:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:15 Configure a credential helper to remove this warning. See 11:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:15 11:23:15 Login Succeeded 11:23:15 nexus3.edgexfoundry.org:10004 11:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:16 Configure a credential helper to remove this warning. See 11:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:16 11:23:16 Login Succeeded 11:23:16 docker.io 11:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:16 Configure a credential helper to remove this warning. See 11:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:16 11:23:16 Login Succeeded 11:23:16 ---> docker-login.sh ends [Pipeline] } 11:23:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:23:17 + git rev-list -1 --merges 27f6e1df440cf25d2f4182a109183bb9963d4c9a~1..27f6e1df440cf25d2f4182a109183bb9963d4c9a [Pipeline] echo 11:23:17 -----------> git rev-list -1 --merges 27f6e1df440cf25d2f4182a109183bb9963d4c9a~1..27f6e1df440cf25d2f4182a109183bb9963d4c9a 27f6e1df440cf25d2f4182a109183bb9963d4c9a [false] [Pipeline] sh 11:23:17 + git log --format=format:%s -1 27f6e1df440cf25d2f4182a109183bb9963d4c9a [Pipeline] echo 11:23:17 ========================================================= 11:23:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:23:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:23:18 + git log --format=format:%s -1 27f6e1df440cf25d2f4182a109183bb9963d4c9a [Pipeline] echo 11:23:18 [semverPrep] GIT_COMMIT: 27f6e1df440cf25d2f4182a109183bb9963d4c9a, Commit Message: refactor: remove OperatingState property when new device adding and only show it when editing [Pipeline] echo 11:23:18 [semverPrep] This is not a build commit. [Pipeline] sh 11:23:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:23:18 + grep -v github /etc/ssh/ssh_known_hosts 11:23:18 + [ -e /tmp/ssh_known_hosts ] 11:23:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:23:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:23:18 + sudo tee -a /etc/ssh/ssh_known_hosts 11:23:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:19 11:23:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:23:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:19 latest: Pulling from edgex-devops/git-semver 11:23:19 a0d0a0d46f8b: Pulling fs layer 11:23:19 3e5f54012d9b: Pulling fs layer 11:23:19 4c7163046ea9: Pulling fs layer 11:23:19 0c2d73faf560: Pulling fs layer 11:23:19 0c2d73faf560: Waiting 11:23:19 3e5f54012d9b: Download complete 11:23:19 a0d0a0d46f8b: Download complete 11:23:19 4c7163046ea9: Download complete 11:23:19 0c2d73faf560: Verifying Checksum 11:23:19 0c2d73faf560: Download complete 11:23:19 a0d0a0d46f8b: Pull complete 11:23:19 3e5f54012d9b: Pull complete 11:23:20 4c7163046ea9: Pull complete 11:23:20 0c2d73faf560: Pull complete 11:23:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:23:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:23:20 prd-ubuntu20.04-docker-8c-8g-11404 does not seem to be running inside a container 11:23:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-510 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510:/w/workspace/edgexfoundry_edgex-ui-go_PR-510:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:23:21 $ docker top edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:23:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:23:21 [ssh-agent] Looking for ssh-agent implementation... 11:23:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:23:21 $ docker exec edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf ssh-agent 11:23:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlbckha/agent.12 11:23:21 SSH_AGENT_PID=19 11:23:21 Running ssh-add (command line suppressed) 11:23:21 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/private_key_1480765997559597056.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/private_key_1480765997559597056.key) 11:23:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:23:22 + git tag --points-at HEAD [Pipeline] } 11:23:22 $ docker exec --env ******** --env ******** edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf ssh-agent -k 11:23:22 unset SSH_AUTH_SOCK; 11:23:22 unset SSH_AGENT_PID; 11:23:22 echo Agent pid 19 killed; 11:23:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:23:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:23:22 [ssh-agent] Looking for ssh-agent implementation... 11:23:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:23:22 $ docker exec edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf ssh-agent 11:23:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXinKIoP/agent.51 11:23:22 SSH_AGENT_PID=57 11:23:22 Running ssh-add (command line suppressed) 11:23:22 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/private_key_3393270708295836708.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/private_key_3393270708295836708.key) 11:23:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:23:23 + git semver init 11:23:23 # -> Open(): unable to determine branch for HEAD 11:23:23 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-510/.git 11:23:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-510 11:23:23 # $SEMVER_REMOTE_NAME = origin 11:23:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:23:23 # $SEMVER_USER_NAME = edgex-jenkins 11:23:23 # $SEMVER_BRANCH = PR-510 11:23:23 # $SEMVER_TEMP = /tmp/semver-920949769 11:23:23 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 11:23:25 # '/tmp/semver-920949769' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-510/.semver' 11:23:25 # -> Force: false 11:23:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-510/.semver [Pipeline] } 11:23:25 $ docker exec --env ******** --env ******** edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf ssh-agent -k 11:23:25 unset SSH_AUTH_SOCK; 11:23:25 unset SSH_AGENT_PID; 11:23:25 echo Agent pid 57 killed; 11:23:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:23:26 + git semver [Pipeline] } 11:23:26 $ docker stop --time=1 edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf 11:23:27 $ docker rm -f edc6a5faef2bfbf4d57df324a0d1edc3cf9e5c4738780a9520eaf7d82540f9cf [Pipeline] // withDockerContainer [Pipeline] sh 11:23:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:23:28 Stashed 1 file(s) [Pipeline] echo 11:23:28 [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 11:23:29 provisioning config files... 11:23:29 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/config3101957623906932733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:23:29 ---> docker-login.sh 11:23:29 nexus3.edgexfoundry.org:10001 11:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:29 Configure a credential helper to remove this warning. See 11:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:29 11:23:29 Login Succeeded 11:23:29 nexus3.edgexfoundry.org:10002 11:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:29 Configure a credential helper to remove this warning. See 11:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:29 11:23:29 Login Succeeded 11:23:29 nexus3.edgexfoundry.org:10003 11:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:29 Configure a credential helper to remove this warning. See 11:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:29 11:23:29 Login Succeeded 11:23:29 nexus3.edgexfoundry.org:10004 11:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:30 Configure a credential helper to remove this warning. See 11:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:30 11:23:30 Login Succeeded 11:23:30 docker.io 11:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:30 Configure a credential helper to remove this warning. See 11:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:30 11:23:30 Login Succeeded 11:23:30 ---> docker-login.sh ends [Pipeline] } 11:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:23:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:23:30 ========================================================= 11:23:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:23:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:23:31 + 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 . 11:23:31 Sending build context to Docker daemon 43.17MB 11:23:31 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 11:23:31 Step 2/15 : FROM ${BASE} AS builder 11:23:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:23:31 59bf1c3509f3: Pulling fs layer 11:23:31 666ba61612fd: Pulling fs layer 11:23:31 8ed8ca486205: Pulling fs layer 11:23:31 4fe6c5a15a65: Pulling fs layer 11:23:31 22a0e8bec74d: Pulling fs layer 11:23:31 640e595b4fbd: Pulling fs layer 11:23:31 763cafe07f6e: Pulling fs layer 11:23:31 0c0b528cf693: Pulling fs layer 11:23:31 10935f4eaf8b: Pulling fs layer 11:23:31 4fe6c5a15a65: Waiting 11:23:31 22a0e8bec74d: Waiting 11:23:31 640e595b4fbd: Waiting 11:23:31 763cafe07f6e: Waiting 11:23:31 0c0b528cf693: Waiting 11:23:31 10935f4eaf8b: Waiting 11:23:31 8ed8ca486205: Verifying Checksum 11:23:31 8ed8ca486205: Download complete 11:23:31 666ba61612fd: Download complete 11:23:31 22a0e8bec74d: Verifying Checksum 11:23:31 22a0e8bec74d: Download complete 11:23:31 640e595b4fbd: Download complete 11:23:31 59bf1c3509f3: Verifying Checksum 11:23:31 59bf1c3509f3: Download complete 11:23:31 763cafe07f6e: Download complete 11:23:31 0c0b528cf693: Verifying Checksum 11:23:31 0c0b528cf693: Download complete 11:23:31 59bf1c3509f3: Pull complete 11:23:31 666ba61612fd: Pull complete 11:23:31 8ed8ca486205: Pull complete 11:23:32 10935f4eaf8b: Verifying Checksum 11:23:32 10935f4eaf8b: Download complete 11:23:32 4fe6c5a15a65: Verifying Checksum 11:23:32 4fe6c5a15a65: Download complete 11:23:36 4fe6c5a15a65: Pull complete 11:23:36 22a0e8bec74d: Pull complete 11:23:36 640e595b4fbd: Pull complete 11:23:36 763cafe07f6e: Pull complete 11:23:36 0c0b528cf693: Pull complete 11:23:39 10935f4eaf8b: Pull complete 11:23:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:23:39 ---> 99d49a6021b9 11:23:39 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:23:40 ---> Running in 3ce8e582cc70 11:23:40 Removing intermediate container 3ce8e582cc70 11:23:40 ---> 27ff7023d1d8 11:23:40 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 11:23:40 ---> Running in be7b3f1058ee 11:23:40 Removing intermediate container be7b3f1058ee 11:23:40 ---> 4a274ec3126a 11:23:40 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 11:23:40 ---> Running in b0c07c048a2e 11:23:40 Removing intermediate container b0c07c048a2e 11:23:40 ---> 65e991d4e9fa 11:23:40 Step 6/15 : LABEL Name=edgex-ui-go 11:23:40 ---> Running in f1f5c1527624 11:23:40 Removing intermediate container f1f5c1527624 11:23:40 ---> f06e8ad43d2b 11:23:40 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:23:40 ---> Running in f69bf2b34573 11:23:40 Removing intermediate container f69bf2b34573 11:23:40 ---> 5256668d422a 11:23:40 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:23:40 ---> Running in de2af03a4099 11:23:41 Removing intermediate container de2af03a4099 11:23:41 ---> a5775d96e058 11:23:41 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:23:41 ---> Running in 9ab377aafb80 11:23:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:23:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:23:43 OK: 221 MiB in 52 packages 11:23:43 Removing intermediate container 9ab377aafb80 11:23:43 ---> 5c0bf21fcbad 11:23:43 Step 10/15 : ENV GO111MODULE=on 11:23:43 ---> Running in d55e5daf1222 11:23:43 Removing intermediate container d55e5daf1222 11:23:43 ---> b5d2a0491ea1 11:23:43 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:23:43 ---> Running in 32972ca6c526 11:23:43 Removing intermediate container 32972ca6c526 11:23:43 ---> 62c17e5d3130 11:23:43 Step 12/15 : COPY go.mod vendor* ./ 11:23:43 ---> 423a78a78722 11:23:43 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:23:43 ---> Running in 21fa52c9454b 11:23:43 Still waiting to schedule task 11:23:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:24:10 Removing intermediate container 21fa52c9454b 11:24:10 ---> 89479b48658b 11:24:10 Step 14/15 : COPY . . 11:24:10 ---> c62518630947 11:24:10 Step 15/15 : RUN ${MAKE} 11:24:10 ---> Running in bd138282e2e5 11:24:10 noop 11:24:10 Removing intermediate container bd138282e2e5 11:24:10 ---> f25cfcba941d 11:24:10 Successfully built f25cfcba941d 11:24:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:24:10 + docker inspect -f . ci-base-image-x86_64 11:24:10 . [Pipeline] withDockerContainer 11:24:10 prd-ubuntu20.04-docker-8c-8g-11404 does not seem to be running inside a container 11:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-510 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510:/w/workspace/edgexfoundry_edgex-ui-go_PR-510:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:24:11 $ docker top dd66cd816fa12dd462974f247446c80fbe000a59086e55a1d1fafd56d9f062d6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:11 + go version 11:24:11 go version go1.17.6 linux/amd64 [Pipeline] } 11:24:11 $ docker stop --time=1 dd66cd816fa12dd462974f247446c80fbe000a59086e55a1d1fafd56d9f062d6 11:24:13 $ docker rm -f dd66cd816fa12dd462974f247446c80fbe000a59086e55a1d1fafd56d9f062d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:24:13 + docker inspect -f . ci-base-image-x86_64 11:24:13 . [Pipeline] withDockerContainer 11:24:13 prd-ubuntu20.04-docker-8c-8g-11404 does not seem to be running inside a container 11:24:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-510 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510:/w/workspace/edgexfoundry_edgex-ui-go_PR-510:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:24:14 $ docker top 836f16d79b434c70ec02053752b61cc47329102c785a0a9d1670998bc9314b37 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:24:14 + make test 11:24:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:24:15 ? github.com/edgexfoundry/edgex-ui-go [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 11:24:20 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 11:24:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:24:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:24:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 11:24:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:24:23 $ docker stop --time=1 836f16d79b434c70ec02053752b61cc47329102c785a0a9d1670998bc9314b37 11:24:25 $ docker rm -f 836f16d79b434c70ec02053752b61cc47329102c785a0a9d1670998bc9314b37 [Pipeline] // withDockerContainer [Pipeline] sh 11:24:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:24:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:24:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:24:27 + ls -al . 11:24:27 total 160 11:24:27 drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 11:24 . 11:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:23 .. 11:24:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 11:23 .git 11:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:23 .github 11:24:27 -rw-rw-r-- 1 jenkins jenkins 155 Apr 7 11:23 .gitignore 11:24:27 drwx------ 3 jenkins jenkins 4096 Apr 7 11:23 .semver 11:24:27 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 7 11:23 CONTRIBUTING.md 11:24:27 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 7 11:23 Dockerfile 11:24:27 -rw-rw-r-- 1 jenkins jenkins 652 Apr 7 11:23 Jenkinsfile 11:24:27 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 7 11:23 LICENSE 11:24:27 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 7 11:23 Makefile 11:24:27 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 7 11:23 README.md 11:24:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 11:23 VERSION 11:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:23 assets 11:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:23 bin 11:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:23 cmd 11:24:27 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 11:24 coverage.out 11:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:23 docs 11:24:27 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 7 11:23 go.mod 11:24:27 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 7 11:23 go.sum 11:24:27 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 11:23 internal 11:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:23 pkg 11:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:23 snap 11:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:23 testing 11:24:27 -rw-rw-r-- 1 jenkins jenkins 155 Apr 7 11:23 version.go 11:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:23 web [Pipeline] isUnix [Pipeline] sh 11:24:27 + 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=27f6e1df440cf25d2f4182a109183bb9963d4c9a --label arch=amd64 --label version=0.0.0 . 11:24:27 Sending build context to Docker daemon 43.17MB 11:24:27 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 11:24:27 Step 2/23 : FROM ${BASE} AS builder 11:24:27 ---> f25cfcba941d 11:24:27 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:24:28 ---> Running in 6a286ab8dcfd 11:24:28 Removing intermediate container 6a286ab8dcfd 11:24:28 ---> c91ae959112b 11:24:28 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 11:24:28 ---> Running in 3db205477e72 11:24:28 Removing intermediate container 3db205477e72 11:24:28 ---> feb662ffc780 11:24:28 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 11:24:28 ---> Running in 212d3eb5f2dc 11:24:28 Removing intermediate container 212d3eb5f2dc 11:24:28 ---> 4a51dc7bacf3 11:24:28 Step 6/23 : LABEL Name=edgex-ui-go 11:24:28 ---> Running in d542d092e0ce 11:24:28 Removing intermediate container d542d092e0ce 11:24:28 ---> 3ae3987d0233 11:24:28 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:24:28 ---> Running in e078224c1c4c 11:24:28 Removing intermediate container e078224c1c4c 11:24:28 ---> fe092b964df1 11:24:28 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:24:28 ---> Running in d14df14c419c 11:24:29 Removing intermediate container d14df14c419c 11:24:29 ---> c70f2720459f 11:24:29 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:24:29 ---> Running in 9ef2ab0879a0 11:24:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:24:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:24:30 OK: 221 MiB in 52 packages 11:24:31 Removing intermediate container 9ef2ab0879a0 11:24:31 ---> ee19cef71b80 11:24:31 Step 10/23 : ENV GO111MODULE=on 11:24:31 ---> Running in 88c445c65454 11:24:31 Removing intermediate container 88c445c65454 11:24:31 ---> e4afe5f0a1f3 11:24:31 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:24:31 ---> Running in 21b57351d71b 11:24:31 Removing intermediate container 21b57351d71b 11:24:31 ---> 4f1a750f1c37 11:24:31 Step 12/23 : COPY go.mod vendor* ./ 11:24:31 ---> 7b4ac48943b6 11:24:31 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:24:31 ---> Running in 00dc2deae068 11:24:32 Removing intermediate container 00dc2deae068 11:24:32 ---> cca4329adb04 11:24:32 Step 14/23 : COPY . . 11:24:33 ---> 448fd0102627 11:24:33 Step 15/23 : RUN ${MAKE} 11:24:33 ---> Running in ce1d7f79e62b 11:24:33 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 11:24:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:24:40 Removing intermediate container ce1d7f79e62b 11:24:40 ---> ab7250771ac5 11:24:40 Step 16/23 : FROM alpine:3.14 11:24:41 3.14: Pulling from library/alpine 11:24:41 8663204ce13b: Pulling fs layer 11:24:41 8663204ce13b: Verifying Checksum 11:24:41 8663204ce13b: Download complete 11:24:41 8663204ce13b: Pull complete 11:24:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:24:41 Status: Downloaded newer image for alpine:3.14 11:24:41 ---> e04c818066af 11:24:41 Step 17/23 : EXPOSE 4000 11:24:41 ---> Running in a51de0b9a610 11:24:42 Removing intermediate container a51de0b9a610 11:24:42 ---> b9e6dc2d5078 11:24:42 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 11:24:42 ---> 9da1c1fcd4b6 11:24:42 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 11:24:42 ---> Running in f31eb3f3df42 11:24:42 Removing intermediate container f31eb3f3df42 11:24:42 ---> 25a85805601b 11:24:42 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 11:24:42 ---> Running in 6d0e17e800a0 11:24:42 Removing intermediate container 6d0e17e800a0 11:24:42 ---> 27d8d13f06a3 11:24:42 Step 21/23 : LABEL arch=amd64 11:24:42 ---> Running in cbaf1ac2b3a4 11:24:42 Removing intermediate container cbaf1ac2b3a4 11:24:42 ---> 121ea6d48b1a 11:24:42 Step 22/23 : LABEL git_sha=27f6e1df440cf25d2f4182a109183bb9963d4c9a 11:24:42 ---> Running in 8b7689e30c55 11:24:42 Removing intermediate container 8b7689e30c55 11:24:42 ---> 631ec6f559d7 11:24:42 Step 23/23 : LABEL version=0.0.0 11:24:42 ---> Running in 20b4266c092f 11:24:43 Removing intermediate container 20b4266c092f 11:24:43 ---> d1a1a03e99d5 11:24:43 [Warning] One or more build-args [ARCH] were not consumed 11:24:43 Successfully built d1a1a03e99d5 11:24:43 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 11:24:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:24:44 11:24:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:24:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:24:44 latest: Pulling from edgex-lftools-log-publisher 11:24:44 5eb5b503b376: Pulling fs layer 11:24:44 5c69ac0246d0: Pulling fs layer 11:24:44 ec43610c2a17: Pulling fs layer 11:24:44 3a2ae6a8a46f: Pulling fs layer 11:24:44 33b1e0a273af: Pulling fs layer 11:24:44 5d3b04190fa2: Pulling fs layer 11:24:44 2f39f015ded8: Pulling fs layer 11:24:44 3a2ae6a8a46f: Waiting 11:24:44 33b1e0a273af: Waiting 11:24:44 5d3b04190fa2: Waiting 11:24:44 2f39f015ded8: Waiting 11:24:44 5c69ac0246d0: Verifying Checksum 11:24:44 5c69ac0246d0: Download complete 11:24:44 3a2ae6a8a46f: Download complete 11:24:44 33b1e0a273af: Verifying Checksum 11:24:44 33b1e0a273af: Download complete 11:24:44 5d3b04190fa2: Verifying Checksum 11:24:44 5d3b04190fa2: Download complete 11:24:44 ec43610c2a17: Verifying Checksum 11:24:44 ec43610c2a17: Download complete 11:24:44 5eb5b503b376: Verifying Checksum 11:24:44 5eb5b503b376: Download complete 11:24:45 2f39f015ded8: Verifying Checksum 11:24:45 2f39f015ded8: Download complete 11:24:45 5eb5b503b376: Pull complete 11:24:46 5c69ac0246d0: Pull complete 11:24:46 ec43610c2a17: Pull complete 11:24:46 3a2ae6a8a46f: Pull complete 11:24:46 33b1e0a273af: Pull complete 11:24:46 5d3b04190fa2: Pull complete 11:24:50 2f39f015ded8: Pull complete 11:24:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:24:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:24:51 prd-ubuntu20.04-docker-8c-8g-11404 does not seem to be running inside a container 11:24:51 $ 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-510 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510:/w/workspace/edgexfoundry_edgex-ui-go_PR-510:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:24:52 $ docker top eea62c3702ec21184b1a2a7b46880a0be35d6164ae86b8f4c157c7ae9dfffb23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:24:53 ---> job-cost.sh 11:24:53 lf-activate-venv: SKIPPING 11:24:53 INFO: No Stack... 11:24:53 INFO: Retrieving Pricing Info for: v3-standard-8 11:24:54 INFO: Archiving Costs [Pipeline] sh 11:24:54 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives/cost.csv 11:24:54 + cut -d, -f6 [Pipeline] lock 11:24:54 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] 11:24:54 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] did not exist. Created. 11:24:54 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:24:54 + echo total: 0.2199999988079071 [Pipeline] stash 11:24:54 Stashed 1 file(s) [Pipeline] } 11:24:54 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:24:55 $ docker stop --time=1 eea62c3702ec21184b1a2a7b46880a0be35d6164ae86b8f4c157c7ae9dfffb23 11:24:56 $ docker rm -f eea62c3702ec21184b1a2a7b46880a0be35d6164ae86b8f4c157c7ae9dfffb23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:25:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11405 in /w/workspace/edgexfoundry_edgex-ui-go_PR-510 [Pipeline] { [Pipeline] ws 11:25:17 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 11:25:17 The recommended git tool is: git 11:25:25 using credential edgex-jenkins-ssh 11:25:25 Cloning the remote Git repository 11:25:25 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 11:25:25 > git init /w/workspace/edgex-ui-go/1 # timeout=10 11:25:25 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 11:25:25 > git --version # timeout=10 11:25:25 > git --version # 'git version 2.25.1' 11:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:28 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 11:25:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:28 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 11:25:29 Merging remotes/origin/main commit 85e38400248efaa84ce551a52fbd297875ef55c6 into PR head commit 27f6e1df440cf25d2f4182a109183bb9963d4c9a 11:25:30 Merge succeeded, producing 27f6e1df440cf25d2f4182a109183bb9963d4c9a 11:25:30 Checking out Revision 27f6e1df440cf25d2f4182a109183bb9963d4c9a (PR-510) 11:25:29 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 11:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:25:29 > git config core.sparsecheckout # timeout=10 11:25:29 > git checkout -f 27f6e1df440cf25d2f4182a109183bb9963d4c9a # timeout=10 11:25:30 > git remote # timeout=10 11:25:30 > git config --get remote.origin.url # timeout=10 11:25:30 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:30 > git merge 85e38400248efaa84ce551a52fbd297875ef55c6 # timeout=10 11:25:30 > git rev-parse HEAD^{commit} # timeout=10 11:25:30 > git config core.sparsecheckout # timeout=10 11:25:30 > git checkout -f 27f6e1df440cf25d2f4182a109183bb9963d4c9a # timeout=10 11:25:34 Commit message: "refactor: remove OperatingState property when new device adding and only show it when editing" 11:25:34 > git --version # timeout=10 11:25:34 > git --version # 'git version 2.25.1' 11:25:34 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:25:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:25:35 % Total % Received % Xferd Average Speed Time Time Time Current 11:25:35 Dload Upload Total Spent Left Speed 11:25:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47562 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47372 [Pipeline] sh 11:25:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:25:36 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 11:25:36 /etc/docker/daemon.new 11:25:36 { 11:25:36 "registry-mirrors": [ 11:25:36 "https://nexus3.edgexfoundry.org:10001" 11:25:36 ], 11:25:36 "bip": "10.250.0.254/24", 11:25:36 "hosts": [ 11:25:36 "tcp://0.0.0.0:5555", 11:25:36 "unix:///var/run/docker.sock" 11:25:36 ], 11:25:36 "mtu": 1458, 11:25:36 "selinux-enabled": true, 11:25:36 "seccomp-profile": "/etc/docker/seccomp.json" 11:25:36 } [Pipeline] sh 11:25:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:25:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:25:55 provisioning config files... 11:25:55 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config4517216343503838410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:56 ---> docker-login.sh 11:25:56 nexus3.edgexfoundry.org:10001 11:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:57 Configure a credential helper to remove this warning. See 11:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:57 11:25:57 Login Succeeded 11:25:57 nexus3.edgexfoundry.org:10002 11:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:57 Configure a credential helper to remove this warning. See 11:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:57 11:25:57 Login Succeeded 11:25:57 nexus3.edgexfoundry.org:10003 11:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:58 Configure a credential helper to remove this warning. See 11:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:58 11:25:58 Login Succeeded 11:25:58 nexus3.edgexfoundry.org:10004 11:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:58 Configure a credential helper to remove this warning. See 11:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:58 11:25:58 Login Succeeded 11:25:58 docker.io 11:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:59 Configure a credential helper to remove this warning. See 11:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:59 11:25:59 Login Succeeded 11:25:59 ---> docker-login.sh ends [Pipeline] } 11:25:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:26:00 ========================================================= 11:26:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:26:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:26:00 + 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 . 11:26:01 Sending build context to Docker daemon 27.08MB 11:26:01 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 11:26:01 Step 2/15 : FROM ${BASE} AS builder 11:26:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:26:01 9b3977197b4f: Pulling fs layer 11:26:01 1a89e8eeedd5: Pulling fs layer 11:26:01 94645a83ff95: Pulling fs layer 11:26:01 3f3a8bcf1eab: Pulling fs layer 11:26:01 0c92f367c5e7: Pulling fs layer 11:26:01 f7c0051592d6: Pulling fs layer 11:26:01 a227ed2f7395: Pulling fs layer 11:26:01 7b1c46037f91: Pulling fs layer 11:26:01 f7c0051592d6: Waiting 11:26:01 a227ed2f7395: Waiting 11:26:01 7b1c46037f91: Waiting 11:26:01 0c92f367c5e7: Waiting 11:26:01 3f3a8bcf1eab: Waiting 11:26:01 94645a83ff95: Verifying Checksum 11:26:01 94645a83ff95: Download complete 11:26:01 1a89e8eeedd5: Download complete 11:26:01 0c92f367c5e7: Verifying Checksum 11:26:01 0c92f367c5e7: Download complete 11:26:01 9b3977197b4f: Download complete 11:26:01 f7c0051592d6: Verifying Checksum 11:26:01 f7c0051592d6: Download complete 11:26:01 a227ed2f7395: Download complete 11:26:02 9b3977197b4f: Pull complete 11:26:03 1a89e8eeedd5: Pull complete 11:26:03 94645a83ff95: Pull complete 11:26:03 7b1c46037f91: Verifying Checksum 11:26:03 7b1c46037f91: Download complete 11:26:04 3f3a8bcf1eab: Verifying Checksum 11:26:04 3f3a8bcf1eab: Download complete 11:26:16 3f3a8bcf1eab: Pull complete 11:26:16 0c92f367c5e7: Pull complete 11:26:16 f7c0051592d6: Pull complete 11:26:16 a227ed2f7395: Pull complete 11:26:23 7b1c46037f91: Pull complete 11:26:23 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:26:23 ---> f79e39bc4007 11:26:23 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:26:24 ---> Running in 5b0bd72dbae9 11:26:24 Removing intermediate container 5b0bd72dbae9 11:26:24 ---> 1033fe3173e9 11:26:24 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 11:26:24 ---> Running in 39e3a538edf6 11:26:24 Removing intermediate container 39e3a538edf6 11:26:24 ---> cc6d1e83d974 11:26:24 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 11:26:25 ---> Running in eca6fd2e7f73 11:26:25 Removing intermediate container eca6fd2e7f73 11:26:25 ---> d26f1c298061 11:26:25 Step 6/15 : LABEL Name=edgex-ui-go 11:26:25 ---> Running in 0304a3b6a5dd 11:26:25 Removing intermediate container 0304a3b6a5dd 11:26:25 ---> edff8267b39b 11:26:25 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:26:25 ---> Running in 188506c1d8ce 11:26:25 Removing intermediate container 188506c1d8ce 11:26:25 ---> d812bd9881d9 11:26:25 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:26:26 ---> Running in 5a577536af72 11:26:28 Removing intermediate container 5a577536af72 11:26:28 ---> b48b204a1c2a 11:26:28 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:26:28 ---> Running in 610c762dff95 11:26:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:26:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:26:30 OK: 220 MiB in 52 packages 11:26:31 Removing intermediate container 610c762dff95 11:26:31 ---> d16ac119ee64 11:26:31 Step 10/15 : ENV GO111MODULE=on 11:26:31 ---> Running in 064b37b5e3bf 11:26:31 Removing intermediate container 064b37b5e3bf 11:26:31 ---> 0c688c828dc4 11:26:31 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:26:31 ---> Running in 5e285761eb51 11:26:31 Removing intermediate container 5e285761eb51 11:26:31 ---> 8895c9205ac3 11:26:31 Step 12/15 : COPY go.mod vendor* ./ 11:26:32 ---> 25fe344173f6 11:26:32 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:26:32 ---> Running in f8d06aba3a81 11:27:54 Removing intermediate container f8d06aba3a81 11:27:54 ---> c3450f0a6dc6 11:27:54 Step 14/15 : COPY . . 11:27:54 ---> f73ff1398d7d 11:27:54 Step 15/15 : RUN ${MAKE} 11:27:54 ---> Running in e1714880fcf6 11:27:54 noop 11:27:54 Removing intermediate container e1714880fcf6 11:27:54 ---> 54710372286c 11:27:54 Successfully built 54710372286c 11:27:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:27:54 + docker inspect -f . ci-base-image-arm64 11:27:54 . [Pipeline] withDockerContainer 11:27:55 prd-ubuntu20.04-docker-arm64-4c-16g-11405 does not seem to be running inside a container 11:27:55 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 11:27:56 $ docker top b5afd1f32703965b0bfdc831a6a3b9293d90a64d588e23bb66a1d50dfd9b6159 -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:57 + go version 11:27:57 go version go1.17.6 linux/arm64 [Pipeline] } 11:27:57 $ docker stop --time=1 b5afd1f32703965b0bfdc831a6a3b9293d90a64d588e23bb66a1d50dfd9b6159 11:27:58 $ docker rm -f b5afd1f32703965b0bfdc831a6a3b9293d90a64d588e23bb66a1d50dfd9b6159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:27:59 + docker inspect -f . ci-base-image-arm64 11:27:59 . [Pipeline] withDockerContainer 11:28:00 prd-ubuntu20.04-docker-arm64-4c-16g-11405 does not seem to be running inside a container 11:28:00 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 11:28:01 $ docker top 3c35c0b031cd1bd6164c24848dc6d018bddb8e1bd987be6b7e7575d74a28bdb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:28:02 + make test 11:28:02 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:28:03 ? github.com/edgexfoundry/edgex-ui-go [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 11:28:42 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 11:28:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:28:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:28:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 11:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:28:55 $ docker stop --time=1 3c35c0b031cd1bd6164c24848dc6d018bddb8e1bd987be6b7e7575d74a28bdb2 11:28:57 $ docker rm -f 3c35c0b031cd1bd6164c24848dc6d018bddb8e1bd987be6b7e7575d74a28bdb2 [Pipeline] // withDockerContainer [Pipeline] sh 11:28:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:28:57 Warning: overwriting stash ‘coverage-report’ 11:28:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:28:59 + ls -al . 11:28:59 total 156 11:28:59 drwxrwxr-x 13 jenkins jenkins 4096 Apr 7 11:28 . 11:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:25 .. 11:28:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 11:25 .git 11:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:25 .github 11:28:59 -rw-rw-r-- 1 jenkins jenkins 155 Apr 7 11:25 .gitignore 11:28:59 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 7 11:25 CONTRIBUTING.md 11:28:59 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 7 11:25 Dockerfile 11:28:59 -rw-rw-r-- 1 jenkins jenkins 652 Apr 7 11:25 Jenkinsfile 11:28:59 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 7 11:25 LICENSE 11:28:59 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 7 11:25 Makefile 11:28:59 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 7 11:25 README.md 11:28:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 11:23 VERSION 11:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:25 assets 11:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:25 bin 11:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:25 cmd 11:28:59 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 11:28 coverage.out 11:28:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:25 docs 11:28:59 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 7 11:25 go.mod 11:28:59 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 7 11:25 go.sum 11:28:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 11:25 internal 11:28:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:25 pkg 11:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:25 snap 11:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:25 testing 11:28:59 -rw-rw-r-- 1 jenkins jenkins 155 Apr 7 11:25 version.go 11:28:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:25 web [Pipeline] isUnix [Pipeline] sh 11:28:59 + 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=27f6e1df440cf25d2f4182a109183bb9963d4c9a --label arch=arm64 --label version=0.0.0 . 11:29:00 Sending build context to Docker daemon 27.08MB 11:29:00 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 11:29:00 Step 2/23 : FROM ${BASE} AS builder 11:29:00 ---> 54710372286c 11:29:00 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:29:01 ---> Running in 4e5a375d24fa 11:29:01 Removing intermediate container 4e5a375d24fa 11:29:01 ---> 8127d6b7270d 11:29:01 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 11:29:01 ---> Running in acc468aa32cb 11:29:01 Removing intermediate container acc468aa32cb 11:29:01 ---> 0f8b8aa9d500 11:29:01 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 11:29:01 ---> Running in fed5247bf341 11:29:02 Removing intermediate container fed5247bf341 11:29:02 ---> 933a5fe7dc96 11:29:02 Step 6/23 : LABEL Name=edgex-ui-go 11:29:02 ---> Running in a4f122328f2c 11:29:02 Removing intermediate container a4f122328f2c 11:29:02 ---> f1e38609cfbb 11:29:02 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:29:02 ---> Running in 3c3b7422573c 11:29:02 Removing intermediate container 3c3b7422573c 11:29:02 ---> 63132edb9616 11:29:02 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:29:03 ---> Running in 9180c1e0561d 11:29:04 Removing intermediate container 9180c1e0561d 11:29:04 ---> bc3d68be73b4 11:29:04 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:29:05 ---> Running in d7915b89f4af 11:29:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:29:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:29:07 OK: 220 MiB in 52 packages 11:29:08 Removing intermediate container d7915b89f4af 11:29:08 ---> 76ba2fde5b0e 11:29:08 Step 10/23 : ENV GO111MODULE=on 11:29:08 ---> Running in 4eed9fd42ace 11:29:08 Removing intermediate container 4eed9fd42ace 11:29:08 ---> a87fc268b4c7 11:29:08 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:29:08 ---> Running in 5eadbfccde55 11:29:09 Removing intermediate container 5eadbfccde55 11:29:09 ---> 8325d7cd0969 11:29:09 Step 12/23 : COPY go.mod vendor* ./ 11:29:09 ---> 5c1e938036ff 11:29:09 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:29:09 ---> Running in 1c13a280b6a3 11:29:12 Removing intermediate container 1c13a280b6a3 11:29:12 ---> f98360fc6810 11:29:12 Step 14/23 : COPY . . 11:29:14 ---> 67e225b8699d 11:29:14 Step 15/23 : RUN ${MAKE} 11:29:14 ---> Running in a560af175a50 11:29:15 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 11:29:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:29:51 Removing intermediate container a560af175a50 11:29:51 ---> 04fe6d966ed7 11:29:51 Step 16/23 : FROM alpine:3.14 11:29:51 3.14: Pulling from library/alpine 11:29:51 455c02918c45: Pulling fs layer 11:29:52 455c02918c45: Download complete 11:29:52 455c02918c45: Pull complete 11:29:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:29:52 Status: Downloaded newer image for alpine:3.14 11:29:52 ---> ac73e934f311 11:29:52 Step 17/23 : EXPOSE 4000 11:29:52 ---> Running in 5badb8f3635e 11:29:53 Removing intermediate container 5badb8f3635e 11:29:53 ---> ee067c20f3ac 11:29:53 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 11:29:54 ---> 8be3387af9e3 11:29:54 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 11:29:54 ---> Running in 7754fa40a734 11:29:54 Removing intermediate container 7754fa40a734 11:29:54 ---> 736166e04dc7 11:29:54 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 11:29:54 ---> Running in c85d1e5d6bca 11:29:55 Removing intermediate container c85d1e5d6bca 11:29:55 ---> dbf04f3b3669 11:29:55 Step 21/23 : LABEL arch=arm64 11:29:55 ---> Running in 46a5146ccefc 11:29:55 Removing intermediate container 46a5146ccefc 11:29:55 ---> ce33e24bd72f 11:29:55 Step 22/23 : LABEL git_sha=27f6e1df440cf25d2f4182a109183bb9963d4c9a 11:29:55 ---> Running in 3fee9f06c99c 11:29:55 Removing intermediate container 3fee9f06c99c 11:29:55 ---> d0184890f156 11:29:55 Step 23/23 : LABEL version=0.0.0 11:29:55 ---> Running in d95e24024d8b 11:29:56 Removing intermediate container d95e24024d8b 11:29:56 ---> 7a8211ea911f 11:29:56 [Warning] One or more build-args [ARCH] were not consumed 11:29:56 Successfully built 7a8211ea911f 11:29:56 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 11:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:29:57 11:29:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:29:57 arm64: Pulling from edgex-lftools-log-publisher 11:29:57 8998bd30e6a1: Pulling fs layer 11:29:57 04944245beec: Pulling fs layer 11:29:57 699f458cf7ca: Pulling fs layer 11:29:57 765212b225bb: Pulling fs layer 11:29:57 f23df028b6ca: Pulling fs layer 11:29:57 d65c8cfc05b1: Pulling fs layer 11:29:57 2437ff75d9bd: Pulling fs layer 11:29:57 765212b225bb: Waiting 11:29:57 f23df028b6ca: Waiting 11:29:57 d65c8cfc05b1: Waiting 11:29:57 2437ff75d9bd: Waiting 11:29:57 04944245beec: Verifying Checksum 11:29:57 04944245beec: Download complete 11:29:57 765212b225bb: Verifying Checksum 11:29:57 765212b225bb: Download complete 11:29:58 f23df028b6ca: Verifying Checksum 11:29:58 f23df028b6ca: Download complete 11:29:58 d65c8cfc05b1: Download complete 11:29:58 699f458cf7ca: Verifying Checksum 11:29:58 699f458cf7ca: Download complete 11:29:58 8998bd30e6a1: Verifying Checksum 11:29:58 8998bd30e6a1: Download complete 11:30:01 2437ff75d9bd: Verifying Checksum 11:30:01 2437ff75d9bd: Download complete 11:30:04 8998bd30e6a1: Pull complete 11:30:04 04944245beec: Pull complete 11:30:05 699f458cf7ca: Pull complete 11:30:05 765212b225bb: Pull complete 11:30:06 f23df028b6ca: Pull complete 11:30:06 d65c8cfc05b1: Pull complete 11:30:21 2437ff75d9bd: Pull complete 11:30:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:30:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:30:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:30:21 prd-ubuntu20.04-docker-arm64-4c-16g-11405 does not seem to be running inside a container 11:30:21 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:30:24 $ docker top a16538fc2e8b5ae14a03de212ec3baecb44bfa2546d5f0e48e40a2678cf347b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:30:25 ---> job-cost.sh 11:30:25 lf-activate-venv: SKIPPING 11:30:25 INFO: No Stack... 11:30:26 INFO: Retrieving Pricing Info for: v3-standard-4 11:30:27 INFO: Archiving Costs [Pipeline] sh 11:30:27 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 11:30:27 + cut -d, -f6 [Pipeline] lock 11:30:27 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] 11:30:27 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] did not exist. Created. 11:30:27 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:30:28 /w/workspace/edgex-ui-go/1@tmp/durable-b2e61140/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:30:29 + echo total: 0.10999999940395355 [Pipeline] stash 11:30:29 Warning: overwriting stash ‘stack-cost’ 11:30:29 Stashed 1 file(s) [Pipeline] } 11:30:29 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:30:29 $ docker stop --time=1 a16538fc2e8b5ae14a03de212ec3baecb44bfa2546d5f0e48e40a2678cf347b0 11:30:31 $ docker rm -f a16538fc2e8b5ae14a03de212ec3baecb44bfa2546d5f0e48e40a2678cf347b0 [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 11:30:32 provisioning config files... 11:30:32 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/config2777971900012671710tmp [Pipeline] { [Pipeline] sh 11:30:32 + set +x 11:30:32 + curl -s https://codecov.io/bash 11:30:32 + bash -s -- 11:30:32 11:30:32 _____ _ 11:30:32 / ____| | | 11:30:32 | | ___ __| | ___ ___ _____ __ 11:30:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:30:32 | |___| (_) | (_| | __/ (_| (_) \ V / 11:30:32 \_____\___/ \__,_|\___|\___\___/ \_/ 11:30:32 Bash-1.0.6 11:30:32 11:30:32 11:30:32 ==> git version 2.25.1 found 11:30:32 ==> 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 11:30:32 Release-Date: 2020-01-08 11:30:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:30:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:30:32 ==> Jenkins CI detected. 11:30:32 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-510 11:30:32 project root: . 11:30:32 --> token set from env 11:30:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:30:32 ==> Running gcov in . (disable via -X gcov) 11:30:32 ==> Python coveragepy not found 11:30:32 ==> Searching for coverage reports in: 11:30:32 + . 11:30:32 -> Found 1 reports 11:30:32 ==> Detecting git/mercurial file structure 11:30:32 ==> Reading reports 11:30:32 + ./coverage.out bytes=10 11:30:32 ==> Appending adjustments 11:30:32 https://docs.codecov.io/docs/fixing-reports 11:30:32 + Found adjustments 11:30:32 ==> Gzipping contents 11:30:32 4.0K /tmp/codecov.PyLAIK.gz 11:30:32 ==> Uploading reports 11:30:32 url: https://codecov.io 11:30:32 query: branch=PR-510&commit=27f6e1df440cf25d2f4182a109183bb9963d4c9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=510&job=&cmd_args= 11:30:32 -> Pinging Codecov 11:30:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-510&commit=27f6e1df440cf25d2f4182a109183bb9963d4c9a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=510&job=&cmd_args= 11:30:32 -> Uploading to 11:30:32 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/FB506323287CE973F263BFD2A0EB1F37/27f6e1df440cf25d2f4182a109183bb9963d4c9a/c4cf6574-8747-438b-820e-4d5e2e4a310d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T113032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c55eef9af2644dc93cfe85f26050decc5dc6386e17a6bf38db9f29cb4289bf8 11:30:32 % Total % Received % Xferd Average Speed Time Time Time Current 11:30:32 Dload Upload Total Spent Left Speed 11:30:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4059 0 0 100 4059 0 19897 --:--:-- --:--:-- --:--:-- 19800 100 4059 0 0 100 4059 0 19236 --:--:-- --:--:-- --:--:-- 19146 11:30:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/27f6e1df440cf25d2f4182a109183bb9963d4c9a [Pipeline] } 11:30:33 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 11:30:34 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives ] 11:30:34 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives 11:30:34 total 16 11:30:34 drwxr-xr-x 3 root root 4096 Apr 7 11:24 . 11:30:34 drwxrwxr-x 15 jenkins jenkins 4096 Apr 7 11:24 .. 11:30:34 drwxr-xr-x 2 root root 4096 Apr 7 11:24 cost 11:30:34 -rw-r--r-- 1 root root 82 Apr 7 11:24 cost.csv 11:30:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives 11:30:34 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives 11:30:34 total 16 11:30:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 11:24 . 11:30:34 drwxrwxr-x 15 jenkins jenkins 4096 Apr 7 11:24 .. 11:30:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 11:24 cost 11:30:34 -rw-r--r-- 1 jenkins jenkins 82 Apr 7 11:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:30:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:30:36 ---> package-listing.sh 11:30:36 ++ facter osfamily 11:30:36 ++ tr '[:upper:]' '[:lower:]' 11:30:36 + OS_FAMILY=debian 11:30:36 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-510 11:30:36 + START_PACKAGES=/tmp/packages_start.txt 11:30:36 + END_PACKAGES=/tmp/packages_end.txt 11:30:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:30:36 + PACKAGES=/tmp/packages_start.txt 11:30:36 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-510 ']' 11:30:36 + PACKAGES=/tmp/packages_end.txt 11:30:36 + case "${OS_FAMILY}" in 11:30:36 + dpkg -l 11:30:36 + grep '^ii' 11:30:36 + '[' -f /tmp/packages_start.txt ']' 11:30:36 + '[' -f /tmp/packages_end.txt ']' 11:30:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:30:36 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-510 ']' 11:30:36 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives/ 11:30:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-510/archives/ [Pipeline] echo 11:30:36 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-510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:30:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:30:37 . [Pipeline] withDockerContainer 11:30:37 prd-ubuntu20.04-docker-8c-8g-11404 does not seem to be running inside a container 11:30:37 $ 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-510/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-510 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510:/w/workspace/edgexfoundry_edgex-ui-go_PR-510:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@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 11:30:37 $ docker top 00989ba779a85a85e19a41b8cfeb69fbd6e3f3590f09b3169385c6bf212ac843 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:38 + touch /tmp/pre-build-complete [Pipeline] sh 11:30:38 + mkdir -p /var/log/sysstat [Pipeline] sh 11:30:38 + ls /var/log/sa-host 11:30:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:30:39 provisioning config files... 11:30:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-510@tmp/config1435108270923146405tmp [Pipeline] { [Pipeline] echo 11:30:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:30:39 ---> create-netrc.sh [Pipeline] } 11:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:30:39 ---> python-tools-install.sh [Pipeline] echo 11:30:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:30:40 ---> sudo-logs.sh 11:30:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:30:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:30:40 ---> job-cost.sh 11:30:40 lf-activate-venv: SKIPPING 11:30:40 DEBUG: total: 0.2199999988079071 11:30:40 INFO: Retrieving Stack Cost... 11:30:40 INFO: Retrieving Pricing Info for: v3-standard-8 11:30:41 INFO: Archiving Costs [Pipeline] echo 11:30:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:30:41 ---> logs-deploy.sh 11:30:41 lf-activate-venv: SKIPPING 11:30:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-510/1 11:30:41 INFO: archiving workspace using pattern(s): 11:30:42 Archives upload complete. 11:30:42 INFO: archiving logs to Nexus