Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 378a526eb411b74f804f3c82d5369ca0a3d611d0+f0a9283a77c1ab0e3f39a524dd22d1b4a9ff5d4b (fe7d9522a1e2a553c7d9dc15f30261501c844caf) 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-ssh8680371541888624478.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-ssh17994790373903130876.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-ssh17943941609230228644.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-ssh7001512342576004525.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-ssh9967730328800443744.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6505 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 > 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 Merging remotes/origin/main commit f0a9283a77c1ab0e3f39a524dd22d1b4a9ff5d4b into PR head commit 378a526eb411b74f804f3c82d5369ca0a3d611d0 Merge succeeded, producing 378a526eb411b74f804f3c82d5369ca0a3d611d0 Checking out Revision 378a526eb411b74f804f3c82d5369ca0a3d611d0 (PR-99) Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:49:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:49:57 ========================================================= 00:49:57 EdgeX Global Pipelines Version Info 00:49:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 378a526eb411b74f804f3c82d5369ca0a3d611d0 # 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 f0a9283a77c1ab0e3f39a524dd22d1b4a9ff5d4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 378a526eb411b74f804f3c82d5369ca0a3d611d0 # timeout=10 > git rev-list --no-walk 32dccdf51f44d3ed8868026817945fa8f1f0f5f6 # timeout=10 00:49:58 ------------------- 00:49:58 stable info: 00:49:58 ------------------- 00:49:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:49:58 Message: update stable to v1.0.245 00:49:59 ------------------- 00:49:59 experimental info: 00:49:59 ------------------- 00:49:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:49:59 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 00:49:59 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 378a526eb411b74f804f3c82d5369ca0a3d611d0 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 378a526 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:59 provisioning config files... 00:49:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10008328297649728512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:00 ---> docker-login.sh 00:50:00 nexus3.edgexfoundry.org:10001 00:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:00 Configure a credential helper to remove this warning. See 00:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:00 00:50:00 Login Succeeded 00:50:00 nexus3.edgexfoundry.org:10002 00:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:00 Configure a credential helper to remove this warning. See 00:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:00 00:50:00 Login Succeeded 00:50:00 nexus3.edgexfoundry.org:10003 00:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:00 Configure a credential helper to remove this warning. See 00:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:00 00:50:00 Login Succeeded 00:50:00 nexus3.edgexfoundry.org:10004 00:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:00 Configure a credential helper to remove this warning. See 00:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:00 00:50:00 Login Succeeded 00:50:00 docker.io 00:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:00 Configure a credential helper to remove this warning. See 00:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:00 00:50:00 Login Succeeded 00:50:01 ---> docker-login.sh ends [Pipeline] } 00:50:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:50:01 + git rev-list -1 --merges 378a526eb411b74f804f3c82d5369ca0a3d611d0~1..378a526eb411b74f804f3c82d5369ca0a3d611d0 [Pipeline] echo 00:50:01 -----------> git rev-list -1 --merges 378a526eb411b74f804f3c82d5369ca0a3d611d0~1..378a526eb411b74f804f3c82d5369ca0a3d611d0 378a526eb411b74f804f3c82d5369ca0a3d611d0 [false] [Pipeline] sh 00:50:01 + git log --format=format:%s -1 378a526eb411b74f804f3c82d5369ca0a3d611d0 [Pipeline] echo 00:50:01 ========================================================= 00:50:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:50:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:02 + git log --format=format:%s -1 378a526eb411b74f804f3c82d5369ca0a3d611d0 [Pipeline] echo 00:50:02 [semverPrep] GIT_COMMIT: 378a526eb411b74f804f3c82d5369ca0a3d611d0, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo 00:50:02 [semverPrep] This is not a build commit. [Pipeline] sh 00:50:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:02 + grep -v github /etc/ssh/ssh_known_hosts 00:50:02 + [ -e /tmp/ssh_known_hosts ] 00:50:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:50:02 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:50:02 sudo tee -a /etc/ssh/ssh_known_hosts 00:50:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:02 00:50:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:03 0.1.4: Pulling from edgex-devops/py-git-semver 00:50:03 b85a868b505f: Pulling fs layer 00:50:03 e2be974225ed: Pulling fs layer 00:50:03 339a4e72a1f5: Pulling fs layer 00:50:03 988bab9f4d93: Pulling fs layer 00:50:03 1469e6f7b9e6: Pulling fs layer 00:50:03 eaf3925da568: Pulling fs layer 00:50:03 bab4dde63d76: Pulling fs layer 00:50:03 bde34c3a00c8: Pulling fs layer 00:50:03 b352a97aabf1: Pulling fs layer 00:50:03 4872d77fe225: Pulling fs layer 00:50:03 5851b861e8e6: Pulling fs layer 00:50:03 bab4dde63d76: Waiting 00:50:03 bde34c3a00c8: Waiting 00:50:03 b352a97aabf1: Waiting 00:50:03 4872d77fe225: Waiting 00:50:03 5851b861e8e6: Waiting 00:50:03 988bab9f4d93: Waiting 00:50:03 eaf3925da568: Waiting 00:50:03 1469e6f7b9e6: Waiting 00:50:03 e2be974225ed: Download complete 00:50:03 988bab9f4d93: Verifying Checksum 00:50:03 988bab9f4d93: Download complete 00:50:03 339a4e72a1f5: Verifying Checksum 00:50:03 339a4e72a1f5: Download complete 00:50:03 eaf3925da568: Download complete 00:50:03 1469e6f7b9e6: Verifying Checksum 00:50:03 1469e6f7b9e6: Download complete 00:50:03 bde34c3a00c8: Verifying Checksum 00:50:03 bde34c3a00c8: Download complete 00:50:03 b352a97aabf1: Verifying Checksum 00:50:03 b352a97aabf1: Download complete 00:50:03 4872d77fe225: Download complete 00:50:03 5851b861e8e6: Download complete 00:50:03 b85a868b505f: Verifying Checksum 00:50:03 b85a868b505f: Download complete 00:50:03 bab4dde63d76: Verifying Checksum 00:50:03 bab4dde63d76: Download complete 00:50:04 b85a868b505f: Pull complete 00:50:04 e2be974225ed: Pull complete 00:50:04 339a4e72a1f5: Pull complete 00:50:05 988bab9f4d93: Pull complete 00:50:05 1469e6f7b9e6: Pull complete 00:50:05 eaf3925da568: Pull complete 00:50:07 bab4dde63d76: Pull complete 00:50:07 bde34c3a00c8: Pull complete 00:50:07 b352a97aabf1: Pull complete 00:50:07 4872d77fe225: Pull complete 00:50:07 5851b861e8e6: Pull complete 00:50:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:50:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:07 prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container 00:50:07 $ 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 00:50:09 $ docker top f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca -eo pid,comm 00:50:09 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:50:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:09 [ssh-agent] Looking for ssh-agent implementation... 00:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:10 $ docker exec f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca ssh-agent 00:50:10 SSH_AUTH_SOCK=/tmp/ssh-kcu7NZTFX2wG/agent.32 00:50:10 SSH_AGENT_PID=38 00:50:10 Running ssh-add (command line suppressed) 00:50:10 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_471536784745234011.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_471536784745234011.key) 00:50:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:10 + git tag --points-at HEAD [Pipeline] } 00:50:10 $ docker exec --env ******** --env ******** f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca ssh-agent -k 00:50:10 unset SSH_AUTH_SOCK; 00:50:10 unset SSH_AGENT_PID; 00:50:10 echo Agent pid 38 killed; 00:50:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:50:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:10 [ssh-agent] Looking for ssh-agent implementation... 00:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:10 $ docker exec f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca ssh-agent 00:50:10 SSH_AUTH_SOCK=/tmp/ssh-UkCfnFM9xO4U/agent.70 00:50:10 SSH_AGENT_PID=76 00:50:10 Running ssh-add (command line suppressed) 00:50:11 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9466465909911519757.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9466465909911519757.key) 00:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:11 + git semver init 00:50:11 2023-03-31 00:50:11,547 [run_init] DEBUG init version:0.0.0 force:False 00:50:11 2023-03-31 00:50:11,548 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 00:50:11 2023-03-31 00:50:11,548 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 00:50:11 2023-03-31 00:50:11,549 [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) 00:50:12 2023-03-31 00:50:12,186 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 00:50:12 2023-03-31 00:50:12,187 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 00:50:12 2023-03-31 00:50:12,187 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 00:50:12 2023-03-31 00:50:12,191 [execute] INFO git cat-file --batch-check 00:50:12 2023-03-31 00:50:12,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 00:50:12 2023-03-31 00:50:12,197 [execute] INFO git cat-file --batch 00:50:12 2023-03-31 00:50:12,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 00:50:12 2023-03-31 00:50:12,203 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 00:50:12 0.0.0 [Pipeline] } 00:50:12 $ docker exec --env ******** --env ******** f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca ssh-agent -k 00:50:12 unset SSH_AUTH_SOCK; 00:50:12 unset SSH_AGENT_PID; 00:50:12 echo Agent pid 76 killed; 00:50:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:12 + git semver [Pipeline] } 00:50:13 $ docker stop --time=1 f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca 00:50:14 $ docker rm -f --volumes f16947b53f7378b9228bf4404940cbaa9d74828d79924e06a9bbc2032dbdecca [Pipeline] // withDockerContainer [Pipeline] sh 00:50:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:50:15 Stashed 1 file(s) [Pipeline] echo 00:50:15 [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:50:15 provisioning config files... 00:50:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config2710799571009843666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:15 ---> docker-login.sh 00:50:15 nexus3.edgexfoundry.org:10001 00:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:15 Configure a credential helper to remove this warning. See 00:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:15 00:50:15 Login Succeeded 00:50:15 nexus3.edgexfoundry.org:10002 00:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:15 Configure a credential helper to remove this warning. See 00:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:15 00:50:15 Login Succeeded 00:50:15 nexus3.edgexfoundry.org:10003 00:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:15 Configure a credential helper to remove this warning. See 00:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:15 00:50:15 Login Succeeded 00:50:15 nexus3.edgexfoundry.org:10004 00:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:15 Configure a credential helper to remove this warning. See 00:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:15 00:50:15 Login Succeeded 00:50:15 docker.io 00:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:16 Configure a credential helper to remove this warning. See 00:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:16 00:50:16 Login Succeeded 00:50:16 ---> docker-login.sh ends [Pipeline] } 00:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:16 ========================================================= 00:50:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:50:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:50:16 Sending build context to Docker daemon 1.916MB 00:50:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:50:16 Step 2/13 : FROM ${BASE} AS builder 00:50:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:50:16 63b65145d645: Pulling fs layer 00:50:16 a2d21d5440eb: Pulling fs layer 00:50:16 935e6c44a52c: Pulling fs layer 00:50:16 94cc34f8dd06: Pulling fs layer 00:50:16 30dea6a524f1: Pulling fs layer 00:50:16 a2aff8979fd8: Pulling fs layer 00:50:16 6808be2612f2: Pulling fs layer 00:50:16 f25807f1079a: Pulling fs layer 00:50:16 94cc34f8dd06: Waiting 00:50:16 a2aff8979fd8: Waiting 00:50:16 6808be2612f2: Waiting 00:50:16 30dea6a524f1: Waiting 00:50:16 f25807f1079a: Waiting 00:50:16 a2d21d5440eb: Download complete 00:50:16 94cc34f8dd06: Verifying Checksum 00:50:16 94cc34f8dd06: Download complete 00:50:16 30dea6a524f1: Download complete 00:50:16 63b65145d645: Verifying Checksum 00:50:16 63b65145d645: Download complete 00:50:16 a2aff8979fd8: Verifying Checksum 00:50:16 a2aff8979fd8: Download complete 00:50:16 63b65145d645: Pull complete 00:50:16 a2d21d5440eb: Pull complete 00:50:17 f25807f1079a: Download complete 00:50:17 935e6c44a52c: Verifying Checksum 00:50:17 935e6c44a52c: Download complete 00:50:17 6808be2612f2: Verifying Checksum 00:50:17 6808be2612f2: Download complete 00:50:20 935e6c44a52c: Pull complete 00:50:20 94cc34f8dd06: Pull complete 00:50:20 30dea6a524f1: Pull complete 00:50:20 a2aff8979fd8: Pull complete 00:50:23 6808be2612f2: Pull complete 00:50:23 f25807f1079a: Pull complete 00:50:23 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:50:23 ---> 3b553350e43f 00:50:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:50:27 ---> Running in 53f965884526 00:50:27 Removing intermediate container 53f965884526 00:50:27 ---> 62186645c3d8 00:50:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:27 ---> Running in ff8bee0751bd 00:50:27 Removing intermediate container ff8bee0751bd 00:50:27 ---> 78f05e52a7b1 00:50:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:50:27 ---> Running in fe9f00b1d53c 00:50:28 Removing intermediate container fe9f00b1d53c 00:50:28 ---> c3256128e116 00:50:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:50:28 ---> Running in f99320dddfc4 00:50:28 Removing intermediate container f99320dddfc4 00:50:28 ---> 62995ac1db9d 00:50:28 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:28 ---> Running in 268ccb3d8099 00:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:50:28 (1/14) Installing libintl (0.21.1-r1) 00:50:28 (2/14) Installing eudev-libs (3.2.11-r4) 00:50:28 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:50:29 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:50:29 (5/14) Installing v4l-utils (1.22.1-r2) 00:50:29 (6/14) Installing udev-init-scripts (35-r1) 00:50:29 (7/14) Installing libblkid (2.38.1-r1) 00:50:29 (8/14) Installing xz-libs (5.2.9-r0) 00:50:29 (9/14) Installing zstd-libs (1.5.2-r9) 00:50:29 (10/14) Installing kmod-libs (30-r1) 00:50:29 (11/14) Installing eudev (3.2.11-r4) 00:50:29 (12/14) Installing eudev-dev (3.2.11-r4) 00:50:29 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:50:29 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:50:29 Executing busybox-1.35.0-r29.trigger 00:50:29 Executing eudev-3.2.11-r4.trigger 00:50:29 OK: 272 MiB in 67 packages 00:50:29 Removing intermediate container 268ccb3d8099 00:50:29 ---> e12b00afeb06 00:50:29 Step 8/13 : WORKDIR /device-usb-camera 00:50:29 ---> Running in a5ddc45325f3 00:50:29 Removing intermediate container a5ddc45325f3 00:50:29 ---> a4ce96626c9a 00:50:29 Step 9/13 : COPY go.mod vendor* ./ 00:50:29 ---> 8fe69a058627 00:50:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:29 ---> Running in a41bdf72cbb7 00:50:30 Still waiting to schedule task 00:50:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6504’ 00:50:56 Removing intermediate container a41bdf72cbb7 00:50:56 ---> 5f1622c86296 00:50:56 Step 11/13 : COPY . . 00:50:56 ---> a2a66b844182 00:50:56 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:50:56 ---> Running in a4f6f55e3322 00:50:56  % Total % Received % Xferd Average Speed Time Time Time Current 00:50:56 Dload Upload Total Spent  Left Speed 00:50:56 0 0  0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19106 0 --:--:-- --:--:-- --:--:-- 19309 00:50:56 Removing intermediate container a4f6f55e3322 00:50:56 ---> 4dce9bcf81d8 00:50:56 Step 13/13 : RUN ${MAKE} 00:50:56 ---> Running in 185c29d89488 00:50:56 noop 00:50:56 Removing intermediate container 185c29d89488 00:50:56 ---> 36aa7393cb74 00:50:56 Successfully built 36aa7393cb74 00:50:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:56 + docker inspect -f . ci-base-image-x86_64 00:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:56 prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container 00:50:56 $ 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 00:50:57 $ docker top 5507a1c9dc938e1e796f206ad980bbe2bd980eebbb1e6a460bf4c87e17a809d3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:57 + go version 00:50:57 go version go1.20.2 linux/amd64 [Pipeline] } 00:50:57 $ docker stop --time=1 5507a1c9dc938e1e796f206ad980bbe2bd980eebbb1e6a460bf4c87e17a809d3 00:50:59 $ docker rm -f --volumes 5507a1c9dc938e1e796f206ad980bbe2bd980eebbb1e6a460bf4c87e17a809d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:59 + docker inspect -f . ci-base-image-x86_64 00:50:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:59 prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container 00:50:59 $ 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 00:50:59 $ docker top e01d01b43bca704d6ef1538bea45eb66fb385ad2d1e628309f10583a29198310 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:00 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 00:51:00 + make test 00:51:00 go test ./... -coverprofile=coverage.out ./... 00:51:05 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:51:15 # github.com/edgexfoundry/device-usb-camera/internal/driver 00:51:15 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 00:51:15 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 00:51:15 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 00:51:15 FAIL 00:51:15 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 00:51:15 $ docker stop --time=1 e01d01b43bca704d6ef1538bea45eb66fb385ad2d1e628309f10583a29198310 00:51:19 $ docker rm -f --volumes e01d01b43bca704d6ef1538bea45eb66fb385ad2d1e628309f10583a29198310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:19 00:51:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:20 latest: Pulling from edgex-lftools-log-publisher 00:51:20 5eb5b503b376: Pulling fs layer 00:51:20 5c69ac0246d0: Pulling fs layer 00:51:20 ec43610c2a17: Pulling fs layer 00:51:20 3a2ae6a8a46f: Pulling fs layer 00:51:20 33b1e0a273af: Pulling fs layer 00:51:20 5d3b04190fa2: Pulling fs layer 00:51:20 2f39f015ded8: Pulling fs layer 00:51:20 5d3b04190fa2: Waiting 00:51:20 33b1e0a273af: Waiting 00:51:20 2f39f015ded8: Waiting 00:51:20 3a2ae6a8a46f: Waiting 00:51:20 5c69ac0246d0: Verifying Checksum 00:51:20 5c69ac0246d0: Download complete 00:51:20 3a2ae6a8a46f: Download complete 00:51:20 33b1e0a273af: Verifying Checksum 00:51:20 33b1e0a273af: Download complete 00:51:20 5d3b04190fa2: Verifying Checksum 00:51:20 5d3b04190fa2: Download complete 00:51:20 ec43610c2a17: Verifying Checksum 00:51:20 ec43610c2a17: Download complete 00:51:20 5eb5b503b376: Verifying Checksum 00:51:20 5eb5b503b376: Download complete 00:51:21 2f39f015ded8: Download complete 00:51:21 5eb5b503b376: Pull complete 00:51:21 5c69ac0246d0: Pull complete 00:51:22 ec43610c2a17: Pull complete 00:51:22 3a2ae6a8a46f: Pull complete 00:51:22 33b1e0a273af: Pull complete 00:51:22 5d3b04190fa2: Pull complete 00:51:26 2f39f015ded8: Pull complete 00:51:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:51:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:26 prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container 00:51:26 $ 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 00:51:32 $ docker top ab5f2ba6786690ccd08c66cfaec258f8e7455c13e4c82294603e8f101c833280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:32 ---> job-cost.sh 00:51:32 lf-activate-venv: SKIPPING 00:51:32 INFO: No Stack... 00:51:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:51:33 INFO: Archiving Costs [Pipeline] sh 00:51:33 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 00:51:33 + cut -d, -f6 [Pipeline] lock 00:51:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] 00:51:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] did not exist. Created. 00:51:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:51:34 + echo total: 0.2199999988079071 [Pipeline] stash 00:51:34 Stashed 1 file(s) [Pipeline] } 00:51:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] [Pipeline] // lock [Pipeline] } 00:51:34 $ docker stop --time=1 ab5f2ba6786690ccd08c66cfaec258f8e7455c13e4c82294603e8f101c833280 00:51:35 $ docker rm -f --volumes ab5f2ba6786690ccd08c66cfaec258f8e7455c13e4c82294603e8f101c833280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:35 Failed in branch amd64 00:53:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6506 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 00:53:56 Running in /w/workspace/device-usb-camera/53 [Pipeline] { [Pipeline] checkout 00:53:56 Selected Git installation does not exist. Using Default 00:53:56 The recommended git tool is: NONE 00:54:02 using credential edgex-jenkins-ssh 00:54:02 Cloning the remote Git repository 00:54:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:54:02 > git init /w/workspace/device-usb-camera/53 # timeout=10 00:54:02 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:54:02 > git --version # timeout=10 00:54:02 > git --version # 'git version 2.25.1' 00:54:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:54:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:05 Merging remotes/origin/main commit f0a9283a77c1ab0e3f39a524dd22d1b4a9ff5d4b into PR head commit 378a526eb411b74f804f3c82d5369ca0a3d611d0 00:54:05 Merge succeeded, producing 378a526eb411b74f804f3c82d5369ca0a3d611d0 00:54:05 Checking out Revision 378a526eb411b74f804f3c82d5369ca0a3d611d0 (PR-99) 00:54:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:54:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:54:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:04 > 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 00:54:05 > git config core.sparsecheckout # timeout=10 00:54:05 > git checkout -f 378a526eb411b74f804f3c82d5369ca0a3d611d0 # timeout=10 00:54:05 > git remote # timeout=10 00:54:05 > git config --get remote.origin.url # timeout=10 00:54:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:05 > git merge f0a9283a77c1ab0e3f39a524dd22d1b4a9ff5d4b # timeout=10 00:54:05 > git rev-parse HEAD^{commit} # timeout=10 00:54:05 > git config core.sparsecheckout # timeout=10 00:54:05 > git checkout -f 378a526eb411b74f804f3c82d5369ca0a3d611d0 # timeout=10 00:54:05 Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:54:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:06 Dload Upload Total Spent Left Speed 00:54:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 00:54:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:54:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:54:07 + sudo tee /etc/docker/daemon.new 00:54:07 { 00:54:07 "registry-mirrors": [ 00:54:07 "https://nexus3.edgexfoundry.org:10001" 00:54:07 ], 00:54:07 "bip": "10.250.0.254/24", 00:54:07 "hosts": [ 00:54:07 "tcp://0.0.0.0:5555", 00:54:07 "unix:///var/run/docker.sock" 00:54:07 ], 00:54:07 "mtu": 1458, 00:54:07 "selinux-enabled": true, 00:54:07 "seccomp-profile": "/etc/docker/seccomp.json" 00:54:07 } [Pipeline] sh 00:54:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:54:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:30 provisioning config files... 00:54:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/53@tmp/config12399013184846485522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:31 ---> docker-login.sh 00:54:31 nexus3.edgexfoundry.org:10001 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 nexus3.edgexfoundry.org:10002 00:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:31 Configure a credential helper to remove this warning. See 00:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:31 00:54:31 Login Succeeded 00:54:31 nexus3.edgexfoundry.org:10003 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10004 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 docker.io 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:33 Configure a credential helper to remove this warning. See 00:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:33 00:54:33 Login Succeeded 00:54:33 ---> docker-login.sh ends [Pipeline] } 00:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:33 ========================================================= 00:54:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:54:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:33 + 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 . 00:54:34 Sending build context to Docker daemon 1.218MB 00:54:34 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:54:34 Step 2/13 : FROM ${BASE} AS builder 00:54:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:54:36 af6eaf76a39c: Pulling fs layer 00:54:36 55522c791124: Pulling fs layer 00:54:36 ce5c4a1c91eb: Pulling fs layer 00:54:36 169dfbe0d373: Pulling fs layer 00:54:36 e1ff8fa3b103: Pulling fs layer 00:54:36 52ebb69f0ebf: Pulling fs layer 00:54:36 5abe8eddf0d5: Pulling fs layer 00:54:36 169dfbe0d373: Waiting 00:54:36 e1ff8fa3b103: Waiting 00:54:36 52ebb69f0ebf: Waiting 00:54:36 5abe8eddf0d5: Waiting 00:54:36 55522c791124: Verifying Checksum 00:54:36 55522c791124: Download complete 00:54:36 169dfbe0d373: Verifying Checksum 00:54:36 169dfbe0d373: Download complete 00:54:36 e1ff8fa3b103: Verifying Checksum 00:54:36 e1ff8fa3b103: Download complete 00:54:36 af6eaf76a39c: Verifying Checksum 00:54:36 af6eaf76a39c: Download complete 00:54:37 af6eaf76a39c: Pull complete 00:54:37 5abe8eddf0d5: Verifying Checksum 00:54:37 5abe8eddf0d5: Download complete 00:54:38 55522c791124: Pull complete 00:54:39 ce5c4a1c91eb: Verifying Checksum 00:54:39 52ebb69f0ebf: Verifying Checksum 00:54:39 52ebb69f0ebf: Download complete 00:54:51 ce5c4a1c91eb: Pull complete 00:54:51 169dfbe0d373: Pull complete 00:54:51 e1ff8fa3b103: Pull complete 00:54:56 52ebb69f0ebf: Pull complete 00:54:59 5abe8eddf0d5: Pull complete 00:54:59 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:54:59 ---> 6cb57ee374ae 00:54:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:55:00 ---> Running in 8ba67c4cfd06 00:55:01 Removing intermediate container 8ba67c4cfd06 00:55:01 ---> 35cd83ec5eb9 00:55:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:01 ---> Running in 62a2a7df048f 00:55:01 Removing intermediate container 62a2a7df048f 00:55:01 ---> 6ba70cc26907 00:55:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:55:01 ---> Running in 3e7e099e3c74 00:55:02 Removing intermediate container 3e7e099e3c74 00:55:02 ---> 6db4c9c65911 00:55:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:55:02 ---> Running in bd5f68571c95 00:55:02 Removing intermediate container bd5f68571c95 00:55:02 ---> 944237526232 00:55:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:02 ---> Running in 67a58bf20def 00:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:55:05 (1/14) Installing libintl (0.21.1-r1) 00:55:05 (2/14) Installing eudev-libs (3.2.11-r4) 00:55:05 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:55:05 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:55:05 (5/14) Installing v4l-utils (1.22.1-r2) 00:55:05 (6/14) Installing udev-init-scripts (35-r1) 00:55:05 (7/14) Installing libblkid (2.38.1-r1) 00:55:05 (8/14) Installing xz-libs (5.2.9-r0) 00:55:05 (9/14) Installing zstd-libs (1.5.2-r9) 00:55:05 (10/14) Installing kmod-libs (30-r1) 00:55:05 (11/14) Installing eudev (3.2.11-r4) 00:55:05 (12/14) Installing eudev-dev (3.2.11-r4) 00:55:05 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:55:05 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:55:05 Executing busybox-1.35.0-r29.trigger 00:55:05 Executing eudev-3.2.11-r4.trigger 00:55:05 OK: 271 MiB in 67 packages 00:55:06 Removing intermediate container 67a58bf20def 00:55:06 ---> 1856124ce5f9 00:55:06 Step 8/13 : WORKDIR /device-usb-camera 00:55:07 ---> Running in b48399041b1b 00:55:07 Removing intermediate container b48399041b1b 00:55:07 ---> 592cd43d8a44 00:55:07 Step 9/13 : COPY go.mod vendor* ./ 00:55:07 ---> bd3831ddca95 00:55:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:07 ---> Running in 1f425b7ec9c3 00:56:15 Removing intermediate container 1f425b7ec9c3 00:56:15 ---> 2527303f173a 00:56:15 Step 11/13 : COPY . . 00:56:16 ---> 287f7cbeefcf 00:56:16 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:56:16 ---> Running in a4a4d66b73ee 00:56:17  % Total % Received % Xferd Average Speed Time Time Time Current 00:56:17 Dload Upload Total Spent Left Speed 00:56:17 0 0  0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3732 0 --:--:-- --:--:-- --:--:-- 3752 00:56:18 Removing intermediate container a4a4d66b73ee 00:56:18 ---> 34c2d5939f7c 00:56:18 Step 13/13 : RUN ${MAKE} 00:56:18 ---> Running in b4ffdfa48a73 00:56:19 noop 00:56:19 Removing intermediate container b4ffdfa48a73 00:56:19 ---> bc6cb29e806c 00:56:20 Successfully built bc6cb29e806c 00:56:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:20 + docker inspect -f . ci-base-image-arm64 00:56:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:20 prd-ubuntu20.04-docker-arm64-4c-16g-6506 does not seem to be running inside a container 00:56:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:56:21 $ docker top f95df3f50f57a1e6eb3a93e159582633e9f5a563bb246b21e13d6f9a0fcab22e -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:22 + go version 00:56:22 go version go1.20.2 linux/arm64 [Pipeline] } 00:56:22 $ docker stop --time=1 f95df3f50f57a1e6eb3a93e159582633e9f5a563bb246b21e13d6f9a0fcab22e 00:56:24 $ docker rm -f --volumes f95df3f50f57a1e6eb3a93e159582633e9f5a563bb246b21e13d6f9a0fcab22e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:24 + docker inspect -f . ci-base-image-arm64 00:56:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:25 prd-ubuntu20.04-docker-arm64-4c-16g-6506 does not seem to be running inside a container 00:56:25 $ 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/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:56:26 $ docker top a664837e8d2949d52a40750cc1bc5ffb23783daf87480eef7f55bb3401b94ef4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:26 + git config --global --add safe.directory /w/workspace/device-usb-camera/53 [Pipeline] fileExists [Pipeline] sh 00:56:26 + make test 00:56:26 go test ./... -coverprofile=coverage.out ./... 00:56:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:59:05 # github.com/edgexfoundry/device-usb-camera/internal/driver 00:59:05 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 00:59:05 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 00:59:10 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 00:59:10 FAIL 00:59:10 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 00:59:10 $ docker stop --time=1 a664837e8d2949d52a40750cc1bc5ffb23783daf87480eef7f55bb3401b94ef4 00:59:15 $ docker rm -f --volumes a664837e8d2949d52a40750cc1bc5ffb23783daf87480eef7f55bb3401b94ef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:16 00:59:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:16 arm64: Pulling from edgex-lftools-log-publisher 00:59:16 8998bd30e6a1: Pulling fs layer 00:59:16 04944245beec: Pulling fs layer 00:59:16 699f458cf7ca: Pulling fs layer 00:59:16 765212b225bb: Pulling fs layer 00:59:16 f23df028b6ca: Pulling fs layer 00:59:16 d65c8cfc05b1: Pulling fs layer 00:59:16 2437ff75d9bd: Pulling fs layer 00:59:16 765212b225bb: Waiting 00:59:16 f23df028b6ca: Waiting 00:59:16 d65c8cfc05b1: Waiting 00:59:16 2437ff75d9bd: Waiting 00:59:16 04944245beec: Verifying Checksum 00:59:16 04944245beec: Download complete 00:59:16 765212b225bb: Verifying Checksum 00:59:16 765212b225bb: Download complete 00:59:17 f23df028b6ca: Verifying Checksum 00:59:17 f23df028b6ca: Download complete 00:59:17 d65c8cfc05b1: Verifying Checksum 00:59:17 d65c8cfc05b1: Download complete 00:59:17 699f458cf7ca: Verifying Checksum 00:59:17 699f458cf7ca: Download complete 00:59:18 8998bd30e6a1: Verifying Checksum 00:59:18 8998bd30e6a1: Download complete 00:59:20 2437ff75d9bd: Download complete 00:59:24 8998bd30e6a1: Pull complete 00:59:24 04944245beec: Pull complete 00:59:25 699f458cf7ca: Pull complete 00:59:25 765212b225bb: Pull complete 00:59:26 f23df028b6ca: Pull complete 00:59:26 d65c8cfc05b1: Pull complete 00:59:41 2437ff75d9bd: Pull complete 00:59:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:42 prd-ubuntu20.04-docker-arm64-4c-16g-6506 does not seem to be running inside a container 00:59:42 $ 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/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:59:44 $ docker top 5c14312086e70a5fc26193130bfd9a48b2d5679c3f6acecf03789dd8f6bc9b67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:45 ---> job-cost.sh 00:59:45 lf-activate-venv: SKIPPING 00:59:45 INFO: No Stack... 00:59:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:59:46 INFO: Archiving Costs [Pipeline] sh 00:59:47 + cut -d, -f6 00:59:47 + cat /w/workspace/device-usb-camera/53/archives/cost.csv [Pipeline] lock 00:59:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] 00:59:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] did not exist. Created. 00:59:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:59:47 /w/workspace/device-usb-camera/53@tmp/durable-a2b1224b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:59:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:59:48 Warning: overwriting stash ‘stack-cost’ 00:59:48 Stashed 1 file(s) [Pipeline] } 00:59:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-53-stack-cost] [Pipeline] // lock [Pipeline] } 00:59:48 $ docker stop --time=1 5c14312086e70a5fc26193130bfd9a48b2d5679c3f6acecf03789dd8f6bc9b67 00:59:50 $ docker rm -f --volumes 5c14312086e70a5fc26193130bfd9a48b2d5679c3f6acecf03789dd8f6bc9b67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:50 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:59:51 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 00:59:51 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:59:51 total 16 00:59:51 drwxr-xr-x 3 root root 4096 Mar 31 00:51 . 00:59:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 00:51 .. 00:59:51 drwxr-xr-x 2 root root 4096 Mar 31 00:51 cost 00:59:51 -rw-r--r-- 1 root root 89 Mar 31 00:51 cost.csv 00:59:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:59:51 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 00:59:51 total 16 00:59:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 00:51 . 00:59:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 00:51 .. 00:59:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 00:51 cost 00:59:51 -rw-r--r-- 1 jenkins jenkins 89 Mar 31 00:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:59:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:59:52 ---> package-listing.sh 00:59:52 ++ facter osfamily 00:59:52 ++ tr '[:upper:]' '[:lower:]' 00:59:52 + OS_FAMILY=debian 00:59:52 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 00:59:52 + START_PACKAGES=/tmp/packages_start.txt 00:59:52 + END_PACKAGES=/tmp/packages_end.txt 00:59:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:59:52 + PACKAGES=/tmp/packages_start.txt 00:59:52 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 00:59:52 + PACKAGES=/tmp/packages_end.txt 00:59:52 + case "${OS_FAMILY}" in 00:59:52 + dpkg -l 00:59:52 + grep '^ii' 00:59:52 + '[' -f /tmp/packages_start.txt ']' 00:59:52 + '[' -f /tmp/packages_end.txt ']' 00:59:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:59:52 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 00:59:52 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 00:59:52 + 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 00:59:52 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 00:59:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:53 prd-ubuntu20.04-docker-8c-8g-6505 does not seem to be running inside a container 00:59:53 $ 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 00:59:53 $ docker top cdcea7675b98aaa9c28aa43e699b51e888f9b8176ec324397083675e3db6e65b -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:54 + touch /tmp/pre-build-complete [Pipeline] sh 00:59:54 + mkdir -p /var/log/sysstat [Pipeline] sh 00:59:54 + ls /var/log/sa-host 00:59:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:54 provisioning config files... 00:59:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config9276178676142141602tmp [Pipeline] { [Pipeline] echo 00:59:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:59:55 ---> create-netrc.sh [Pipeline] } 00:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:59:55 ---> python-tools-install.sh [Pipeline] echo 00:59:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:59:55 ---> sudo-logs.sh 00:59:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:59:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:59:55 ---> job-cost.sh 00:59:55 lf-activate-venv: SKIPPING 00:59:55 DEBUG: total: 0.2199999988079071 00:59:55 INFO: Retrieving Stack Cost... 00:59:56 INFO: Retrieving Pricing Info for: v3-standard-8 00:59:57 INFO: Archiving Costs [Pipeline] echo 00:59:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:59:57 ---> logs-deploy.sh 00:59:57 lf-activate-venv: SKIPPING 00:59:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/53 00:59:57 INFO: archiving workspace using pattern(s): 00:59:58 Archives upload complete. 00:59:58 INFO: archiving logs to Nexus