Pull request #126 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 eace6589c3cbf428f520f2fa351df3c718b4124b rather than 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c Obtained Jenkinsfile from eace6589c3cbf428f520f2fa351df3c718b4124b 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-ssh12281431703301365079.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12401991526994941184.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-126/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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3321823704668043143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10813296147788061525.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-126/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-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh69434434158935558.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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-1768’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1773 in /w/workspace/foundry_device-usb-camera_PR-126 [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-126 # 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/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eace6589c3cbf428f520f2fa351df3c718b4124b into PR head commit 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c Merge succeeded, producing 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c Checking out Revision 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c (PR-126) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c # 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 eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c # timeout=10 Commit message: "feat!: changed the go module to the earlier version" > git rev-list --no-walk 8695117d0439de31e4a5bd3628f6c07a3c94d60c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:16:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:16:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:16:03 ========================================================= 00:16:03 EdgeX Global Pipelines Version Info 00:16:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:16:04 ------------------- 00:16:04 stable info: 00:16:04 ------------------- 00:16:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:16:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:16:04 Message: update stable to v1.0.244 00:16:04 ------------------- 00:16:04 experimental info: 00:16:04 ------------------- 00:16:04 Commited By: **** collab-it+edgex@linuxfoundation.org 00:16:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:16:04 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b3d2b5 [Pipeline] echo 00:16:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:05 provisioning config files... 00:16:05 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config11273763562913521474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:05 ---> docker-login.sh 00:16:05 nexus3.edgexfoundry.org:10001 00:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:06 Configure a credential helper to remove this warning. See 00:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:06 00:16:06 Login Succeeded 00:16:06 nexus3.edgexfoundry.org:10002 00:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:06 Configure a credential helper to remove this warning. See 00:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:06 00:16:06 Login Succeeded 00:16:06 nexus3.edgexfoundry.org:10003 00:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:06 Configure a credential helper to remove this warning. See 00:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:06 00:16:06 Login Succeeded 00:16:06 nexus3.edgexfoundry.org:10004 00:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:06 Configure a credential helper to remove this warning. See 00:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:06 00:16:06 Login Succeeded 00:16:06 docker.io 00:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:07 Configure a credential helper to remove this warning. See 00:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:07 00:16:07 Login Succeeded 00:16:07 ---> docker-login.sh ends [Pipeline] } 00:16:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:16:07 + git rev-list -1 --merges 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c~1..7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c [Pipeline] echo 00:16:07 -----------> git rev-list -1 --merges 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c~1..7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c [false] [Pipeline] sh 00:16:07 + git log --format=format:%s -1 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c [Pipeline] echo 00:16:07 ========================================================= 00:16:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:16:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:08 + git log --format=format:%s -1 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c [Pipeline] echo 00:16:08 [semverPrep] GIT_COMMIT: 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c, Commit Message: feat!: changed the go module to the earlier version [Pipeline] echo 00:16:08 [semverPrep] This is not a build commit. [Pipeline] sh 00:16:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:16:08 + grep -v github /etc/ssh/ssh_known_hosts 00:16:08 + [ -e /tmp/ssh_known_hosts ] 00:16:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:16:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:16:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:16:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:08 00:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:09 0.1.4: Pulling from edgex-devops/py-git-semver 00:16:09 b85a868b505f: Pulling fs layer 00:16:09 e2be974225ed: Pulling fs layer 00:16:09 339a4e72a1f5: Pulling fs layer 00:16:09 988bab9f4d93: Pulling fs layer 00:16:09 1469e6f7b9e6: Pulling fs layer 00:16:09 eaf3925da568: Pulling fs layer 00:16:09 bab4dde63d76: Pulling fs layer 00:16:09 bde34c3a00c8: Pulling fs layer 00:16:09 b352a97aabf1: Pulling fs layer 00:16:09 4872d77fe225: Pulling fs layer 00:16:09 5851b861e8e6: Pulling fs layer 00:16:09 eaf3925da568: Waiting 00:16:09 bab4dde63d76: Waiting 00:16:09 bde34c3a00c8: Waiting 00:16:09 b352a97aabf1: Waiting 00:16:09 4872d77fe225: Waiting 00:16:09 5851b861e8e6: Waiting 00:16:09 988bab9f4d93: Waiting 00:16:09 1469e6f7b9e6: Waiting 00:16:09 e2be974225ed: Verifying Checksum 00:16:09 e2be974225ed: Download complete 00:16:09 988bab9f4d93: Verifying Checksum 00:16:09 988bab9f4d93: Download complete 00:16:09 1469e6f7b9e6: Verifying Checksum 00:16:09 1469e6f7b9e6: Download complete 00:16:09 eaf3925da568: Verifying Checksum 00:16:09 eaf3925da568: Download complete 00:16:09 339a4e72a1f5: Verifying Checksum 00:16:09 339a4e72a1f5: Download complete 00:16:09 bde34c3a00c8: Verifying Checksum 00:16:09 bde34c3a00c8: Download complete 00:16:09 b352a97aabf1: Download complete 00:16:09 4872d77fe225: Verifying Checksum 00:16:09 4872d77fe225: Download complete 00:16:09 5851b861e8e6: Verifying Checksum 00:16:09 5851b861e8e6: Download complete 00:16:09 b85a868b505f: Verifying Checksum 00:16:09 b85a868b505f: Download complete 00:16:09 bab4dde63d76: Verifying Checksum 00:16:09 bab4dde63d76: Download complete 00:16:10 b85a868b505f: Pull complete 00:16:11 e2be974225ed: Pull complete 00:16:11 339a4e72a1f5: Pull complete 00:16:11 988bab9f4d93: Pull complete 00:16:11 1469e6f7b9e6: Pull complete 00:16:12 eaf3925da568: Pull complete 00:16:14 bab4dde63d76: Pull complete 00:16:14 bde34c3a00c8: Pull complete 00:16:14 b352a97aabf1: Pull complete 00:16:14 4872d77fe225: Pull complete 00:16:14 5851b861e8e6: Pull complete 00:16:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:14 prd-ubuntu20.04-docker-8c-8g-1773 does not seem to be running inside a container 00:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@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-devops/py-git-semver:0.1.4 cat 00:16:22 $ docker top 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 -eo pid,comm 00:16:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:16:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:22 [ssh-agent] Looking for ssh-agent implementation... 00:16:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:22 $ docker exec 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 ssh-agent 00:16:23 SSH_AUTH_SOCK=/tmp/ssh-RZW67tJs3EVo/agent.32 00:16:23 SSH_AGENT_PID=38 00:16:23 Running ssh-add (command line suppressed) 00:16:23 Identity added: /w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_4749563281358625279.key (/w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_4749563281358625279.key) 00:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:23 + git tag --points-at HEAD [Pipeline] } 00:16:23 $ docker exec --env ******** --env ******** 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 ssh-agent -k 00:16:23 unset SSH_AUTH_SOCK; 00:16:23 unset SSH_AGENT_PID; 00:16:23 echo Agent pid 38 killed; 00:16:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:16:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:23 [ssh-agent] Looking for ssh-agent implementation... 00:16:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:23 $ docker exec 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 ssh-agent 00:16:23 SSH_AUTH_SOCK=/tmp/ssh-ivejg6aymHeH/agent.70 00:16:23 SSH_AGENT_PID=76 00:16:23 Running ssh-add (command line suppressed) 00:16:23 Identity added: /w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_17585460476376182406.key (/w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_17585460476376182406.key) 00:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:24 + git semver init 00:16:24 2023-01-11 00:16:24,399 [run_init] DEBUG init version:0.0.0 force:False 00:16:24 2023-01-11 00:16:24,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-126/.semver 00:16:24 2023-01-11 00:16:24,401 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-126/.semver 00:16:24 2023-01-11 00:16:24,401 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-126/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-126, universal_newlines=False, shell=None, istream=None) 00:16:25 2023-01-11 00:16:25,263 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-126/.git/info/exclude 00:16:25 2023-01-11 00:16:25,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 with force:False 00:16:25 2023-01-11 00:16:25,264 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 00:16:25 2023-01-11 00:16:25,268 [execute] INFO git cat-file --batch-check 00:16:25 2023-01-11 00:16:25,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) 00:16:25 2023-01-11 00:16:25,274 [execute] INFO git cat-file --batch 00:16:25 2023-01-11 00:16:25,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) 00:16:25 2023-01-11 00:16:25,280 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 00:16:25 0.0.0 [Pipeline] } 00:16:25 $ docker exec --env ******** --env ******** 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 ssh-agent -k 00:16:25 unset SSH_AUTH_SOCK; 00:16:25 unset SSH_AGENT_PID; 00:16:25 echo Agent pid 76 killed; 00:16:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:25 + git semver [Pipeline] } 00:16:26 $ docker stop --time=1 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 00:16:27 $ docker rm -f --volumes 2410e7a9ef9f908f574d6a80ca1a75edc4a0e1905f08c689f925958df9002380 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:16:28 Stashed 1 file(s) [Pipeline] echo 00:16:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:28 provisioning config files... 00:16:28 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config170394752238211737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:28 ---> docker-login.sh 00:16:28 nexus3.edgexfoundry.org:10001 00:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:28 Configure a credential helper to remove this warning. See 00:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:28 00:16:28 Login Succeeded 00:16:28 nexus3.edgexfoundry.org:10002 00:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 nexus3.edgexfoundry.org:10003 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 nexus3.edgexfoundry.org:10004 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 docker.io 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 ---> docker-login.sh ends [Pipeline] } 00:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:29 ========================================================= 00:16:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:16:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:16:29 Sending build context to Docker daemon 1.76MB 00:16:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:16:29 Step 2/13 : FROM ${BASE} AS builder 00:16:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:29 213ec9aee27d: Pulling fs layer 00:16:29 4583459ba037: Pulling fs layer 00:16:29 93c1e223e6f2: Pulling fs layer 00:16:29 53926ce57604: Pulling fs layer 00:16:29 21b2b0c7a3f4: Pulling fs layer 00:16:29 22ff95d597cd: Pulling fs layer 00:16:29 12d6caf4c0d1: Pulling fs layer 00:16:29 96b7cbca73a9: Pulling fs layer 00:16:29 a7acece74701: Pulling fs layer 00:16:29 53926ce57604: Waiting 00:16:29 21b2b0c7a3f4: Waiting 00:16:29 22ff95d597cd: Waiting 00:16:29 12d6caf4c0d1: Waiting 00:16:29 96b7cbca73a9: Waiting 00:16:29 a7acece74701: Waiting 00:16:29 93c1e223e6f2: Verifying Checksum 00:16:29 93c1e223e6f2: Download complete 00:16:30 4583459ba037: Download complete 00:16:30 21b2b0c7a3f4: Verifying Checksum 00:16:30 21b2b0c7a3f4: Download complete 00:16:30 22ff95d597cd: Verifying Checksum 00:16:30 22ff95d597cd: Download complete 00:16:30 213ec9aee27d: Verifying Checksum 00:16:30 12d6caf4c0d1: Download complete 00:16:30 213ec9aee27d: Pull complete 00:16:31 a7acece74701: Verifying Checksum 00:16:31 a7acece74701: Download complete 00:16:31 96b7cbca73a9: Verifying Checksum 00:16:31 96b7cbca73a9: Download complete 00:16:31 53926ce57604: Verifying Checksum 00:16:31 53926ce57604: Download complete 00:16:31 4583459ba037: Pull complete 00:16:32 93c1e223e6f2: Pull complete 00:16:38 53926ce57604: Pull complete 00:16:39 21b2b0c7a3f4: Pull complete 00:16:40 22ff95d597cd: Pull complete 00:16:41 12d6caf4c0d1: Pull complete 00:16:43 Still waiting to schedule task 00:16:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1772’ is offline 00:16:43 96b7cbca73a9: Pull complete 00:16:44 a7acece74701: Pull complete 00:16:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:16:44 ---> db6d94c90886 00:16:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:16:56 ---> Running in c8691e3a02e3 00:16:56 Removing intermediate container c8691e3a02e3 00:16:56 ---> 074d3efa06c8 00:16:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:56 ---> Running in 80e9054e0238 00:16:56 Removing intermediate container 80e9054e0238 00:16:56 ---> ea9871c35380 00:16:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git curl" 00:16:56 ---> Running in 960778f69935 00:16:56 Removing intermediate container 960778f69935 00:16:56 ---> ad222db137fd 00:16:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:16:56 ---> Running in 1611451fb0f3 00:16:56 Removing intermediate container 1611451fb0f3 00:16:56 ---> 2d1a65eccfa1 00:16:56 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:56 ---> Running in c1c99816c8ee 00:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:16:56 (1/80) Installing mesa (21.3.8-r2) 00:16:56 (2/80) Installing libxau (1.0.9-r0) 00:16:56 (3/80) Installing libxdmcp (1.1.3-r0) 00:16:56 (4/80) Installing libxcb (1.15-r0) 00:16:56 (5/80) Installing libx11 (1.8-r0) 00:16:56 (6/80) Installing libxext (1.3.4-r0) 00:16:56 (7/80) Installing libxfixes (6.0.0-r0) 00:16:56 (8/80) Installing libxxf86vm (1.1.4-r2) 00:16:56 (9/80) Installing libpciaccess (0.16-r0) 00:16:56 (10/80) Installing libdrm (2.4.110-r0) 00:16:56 (11/80) Installing mesa-glapi (21.3.8-r2) 00:16:56 (12/80) Installing libxshmfence (1.3-r1) 00:16:56 (13/80) Installing mesa-gl (21.3.8-r2) 00:16:56 (14/80) Installing icu-data-full (71.1-r2) 00:16:56 (15/80) Installing libice (1.0.10-r0) 00:16:56 (16/80) Installing libuuid (2.38-r1) 00:16:56 (17/80) Installing libsm (1.2.3-r0) 00:16:56 (18/80) Installing libxt (1.2.1-r0) 00:16:56 (19/80) Installing libxmu (1.1.3-r0) 00:16:56 (20/80) Installing xset (1.2.4-r0) 00:16:56 (21/80) Installing xprop (1.2.5-r0) 00:16:56 (22/80) Installing xdg-utils (1.1.3-r3) 00:16:56 (23/80) Installing dbus-libs (1.14.4-r0) 00:16:56 (24/80) Installing libffi (3.4.2-r1) 00:16:56 (25/80) Installing libintl (0.21-r2) 00:16:56 (26/80) Installing libblkid (2.38-r1) 00:16:56 (27/80) Installing libmount (2.38-r1) 00:16:56 (28/80) Installing pcre (8.45-r2) 00:16:56 (29/80) Installing glib (2.72.1-r0) 00:16:56 (30/80) Installing icu-libs (71.1-r2) 00:16:56 (31/80) Installing libpcre2-16 (10.40-r0) 00:16:56 (32/80) Installing zstd-libs (1.5.2-r1) 00:16:56 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 00:16:56 (34/80) Installing hicolor-icon-theme (0.17-r1) 00:16:56 (35/80) Installing wayland-libs-server (1.20.0-r0) 00:16:56 (36/80) Installing mesa-gbm (21.3.8-r2) 00:16:56 (37/80) Installing wayland-libs-client (1.20.0-r0) 00:16:56 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 00:16:56 (39/80) Installing libxcomposite (0.4.5-r0) 00:16:56 (40/80) Installing libbz2 (1.0.8-r1) 00:16:56 (41/80) Installing libpng (1.6.37-r1) 00:16:56 (42/80) Installing freetype (2.12.1-r0) 00:16:56 (43/80) Installing fontconfig (2.14.0-r0) 00:16:56 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 00:16:56 (45/80) Installing wayland-libs-egl (1.20.0-r0) 00:16:56 (46/80) Installing xkeyboard-config (2.35.1-r0) 00:16:56 (47/80) Installing xz-libs (5.2.5-r1) 00:16:56 (48/80) Installing libxml2 (2.9.14-r2) 00:16:56 (49/80) Installing libxkbcommon (1.4.1-r0) 00:16:56 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 00:16:56 (51/80) Installing mesa-egl (21.3.8-r2) 00:16:56 (52/80) Installing avahi-libs (0.8-r6) 00:16:56 (53/80) Installing nettle (3.7.3-r0) 00:16:56 (54/80) Installing p11-kit (0.24.1-r0) 00:16:56 (55/80) Installing libtasn1 (4.18.0-r1) 00:16:56 (56/80) Installing libunistring (1.0-r0) 00:16:56 (57/80) Installing gnutls (3.7.7-r0) 00:16:57 (58/80) Installing cups-libs (2.4.2-r0) 00:16:57 (59/80) Installing graphite2 (1.3.14-r1) 00:16:57 (60/80) Installing harfbuzz (4.3.0-r0) 00:16:57 (61/80) Installing libevdev (1.12.1-r0) 00:16:57 (62/80) Installing mtdev (1.1.6-r0) 00:16:57 (63/80) Installing eudev-libs (3.2.11-r0) 00:16:57 (64/80) Installing libinput-libs (1.20.1-r0) 00:16:57 (65/80) Installing libjpeg-turbo (2.1.3-r1) 00:16:57 (66/80) Installing xcb-util-wm (0.4.1-r1) 00:16:57 (67/80) Installing xcb-util (0.4.0-r3) 00:16:57 (68/80) Installing xcb-util-image (0.4.0-r1) 00:16:57 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 00:16:57 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 00:16:57 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 00:16:57 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 00:16:57 (73/80) Installing v4l-utils-libs (1.22.1-r1) 00:16:57 (74/80) Installing v4l-utils (1.22.1-r1) 00:16:57 (75/80) Installing udev-init-scripts (35-r0) 00:16:57 Executing udev-init-scripts-35-r0.post-install 00:16:57 (76/80) Installing kmod-libs (29-r2) 00:16:57 (77/80) Installing eudev (3.2.11-r0) 00:16:57 (78/80) Installing eudev-dev (3.2.11-r0) 00:16:57 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:16:57 (80/80) Installing v4l-utils-dev (1.22.1-r1) 00:16:57 Executing busybox-1.35.0-r17.trigger 00:16:57 Executing eudev-3.2.11-r0.trigger 00:16:57 OK: 330 MiB in 131 packages 00:17:07 Removing intermediate container c1c99816c8ee 00:17:07 ---> 96ad39b91977 00:17:07 Step 8/13 : WORKDIR /device-usb-camera 00:17:07 ---> Running in a9f22f7d6f9f 00:17:09 Removing intermediate container a9f22f7d6f9f 00:17:09 ---> 4baccbdc2167 00:17:09 Step 9/13 : COPY go.mod vendor* ./ 00:17:11 ---> 42069444ee54 00:17:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:11 ---> Running in 48ae256e51a1 00:18:07 Removing intermediate container 48ae256e51a1 00:18:07 ---> caa02b024393 00:18:07 Step 11/13 : COPY . . 00:18:07 ---> 964672ace160 00:18:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:18:07 ---> Running in 1901c0285306 00:18:07  % Total    % Received % Xferd  Average Speed Time Time Time Current 00:18:07 Dload Upload Total Spent Left Speed 00:18:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0   8087      0 --:--:-- --:--:-- --:--:--  8106 00:18:07 Removing intermediate container 1901c0285306 00:18:07 ---> e28f435a340d 00:18:07 Step 13/13 : RUN ${MAKE} 00:18:07 ---> Running in 2d4a7b4db544 00:18:07 noop 00:18:07 Removing intermediate container 2d4a7b4db544 00:18:07 ---> 8cf99bcaac1a 00:18:07 Successfully built 8cf99bcaac1a 00:18:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:08 + docker inspect -f . ci-base-image-x86_64 00:18:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:08 prd-ubuntu20.04-docker-8c-8g-1773 does not seem to be running inside a container 00:18:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@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 ******** -e ******** ci-base-image-x86_64 cat 00:18:08 $ docker top b142c8d60b74eaaa22c200c2064e5c9361283fc373656dfe74b7952c8408d3de -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:09 + go version 00:18:09 go version go1.18.7 linux/amd64 [Pipeline] } 00:18:09 $ docker stop --time=1 b142c8d60b74eaaa22c200c2064e5c9361283fc373656dfe74b7952c8408d3de 00:18:10 $ docker rm -f --volumes b142c8d60b74eaaa22c200c2064e5c9361283fc373656dfe74b7952c8408d3de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:10 + docker inspect -f . ci-base-image-x86_64 00:18:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:10 prd-ubuntu20.04-docker-8c-8g-1773 does not seem to be running inside a container 00:18:10 $ 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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@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 ******** -e ******** ci-base-image-x86_64 cat 00:18:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1774 in /w/workspace/foundry_device-usb-camera_PR-126 00:18:11 $ docker top db8ca6b3d546b798534c129ad862a8ff3eb970024623b106ed476447076cbac4 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 00:18:11 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 00:18:11 Selected Git installation does not exist. Using Default 00:18:11 The recommended git tool is: NONE 00:18:11 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-126 [Pipeline] fileExists [Pipeline] sh 00:18:11 + make test 00:18:11 go test ./... -coverprofile=coverage.out ./... 00:18:12 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:18:16 using credential edgex-jenkins-ssh 00:18:16 Cloning the remote Git repository 00:18:16 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:18:16 > git init /w/workspace/device-usb-camera/2 # timeout=10 00:18:16 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:18:16 > git --version # timeout=10 00:18:16 > git --version # 'git version 2.25.1' 00:18:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:19 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:18:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:20 Merging remotes/origin/main commit eace6589c3cbf428f520f2fa351df3c718b4124b into PR head commit 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c 00:18:20 Merge succeeded, producing 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c 00:18:20 Checking out Revision 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c (PR-126) 00:18:20 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:18:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:18:20 > git config core.sparsecheckout # timeout=10 00:18:20 > git checkout -f 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c # timeout=10 00:18:20 > git remote # timeout=10 00:18:20 > git config --get remote.origin.url # timeout=10 00:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:20 > git merge eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 00:18:20 > git rev-parse HEAD^{commit} # timeout=10 00:18:20 > git config core.sparsecheckout # timeout=10 00:18:21 > git checkout -f 7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c # timeout=10 00:18:22 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:18:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 00:18:24 Commit message: "feat!: changed the go module to the earlier version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:25 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:25 Dload Upload Total Spent Left Speed 00:18:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 00:18:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:26 + sudo tee /etc/docker/daemon.new 00:18:26 { 00:18:26 "registry-mirrors": [ 00:18:26 "https://nexus3.edgexfoundry.org:10001" 00:18:26 ], 00:18:26 "bip": "10.250.0.254/24", 00:18:26 "hosts": [ 00:18:26 "tcp://0.0.0.0:5555", 00:18:26 "unix:///var/run/docker.sock" 00:18:26 ], 00:18:26 "mtu": 1458, 00:18:26 "selinux-enabled": true, 00:18:26 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:26 } [Pipeline] sh 00:18:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:26 + sudo service docker restart 00:18:27 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:18:27 go vet ./... 00:18:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:30 ./bin/test-attribution-txt.sh [Pipeline] echo 00:18:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:18:30 $ docker stop --time=1 db8ca6b3d546b798534c129ad862a8ff3eb970024623b106ed476447076cbac4 00:18:33 $ docker rm -f --volumes db8ca6b3d546b798534c129ad862a8ff3eb970024623b106ed476447076cbac4 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:18:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:34 + ls -al . 00:18:34 total 208 00:18:34 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:18 . 00:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:15 .. 00:18:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 00:18 .git 00:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:15 .github 00:18:34 -rw-rw-r-- 1 jenkins jenkins 414 Jan 11 00:15 .gitignore 00:18:34 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 00:15 .golangci.yml 00:18:34 -rw-rw-r-- 1 jenkins jenkins 77 Jan 11 00:15 .hadolint.yml 00:18:34 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:16 .semver 00:18:34 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 11 00:15 Attribution.txt 00:18:34 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 11 00:15 CHANGELOG.md 00:18:34 -rw-rw-r-- 1 jenkins jenkins 2315 Jan 11 00:15 Dockerfile 00:18:34 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 00:15 GOVERNANCE.md 00:18:34 -rw-rw-r-- 1 jenkins jenkins 659 Jan 11 00:15 Jenkinsfile 00:18:34 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 00:15 LICENSE 00:18:34 -rw-rw-r-- 1 jenkins jenkins 2303 Jan 11 00:15 Makefile 00:18:34 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 00:15 OWNERS.md 00:18:34 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 11 00:15 README.md 00:18:34 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 00:16 VERSION 00:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:15 bin 00:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:15 cmd 00:18:34 -rw-r--r-- 1 jenkins jenkins 30666 Jan 11 00:18 coverage.out 00:18:34 -rwxrwxr-x 1 jenkins jenkins 140 Jan 11 00:15 docker-entrypoint.sh 00:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:15 docs 00:18:34 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 11 00:15 go.mod 00:18:34 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 11 00:15 go.sum 00:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:15 internal 00:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:15 snap 00:18:34 -rw-rw-r-- 1 jenkins jenkins 231 Jan 11 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:34 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c --label arch=amd64 --label version=0.0.0 . 00:18:34 Sending build context to Docker daemon 1.791MB 00:18:34 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:18:34 Step 2/35 : FROM ${BASE} AS builder 00:18:34 ---> 8cf99bcaac1a 00:18:34 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:18:34 ---> Running in 913845a80b4d 00:18:35 Removing intermediate container 913845a80b4d 00:18:35 ---> b8d43373790d 00:18:35 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:18:35 ---> Running in 66ec3947da8b 00:18:35 Removing intermediate container 66ec3947da8b 00:18:35 ---> 03e279f3882f 00:18:35 Step 5/35 : ARG ALPINE_PKG_BASE="make git curl" 00:18:35 ---> Running in 4b04dafbb9df 00:18:35 Removing intermediate container 4b04dafbb9df 00:18:35 ---> 55d2399eedef 00:18:35 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:18:35 ---> Running in 4caec7dc3cc8 00:18:35 Removing intermediate container 4caec7dc3cc8 00:18:35 ---> 7c7bc8c7e5c0 00:18:35 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:35 ---> Running in ffbece577845 00:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:18:36 OK: 330 MiB in 131 packages 00:18:36 Removing intermediate container ffbece577845 00:18:36 ---> 024d7c1b8d22 00:18:36 Step 8/35 : WORKDIR /device-usb-camera 00:18:36 ---> Running in c3d8fdde0d60 00:18:36 Removing intermediate container c3d8fdde0d60 00:18:36 ---> b993b11f27a1 00:18:36 Step 9/35 : COPY go.mod vendor* ./ 00:18:36 ---> 27ae83c94ae7 00:18:36 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:18:36 ---> Running in 80f0885d3a61 00:18:37 Removing intermediate container 80f0885d3a61 00:18:37 ---> 1d1dac8babbd 00:18:37 Step 11/35 : COPY . . 00:18:37 ---> 036c7f2bd344 00:18:37 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:18:37 ---> Running in 660638a833ed 00:18:37  % Total % Received % Xferd  Average Speed Time Time Time Current 00:18:37 Dload Upload Total Spent Left Speed 00:18:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44734 0 --:--:-- --:--:-- --:--:-- 46173 00:18:38 Removing intermediate container 660638a833ed 00:18:38 ---> 204d3d95f843 00:18:38 Step 13/35 : RUN ${MAKE} 00:18:38 ---> Running in fe7e03f32b88 00:18:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:45 provisioning config files... 00:18:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config7842383912400916009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:45 ---> docker-login.sh 00:18:45 nexus3.edgexfoundry.org:10001 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10002 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10003 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 # github.com/vladimirvivien/go4vl/v4l2 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:11:23: undefined: ColorspaceType 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:12:23: undefined: XferFunctionType 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:13:23: undefined: YCbCrEncodingType 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:14:23: undefined: QuantizationType 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:11:15: undefined: Capability 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:12:14: undefined: IOType 00:18:46 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:23:15: undefined: BufType 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10004 00:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:47 Configure a credential helper to remove this warning. See 00:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:47 00:18:47 Login Succeeded 00:18:47 docker.io 00:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:47 Configure a credential helper to remove this warning. See 00:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:47 00:18:47 Login Succeeded 00:18:47 ---> docker-login.sh ends [Pipeline] } 00:18:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:47 ========================================================= 00:18:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:18:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:18:48 Sending build context to Docker daemon 1.171MB 00:18:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:18:48 Step 2/13 : FROM ${BASE} AS builder 00:18:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:48 9b18e9b68314: Pulling fs layer 00:18:48 35d82f9e3411: Pulling fs layer 00:18:48 e16973657156: Pulling fs layer 00:18:48 fc693d55d65f: Pulling fs layer 00:18:48 7e9fc2657dce: Pulling fs layer 00:18:48 dda99020689f: Pulling fs layer 00:18:48 db1c61fa0a46: Pulling fs layer 00:18:48 891c053d2c06: Pulling fs layer 00:18:48 fc693d55d65f: Waiting 00:18:48 7e9fc2657dce: Waiting 00:18:48 dda99020689f: Waiting 00:18:48 891c053d2c06: Waiting 00:18:48 db1c61fa0a46: Waiting 00:18:48 e16973657156: Download complete 00:18:48 35d82f9e3411: Verifying Checksum 00:18:48 35d82f9e3411: Download complete 00:18:48 7e9fc2657dce: Verifying Checksum 00:18:48 7e9fc2657dce: Download complete 00:18:48 dda99020689f: Verifying Checksum 00:18:48 dda99020689f: Download complete 00:18:48 9b18e9b68314: Verifying Checksum 00:18:48 9b18e9b68314: Download complete 00:18:49 9b18e9b68314: Pull complete 00:18:49 891c053d2c06: Verifying Checksum 00:18:49 891c053d2c06: Download complete 00:18:50 35d82f9e3411: Pull complete 00:18:50 e16973657156: Pull complete 00:18:51 db1c61fa0a46: Verifying Checksum 00:18:51 db1c61fa0a46: Download complete 00:18:51 fc693d55d65f: Verifying Checksum 00:18:51 fc693d55d65f: Download complete 00:18:52 make: *** [Makefile:29: cmd/device-usb-camera] Error 2 00:18:53 The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:53 00:18:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:53 latest: Pulling from edgex-lftools-log-publisher 00:18:53 5eb5b503b376: Pulling fs layer 00:18:53 5c69ac0246d0: Pulling fs layer 00:18:53 ec43610c2a17: Pulling fs layer 00:18:53 3a2ae6a8a46f: Pulling fs layer 00:18:53 33b1e0a273af: Pulling fs layer 00:18:53 5d3b04190fa2: Pulling fs layer 00:18:53 2f39f015ded8: Pulling fs layer 00:18:53 33b1e0a273af: Waiting 00:18:53 5d3b04190fa2: Waiting 00:18:53 3a2ae6a8a46f: Waiting 00:18:53 2f39f015ded8: Waiting 00:18:53 5c69ac0246d0: Download complete 00:18:53 3a2ae6a8a46f: Verifying Checksum 00:18:53 3a2ae6a8a46f: Download complete 00:18:53 33b1e0a273af: Verifying Checksum 00:18:53 33b1e0a273af: Download complete 00:18:53 5d3b04190fa2: Verifying Checksum 00:18:53 ec43610c2a17: Verifying Checksum 00:18:53 ec43610c2a17: Download complete 00:18:53 5eb5b503b376: Verifying Checksum 00:18:53 5eb5b503b376: Download complete 00:18:54 2f39f015ded8: Download complete 00:18:55 5eb5b503b376: Pull complete 00:18:55 5c69ac0246d0: Pull complete 00:18:55 ec43610c2a17: Pull complete 00:18:55 3a2ae6a8a46f: Pull complete 00:18:55 33b1e0a273af: Pull complete 00:18:55 5d3b04190fa2: Pull complete 00:19:00 2f39f015ded8: Pull complete 00:19:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:00 prd-ubuntu20.04-docker-8c-8g-1773 does not seem to be running inside a container 00:19:00 $ 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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:19:04 fc693d55d65f: Pull complete 00:19:04 7e9fc2657dce: Pull complete 00:19:04 dda99020689f: Pull complete 00:19:05 $ docker top 5d928a18f29de89af9e53bffd750e8c7420a44ddecddbab283198bdcc52e97a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:05 ---> job-cost.sh 00:19:05 lf-activate-venv: SKIPPING 00:19:05 INFO: No Stack... 00:19:05 INFO: Retrieving Pricing Info for: v3-standard-8 00:19:06 INFO: Archiving Costs [Pipeline] sh 00:19:06 + cat /w/workspace/foundry_device-usb-camera_PR-126/archives/cost.csv 00:19:06 + cut -d, -f6 [Pipeline] lock 00:19:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] 00:19:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] did not exist. Created. 00:19:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:07 + echo total: 0.2199999988079071 [Pipeline] stash 00:19:07 Stashed 1 file(s) [Pipeline] } 00:19:07 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:19:07 $ docker stop --time=1 5d928a18f29de89af9e53bffd750e8c7420a44ddecddbab283198bdcc52e97a5 00:19:08 $ docker rm -f --volumes 5d928a18f29de89af9e53bffd750e8c7420a44ddecddbab283198bdcc52e97a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:08 Failed in branch amd64 00:19:10 db1c61fa0a46: Pull complete 00:19:12 891c053d2c06: Pull complete 00:19:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:19:12 ---> f96f9c87975a 00:19:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:19:14 ---> Running in 679f421575c9 00:19:14 Removing intermediate container 679f421575c9 00:19:14 ---> 02d006999b1a 00:19:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:19:14 ---> Running in b00275da3198 00:19:15 Removing intermediate container b00275da3198 00:19:15 ---> c46f68fac468 00:19:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git curl" 00:19:15 ---> Running in d7b59e851773 00:19:15 Removing intermediate container d7b59e851773 00:19:15 ---> 72da9d76e157 00:19:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:19:15 ---> Running in 9d681a27afbf 00:19:15 Removing intermediate container 9d681a27afbf 00:19:15 ---> 95a5774f5253 00:19:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:15 ---> Running in 73ce25902233 00:19:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:19:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:19:18 (1/14) Installing libintl (0.21-r2) 00:19:18 (2/14) Installing eudev-libs (3.2.11-r0) 00:19:18 (3/14) Installing libjpeg-turbo (2.1.3-r1) 00:19:18 (4/14) Installing v4l-utils-libs (1.22.1-r1) 00:19:18 (5/14) Installing v4l-utils (1.22.1-r1) 00:19:18 (6/14) Installing udev-init-scripts (35-r0) 00:19:18 Executing udev-init-scripts-35-r0.post-install 00:19:18 (7/14) Installing libblkid (2.38-r1) 00:19:18 (8/14) Installing xz-libs (5.2.5-r1) 00:19:18 (9/14) Installing zstd-libs (1.5.2-r1) 00:19:18 (10/14) Installing kmod-libs (29-r2) 00:19:18 (11/14) Installing eudev (3.2.11-r0) 00:19:18 (12/14) Installing eudev-dev (3.2.11-r0) 00:19:18 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:19:18 (14/14) Installing v4l-utils-dev (1.22.1-r1) 00:19:18 Executing busybox-1.35.0-r17.trigger 00:19:18 Executing eudev-3.2.11-r0.trigger 00:19:18 OK: 228 MiB in 65 packages 00:19:20 Removing intermediate container 73ce25902233 00:19:20 ---> ecea1a6ac983 00:19:20 Step 8/13 : WORKDIR /device-usb-camera 00:19:20 ---> Running in a28c0b35392e 00:19:20 Removing intermediate container a28c0b35392e 00:19:20 ---> 640354da0287 00:19:20 Step 9/13 : COPY go.mod vendor* ./ 00:19:20 ---> 96d7fd7f0532 00:19:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:20 ---> Running in 1330714230c4 00:20:17 Removing intermediate container 1330714230c4 00:20:17 ---> 8a1c38baa767 00:20:17 Step 11/13 : COPY . . 00:20:17 ---> 41972ca47351 00:20:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:20:17 ---> Running in b55c9b484355 00:20:17  % Total % Received % Xferd Average Speed Time Time Time Current 00:20:17  Dload Upload Total Spent Left Speed 00:20:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13749 0 --:--:-- --:--:-- --:--:-- 13973 00:20:17 Removing intermediate container b55c9b484355 00:20:17 ---> f81965301855 00:20:17 Step 13/13 : RUN ${MAKE} 00:20:17 ---> Running in 61f941b35fd3 00:20:18 noop 00:20:18 Removing intermediate container 61f941b35fd3 00:20:18 ---> 5a4a41047b4a 00:20:19 Successfully built 5a4a41047b4a 00:20:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:19 + docker inspect -f . ci-base-image-arm64 00:20:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:19 prd-ubuntu20.04-docker-arm64-4c-16g-1774 does not seem to be running inside a container 00:20:19 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:20 $ docker top a16c9ed9b3d9f40e3a75618128b756fe9236e3608193845ca252db3113d59409 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:21 + go version 00:20:21 go version go1.18.7 linux/arm64 [Pipeline] } 00:20:21 $ docker stop --time=1 a16c9ed9b3d9f40e3a75618128b756fe9236e3608193845ca252db3113d59409 00:20:23 $ docker rm -f --volumes a16c9ed9b3d9f40e3a75618128b756fe9236e3608193845ca252db3113d59409 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:23 + docker inspect -f . ci-base-image-arm64 00:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:24 prd-ubuntu20.04-docker-arm64-4c-16g-1774 does not seem to be running inside a container 00:20:24 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:25 $ docker top 6441e835e1eaf0ad06bf93061aa4fc73f66a5e7716f9640eaf3342a1ca5b798e -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:25 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 00:20:26 + make test 00:20:26 go test ./... -coverprofile=coverage.out ./... 00:20:28 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:21:49 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:21:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 1.9% of statements 00:21:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:21:55 go vet ./... 00:22:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:22:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:22:17 ./bin/test-attribution-txt.sh [Pipeline] echo 00:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:22:17 $ docker stop --time=1 6441e835e1eaf0ad06bf93061aa4fc73f66a5e7716f9640eaf3342a1ca5b798e 00:22:19 $ docker rm -f --volumes 6441e835e1eaf0ad06bf93061aa4fc73f66a5e7716f9640eaf3342a1ca5b798e [Pipeline] // withDockerContainer [Pipeline] sh 00:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:22:20 Warning: overwriting stash ‘coverage-report’ 00:22:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:22:21 + ls -al . 00:22:21 total 204 00:22:21 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 00:20 . 00:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:18 .. 00:22:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 00:18 .git 00:22:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:18 .github 00:22:21 -rw-rw-r-- 1 jenkins jenkins 414 Jan 11 00:18 .gitignore 00:22:21 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 00:18 .golangci.yml 00:22:21 -rw-rw-r-- 1 jenkins jenkins 77 Jan 11 00:18 .hadolint.yml 00:22:21 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 11 00:18 Attribution.txt 00:22:21 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 11 00:18 CHANGELOG.md 00:22:21 -rw-rw-r-- 1 jenkins jenkins 2315 Jan 11 00:18 Dockerfile 00:22:21 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 00:18 GOVERNANCE.md 00:22:21 -rw-rw-r-- 1 jenkins jenkins 659 Jan 11 00:18 Jenkinsfile 00:22:21 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 00:18 LICENSE 00:22:21 -rw-rw-r-- 1 jenkins jenkins 2303 Jan 11 00:18 Makefile 00:22:21 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 00:18 OWNERS.md 00:22:21 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 11 00:18 README.md 00:22:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 00:16 VERSION 00:22:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:18 bin 00:22:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:18 cmd 00:22:21 -rw-r--r-- 1 jenkins jenkins 30666 Jan 11 00:21 coverage.out 00:22:21 -rwxrwxr-x 1 jenkins jenkins 140 Jan 11 00:18 docker-entrypoint.sh 00:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:18 docs 00:22:21 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 11 00:18 go.mod 00:22:21 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 11 00:18 go.sum 00:22:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:18 internal 00:22:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:18 snap 00:22:21 -rw-rw-r-- 1 jenkins jenkins 231 Jan 11 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:21 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7b3d2b52a2fd3d6c6abfcc3ba37f59800061558c --label arch=arm64 --label version=0.0.0 . 00:22:21 Sending build context to Docker daemon 1.203MB 00:22:21 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:22:21 Step 2/35 : FROM ${BASE} AS builder 00:22:21 ---> 5a4a41047b4a 00:22:21 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:22:22 ---> Running in 65f9925fa41e 00:22:22 Removing intermediate container 65f9925fa41e 00:22:22 ---> 32689db9aac5 00:22:22 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:22:22 ---> Running in 66b25a4d83be 00:22:22 Removing intermediate container 66b25a4d83be 00:22:22 ---> b427b66c5841 00:22:22 Step 5/35 : ARG ALPINE_PKG_BASE="make git curl" 00:22:23 ---> Running in 98a401940a9a 00:22:23 Removing intermediate container 98a401940a9a 00:22:23 ---> 749bead2813e 00:22:23 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:22:23 ---> Running in 459d154a822d 00:22:23 Removing intermediate container 459d154a822d 00:22:23 ---> 1f5d0149ab9e 00:22:23 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:22:24 ---> Running in 20164e963b94 00:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:22:26 OK: 228 MiB in 65 packages 00:22:27 Removing intermediate container 20164e963b94 00:22:27 ---> 0d5a8646b9f9 00:22:27 Step 8/35 : WORKDIR /device-usb-camera 00:22:27 ---> Running in a05158b4ea37 00:22:27 Removing intermediate container a05158b4ea37 00:22:27 ---> 85deaeb8facf 00:22:27 Step 9/35 : COPY go.mod vendor* ./ 00:22:28 ---> d7fd843c0314 00:22:28 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:22:28 ---> Running in 424b2c3bb150 00:22:30 Removing intermediate container 424b2c3bb150 00:22:30 ---> d9a683b94a47 00:22:30 Step 11/35 : COPY . . 00:22:31 ---> 7cb88cd83a00 00:22:31 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:22:31 ---> Running in 39c867084030 00:22:32  % Total % Received % Xferd Average Speed Time Time Time Current 00:22:32 Dload Upload Total Spent Left Speed 00:22:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13169 0 --:--:-- --:--:-- --:--:-- 13275 00:22:33 Removing intermediate container 39c867084030 00:22:33 ---> 1725202ee732 00:22:33 Step 13/35 : RUN ${MAKE} 00:22:33 ---> Running in f4fb51d79406 00:22:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:24:43 # github.com/vladimirvivien/go4vl/v4l2 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:11:23: undefined: ColorspaceType 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:12:23: undefined: XferFunctionType 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:13:23: undefined: YCbCrEncodingType 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/controls_fwht.go:14:23: undefined: QuantizationType 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:11:15: undefined: Capability 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:12:14: undefined: IOType 00:24:43 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.2/v4l2/types.go:23:15: undefined: BufType 00:24:53 make: *** [Makefile:29: cmd/device-usb-camera] Error 2 00:24:53 The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:53 00:24:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:24:53 arm64: Pulling from edgex-lftools-log-publisher 00:24:53 8998bd30e6a1: Pulling fs layer 00:24:53 04944245beec: Pulling fs layer 00:24:53 699f458cf7ca: Pulling fs layer 00:24:53 765212b225bb: Pulling fs layer 00:24:53 f23df028b6ca: Pulling fs layer 00:24:53 d65c8cfc05b1: Pulling fs layer 00:24:53 2437ff75d9bd: Pulling fs layer 00:24:53 765212b225bb: Waiting 00:24:53 f23df028b6ca: Waiting 00:24:53 d65c8cfc05b1: Waiting 00:24:53 2437ff75d9bd: Waiting 00:24:54 04944245beec: Verifying Checksum 00:24:54 04944245beec: Download complete 00:24:54 765212b225bb: Verifying Checksum 00:24:54 765212b225bb: Download complete 00:24:54 f23df028b6ca: Verifying Checksum 00:24:54 f23df028b6ca: Download complete 00:24:54 d65c8cfc05b1: Verifying Checksum 00:24:54 d65c8cfc05b1: Download complete 00:24:54 699f458cf7ca: Verifying Checksum 00:24:54 699f458cf7ca: Download complete 00:24:54 8998bd30e6a1: Verifying Checksum 00:24:54 8998bd30e6a1: Download complete 00:24:57 2437ff75d9bd: Verifying Checksum 00:24:57 2437ff75d9bd: Download complete 00:24:58 8998bd30e6a1: Pull complete 00:24:59 04944245beec: Pull complete 00:25:00 699f458cf7ca: Pull complete 00:25:00 765212b225bb: Pull complete 00:25:01 f23df028b6ca: Pull complete 00:25:01 d65c8cfc05b1: Pull complete 00:25:13 2437ff75d9bd: Pull complete 00:25:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:25:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:13 prd-ubuntu20.04-docker-arm64-4c-16g-1774 does not seem to be running inside a container 00:25:13 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:25:16 $ docker top 0163eb5087a9e3a1b59265704e2cb6a2f1d02f70d60655f650a71b07f980201f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:17 ---> job-cost.sh 00:25:17 lf-activate-venv: SKIPPING 00:25:17 INFO: No Stack... 00:25:17 INFO: Retrieving Pricing Info for: v3-standard-4 00:25:18 INFO: Archiving Costs [Pipeline] sh 00:25:19 + + catcut /w/workspace/device-usb-camera/2/archives/cost.csv -d, 00:25:19 -f6 [Pipeline] lock 00:25:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] 00:25:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] did not exist. Created. 00:25:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:19 /w/workspace/device-usb-camera/2@tmp/durable-a376628b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:25:20 + echo total: 0.10999999940395355 [Pipeline] stash 00:25:20 Warning: overwriting stash ‘stack-cost’ 00:25:20 Stashed 1 file(s) [Pipeline] } 00:25:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-126-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:20 $ docker stop --time=1 0163eb5087a9e3a1b59265704e2cb6a2f1d02f70d60655f650a71b07f980201f 00:25:22 $ docker rm -f --volumes 0163eb5087a9e3a1b59265704e2cb6a2f1d02f70d60655f650a71b07f980201f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:25:23 + [ -d /w/workspace/foundry_device-usb-camera_PR-126/archives ] 00:25:23 + ls -al /w/workspace/foundry_device-usb-camera_PR-126/archives 00:25:23 total 16 00:25:23 drwxr-xr-x 3 root root 4096 Jan 11 00:19 . 00:25:23 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:19 .. 00:25:23 drwxr-xr-x 2 root root 4096 Jan 11 00:19 cost 00:25:23 -rw-r--r-- 1 root root 89 Jan 11 00:19 cost.csv 00:25:23 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-126/archives 00:25:23 + ls -al /w/workspace/foundry_device-usb-camera_PR-126/archives 00:25:23 total 16 00:25:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:19 . 00:25:23 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:19 .. 00:25:23 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 00:19 cost 00:25:23 -rw-r--r-- 1 jenkins jenkins 89 Jan 11 00:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:25:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:25:24 ---> package-listing.sh 00:25:24 ++ facter osfamily 00:25:24 ++ tr '[:upper:]' '[:lower:]' 00:25:24 + OS_FAMILY=debian 00:25:24 + workspace=/w/workspace/foundry_device-usb-camera_PR-126 00:25:24 + START_PACKAGES=/tmp/packages_start.txt 00:25:24 + END_PACKAGES=/tmp/packages_end.txt 00:25:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:25:24 + PACKAGES=/tmp/packages_start.txt 00:25:24 + '[' /w/workspace/foundry_device-usb-camera_PR-126 ']' 00:25:24 + PACKAGES=/tmp/packages_end.txt 00:25:24 + case "${OS_FAMILY}" in 00:25:24 + dpkg -l 00:25:24 + grep '^ii' 00:25:24 + '[' -f /tmp/packages_start.txt ']' 00:25:24 + '[' -f /tmp/packages_end.txt ']' 00:25:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:25:24 + '[' /w/workspace/foundry_device-usb-camera_PR-126 ']' 00:25:24 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-126/archives/ 00:25:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-126/archives/ [Pipeline] echo 00:25:24 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-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:25:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:25 prd-ubuntu20.04-docker-8c-8g-1773 does not seem to be running inside a container 00:25:25 $ 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-126/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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@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 00:25:25 $ docker top 6cfeb37ae70fd0e65d45bf5d0bbe65a45efe1841a98d66a6f0240f3f02b930d7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:25:26 + touch /tmp/pre-build-complete [Pipeline] sh 00:25:26 + mkdir -p /var/log/sysstat [Pipeline] sh 00:25:26 + ls /var/log/sa-host 00:25:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:26 provisioning config files... 00:25:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config14107119362571786760tmp [Pipeline] { [Pipeline] echo 00:25:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:25:27 ---> create-netrc.sh [Pipeline] } 00:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:25:27 ---> python-tools-install.sh [Pipeline] echo 00:25:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:25:27 ---> sudo-logs.sh 00:25:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:25:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:25:28 ---> job-cost.sh 00:25:28 lf-activate-venv: SKIPPING 00:25:28 DEBUG: total: 0.2199999988079071 00:25:28 INFO: Retrieving Stack Cost... 00:25:28 INFO: Retrieving Pricing Info for: v3-standard-8 00:25:28 INFO: Archiving Costs [Pipeline] echo 00:25:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:25:29 ---> logs-deploy.sh 00:25:29 lf-activate-venv: SKIPPING 00:25:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-126/2 00:25:29 INFO: archiving workspace using pattern(s): 00:25:30 Archives upload complete. 00:25:30 INFO: archiving logs to Nexus