Pull request #265 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than e91ec58c8b480eb0b0a47f11c23178624732d78a Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh3529764010477186784.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-ssh13064723998182451240.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-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8036634882073647314.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-ssh18254849484016481770.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10057097621311210560.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1181 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # 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 > 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/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit e91ec58c8b480eb0b0a47f11c23178624732d78a Merge succeeded, producing e91ec58c8b480eb0b0a47f11c23178624732d78a Checking out Revision e91ec58c8b480eb0b0a47f11c23178624732d78a (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f e91ec58c8b480eb0b0a47f11c23178624732d78a # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e91ec58c8b480eb0b0a47f11c23178624732d78a # timeout=10 Commit message: "feat: allow for fractions" > git rev-list --no-walk ba099dd10848f04b42b0348795a7e9835dbcc161 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:08:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:08:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:08:23 ========================================================= 21:08:23 EdgeX Global Pipelines Version Info 21:08:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:08:24 ------------------- 21:08:24 stable info: 21:08:24 ------------------- 21:08:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:08:24 Message: update stable to v1.0.250 21:08:24 ------------------- 21:08:24 experimental info: 21:08:24 ------------------- 21:08:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:08:24 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e91ec58c8b480eb0b0a47f11c23178624732d78a [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e91ec58 [Pipeline] echo 21:08:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:25 provisioning config files... 21:08:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config16800089332217097225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:25 ---> docker-login.sh 21:08:25 nexus3.edgexfoundry.org:10001 21:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:25 Configure a credential helper to remove this warning. See 21:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:25 21:08:25 Login Succeeded 21:08:25 nexus3.edgexfoundry.org:10002 21:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:26 Configure a credential helper to remove this warning. See 21:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:26 21:08:26 Login Succeeded 21:08:26 nexus3.edgexfoundry.org:10003 21:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:26 Configure a credential helper to remove this warning. See 21:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:26 21:08:26 Login Succeeded 21:08:26 nexus3.edgexfoundry.org:10004 21:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:26 Configure a credential helper to remove this warning. See 21:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:26 21:08:26 Login Succeeded 21:08:26 docker.io 21:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:26 Configure a credential helper to remove this warning. See 21:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:26 21:08:26 Login Succeeded 21:08:26 ---> docker-login.sh ends [Pipeline] } 21:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:27 + git rev-list -1 --merges e91ec58c8b480eb0b0a47f11c23178624732d78a~1..e91ec58c8b480eb0b0a47f11c23178624732d78a [Pipeline] echo 21:08:27 -----------> git rev-list -1 --merges e91ec58c8b480eb0b0a47f11c23178624732d78a~1..e91ec58c8b480eb0b0a47f11c23178624732d78a e91ec58c8b480eb0b0a47f11c23178624732d78a [false] [Pipeline] sh 21:08:27 + git log --format=format:%s -1 e91ec58c8b480eb0b0a47f11c23178624732d78a [Pipeline] echo 21:08:27 ========================================================= 21:08:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:27 + git log --format=format:%s -1 e91ec58c8b480eb0b0a47f11c23178624732d78a [Pipeline] echo 21:08:27 [semverPrep] GIT_COMMIT: e91ec58c8b480eb0b0a47f11c23178624732d78a, Commit Message: feat: allow for fractions [Pipeline] echo 21:08:27 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:28 + grep -v github /etc/ssh/ssh_known_hosts 21:08:28 + [ -e /tmp/ssh_known_hosts ] 21:08:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:28 21:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:28 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:28 b85a868b505f: Pulling fs layer 21:08:28 e2be974225ed: Pulling fs layer 21:08:28 339a4e72a1f5: Pulling fs layer 21:08:28 988bab9f4d93: Pulling fs layer 21:08:28 1469e6f7b9e6: Pulling fs layer 21:08:28 eaf3925da568: Pulling fs layer 21:08:28 bab4dde63d76: Pulling fs layer 21:08:28 bde34c3a00c8: Pulling fs layer 21:08:28 b352a97aabf1: Pulling fs layer 21:08:28 4872d77fe225: Pulling fs layer 21:08:28 5851b861e8e6: Pulling fs layer 21:08:28 4872d77fe225: Waiting 21:08:28 bab4dde63d76: Waiting 21:08:28 5851b861e8e6: Waiting 21:08:28 1469e6f7b9e6: Waiting 21:08:28 988bab9f4d93: Waiting 21:08:28 eaf3925da568: Waiting 21:08:28 bde34c3a00c8: Waiting 21:08:28 b352a97aabf1: Waiting 21:08:28 e2be974225ed: Verifying Checksum 21:08:28 988bab9f4d93: Download complete 21:08:28 1469e6f7b9e6: Verifying Checksum 21:08:28 1469e6f7b9e6: Download complete 21:08:29 eaf3925da568: Verifying Checksum 21:08:29 eaf3925da568: Download complete 21:08:29 339a4e72a1f5: Verifying Checksum 21:08:29 339a4e72a1f5: Download complete 21:08:29 bde34c3a00c8: Download complete 21:08:29 b352a97aabf1: Verifying Checksum 21:08:29 b352a97aabf1: Download complete 21:08:29 4872d77fe225: Verifying Checksum 21:08:29 5851b861e8e6: Verifying Checksum 21:08:29 5851b861e8e6: Download complete 21:08:29 b85a868b505f: Verifying Checksum 21:08:29 b85a868b505f: Download complete 21:08:29 bab4dde63d76: Verifying Checksum 21:08:29 bab4dde63d76: Download complete 21:08:30 b85a868b505f: Pull complete 21:08:31 e2be974225ed: Pull complete 21:08:31 339a4e72a1f5: Pull complete 21:08:32 988bab9f4d93: Pull complete 21:08:32 1469e6f7b9e6: Pull complete 21:08:32 eaf3925da568: Pull complete 21:08:34 bab4dde63d76: Pull complete 21:08:34 bde34c3a00c8: Pull complete 21:08:34 b352a97aabf1: Pull complete 21:08:35 4872d77fe225: Pull complete 21:08:35 5851b861e8e6: Pull complete 21:08:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:35 prd-ubuntu20.04-docker-8c-8g-1181 does not seem to be running inside a container 21:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:08:38 $ docker top 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c -eo pid,comm 21:08:38 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). 21:08:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:38 [ssh-agent] Looking for ssh-agent implementation... 21:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:38 $ docker exec 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c ssh-agent 21:08:38 SSH_AUTH_SOCK=/tmp/ssh-VahlVILpbTzx/agent.32 21:08:38 SSH_AGENT_PID=38 21:08:38 Running ssh-add (command line suppressed) 21:08:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12950658030196458477.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12950658030196458477.key) 21:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:38 + git tag --points-at HEAD [Pipeline] } 21:08:38 $ docker exec --env ******** --env ******** 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c ssh-agent -k 21:08:39 unset SSH_AUTH_SOCK; 21:08:39 unset SSH_AGENT_PID; 21:08:39 echo Agent pid 38 killed; 21:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:39 [ssh-agent] Looking for ssh-agent implementation... 21:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:39 $ docker exec 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c ssh-agent 21:08:39 SSH_AUTH_SOCK=/tmp/ssh-wkUZFayNKVNr/agent.71 21:08:39 SSH_AGENT_PID=77 21:08:39 Running ssh-add (command line suppressed) 21:08:39 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_17847405867958718396.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_17847405867958718396.key) 21:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:39 + git semver init 21:08:40 2023-07-14 21:08:39,962 [run_init] DEBUG init version:0.0.0 force:False 21:08:40 2023-07-14 21:08:39,963 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 21:08:40 2023-07-14 21:08:39,963 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 21:08:40 2023-07-14 21:08:39,964 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) 21:08:40 2023-07-14 21:08:40,682 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 21:08:40 2023-07-14 21:08:40,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 21:08:40 2023-07-14 21:08:40,683 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:08:40 2023-07-14 21:08:40,687 [execute] INFO git cat-file --batch-check 21:08:40 2023-07-14 21:08:40,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:08:40 2023-07-14 21:08:40,695 [execute] INFO git cat-file --batch 21:08:40 2023-07-14 21:08:40,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:08:40 2023-07-14 21:08:40,701 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:08:40 0.0.0 [Pipeline] } 21:08:40 $ docker exec --env ******** --env ******** 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c ssh-agent -k 21:08:41 unset SSH_AUTH_SOCK; 21:08:41 unset SSH_AGENT_PID; 21:08:41 echo Agent pid 77 killed; 21:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:41 + git semver [Pipeline] } 21:08:41 $ docker stop --time=1 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c 21:08:43 $ docker rm -f --volumes 0df47d668eeea5db5de8f85fdee88c5f76398c3cba5f99f6c9fa00e5b6e4a79c [Pipeline] // withDockerContainer [Pipeline] sh 21:08:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:43 Stashed 1 file(s) [Pipeline] echo 21:08:43 [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 21:08:43 provisioning config files... 21:08:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config4282555507680101708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:44 ---> docker-login.sh 21:08:44 nexus3.edgexfoundry.org:10001 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 nexus3.edgexfoundry.org:10002 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 nexus3.edgexfoundry.org:10003 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 nexus3.edgexfoundry.org:10004 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 docker.io 21:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:44 Configure a credential helper to remove this warning. See 21:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:44 21:08:44 Login Succeeded 21:08:44 ---> docker-login.sh ends [Pipeline] } 21:08:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:44 ========================================================= 21:08:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:45 + 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 . 21:08:45 Sending build context to Docker daemon 2.13MB 21:08:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:08:45 Step 2/13 : FROM ${BASE} AS builder 21:08:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:45 4db1b89c0bd1: Pulling fs layer 21:08:45 6911f1a30b25: Pulling fs layer 21:08:45 e194b8c5c2a9: Pulling fs layer 21:08:45 6863d3e3a2b1: Pulling fs layer 21:08:45 ec0bb842ea78: Pulling fs layer 21:08:45 40a00589a448: Pulling fs layer 21:08:45 6c08303d61cc: Pulling fs layer 21:08:45 798269fcf238: Pulling fs layer 21:08:45 ec0bb842ea78: Waiting 21:08:45 798269fcf238: Waiting 21:08:45 6c08303d61cc: Waiting 21:08:45 6863d3e3a2b1: Waiting 21:08:45 6911f1a30b25: Verifying Checksum 21:08:45 6911f1a30b25: Download complete 21:08:45 6863d3e3a2b1: Verifying Checksum 21:08:45 6863d3e3a2b1: Download complete 21:08:45 ec0bb842ea78: Download complete 21:08:45 4db1b89c0bd1: Verifying Checksum 21:08:45 4db1b89c0bd1: Download complete 21:08:45 40a00589a448: Verifying Checksum 21:08:45 40a00589a448: Download complete 21:08:45 4db1b89c0bd1: Pull complete 21:08:45 6911f1a30b25: Pull complete 21:08:45 798269fcf238: Verifying Checksum 21:08:45 798269fcf238: Download complete 21:08:45 e194b8c5c2a9: Verifying Checksum 21:08:45 e194b8c5c2a9: Download complete 21:08:46 6c08303d61cc: Verifying Checksum 21:08:49 e194b8c5c2a9: Pull complete 21:08:49 6863d3e3a2b1: Pull complete 21:08:49 ec0bb842ea78: Pull complete 21:08:49 40a00589a448: Pull complete 21:08:52 6c08303d61cc: Pull complete 21:08:53 798269fcf238: Pull complete 21:08:53 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:53 ---> ec979cd7f677 21:08:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:08:58 ---> Running in cafd99f59ffd 21:08:58 Removing intermediate container cafd99f59ffd 21:08:58 ---> ce256c529335 21:08:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:58 ---> Running in 7a64257589b1 21:08:58 Removing intermediate container 7a64257589b1 21:08:58 ---> 84b4b5b0665e 21:08:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:08:58 ---> Running in 53a3d38766d6 21:08:58 Removing intermediate container 53a3d38766d6 21:08:58 ---> f6ae94d7b4ae 21:08:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:08:58 ---> Running in 9beee53972a3 21:08:58 Removing intermediate container 9beee53972a3 21:08:58 ---> 2aabc429164f 21:08:58 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:58 ---> Running in 3a341557ce8f 21:08:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:58 Still waiting to schedule task 21:08:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:08:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:59 (1/14) Installing libintl (0.21.1-r1) 21:08:59 (2/14) Installing eudev-libs (3.2.11-r4) 21:08:59 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:08:59 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:08:59 (5/14) Installing v4l-utils (1.22.1-r2) 21:08:59 (6/14) Installing udev-init-scripts (35-r1) 21:08:59 (7/14) Installing libblkid (2.38.1-r1) 21:08:59 (8/14) Installing xz-libs (5.2.9-r0) 21:08:59 (9/14) Installing zstd-libs (1.5.5-r0) 21:08:59 (10/14) Installing kmod-libs (30-r1) 21:08:59 (11/14) Installing eudev (3.2.11-r4) 21:08:59 (12/14) Installing eudev-dev (3.2.11-r4) 21:08:59 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:08:59 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:08:59 Executing busybox-1.35.0-r29.trigger 21:08:59 Executing eudev-3.2.11-r4.trigger 21:08:59 OK: 272 MiB in 67 packages 21:09:00 Removing intermediate container 3a341557ce8f 21:09:00 ---> f3f98880939a 21:09:00 Step 8/13 : WORKDIR /device-usb-camera 21:09:00 ---> Running in 675a323f534e 21:09:00 Removing intermediate container 675a323f534e 21:09:00 ---> d248e0323c28 21:09:00 Step 9/13 : COPY go.mod vendor* ./ 21:09:00 ---> aad35d6e45f6 21:09:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:00 ---> Running in 44f13d8bd3c5 21:09:39 Removing intermediate container 44f13d8bd3c5 21:09:39 ---> faba94da0bd3 21:09:39 Step 11/13 : COPY . . 21:09:39 ---> 16ea7fa6cf10 21:09:39 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:09:39 ---> Running in a62559814b46 21:09:39  % Total % Received % Xferd Average Speed Time Time  Time Current 21:09:39  Dload Upload Total Spent Left Speed 21:09:39 0 0  0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5863 0 --:--:-- --:--:-- --:--:-- 5900 21:09:39 Removing intermediate container a62559814b46 21:09:39 ---> 96856db989f0 21:09:39 Step 13/13 : RUN ${MAKE} 21:09:39 ---> Running in d2f509fe66bc 21:09:39 noop 21:09:40 Removing intermediate container d2f509fe66bc 21:09:40 ---> 08752aa1d84e 21:09:40 Successfully built 08752aa1d84e 21:09:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:40 + docker inspect -f . ci-base-image-x86_64 21:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:40 prd-ubuntu20.04-docker-8c-8g-1181 does not seem to be running inside a container 21:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat 21:09:40 $ docker top ef056ca9ad7db46fd6e67fbf6fb58537434eb71a0463457eaf0e451035c3f6b0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:41 + go version 21:09:41 go version go1.20.6 linux/amd64 [Pipeline] } 21:09:41 $ docker stop --time=1 ef056ca9ad7db46fd6e67fbf6fb58537434eb71a0463457eaf0e451035c3f6b0 21:09:42 $ docker rm -f --volumes ef056ca9ad7db46fd6e67fbf6fb58537434eb71a0463457eaf0e451035c3f6b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:42 + docker inspect -f . ci-base-image-x86_64 21:09:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:42 prd-ubuntu20.04-docker-8c-8g-1181 does not seem to be running inside a container 21: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/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat 21:09:43 $ docker top cce81833a6428f4abd81274fcc617546957ae695f712cc3f5b369561cf53cbe1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:43 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 21:09:43 + make test 21:09:43 go test ./... -coverprofile=coverage.out ./... 21:09:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:09:59 # github.com/edgexfoundry/device-usb-camera/internal/driver 21:09:59 internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string 21:09:59 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:09:59 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 21:09:59 FAIL 21:09:59 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 21:09:59 $ docker stop --time=1 cce81833a6428f4abd81274fcc617546957ae695f712cc3f5b369561cf53cbe1 21:10:03 $ docker rm -f --volumes cce81833a6428f4abd81274fcc617546957ae695f712cc3f5b369561cf53cbe1 [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 21:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:04 21:10:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:04 latest: Pulling from edgex-lftools-log-publisher 21:10:04 5eb5b503b376: Pulling fs layer 21:10:04 5c69ac0246d0: Pulling fs layer 21:10:04 ec43610c2a17: Pulling fs layer 21:10:04 3a2ae6a8a46f: Pulling fs layer 21:10:04 33b1e0a273af: Pulling fs layer 21:10:04 5d3b04190fa2: Pulling fs layer 21:10:04 2f39f015ded8: Pulling fs layer 21:10:04 5d3b04190fa2: Waiting 21:10:04 2f39f015ded8: Waiting 21:10:04 3a2ae6a8a46f: Waiting 21:10:04 33b1e0a273af: Waiting 21:10:04 5c69ac0246d0: Download complete 21:10:04 3a2ae6a8a46f: Download complete 21:10:04 33b1e0a273af: Verifying Checksum 21:10:04 33b1e0a273af: Download complete 21:10:04 5d3b04190fa2: Verifying Checksum 21:10:04 5d3b04190fa2: Download complete 21:10:04 ec43610c2a17: Verifying Checksum 21:10:04 ec43610c2a17: Download complete 21:10:05 5eb5b503b376: Download complete 21:10:05 2f39f015ded8: Download complete 21:10:06 5eb5b503b376: Pull complete 21:10:06 5c69ac0246d0: Pull complete 21:10:06 ec43610c2a17: Pull complete 21:10:07 3a2ae6a8a46f: Pull complete 21:10:07 33b1e0a273af: Pull complete 21:10:07 5d3b04190fa2: Pull complete 21:10:11 2f39f015ded8: Pull complete 21:10:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:10:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:11 prd-ubuntu20.04-docker-8c-8g-1181 does not seem to be running inside a container 21:10:11 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 21:10:16 $ docker top c4e7c83e97e7f89ac9e8137e9fe46dd8793464da0739fef90d30f7607c0870e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:16 ---> job-cost.sh 21:10:16 lf-activate-venv: SKIPPING 21:10:16 INFO: No Stack... 21:10:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:18 INFO: Archiving Costs [Pipeline] sh 21:10:18 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 21:10:18 + cut -d, -f6 [Pipeline] lock 21:10:18 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] 21:10:18 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] did not exist. Created. 21:10:18 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:18 + echo total: 0.2199999988079071 [Pipeline] stash 21:10:18 Stashed 1 file(s) [Pipeline] } 21:10:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:18 $ docker stop --time=1 c4e7c83e97e7f89ac9e8137e9fe46dd8793464da0739fef90d30f7607c0870e7 21:10:19 $ docker rm -f --volumes c4e7c83e97e7f89ac9e8137e9fe46dd8793464da0739fef90d30f7607c0870e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:19 Failed in branch amd64 21:10:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1182 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 21:10:40 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 21:10:40 Selected Git installation does not exist. Using Default 21:10:40 The recommended git tool is: NONE 21:10:46 using credential edgex-jenkins-ssh 21:10:46 Cloning the remote Git repository 21:10:46 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:10:46 > git init /w/workspace/device-usb-camera/2 # timeout=10 21:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:10:46 > git --version # timeout=10 21:10:46 > git --version # 'git version 2.25.1' 21:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:47 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:10:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:48 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:10:48 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:10:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:48 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit e91ec58c8b480eb0b0a47f11c23178624732d78a 21:10:49 Merge succeeded, producing e91ec58c8b480eb0b0a47f11c23178624732d78a 21:10:49 Checking out Revision e91ec58c8b480eb0b0a47f11c23178624732d78a (PR-265) 21:10:48 > git config core.sparsecheckout # timeout=10 21:10:48 > git checkout -f e91ec58c8b480eb0b0a47f11c23178624732d78a # timeout=10 21:10:48 > git remote # timeout=10 21:10:49 > git config --get remote.origin.url # timeout=10 21:10:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:49 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 21:10:49 > git rev-parse HEAD^{commit} # timeout=10 21:10:49 > git config core.sparsecheckout # timeout=10 21:10:49 > git checkout -f e91ec58c8b480eb0b0a47f11c23178624732d78a # timeout=10 21:10:52 Commit message: "feat: allow for fractions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:53 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:53 Dload Upload Total Spent Left Speed 21:10:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 21:10:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:54 + + sudo tee /etc/docker/daemon.new 21:10:54 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:54 { 21:10:54 "registry-mirrors": [ 21:10:54 "https://nexus3.edgexfoundry.org:10001" 21:10:54 ], 21:10:54 "bip": "10.250.0.254/24", 21:10:54 "hosts": [ 21:10:54 "tcp://0.0.0.0:5555", 21:10:54 "unix:///var/run/docker.sock" 21:10:54 ], 21:10:54 "mtu": 1458, 21:10:54 "selinux-enabled": true, 21:10:54 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:54 } [Pipeline] sh 21:10:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:13 provisioning config files... 21:11:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config14478924894831939398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:13 ---> docker-login.sh 21:11:13 nexus3.edgexfoundry.org:10001 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 nexus3.edgexfoundry.org:10002 21:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 nexus3.edgexfoundry.org:10003 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:15 Configure a credential helper to remove this warning. See 21:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:15 21:11:15 Login Succeeded 21:11:15 nexus3.edgexfoundry.org:10004 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:15 Configure a credential helper to remove this warning. See 21:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:15 21:11:15 Login Succeeded 21:11:15 docker.io 21:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:16 Configure a credential helper to remove this warning. See 21:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:16 21:11:16 Login Succeeded 21:11:16 ---> docker-login.sh ends [Pipeline] } 21:11:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:16 ========================================================= 21:11:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:16 + 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 . 21:11:18 Sending build context to Docker daemon 1.313MB 21:11:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:11:18 Step 2/13 : FROM ${BASE} AS builder 21:11:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:18 edb6bdbacee9: Pulling fs layer 21:11:18 5f9638ab2659: Pulling fs layer 21:11:18 8d51d6327a98: Pulling fs layer 21:11:18 8b374f2dd631: Pulling fs layer 21:11:18 ec14aa9079de: Pulling fs layer 21:11:18 2f466654f4bb: Pulling fs layer 21:11:18 554e91adad29: Pulling fs layer 21:11:18 8b374f2dd631: Waiting 21:11:18 ec14aa9079de: Waiting 21:11:18 2f466654f4bb: Waiting 21:11:18 554e91adad29: Waiting 21:11:18 5f9638ab2659: Download complete 21:11:18 8b374f2dd631: Verifying Checksum 21:11:18 8b374f2dd631: Download complete 21:11:18 ec14aa9079de: Verifying Checksum 21:11:18 ec14aa9079de: Download complete 21:11:18 edb6bdbacee9: Verifying Checksum 21:11:18 edb6bdbacee9: Download complete 21:11:19 edb6bdbacee9: Pull complete 21:11:20 554e91adad29: Verifying Checksum 21:11:20 554e91adad29: Download complete 21:11:20 5f9638ab2659: Pull complete 21:11:21 8d51d6327a98: Verifying Checksum 21:11:21 8d51d6327a98: Download complete 21:11:21 2f466654f4bb: Verifying Checksum 21:11:21 2f466654f4bb: Download complete 21:11:33 8d51d6327a98: Pull complete 21:11:33 8b374f2dd631: Pull complete 21:11:33 ec14aa9079de: Pull complete 21:11:38 2f466654f4bb: Pull complete 21:11:41 554e91adad29: Pull complete 21:11:41 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:41 ---> 1e15ea492957 21:11:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:11:42 ---> Running in d3f3aebfebc5 21:11:43 Removing intermediate container d3f3aebfebc5 21:11:43 ---> 2be03cdcd57b 21:11:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:43 ---> Running in a69324af4d46 21:11:43 Removing intermediate container a69324af4d46 21:11:43 ---> 00ea477dceda 21:11:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:11:43 ---> Running in 1136b4b4e0e1 21:11:43 Removing intermediate container 1136b4b4e0e1 21:11:43 ---> 82ff5b8c8093 21:11:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:11:44 ---> Running in 60faffbc37ef 21:11:44 Removing intermediate container 60faffbc37ef 21:11:44 ---> 4536c8165880 21:11:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:44 ---> Running in d951990aaf26 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:46 (1/14) Installing libintl (0.21.1-r1) 21:11:46 (2/14) Installing eudev-libs (3.2.11-r4) 21:11:46 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:11:46 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:11:46 (5/14) Installing v4l-utils (1.22.1-r2) 21:11:46 (6/14) Installing udev-init-scripts (35-r1) 21:11:46 (7/14) Installing libblkid (2.38.1-r1) 21:11:46 (8/14) Installing xz-libs (5.2.9-r0) 21:11:46 (9/14) Installing zstd-libs (1.5.5-r0) 21:11:47 (10/14) Installing kmod-libs (30-r1) 21:11:47 (11/14) Installing eudev (3.2.11-r4) 21:11:47 (12/14) Installing eudev-dev (3.2.11-r4) 21:11:47 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:11:47 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:11:47 Executing busybox-1.35.0-r29.trigger 21:11:47 Executing eudev-3.2.11-r4.trigger 21:11:47 OK: 271 MiB in 67 packages 21:11:48 Removing intermediate container d951990aaf26 21:11:48 ---> a3e1005da786 21:11:48 Step 8/13 : WORKDIR /device-usb-camera 21:11:48 ---> Running in 8577c741da4f 21:11:48 Removing intermediate container 8577c741da4f 21:11:48 ---> 6002cd380830 21:11:48 Step 9/13 : COPY go.mod vendor* ./ 21:11:49 ---> 9978174d0a78 21:11:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:49 ---> Running in 14414ca2b218 21:12:45 Removing intermediate container 14414ca2b218 21:12:45 ---> 34824f42b1aa 21:12:45 Step 11/13 : COPY . . 21:12:46 ---> 1c929467abf2 21:12:46 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:12:46 ---> Running in ebbc412c0827 21:12:47  % Total % Received % Xferd Average Speed Time Time Time Current 21:12:47 Dload Upload Total Spent Left Speed 21:12:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4510 0 --:--:-- --:--:-- --:--:-- 4538 21:12:48 Removing intermediate container ebbc412c0827 21:12:48 ---> 6ab12941d857 21:12:48 Step 13/13 : RUN ${MAKE} 21:12:48 ---> Running in cc3b2429ea93 21:12:49 noop 21:12:50 Removing intermediate container cc3b2429ea93 21:12:50 ---> 9822f81f4d9f 21:12:50 Successfully built 9822f81f4d9f 21:12:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:50 + docker inspect -f . ci-base-image-arm64 21:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:50 prd-ubuntu20.04-docker-arm64-4c-16g-1182 does not seem to be running inside a container 21:12:50 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:12:52 $ docker top d8cec5355a3b1ec6963705e4406a6bb464d1463e18f06e538d54c64983595a3c -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:52 + go version 21:12:52 go version go1.20.6 linux/arm64 [Pipeline] } 21:12:52 $ docker stop --time=1 d8cec5355a3b1ec6963705e4406a6bb464d1463e18f06e538d54c64983595a3c 21:12:54 $ docker rm -f --volumes d8cec5355a3b1ec6963705e4406a6bb464d1463e18f06e538d54c64983595a3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:55 + docker inspect -f . ci-base-image-arm64 21:12:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:55 prd-ubuntu20.04-docker-arm64-4c-16g-1182 does not seem to be running inside a container 21:12:55 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:12:56 $ docker top 83f9e879418e0ff3f2b72cf3fce59f5d1d18a5cde8a390fb67bd49d9a0dfc566 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:56 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 21:12:57 + make test 21:12:57 go test ./... -coverprofile=coverage.out ./... 21:13:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:15:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:15:22 # github.com/edgexfoundry/device-usb-camera/internal/driver 21:15:22 internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string 21:15:26 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 21:15:26 FAIL 21:15:27 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 21:15:27 $ docker stop --time=1 83f9e879418e0ff3f2b72cf3fce59f5d1d18a5cde8a390fb67bd49d9a0dfc566 21:15:29 $ docker rm -f --volumes 83f9e879418e0ff3f2b72cf3fce59f5d1d18a5cde8a390fb67bd49d9a0dfc566 [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 21:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:31 21:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:31 arm64: Pulling from edgex-lftools-log-publisher 21:15:31 8998bd30e6a1: Pulling fs layer 21:15:31 04944245beec: Pulling fs layer 21:15:31 699f458cf7ca: Pulling fs layer 21:15:31 765212b225bb: Pulling fs layer 21:15:31 f23df028b6ca: Pulling fs layer 21:15:31 d65c8cfc05b1: Pulling fs layer 21:15:31 2437ff75d9bd: Pulling fs layer 21:15:31 765212b225bb: Waiting 21:15:31 d65c8cfc05b1: Waiting 21:15:31 f23df028b6ca: Waiting 21:15:31 2437ff75d9bd: Waiting 21:15:31 04944245beec: Verifying Checksum 21:15:31 04944245beec: Download complete 21:15:31 765212b225bb: Verifying Checksum 21:15:31 765212b225bb: Download complete 21:15:31 f23df028b6ca: Verifying Checksum 21:15:31 f23df028b6ca: Download complete 21:15:31 d65c8cfc05b1: Verifying Checksum 21:15:31 d65c8cfc05b1: Download complete 21:15:31 699f458cf7ca: Verifying Checksum 21:15:31 699f458cf7ca: Download complete 21:15:32 8998bd30e6a1: Download complete 21:15:35 2437ff75d9bd: Verifying Checksum 21:15:35 2437ff75d9bd: Download complete 21:15:37 8998bd30e6a1: Pull complete 21:15:37 04944245beec: Pull complete 21:15:39 699f458cf7ca: Pull complete 21:15:40 765212b225bb: Pull complete 21:15:43 f23df028b6ca: Pull complete 21:15:43 d65c8cfc05b1: Pull complete 21:16:01 2437ff75d9bd: Pull complete 21:16:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-1182 does not seem to be running inside a container 21:16:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:16:03 $ docker top cd17b9c64d6655dc826f9a4934eb990a2c08ab1bbcb6c0e2703333d74e2f9e74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:04 ---> job-cost.sh 21:16:04 lf-activate-venv: SKIPPING 21:16:04 INFO: No Stack... 21:16:05 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:06 INFO: Archiving Costs [Pipeline] sh 21:16:06 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 21:16:06 + cut -d, -f6 [Pipeline] lock 21:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] 21:16:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] did not exist. Created. 21:16:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:07 /w/workspace/device-usb-camera/2@tmp/durable-37ba82c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:07 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:07 Warning: overwriting stash ‘stack-cost’ 21:16:08 Stashed 1 file(s) [Pipeline] } 21:16:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:08 $ docker stop --time=1 cd17b9c64d6655dc826f9a4934eb990a2c08ab1bbcb6c0e2703333d74e2f9e74 21:16:09 $ docker rm -f --volumes cd17b9c64d6655dc826f9a4934eb990a2c08ab1bbcb6c0e2703333d74e2f9e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:16:10 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 21:16:11 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 21:16:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:16:11 total 16 21:16:11 drwxr-xr-x 3 root root 4096 Jul 14 21:10 . 21:16:11 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:10 .. 21:16:11 drwxr-xr-x 2 root root 4096 Jul 14 21:10 cost 21:16:11 -rw-r--r-- 1 root root 89 Jul 14 21:10 cost.csv 21:16:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 21:16:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:16:11 total 16 21:16:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 21:10 . 21:16:11 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:10 .. 21:16:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 21:10 cost 21:16:11 -rw-r--r-- 1 jenkins jenkins 89 Jul 14 21:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:12 ---> package-listing.sh 21:16:12 ++ tr '[:upper:]' '[:lower:]' 21:16:12 ++ facter osfamily 21:16:12 + OS_FAMILY=debian 21:16:12 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 21:16:12 + START_PACKAGES=/tmp/packages_start.txt 21:16:12 + END_PACKAGES=/tmp/packages_end.txt 21:16:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:12 + PACKAGES=/tmp/packages_start.txt 21:16:12 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:16:12 + PACKAGES=/tmp/packages_end.txt 21:16:12 + case "${OS_FAMILY}" in 21:16:12 + dpkg -l 21:16:12 + grep '^ii' 21:16:12 + '[' -f /tmp/packages_start.txt ']' 21:16:12 + '[' -f /tmp/packages_end.txt ']' 21:16:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:12 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:16:12 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 21:16:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo 21:16:12 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:16:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:13 prd-ubuntu20.04-docker-8c-8g-1181 does not seem to be running inside a container 21:16:13 $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 21:16:13 $ docker top c5e57212a2b757a0332c81cbadf1811497519786c53f3aead44a38e8f1076177 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:13 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:14 + ls /var/log/sa-host 21:16:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:14 provisioning config files... 21:16:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config11766673549001585064tmp [Pipeline] { [Pipeline] echo 21:16:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:14 ---> create-netrc.sh [Pipeline] } 21:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:15 ---> python-tools-install.sh [Pipeline] echo 21:16:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:15 ---> sudo-logs.sh 21:16:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:15 ---> job-cost.sh 21:16:15 lf-activate-venv: SKIPPING 21:16:15 DEBUG: total: 0.2199999988079071 21:16:15 INFO: Retrieving Stack Cost... 21:16:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:16 INFO: Archiving Costs [Pipeline] echo 21:16:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:17 ---> logs-deploy.sh 21:16:17 lf-activate-venv: SKIPPING 21:16:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/2 21:16:17 INFO: archiving workspace using pattern(s): 21:16:18 Archives upload complete. 21:16:18 INFO: archiving logs to Nexus