Pull request #575 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccca79b5f5491dca0db9cb10020e5b559a391c46+a3ee41877b048388e7c3cdab8b1927d49f235cab (0d668319050abdd1f267b7ded3bd7f850392b4d8) 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-ssh11045961714708446175.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh14119318210557660443.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7227329673658639663.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/device-modbus-go/branches/PR-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7548889285261216504.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1516104874358240981.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5235521023879562728.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-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: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13184 in /w/workspace/xfoundry_device-modbus-go_PR-575 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-575 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit ccca79b5f5491dca0db9cb10020e5b559a391c46 Merge succeeded, producing ccca79b5f5491dca0db9cb10020e5b559a391c46 Checking out Revision ccca79b5f5491dca0db9cb10020e5b559a391c46 (PR-575) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f ccca79b5f5491dca0db9cb10020e5b559a391c46 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccca79b5f5491dca0db9cb10020e5b559a391c46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:14 ========================================================= 05:45:14 EdgeX Global Pipelines Version Info 05:45:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:15 ------------------- 05:45:15 stable info: 05:45:15 ------------------- 05:45:15 Commited By: Cherry Wang cherry@iotechsys.com 05:45:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:45:15 Message: update stable to v1.0.264 05:45:15 ------------------- 05:45:15 experimental info: 05:45:15 ------------------- 05:45:15 Commited By: Cherry Wang cherry@iotechsys.com 05:45:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:45:15 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-575 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-575 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-575 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccca79b5f5491dca0db9cb10020e5b559a391c46 [Pipeline] echo 05:45:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccca79b [Pipeline] echo 05:45:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:18 provisioning config files... 05:45:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/config16496167580211183817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:18 ---> ****-login.sh 05:45:18 nexus3.edgexfoundry.org:10001 05:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:18 Configure a credential helper to remove this warning. See 05:45:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:18 05:45:18 Login Succeeded 05:45:18 nexus3.edgexfoundry.org:10002 05:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:18 Configure a credential helper to remove this warning. See 05:45:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:18 05:45:18 Login Succeeded 05:45:18 nexus3.edgexfoundry.org:10003 05:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:19 Configure a credential helper to remove this warning. See 05:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:19 05:45:19 Login Succeeded 05:45:19 nexus3.edgexfoundry.org:10004 05:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:19 Configure a credential helper to remove this warning. See 05:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:19 05:45:19 Login Succeeded 05:45:19 ****.io 05:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:19 Configure a credential helper to remove this warning. See 05:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:19 05:45:19 Login Succeeded 05:45:19 ---> ****-login.sh ends [Pipeline] } 05:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:45:20 + git rev-list -1 --merges ccca79b5f5491dca0db9cb10020e5b559a391c46~1..ccca79b5f5491dca0db9cb10020e5b559a391c46 [Pipeline] echo 05:45:20 -----------> git rev-list -1 --merges ccca79b5f5491dca0db9cb10020e5b559a391c46~1..ccca79b5f5491dca0db9cb10020e5b559a391c46 ccca79b5f5491dca0db9cb10020e5b559a391c46 [false] [Pipeline] sh 05:45:20 + git log --format=format:%s -1 ccca79b5f5491dca0db9cb10020e5b559a391c46 [Pipeline] echo 05:45:20 ========================================================= 05:45:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:45:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:20 + git log --format=format:%s -1 ccca79b5f5491dca0db9cb10020e5b559a391c46 [Pipeline] echo 05:45:20 [semverPrep] GIT_COMMIT: ccca79b5f5491dca0db9cb10020e5b559a391c46, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:45:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:45:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:21 + grep -v github /etc/ssh/ssh_known_hosts 05:45:21 + [ -e /tmp/ssh_known_hosts ] 05:45:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:45:21 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 05:45:21 -a /etc/ssh/ssh_known_hosts 05:45:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:21 05:45:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:45:22 b85a868b505f: Pulling fs layer 05:45:22 e2be974225ed: Pulling fs layer 05:45:22 339a4e72a1f5: Pulling fs layer 05:45:22 988bab9f4d93: Pulling fs layer 05:45:22 1469e6f7b9e6: Pulling fs layer 05:45:22 eaf3925da568: Pulling fs layer 05:45:22 bab4dde63d76: Pulling fs layer 05:45:22 bde34c3a00c8: Pulling fs layer 05:45:22 b352a97aabf1: Pulling fs layer 05:45:22 4872d77fe225: Pulling fs layer 05:45:22 5851b861e8e6: Pulling fs layer 05:45:22 988bab9f4d93: Waiting 05:45:22 1469e6f7b9e6: Waiting 05:45:22 eaf3925da568: Waiting 05:45:22 bab4dde63d76: Waiting 05:45:22 bde34c3a00c8: Waiting 05:45:22 b352a97aabf1: Waiting 05:45:22 4872d77fe225: Waiting 05:45:22 5851b861e8e6: Waiting 05:45:22 e2be974225ed: Download complete 05:45:22 988bab9f4d93: Verifying Checksum 05:45:22 988bab9f4d93: Download complete 05:45:22 1469e6f7b9e6: Verifying Checksum 05:45:22 1469e6f7b9e6: Download complete 05:45:22 eaf3925da568: Download complete 05:45:22 339a4e72a1f5: Verifying Checksum 05:45:22 339a4e72a1f5: Download complete 05:45:22 bde34c3a00c8: Download complete 05:45:22 b352a97aabf1: Download complete 05:45:22 4872d77fe225: Verifying Checksum 05:45:22 4872d77fe225: Download complete 05:45:22 5851b861e8e6: Verifying Checksum 05:45:22 5851b861e8e6: Download complete 05:45:22 b85a868b505f: Verifying Checksum 05:45:22 b85a868b505f: Download complete 05:45:22 bab4dde63d76: Verifying Checksum 05:45:22 bab4dde63d76: Download complete 05:45:23 b85a868b505f: Pull complete 05:45:23 e2be974225ed: Pull complete 05:45:24 339a4e72a1f5: Pull complete 05:45:24 988bab9f4d93: Pull complete 05:45:24 1469e6f7b9e6: Pull complete 05:45:24 eaf3925da568: Pull complete 05:45:26 bab4dde63d76: Pull complete 05:45:26 bde34c3a00c8: Pull complete 05:45:26 b352a97aabf1: Pull complete 05:45:26 4872d77fe225: Pull complete 05:45:26 5851b861e8e6: Pull complete 05:45:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:26 prd-ubuntu20.04-docker-8c-8g-13184 does not seem to be running inside a container 05:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-575 -v /w/workspace/xfoundry_device-modbus-go_PR-575:/w/workspace/xfoundry_device-modbus-go_PR-575:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-575@tmp:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:27 $ docker top d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 -eo pid,comm 05:45:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:45:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:28 [ssh-agent] Looking for ssh-agent implementation... 05:45:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:28 $ docker exec d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 ssh-agent 05:45:28 SSH_AUTH_SOCK=/tmp/ssh-YwAiAJN6t640/agent.33 05:45:28 SSH_AGENT_PID=39 05:45:28 Running ssh-add (command line suppressed) 05:45:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-575@tmp/private_key_6711077265736950794.key (/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/private_key_6711077265736950794.key) 05:45:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:28 + git tag --points-at HEAD [Pipeline] } 05:45:28 $ docker exec --env ******** --env ******** d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 ssh-agent -k 05:45:29 unset SSH_AUTH_SOCK; 05:45:29 unset SSH_AGENT_PID; 05:45:29 echo Agent pid 39 killed; 05:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:29 [ssh-agent] Looking for ssh-agent implementation... 05:45:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:29 $ docker exec d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 ssh-agent 05:45:29 SSH_AUTH_SOCK=/tmp/ssh-Sz9zoJoCwhy7/agent.72 05:45:29 SSH_AGENT_PID=78 05:45:29 Running ssh-add (command line suppressed) 05:45:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-575@tmp/private_key_4108810652380761906.key (/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/private_key_4108810652380761906.key) 05:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:29 + git semver init 05:45:30 2024-10-03 05:45:30,002 [run_init] DEBUG init version:0.0.0 force:False 05:45:30 2024-10-03 05:45:30,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-575/.semver 05:45:30 2024-10-03 05:45:30,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-575/.semver 05:45:30 2024-10-03 05:45:30,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-575/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-575, universal_newlines=False, shell=None, istream=None) 05:45:31 2024-10-03 05:45:30,998 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-575/.git/info/exclude 05:45:31 2024-10-03 05:45:30,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-575/.semver/PR-575 with force:False 05:45:31 2024-10-03 05:45:30,998 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-575/.semver/PR-575 05:45:31 2024-10-03 05:45:31,003 [execute] INFO git cat-file --batch-check 05:45:31 2024-10-03 05:45:31,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 05:45:31 2024-10-03 05:45:31,009 [execute] INFO git cat-file --batch 05:45:31 2024-10-03 05:45:31,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 05:45:31 2024-10-03 05:45:31,014 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-575/.semver/PR-575 05:45:31 0.0.0 [Pipeline] } 05:45:31 $ docker exec --env ******** --env ******** d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 ssh-agent -k 05:45:31 unset SSH_AUTH_SOCK; 05:45:31 unset SSH_AGENT_PID; 05:45:31 echo Agent pid 78 killed; 05:45:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:32 + git semver [Pipeline] } 05:45:32 $ docker stop --time=1 d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 05:45:33 $ docker rm -f --volumes d9e963e9bda25e420305500ac7f74173633a72990c2fe260f45445a36886ee84 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:34 Stashed 1 file(s) [Pipeline] echo 05:45:34 [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 05:45:35 provisioning config files... 05:45:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/config8849192714147981002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:35 ---> ****-login.sh 05:45:35 nexus3.edgexfoundry.org:10001 05:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:35 Configure a credential helper to remove this warning. See 05:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:35 05:45:35 Login Succeeded 05:45:35 nexus3.edgexfoundry.org:10002 05:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:35 Configure a credential helper to remove this warning. See 05:45:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:35 05:45:35 Login Succeeded 05:45:35 nexus3.edgexfoundry.org:10003 05:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:36 Configure a credential helper to remove this warning. See 05:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:36 05:45:36 Login Succeeded 05:45:36 nexus3.edgexfoundry.org:10004 05:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:36 Configure a credential helper to remove this warning. See 05:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:36 05:45:36 Login Succeeded 05:45:36 ****.io 05:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:36 Configure a credential helper to remove this warning. See 05:45:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:36 05:45:36 Login Succeeded 05:45:36 ---> ****-login.sh ends [Pipeline] } 05:45:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:45:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:45:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:45:36 ========================================================= 05:45:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:45:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:45:37 Sending build context to Docker daemon 17.93MB 05:45:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:45:37 Step 2/10 : FROM ${BASE} AS builder 05:45:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:45:37 619be1103602: Pulling fs layer 05:45:37 7862e08f4a3e: Pulling fs layer 05:45:37 5df492c9dc93: Pulling fs layer 05:45:37 7629e6793208: Pulling fs layer 05:45:37 4f4fb700ef54: Pulling fs layer 05:45:37 7629e6793208: Waiting 05:45:37 4f4fb700ef54: Waiting 05:45:37 fb5054dd5b73: Pulling fs layer 05:45:37 eeca6798cff9: Pulling fs layer 05:45:37 aa269ceb94a6: Pulling fs layer 05:45:37 ada007ff1a6a: Pulling fs layer 05:45:37 fb5054dd5b73: Waiting 05:45:37 aa269ceb94a6: Waiting 05:45:37 ada007ff1a6a: Waiting 05:45:37 eeca6798cff9: Waiting 05:45:37 7862e08f4a3e: Download complete 05:45:37 7629e6793208: Download complete 05:45:37 4f4fb700ef54: Verifying Checksum 05:45:37 4f4fb700ef54: Download complete 05:45:37 fb5054dd5b73: Verifying Checksum 05:45:37 fb5054dd5b73: Download complete 05:45:37 619be1103602: Verifying Checksum 05:45:37 619be1103602: Download complete 05:45:37 eeca6798cff9: Verifying Checksum 05:45:37 eeca6798cff9: Download complete 05:45:37 619be1103602: Pull complete 05:45:38 7862e08f4a3e: Pull complete 05:45:38 ada007ff1a6a: Verifying Checksum 05:45:38 ada007ff1a6a: Download complete 05:45:38 5df492c9dc93: Download complete 05:45:42 5df492c9dc93: Pull complete 05:45:42 7629e6793208: Pull complete 05:45:42 4f4fb700ef54: Pull complete 05:45:42 fb5054dd5b73: Pull complete 05:45:42 eeca6798cff9: Pull complete 05:45:43 aa269ceb94a6: Verifying Checksum 05:45:43 aa269ceb94a6: Download complete 05:45:46 aa269ceb94a6: Pull complete 05:45:46 ada007ff1a6a: Pull complete 05:45:46 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:45:46 ---> f489d0715acc 05:45:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:45:47 ---> Running in 29dc37288cca 05:45:47 Removing intermediate container 29dc37288cca 05:45:47 ---> 5cfdee2148e0 05:45:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:45:47 ---> Running in 61da932a3a6b 05:45:47 Removing intermediate container 61da932a3a6b 05:45:47 ---> 49ed66f7f9a5 05:45:47 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:45:47 ---> Running in 6eb5ef68410c 05:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:45:48 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:45:48 (2/8) Installing libedit (20221030.3.1-r1) 05:45:48 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:45:48 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:45:48 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:45:48 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:45:48 (7/8) Installing openssh-server (9.3_p2-r2) 05:45:48 (8/8) Installing openssh (9.3_p2-r2) 05:45:48 Executing busybox-1.36.1-r5.trigger 05:45:48 OK: 270 MiB in 60 packages 05:45:49 Removing intermediate container 6eb5ef68410c 05:45:49 ---> b98dbeda480e 05:45:49 Step 6/10 : WORKDIR /device-modbus-go 05:45:49 ---> Running in d2829c7e4221 05:45:49 Removing intermediate container d2829c7e4221 05:45:49 ---> d4a180e19870 05:45:49 Step 7/10 : COPY go.mod vendor* ./ 05:45:49 ---> e09a2335045a 05:45:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:49 ---> Running in f8c8755c98b6 05:45:49 Still waiting to schedule task 05:45:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:46:36 Removing intermediate container f8c8755c98b6 05:46:36 ---> 98a8292d0da0 05:46:36 Step 9/10 : COPY . . 05:46:36 ---> 2cc857493e82 05:46:36 Step 10/10 : RUN ${MAKE} 05:46:36 ---> Running in b9956ec513a9 05:46:36 noop 05:46:36 Removing intermediate container b9956ec513a9 05:46:36 ---> fd27a46e73e4 05:46:36 Successfully built fd27a46e73e4 05:46:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:36 + docker inspect -f . ci-base-image-x86_64 05:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:36 prd-ubuntu20.04-docker-8c-8g-13184 does not seem to be running inside a container 05:46:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-575 -v /w/workspace/xfoundry_device-modbus-go_PR-575:/w/workspace/xfoundry_device-modbus-go_PR-575:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-575@tmp:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:46:37 $ docker top 429b5114527b270dffe4a637d82937784d1164e10f91a4dba80d6dbb8d30c303 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:37 + go version 05:46:37 go version go1.21.9 linux/amd64 [Pipeline] } 05:46:37 $ docker stop --time=1 429b5114527b270dffe4a637d82937784d1164e10f91a4dba80d6dbb8d30c303 05:46:38 $ docker rm -f --volumes 429b5114527b270dffe4a637d82937784d1164e10f91a4dba80d6dbb8d30c303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:39 + docker inspect -f . ci-base-image-x86_64 05:46:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:39 prd-ubuntu20.04-docker-8c-8g-13184 does not seem to be running inside a container 05:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-575 -v /w/workspace/xfoundry_device-modbus-go_PR-575:/w/workspace/xfoundry_device-modbus-go_PR-575:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-575@tmp:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:46:40 $ docker top a6a83eabf6dc8faead729cae5723c5ff1a487b8e539bf7671bc2df526ad60fd7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:40 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-575 [Pipeline] fileExists [Pipeline] sh 05:46:40 + make test 05:46:40 go test ./... -coverprofile=coverage.out 05:46:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:47:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:47:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 05:47:10 go vet ./... 05:47:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:15 ./bin/test-attribution-txt.sh 05:47:15 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 05:47:15 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 05:47:15 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 05:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:47:15 $ docker stop --time=1 a6a83eabf6dc8faead729cae5723c5ff1a487b8e539bf7671bc2df526ad60fd7 05:47:17 $ docker rm -f --volumes a6a83eabf6dc8faead729cae5723c5ff1a487b8e539bf7671bc2df526ad60fd7 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:47:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:19 + ls -al . 05:47:19 total 272 05:47:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 05:46 . 05:47:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:45 .. 05:47:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:45 .dockerignore 05:47:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:47 .git 05:47:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:45 .github 05:47:19 -rw-rw-r-- 1 jenkins jenkins 266 Oct 3 05:45 .gitignore 05:47:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:45 .golangci.yml 05:47:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:45 .semver 05:47:19 -rw-rw-r-- 1 jenkins jenkins 19432 Oct 3 05:45 Attribution.txt 05:47:19 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 3 05:45 CHANGELOG.md 05:47:19 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 3 05:45 Dockerfile 05:47:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:45 GOVERNANCE.md 05:47:19 -rw-rw-r-- 1 jenkins jenkins 658 Oct 3 05:45 Jenkinsfile 05:47:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:45 LICENSE 05:47:19 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 3 05:45 Makefile 05:47:19 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:45 OWNERS.md 05:47:19 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 3 05:45 README.md 05:47:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:45 VERSION 05:47:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:45 bin 05:47:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:45 cmd 05:47:19 -rw-r--r-- 1 jenkins jenkins 24601 Oct 3 05:47 coverage.out 05:47:19 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 3 05:45 go.mod 05:47:19 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 3 05:45 go.sum 05:47:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:45 internal 05:47:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:45 simulator 05:47:19 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:19 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ccca79b5f5491dca0db9cb10020e5b559a391c46 --label arch=amd64 --label version=0.0.0 . 05:47:19 Sending build context to Docker daemon 17.96MB 05:47:19 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:47:19 Step 2/23 : FROM ${BASE} AS builder 05:47:19 ---> fd27a46e73e4 05:47:19 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:47:19 ---> Running in 1087649d4249 05:47:20 Removing intermediate container 1087649d4249 05:47:20 ---> 1a75808da80b 05:47:20 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:47:20 ---> Running in ebdb3d90cd5b 05:47:20 Removing intermediate container ebdb3d90cd5b 05:47:20 ---> f166318b960f 05:47:20 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:47:20 ---> Running in c5679070fdf0 05:47:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:47:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:47:21 OK: 270 MiB in 60 packages 05:47:21 Removing intermediate container c5679070fdf0 05:47:21 ---> 060e69adf485 05:47:21 Step 6/23 : WORKDIR /device-modbus-go 05:47:21 ---> Running in 07a5be53568a 05:47:21 Removing intermediate container 07a5be53568a 05:47:21 ---> 900aff583aaa 05:47:21 Step 7/23 : COPY go.mod vendor* ./ 05:47:21 ---> 2e8257c190f7 05:47:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:21 ---> Running in 83313389574c 05:47:22 Removing intermediate container 83313389574c 05:47:22 ---> ff1dd85b6220 05:47:22 Step 9/23 : COPY . . 05:47:22 ---> 3381a6f7e9bd 05:47:22 Step 10/23 : RUN ${MAKE} 05:47:22 ---> Running in e5d5b4e943f6 05:47:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:47:49 Removing intermediate container e5d5b4e943f6 05:47:49 ---> 831feabf5503 05:47:49 Step 11/23 : FROM alpine:3.18 05:47:49 3.18: Pulling from library/alpine 05:47:49 1cc3d825d8b2: Pulling fs layer 05:47:49 1cc3d825d8b2: Verifying Checksum 05:47:49 1cc3d825d8b2: Download complete 05:47:49 1cc3d825d8b2: Pull complete 05:47:49 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 05:47:49 Status: Downloaded newer image for alpine:3.18 05:47:49 ---> 2c64cf60f6f0 05:47:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:47:49 ---> Running in 4ac8f31c1644 05:47:49 Removing intermediate container 4ac8f31c1644 05:47:49 ---> fbc7c382d1b2 05:47:49 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:47:49 ---> Running in 177d19d8d4be 05:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:47:49 (1/1) Installing dumb-init (1.2.5-r2) 05:47:49 Executing busybox-1.36.1-r7.trigger 05:47:49 OK: 7 MiB in 16 packages 05:47:49 Removing intermediate container 177d19d8d4be 05:47:49 ---> c9e65d20218a 05:47:49 Step 14/23 : RUN apk --no-cache upgrade 05:47:49 ---> Running in a776463573d0 05:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:47:50 OK: 7 MiB in 16 packages 05:47:50 Removing intermediate container a776463573d0 05:47:50 ---> d9085b3d7489 05:47:50 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:47:50 ---> ea929ddb3781 05:47:50 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:47:50 ---> 5cf8f8e13405 05:47:50 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:47:50 ---> 011b61b67ce0 05:47:50 Step 18/23 : EXPOSE 59901 05:47:50 ---> Running in ec96da044a67 05:47:51 Removing intermediate container ec96da044a67 05:47:51 ---> 61fcc00b4e18 05:47:51 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:47:51 ---> Running in c9ef2f09c316 05:47:51 Removing intermediate container c9ef2f09c316 05:47:51 ---> 2a137ee3b8d8 05:47:51 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:47:51 ---> Running in 300aeb79b6b5 05:47:51 Removing intermediate container 300aeb79b6b5 05:47:51 ---> d19d48d438b0 05:47:51 Step 21/23 : LABEL arch=amd64 05:47:51 ---> Running in 5aa171e524cb 05:47:51 Removing intermediate container 5aa171e524cb 05:47:51 ---> e1782fe39cbd 05:47:51 Step 22/23 : LABEL git_sha=ccca79b5f5491dca0db9cb10020e5b559a391c46 05:47:51 ---> Running in e1bfbe9fe975 05:47:51 Removing intermediate container e1bfbe9fe975 05:47:51 ---> efb70936b155 05:47:51 Step 23/23 : LABEL version=0.0.0 05:47:51 ---> Running in 628b83972a4a 05:47:51 Removing intermediate container 628b83972a4a 05:47:51 ---> c59eaab20aff 05:47:51 [Warning] One or more build-args [ARCH] were not consumed 05:47:51 Successfully built c59eaab20aff 05:47:51 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:52 05:47:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:52 latest: Pulling from edgex-lftools-log-publisher 05:47:52 5eb5b503b376: Pulling fs layer 05:47:52 5c69ac0246d0: Pulling fs layer 05:47:52 ec43610c2a17: Pulling fs layer 05:47:52 3a2ae6a8a46f: Pulling fs layer 05:47:52 33b1e0a273af: Pulling fs layer 05:47:52 5d3b04190fa2: Pulling fs layer 05:47:52 2f39f015ded8: Pulling fs layer 05:47:52 5d3b04190fa2: Waiting 05:47:52 3a2ae6a8a46f: Waiting 05:47:52 33b1e0a273af: Waiting 05:47:52 2f39f015ded8: Waiting 05:47:52 5c69ac0246d0: Verifying Checksum 05:47:52 5c69ac0246d0: Download complete 05:47:52 3a2ae6a8a46f: Verifying Checksum 05:47:52 3a2ae6a8a46f: Download complete 05:47:52 33b1e0a273af: Verifying Checksum 05:47:52 33b1e0a273af: Download complete 05:47:52 ec43610c2a17: Verifying Checksum 05:47:52 ec43610c2a17: Download complete 05:47:52 5d3b04190fa2: Verifying Checksum 05:47:53 5eb5b503b376: Download complete 05:47:53 2f39f015ded8: Download complete 05:47:54 5eb5b503b376: Pull complete 05:47:54 5c69ac0246d0: Pull complete 05:47:54 ec43610c2a17: Pull complete 05:47:54 3a2ae6a8a46f: Pull complete 05:47:54 33b1e0a273af: Pull complete 05:47:54 5d3b04190fa2: Pull complete 05:47:59 2f39f015ded8: Pull complete 05:47:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:59 prd-ubuntu20.04-docker-8c-8g-13184 does not seem to be running inside a container 05:47:59 $ 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/xfoundry_device-modbus-go_PR-575 -v /w/workspace/xfoundry_device-modbus-go_PR-575:/w/workspace/xfoundry_device-modbus-go_PR-575:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-575@tmp:/w/workspace/xfoundry_device-modbus-go_PR-575@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 05:48:03 $ docker top 31fa0d7898946dfe1ce2c937440fe73595bef905e819f6b232bde504931ec870 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:04 ---> job-cost.sh 05:48:04 lf-activate-venv: SKIPPING 05:48:04 INFO: No Stack... 05:48:04 INFO: Retrieving Pricing Info for: v3-standard-8 05:48:05 INFO: Archiving Costs [Pipeline] sh 05:48:05 + cat /w/workspace/xfoundry_device-modbus-go_PR-575/archives/cost.csv 05:48:05 + cut -d, -f6 [Pipeline] lock 05:48:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] 05:48:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] did not exist. Created. 05:48:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:05 + echo total: 0.2199999988079071 [Pipeline] stash 05:48:05 Stashed 1 file(s) [Pipeline] } 05:48:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:48:06 $ docker stop --time=1 31fa0d7898946dfe1ce2c937440fe73595bef905e819f6b232bde504931ec870 05:48:07 $ docker rm -f --volumes 31fa0d7898946dfe1ce2c937440fe73595bef905e819f6b232bde504931ec870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:50:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13192 in /w/workspace/xfoundry_device-modbus-go_PR-575 [Pipeline] { [Pipeline] ws 05:50:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:50:30 The recommended git tool is: git 05:50:34 using credential edgex-jenkins-ssh 05:50:34 Cloning the remote Git repository 05:50:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:50:34 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:50:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:50:35 > git --version # timeout=10 05:50:35 > git --version # 'git version 2.25.1' 05:50:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:50:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:38 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit ccca79b5f5491dca0db9cb10020e5b559a391c46 05:50:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:50:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:50:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:50:38 > git config core.sparsecheckout # timeout=10 05:50:38 > git checkout -f ccca79b5f5491dca0db9cb10020e5b559a391c46 # timeout=10 05:50:39 > git remote # timeout=10 05:50:39 Merge succeeded, producing ccca79b5f5491dca0db9cb10020e5b559a391c46 05:50:39 Checking out Revision ccca79b5f5491dca0db9cb10020e5b559a391c46 (PR-575) 05:50:39 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:50:39 > git --version # timeout=10 05:50:39 > git --version # 'git version 2.25.1' 05:50:39 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:50:39 > git config --get remote.origin.url # timeout=10 05:50:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:39 > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 05:50:39 > git rev-parse HEAD^{commit} # timeout=10 05:50:39 > git config core.sparsecheckout # timeout=10 05:50:39 > git checkout -f ccca79b5f5491dca0db9cb10020e5b559a391c46 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:50:44 % Total % Received % Xferd Average Speed Time Time Time Current 05:50:44 Dload Upload Total Spent Left Speed 05:50:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh 05:50:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:50:45 + sudo tee /etc/docker/daemon.new 05:50:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:50:45 { 05:50:45 "registry-mirrors": [ 05:50:45 "https://nexus3.edgexfoundry.org:10001" 05:50:45 ], 05:50:45 "bip": "10.250.0.254/24", 05:50:45 "hosts": [ 05:50:45 "tcp://0.0.0.0:5555", 05:50:45 "unix:///var/run/docker.sock" 05:50:45 ], 05:50:45 "mtu": 1458, 05:50:45 "selinux-enabled": true, 05:50:45 "seccomp-profile": "/etc/docker/seccomp.json" 05:50:45 } [Pipeline] sh 05:50:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:50:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:04 provisioning config files... 05:51:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12044083492148441686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:05 ---> ****-login.sh 05:51:05 nexus3.edgexfoundry.org:10001 05:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:05 Configure a credential helper to remove this warning. See 05:51:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:05 05:51:05 Login Succeeded 05:51:05 nexus3.edgexfoundry.org:10002 05:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:06 Configure a credential helper to remove this warning. See 05:51:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:06 05:51:06 Login Succeeded 05:51:06 nexus3.edgexfoundry.org:10003 05:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:06 Configure a credential helper to remove this warning. See 05:51:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:06 05:51:06 Login Succeeded 05:51:06 nexus3.edgexfoundry.org:10004 05:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:06 Configure a credential helper to remove this warning. See 05:51:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:06 05:51:06 Login Succeeded 05:51:06 ****.io 05:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:07 Configure a credential helper to remove this warning. See 05:51:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:07 05:51:07 Login Succeeded 05:51:07 ---> ****-login.sh ends [Pipeline] } 05:51:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:51:07 ========================================================= 05:51:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:51:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:51:08 Sending build context to Docker daemon 9.112MB 05:51:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:51:08 Step 2/10 : FROM ${BASE} AS builder 05:51:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:51:08 c6b39de5b339: Pulling fs layer 05:51:08 a69c41024577: Pulling fs layer 05:51:08 d6de4b400683: Pulling fs layer 05:51:08 35cb2a7552d0: Pulling fs layer 05:51:08 4f4fb700ef54: Pulling fs layer 05:51:08 464afbd9ba4c: Pulling fs layer 05:51:08 00f215d4a9da: Pulling fs layer 05:51:08 d496ad576159: Pulling fs layer 05:51:08 35cb2a7552d0: Waiting 05:51:08 4f4fb700ef54: Waiting 05:51:08 464afbd9ba4c: Waiting 05:51:08 00f215d4a9da: Waiting 05:51:08 d496ad576159: Waiting 05:51:08 a69c41024577: Verifying Checksum 05:51:08 a69c41024577: Download complete 05:51:08 35cb2a7552d0: Download complete 05:51:09 4f4fb700ef54: Verifying Checksum 05:51:09 4f4fb700ef54: Download complete 05:51:09 464afbd9ba4c: Verifying Checksum 05:51:09 464afbd9ba4c: Download complete 05:51:09 c6b39de5b339: Download complete 05:51:09 d496ad576159: Verifying Checksum 05:51:09 d496ad576159: Download complete 05:51:10 c6b39de5b339: Pull complete 05:51:11 a69c41024577: Pull complete 05:51:11 d6de4b400683: Download complete 05:51:11 00f215d4a9da: Verifying Checksum 05:51:11 00f215d4a9da: Download complete 05:51:24 d6de4b400683: Pull complete 05:51:24 35cb2a7552d0: Pull complete 05:51:24 4f4fb700ef54: Pull complete 05:51:24 464afbd9ba4c: Pull complete 05:51:32 00f215d4a9da: Pull complete 05:51:34 d496ad576159: Pull complete 05:51:34 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:51:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:51:34 ---> f246e2811388 05:51:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:51:35 ---> Running in 1e6b5d572678 05:51:35 Removing intermediate container 1e6b5d572678 05:51:35 ---> bda7cb0115ac 05:51:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:51:36 ---> Running in dfabee1f29d9 05:51:36 Removing intermediate container dfabee1f29d9 05:51:36 ---> da1433887793 05:51:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:51:36 ---> Running in 96be93baa87a 05:51:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:51:39 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:51:39 (2/8) Installing libedit (20221030.3.1-r1) 05:51:39 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:51:39 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:51:39 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:51:39 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:51:39 (7/8) Installing openssh-server (9.3_p2-r2) 05:51:39 (8/8) Installing openssh (9.3_p2-r2) 05:51:39 Executing busybox-1.36.1-r5.trigger 05:51:39 OK: 272 MiB in 60 packages 05:51:40 Removing intermediate container 96be93baa87a 05:51:40 ---> 48dda9a9a01a 05:51:40 Step 6/10 : WORKDIR /device-modbus-go 05:51:40 ---> Running in 73bf6ab32230 05:51:40 Removing intermediate container 73bf6ab32230 05:51:40 ---> 95a1022791e8 05:51:40 Step 7/10 : COPY go.mod vendor* ./ 05:51:41 ---> 587e96188cd2 05:51:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:41 ---> Running in a0359a612c70 05:53:33 Removing intermediate container a0359a612c70 05:53:33 ---> 3073062709c8 05:53:33 Step 9/10 : COPY . . 05:53:33 ---> a3b29b28ec17 05:53:33 Step 10/10 : RUN ${MAKE} 05:53:33 ---> Running in 5b9d6356ece7 05:53:33 noop 05:53:34 Removing intermediate container 5b9d6356ece7 05:53:34 ---> 0b17e910a131 05:53:34 Successfully built 0b17e910a131 05:53:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:35 + docker inspect -f . ci-base-image-arm64 05:53:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:35 prd-ubuntu20.04-docker-arm64-4c-16g-13192 does not seem to be running inside a container 05:53:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:53:36 $ docker top 7d6e74bbe3804c9a99687aeac2c91d19ab8cded9d69c81e75a00337bf7090458 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:37 + go version 05:53:37 go version go1.21.9 linux/arm64 [Pipeline] } 05:53:37 $ docker stop --time=1 7d6e74bbe3804c9a99687aeac2c91d19ab8cded9d69c81e75a00337bf7090458 05:53:39 $ docker rm -f --volumes 7d6e74bbe3804c9a99687aeac2c91d19ab8cded9d69c81e75a00337bf7090458 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:40 + docker inspect -f . ci-base-image-arm64 05:53:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:40 prd-ubuntu20.04-docker-arm64-4c-16g-13192 does not seem to be running inside a container 05:53:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:53:42 $ docker top 779ba39fecd290fa5f2929d8ec0ae61631b801f9c0c2c2b48fd5cfbb4975e531 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:53:43 + make test 05:53:43 go test ./... -coverprofile=coverage.out 05:53:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:57:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:57:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements 05:57:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:57:31 go vet ./... 05:58:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:58:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:58:18 ./bin/test-attribution-txt.sh 05:58:18 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 05:58:18 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 05:58:18 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 05:58:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:58:18 $ docker stop --time=1 779ba39fecd290fa5f2929d8ec0ae61631b801f9c0c2c2b48fd5cfbb4975e531 05:58:20 $ docker rm -f --volumes 779ba39fecd290fa5f2929d8ec0ae61631b801f9c0c2c2b48fd5cfbb4975e531 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:22 Warning: overwriting stash ‘coverage-report’ 05:58:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:23 + ls -al . 05:58:23 total 268 05:58:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:53 . 05:58:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 05:50 .. 05:58:23 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 05:50 .dockerignore 05:58:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 05:50 .git 05:58:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:50 .github 05:58:23 -rw-rw-r-- 1 jenkins jenkins 266 Oct 3 05:50 .gitignore 05:58:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 05:50 .golangci.yml 05:58:23 -rw-rw-r-- 1 jenkins jenkins 19432 Oct 3 05:50 Attribution.txt 05:58:23 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 3 05:50 CHANGELOG.md 05:58:23 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 3 05:50 Dockerfile 05:58:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 05:50 GOVERNANCE.md 05:58:23 -rw-rw-r-- 1 jenkins jenkins 658 Oct 3 05:50 Jenkinsfile 05:58:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 05:50 LICENSE 05:58:23 -rw-rw-r-- 1 jenkins jenkins 1942 Oct 3 05:50 Makefile 05:58:23 -rw-rw-r-- 1 jenkins jenkins 622 Oct 3 05:50 OWNERS.md 05:58:23 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 3 05:50 README.md 05:58:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 05:45 VERSION 05:58:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:50 bin 05:58:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:50 cmd 05:58:23 -rw-r--r-- 1 jenkins jenkins 24601 Oct 3 05:57 coverage.out 05:58:23 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 3 05:50 go.mod 05:58:23 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 3 05:50 go.sum 05:58:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 05:50 internal 05:58:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 05:50 simulator 05:58:23 -rw-rw-r-- 1 jenkins jenkins 229 Oct 3 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:24 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ccca79b5f5491dca0db9cb10020e5b559a391c46 --label arch=arm64 --label version=0.0.0 . 05:58:24 Sending build context to Docker daemon 9.137MB 05:58:24 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:58:24 Step 2/23 : FROM ${BASE} AS builder 05:58:24 ---> 0b17e910a131 05:58:24 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:58:24 ---> Running in 37ffd5cbccf5 05:58:25 Removing intermediate container 37ffd5cbccf5 05:58:25 ---> a2f062616aa1 05:58:25 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:25 ---> Running in 4974f06e7175 05:58:25 Removing intermediate container 4974f06e7175 05:58:25 ---> 5061a8b6d97e 05:58:25 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:58:25 ---> Running in e2e8f5ce3e89 05:58:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:58:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:58:28 OK: 272 MiB in 60 packages 05:58:29 Removing intermediate container e2e8f5ce3e89 05:58:29 ---> 734f5e921059 05:58:29 Step 6/23 : WORKDIR /device-modbus-go 05:58:29 ---> Running in f8054de200fd 05:58:29 Removing intermediate container f8054de200fd 05:58:29 ---> 193ed44ddd00 05:58:29 Step 7/23 : COPY go.mod vendor* ./ 05:58:29 ---> 9f9278b793cb 05:58:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:29 ---> Running in 26e17ef0d5e9 05:58:32 Removing intermediate container 26e17ef0d5e9 05:58:32 ---> a5a712d6abc7 05:58:32 Step 9/23 : COPY . . 05:58:33 ---> 005496566013 05:58:33 Step 10/23 : RUN ${MAKE} 05:58:33 ---> Running in 24b3cefffb35 05:58:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:01:57 Removing intermediate container 24b3cefffb35 06:01:57 ---> 572d8683f85b 06:01:57 Step 11/23 : FROM alpine:3.18 06:01:57 3.18: Pulling from library/alpine 06:01:57 720f3032cd11: Pulling fs layer 06:01:57 720f3032cd11: Verifying Checksum 06:01:57 720f3032cd11: Download complete 06:01:57 720f3032cd11: Pull complete 06:01:57 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 06:01:57 Status: Downloaded newer image for alpine:3.18 06:01:57 ---> 3e834921e367 06:01:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:01:57 ---> Running in a2c5c51f5ac2 06:01:57 Removing intermediate container a2c5c51f5ac2 06:01:57 ---> feb9d162797c 06:01:57 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:01:57 ---> Running in d38cf5d9febb 06:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:01:59 (1/1) Installing dumb-init (1.2.5-r2) 06:01:59 Executing busybox-1.36.1-r7.trigger 06:01:59 OK: 8 MiB in 16 packages 06:02:00 Removing intermediate container d38cf5d9febb 06:02:00 ---> a5b87cb74b99 06:02:00 Step 14/23 : RUN apk --no-cache upgrade 06:02:00 ---> Running in ad9b817b2546 06:02:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:02:02 OK: 8 MiB in 16 packages 06:02:03 Removing intermediate container ad9b817b2546 06:02:03 ---> 24f54d0d8a44 06:02:03 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:02:05 ---> 4db297660792 06:02:05 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:02:05 ---> abb92d307b01 06:02:05 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:02:06 ---> 619a0f18c195 06:02:06 Step 18/23 : EXPOSE 59901 06:02:06 ---> Running in f479958eae8b 06:02:06 Removing intermediate container f479958eae8b 06:02:06 ---> 3f042b22b7e8 06:02:06 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:02:06 ---> Running in 7fb916a771be 06:02:07 Removing intermediate container 7fb916a771be 06:02:07 ---> 93c72b51a87f 06:02:07 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:02:07 ---> Running in f0b3bc8813ca 06:02:07 Removing intermediate container f0b3bc8813ca 06:02:07 ---> 5d2d565e80a3 06:02:07 Step 21/23 : LABEL arch=arm64 06:02:07 ---> Running in 4a0b5baa73ac 06:02:07 Removing intermediate container 4a0b5baa73ac 06:02:07 ---> dec187bc824a 06:02:07 Step 22/23 : LABEL git_sha=ccca79b5f5491dca0db9cb10020e5b559a391c46 06:02:07 ---> Running in 40b971488260 06:02:07 Removing intermediate container 40b971488260 06:02:07 ---> 5338f01d6c68 06:02:07 Step 23/23 : LABEL version=0.0.0 06:02:08 ---> Running in 6dae30da5f3c 06:02:08 Removing intermediate container 6dae30da5f3c 06:02:08 ---> 450955f6579c 06:02:08 [Warning] One or more build-args [ARCH] were not consumed 06:02:08 Successfully built 450955f6579c 06:02:08 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:09 06:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:09 arm64: Pulling from edgex-lftools-log-publisher 06:02:09 8998bd30e6a1: Pulling fs layer 06:02:09 04944245beec: Pulling fs layer 06:02:09 699f458cf7ca: Pulling fs layer 06:02:09 765212b225bb: Pulling fs layer 06:02:09 f23df028b6ca: Pulling fs layer 06:02:09 d65c8cfc05b1: Pulling fs layer 06:02:09 2437ff75d9bd: Pulling fs layer 06:02:09 765212b225bb: Waiting 06:02:09 f23df028b6ca: Waiting 06:02:09 d65c8cfc05b1: Waiting 06:02:09 2437ff75d9bd: Waiting 06:02:10 04944245beec: Verifying Checksum 06:02:10 04944245beec: Download complete 06:02:10 765212b225bb: Verifying Checksum 06:02:10 765212b225bb: Download complete 06:02:10 f23df028b6ca: Verifying Checksum 06:02:10 f23df028b6ca: Download complete 06:02:10 d65c8cfc05b1: Download complete 06:02:10 699f458cf7ca: Verifying Checksum 06:02:10 699f458cf7ca: Download complete 06:02:10 8998bd30e6a1: Verifying Checksum 06:02:10 8998bd30e6a1: Download complete 06:02:13 2437ff75d9bd: Verifying Checksum 06:02:13 2437ff75d9bd: Download complete 06:02:15 8998bd30e6a1: Pull complete 06:02:15 04944245beec: Pull complete 06:02:17 699f458cf7ca: Pull complete 06:02:17 765212b225bb: Pull complete 06:02:18 f23df028b6ca: Pull complete 06:02:18 d65c8cfc05b1: Pull complete 06:02:36 2437ff75d9bd: Pull complete 06:02:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:36 prd-ubuntu20.04-docker-arm64-4c-16g-13192 does not seem to be running inside a container 06:02:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:02:39 $ docker top bbce73fbe39efe23998977288cb1555f38cb65642c2d9d66081cdf96ab0df2c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:40 ---> job-cost.sh 06:02:40 lf-activate-venv: SKIPPING 06:02:40 INFO: No Stack... 06:02:40 INFO: Retrieving Pricing Info for: v3-standard-4 06:02:41 INFO: Archiving Costs [Pipeline] sh 06:02:41 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:02:41 + cut -d, -f6 [Pipeline] lock 06:02:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] 06:02:42 Resource [jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] did not exist. Created. 06:02:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:43 /w/workspace/device-modbus-go/1@tmp/durable-7107dd3d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:43 + echo total: 0.10999999940395355 [Pipeline] stash 06:02:43 Warning: overwriting stash ‘stack-cost’ 06:02:43 Stashed 1 file(s) [Pipeline] } 06:02:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-575-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:43 $ docker stop --time=1 bbce73fbe39efe23998977288cb1555f38cb65642c2d9d66081cdf96ab0df2c9 06:02:45 $ docker rm -f --volumes bbce73fbe39efe23998977288cb1555f38cb65642c2d9d66081cdf96ab0df2c9 [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 06:02:46 provisioning config files... 06:02:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/config12922905762842996724tmp [Pipeline] { [Pipeline] sh 06:02:46 + set +x 06:02:46 + bash -s -- 06:02:46 + curl -s https://codecov.io/bash 06:02:46 06:02:46 _____ _ 06:02:46 / ____| | | 06:02:46 | | ___ __| | ___ ___ _____ __ 06:02:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:46 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:46 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:46 Bash-1.0.6 06:02:46 06:02:46 06:02:46 ==> git version 2.25.1 found 06:02:46 ==> 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 06:02:46 Release-Date: 2020-01-08 06:02:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:02:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:02:46 ==> Jenkins CI detected. 06:02:46 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-575 06:02:46 project root: . 06:02:46 --> token set from env 06:02:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:46 ==> Running gcov in . (disable via -X gcov) 06:02:46 ==> Python coveragepy not found 06:02:46 ==> Searching for coverage reports in: 06:02:46 + . 06:02:46 -> Found 1 reports 06:02:46 ==> Detecting git/mercurial file structure 06:02:47 ==> Reading reports 06:02:47 + ./coverage.out bytes=24601 06:02:47 ==> Appending adjustments 06:02:47 https://docs.codecov.io/docs/fixing-reports 06:02:47 + Found adjustments 06:02:47 ==> Gzipping contents 06:02:47 4.0K /tmp/codecov.uBKuzp.gz 06:02:47 ==> Uploading reports 06:02:47 url: https://codecov.io 06:02:47 query: branch=PR-575&commit=ccca79b5f5491dca0db9cb10020e5b559a391c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-575%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=575&job=&cmd_args= 06:02:47 -> Pinging Codecov 06:02:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-575&commit=ccca79b5f5491dca0db9cb10020e5b559a391c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-575%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=575&job=&cmd_args= 06:02:47 -> Uploading to 06:02:47 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/ccca79b5f5491dca0db9cb10020e5b559a391c46/1abf0407-babd-4c83-85bc-4317433613aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241003%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241003T060247Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=15bcfe5a9df11f4f9a244c481b0daa01653ae14f78c0f446583ecd1b463766b7 06:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:47 Dload Upload Total Spent Left Speed 06:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17628 --:--:-- --:--:-- --:--:-- 17628 06:02:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ccca79b5f5491dca0db9cb10020e5b559a391c46 [Pipeline] } 06:02:47 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:02:49 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-575/archives ] 06:02:49 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-575/archives 06:02:49 total 16 06:02:49 drwxr-xr-x 3 root root 4096 Oct 3 05:48 . 06:02:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:48 .. 06:02:49 drwxr-xr-x 2 root root 4096 Oct 3 05:48 cost 06:02:49 -rw-r--r-- 1 root root 88 Oct 3 05:48 cost.csv 06:02:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-575/archives 06:02:49 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-575/archives 06:02:49 total 16 06:02:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 05:48 . 06:02:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 05:48 .. 06:02:49 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 05:48 cost 06:02:49 -rw-r--r-- 1 jenkins jenkins 88 Oct 3 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:02:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:51 ---> package-listing.sh 06:02:51 ++ facter osfamily 06:02:51 ++ tr '[:upper:]' '[:lower:]' 06:02:51 + OS_FAMILY=debian 06:02:51 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-575 06:02:51 + START_PACKAGES=/tmp/packages_start.txt 06:02:51 + END_PACKAGES=/tmp/packages_end.txt 06:02:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:51 + PACKAGES=/tmp/packages_start.txt 06:02:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-575 ']' 06:02:51 + PACKAGES=/tmp/packages_end.txt 06:02:51 + case "${OS_FAMILY}" in 06:02:51 + dpkg -l 06:02:51 + grep '^ii' 06:02:51 + '[' -f /tmp/packages_start.txt ']' 06:02:51 + '[' -f /tmp/packages_end.txt ']' 06:02:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-575 ']' 06:02:51 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-575/archives/ 06:02:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-575/archives/ [Pipeline] echo 06:02:51 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/xfoundry_device-modbus-go_PR-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:02:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:52 prd-ubuntu20.04-docker-8c-8g-13184 does not seem to be running inside a container 06:02:52 $ 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/xfoundry_device-modbus-go_PR-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-575 -v /w/workspace/xfoundry_device-modbus-go_PR-575:/w/workspace/xfoundry_device-modbus-go_PR-575:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-575@tmp:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:52 $ docker top 01ac9a8a387ca1dc2b9a64b87cd2072ddf6340185a6760a52650c1c928f9c3b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:53 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:53 + mkdir -p /var/log/sysstat [Pipeline] sh 06:02:53 + ls /var/log/sa-host 06:02:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:53 provisioning config files... 06:02:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-575@tmp/config18433623113067507020tmp [Pipeline] { [Pipeline] echo 06:02:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:54 ---> create-netrc.sh [Pipeline] } 06:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:02:54 ---> python-tools-install.sh [Pipeline] echo 06:02:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:55 ---> sudo-logs.sh 06:02:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:55 ---> job-cost.sh 06:02:55 lf-activate-venv: SKIPPING 06:02:55 DEBUG: total: 0.2199999988079071 06:02:55 INFO: Retrieving Stack Cost... 06:02:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:56 INFO: Archiving Costs [Pipeline] echo 06:02:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:56 ---> logs-deploy.sh 06:02:56 lf-activate-venv: SKIPPING 06:02:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-575/1 06:02:56 INFO: archiving workspace using pattern(s): 06:02:57 Archives upload complete. 06:02:57 INFO: archiving logs to Nexus