Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8c615475b04751833d5a4ed77b1f866c80ece4c+8746c938a55b5945dba82726ee73b77bfa0394d9 (c17fc3b7194eb62b7d315acbb4a9d955cfcde624) 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-ssh13058621297907555411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5098265486933573210.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8943412871416716729.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16156111023444530756.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-99/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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10076758410885706980.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-5673 in /w/workspace/xfoundry_device-usb-camera_PR-99 [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/xfoundry_device-usb-camera_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c Merge succeeded, producing 1990fc9c3958b6936362def8deb604fe45462120 Checking out Revision 1990fc9c3958b6936362def8deb604fe45462120 (PR-99) > 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # 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 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1990fc9c3958b6936362def8deb604fe45462120 # timeout=10 Commit message: "Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5b2320ad755c8c8d09b935a7d3b9eaba2d3b7a73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:32 ========================================================= 06:14:32 EdgeX Global Pipelines Version Info 06:14:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:33 ------------------- 06:14:33 stable info: 06:14:33 ------------------- 06:14:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:14:33 Message: update stable to v1.0.245 06:14:33 ------------------- 06:14:33 experimental info: 06:14:33 ------------------- 06:14:33 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:33 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:14:33 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1990fc9 [Pipeline] echo 06:14:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:34 provisioning config files... 06:14:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10001507534507683145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:34 ---> docker-login.sh 06:14:34 nexus3.edgexfoundry.org:10001 06:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:35 Configure a credential helper to remove this warning. See 06:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:35 06:14:35 Login Succeeded 06:14:35 nexus3.edgexfoundry.org:10002 06:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:35 Configure a credential helper to remove this warning. See 06:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:35 06:14:35 Login Succeeded 06:14:35 nexus3.edgexfoundry.org:10003 06:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:35 Configure a credential helper to remove this warning. See 06:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:35 06:14:35 Login Succeeded 06:14:35 nexus3.edgexfoundry.org:10004 06:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:35 Configure a credential helper to remove this warning. See 06:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:35 06:14:35 Login Succeeded 06:14:35 docker.io 06:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:35 Configure a credential helper to remove this warning. See 06:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:35 06:14:35 Login Succeeded 06:14:35 ---> docker-login.sh ends [Pipeline] } 06:14:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:36 + git rev-list -1 --merges 1990fc9c3958b6936362def8deb604fe45462120~1..1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo 06:14:36 -----------> git rev-list -1 --merges 1990fc9c3958b6936362def8deb604fe45462120~1..1990fc9c3958b6936362def8deb604fe45462120 1990fc9c3958b6936362def8deb604fe45462120 06:14:36 1990fc9c3958b6936362def8deb604fe45462120 [false] [Pipeline] sh 06:14:36 + git log --format=format:%s -1 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo 06:14:36 ========================================================= 06:14:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:36 + git log --format=format:%s -1 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo 06:14:36 [semverPrep] GIT_COMMIT: 1990fc9c3958b6936362def8deb604fe45462120, Commit Message: Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD [Pipeline] echo 06:14:36 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:37 + grep -v github /etc/ssh/ssh_known_hosts 06:14:37 + [ -e /tmp/ssh_known_hosts ] 06:14:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:37 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:37 06:14:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:37 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:37 b85a868b505f: Pulling fs layer 06:14:37 e2be974225ed: Pulling fs layer 06:14:37 339a4e72a1f5: Pulling fs layer 06:14:37 988bab9f4d93: Pulling fs layer 06:14:37 1469e6f7b9e6: Pulling fs layer 06:14:37 eaf3925da568: Pulling fs layer 06:14:37 bab4dde63d76: Pulling fs layer 06:14:37 bde34c3a00c8: Pulling fs layer 06:14:37 b352a97aabf1: Pulling fs layer 06:14:37 4872d77fe225: Pulling fs layer 06:14:37 5851b861e8e6: Pulling fs layer 06:14:37 1469e6f7b9e6: Waiting 06:14:37 4872d77fe225: Waiting 06:14:37 bab4dde63d76: Waiting 06:14:37 bde34c3a00c8: Waiting 06:14:37 b352a97aabf1: Waiting 06:14:37 5851b861e8e6: Waiting 06:14:37 988bab9f4d93: Waiting 06:14:37 eaf3925da568: Waiting 06:14:37 e2be974225ed: Verifying Checksum 06:14:37 e2be974225ed: Download complete 06:14:37 988bab9f4d93: Verifying Checksum 06:14:37 988bab9f4d93: Download complete 06:14:38 339a4e72a1f5: Verifying Checksum 06:14:38 339a4e72a1f5: Download complete 06:14:38 1469e6f7b9e6: Verifying Checksum 06:14:38 1469e6f7b9e6: Download complete 06:14:38 eaf3925da568: Verifying Checksum 06:14:38 eaf3925da568: Download complete 06:14:38 bde34c3a00c8: Verifying Checksum 06:14:38 bde34c3a00c8: Download complete 06:14:38 4872d77fe225: Verifying Checksum 06:14:38 4872d77fe225: Download complete 06:14:38 5851b861e8e6: Download complete 06:14:38 b85a868b505f: Verifying Checksum 06:14:38 b85a868b505f: Download complete 06:14:38 bab4dde63d76: Verifying Checksum 06:14:38 bab4dde63d76: Download complete 06:14:39 b85a868b505f: Pull complete 06:14:39 e2be974225ed: Pull complete 06:14:40 339a4e72a1f5: Pull complete 06:14:40 988bab9f4d93: Pull complete 06:14:40 1469e6f7b9e6: Pull complete 06:14:40 eaf3925da568: Pull complete 06:14:42 bab4dde63d76: Pull complete 06:14:42 bde34c3a00c8: Pull complete 06:14:42 b352a97aabf1: Pull complete 06:14:42 4872d77fe225: Pull complete 06:14:42 5851b861e8e6: Pull complete 06:14:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:14:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:42 prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container 06:14:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:43 $ docker top 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:43 [ssh-agent] Looking for ssh-agent implementation... 06:14:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:44 $ docker exec 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent 06:14:44 SSH_AUTH_SOCK=/tmp/ssh-EK713Csjz3HN/agent.32 06:14:44 SSH_AGENT_PID=38 06:14:44 Running ssh-add (command line suppressed) 06:14:44 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9815570648599392293.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9815570648599392293.key) 06:14:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:44 + git tag --points-at HEAD [Pipeline] } 06:14:44 $ docker exec --env ******** --env ******** 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent -k 06:14:44 unset SSH_AUTH_SOCK; 06:14:44 unset SSH_AGENT_PID; 06:14:44 echo Agent pid 38 killed; 06:14:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:44 [ssh-agent] Looking for ssh-agent implementation... 06:14:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:44 $ docker exec 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent 06:14:45 SSH_AUTH_SOCK=/tmp/ssh-lS8ZfTmCWdVa/agent.70 06:14:45 SSH_AGENT_PID=76 06:14:45 Running ssh-add (command line suppressed) 06:14:45 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18072649020449817517.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18072649020449817517.key) 06:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:45 + git semver init 06:14:45 2023-03-24 06:14:45,593 [run_init] DEBUG init version:0.0.0 force:False 06:14:45 2023-03-24 06:14:45,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:14:45 2023-03-24 06:14:45,595 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:14:45 2023-03-24 06:14:45,595 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) 06:14:46 2023-03-24 06:14:46,241 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 06:14:46 2023-03-24 06:14:46,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 06:14:46 2023-03-24 06:14:46,242 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:14:46 2023-03-24 06:14:46,246 [execute] INFO git cat-file --batch-check 06:14:46 2023-03-24 06:14:46,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:14:46 2023-03-24 06:14:46,252 [execute] INFO git cat-file --batch 06:14:46 2023-03-24 06:14:46,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:14:46 2023-03-24 06:14:46,256 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:14:46 0.0.0 [Pipeline] } 06:14:46 $ docker exec --env ******** --env ******** 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent -k 06:14:46 unset SSH_AUTH_SOCK; 06:14:46 unset SSH_AGENT_PID; 06:14:46 echo Agent pid 76 killed; 06:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:46 + git semver [Pipeline] } 06:14:47 $ docker stop --time=1 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a 06:14:48 $ docker rm -f --volumes 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a [Pipeline] // withDockerContainer [Pipeline] sh 06:14:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:14:48 Stashed 1 file(s) [Pipeline] echo 06:14:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:49 provisioning config files... 06:14:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config9510247396521673570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5679 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 06:14:49 Running in /w/workspace/device-usb-camera/49 [Pipeline] { [Pipeline] checkout 06:14:49 Selected Git installation does not exist. Using Default 06:14:49 The recommended git tool is: NONE 06:14:49 ---> docker-login.sh 06:14:49 nexus3.edgexfoundry.org:10001 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10002 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10003 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10004 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 docker.io 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 ---> docker-login.sh ends [Pipeline] } 06:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:50 ========================================================= 06:14:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:14:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:14:50 Sending build context to Docker daemon 1.882MB 06:14:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:14:50 Step 2/13 : FROM ${BASE} AS builder 06:14:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:50 63b65145d645: Pulling fs layer 06:14:50 a2d21d5440eb: Pulling fs layer 06:14:50 935e6c44a52c: Pulling fs layer 06:14:50 94cc34f8dd06: Pulling fs layer 06:14:50 30dea6a524f1: Pulling fs layer 06:14:50 a2aff8979fd8: Pulling fs layer 06:14:50 6808be2612f2: Pulling fs layer 06:14:50 f25807f1079a: Pulling fs layer 06:14:50 30dea6a524f1: Waiting 06:14:50 a2aff8979fd8: Waiting 06:14:50 6808be2612f2: Waiting 06:14:50 f25807f1079a: Waiting 06:14:50 94cc34f8dd06: Waiting 06:14:50 a2d21d5440eb: Verifying Checksum 06:14:50 a2d21d5440eb: Download complete 06:14:50 94cc34f8dd06: Download complete 06:14:50 30dea6a524f1: Download complete 06:14:50 63b65145d645: Verifying Checksum 06:14:50 63b65145d645: Download complete 06:14:50 a2aff8979fd8: Verifying Checksum 06:14:50 a2aff8979fd8: Download complete 06:14:50 63b65145d645: Pull complete 06:14:50 a2d21d5440eb: Pull complete 06:14:51 f25807f1079a: Verifying Checksum 06:14:51 f25807f1079a: Download complete 06:14:51 935e6c44a52c: Download complete 06:14:51 6808be2612f2: Verifying Checksum 06:14:51 6808be2612f2: Download complete 06:14:54 935e6c44a52c: Pull complete 06:14:54 94cc34f8dd06: Pull complete 06:14:54 30dea6a524f1: Pull complete 06:14:54 a2aff8979fd8: Pull complete 06:14:54 using credential edgex-jenkins-ssh 06:14:54 Cloning the remote Git repository 06:14:54 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:14:54 > git init /w/workspace/device-usb-camera/49 # timeout=10 06:14:55 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:14:55 > git --version # timeout=10 06:14:55 > git --version # 'git version 2.25.1' 06:14:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:56 6808be2612f2: Pull complete 06:14:56 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:14:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:57 f25807f1079a: Pull complete 06:14:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:14:57 ---> 3b553350e43f 06:14:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:14:57 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c 06:14:57 Merge succeeded, producing 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f 06:14:57 Checking out Revision 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f (PR-99) 06:14:56 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:14:56 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:14:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:14:57 > git config core.sparsecheckout # timeout=10 06:14:57 > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 06:14:57 > git remote # timeout=10 06:14:57 > git config --get remote.origin.url # timeout=10 06:14:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:57 > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 06:14:57 > git rev-parse HEAD^{commit} # timeout=10 06:14:57 > git config core.sparsecheckout # timeout=10 06:14:57 > git checkout -f 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f # timeout=10 06:14:58 ---> Running in c779dcde431c 06:14:59 Removing intermediate container c779dcde431c 06:14:59 ---> 51607a03d569 06:14:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:59 ---> Running in 469540e7d764 06:14:59 Removing intermediate container 469540e7d764 06:14:59 ---> c0d3615ec9b9 06:14:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:14:59 ---> Running in 68d776936145 06:14:59 Removing intermediate container 68d776936145 06:14:59 ---> cb6c6e262a2b 06:14:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:14:59 ---> Running in ae96487bab20 06:14:59 Removing intermediate container ae96487bab20 06:14:59 ---> 9dabc0b8b5d3 06:14:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:59 ---> Running in 7d7427e4af54 06:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:15:00 (1/14) Installing libintl (0.21.1-r1) 06:15:00 (2/14) Installing eudev-libs (3.2.11-r4) 06:15:00 (3/14) Installing libjpeg-turbo (2.1.4-r0) 06:15:00 (4/14) Installing v4l-utils-libs (1.22.1-r2) 06:15:00 (5/14) Installing v4l-utils (1.22.1-r2) 06:15:00 (6/14) Installing udev-init-scripts (35-r1) 06:15:00 (7/14) Installing libblkid (2.38.1-r1) 06:15:00 (8/14) Installing xz-libs (5.2.9-r0) 06:15:00 (9/14) Installing zstd-libs (1.5.2-r9) 06:15:00 (10/14) Installing kmod-libs (30-r1) 06:15:00 (11/14) Installing eudev (3.2.11-r4) 06:15:00 (12/14) Installing eudev-dev (3.2.11-r4) 06:15:00 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 06:15:00 (14/14) Installing v4l-utils-dev (1.22.1-r2) 06:15:00 Executing busybox-1.35.0-r29.trigger 06:15:00 Executing eudev-3.2.11-r4.trigger 06:15:00 OK: 272 MiB in 67 packages 06:15:00 Removing intermediate container 7d7427e4af54 06:15:00 ---> 5b0b2d6089bd 06:15:00 Step 8/13 : WORKDIR /device-usb-camera 06:15:00 ---> Running in 9217b3424507 06:15:00 Removing intermediate container 9217b3424507 06:15:00 ---> 85468dcbf0f1 06:15:00 Step 9/13 : COPY go.mod vendor* ./ 06:15:00 ---> fce527acf81d 06:15:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:01 ---> Running in 612e2367822f 06:15:01 Commit message: "Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD" 06:15:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:15:02 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:02 Dload Upload Total Spent Left Speed 06:15:01 > git rev-list --no-walk 5b2320ad755c8c8d09b935a7d3b9eaba2d3b7a73 # timeout=10 06:15:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 10870 0 0:00:01 0:00:01 --:--:-- 10870 100 12751 100 12751 0 0 10861 0 0:00:01 0:00:01 --:--:-- 10861 [Pipeline] sh 06:15:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:15:04 + sudo tee /etc/docker/daemon.new 06:15:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:15:04 { 06:15:04 "registry-mirrors": [ 06:15:04 "https://nexus3.edgexfoundry.org:10001" 06:15:04 ], 06:15:04 "bip": "10.250.0.254/24", 06:15:04 "hosts": [ 06:15:04 "tcp://0.0.0.0:5555", 06:15:04 "unix:///var/run/docker.sock" 06:15:04 ], 06:15:04 "mtu": 1458, 06:15:04 "selinux-enabled": true, 06:15:04 "seccomp-profile": "/etc/docker/seccomp.json" 06:15:04 } [Pipeline] sh 06:15:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:15:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:22 provisioning config files... 06:15:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/49@tmp/config17767362236765876461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:23 Removing intermediate container 612e2367822f 06:15:23 ---> 334414fcc4b0 06:15:23 Step 11/13 : COPY . . 06:15:23 ---> 8cd334ed969c 06:15:23 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:15:23 ---> Running in 78f4fd7afba5 06:15:23  % Total % Received % Xferd Average Speed Time Time Time Current 06:15:23 Dload Upload Total Spent Left Speed 06:15:23 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9133 0 --:--:-- --:--:-- --:--:-- 9076 06:15:23 Removing intermediate container 78f4fd7afba5 06:15:23 ---> 0fe8ee8dc104 06:15:23 Step 13/13 : RUN ${MAKE} 06:15:23 ---> Running in 4206eda3e733 06:15:23 ---> docker-login.sh 06:15:23 nexus3.edgexfoundry.org:10001 06:15:23 noop 06:15:23 Removing intermediate container 4206eda3e733 06:15:23 ---> 42e30e3f867c 06:15:23 Successfully built 42e30e3f867c 06:15:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix 06:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:23 Configure a credential helper to remove this warning. See 06:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:23 06:15:23 Login Succeeded 06:15:23 nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 + docker inspect -f . ci-base-image-x86_64 06:15:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:24 prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container 06:15:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10003 06:15:24 $ docker top 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 -eo pid,comm [Pipeline] { 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10004 [Pipeline] sh 06:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 docker.io 06:15:25 + go version 06:15:25 go version go1.20.2 linux/amd64 [Pipeline] } 06:15:25 $ docker stop --time=1 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 06:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 ---> docker-login.sh ends 06:15:26 $ docker rm -f --volumes 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:15:26 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 06:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:26 ========================================================= 06:15:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:15:26 ========================================================= 06:15:26 + docker inspect -f . ci-base-image-x86_64 06:15:26 . [Pipeline] fileExists [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:26 prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container 06:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 06:15:27 $ docker top 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:27 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 06:15:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:15:27 + make test 06:15:27 go test ./... -coverprofile=coverage.out ./... 06:15:27 Sending build context to Docker daemon 1.206MB 06:15:27 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:15:27 Step 2/13 : FROM ${BASE} AS builder 06:15:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:15:28 af6eaf76a39c: Pulling fs layer 06:15:28 55522c791124: Pulling fs layer 06:15:28 ce5c4a1c91eb: Pulling fs layer 06:15:28 169dfbe0d373: Pulling fs layer 06:15:28 e1ff8fa3b103: Pulling fs layer 06:15:28 52ebb69f0ebf: Pulling fs layer 06:15:28 5abe8eddf0d5: Pulling fs layer 06:15:28 169dfbe0d373: Waiting 06:15:28 e1ff8fa3b103: Waiting 06:15:28 5abe8eddf0d5: Waiting 06:15:28 52ebb69f0ebf: Waiting 06:15:28 55522c791124: Verifying Checksum 06:15:28 55522c791124: Download complete 06:15:28 169dfbe0d373: Verifying Checksum 06:15:28 169dfbe0d373: Download complete 06:15:28 e1ff8fa3b103: Download complete 06:15:28 af6eaf76a39c: Download complete 06:15:29 af6eaf76a39c: Pull complete 06:15:29 5abe8eddf0d5: Verifying Checksum 06:15:29 5abe8eddf0d5: Download complete 06:15:29 55522c791124: Pull complete 06:15:30 ce5c4a1c91eb: Verifying Checksum 06:15:30 ce5c4a1c91eb: Download complete 06:15:30 52ebb69f0ebf: Verifying Checksum 06:15:30 52ebb69f0ebf: Download complete 06:15:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:15:41 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:15:41 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:15:41 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:15:41 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:15:41 FAIL 06:15:41 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 06:15:41 $ docker stop --time=1 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 06:15:43 ce5c4a1c91eb: Pull complete 06:15:43 169dfbe0d373: Pull complete 06:15:43 e1ff8fa3b103: Pull complete 06:15:43 $ docker rm -f --volumes 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:44 06:15:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:44 latest: Pulling from edgex-lftools-log-publisher 06:15:44 5eb5b503b376: Pulling fs layer 06:15:44 5c69ac0246d0: Pulling fs layer 06:15:44 ec43610c2a17: Pulling fs layer 06:15:44 3a2ae6a8a46f: Pulling fs layer 06:15:44 33b1e0a273af: Pulling fs layer 06:15:44 5d3b04190fa2: Pulling fs layer 06:15:44 2f39f015ded8: Pulling fs layer 06:15:44 33b1e0a273af: Waiting 06:15:44 5d3b04190fa2: Waiting 06:15:44 2f39f015ded8: Waiting 06:15:44 5c69ac0246d0: Verifying Checksum 06:15:44 5c69ac0246d0: Download complete 06:15:44 3a2ae6a8a46f: Verifying Checksum 06:15:44 3a2ae6a8a46f: Download complete 06:15:44 33b1e0a273af: Verifying Checksum 06:15:44 33b1e0a273af: Download complete 06:15:44 5d3b04190fa2: Verifying Checksum 06:15:44 5d3b04190fa2: Download complete 06:15:44 ec43610c2a17: Verifying Checksum 06:15:44 ec43610c2a17: Download complete 06:15:44 5eb5b503b376: Verifying Checksum 06:15:44 5eb5b503b376: Download complete 06:15:45 2f39f015ded8: Download complete 06:15:46 5eb5b503b376: Pull complete 06:15:46 5c69ac0246d0: Pull complete 06:15:46 ec43610c2a17: Pull complete 06:15:46 3a2ae6a8a46f: Pull complete 06:15:46 33b1e0a273af: Pull complete 06:15:46 5d3b04190fa2: Pull complete 06:15:48 52ebb69f0ebf: Pull complete 06:15:50 5abe8eddf0d5: Pull complete 06:15:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:15:50 ---> 6cb57ee374ae 06:15:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:15:51 2f39f015ded8: Pull complete 06:15:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:51 prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container 06:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:15:51 ---> Running in ef3fc587edfd 06:15:52 Removing intermediate container ef3fc587edfd 06:15:52 ---> 11e45480de35 06:15:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:52 ---> Running in eff98acce4b5 06:15:52 Removing intermediate container eff98acce4b5 06:15:52 ---> a7876322e3ca 06:15:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:15:52 ---> Running in 786d73527be1 06:15:52 Removing intermediate container 786d73527be1 06:15:52 ---> 5fa7fc16eea2 06:15:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:15:52 ---> Running in 292e23c4feaa 06:15:53 $ docker top e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:53 Removing intermediate container 292e23c4feaa 06:15:53 ---> f90984f1aa52 06:15:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:53 ---> Running in 4721e070754e 06:15:53 ---> job-cost.sh 06:15:53 lf-activate-venv: SKIPPING 06:15:53 INFO: No Stack... 06:15:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:15:54 INFO: Archiving Costs [Pipeline] sh 06:15:54 + + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 06:15:54 cut -d, -f6 [Pipeline] lock 06:15:54 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] 06:15:54 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] did not exist. Created. 06:15:54 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:15:54 + echo total: 0.2199999988079071 [Pipeline] stash 06:15:54 Stashed 1 file(s) [Pipeline] } 06:15:54 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:54 $ docker stop --time=1 e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 06:15:55 (1/14) Installing libintl (0.21.1-r1) 06:15:55 (2/14) Installing eudev-libs (3.2.11-r4) 06:15:55 (3/14) Installing libjpeg-turbo (2.1.4-r0) 06:15:55 (4/14) Installing v4l-utils-libs (1.22.1-r2) 06:15:55 (5/14) Installing v4l-utils (1.22.1-r2) 06:15:55 (6/14) Installing udev-init-scripts (35-r1) 06:15:55 (7/14) Installing libblkid (2.38.1-r1) 06:15:55 (8/14) Installing xz-libs (5.2.9-r0) 06:15:55 (9/14) Installing zstd-libs (1.5.2-r9) 06:15:55 (10/14) Installing kmod-libs (30-r1) 06:15:55 (11/14) Installing eudev (3.2.11-r4) 06:15:55 (12/14) Installing eudev-dev (3.2.11-r4) 06:15:55 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 06:15:55 (14/14) Installing v4l-utils-dev (1.22.1-r2) 06:15:55 Executing busybox-1.35.0-r29.trigger 06:15:55 Executing eudev-3.2.11-r4.trigger 06:15:55 OK: 271 MiB in 67 packages 06:15:56 $ docker rm -f --volumes e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:15:56 Failed in branch amd64 06:15:57 Removing intermediate container 4721e070754e 06:15:57 ---> 8a19f857753e 06:15:57 Step 8/13 : WORKDIR /device-usb-camera 06:15:57 ---> Running in 49246fcb7774 06:15:57 Removing intermediate container 49246fcb7774 06:15:57 ---> 96352aeb75d2 06:15:57 Step 9/13 : COPY go.mod vendor* ./ 06:15:57 ---> d9d049a8b8a2 06:15:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:58 ---> Running in 8c9dfda916d3 06:16:54 Removing intermediate container 8c9dfda916d3 06:16:54 ---> fffd14f8743b 06:16:54 Step 11/13 : COPY . . 06:16:54 ---> 1afbd7df50e9 06:16:54 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:16:54 ---> Running in 7a5b09046fa2 06:16:55  % Total % Received % Xferd Average Speed Time Time Time Current 06:16:55  Dload Upload Total Spent  Left Speed 06:16:55  0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4288 0 --:--:-- --:--:-- --:--:-- 4317 06:16:56 Removing intermediate container 7a5b09046fa2 06:16:56 ---> a787aab87b53 06:16:56 Step 13/13 : RUN ${MAKE} 06:16:56 ---> Running in f2c3f20b11f8 06:16:57 noop 06:16:57 Removing intermediate container f2c3f20b11f8 06:16:57 ---> 93134e7b90b1 06:16:57 Successfully built 93134e7b90b1 06:16:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:58 + docker inspect -f . ci-base-image-arm64 06:16:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:58 prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container 06:16:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 ******** ci-base-image-arm64 cat 06:16:59 $ docker top 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:00 + go version 06:17:00 go version go1.20.2 linux/arm64 [Pipeline] } 06:17:00 $ docker stop --time=1 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 06:17:02 $ docker rm -f --volumes 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:02 + docker inspect -f . ci-base-image-arm64 06:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container 06:17:02 $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 ******** ci-base-image-arm64 cat 06:17:03 $ docker top 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:04 + git config --global --add safe.directory /w/workspace/device-usb-camera/49 [Pipeline] fileExists [Pipeline] sh 06:17:05 + make test 06:17:05 go test ./... -coverprofile=coverage.out ./... 06:17:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:19:28 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:19:28 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:19:28 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:19:28 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:19:28 FAIL 06:19:28 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 06:19:29 $ docker stop --time=1 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c 06:19:32 $ docker rm -f --volumes 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:33 06:19:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:34 arm64: Pulling from edgex-lftools-log-publisher 06:19:34 8998bd30e6a1: Pulling fs layer 06:19:34 04944245beec: Pulling fs layer 06:19:34 699f458cf7ca: Pulling fs layer 06:19:34 765212b225bb: Pulling fs layer 06:19:34 f23df028b6ca: Pulling fs layer 06:19:34 d65c8cfc05b1: Pulling fs layer 06:19:34 765212b225bb: Waiting 06:19:34 f23df028b6ca: Waiting 06:19:34 2437ff75d9bd: Pulling fs layer 06:19:34 d65c8cfc05b1: Waiting 06:19:34 2437ff75d9bd: Waiting 06:19:34 04944245beec: Verifying Checksum 06:19:34 04944245beec: Download complete 06:19:34 765212b225bb: Verifying Checksum 06:19:34 765212b225bb: Download complete 06:19:34 f23df028b6ca: Download complete 06:19:34 d65c8cfc05b1: Verifying Checksum 06:19:34 699f458cf7ca: Verifying Checksum 06:19:34 699f458cf7ca: Download complete 06:19:34 8998bd30e6a1: Download complete 06:19:37 2437ff75d9bd: Verifying Checksum 06:19:37 2437ff75d9bd: Download complete 06:19:38 8998bd30e6a1: Pull complete 06:19:38 04944245beec: Pull complete 06:19:40 699f458cf7ca: Pull complete 06:19:40 765212b225bb: Pull complete 06:19:41 f23df028b6ca: Pull complete 06:19:41 d65c8cfc05b1: Pull complete 06:19:53 2437ff75d9bd: Pull complete 06:19:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:53 prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container 06:19:53 $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:19:56 $ docker top a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:57 ---> job-cost.sh 06:19:57 lf-activate-venv: SKIPPING 06:19:57 INFO: No Stack... 06:19:57 INFO: Retrieving Pricing Info for: v3-standard-4 06:19:58 INFO: Archiving Costs [Pipeline] sh 06:19:59 + cat /w/workspace/device-usb-camera/49/archives/cost.csv 06:19:59 + cut -d, -f6 [Pipeline] lock 06:19:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] 06:19:59 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] did not exist. Created. 06:19:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:59 /w/workspace/device-usb-camera/49@tmp/durable-92b56676/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:20:00 + echo total: 0.10999999940395355 [Pipeline] stash 06:20:00 Warning: overwriting stash ‘stack-cost’ 06:20:00 Stashed 1 file(s) [Pipeline] } 06:20:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:00 $ docker stop --time=1 a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 06:20:02 $ docker rm -f --volumes a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:20:02 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 06:20:02 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 06:20:02 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:20:02 total 16 06:20:02 drwxr-xr-x 3 root root 4096 Mar 24 06:15 . 06:20:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:15 .. 06:20:02 drwxr-xr-x 2 root root 4096 Mar 24 06:15 cost 06:20:02 -rw-r--r-- 1 root root 89 Mar 24 06:15 cost.csv 06:20:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:20:02 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:20:02 total 16 06:20:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 06:15 . 06:20:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:15 .. 06:20:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 06:15 cost 06:20:02 -rw-r--r-- 1 jenkins jenkins 89 Mar 24 06:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:20:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:04 ---> package-listing.sh 06:20:04 ++ facter osfamily 06:20:04 ++ tr '[:upper:]' '[:lower:]' 06:20:04 + OS_FAMILY=debian 06:20:04 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 06:20:04 + START_PACKAGES=/tmp/packages_start.txt 06:20:04 + END_PACKAGES=/tmp/packages_end.txt 06:20:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:04 + PACKAGES=/tmp/packages_start.txt 06:20:04 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:20:04 + PACKAGES=/tmp/packages_end.txt 06:20:04 + case "${OS_FAMILY}" in 06:20:04 + dpkg -l 06:20:04 + grep '^ii' 06:20:04 + '[' -f /tmp/packages_start.txt ']' 06:20:04 + '[' -f /tmp/packages_end.txt ']' 06:20:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:04 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:20:04 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 06:20:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo 06:20:04 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:20:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:05 prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container 06:20:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:20:05 $ docker top b2e430f962dd5deb50d6326646f7805d384cdc5d05977a26dd8d9313d77ec0fe -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:06 + mkdir -p /var/log/sysstat [Pipeline] sh 06:20:06 + ls /var/log/sa-host 06:20:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:06 provisioning config files... 06:20:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config5997544569261119252tmp [Pipeline] { [Pipeline] echo 06:20:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:06 ---> create-netrc.sh [Pipeline] } 06:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:20:07 ---> python-tools-install.sh [Pipeline] echo 06:20:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:07 ---> sudo-logs.sh 06:20:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:20:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:07 ---> job-cost.sh 06:20:07 lf-activate-venv: SKIPPING 06:20:07 DEBUG: total: 0.2199999988079071 06:20:07 INFO: Retrieving Stack Cost... 06:20:08 INFO: Retrieving Pricing Info for: v3-standard-8 06:20:08 INFO: Archiving Costs [Pipeline] echo 06:20:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:08 ---> logs-deploy.sh 06:20:08 lf-activate-venv: SKIPPING 06:20:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/49 06:20:08 INFO: archiving workspace using pattern(s): 06:20:09 Archives upload complete. 06:20:09 INFO: archiving logs to Nexus