Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 4f0060f0a01e6b631d5ad01a980021319d7b9523 rather than 77766c9552d453fc5bff9a299e2f164ce510bb0b Obtained Jenkinsfile from 4f0060f0a01e6b631d5ad01a980021319d7b9523 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-ssh17000563026614291733.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14128570331620282756.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9262067645069656460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15708098575975645735.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18095188905507489768.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 Running on prd-ubuntu20.04-docker-8c-8g-19081 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # 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 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 77766c9552d453fc5bff9a299e2f164ce510bb0b > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 77766c9552d453fc5bff9a299e2f164ce510bb0b Checking out Revision 77766c9552d453fc5bff9a299e2f164ce510bb0b (PR-262) > git config core.sparsecheckout # timeout=10 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # 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 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 Commit message: "refactor: change discovery method" > git rev-list --no-walk 899c55771311b7caba513385a230d5cb06d0e07c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:12 ========================================================= 20:39:12 EdgeX Global Pipelines Version Info 20:39:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:13 ------------------- 20:39:13 stable info: 20:39:13 ------------------- 20:39:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:39:13 Message: update stable to v1.0.250 20:39:13 ------------------- 20:39:13 experimental info: 20:39:13 ------------------- 20:39:13 Commited By: **** collab-it+edgex@linuxfoundation.org 20:39:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:39:13 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77766c9 [Pipeline] echo 20:39:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:14 provisioning config files... 20:39:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config12720602945703916793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:14 ---> docker-login.sh 20:39:14 nexus3.edgexfoundry.org:10001 20:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:15 Configure a credential helper to remove this warning. See 20:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:15 20:39:15 Login Succeeded 20:39:15 nexus3.edgexfoundry.org:10002 20:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:15 Configure a credential helper to remove this warning. See 20:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:15 20:39:15 Login Succeeded 20:39:15 nexus3.edgexfoundry.org:10003 20:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:15 Configure a credential helper to remove this warning. See 20:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:15 20:39:15 Login Succeeded 20:39:15 nexus3.edgexfoundry.org:10004 20:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:15 Configure a credential helper to remove this warning. See 20:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:15 20:39:15 Login Succeeded 20:39:15 docker.io 20:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:15 Configure a credential helper to remove this warning. See 20:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:15 20:39:15 Login Succeeded 20:39:15 ---> docker-login.sh ends [Pipeline] } 20:39:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:16 + git rev-list -1 --merges 77766c9552d453fc5bff9a299e2f164ce510bb0b~1..77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo 20:39:16 -----------> git rev-list -1 --merges 77766c9552d453fc5bff9a299e2f164ce510bb0b~1..77766c9552d453fc5bff9a299e2f164ce510bb0b 77766c9552d453fc5bff9a299e2f164ce510bb0b [false] [Pipeline] sh 20:39:16 + git log --format=format:%s -1 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo 20:39:16 ========================================================= 20:39:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:16 + git log --format=format:%s -1 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo 20:39:16 [semverPrep] GIT_COMMIT: 77766c9552d453fc5bff9a299e2f164ce510bb0b, Commit Message: refactor: change discovery method [Pipeline] echo 20:39:16 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:17 + grep -v github /etc/ssh/ssh_known_hosts 20:39:17 + [ -e /tmp/ssh_known_hosts ] 20:39:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:17 20:39:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:18 b85a868b505f: Pulling fs layer 20:39:18 e2be974225ed: Pulling fs layer 20:39:18 339a4e72a1f5: Pulling fs layer 20:39:18 988bab9f4d93: Pulling fs layer 20:39:18 1469e6f7b9e6: Pulling fs layer 20:39:18 eaf3925da568: Pulling fs layer 20:39:18 bab4dde63d76: Pulling fs layer 20:39:18 bde34c3a00c8: Pulling fs layer 20:39:18 b352a97aabf1: Pulling fs layer 20:39:18 4872d77fe225: Pulling fs layer 20:39:18 5851b861e8e6: Pulling fs layer 20:39:18 1469e6f7b9e6: Waiting 20:39:18 eaf3925da568: Waiting 20:39:18 bab4dde63d76: Waiting 20:39:18 b352a97aabf1: Waiting 20:39:18 5851b861e8e6: Waiting 20:39:18 988bab9f4d93: Waiting 20:39:18 bde34c3a00c8: Waiting 20:39:18 4872d77fe225: Waiting 20:39:18 e2be974225ed: Verifying Checksum 20:39:18 e2be974225ed: Download complete 20:39:18 988bab9f4d93: Download complete 20:39:18 1469e6f7b9e6: Verifying Checksum 20:39:18 1469e6f7b9e6: Download complete 20:39:18 339a4e72a1f5: Verifying Checksum 20:39:18 339a4e72a1f5: Download complete 20:39:18 eaf3925da568: Verifying Checksum 20:39:18 eaf3925da568: Download complete 20:39:18 bde34c3a00c8: Verifying Checksum 20:39:18 bde34c3a00c8: Download complete 20:39:18 b352a97aabf1: Download complete 20:39:18 4872d77fe225: Verifying Checksum 20:39:18 4872d77fe225: Download complete 20:39:18 5851b861e8e6: Verifying Checksum 20:39:18 5851b861e8e6: Download complete 20:39:18 b85a868b505f: Download complete 20:39:18 bab4dde63d76: Download complete 20:39:19 b85a868b505f: Pull complete 20:39:19 e2be974225ed: Pull complete 20:39:20 339a4e72a1f5: Pull complete 20:39:20 988bab9f4d93: Pull complete 20:39:20 1469e6f7b9e6: Pull complete 20:39:21 eaf3925da568: Pull complete 20:39:22 bab4dde63d76: Pull complete 20:39:22 bde34c3a00c8: Pull complete 20:39:22 b352a97aabf1: Pull complete 20:39:22 4872d77fe225: Pull complete 20:39:22 5851b861e8e6: Pull complete 20:39:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:23 prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container 20:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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-devops/py-git-semver:0.1.4 cat 20:39:25 $ docker top 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 -eo pid,comm 20:39:25 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). 20:39:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:25 [ssh-agent] Looking for ssh-agent implementation... 20:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:25 $ docker exec 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent 20:39:25 SSH_AUTH_SOCK=/tmp/ssh-T8eAGCl7J5KT/agent.32 20:39:25 SSH_AGENT_PID=38 20:39:25 Running ssh-add (command line suppressed) 20:39:25 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_16136493699178639596.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_16136493699178639596.key) 20:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:26 + git tag --points-at HEAD [Pipeline] } 20:39:26 $ docker exec --env ******** --env ******** 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent -k 20:39:26 unset SSH_AUTH_SOCK; 20:39:26 unset SSH_AGENT_PID; 20:39:26 echo Agent pid 38 killed; 20:39:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:39:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:26 [ssh-agent] Looking for ssh-agent implementation... 20:39:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:26 $ docker exec 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent 20:39:26 SSH_AUTH_SOCK=/tmp/ssh-m78cqn4MjZHb/agent.70 20:39:26 SSH_AGENT_PID=76 20:39:26 Running ssh-add (command line suppressed) 20:39:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_69238202611943402.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_69238202611943402.key) 20:39:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:26 + git semver init 20:39:27 2023-06-22 20:39:27,130 [run_init] DEBUG init version:0.0.0 force:False 20:39:27 2023-06-22 20:39:27,130 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver 20:39:27 2023-06-22 20:39:27,131 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver 20:39:27 2023-06-22 20:39:27,131 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) 20:39:28 2023-06-22 20:39:27,818 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude 20:39:28 2023-06-22 20:39:27,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False 20:39:28 2023-06-22 20:39:27,818 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:39:28 2023-06-22 20:39:27,822 [execute] INFO git cat-file --batch-check 20:39:28 2023-06-22 20:39:27,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:39:28 2023-06-22 20:39:27,828 [execute] INFO git cat-file --batch 20:39:28 2023-06-22 20:39:27,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:39:28 2023-06-22 20:39:27,834 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:39:28 0.0.0 [Pipeline] } 20:39:28 $ docker exec --env ******** --env ******** 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent -k 20:39:28 unset SSH_AUTH_SOCK; 20:39:28 unset SSH_AGENT_PID; 20:39:28 echo Agent pid 76 killed; 20:39:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:28 + git semver [Pipeline] } 20:39:28 $ docker stop --time=1 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 20:39:30 $ docker rm -f --volumes 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:30 Stashed 1 file(s) [Pipeline] echo 20:39:30 [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 20:39:30 provisioning config files... 20:39:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config1152135508234586026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:31 ---> docker-login.sh 20:39:31 nexus3.edgexfoundry.org:10001 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10002 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10003 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10004 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 docker.io 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 ---> docker-login.sh ends [Pipeline] } 20:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:31 ========================================================= 20:39:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:39:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:32 + 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 . 20:39:32 Sending build context to Docker daemon 2.13MB 20:39:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:39:32 Step 2/13 : FROM ${BASE} AS builder 20:39:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:32 f56be85fc22e: Pulling fs layer 20:39:32 85791d961cd3: Pulling fs layer 20:39:32 d694b5ae8c79: Pulling fs layer 20:39:32 9f32a84ed3da: Pulling fs layer 20:39:32 4d19c01a9841: Pulling fs layer 20:39:32 9325e15d5711: Pulling fs layer 20:39:32 556b6ee489ea: Pulling fs layer 20:39:32 c5a4b2cf53e6: Pulling fs layer 20:39:32 9f32a84ed3da: Waiting 20:39:32 4d19c01a9841: Waiting 20:39:32 9325e15d5711: Waiting 20:39:32 556b6ee489ea: Waiting 20:39:32 c5a4b2cf53e6: Waiting 20:39:32 85791d961cd3: Download complete 20:39:32 9f32a84ed3da: Verifying Checksum 20:39:32 9f32a84ed3da: Download complete 20:39:32 4d19c01a9841: Verifying Checksum 20:39:32 4d19c01a9841: Download complete 20:39:32 f56be85fc22e: Verifying Checksum 20:39:32 f56be85fc22e: Download complete 20:39:32 9325e15d5711: Verifying Checksum 20:39:32 9325e15d5711: Download complete 20:39:32 f56be85fc22e: Pull complete 20:39:32 85791d961cd3: Pull complete 20:39:32 c5a4b2cf53e6: Verifying Checksum 20:39:32 c5a4b2cf53e6: Download complete 20:39:33 d694b5ae8c79: Verifying Checksum 20:39:33 d694b5ae8c79: Download complete 20:39:33 556b6ee489ea: Verifying Checksum 20:39:33 556b6ee489ea: Download complete 20:39:36 d694b5ae8c79: Pull complete 20:39:36 9f32a84ed3da: Pull complete 20:39:36 4d19c01a9841: Pull complete 20:39:36 9325e15d5711: Pull complete 20:39:39 556b6ee489ea: Pull complete 20:39:40 c5a4b2cf53e6: Pull complete 20:39:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:39:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:39:40 ---> c4be618373d6 20:39:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:39:43 ---> Running in 99444de0a6ae 20:39:43 Removing intermediate container 99444de0a6ae 20:39:43 ---> 414ea82f11a2 20:39:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:43 ---> Running in f9a892ae405f 20:39:43 Removing intermediate container f9a892ae405f 20:39:43 ---> 52ee20d5d9de 20:39:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:39:43 ---> Running in 19d6dfd238e7 20:39:44 Removing intermediate container 19d6dfd238e7 20:39:44 ---> 7d41a06cdbf9 20:39:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:39:44 ---> Running in 514355a9d738 20:39:44 Removing intermediate container 514355a9d738 20:39:44 ---> 7b78d6e9a826 20:39:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:44 ---> Running in 235f5a0aabb1 20:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:44 (1/14) Installing libintl (0.21.1-r1) 20:39:44 (2/14) Installing eudev-libs (3.2.11-r4) 20:39:44 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:39:44 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:39:44 (5/14) Installing v4l-utils (1.22.1-r2) 20:39:45 (6/14) Installing udev-init-scripts (35-r1) 20:39:45 (7/14) Installing libblkid (2.38.1-r1) 20:39:45 (8/14) Installing xz-libs (5.2.9-r0) 20:39:45 (9/14) Installing zstd-libs (1.5.5-r0) 20:39:45 (10/14) Installing kmod-libs (30-r1) 20:39:45 (11/14) Installing eudev (3.2.11-r4) 20:39:45 (12/14) Installing eudev-dev (3.2.11-r4) 20:39:45 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:39:45 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:39:45 Executing busybox-1.35.0-r29.trigger 20:39:45 Executing eudev-3.2.11-r4.trigger 20:39:45 OK: 272 MiB in 67 packages 20:39:45 Removing intermediate container 235f5a0aabb1 20:39:45 ---> f590f0071828 20:39:45 Step 8/13 : WORKDIR /device-usb-camera 20:39:45 ---> Running in 14c4fa9a073d 20:39:45 Removing intermediate container 14c4fa9a073d 20:39:45 ---> 9f5f84a3041f 20:39:45 Step 9/13 : COPY go.mod vendor* ./ 20:39:45 Still waiting to schedule task 20:39:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:39:45 ---> 670bb9a581ca 20:39:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:45 ---> Running in 12cfcb1c47c0 20:40:12 Removing intermediate container 12cfcb1c47c0 20:40:12 ---> 45be03274a8d 20:40:12 Step 11/13 : COPY . . 20:40:12 ---> eeeb4fcb9fac 20:40:12 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:40:12 ---> Running in 0457a3912142 20:40:12  % Total % Received % Xferd Average Speed Time Time Time Current 20:40:12  Dload Upload Total Spent  Left Speed 20:40:12 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 7184 0 --:--:-- --:--:-- --:--:-- 7224 20:40:12 Removing intermediate container 0457a3912142 20:40:12 ---> 82e6f3748129 20:40:12 Step 13/13 : RUN ${MAKE} 20:40:12 ---> Running in df8fc2ff0bb6 20:40:13 noop 20:40:13 Removing intermediate container df8fc2ff0bb6 20:40:13 ---> bff9b8910c8d 20:40:13 Successfully built bff9b8910c8d 20:40:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:13 + docker inspect -f . ci-base-image-x86_64 20:40:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:13 prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container 20:40:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:14 $ docker top f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:14 + go version 20:40:14 go version go1.20.2 linux/amd64 [Pipeline] } 20:40:14 $ docker stop --time=1 f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 20:40:15 $ docker rm -f --volumes f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:16 + docker inspect -f . ci-base-image-x86_64 20:40:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:16 prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container 20:40:16 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:16 $ docker top b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:17 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh 20:40:17 + make test 20:40:17 go test ./... -coverprofile=coverage.out ./... 20:40:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:40:34 # github.com/edgexfoundry/device-usb-camera/internal/driver [github.com/edgexfoundry/device-usb-camera/internal/driver.test] 20:40:34 internal/driver/driver_test.go:34:12: cannot use []interface{}{…} (value of type []interface{}) as []string value in struct literal 20:40:34 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:40:34 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:40:34 FAIL 20:40:34 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 20:40:34 $ docker stop --time=1 b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 20:40:38 $ docker rm -f --volumes b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 [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 20:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:39 20:40:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:39 latest: Pulling from edgex-lftools-log-publisher 20:40:39 5eb5b503b376: Pulling fs layer 20:40:39 5c69ac0246d0: Pulling fs layer 20:40:39 ec43610c2a17: Pulling fs layer 20:40:39 3a2ae6a8a46f: Pulling fs layer 20:40:39 33b1e0a273af: Pulling fs layer 20:40:39 5d3b04190fa2: Pulling fs layer 20:40:39 2f39f015ded8: Pulling fs layer 20:40:39 33b1e0a273af: Waiting 20:40:39 5d3b04190fa2: Waiting 20:40:39 2f39f015ded8: Waiting 20:40:39 3a2ae6a8a46f: Waiting 20:40:39 5c69ac0246d0: Download complete 20:40:39 3a2ae6a8a46f: Verifying Checksum 20:40:39 3a2ae6a8a46f: Download complete 20:40:39 33b1e0a273af: Verifying Checksum 20:40:39 33b1e0a273af: Download complete 20:40:39 5d3b04190fa2: Download complete 20:40:39 ec43610c2a17: Verifying Checksum 20:40:39 ec43610c2a17: Download complete 20:40:39 5eb5b503b376: Verifying Checksum 20:40:39 5eb5b503b376: Download complete 20:40:40 2f39f015ded8: Download complete 20:40:41 5eb5b503b376: Pull complete 20:40:41 5c69ac0246d0: Pull complete 20:40:41 ec43610c2a17: Pull complete 20:40:41 3a2ae6a8a46f: Pull complete 20:40:41 33b1e0a273af: Pull complete 20:40:41 5d3b04190fa2: Pull complete 20:40:47 2f39f015ded8: Pull complete 20:40:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:40:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:47 prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container 20:40:47 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:51 $ docker top 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:51 ---> job-cost.sh 20:40:51 lf-activate-venv: SKIPPING 20:40:51 INFO: No Stack... 20:40:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:52 INFO: Archiving Costs [Pipeline] sh 20:40:52 + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv 20:40:52 + cut -d, -f6 [Pipeline] lock 20:40:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] 20:40:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] did not exist. Created. 20:40:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:53 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:53 Stashed 1 file(s) [Pipeline] } 20:40:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:53 $ docker stop --time=1 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 20:40:54 $ docker rm -f --volumes 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:40:54 Failed in branch amd64 20:41:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19082 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws 20:41:16 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 20:41:16 Selected Git installation does not exist. Using Default 20:41:16 The recommended git tool is: NONE 20:41:23 using credential edgex-jenkins-ssh 20:41:23 Cloning the remote Git repository 20:41:23 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:41:23 > git init /w/workspace/device-usb-camera/3 # timeout=10 20:41:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:41:26 > git --version # timeout=10 20:41:26 > git --version # 'git version 2.25.1' 20:41:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:27 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:41:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:29 Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 77766c9552d453fc5bff9a299e2f164ce510bb0b 20:41:28 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:41:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:41:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:41:29 > git config core.sparsecheckout # timeout=10 20:41:29 Merge succeeded, producing 77766c9552d453fc5bff9a299e2f164ce510bb0b 20:41:29 Checking out Revision 77766c9552d453fc5bff9a299e2f164ce510bb0b (PR-262) 20:41:29 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 20:41:29 > git remote # timeout=10 20:41:29 > git config --get remote.origin.url # timeout=10 20:41:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:29 > git merge 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 20:41:29 > git rev-parse HEAD^{commit} # timeout=10 20:41:29 > git config core.sparsecheckout # timeout=10 20:41:29 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 20:41:33 Commit message: "refactor: change discovery method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:41:35 % Total % Received % Xferd Average Speed Time Time Time Current 20:41:35 Dload Upload Total Spent Left Speed 20:41:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 20:41:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:41:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:41:36 + sudo tee /etc/docker/daemon.new 20:41:36 { 20:41:36 "registry-mirrors": [ 20:41:36 "https://nexus3.edgexfoundry.org:10001" 20:41:36 ], 20:41:36 "bip": "10.250.0.254/24", 20:41:36 "hosts": [ 20:41:36 "tcp://0.0.0.0:5555", 20:41:36 "unix:///var/run/docker.sock" 20:41:36 ], 20:41:36 "mtu": 1458, 20:41:36 "selinux-enabled": true, 20:41:36 "seccomp-profile": "/etc/docker/seccomp.json" 20:41:36 } [Pipeline] sh 20:41:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:41:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:55 provisioning config files... 20:41:55 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config5426431218052348632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:55 ---> docker-login.sh 20:41:55 nexus3.edgexfoundry.org:10001 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 nexus3.edgexfoundry.org:10002 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:56 Configure a credential helper to remove this warning. See 20:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:56 20:41:56 Login Succeeded 20:41:56 nexus3.edgexfoundry.org:10003 20:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 nexus3.edgexfoundry.org:10004 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 docker.io 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:58 Configure a credential helper to remove this warning. See 20:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:58 20:41:58 Login Succeeded 20:41:58 ---> docker-login.sh ends [Pipeline] } 20:41:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:58 ========================================================= 20:41:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:41:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:41:58 Sending build context to Docker daemon 1.33MB 20:41:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:41:58 Step 2/13 : FROM ${BASE} AS builder 20:41:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:59 c41833b44d91: Pulling fs layer 20:41:59 ed15518f5707: Pulling fs layer 20:41:59 feae8fd75edb: Pulling fs layer 20:41:59 242c74f7c9fa: Pulling fs layer 20:41:59 3cdef696dda3: Pulling fs layer 20:41:59 2ced38df9373: Pulling fs layer 20:41:59 58f1dce35555: Pulling fs layer 20:41:59 3cdef696dda3: Waiting 20:41:59 2ced38df9373: Waiting 20:41:59 58f1dce35555: Waiting 20:41:59 242c74f7c9fa: Waiting 20:41:59 ed15518f5707: Verifying Checksum 20:41:59 ed15518f5707: Download complete 20:41:59 242c74f7c9fa: Verifying Checksum 20:41:59 242c74f7c9fa: Download complete 20:41:59 3cdef696dda3: Verifying Checksum 20:41:59 3cdef696dda3: Download complete 20:41:59 c41833b44d91: Verifying Checksum 20:41:59 c41833b44d91: Download complete 20:42:00 c41833b44d91: Pull complete 20:42:00 58f1dce35555: Verifying Checksum 20:42:00 58f1dce35555: Download complete 20:42:01 ed15518f5707: Pull complete 20:42:01 feae8fd75edb: Verifying Checksum 20:42:01 feae8fd75edb: Download complete 20:42:01 2ced38df9373: Verifying Checksum 20:42:14 feae8fd75edb: Pull complete 20:42:14 242c74f7c9fa: Pull complete 20:42:14 3cdef696dda3: Pull complete 20:42:21 2ced38df9373: Pull complete 20:42:23 58f1dce35555: Pull complete 20:42:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:42:23 ---> fadd8f120f05 20:42:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:42:25 ---> Running in 90662ad269dd 20:42:25 Removing intermediate container 90662ad269dd 20:42:25 ---> e8e93f9c6b43 20:42:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:25 ---> Running in e6a46fd79525 20:42:25 Removing intermediate container e6a46fd79525 20:42:25 ---> 9159e022ef27 20:42:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:42:25 ---> Running in 7e4db3117639 20:42:26 Removing intermediate container 7e4db3117639 20:42:26 ---> 54e077febdc3 20:42:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:42:26 ---> Running in 22a3f1a31a2a 20:42:26 Removing intermediate container 22a3f1a31a2a 20:42:26 ---> 328cedae760c 20:42:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:26 ---> Running in f83af9a77069 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:42:29 (1/14) Installing libintl (0.21.1-r1) 20:42:29 (2/14) Installing eudev-libs (3.2.11-r4) 20:42:29 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:42:29 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:42:29 (5/14) Installing v4l-utils (1.22.1-r2) 20:42:29 (6/14) Installing udev-init-scripts (35-r1) 20:42:29 (7/14) Installing libblkid (2.38.1-r1) 20:42:29 (8/14) Installing xz-libs (5.2.9-r0) 20:42:29 (9/14) Installing zstd-libs (1.5.5-r0) 20:42:29 (10/14) Installing kmod-libs (30-r1) 20:42:29 (11/14) Installing eudev (3.2.11-r4) 20:42:29 (12/14) Installing eudev-dev (3.2.11-r4) 20:42:29 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:42:29 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:42:29 Executing busybox-1.35.0-r29.trigger 20:42:29 Executing eudev-3.2.11-r4.trigger 20:42:29 OK: 271 MiB in 67 packages 20:42:30 Removing intermediate container f83af9a77069 20:42:30 ---> 5bb55ccc49fd 20:42:30 Step 8/13 : WORKDIR /device-usb-camera 20:42:30 ---> Running in e22e8a38c2ec 20:42:30 Removing intermediate container e22e8a38c2ec 20:42:30 ---> 8d592515ed51 20:42:30 Step 9/13 : COPY go.mod vendor* ./ 20:42:31 ---> 66ba440a3235 20:42:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:31 ---> Running in 232628f421aa 20:43:27 Removing intermediate container 232628f421aa 20:43:27 ---> f5bada5e1e34 20:43:27 Step 11/13 : COPY . . 20:43:27 ---> 6277704153e8 20:43:27 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:43:27 ---> Running in 748b3fdbafc5 20:43:27  % Total % Received % Xferd Average Speed Time Time  Time Current 20:43:27 Dload Upload Total Spent Left Speed 20:43:27 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4196 0 --:--:-- --:--:-- --:--:-- 4214 20:43:27 Removing intermediate container 748b3fdbafc5 20:43:27 ---> ca775391101d 20:43:27 Step 13/13 : RUN ${MAKE} 20:43:27 ---> Running in 2f3ae5fbf689 20:43:27 noop 20:43:27 Removing intermediate container 2f3ae5fbf689 20:43:27 ---> 9afba1153a92 20:43:27 Successfully built 9afba1153a92 20:43:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:28 + docker inspect -f . ci-base-image-arm64 20:43:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:28 prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container 20:43:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:29 $ docker top ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:30 + go version 20:43:30 go version go1.20.2 linux/arm64 [Pipeline] } 20:43:30 $ docker stop --time=1 ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 20:43:31 $ docker rm -f --volumes ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:32 + docker inspect -f . ci-base-image-arm64 20:43:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:32 prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container 20:43:32 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:33 $ docker top 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:34 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 20:43:34 + make test 20:43:34 go test ./... -coverprofile=coverage.out ./... 20:44:07 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:45:58 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:45:58 # github.com/edgexfoundry/device-usb-camera/internal/driver [github.com/edgexfoundry/device-usb-camera/internal/driver.test] 20:45:58 internal/driver/driver_test.go:34:12: cannot use []interface{}{…} (value of type []interface{}) as []string value in struct literal 20:45:58 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 20:45:58 FAIL 20:45:58 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 20:45:58 $ docker stop --time=1 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e 20:46:00 $ docker rm -f --volumes 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e [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 20:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:01 20:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:02 arm64: Pulling from edgex-lftools-log-publisher 20:46:02 8998bd30e6a1: Pulling fs layer 20:46:02 04944245beec: Pulling fs layer 20:46:02 699f458cf7ca: Pulling fs layer 20:46:02 765212b225bb: Pulling fs layer 20:46:02 f23df028b6ca: Pulling fs layer 20:46:02 d65c8cfc05b1: Pulling fs layer 20:46:02 2437ff75d9bd: Pulling fs layer 20:46:02 f23df028b6ca: Waiting 20:46:02 d65c8cfc05b1: Waiting 20:46:02 2437ff75d9bd: Waiting 20:46:02 765212b225bb: Waiting 20:46:02 04944245beec: Verifying Checksum 20:46:02 04944245beec: Download complete 20:46:02 765212b225bb: Verifying Checksum 20:46:02 765212b225bb: Download complete 20:46:02 f23df028b6ca: Verifying Checksum 20:46:02 f23df028b6ca: Download complete 20:46:02 d65c8cfc05b1: Verifying Checksum 20:46:02 d65c8cfc05b1: Download complete 20:46:02 699f458cf7ca: Verifying Checksum 20:46:02 699f458cf7ca: Download complete 20:46:02 8998bd30e6a1: Verifying Checksum 20:46:02 8998bd30e6a1: Download complete 20:46:05 2437ff75d9bd: Verifying Checksum 20:46:05 2437ff75d9bd: Download complete 20:46:06 8998bd30e6a1: Pull complete 20:46:07 04944245beec: Pull complete 20:46:08 699f458cf7ca: Pull complete 20:46:08 765212b225bb: Pull complete 20:46:09 f23df028b6ca: Pull complete 20:46:09 d65c8cfc05b1: Pull complete 20:46:24 2437ff75d9bd: Pull complete 20:46:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:24 prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container 20:46:24 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:46:27 $ docker top 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:28 ---> job-cost.sh 20:46:28 lf-activate-venv: SKIPPING 20:46:28 INFO: No Stack... 20:46:28 INFO: Retrieving Pricing Info for: v3-standard-4 20:46:29 INFO: Archiving Costs [Pipeline] sh 20:46:29 + cut -d, -f6 20:46:29 + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock 20:46:30 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] 20:46:30 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] did not exist. Created. 20:46:30 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:30 /w/workspace/device-usb-camera/3@tmp/durable-c21718c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:46:30 + echo total: 0.10999999940395355 [Pipeline] stash 20:46:30 Warning: overwriting stash ‘stack-cost’ 20:46:31 Stashed 1 file(s) [Pipeline] } 20:46:31 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:31 $ docker stop --time=1 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa 20:46:32 $ docker rm -f --volumes 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:32 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 20:46:33 + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] 20:46:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 20:46:33 total 16 20:46:33 drwxr-xr-x 3 root root 4096 Jun 22 20:40 . 20:46:33 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 20:40 .. 20:46:33 drwxr-xr-x 2 root root 4096 Jun 22 20:40 cost 20:46:33 -rw-r--r-- 1 root root 89 Jun 22 20:40 cost.csv 20:46:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives 20:46:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 20:46:33 total 16 20:46:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 20:40 . 20:46:33 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 20:40 .. 20:46:33 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 20:40 cost 20:46:33 -rw-r--r-- 1 jenkins jenkins 89 Jun 22 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:46:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:46:34 ---> package-listing.sh 20:46:34 ++ facter osfamily 20:46:34 ++ tr '[:upper:]' '[:lower:]' 20:46:34 + OS_FAMILY=debian 20:46:34 + workspace=/w/workspace/foundry_device-usb-camera_PR-262 20:46:34 + START_PACKAGES=/tmp/packages_start.txt 20:46:34 + END_PACKAGES=/tmp/packages_end.txt 20:46:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:46:34 + PACKAGES=/tmp/packages_start.txt 20:46:34 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 20:46:34 + PACKAGES=/tmp/packages_end.txt 20:46:34 + case "${OS_FAMILY}" in 20:46:34 + dpkg -l 20:46:34 + grep '^ii' 20:46:34 + '[' -f /tmp/packages_start.txt ']' 20:46:34 + '[' -f /tmp/packages_end.txt ']' 20:46:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:46:34 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 20:46:34 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ 20:46:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo 20:46:34 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:46:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:35 prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container 20:46:35 $ 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-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:46:36 $ docker top d414223119328e7658f2ffb80a1cacb2aed43aea65d84db5c8fd85cb8e95c173 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:36 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:36 + mkdir -p /var/log/sysstat [Pipeline] sh 20:46:37 + ls /var/log/sa-host 20:46:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:37 provisioning config files... 20:46:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config3871566175825939130tmp [Pipeline] { [Pipeline] echo 20:46:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:37 ---> create-netrc.sh [Pipeline] } 20:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:46:37 ---> python-tools-install.sh [Pipeline] echo 20:46:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:38 ---> sudo-logs.sh 20:46:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:38 ---> job-cost.sh 20:46:38 lf-activate-venv: SKIPPING 20:46:38 DEBUG: total: 0.2199999988079071 20:46:38 INFO: Retrieving Stack Cost... 20:46:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:39 INFO: Archiving Costs [Pipeline] echo 20:46:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:39 ---> logs-deploy.sh 20:46:39 lf-activate-venv: SKIPPING 20:46:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/3 20:46:39 INFO: archiving workspace using pattern(s): 20:46:40 Archives upload complete. 20:46:40 INFO: archiving logs to Nexus