Pull request #181 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 799fff6335ddee23e8aa4b6ca268c382bd41adee+607f731e4853ec4e2d85133e839d4b6333ba41f7 (929e29cfc43234603345062e492d3a8058927bea) 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-ssh4234713230009140478.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh293448248141204700.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17804291981123197369.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15840672234340733584.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-181/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-181/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10484601165197473940.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-usb-camera 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-293 in /w/workspace/foundry_device-usb-camera_PR-181 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-181 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 607f731e4853ec4e2d85133e839d4b6333ba41f7 into PR head commit 799fff6335ddee23e8aa4b6ca268c382bd41adee Merge succeeded, producing 40923bfad851e97e23cdc9cf560e32d851cb0347 Checking out Revision 40923bfad851e97e23cdc9cf560e32d851cb0347 (PR-181) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 799fff6335ddee23e8aa4b6ca268c382bd41adee # 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 607f731e4853ec4e2d85133e839d4b6333ba41f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40923bfad851e97e23cdc9cf560e32d851cb0347 # timeout=10 Commit message: "Merge commit '607f731e4853ec4e2d85133e839d4b6333ba41f7' into HEAD" > git rev-list --no-walk 799fff6335ddee23e8aa4b6ca268c382bd41adee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:05:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:05:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:05:31 ========================================================= 00:05:31 EdgeX Global Pipelines Version Info 00:05:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:05:32 ------------------- 00:05:32 stable info: 00:05:32 ------------------- 00:05:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:05:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:05:32 Message: update stable to v1.0.245 00:05:32 ------------------- 00:05:32 experimental info: 00:05:32 ------------------- 00:05:32 Commited By: **** collab-it+edgex@linuxfoundation.org 00:05:32 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 00:05:32 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40923bfad851e97e23cdc9cf560e32d851cb0347 [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40923bf [Pipeline] echo 00:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:33 provisioning config files... 00:05:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-181@tmp/config17527018194588458077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:33 ---> docker-login.sh 00:05:33 nexus3.edgexfoundry.org:10001 00:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:34 Configure a credential helper to remove this warning. See 00:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:34 00:05:34 Login Succeeded 00:05:34 nexus3.edgexfoundry.org:10002 00:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:34 Configure a credential helper to remove this warning. See 00:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:34 00:05:34 Login Succeeded 00:05:34 nexus3.edgexfoundry.org:10003 00:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:34 Configure a credential helper to remove this warning. See 00:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:34 00:05:34 Login Succeeded 00:05:34 nexus3.edgexfoundry.org:10004 00:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:34 Configure a credential helper to remove this warning. See 00:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:34 00:05:34 Login Succeeded 00:05:34 docker.io 00:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:34 Configure a credential helper to remove this warning. See 00:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:34 00:05:34 Login Succeeded 00:05:34 ---> docker-login.sh ends [Pipeline] } 00:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:05:34 + git rev-list -1 --merges 40923bfad851e97e23cdc9cf560e32d851cb0347~1..40923bfad851e97e23cdc9cf560e32d851cb0347 [Pipeline] echo 00:05:35 -----------> git rev-list -1 --merges 40923bfad851e97e23cdc9cf560e32d851cb0347~1..40923bfad851e97e23cdc9cf560e32d851cb0347 40923bfad851e97e23cdc9cf560e32d851cb0347 00:05:35 40923bfad851e97e23cdc9cf560e32d851cb0347 [false] [Pipeline] sh 00:05:35 + git log --format=format:%s -1 40923bfad851e97e23cdc9cf560e32d851cb0347 [Pipeline] echo 00:05:35 ========================================================= 00:05:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:05:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:35 + git log --format=format:%s -1 40923bfad851e97e23cdc9cf560e32d851cb0347 [Pipeline] echo 00:05:35 [semverPrep] GIT_COMMIT: 40923bfad851e97e23cdc9cf560e32d851cb0347, Commit Message: Merge commit '607f731e4853ec4e2d85133e839d4b6333ba41f7' into HEAD [Pipeline] echo 00:05:35 [semverPrep] This is not a build commit. [Pipeline] sh 00:05:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:05:36 + grep -v github /etc/ssh/ssh_known_hosts 00:05:36 + [ -e /tmp/ssh_known_hosts ] 00:05:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:05:36 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 00:05:36 -a /etc/ssh/ssh_known_hosts 00:05:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:05:36 00:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:05:36 0.1.4: Pulling from edgex-devops/py-git-semver 00:05:36 b85a868b505f: Pulling fs layer 00:05:36 e2be974225ed: Pulling fs layer 00:05:36 339a4e72a1f5: Pulling fs layer 00:05:36 988bab9f4d93: Pulling fs layer 00:05:36 1469e6f7b9e6: Pulling fs layer 00:05:36 eaf3925da568: Pulling fs layer 00:05:36 bab4dde63d76: Pulling fs layer 00:05:36 bde34c3a00c8: Pulling fs layer 00:05:36 b352a97aabf1: Pulling fs layer 00:05:36 4872d77fe225: Pulling fs layer 00:05:36 5851b861e8e6: Pulling fs layer 00:05:36 bab4dde63d76: Waiting 00:05:36 bde34c3a00c8: Waiting 00:05:36 b352a97aabf1: Waiting 00:05:36 4872d77fe225: Waiting 00:05:36 5851b861e8e6: Waiting 00:05:36 988bab9f4d93: Waiting 00:05:36 1469e6f7b9e6: Waiting 00:05:36 eaf3925da568: Waiting 00:05:36 e2be974225ed: Verifying Checksum 00:05:36 e2be974225ed: Download complete 00:05:36 988bab9f4d93: Verifying Checksum 00:05:36 988bab9f4d93: Download complete 00:05:36 1469e6f7b9e6: Verifying Checksum 00:05:36 1469e6f7b9e6: Download complete 00:05:36 339a4e72a1f5: Verifying Checksum 00:05:36 339a4e72a1f5: Download complete 00:05:36 eaf3925da568: Verifying Checksum 00:05:36 eaf3925da568: Download complete 00:05:36 bde34c3a00c8: Download complete 00:05:36 b352a97aabf1: Download complete 00:05:36 4872d77fe225: Verifying Checksum 00:05:36 4872d77fe225: Download complete 00:05:36 5851b861e8e6: Download complete 00:05:36 b85a868b505f: Verifying Checksum 00:05:36 b85a868b505f: Download complete 00:05:37 bab4dde63d76: Verifying Checksum 00:05:37 bab4dde63d76: Download complete 00:05:38 b85a868b505f: Pull complete 00:05:38 e2be974225ed: Pull complete 00:05:39 339a4e72a1f5: Pull complete 00:05:39 988bab9f4d93: Pull complete 00:05:39 1469e6f7b9e6: Pull complete 00:05:39 eaf3925da568: Pull complete 00:05:41 bab4dde63d76: Pull complete 00:05:41 bde34c3a00c8: Pull complete 00:05:41 b352a97aabf1: Pull complete 00:05:41 4872d77fe225: Pull complete 00:05:41 5851b861e8e6: Pull complete 00:05:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:05:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:41 prd-ubuntu20.04-docker-8c-8g-293 does not seem to be running inside a container 00:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-181 -v /w/workspace/foundry_device-usb-camera_PR-181:/w/workspace/foundry_device-usb-camera_PR-181:rw,z -v /w/workspace/foundry_device-usb-camera_PR-181@tmp:/w/workspace/foundry_device-usb-camera_PR-181@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-devops/py-git-semver:0.1.4 cat 00:05:43 $ docker top 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb -eo pid,comm 00:05:43 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). 00:05:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:05:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:05:43 [ssh-agent] Looking for ssh-agent implementation... 00:05:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:05:43 $ docker exec 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb ssh-agent 00:05:43 SSH_AUTH_SOCK=/tmp/ssh-jAKZPq35Glx6/agent.32 00:05:43 SSH_AGENT_PID=38 00:05:43 Running ssh-add (command line suppressed) 00:05:43 Identity added: /w/workspace/foundry_device-usb-camera_PR-181@tmp/private_key_4516847580013999528.key (/w/workspace/foundry_device-usb-camera_PR-181@tmp/private_key_4516847580013999528.key) 00:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:05:44 + git tag --points-at HEAD [Pipeline] } 00:05:44 $ docker exec --env ******** --env ******** 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb ssh-agent -k 00:05:44 unset SSH_AUTH_SOCK; 00:05:44 unset SSH_AGENT_PID; 00:05:44 echo Agent pid 38 killed; 00:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:05:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:05:44 [ssh-agent] Looking for ssh-agent implementation... 00:05:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:05:44 $ docker exec 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb ssh-agent 00:05:44 SSH_AUTH_SOCK=/tmp/ssh-suXdMGDfCEHw/agent.70 00:05:44 SSH_AGENT_PID=76 00:05:44 Running ssh-add (command line suppressed) 00:05:44 Identity added: /w/workspace/foundry_device-usb-camera_PR-181@tmp/private_key_3526039344179132344.key (/w/workspace/foundry_device-usb-camera_PR-181@tmp/private_key_3526039344179132344.key) 00:05:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:05:44 + git semver init 00:05:45 2023-03-15 00:05:45,118 [run_init] DEBUG init version:0.0.0 force:False 00:05:45 2023-03-15 00:05:45,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-181/.semver 00:05:45 2023-03-15 00:05:45,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-181/.semver 00:05:45 2023-03-15 00:05:45,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-181/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-181, universal_newlines=False, shell=None, istream=None) 00:05:46 2023-03-15 00:05:45,830 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-181/.git/info/exclude 00:05:46 2023-03-15 00:05:45,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-181/.semver/PR-181 with force:False 00:05:46 2023-03-15 00:05:45,830 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-181/.semver/PR-181 00:05:46 2023-03-15 00:05:45,835 [execute] INFO git cat-file --batch-check 00:05:46 2023-03-15 00:05:45,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-181/.semver, universal_newlines=False, shell=None, istream=) 00:05:46 2023-03-15 00:05:45,842 [execute] INFO git cat-file --batch 00:05:46 2023-03-15 00:05:45,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-181/.semver, universal_newlines=False, shell=None, istream=) 00:05:46 2023-03-15 00:05:45,846 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-181/.semver/PR-181 00:05:46 0.0.0 [Pipeline] } 00:05:46 $ docker exec --env ******** --env ******** 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb ssh-agent -k 00:05:46 unset SSH_AUTH_SOCK; 00:05:46 unset SSH_AGENT_PID; 00:05:46 echo Agent pid 76 killed; 00:05:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:05:46 + git semver [Pipeline] } 00:05:46 $ docker stop --time=1 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb 00:05:48 $ docker rm -f --volumes 0d1aa4069ff8880f03eb78d40b314ee48ab08d85d278cbaafd735d8a9fc145bb [Pipeline] // withDockerContainer [Pipeline] sh 00:05:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:05:48 Stashed 1 file(s) [Pipeline] echo 00:05:48 [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 00:05:48 provisioning config files... 00:05:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-181@tmp/config6496281010012837704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:49 ---> docker-login.sh 00:05:49 nexus3.edgexfoundry.org:10001 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 nexus3.edgexfoundry.org:10002 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 nexus3.edgexfoundry.org:10003 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 nexus3.edgexfoundry.org:10004 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 docker.io 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 ---> docker-login.sh ends [Pipeline] } 00:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:49 ========================================================= 00:05:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:05:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:05:50 Sending build context to Docker daemon 1.82MB 00:05:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:05:50 Step 2/13 : FROM ${BASE} AS builder 00:05:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:05:50 63b65145d645: Pulling fs layer 00:05:50 a2d21d5440eb: Pulling fs layer 00:05:50 935e6c44a52c: Pulling fs layer 00:05:50 94cc34f8dd06: Pulling fs layer 00:05:50 30dea6a524f1: Pulling fs layer 00:05:50 a2aff8979fd8: Pulling fs layer 00:05:50 94cc34f8dd06: Waiting 00:05:50 6808be2612f2: Pulling fs layer 00:05:50 f25807f1079a: Pulling fs layer 00:05:50 f25807f1079a: Waiting 00:05:50 a2aff8979fd8: Waiting 00:05:50 6808be2612f2: Waiting 00:05:50 a2d21d5440eb: Download complete 00:05:50 94cc34f8dd06: Verifying Checksum 00:05:50 94cc34f8dd06: Download complete 00:05:50 63b65145d645: Verifying Checksum 00:05:50 63b65145d645: Download complete 00:05:50 a2aff8979fd8: Verifying Checksum 00:05:50 a2aff8979fd8: Download complete 00:05:50 63b65145d645: Pull complete 00:05:50 a2d21d5440eb: Pull complete 00:05:50 f25807f1079a: Verifying Checksum 00:05:50 f25807f1079a: Download complete 00:05:51 935e6c44a52c: Verifying Checksum 00:05:51 935e6c44a52c: Download complete 00:05:51 6808be2612f2: Verifying Checksum 00:05:51 6808be2612f2: Download complete 00:05:54 935e6c44a52c: Pull complete 00:05:54 94cc34f8dd06: Pull complete 00:05:54 30dea6a524f1: Pull complete 00:05:54 a2aff8979fd8: Pull complete 00:05:57 6808be2612f2: Pull complete 00:05:57 f25807f1079a: Pull complete 00:05:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:05:57 ---> 3b553350e43f 00:05:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:05:59 ---> Running in ea66bb48f114 00:05:59 Removing intermediate container ea66bb48f114 00:05:59 ---> 1b543b58c942 00:05:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:05:59 ---> Running in 556cdf76de03 00:05:59 Removing intermediate container 556cdf76de03 00:05:59 ---> 5abe93cb8831 00:05:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:05:59 ---> Running in 34ff606b912d 00:05:59 Removing intermediate container 34ff606b912d 00:05:59 ---> 4766655dc93d 00:05:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:05:59 ---> Running in ef1f668179ab 00:06:00 Removing intermediate container ef1f668179ab 00:06:00 ---> 152dbc3b309e 00:06:00 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:00 ---> Running in f79399565f25 00:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:06:00 (1/14) Installing libintl (0.21.1-r1) 00:06:00 (2/14) Installing eudev-libs (3.2.11-r4) 00:06:00 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:06:00 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:06:00 (5/14) Installing v4l-utils (1.22.1-r2) 00:06:00 (6/14) Installing udev-init-scripts (35-r1) 00:06:00 (7/14) Installing libblkid (2.38.1-r1) 00:06:00 (8/14) Installing xz-libs (5.2.9-r0) 00:06:00 (9/14) Installing zstd-libs (1.5.2-r9) 00:06:00 (10/14) Installing kmod-libs (30-r1) 00:06:00 (11/14) Installing eudev (3.2.11-r4) 00:06:01 (12/14) Installing eudev-dev (3.2.11-r4) 00:06:01 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:06:01 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:06:01 Executing busybox-1.35.0-r29.trigger 00:06:01 Executing eudev-3.2.11-r4.trigger 00:06:01 OK: 272 MiB in 67 packages 00:06:01 Removing intermediate container f79399565f25 00:06:01 ---> bb8e2f7fa962 00:06:01 Step 8/13 : WORKDIR /device-usb-camera 00:06:01 ---> Running in 1e738bf1e3dc 00:06:01 Removing intermediate container 1e738bf1e3dc 00:06:01 ---> 3b7b52111f4c 00:06:01 Step 9/13 : COPY go.mod vendor* ./ 00:06:01 ---> f374d0a1f0f7 00:06:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:01 ---> Running in 8e5843d8ab4b 00:06:03 Still waiting to schedule task 00:06:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-290’ 00:06:23 Removing intermediate container 8e5843d8ab4b 00:06:23 ---> 2d290f32cdfb 00:06:23 Step 11/13 : COPY . . 00:06:23 ---> bb95eeb5395b 00:06:23 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:06:23 ---> Running in 9c05e1d9c31e 00:06:23  % Total % Received % Xferd Average Speed Time Time Time Current 00:06:23 Dload  Upload Total Spent Left Speed 00:06:23 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11948 0 --:--:-- --:--:-- --:--:-- 12068 00:06:23 Removing intermediate container 9c05e1d9c31e 00:06:23 ---> db9a715b7562 00:06:23 Step 13/13 : RUN ${MAKE} 00:06:23 ---> Running in e5c07944858b 00:06:23 noop 00:06:23 Removing intermediate container e5c07944858b 00:06:23 ---> 22de9c7d70ff 00:06:23 Successfully built 22de9c7d70ff 00:06:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:24 + docker inspect -f . ci-base-image-x86_64 00:06:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:24 prd-ubuntu20.04-docker-8c-8g-293 does not seem to be running inside a container 00:06:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-181 -v /w/workspace/foundry_device-usb-camera_PR-181:/w/workspace/foundry_device-usb-camera_PR-181:rw,z -v /w/workspace/foundry_device-usb-camera_PR-181@tmp:/w/workspace/foundry_device-usb-camera_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:06:24 $ docker top ec198f41a94faad73e68ec2000ec536508f9f9a7e80522520cecf6029342c1d2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:25 + go version 00:06:25 go version go1.20.2 linux/amd64 [Pipeline] } 00:06:25 $ docker stop --time=1 ec198f41a94faad73e68ec2000ec536508f9f9a7e80522520cecf6029342c1d2 00:06:26 $ docker rm -f --volumes ec198f41a94faad73e68ec2000ec536508f9f9a7e80522520cecf6029342c1d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:26 + docker inspect -f . ci-base-image-x86_64 00:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:26 prd-ubuntu20.04-docker-8c-8g-293 does not seem to be running inside a container 00:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-181 -v /w/workspace/foundry_device-usb-camera_PR-181:/w/workspace/foundry_device-usb-camera_PR-181:rw,z -v /w/workspace/foundry_device-usb-camera_PR-181@tmp:/w/workspace/foundry_device-usb-camera_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:06:27 $ docker top 3d913d8155392580b9e4084af3f7026f6875a8f91a5589a70157dba07debdbaa -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:27 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-181 [Pipeline] fileExists [Pipeline] sh 00:06:27 + make test 00:06:27 go test ./... -coverprofile=coverage.out ./... 00:06:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:06:43 # github.com/edgexfoundry/device-usb-camera/internal/driver 00:06:43 internal/driver/driver.go:37:25: undefined: service.DeviceService 00:06:43 internal/driver/driver.go:77:17: undefined: service.RunningService 00:06:43 internal/driver/driver.go:86:36: undefined: service.DriverConfigs 00:06:43 internal/driver/driver.go:94:26: undefined: service.DriverConfigs 00:06:43 internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion 00:06:43 internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion 00:06:43 internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len 00:06:43 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 00:06:43 FAIL 00:06:43 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 00:06:43 $ docker stop --time=1 3d913d8155392580b9e4084af3f7026f6875a8f91a5589a70157dba07debdbaa 00:06:45 $ docker rm -f --volumes 3d913d8155392580b9e4084af3f7026f6875a8f91a5589a70157dba07debdbaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:45 00:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:46 latest: Pulling from edgex-lftools-log-publisher 00:06:46 5eb5b503b376: Pulling fs layer 00:06:46 5c69ac0246d0: Pulling fs layer 00:06:46 ec43610c2a17: Pulling fs layer 00:06:46 3a2ae6a8a46f: Pulling fs layer 00:06:46 33b1e0a273af: Pulling fs layer 00:06:46 5d3b04190fa2: Pulling fs layer 00:06:46 2f39f015ded8: Pulling fs layer 00:06:46 3a2ae6a8a46f: Waiting 00:06:46 33b1e0a273af: Waiting 00:06:46 5d3b04190fa2: Waiting 00:06:46 2f39f015ded8: Waiting 00:06:46 5c69ac0246d0: Verifying Checksum 00:06:46 5c69ac0246d0: Download complete 00:06:46 3a2ae6a8a46f: Verifying Checksum 00:06:46 3a2ae6a8a46f: Download complete 00:06:46 33b1e0a273af: Verifying Checksum 00:06:46 33b1e0a273af: Download complete 00:06:46 ec43610c2a17: Verifying Checksum 00:06:46 ec43610c2a17: Download complete 00:06:46 5d3b04190fa2: Verifying Checksum 00:06:46 5eb5b503b376: Verifying Checksum 00:06:46 5eb5b503b376: Download complete 00:06:46 2f39f015ded8: Download complete 00:06:47 5eb5b503b376: Pull complete 00:06:47 5c69ac0246d0: Pull complete 00:06:48 ec43610c2a17: Pull complete 00:06:48 3a2ae6a8a46f: Pull complete 00:06:48 33b1e0a273af: Pull complete 00:06:48 5d3b04190fa2: Pull complete 00:06:52 2f39f015ded8: Pull complete 00:06:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:06:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:52 prd-ubuntu20.04-docker-8c-8g-293 does not seem to be running inside a container 00:06:52 $ 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/foundry_device-usb-camera_PR-181 -v /w/workspace/foundry_device-usb-camera_PR-181:/w/workspace/foundry_device-usb-camera_PR-181:rw,z -v /w/workspace/foundry_device-usb-camera_PR-181@tmp:/w/workspace/foundry_device-usb-camera_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:06:54 $ docker top 7ecb18bad7b076f9da38a420e392e6cbce649d2411bc6aa613af9a3d76eeeb86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:55 ---> job-cost.sh 00:06:55 lf-activate-venv: SKIPPING 00:06:55 INFO: No Stack... 00:06:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:06:55 INFO: Archiving Costs [Pipeline] sh 00:06:56 + cat /w/workspace/foundry_device-usb-camera_PR-181/archives/cost.csv 00:06:56 + cut -d, -f6 [Pipeline] lock 00:06:56 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] 00:06:56 Resource [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] did not exist. Created. 00:06:56 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:56 + echo total: 0.2199999988079071 [Pipeline] stash 00:06:56 Stashed 1 file(s) [Pipeline] } 00:06:56 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:56 $ docker stop --time=1 7ecb18bad7b076f9da38a420e392e6cbce649d2411bc6aa613af9a3d76eeeb86 00:06:57 $ docker rm -f --volumes 7ecb18bad7b076f9da38a420e392e6cbce649d2411bc6aa613af9a3d76eeeb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:06:57 Failed in branch amd64 00:08:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-295 in /w/workspace/foundry_device-usb-camera_PR-181 [Pipeline] { [Pipeline] ws 00:08:44 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:08:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:46 Dload Upload Total Spent Left Speed 00:08:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 00:08:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:08:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:08:47 + sudo tee /etc/docker/daemon.new 00:08:47 { 00:08:47 "registry-mirrors": [ 00:08:47 "https://nexus3.edgexfoundry.org:10001" 00:08:47 ], 00:08:47 "bip": "10.250.0.254/24", 00:08:47 "hosts": [ 00:08:47 "tcp://0.0.0.0:5555", 00:08:47 "unix:///var/run/docker.sock" 00:08:47 ], 00:08:47 "mtu": 1458, 00:08:47 "selinux-enabled": true, 00:08:47 "seccomp-profile": "/etc/docker/seccomp.json" 00:08:47 } [Pipeline] sh 00:08:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:08:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:06 provisioning config files... 00:09:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config2301478422688001808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:06 ---> docker-login.sh 00:09:06 nexus3.edgexfoundry.org:10001 00:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:07 Configure a credential helper to remove this warning. See 00:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:07 00:09:07 Login Succeeded 00:09:07 nexus3.edgexfoundry.org:10002 00:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:07 Configure a credential helper to remove this warning. See 00:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:07 00:09:07 Login Succeeded 00:09:07 nexus3.edgexfoundry.org:10003 00:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:08 Configure a credential helper to remove this warning. See 00:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:08 00:09:08 Login Succeeded 00:09:08 nexus3.edgexfoundry.org:10004 00:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:08 Configure a credential helper to remove this warning. See 00:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:08 00:09:08 Login Succeeded 00:09:08 docker.io 00:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:09 Configure a credential helper to remove this warning. See 00:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:09 00:09:09 Login Succeeded 00:09:09 ---> docker-login.sh ends [Pipeline] } 00:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:09:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:09 ========================================================= 00:09:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:09:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:09:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:09:10 af6eaf76a39c: Pulling fs layer 00:09:10 55522c791124: Pulling fs layer 00:09:10 ce5c4a1c91eb: Pulling fs layer 00:09:10 169dfbe0d373: Pulling fs layer 00:09:10 e1ff8fa3b103: Pulling fs layer 00:09:10 52ebb69f0ebf: Pulling fs layer 00:09:10 5abe8eddf0d5: Pulling fs layer 00:09:10 169dfbe0d373: Waiting 00:09:10 e1ff8fa3b103: Waiting 00:09:10 52ebb69f0ebf: Waiting 00:09:10 5abe8eddf0d5: Waiting 00:09:10 55522c791124: Verifying Checksum 00:09:10 55522c791124: Download complete 00:09:10 169dfbe0d373: Download complete 00:09:10 e1ff8fa3b103: Verifying Checksum 00:09:10 e1ff8fa3b103: Download complete 00:09:10 af6eaf76a39c: Verifying Checksum 00:09:11 af6eaf76a39c: Pull complete 00:09:11 5abe8eddf0d5: Verifying Checksum 00:09:11 5abe8eddf0d5: Download complete 00:09:11 55522c791124: Pull complete 00:09:13 52ebb69f0ebf: Verifying Checksum 00:09:13 52ebb69f0ebf: Download complete 00:09:13 ce5c4a1c91eb: Verifying Checksum 00:09:13 ce5c4a1c91eb: Download complete 00:09:25 ce5c4a1c91eb: Pull complete 00:09:25 169dfbe0d373: Pull complete 00:09:25 e1ff8fa3b103: Pull complete 00:09:31 52ebb69f0ebf: Pull complete 00:09:35 5abe8eddf0d5: Pull complete 00:09:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:09:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 00:09:35 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:36 + docker inspect -f . ci-base-image-arm64 00:09:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:36 prd-ubuntu20.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 00:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:09:39 $ docker top 2451432e5994316ba4ed55baa4944976e32c72ed04e4262c55cde22cdc064573 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:40 + go version 00:09:40 go version go1.20.2 linux/arm64 [Pipeline] } 00:09:40 $ docker stop --time=1 2451432e5994316ba4ed55baa4944976e32c72ed04e4262c55cde22cdc064573 00:09:42 $ docker rm -f --volumes 2451432e5994316ba4ed55baa4944976e32c72ed04e4262c55cde22cdc064573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:42 + docker inspect -f . ci-base-image-arm64 00:09:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:43 prd-ubuntu20.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 00:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:09:44 $ docker top f8bfab47c0f2b8d6e7af39789698235429ed84f2af3955b4fef2cd4fc0344a9d -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:44 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 00:09:45 + make test 00:09:45 make: *** No rule to make target 'test'. Stop. [Pipeline] } 00:09:45 $ docker stop --time=1 f8bfab47c0f2b8d6e7af39789698235429ed84f2af3955b4fef2cd4fc0344a9d 00:09:49 $ docker rm -f --volumes f8bfab47c0f2b8d6e7af39789698235429ed84f2af3955b4fef2cd4fc0344a9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:50 00:09:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:51 arm64: Pulling from edgex-lftools-log-publisher 00:09:51 8998bd30e6a1: Pulling fs layer 00:09:51 04944245beec: Pulling fs layer 00:09:51 699f458cf7ca: Pulling fs layer 00:09:51 765212b225bb: Pulling fs layer 00:09:51 f23df028b6ca: Pulling fs layer 00:09:51 d65c8cfc05b1: Pulling fs layer 00:09:51 2437ff75d9bd: Pulling fs layer 00:09:51 765212b225bb: Waiting 00:09:51 f23df028b6ca: Waiting 00:09:51 d65c8cfc05b1: Waiting 00:09:51 2437ff75d9bd: Waiting 00:09:51 04944245beec: Verifying Checksum 00:09:51 04944245beec: Download complete 00:09:51 765212b225bb: Verifying Checksum 00:09:51 765212b225bb: Download complete 00:09:51 f23df028b6ca: Verifying Checksum 00:09:51 f23df028b6ca: Download complete 00:09:51 d65c8cfc05b1: Verifying Checksum 00:09:51 d65c8cfc05b1: Download complete 00:09:51 699f458cf7ca: Verifying Checksum 00:09:51 699f458cf7ca: Download complete 00:09:51 8998bd30e6a1: Verifying Checksum 00:09:51 8998bd30e6a1: Download complete 00:09:54 2437ff75d9bd: Verifying Checksum 00:09:54 2437ff75d9bd: Download complete 00:09:55 8998bd30e6a1: Pull complete 00:09:56 04944245beec: Pull complete 00:09:57 699f458cf7ca: Pull complete 00:09:58 765212b225bb: Pull complete 00:09:59 f23df028b6ca: Pull complete 00:09:59 d65c8cfc05b1: Pull complete 00:10:17 2437ff75d9bd: Pull complete 00:10:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:17 prd-ubuntu20.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 00:10:17 $ 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-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:10:20 $ docker top cb47027eb4fd7eabe4a637781366a74c06284e71b90107414a1144dbad669cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:20 ---> job-cost.sh 00:10:20 lf-activate-venv: SKIPPING 00:10:20 INFO: No Stack... 00:10:21 INFO: Retrieving Pricing Info for: v3-standard-4 00:10:22 INFO: Archiving Costs [Pipeline] sh 00:10:22 + cut -d, -f6 00:10:22 + cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock 00:10:22 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] 00:10:22 Resource [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] did not exist. Created. 00:10:22 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:22 /w/workspace/device-usb-camera/2@tmp/durable-075f2d2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:10:23 + echo total: 0.10999999940395355 [Pipeline] stash 00:10:23 Warning: overwriting stash ‘stack-cost’ 00:10:23 Stashed 1 file(s) [Pipeline] } 00:10:23 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-181-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:23 $ docker stop --time=1 cb47027eb4fd7eabe4a637781366a74c06284e71b90107414a1144dbad669cbd 00:10:25 $ docker rm -f --volumes cb47027eb4fd7eabe4a637781366a74c06284e71b90107414a1144dbad669cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:10:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:10:26 + [ -d /w/workspace/foundry_device-usb-camera_PR-181/archives ] 00:10:26 + ls -al /w/workspace/foundry_device-usb-camera_PR-181/archives 00:10:26 total 16 00:10:26 drwxr-xr-x 3 root root 4096 Mar 15 00:06 . 00:10:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 00:06 .. 00:10:26 drwxr-xr-x 2 root root 4096 Mar 15 00:06 cost 00:10:26 -rw-r--r-- 1 root root 89 Mar 15 00:06 cost.csv 00:10:26 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-181/archives 00:10:26 + ls -al /w/workspace/foundry_device-usb-camera_PR-181/archives 00:10:26 total 16 00:10:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 00:06 . 00:10:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 00:06 .. 00:10:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 00:06 cost 00:10:26 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 00:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:10:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:27 ---> package-listing.sh 00:10:27 ++ facter osfamily 00:10:27 ++ tr '[:upper:]' '[:lower:]' 00:10:27 + OS_FAMILY=debian 00:10:27 + workspace=/w/workspace/foundry_device-usb-camera_PR-181 00:10:27 + START_PACKAGES=/tmp/packages_start.txt 00:10:27 + END_PACKAGES=/tmp/packages_end.txt 00:10:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:27 + PACKAGES=/tmp/packages_start.txt 00:10:27 + '[' /w/workspace/foundry_device-usb-camera_PR-181 ']' 00:10:27 + PACKAGES=/tmp/packages_end.txt 00:10:27 + case "${OS_FAMILY}" in 00:10:27 + dpkg -l 00:10:27 + grep '^ii' 00:10:27 + '[' -f /tmp/packages_start.txt ']' 00:10:27 + '[' -f /tmp/packages_end.txt ']' 00:10:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:27 + '[' /w/workspace/foundry_device-usb-camera_PR-181 ']' 00:10:27 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-181/archives/ 00:10:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-181/archives/ [Pipeline] echo 00:10:27 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/foundry_device-usb-camera_PR-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:10:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:28 prd-ubuntu20.04-docker-8c-8g-293 does not seem to be running inside a container 00:10:28 $ 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/foundry_device-usb-camera_PR-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-181 -v /w/workspace/foundry_device-usb-camera_PR-181:/w/workspace/foundry_device-usb-camera_PR-181:rw,z -v /w/workspace/foundry_device-usb-camera_PR-181@tmp:/w/workspace/foundry_device-usb-camera_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:10:28 $ docker top 27331e96902c31c2402b5d06c64b34f368ab25e6fe2c78d69c6ffcecb368ecee -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:29 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:29 + mkdir -p /var/log/sysstat [Pipeline] sh 00:10:29 + ls /var/log/sa-host 00:10:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:29 provisioning config files... 00:10:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-181@tmp/config12774760200164343610tmp [Pipeline] { [Pipeline] echo 00:10:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:30 ---> create-netrc.sh [Pipeline] } 00:10:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:10:30 ---> python-tools-install.sh [Pipeline] echo 00:10:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:30 ---> sudo-logs.sh 00:10:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:10:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:30 ---> job-cost.sh 00:10:30 lf-activate-venv: SKIPPING 00:10:30 DEBUG: total: 0.2199999988079071 00:10:30 INFO: Retrieving Stack Cost... 00:10:31 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:31 INFO: Archiving Costs [Pipeline] echo 00:10:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:31 ---> logs-deploy.sh 00:10:31 lf-activate-venv: SKIPPING 00:10:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-181/2 00:10:31 INFO: archiving workspace using pattern(s): 00:10:32 Archives upload complete. 00:10:32 INFO: archiving logs to Nexus