Pull request #248 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf1dd36940fe9a7623b1925923297d620b767622+7a1cf3250193716800d70f0cf90cebef309e38f0 (b56dd7e4d1a0f2cf35291d60a464bbe436610669) 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-ssh10282384434968080779.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5208522792792840751.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-248/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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14193325293723955265.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3125420723210297566.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-248/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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5079079574198916327.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-15682 in /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-248 # 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 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit bf1dd36940fe9a7623b1925923297d620b767622 Merge succeeded, producing bf1dd36940fe9a7623b1925923297d620b767622 Checking out Revision bf1dd36940fe9a7623b1925923297d620b767622 (PR-248) > 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/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # 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 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 Commit message: "build(snap): Bump epoch for major v3 upgrade" > git rev-list --no-walk 397f74a9d669c0142bc715997d2769cba4f3ecff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:24:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:24:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:24:00 ========================================================= 10:24:00 EdgeX Global Pipelines Version Info 10:24:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:24:00 ------------------- 10:24:00 stable info: 10:24:00 ------------------- 10:24:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:24:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:24:00 Message: update stable to v1.0.249 10:24:01 ------------------- 10:24:01 experimental info: 10:24:01 ------------------- 10:24:01 Commited By: **** collab-it+edgex@linuxfoundation.org 10:24:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:24:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:24:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf1dd36 [Pipeline] echo 10:24:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:02 provisioning config files... 10:24:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config279280076706363557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:02 ---> docker-login.sh 10:24:02 nexus3.edgexfoundry.org:10001 10:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:02 Configure a credential helper to remove this warning. See 10:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:02 10:24:02 Login Succeeded 10:24:02 nexus3.edgexfoundry.org:10002 10:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:02 Configure a credential helper to remove this warning. See 10:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:02 10:24:02 Login Succeeded 10:24:02 nexus3.edgexfoundry.org:10003 10:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:02 Configure a credential helper to remove this warning. See 10:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:02 10:24:02 Login Succeeded 10:24:02 nexus3.edgexfoundry.org:10004 10:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:02 Configure a credential helper to remove this warning. See 10:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:02 10:24:02 Login Succeeded 10:24:02 docker.io 10:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:03 Configure a credential helper to remove this warning. See 10:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:03 10:24:03 Login Succeeded 10:24:03 ---> docker-login.sh ends [Pipeline] } 10:24:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:24:03 + git rev-list -1 --merges bf1dd36940fe9a7623b1925923297d620b767622~1..bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo 10:24:03 -----------> git rev-list -1 --merges bf1dd36940fe9a7623b1925923297d620b767622~1..bf1dd36940fe9a7623b1925923297d620b767622 bf1dd36940fe9a7623b1925923297d620b767622 [false] [Pipeline] sh 10:24:04 + git log --format=format:%s -1 bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo 10:24:04 ========================================================= 10:24:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:24:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:04 + git log --format=format:%s -1 bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo 10:24:04 [semverPrep] GIT_COMMIT: bf1dd36940fe9a7623b1925923297d620b767622, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo 10:24:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:24:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:24:04 + grep -v github /etc/ssh/ssh_known_hosts 10:24:04 + [ -e /tmp/ssh_known_hosts ] 10:24:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:24:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:24:04 + sudo tee -a /etc/ssh/ssh_known_hosts 10:24:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:05 10:24:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:05 0.1.4: Pulling from edgex-devops/py-git-semver 10:24:05 b85a868b505f: Pulling fs layer 10:24:05 e2be974225ed: Pulling fs layer 10:24:05 339a4e72a1f5: Pulling fs layer 10:24:05 988bab9f4d93: Pulling fs layer 10:24:05 1469e6f7b9e6: Pulling fs layer 10:24:05 eaf3925da568: Pulling fs layer 10:24:05 bab4dde63d76: Pulling fs layer 10:24:05 bde34c3a00c8: Pulling fs layer 10:24:05 b352a97aabf1: Pulling fs layer 10:24:05 4872d77fe225: Pulling fs layer 10:24:05 5851b861e8e6: Pulling fs layer 10:24:05 4872d77fe225: Waiting 10:24:05 bab4dde63d76: Waiting 10:24:05 bde34c3a00c8: Waiting 10:24:05 b352a97aabf1: Waiting 10:24:05 988bab9f4d93: Waiting 10:24:05 1469e6f7b9e6: Waiting 10:24:05 eaf3925da568: Waiting 10:24:05 5851b861e8e6: Waiting 10:24:05 e2be974225ed: Download complete 10:24:05 988bab9f4d93: Download complete 10:24:05 1469e6f7b9e6: Verifying Checksum 10:24:05 1469e6f7b9e6: Download complete 10:24:05 339a4e72a1f5: Verifying Checksum 10:24:05 339a4e72a1f5: Download complete 10:24:05 eaf3925da568: Download complete 10:24:05 bde34c3a00c8: Verifying Checksum 10:24:05 bde34c3a00c8: Download complete 10:24:05 b352a97aabf1: Verifying Checksum 10:24:05 b352a97aabf1: Download complete 10:24:05 4872d77fe225: Verifying Checksum 10:24:05 4872d77fe225: Download complete 10:24:05 5851b861e8e6: Download complete 10:24:05 b85a868b505f: Verifying Checksum 10:24:05 b85a868b505f: Download complete 10:24:05 bab4dde63d76: Verifying Checksum 10:24:05 bab4dde63d76: Download complete 10:24:06 b85a868b505f: Pull complete 10:24:07 e2be974225ed: Pull complete 10:24:07 339a4e72a1f5: Pull complete 10:24:07 988bab9f4d93: Pull complete 10:24:07 1469e6f7b9e6: Pull complete 10:24:07 eaf3925da568: Pull complete 10:24:09 bab4dde63d76: Pull complete 10:24:09 bde34c3a00c8: Pull complete 10:24:09 b352a97aabf1: Pull complete 10:24:09 4872d77fe225: Pull complete 10:24:09 5851b861e8e6: Pull complete 10:24:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:24:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:10 prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container 10:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:24:13 $ docker top f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce -eo pid,comm 10:24:13 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). 10:24:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:24:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:13 [ssh-agent] Looking for ssh-agent implementation... 10:24:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:13 $ docker exec f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent 10:24:13 SSH_AUTH_SOCK=/tmp/ssh-hxC2gEZ1Fi22/agent.31 10:24:13 SSH_AGENT_PID=37 10:24:13 Running ssh-add (command line suppressed) 10:24:14 Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_15723789618815874933.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_15723789618815874933.key) 10:24:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:14 + git tag --points-at HEAD [Pipeline] } 10:24:14 $ docker exec --env ******** --env ******** f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent -k 10:24:14 unset SSH_AUTH_SOCK; 10:24:14 unset SSH_AGENT_PID; 10:24:14 echo Agent pid 37 killed; 10:24:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:24:14 [ssh-agent] Looking for ssh-agent implementation... 10:24:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:24:14 $ docker exec f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent 10:24:14 SSH_AUTH_SOCK=/tmp/ssh-gmXSIA5dwvFb/agent.70 10:24:14 SSH_AGENT_PID=76 10:24:14 Running ssh-add (command line suppressed) 10:24:14 Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8903738936775768483.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8903738936775768483.key) 10:24:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:24:15 + git semver init 10:24:15 2023-05-16 10:24:15,264 [run_init] DEBUG init version:0.0.0 force:False 10:24:15 2023-05-16 10:24:15,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-248/.semver 10:24:15 2023-05-16 10:24:15,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-248/.semver 10:24:15 2023-05-16 10:24:15,266 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-248/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-248, universal_newlines=False, shell=None, istream=None) 10:24:16 2023-05-16 10:24:15,933 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-248/.git/info/exclude 10:24:16 2023-05-16 10:24:15,934 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 with force:False 10:24:16 2023-05-16 10:24:15,934 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 10:24:16 2023-05-16 10:24:15,938 [execute] INFO git cat-file --batch-check 10:24:16 2023-05-16 10:24:15,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) 10:24:16 2023-05-16 10:24:15,943 [execute] INFO git cat-file --batch 10:24:16 2023-05-16 10:24:15,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) 10:24:16 2023-05-16 10:24:15,948 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 10:24:16 0.0.0 [Pipeline] } 10:24:16 $ docker exec --env ******** --env ******** f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent -k 10:24:16 unset SSH_AUTH_SOCK; 10:24:16 unset SSH_AGENT_PID; 10:24:16 echo Agent pid 76 killed; 10:24:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:24:16 + git semver [Pipeline] } 10:24:17 $ docker stop --time=1 f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce 10:24:18 $ docker rm -f --volumes f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce [Pipeline] // withDockerContainer [Pipeline] sh 10:24:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:24:18 Stashed 1 file(s) [Pipeline] echo 10:24:18 [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 10:24:19 provisioning config files... 10:24:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config7614637269519469228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:19 ---> docker-login.sh 10:24:19 nexus3.edgexfoundry.org:10001 10:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:19 Configure a credential helper to remove this warning. See 10:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:19 10:24:19 Login Succeeded 10:24:19 nexus3.edgexfoundry.org:10002 10:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:19 Configure a credential helper to remove this warning. See 10:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:19 10:24:19 Login Succeeded 10:24:19 nexus3.edgexfoundry.org:10003 10:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:19 Configure a credential helper to remove this warning. See 10:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:19 10:24:19 Login Succeeded 10:24:19 nexus3.edgexfoundry.org:10004 10:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:19 Configure a credential helper to remove this warning. See 10:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:19 10:24:19 Login Succeeded 10:24:19 docker.io 10:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:19 Configure a credential helper to remove this warning. See 10:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:19 10:24:19 Login Succeeded 10:24:19 ---> docker-login.sh ends [Pipeline] } 10:24:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:24:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:24:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:24:20 ========================================================= 10:24:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:24:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:20 + 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 . 10:24:20 Sending build context to Docker daemon 1.864MB 10:24:20 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:24:20 Step 2/13 : FROM ${BASE} AS builder 10:24:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:24:20 f56be85fc22e: Pulling fs layer 10:24:20 85791d961cd3: Pulling fs layer 10:24:20 d694b5ae8c79: Pulling fs layer 10:24:20 9f32a84ed3da: Pulling fs layer 10:24:20 4d19c01a9841: Pulling fs layer 10:24:20 9325e15d5711: Pulling fs layer 10:24:20 556b6ee489ea: Pulling fs layer 10:24:20 c5a4b2cf53e6: Pulling fs layer 10:24:20 9f32a84ed3da: Waiting 10:24:20 4d19c01a9841: Waiting 10:24:20 9325e15d5711: Waiting 10:24:20 556b6ee489ea: Waiting 10:24:20 c5a4b2cf53e6: Waiting 10:24:20 85791d961cd3: Verifying Checksum 10:24:20 85791d961cd3: Download complete 10:24:20 9f32a84ed3da: Download complete 10:24:20 4d19c01a9841: Download complete 10:24:20 f56be85fc22e: Verifying Checksum 10:24:20 f56be85fc22e: Download complete 10:24:20 9325e15d5711: Verifying Checksum 10:24:20 9325e15d5711: Download complete 10:24:20 f56be85fc22e: Pull complete 10:24:20 85791d961cd3: Pull complete 10:24:20 c5a4b2cf53e6: Verifying Checksum 10:24:20 c5a4b2cf53e6: Download complete 10:24:21 d694b5ae8c79: Verifying Checksum 10:24:21 d694b5ae8c79: Download complete 10:24:21 556b6ee489ea: Verifying Checksum 10:24:21 556b6ee489ea: Download complete 10:24:24 d694b5ae8c79: Pull complete 10:24:24 9f32a84ed3da: Pull complete 10:24:24 4d19c01a9841: Pull complete 10:24:24 9325e15d5711: Pull complete 10:24:27 556b6ee489ea: Pull complete 10:24:27 c5a4b2cf53e6: Pull complete 10:24:27 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:24:27 ---> c4be618373d6 10:24:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:24:33 ---> Running in 2d22899b2ee1 10:24:33 Removing intermediate container 2d22899b2ee1 10:24:33 ---> 26b510edf308 10:24:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:24:33 ---> Running in a1b37b1636a9 10:24:33 Removing intermediate container a1b37b1636a9 10:24:33 ---> c15f588e2ae4 10:24:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:24:33 ---> Running in 85fc37b6753c 10:24:33 Removing intermediate container 85fc37b6753c 10:24:33 ---> ad2d57fe65f7 10:24:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:24:33 ---> Running in 3f09c2a64098 10:24:33 Removing intermediate container 3f09c2a64098 10:24:33 ---> 4363c5656675 10:24:33 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:33 ---> Running in f4533693a19c 10:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:24:33 Still waiting to schedule task 10:24:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:24:34 (1/14) Installing libintl (0.21.1-r1) 10:24:34 (2/14) Installing eudev-libs (3.2.11-r4) 10:24:34 (3/14) Installing libjpeg-turbo (2.1.4-r0) 10:24:34 (4/14) Installing v4l-utils-libs (1.22.1-r2) 10:24:34 (5/14) Installing v4l-utils (1.22.1-r2) 10:24:34 (6/14) Installing udev-init-scripts (35-r1) 10:24:34 (7/14) Installing libblkid (2.38.1-r1) 10:24:34 (8/14) Installing xz-libs (5.2.9-r0) 10:24:34 (9/14) Installing zstd-libs (1.5.5-r0) 10:24:34 (10/14) Installing kmod-libs (30-r1) 10:24:34 (11/14) Installing eudev (3.2.11-r4) 10:24:34 (12/14) Installing eudev-dev (3.2.11-r4) 10:24:34 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 10:24:34 (14/14) Installing v4l-utils-dev (1.22.1-r2) 10:24:34 Executing busybox-1.35.0-r29.trigger 10:24:34 Executing eudev-3.2.11-r4.trigger 10:24:34 OK: 272 MiB in 67 packages 10:24:34 Removing intermediate container f4533693a19c 10:24:34 ---> 7f63d25d7921 10:24:34 Step 8/13 : WORKDIR /device-usb-camera 10:24:34 ---> Running in 8ccc46e6bb33 10:24:35 Removing intermediate container 8ccc46e6bb33 10:24:35 ---> 26c117cf33fc 10:24:35 Step 9/13 : COPY go.mod vendor* ./ 10:24:35 ---> 5ce10b20922f 10:24:35 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:35 ---> Running in b9d5dec79dd5 10:25:01 Removing intermediate container b9d5dec79dd5 10:25:01 ---> e788a16b9c8d 10:25:01 Step 11/13 : COPY . . 10:25:01 ---> 4853a0c951e1 10:25:01 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:25:01 ---> Running in 0e6e4685419a 10:25:01  % Total % Received % Xferd Average Speed Time Time Time Current 10:25:01 Dload Upload Total Spent Left Speed 10:25:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7907 0 --:--:-- --:--:-- --:--:-- 7925 10:25:01 Removing intermediate container 0e6e4685419a 10:25:01 ---> c488a958d6d9 10:25:01 Step 13/13 : RUN ${MAKE} 10:25:01 ---> Running in 139b6e7bab27 10:25:01 noop 10:25:01 Removing intermediate container 139b6e7bab27 10:25:01 ---> 2869be1b360a 10:25:01 Successfully built 2869be1b360a 10:25:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:02 + docker inspect -f . ci-base-image-x86_64 10:25:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:02 prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container 10:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-x86_64 cat 10:25:02 $ docker top ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:03 + go version 10:25:03 go version go1.20.2 linux/amd64 [Pipeline] } 10:25:03 $ docker stop --time=1 ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 10:25:04 $ docker rm -f --volumes ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:04 + docker inspect -f . ci-base-image-x86_64 10:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:04 prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container 10:25:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-x86_64 cat 10:25:05 $ docker top e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:05 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] fileExists [Pipeline] sh 10:25:05 + make test 10:25:05 go test ./... -coverprofile=coverage.out ./... 10:25:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:25:20 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:25:20 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.8% of statements 10:25:25 go vet ./... 10:25:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:25:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:25:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:25:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:25:28 $ docker stop --time=1 e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a 10:25:31 $ docker rm -f --volumes e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a [Pipeline] // withDockerContainer [Pipeline] sh 10:25:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:25:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:25:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:25:33 + ls -al . 10:25:33 total 188 10:25:33 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:25 . 10:25:33 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:23 .. 10:25:33 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:24 .git 10:25:33 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 .github 10:25:33 -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:23 .gitignore 10:25:33 -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:23 .golangci.yml 10:25:33 -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:23 .hadolint.yml 10:25:33 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:24 .semver 10:25:33 -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:23 Attribution.txt 10:25:33 -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:23 CHANGELOG.md 10:25:33 -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:23 Dockerfile 10:25:33 -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:23 GOVERNANCE.md 10:25:33 -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:23 Jenkinsfile 10:25:33 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:23 LICENSE 10:25:33 -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:23 Makefile 10:25:33 -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:23 OWNERS.md 10:25:33 -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:23 README.md 10:25:33 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:24 VERSION 10:25:33 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:23 bin 10:25:33 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 cmd 10:25:33 -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:25 coverage.out 10:25:33 -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:23 docker-entrypoint.sh 10:25:33 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:23 docs 10:25:33 -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:23 go.mod 10:25:33 -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:23 go.sum 10:25:33 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 internal 10:25:33 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:23 snap 10:25:33 -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:33 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bf1dd36940fe9a7623b1925923297d620b767622 --label arch=amd64 --label version=0.0.0 . 10:25:33 Sending build context to Docker daemon 1.896MB 10:25:33 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 10:25:33 Step 2/36 : FROM ${BASE} AS builder 10:25:33 ---> 2869be1b360a 10:25:33 Step 3/36 : ARG ADD_BUILD_TAGS="" 10:25:33 ---> Running in 45601d34df7d 10:25:33 Removing intermediate container 45601d34df7d 10:25:33 ---> 9813e0b076f0 10:25:33 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:25:33 ---> Running in 50d48d7e0930 10:25:33 Removing intermediate container 50d48d7e0930 10:25:33 ---> 9fd622937f42 10:25:33 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:25:33 ---> Running in 264cae21877f 10:25:33 Removing intermediate container 264cae21877f 10:25:33 ---> ced25849e4c3 10:25:33 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:25:33 ---> Running in bb4451cf7257 10:25:33 Removing intermediate container bb4451cf7257 10:25:33 ---> e5bd4c0cf9cc 10:25:33 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:33 ---> Running in fdcc94360282 10:25:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:25:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:25:34 OK: 272 MiB in 67 packages 10:25:34 Removing intermediate container fdcc94360282 10:25:34 ---> 893d02c5fb36 10:25:34 Step 8/36 : WORKDIR /device-usb-camera 10:25:34 ---> Running in 9854ebc4f7c4 10:25:34 Removing intermediate container 9854ebc4f7c4 10:25:34 ---> 56f542263890 10:25:34 Step 9/36 : COPY go.mod vendor* ./ 10:25:34 ---> 2b1350c5ad72 10:25:34 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:25:34 ---> Running in f9be06283a14 10:25:35 Removing intermediate container f9be06283a14 10:25:35 ---> 3a79a072fce5 10:25:35 Step 11/36 : COPY . . 10:25:35 ---> 897cd9799f52 10:25:35 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:25:35 ---> Running in cc05af0a8ff3 10:25:35  % Total % Received % Xferd Average Speed Time Time Time Current 10:25:35 Dload Upload Total Spent Left Speed 10:25:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20261 0 --:--:-- --:--:-- --:--:-- 20423 10:25:36 Removing intermediate container cc05af0a8ff3 10:25:36 ---> 430a2cb65bad 10:25:36 Step 13/36 : RUN ${MAKE} 10:25:36 ---> Running in dff242b39867 10:25:36 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 10:25:58 Removing intermediate container dff242b39867 10:25:58 ---> 88eafca1f25e 10:25:58 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 10:25:58 v0.21.6: Pulling from aler9/rtsp-simple-server 10:25:58 4acc49c71d14: Pulling fs layer 10:25:58 4acc49c71d14: Verifying Checksum 10:25:58 4acc49c71d14: Download complete 10:25:58 4acc49c71d14: Pull complete 10:25:58 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 10:25:58 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 10:25:58 ---> 01a2bd3e5fff 10:25:58 Step 15/36 : FROM alpine:3.17 10:25:58 3.17: Pulling from library/alpine 10:25:58 f56be85fc22e: Already exists 10:25:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:25:58 Status: Downloaded newer image for alpine:3.17 10:25:58 ---> 9ed4aefc74f6 10:25:58 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:25:58 ---> Running in 50b54a6e6617 10:25:58 Removing intermediate container 50b54a6e6617 10:25:58 ---> 7b6576546f43 10:25:58 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 10:25:58 ---> Running in 1fff9af7c3fe 10:25:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:25:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:25:58 (1/86) Installing dumb-init (1.2.5-r2) 10:25:58 (2/86) Installing sdl2 (2.26.5-r0) 10:25:58 (3/86) Installing svt-av1-libs (1.3.0-r0) 10:25:58 (4/86) Installing libxau (1.0.10-r0) 10:25:58 (5/86) Installing libmd (1.0.4-r0) 10:25:58 (6/86) Installing libbsd (0.11.7-r0) 10:25:58 (7/86) Installing libxdmcp (1.1.4-r0) 10:25:58 (8/86) Installing libxcb (1.15-r0) 10:25:58 (9/86) Installing libx11 (1.8.4-r0) 10:25:58 (10/86) Installing aom-libs (3.5.0-r0) 10:25:58 (11/86) Installing alsa-lib (1.2.8-r0) 10:25:58 (12/86) Installing libexpat (2.5.0-r0) 10:25:58 (13/86) Installing brotli-libs (1.0.9-r9) 10:25:58 (14/86) Installing libbz2 (1.0.8-r4) 10:25:58 (15/86) Installing libpng (1.6.38-r0) 10:25:58 (16/86) Installing freetype (2.12.1-r0) 10:25:58 (17/86) Installing fontconfig (2.14.1-r0) 10:25:58 (18/86) Installing fribidi (1.0.12-r0) 10:25:58 (19/86) Installing libffi (3.4.4-r0) 10:25:58 (20/86) Installing libintl (0.21.1-r1) 10:25:58 (21/86) Installing libblkid (2.38.1-r1) 10:25:58 (22/86) Installing libmount (2.38.1-r1) 10:25:58 (23/86) Installing pcre2 (10.42-r0) 10:25:58 (24/86) Installing glib (2.74.6-r0) 10:25:58 (25/86) Installing graphite2 (1.3.14-r2) 10:25:58 (26/86) Installing harfbuzz (5.3.1-r1) 10:25:58 (27/86) Installing libass (0.16.0-r1) 10:25:58 (28/86) Installing libdav1d (1.0.0-r2) 10:25:58 (29/86) Installing hwdata-pci (0.364-r0) 10:25:58 (30/86) Installing libpciaccess (0.17-r0) 10:25:58 (31/86) Installing libdrm (2.4.114-r0) 10:25:58 (32/86) Installing gmp (6.2.1-r2) 10:25:58 (33/86) Installing nettle (3.8.1-r0) 10:25:58 (34/86) Installing p11-kit (0.24.1-r1) 10:25:58 (35/86) Installing libtasn1 (4.19.0-r0) 10:25:58 (36/86) Installing libunistring (1.1-r0) 10:25:58 (37/86) Installing gnutls (3.7.8-r3) 10:25:58 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 10:25:58 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 10:25:58 (40/86) Installing lame (3.100-r2) 10:25:58 (41/86) Installing opus (1.3.1-r1) 10:25:58 (42/86) Installing libasyncns (0.8-r1) 10:25:58 (43/86) Installing dbus-libs (1.14.4-r0) 10:25:58 (44/86) Installing libltdl (2.4.7-r1) 10:25:58 (45/86) Installing orc (0.4.33-r0) 10:25:58 (46/86) Installing libgcc (12.2.1_git20220924-r4) 10:25:58 (47/86) Installing libogg (1.3.5-r2) 10:25:58 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 10:25:58 (49/86) Installing flac-libs (1.4.2-r0) 10:25:58 (50/86) Installing libvorbis (1.3.7-r0) 10:25:58 (51/86) Installing libsndfile (1.1.0-r2) 10:25:58 (52/86) Installing libgomp (12.2.1_git20220924-r4) 10:25:58 (53/86) Installing soxr (0.1.3-r3) 10:25:58 (54/86) Installing speexdsp (1.2.1-r0) 10:25:58 (55/86) Installing tdb-libs (1.4.6-r0) 10:25:58 (56/86) Installing libpulse (16.1-r6) 10:25:58 (57/86) Installing cjson (1.7.15-r3) 10:25:58 (58/86) Installing mbedtls (2.28.3-r0) 10:25:58 (59/86) Installing librist (0.2.7-r0) 10:25:58 (60/86) Installing libsrt (1.5.1-r0) 10:25:58 (61/86) Installing libssh (0.10.5-r0) 10:25:58 (62/86) Installing libtheora (1.1.1-r16) 10:25:58 (63/86) Installing libjpeg-turbo (2.1.4-r0) 10:25:58 (64/86) Installing v4l-utils-libs (1.22.1-r2) 10:25:58 (65/86) Installing libxext (1.3.5-r0) 10:25:58 (66/86) Installing libxfixes (6.0.0-r0) 10:25:58 (67/86) Installing wayland-libs-client (1.21.0-r1) 10:25:58 (68/86) Installing libva (2.16.0-r0) 10:25:58 (69/86) Installing libvdpau (1.5-r0) 10:25:58 (70/86) Installing vidstab (1.1.0-r2) 10:25:58 (71/86) Installing libvpx (1.12.0-r1) 10:25:58 (72/86) Installing libwebp (1.2.4-r1) 10:25:58 (73/86) Installing x264-libs (0.164_git20220602-r0) 10:25:58 (74/86) Installing numactl (2.0.16-r1) 10:25:58 (75/86) Installing x265-libs (3.5-r3) 10:25:58 (76/86) Installing xvidcore (1.3.7-r1) 10:25:58 (77/86) Installing libsodium (1.0.18-r2) 10:25:58 (78/86) Installing libzmq (4.3.4-r1) 10:25:58 (79/86) Installing ffmpeg-libs (5.1.3-r0) 10:25:58 (80/86) Installing ffmpeg (5.1.3-r0) 10:25:58 (81/86) Installing udev-init-scripts (35-r1) 10:25:58 (82/86) Installing eudev-libs (3.2.11-r4) 10:25:58 (83/86) Installing xz-libs (5.2.9-r0) 10:25:58 (84/86) Installing zstd-libs (1.5.5-r0) 10:25:58 (85/86) Installing kmod-libs (30-r1) 10:25:58 (86/86) Installing eudev (3.2.11-r4) 10:25:58 Executing busybox-1.35.0-r29.trigger 10:25:58 Executing eudev-3.2.11-r4.trigger 10:25:58 OK: 112 MiB in 101 packages 10:26:01 Removing intermediate container 1fff9af7c3fe 10:26:01 ---> f02d756a1bd9 10:26:01 Step 18/36 : WORKDIR / 10:26:01 ---> Running in 758558ef1586 10:26:01 Removing intermediate container 758558ef1586 10:26:01 ---> 61ce05aba2c8 10:26:01 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 10:26:01 ---> 5d04e6fc76e8 10:26:01 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 10:26:01 ---> fe56dda8b7b7 10:26:01 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 10:26:01 ---> b7b9c51e16cb 10:26:01 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:26:01 ---> a8308b29a204 10:26:01 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:26:02 ---> 40903848e35d 10:26:02 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 10:26:02 ---> f6a6231427dd 10:26:02 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 10:26:03 ---> c6fad392b965 10:26:03 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 10:26:03 ---> Running in bf228355ece6 10:26:04 Removing intermediate container bf228355ece6 10:26:04 ---> 10b16fb22075 10:26:04 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 10:26:04 ---> Running in 787bfbc1375f 10:26:04 Removing intermediate container 787bfbc1375f 10:26:04 ---> 9fb990adfb28 10:26:04 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 10:26:04 ---> Running in 706e933355f7 10:26:05 Removing intermediate container 706e933355f7 10:26:05 ---> de806d32fdeb 10:26:05 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 10:26:05 ---> Running in 664fe307642c 10:26:06 Removing intermediate container 664fe307642c 10:26:06 ---> d4e92b11fecb 10:26:06 Step 30/36 : EXPOSE 59983 10:26:06 ---> Running in cedd820c3d8a 10:26:06 Removing intermediate container cedd820c3d8a 10:26:06 ---> 74289aafdbdd 10:26:06 Step 31/36 : EXPOSE 8554 10:26:06 ---> Running in 05a5f1fed099 10:26:06 Removing intermediate container 05a5f1fed099 10:26:06 ---> 9e2f76f48e3b 10:26:06 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:26:06 ---> Running in 2fadb58e0f7f 10:26:06 Removing intermediate container 2fadb58e0f7f 10:26:06 ---> 1670a8ca03c9 10:26:06 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 10:26:06 ---> Running in 9a1973ef54ff 10:26:06 Removing intermediate container 9a1973ef54ff 10:26:06 ---> 50d5ea9d3524 10:26:06 Step 34/36 : LABEL arch=amd64 10:26:06 ---> Running in 88b0ec5a0b2d 10:26:06 Removing intermediate container 88b0ec5a0b2d 10:26:06 ---> b9175ba42488 10:26:06 Step 35/36 : LABEL git_sha=bf1dd36940fe9a7623b1925923297d620b767622 10:26:06 ---> Running in 4a9c6bb3bebe 10:26:06 Removing intermediate container 4a9c6bb3bebe 10:26:06 ---> 033b51346a50 10:26:06 Step 36/36 : LABEL version=0.0.0 10:26:06 ---> Running in 82c893a37347 10:26:06 Removing intermediate container 82c893a37347 10:26:06 ---> caf8932a5d6c 10:26:06 [Warning] One or more build-args [ARCH] were not consumed 10:26:06 Successfully built caf8932a5d6c 10:26:06 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:06 10:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:07 latest: Pulling from edgex-lftools-log-publisher 10:26:07 5eb5b503b376: Pulling fs layer 10:26:07 5c69ac0246d0: Pulling fs layer 10:26:07 ec43610c2a17: Pulling fs layer 10:26:07 3a2ae6a8a46f: Pulling fs layer 10:26:07 33b1e0a273af: Pulling fs layer 10:26:07 5d3b04190fa2: Pulling fs layer 10:26:07 2f39f015ded8: Pulling fs layer 10:26:07 33b1e0a273af: Waiting 10:26:07 5d3b04190fa2: Waiting 10:26:07 2f39f015ded8: Waiting 10:26:07 3a2ae6a8a46f: Waiting 10:26:07 5c69ac0246d0: Verifying Checksum 10:26:07 5c69ac0246d0: Download complete 10:26:07 3a2ae6a8a46f: Verifying Checksum 10:26:07 3a2ae6a8a46f: Download complete 10:26:07 33b1e0a273af: Verifying Checksum 10:26:07 33b1e0a273af: Download complete 10:26:07 5d3b04190fa2: Verifying Checksum 10:26:07 5d3b04190fa2: Download complete 10:26:07 ec43610c2a17: Download complete 10:26:07 5eb5b503b376: Verifying Checksum 10:26:07 5eb5b503b376: Download complete 10:26:08 2f39f015ded8: Download complete 10:26:08 5eb5b503b376: Pull complete 10:26:08 5c69ac0246d0: Pull complete 10:26:08 ec43610c2a17: Pull complete 10:26:09 3a2ae6a8a46f: Pull complete 10:26:09 33b1e0a273af: Pull complete 10:26:09 5d3b04190fa2: Pull complete 10:26:13 2f39f015ded8: Pull complete 10:26:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:13 prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container 10:26:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:26:17 $ docker top 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:17 ---> job-cost.sh 10:26:17 lf-activate-venv: SKIPPING 10:26:17 INFO: No Stack... 10:26:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:26:18 INFO: Archiving Costs [Pipeline] sh 10:26:18 + cat /w/workspace/foundry_device-usb-camera_PR-248/archives/cost.csv 10:26:18 + cut -d, -f6 [Pipeline] lock 10:26:18 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] 10:26:18 Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] did not exist. Created. 10:26:18 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:26:18 + echo total: 0.2199999988079071 [Pipeline] stash 10:26:18 Stashed 1 file(s) [Pipeline] } 10:26:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:26:18 $ docker stop --time=1 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 10:26:20 $ docker rm -f --volumes 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:29:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15687 in /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] { [Pipeline] ws 10:29:31 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 10:29:31 Selected Git installation does not exist. Using Default 10:29:31 The recommended git tool is: NONE 10:29:38 using credential edgex-jenkins-ssh 10:29:39 Cloning the remote Git repository 10:29:39 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 10:29:39 > git init /w/workspace/device-usb-camera/2 # timeout=10 10:29:39 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:29:39 > git --version # timeout=10 10:29:39 > git --version # 'git version 2.25.1' 10:29:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:29:40 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:29:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:29:42 Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit bf1dd36940fe9a7623b1925923297d620b767622 10:29:43 Merge succeeded, producing bf1dd36940fe9a7623b1925923297d620b767622 10:29:43 Checking out Revision bf1dd36940fe9a7623b1925923297d620b767622 (PR-248) 10:29:41 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:29:42 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:29:42 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:29:42 > git config core.sparsecheckout # timeout=10 10:29:42 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 10:29:42 > git remote # timeout=10 10:29:42 > git config --get remote.origin.url # timeout=10 10:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:43 > git merge 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 10:29:43 > git rev-parse HEAD^{commit} # timeout=10 10:29:43 > git config core.sparsecheckout # timeout=10 10:29:43 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 10:29:43 Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:29:44 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:44 Dload Upload Total Spent Left Speed 10:29:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 10:29:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:29:46 + sudo tee /etc/docker/daemon.new 10:29:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:29:46 { 10:29:46 "registry-mirrors": [ 10:29:46 "https://nexus3.edgexfoundry.org:10001" 10:29:46 ], 10:29:46 "bip": "10.250.0.254/24", 10:29:46 "hosts": [ 10:29:46 "tcp://0.0.0.0:5555", 10:29:46 "unix:///var/run/docker.sock" 10:29:46 ], 10:29:46 "mtu": 1458, 10:29:46 "selinux-enabled": true, 10:29:46 "seccomp-profile": "/etc/docker/seccomp.json" 10:29:46 } [Pipeline] sh 10:29:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:29:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:05 provisioning config files... 10:30:05 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config1507575065530316350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:05 ---> docker-login.sh 10:30:05 nexus3.edgexfoundry.org:10001 10:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:06 Configure a credential helper to remove this warning. See 10:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:06 10:30:06 Login Succeeded 10:30:06 nexus3.edgexfoundry.org:10002 10:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:06 Configure a credential helper to remove this warning. See 10:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:06 10:30:06 Login Succeeded 10:30:06 nexus3.edgexfoundry.org:10003 10:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:07 Configure a credential helper to remove this warning. See 10:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:07 10:30:07 Login Succeeded 10:30:07 nexus3.edgexfoundry.org:10004 10:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:07 Configure a credential helper to remove this warning. See 10:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:07 10:30:07 Login Succeeded 10:30:07 docker.io 10:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:08 Configure a credential helper to remove this warning. See 10:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:08 10:30:08 Login Succeeded 10:30:08 ---> docker-login.sh ends [Pipeline] } 10:30:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:30:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:08 ========================================================= 10:30:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:30:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:08 + 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 . 10:30:09 Sending build context to Docker daemon 1.096MB 10:30:09 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:30:09 Step 2/13 : FROM ${BASE} AS builder 10:30:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:30:09 c41833b44d91: Pulling fs layer 10:30:09 ed15518f5707: Pulling fs layer 10:30:09 feae8fd75edb: Pulling fs layer 10:30:09 242c74f7c9fa: Pulling fs layer 10:30:09 3cdef696dda3: Pulling fs layer 10:30:09 2ced38df9373: Pulling fs layer 10:30:09 58f1dce35555: Pulling fs layer 10:30:09 3cdef696dda3: Waiting 10:30:09 2ced38df9373: Waiting 10:30:09 58f1dce35555: Waiting 10:30:09 242c74f7c9fa: Waiting 10:30:09 ed15518f5707: Verifying Checksum 10:30:09 ed15518f5707: Download complete 10:30:09 242c74f7c9fa: Verifying Checksum 10:30:09 242c74f7c9fa: Download complete 10:30:09 3cdef696dda3: Verifying Checksum 10:30:09 3cdef696dda3: Download complete 10:30:09 c41833b44d91: Verifying Checksum 10:30:09 c41833b44d91: Download complete 10:30:10 c41833b44d91: Pull complete 10:30:11 58f1dce35555: Verifying Checksum 10:30:11 58f1dce35555: Download complete 10:30:11 ed15518f5707: Pull complete 10:30:12 feae8fd75edb: Verifying Checksum 10:30:12 feae8fd75edb: Download complete 10:30:12 2ced38df9373: Verifying Checksum 10:30:12 2ced38df9373: Download complete 10:30:24 feae8fd75edb: Pull complete 10:30:24 242c74f7c9fa: Pull complete 10:30:24 3cdef696dda3: Pull complete 10:30:33 2ced38df9373: Pull complete 10:30:34 58f1dce35555: Pull complete 10:30:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:30:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:30:34 ---> fadd8f120f05 10:30:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:30:36 ---> Running in 8fe9ef5a102a 10:30:37 Removing intermediate container 8fe9ef5a102a 10:30:37 ---> 0c8583250528 10:30:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:30:37 ---> Running in d52e7553569e 10:30:38 Removing intermediate container d52e7553569e 10:30:38 ---> 2fdc5f5013b1 10:30:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:30:38 ---> Running in cd123bda9631 10:30:38 Removing intermediate container cd123bda9631 10:30:38 ---> 11cf4c636aa6 10:30:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:30:38 ---> Running in 2093e9f290b0 10:30:38 Removing intermediate container 2093e9f290b0 10:30:38 ---> c24211de8c62 10:30:38 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:30:39 ---> Running in fd24a60fe2d0 10:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:30:43 (1/14) Installing libintl (0.21.1-r1) 10:30:43 (2/14) Installing eudev-libs (3.2.11-r4) 10:30:43 (3/14) Installing libjpeg-turbo (2.1.4-r0) 10:30:43 (4/14) Installing v4l-utils-libs (1.22.1-r2) 10:30:43 (5/14) Installing v4l-utils (1.22.1-r2) 10:30:43 (6/14) Installing udev-init-scripts (35-r1) 10:30:43 (7/14) Installing libblkid (2.38.1-r1) 10:30:43 (8/14) Installing xz-libs (5.2.9-r0) 10:30:43 (9/14) Installing zstd-libs (1.5.5-r0) 10:30:43 (10/14) Installing kmod-libs (30-r1) 10:30:43 (11/14) Installing eudev (3.2.11-r4) 10:30:43 (12/14) Installing eudev-dev (3.2.11-r4) 10:30:43 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 10:30:43 (14/14) Installing v4l-utils-dev (1.22.1-r2) 10:30:43 Executing busybox-1.35.0-r29.trigger 10:30:43 Executing eudev-3.2.11-r4.trigger 10:30:43 OK: 271 MiB in 67 packages 10:30:44 Removing intermediate container fd24a60fe2d0 10:30:44 ---> 01cc45b6d660 10:30:44 Step 8/13 : WORKDIR /device-usb-camera 10:30:44 ---> Running in 960f45e9b000 10:30:45 Removing intermediate container 960f45e9b000 10:30:45 ---> cb0814da7123 10:30:45 Step 9/13 : COPY go.mod vendor* ./ 10:30:45 ---> 90f5b50d8ae0 10:30:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:30:45 ---> Running in 3e3023157201 10:31:53 Removing intermediate container 3e3023157201 10:31:53 ---> 3ad4c0dada10 10:31:53 Step 11/13 : COPY . . 10:31:53 ---> 9238fd0d3c9b 10:31:53 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:31:53 ---> Running in 81bcca3d33b3 10:31:53  % Total % Received % Xferd Average Speed Time Time Time Current 10:31:53  Dload Upload Total Spent Left Speed 10:31:53 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2484 0 --:--:-- --:--:-- --:--:-- 2492 10:31:53 Removing intermediate container 81bcca3d33b3 10:31:53 ---> 51185eee7a6e 10:31:53 Step 13/13 : RUN ${MAKE} 10:31:53 ---> Running in 434594e4fd01 10:31:53 noop 10:31:53 Removing intermediate container 434594e4fd01 10:31:53 ---> 0739fcb8b5e3 10:31:53 Successfully built 0739fcb8b5e3 10:31:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:54 + docker inspect -f . ci-base-image-arm64 10:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:31:54 prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container 10:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:31:55 $ docker top 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:31:56 + go version 10:31:56 go version go1.20.2 linux/arm64 [Pipeline] } 10:31:56 $ docker stop --time=1 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 10:31:58 $ docker rm -f --volumes 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:59 + docker inspect -f . ci-base-image-arm64 10:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:31:59 prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container 10:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:32:00 $ docker top 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 -eo pid,comm [Pipeline] { [Pipeline] sh 10:32:01 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 10:32:02 + make test 10:32:02 go test ./... -coverprofile=coverage.out ./... 10:32:41 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:35:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:35:26 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 1.8% of statements 10:35:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:35:27 go vet ./... 10:35:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:35:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:35:59 ./bin/test-attribution-txt.sh [Pipeline] echo 10:36:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:36:00 $ docker stop --time=1 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 10:36:03 $ docker rm -f --volumes 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 [Pipeline] // withDockerContainer [Pipeline] sh 10:36:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:36:05 Warning: overwriting stash ‘coverage-report’ 10:36:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:36:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:36:06 + ls -al . 10:36:06 total 184 10:36:06 drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:32 . 10:36:06 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:29 .. 10:36:06 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:29 .git 10:36:06 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 .github 10:36:06 -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:29 .gitignore 10:36:06 -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:29 .golangci.yml 10:36:06 -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:29 .hadolint.yml 10:36:06 -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:29 Attribution.txt 10:36:06 -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:29 CHANGELOG.md 10:36:06 -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:29 Dockerfile 10:36:06 -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:29 GOVERNANCE.md 10:36:06 -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:29 Jenkinsfile 10:36:06 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:29 LICENSE 10:36:06 -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:29 Makefile 10:36:06 -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:29 OWNERS.md 10:36:06 -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:29 README.md 10:36:06 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:24 VERSION 10:36:06 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:29 bin 10:36:06 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 cmd 10:36:06 -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:35 coverage.out 10:36:06 -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:29 docker-entrypoint.sh 10:36:06 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:29 docs 10:36:06 -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:29 go.mod 10:36:06 -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:29 go.sum 10:36:06 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 internal 10:36:06 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:29 snap 10:36:06 -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:06 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bf1dd36940fe9a7623b1925923297d620b767622 --label arch=arm64 --label version=0.0.0 . 10:36:07 Sending build context to Docker daemon 1.128MB 10:36:07 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 10:36:07 Step 2/36 : FROM ${BASE} AS builder 10:36:07 ---> 0739fcb8b5e3 10:36:07 Step 3/36 : ARG ADD_BUILD_TAGS="" 10:36:07 ---> Running in c57d36b9a799 10:36:07 Removing intermediate container c57d36b9a799 10:36:07 ---> 1955b80a0d40 10:36:07 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:36:07 ---> Running in e5f3b21323c5 10:36:08 Removing intermediate container e5f3b21323c5 10:36:08 ---> cadc5e991609 10:36:08 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:36:08 ---> Running in 787ebe482bc5 10:36:08 Removing intermediate container 787ebe482bc5 10:36:08 ---> e266f284943d 10:36:08 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:36:08 ---> Running in 5b0526a94f45 10:36:09 Removing intermediate container 5b0526a94f45 10:36:09 ---> b4dce2db484c 10:36:09 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:36:09 ---> Running in 8ff9ca42b5d1 10:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:36:12 OK: 271 MiB in 67 packages 10:36:13 Removing intermediate container 8ff9ca42b5d1 10:36:13 ---> 586cb1087837 10:36:13 Step 8/36 : WORKDIR /device-usb-camera 10:36:13 ---> Running in 0e2ed4228aa4 10:36:14 Removing intermediate container 0e2ed4228aa4 10:36:14 ---> 7d58d9fa06e6 10:36:14 Step 9/36 : COPY go.mod vendor* ./ 10:36:14 ---> 2f73971b8434 10:36:14 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:36:14 ---> Running in b3220fb29f61 10:36:18 Removing intermediate container b3220fb29f61 10:36:18 ---> b19f4578a7c6 10:36:18 Step 11/36 : COPY . . 10:36:19 ---> 50ae0dd65839 10:36:19 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:36:19 ---> Running in 6af64a2dc03c 10:36:20  % Total % Received % Xferd Average Speed Time Time Time Current 10:36:20 Dload Upload Total Spent Left Speed 10:36:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3421 0 --:--:-- --:--:-- --:--:-- 3436 10:36:22 Removing intermediate container 6af64a2dc03c 10:36:22 ---> 1840102bd122 10:36:22 Step 13/36 : RUN ${MAKE} 10:36:22 ---> Running in d3bc11a39e0f 10:36:23 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 10:39:15 Removing intermediate container d3bc11a39e0f 10:39:15 ---> fa9ea5977079 10:39:15 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 10:39:15 v0.21.6: Pulling from aler9/rtsp-simple-server 10:39:15 8766b47fe142: Pulling fs layer 10:39:15 8766b47fe142: Verifying Checksum 10:39:15 8766b47fe142: Download complete 10:39:15 8766b47fe142: Pull complete 10:39:16 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 10:39:16 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 10:39:16 ---> 69d40e2cb93c 10:39:16 Step 15/36 : FROM alpine:3.17 10:39:16 3.17: Pulling from library/alpine 10:39:16 c41833b44d91: Already exists 10:39:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:39:16 Status: Downloaded newer image for alpine:3.17 10:39:16 ---> 51e60588ff2c 10:39:16 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:39:16 ---> Running in bb400a10040f 10:39:17 Removing intermediate container bb400a10040f 10:39:17 ---> 0578a5274874 10:39:17 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 10:39:17 ---> Running in b00515ee5346 10:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:39:20 (1/83) Installing dumb-init (1.2.5-r2) 10:39:20 (2/83) Installing sdl2 (2.26.5-r0) 10:39:20 (3/83) Installing libxau (1.0.10-r0) 10:39:20 (4/83) Installing libmd (1.0.4-r0) 10:39:20 (5/83) Installing libbsd (0.11.7-r0) 10:39:20 (6/83) Installing libxdmcp (1.1.4-r0) 10:39:20 (7/83) Installing libxcb (1.15-r0) 10:39:20 (8/83) Installing libx11 (1.8.4-r0) 10:39:20 (9/83) Installing aom-libs (3.5.0-r0) 10:39:20 (10/83) Installing alsa-lib (1.2.8-r0) 10:39:20 (11/83) Installing libexpat (2.5.0-r0) 10:39:20 (12/83) Installing brotli-libs (1.0.9-r9) 10:39:20 (13/83) Installing libbz2 (1.0.8-r4) 10:39:20 (14/83) Installing libpng (1.6.38-r0) 10:39:20 (15/83) Installing freetype (2.12.1-r0) 10:39:20 (16/83) Installing fontconfig (2.14.1-r0) 10:39:20 (17/83) Installing fribidi (1.0.12-r0) 10:39:20 (18/83) Installing libffi (3.4.4-r0) 10:39:20 (19/83) Installing libintl (0.21.1-r1) 10:39:20 (20/83) Installing libblkid (2.38.1-r1) 10:39:20 (21/83) Installing libmount (2.38.1-r1) 10:39:20 (22/83) Installing pcre2 (10.42-r0) 10:39:20 (23/83) Installing glib (2.74.6-r0) 10:39:20 (24/83) Installing graphite2 (1.3.14-r2) 10:39:20 (25/83) Installing harfbuzz (5.3.1-r1) 10:39:20 (26/83) Installing libass (0.16.0-r1) 10:39:20 (27/83) Installing libdav1d (1.0.0-r2) 10:39:20 (28/83) Installing libdrm (2.4.114-r0) 10:39:20 (29/83) Installing gmp (6.2.1-r2) 10:39:20 (30/83) Installing nettle (3.8.1-r0) 10:39:20 (31/83) Installing p11-kit (0.24.1-r1) 10:39:20 (32/83) Installing libtasn1 (4.19.0-r0) 10:39:20 (33/83) Installing libunistring (1.1-r0) 10:39:20 (34/83) Installing gnutls (3.7.8-r3) 10:39:20 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 10:39:21 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 10:39:21 (37/83) Installing lame (3.100-r2) 10:39:21 (38/83) Installing opus (1.3.1-r1) 10:39:21 (39/83) Installing libasyncns (0.8-r1) 10:39:21 (40/83) Installing dbus-libs (1.14.4-r0) 10:39:21 (41/83) Installing libltdl (2.4.7-r1) 10:39:21 (42/83) Installing orc (0.4.33-r0) 10:39:21 (43/83) Installing libgcc (12.2.1_git20220924-r4) 10:39:21 (44/83) Installing libogg (1.3.5-r2) 10:39:21 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 10:39:21 (46/83) Installing flac-libs (1.4.2-r0) 10:39:21 (47/83) Installing libvorbis (1.3.7-r0) 10:39:21 (48/83) Installing libsndfile (1.1.0-r2) 10:39:21 (49/83) Installing libgomp (12.2.1_git20220924-r4) 10:39:21 (50/83) Installing soxr (0.1.3-r3) 10:39:21 (51/83) Installing speexdsp (1.2.1-r0) 10:39:21 (52/83) Installing tdb-libs (1.4.6-r0) 10:39:21 (53/83) Installing libpulse (16.1-r6) 10:39:21 (54/83) Installing cjson (1.7.15-r3) 10:39:21 (55/83) Installing mbedtls (2.28.3-r0) 10:39:21 (56/83) Installing librist (0.2.7-r0) 10:39:21 (57/83) Installing libsrt (1.5.1-r0) 10:39:21 (58/83) Installing libssh (0.10.5-r0) 10:39:21 (59/83) Installing libtheora (1.1.1-r16) 10:39:21 (60/83) Installing libjpeg-turbo (2.1.4-r0) 10:39:21 (61/83) Installing v4l-utils-libs (1.22.1-r2) 10:39:21 (62/83) Installing libxext (1.3.5-r0) 10:39:21 (63/83) Installing libxfixes (6.0.0-r0) 10:39:21 (64/83) Installing wayland-libs-client (1.21.0-r1) 10:39:21 (65/83) Installing libva (2.16.0-r0) 10:39:21 (66/83) Installing libvdpau (1.5-r0) 10:39:21 (67/83) Installing vidstab (1.1.0-r2) 10:39:21 (68/83) Installing libvpx (1.12.0-r1) 10:39:21 (69/83) Installing libwebp (1.2.4-r1) 10:39:21 (70/83) Installing x264-libs (0.164_git20220602-r0) 10:39:21 (71/83) Installing numactl (2.0.16-r1) 10:39:21 (72/83) Installing x265-libs (3.5-r3) 10:39:22 (73/83) Installing xvidcore (1.3.7-r1) 10:39:22 (74/83) Installing libsodium (1.0.18-r2) 10:39:22 (75/83) Installing libzmq (4.3.4-r1) 10:39:22 (76/83) Installing ffmpeg-libs (5.1.3-r0) 10:39:22 (77/83) Installing ffmpeg (5.1.3-r0) 10:39:22 (78/83) Installing udev-init-scripts (35-r1) 10:39:22 (79/83) Installing eudev-libs (3.2.11-r4) 10:39:22 (80/83) Installing xz-libs (5.2.9-r0) 10:39:22 (81/83) Installing zstd-libs (1.5.5-r0) 10:39:22 (82/83) Installing kmod-libs (30-r1) 10:39:22 (83/83) Installing eudev (3.2.11-r4) 10:39:22 Executing busybox-1.35.0-r29.trigger 10:39:22 Executing eudev-3.2.11-r4.trigger 10:39:22 OK: 86 MiB in 98 packages 10:39:26 Removing intermediate container b00515ee5346 10:39:26 ---> ee1f23dee311 10:39:26 Step 18/36 : WORKDIR / 10:39:26 ---> Running in 9f0b5ef87f9f 10:39:26 Removing intermediate container 9f0b5ef87f9f 10:39:26 ---> d5ac09580320 10:39:26 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 10:39:27 ---> 6e7c4f624d97 10:39:27 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 10:39:28 ---> e91a8d345fed 10:39:28 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 10:39:29 ---> 40d0adcac835 10:39:29 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:39:29 ---> 455c215d0ea2 10:39:29 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:39:30 ---> 5736e74d2052 10:39:30 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 10:39:30 ---> 4603967e2a9c 10:39:30 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 10:39:32 ---> 81be937298ad 10:39:32 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 10:39:32 ---> Running in bdbccc6ebd29 10:39:34 Removing intermediate container bdbccc6ebd29 10:39:34 ---> d4643bfee060 10:39:34 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 10:39:34 ---> Running in 71b9b3e497b7 10:39:35 Removing intermediate container 71b9b3e497b7 10:39:35 ---> b191cded012f 10:39:35 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 10:39:35 ---> Running in ac63799ab639 10:39:37 Removing intermediate container ac63799ab639 10:39:37 ---> 8d995232a4d5 10:39:37 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 10:39:37 ---> Running in b839a3e8f12b 10:39:39 Removing intermediate container b839a3e8f12b 10:39:39 ---> 973bf1ca350a 10:39:39 Step 30/36 : EXPOSE 59983 10:39:39 ---> Running in c9ce496bc151 10:39:39 Removing intermediate container c9ce496bc151 10:39:39 ---> cf99236df091 10:39:39 Step 31/36 : EXPOSE 8554 10:39:39 ---> Running in 59f5b9c31d1d 10:39:39 Removing intermediate container 59f5b9c31d1d 10:39:39 ---> a132bb9453df 10:39:39 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:39:40 ---> Running in 2a23d94318cc 10:39:40 Removing intermediate container 2a23d94318cc 10:39:40 ---> b6c3723ebb4e 10:39:40 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 10:39:40 ---> Running in b9deeadc7b6a 10:39:40 Removing intermediate container b9deeadc7b6a 10:39:40 ---> a493723c6414 10:39:40 Step 34/36 : LABEL arch=arm64 10:39:40 ---> Running in f37ea5fb0053 10:39:41 Removing intermediate container f37ea5fb0053 10:39:41 ---> 760a6f3ffc2b 10:39:41 Step 35/36 : LABEL git_sha=bf1dd36940fe9a7623b1925923297d620b767622 10:39:41 ---> Running in c40081b9e586 10:39:41 Removing intermediate container c40081b9e586 10:39:41 ---> 0901847d7f08 10:39:41 Step 36/36 : LABEL version=0.0.0 10:39:41 ---> Running in b9a02e30e256 10:39:41 Removing intermediate container b9a02e30e256 10:39:41 ---> 4705faedac41 10:39:41 [Warning] One or more build-args [ARCH] were not consumed 10:39:41 Successfully built 4705faedac41 10:39:41 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:39:42 10:39:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:39:42 arm64: Pulling from edgex-lftools-log-publisher 10:39:42 8998bd30e6a1: Pulling fs layer 10:39:42 04944245beec: Pulling fs layer 10:39:42 699f458cf7ca: Pulling fs layer 10:39:42 765212b225bb: Pulling fs layer 10:39:42 f23df028b6ca: Pulling fs layer 10:39:42 d65c8cfc05b1: Pulling fs layer 10:39:42 2437ff75d9bd: Pulling fs layer 10:39:42 f23df028b6ca: Waiting 10:39:42 d65c8cfc05b1: Waiting 10:39:42 2437ff75d9bd: Waiting 10:39:42 765212b225bb: Waiting 10:39:42 04944245beec: Verifying Checksum 10:39:42 04944245beec: Download complete 10:39:42 765212b225bb: Verifying Checksum 10:39:42 765212b225bb: Download complete 10:39:42 f23df028b6ca: Verifying Checksum 10:39:42 f23df028b6ca: Download complete 10:39:42 d65c8cfc05b1: Verifying Checksum 10:39:42 d65c8cfc05b1: Download complete 10:39:43 699f458cf7ca: Verifying Checksum 10:39:43 699f458cf7ca: Download complete 10:39:43 8998bd30e6a1: Download complete 10:39:46 2437ff75d9bd: Verifying Checksum 10:39:46 2437ff75d9bd: Download complete 10:39:47 8998bd30e6a1: Pull complete 10:39:48 04944245beec: Pull complete 10:39:49 699f458cf7ca: Pull complete 10:39:49 765212b225bb: Pull complete 10:39:50 f23df028b6ca: Pull complete 10:39:50 d65c8cfc05b1: Pull complete 10:40:05 2437ff75d9bd: Pull complete 10:40:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:40:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:05 prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container 10:40:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:40:08 $ docker top 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:09 ---> job-cost.sh 10:40:09 lf-activate-venv: SKIPPING 10:40:09 INFO: No Stack... 10:40:09 INFO: Retrieving Pricing Info for: v3-standard-4 10:40:10 INFO: Archiving Costs [Pipeline] sh 10:40:11 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 10:40:11 + cut -d, -f6 [Pipeline] lock 10:40:11 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] 10:40:11 Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] did not exist. Created. 10:40:11 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:40:12 /w/workspace/device-usb-camera/2@tmp/durable-21b8dca1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:40:12 + echo total: 0.10999999940395355 [Pipeline] stash 10:40:12 Warning: overwriting stash ‘stack-cost’ 10:40:13 Stashed 1 file(s) [Pipeline] } 10:40:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:40:13 $ docker stop --time=1 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 10:40:14 $ docker rm -f --volumes 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:40:14 provisioning config files... 10:40:14 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config11031582612752612749tmp [Pipeline] { [Pipeline] sh 10:40:15 + set +x 10:40:15 + curl -s https://codecov.io/bash 10:40:15 + bash -s -- 10:40:15 10:40:15 _____ _ 10:40:15 / ____| | | 10:40:15 | | ___ __| | ___ ___ _____ __ 10:40:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:40:15 | |___| (_) | (_| | __/ (_| (_) \ V / 10:40:15 \_____\___/ \__,_|\___|\___\___/ \_/ 10:40:15 Bash-1.0.6 10:40:15 10:40:15 10:40:15 ==> git version 2.25.1 found 10:40:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:40:15 Release-Date: 2020-01-08 10:40:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:40:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:40:15 ==> Jenkins CI detected. 10:40:15 current dir:  /w/workspace/foundry_device-usb-camera_PR-248 10:40:15 project root: . 10:40:15 --> token set from env 10:40:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:40:15 ==> Running gcov in . (disable via -X gcov) 10:40:15 ==> Python coveragepy not found 10:40:15 ==> Searching for coverage reports in: 10:40:15 + . 10:40:15 -> Found 1 reports 10:40:15 ==> Detecting git/mercurial file structure 10:40:15 ==> Reading reports 10:40:15 + ./coverage.out bytes=31521 10:40:15 ==> Appending adjustments 10:40:15 https://docs.codecov.io/docs/fixing-reports 10:40:15 + Found adjustments 10:40:15 ==> Gzipping contents 10:40:15 8.0K /tmp/codecov.reIQ9u.gz 10:40:15 ==> Uploading reports 10:40:15 url: https://codecov.io 10:40:15 query: branch=PR-248&commit=bf1dd36940fe9a7623b1925923297d620b767622&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= 10:40:15 -> Pinging Codecov 10:40:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-248&commit=bf1dd36940fe9a7623b1925923297d620b767622&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= 10:40:15 -> Uploading to 10:40:15 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/bf1dd36940fe9a7623b1925923297d620b767622/458248c6-09b2-497e-afd6-7da1381f5005.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T104015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e283d722d4431726c0036d5afbc8208c0bb717b8376362be26fdb96dfae75d0 10:40:15 % Total % Received % Xferd Average Speed Time Time Time Current 10:40:15 Dload Upload Total Spent Left Speed 10:40:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4334 0 0 100 4334 0 23427 --:--:-- --:--:-- --:--:-- 23301 100 4334 0 0 100 4334 0 23301 --:--:-- --:--:-- --:--:-- 23301 10:40:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] } 10:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:40:16 + [ -d /w/workspace/foundry_device-usb-camera_PR-248/archives ] 10:40:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives 10:40:16 total 16 10:40:16 drwxr-xr-x 3 root root 4096 May 16 10:26 . 10:40:16 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:26 .. 10:40:16 drwxr-xr-x 2 root root 4096 May 16 10:26 cost 10:40:16 -rw-r--r-- 1 root root 89 May 16 10:26 cost.csv 10:40:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-248/archives 10:40:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives 10:40:16 total 16 10:40:16 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:26 . 10:40:16 drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:26 .. 10:40:16 drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:26 cost 10:40:16 -rw-r--r-- 1 jenkins jenkins 89 May 16 10:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:40:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:40:17 ---> package-listing.sh 10:40:17 ++ facter osfamily 10:40:17 ++ tr '[:upper:]' '[:lower:]' 10:40:17 + OS_FAMILY=debian 10:40:17 + workspace=/w/workspace/foundry_device-usb-camera_PR-248 10:40:17 + START_PACKAGES=/tmp/packages_start.txt 10:40:17 + END_PACKAGES=/tmp/packages_end.txt 10:40:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:40:17 + PACKAGES=/tmp/packages_start.txt 10:40:17 + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' 10:40:17 + PACKAGES=/tmp/packages_end.txt 10:40:17 + case "${OS_FAMILY}" in 10:40:17 + dpkg -l 10:40:17 + grep '^ii' 10:40:17 + '[' -f /tmp/packages_start.txt ']' 10:40:17 + '[' -f /tmp/packages_end.txt ']' 10:40:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:40:17 + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' 10:40:17 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-248/archives/ 10:40:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-248/archives/ [Pipeline] echo 10:40:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:40:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:18 prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container 10:40:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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 10:40:19 $ docker top 6b0106e1a27ff80388e7c9a4368233d90e3ffb3de219a5c3621ed837c01bbc37 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:19 + touch /tmp/pre-build-complete [Pipeline] sh 10:40:19 + mkdir -p /var/log/sysstat [Pipeline] sh 10:40:19 + ls /var/log/sa-host 10:40:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:40:19 provisioning config files... 10:40:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config10728089470485651071tmp [Pipeline] { [Pipeline] echo 10:40:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:40:20 ---> create-netrc.sh [Pipeline] } 10:40:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:40:20 ---> python-tools-install.sh [Pipeline] echo 10:40:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:40:20 ---> sudo-logs.sh 10:40:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:40:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:40:21 ---> job-cost.sh 10:40:21 lf-activate-venv: SKIPPING 10:40:21 DEBUG: total: 0.2199999988079071 10:40:21 INFO: Retrieving Stack Cost... 10:40:21 INFO: Retrieving Pricing Info for: v3-standard-8 10:40:22 INFO: Archiving Costs [Pipeline] echo 10:40:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:40:22 ---> logs-deploy.sh 10:40:22 lf-activate-venv: SKIPPING 10:40:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-248/2 10:40:22 INFO: archiving workspace using pattern(s): 10:40:23 Archives upload complete. 10:40:23 INFO: archiving logs to Nexus 10:40:23 ---> uname -a: 10:40:23 Linux prd-ubuntu20-04-docker-8c-8g-15682 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:40:23 10:40:23 10:40:23 ---> lscpu: 10:40:23 Architecture: x86_64 10:40:23 CPU op-mode(s): 32-bit, 64-bit 10:40:23 Byte Order: Little Endian 10:40:23 Address sizes: 40 bits physical, 48 bits virtual 10:40:23 CPU(s): 8 10:40:23 On-line CPU(s) list: 0-7 10:40:23 Thread(s) per core: 1 10:40:23 Core(s) per socket: 1 10:40:23 Socket(s): 8 10:40:23 NUMA node(s): 1 10:40:23 Vendor ID: AuthenticAMD 10:40:23 CPU family: 23 10:40:23 Model: 49 10:40:23 Model name: AMD EPYC-Rome Processor 10:40:23 Stepping: 0 10:40:23 CPU MHz: 2799.998 10:40:23 BogoMIPS: 5599.99 10:40:23 Virtualization: AMD-V 10:40:23 Hypervisor vendor: KVM 10:40:23 Virtualization type: full 10:40:23 L1d cache: 256 KiB 10:40:23 L1i cache: 256 KiB 10:40:23 L2 cache: 4 MiB 10:40:23 L3 cache: 128 MiB 10:40:23 NUMA node0 CPU(s): 0-7 10:40:23 Vulnerability Itlb multihit: Not affected 10:40:23 Vulnerability L1tf: Not affected 10:40:23 Vulnerability Mds: Not affected 10:40:23 Vulnerability Meltdown: Not affected 10:40:23 Vulnerability Mmio stale data: Not affected 10:40:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:40:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:40:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:40:23 Vulnerability Srbds: Not affected 10:40:23 Vulnerability Tsx async abort: Not affected 10:40:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:40:23 10:40:23 10:40:23 ---> nproc: 10:40:23 8 10:40:23 10:40:23 10:40:23 ---> df -h: 10:40:23 Filesystem Size Used Avail Use% Mounted on 10:40:23 overlay 155G 12G 144G 8% / 10:40:23 tmpfs 64M 0 64M 0% /dev 10:40:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:40:23 shm 64M 0 64M 0% /dev/shm 10:40:23 /dev/vda1 155G 12G 144G 8% /facter-os 10:40:23 10:40:23