Pull request #247 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7a1cf3250193716800d70f0cf90cebef309e38f0 rather than 7b8d677cb4a4851e2566e4e16181eae6a576a622 Obtained Jenkinsfile from 7a1cf3250193716800d70f0cf90cebef309e38f0 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-ssh5653254431986484039.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-ssh17941545580730664953.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15020571666108516311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14823446508044404238.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8397321770106296506.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11124996398028272537.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘prd-ubuntu20.04-docker-8c-8g-15454’ Running on prd-ubuntu20.04-docker-8c-8g-15457 in /w/workspace/foundry_device-usb-camera_PR-247 [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-247 # 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 7b8d677cb4a4851e2566e4e16181eae6a576a622 > 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/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b8d677cb4a4851e2566e4e16181eae6a576a622 # timeout=10 Merge succeeded, producing 7b8d677cb4a4851e2566e4e16181eae6a576a622 Checking out Revision 7b8d677cb4a4851e2566e4e16181eae6a576a622 (PR-247) > 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 7b8d677cb4a4851e2566e4e16181eae6a576a622 # timeout=10 Commit message: "fix: add return on empty user/pass, and do not send superfluous 200 OK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:41 ========================================================= 21:06:41 EdgeX Global Pipelines Version Info 21:06:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:42 ------------------- 21:06:42 stable info: 21:06:42 ------------------- 21:06:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:06:42 Message: update stable to v1.0.249 21:06:42 ------------------- 21:06:42 experimental info: 21:06:42 ------------------- 21:06:42 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:06:42 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b8d677cb4a4851e2566e4e16181eae6a576a622 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b8d677 [Pipeline] echo 21:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:44 provisioning config files... 21:06:44 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config5848200952185693733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:44 ---> docker-login.sh 21:06:44 nexus3.edgexfoundry.org:10001 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 nexus3.edgexfoundry.org:10002 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 nexus3.edgexfoundry.org:10003 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 nexus3.edgexfoundry.org:10004 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 docker.io 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 ---> docker-login.sh ends [Pipeline] } 21:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:46 + git rev-list -1 --merges 7b8d677cb4a4851e2566e4e16181eae6a576a622~1..7b8d677cb4a4851e2566e4e16181eae6a576a622 [Pipeline] echo 21:06:46 -----------> git rev-list -1 --merges 7b8d677cb4a4851e2566e4e16181eae6a576a622~1..7b8d677cb4a4851e2566e4e16181eae6a576a622 7b8d677cb4a4851e2566e4e16181eae6a576a622 [false] [Pipeline] sh 21:06:47 + git log --format=format:%s -1 7b8d677cb4a4851e2566e4e16181eae6a576a622 [Pipeline] echo 21:06:47 ========================================================= 21:06:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:47 + git log --format=format:%s -1 7b8d677cb4a4851e2566e4e16181eae6a576a622 [Pipeline] echo 21:06:47 [semverPrep] GIT_COMMIT: 7b8d677cb4a4851e2566e4e16181eae6a576a622, Commit Message: fix: add return on empty user/pass, and do not send superfluous 200 OK [Pipeline] echo 21:06:47 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:47 + grep -v github /etc/ssh/ssh_known_hosts 21:06:47 + [ -e /tmp/ssh_known_hosts ] 21:06:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:48 21:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:48 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:48 b85a868b505f: Pulling fs layer 21:06:48 e2be974225ed: Pulling fs layer 21:06:48 339a4e72a1f5: Pulling fs layer 21:06:48 988bab9f4d93: Pulling fs layer 21:06:48 1469e6f7b9e6: Pulling fs layer 21:06:48 eaf3925da568: Pulling fs layer 21:06:48 bab4dde63d76: Pulling fs layer 21:06:48 bde34c3a00c8: Pulling fs layer 21:06:48 b352a97aabf1: Pulling fs layer 21:06:48 4872d77fe225: Pulling fs layer 21:06:48 5851b861e8e6: Pulling fs layer 21:06:48 bab4dde63d76: Waiting 21:06:48 bde34c3a00c8: Waiting 21:06:48 b352a97aabf1: Waiting 21:06:48 4872d77fe225: Waiting 21:06:48 1469e6f7b9e6: Waiting 21:06:48 5851b861e8e6: Waiting 21:06:48 eaf3925da568: Waiting 21:06:48 988bab9f4d93: Waiting 21:06:48 e2be974225ed: Verifying Checksum 21:06:48 e2be974225ed: Download complete 21:06:48 988bab9f4d93: Verifying Checksum 21:06:48 988bab9f4d93: Download complete 21:06:48 1469e6f7b9e6: Verifying Checksum 21:06:48 eaf3925da568: Verifying Checksum 21:06:48 eaf3925da568: Download complete 21:06:48 339a4e72a1f5: Verifying Checksum 21:06:48 339a4e72a1f5: Download complete 21:06:48 bde34c3a00c8: Verifying Checksum 21:06:48 bde34c3a00c8: Download complete 21:06:49 b352a97aabf1: Download complete 21:06:49 4872d77fe225: Download complete 21:06:49 5851b861e8e6: Verifying Checksum 21:06:49 5851b861e8e6: Download complete 21:06:49 b85a868b505f: Verifying Checksum 21:06:49 b85a868b505f: Download complete 21:06:49 bab4dde63d76: Verifying Checksum 21:06:49 bab4dde63d76: Download complete 21:06:50 b85a868b505f: Pull complete 21:06:50 e2be974225ed: Pull complete 21:06:50 339a4e72a1f5: Pull complete 21:06:50 988bab9f4d93: Pull complete 21:06:51 1469e6f7b9e6: Pull complete 21:06:51 eaf3925da568: Pull complete 21:06:53 bab4dde63d76: Pull complete 21:06:53 bde34c3a00c8: Pull complete 21:06:53 b352a97aabf1: Pull complete 21:06:53 4872d77fe225: Pull complete 21:06:53 5851b861e8e6: Pull complete 21:06:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:53 prd-ubuntu20.04-docker-8c-8g-15457 does not seem to be running inside a container 21:06:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:54 $ docker top 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 -eo pid,comm 21:06:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:06:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:54 [ssh-agent] Looking for ssh-agent implementation... 21:06:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:54 $ docker exec 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 ssh-agent 21:06:54 SSH_AUTH_SOCK=/tmp/ssh-4ZLP4PojpGgn/agent.33 21:06:54 SSH_AGENT_PID=39 21:06:54 Running ssh-add (command line suppressed) 21:06:54 Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_8685838761497452490.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_8685838761497452490.key) 21:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:55 + git tag --points-at HEAD [Pipeline] } 21:06:55 $ docker exec --env ******** --env ******** 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 ssh-agent -k 21:06:55 unset SSH_AUTH_SOCK; 21:06:55 unset SSH_AGENT_PID; 21:06:55 echo Agent pid 39 killed; 21:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:55 [ssh-agent] Looking for ssh-agent implementation... 21:06:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:55 $ docker exec 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 ssh-agent 21:06:55 SSH_AUTH_SOCK=/tmp/ssh-6yevWr33to3P/agent.72 21:06:55 SSH_AGENT_PID=79 21:06:55 Running ssh-add (command line suppressed) 21:06:55 Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_11001563722225432073.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_11001563722225432073.key) 21:06:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:56 + git semver init 21:06:56 2023-05-15 21:06:56,459 [run_init] DEBUG init version:0.0.0 force:False 21:06:56 2023-05-15 21:06:56,459 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-247/.semver 21:06:56 2023-05-15 21:06:56,460 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-247/.semver 21:06:56 2023-05-15 21:06:56,460 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-247/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-247, universal_newlines=False, shell=None, istream=None) 21:06:57 2023-05-15 21:06:57,145 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-247/.git/info/exclude 21:06:57 2023-05-15 21:06:57,145 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 with force:False 21:06:57 2023-05-15 21:06:57,145 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 21:06:57 2023-05-15 21:06:57,150 [execute] INFO git cat-file --batch-check 21:06:57 2023-05-15 21:06:57,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) 21:06:57 2023-05-15 21:06:57,156 [execute] INFO git cat-file --batch 21:06:57 2023-05-15 21:06:57,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) 21:06:57 2023-05-15 21:06:57,161 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 21:06:57 0.0.0 [Pipeline] } 21:06:57 $ docker exec --env ******** --env ******** 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 ssh-agent -k 21:06:57 unset SSH_AUTH_SOCK; 21:06:57 unset SSH_AGENT_PID; 21:06:57 echo Agent pid 79 killed; 21:06:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:58 + git semver [Pipeline] } 21:06:58 $ docker stop --time=1 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 21:06:59 $ docker rm -f --volumes 034e41a479b1e9fe6428a9c37eaa65d95360a37f13e82366f02088e20ced2e49 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:00 Stashed 1 file(s) [Pipeline] echo 21:07:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:00 provisioning config files... 21:07:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config12283980067312201908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:01 ---> docker-login.sh 21:07:01 nexus3.edgexfoundry.org:10001 21:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:01 Configure a credential helper to remove this warning. See 21:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:01 21:07:01 Login Succeeded 21:07:01 nexus3.edgexfoundry.org:10002 21:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:01 Configure a credential helper to remove this warning. See 21:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:01 21:07:01 Login Succeeded 21:07:01 nexus3.edgexfoundry.org:10003 21:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:01 Configure a credential helper to remove this warning. See 21:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:01 21:07:01 Login Succeeded 21:07:01 nexus3.edgexfoundry.org:10004 21:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:01 Configure a credential helper to remove this warning. See 21:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:01 21:07:01 Login Succeeded 21:07:01 docker.io 21:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:01 Configure a credential helper to remove this warning. See 21:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:01 21:07:01 Login Succeeded 21:07:01 ---> docker-login.sh ends [Pipeline] } 21:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:02 ========================================================= 21:07:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:02 Sending build context to Docker daemon 1.862MB 21:07:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:07:02 Step 2/13 : FROM ${BASE} AS builder 21:07:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:02 f56be85fc22e: Pulling fs layer 21:07:02 85791d961cd3: Pulling fs layer 21:07:02 d694b5ae8c79: Pulling fs layer 21:07:02 9f32a84ed3da: Pulling fs layer 21:07:02 4d19c01a9841: Pulling fs layer 21:07:02 9325e15d5711: Pulling fs layer 21:07:02 556b6ee489ea: Pulling fs layer 21:07:02 c5a4b2cf53e6: Pulling fs layer 21:07:02 4d19c01a9841: Waiting 21:07:02 9325e15d5711: Waiting 21:07:02 9f32a84ed3da: Waiting 21:07:02 c5a4b2cf53e6: Waiting 21:07:02 556b6ee489ea: Waiting 21:07:02 85791d961cd3: Verifying Checksum 21:07:02 85791d961cd3: Download complete 21:07:02 9f32a84ed3da: Verifying Checksum 21:07:02 9f32a84ed3da: Download complete 21:07:02 4d19c01a9841: Verifying Checksum 21:07:02 4d19c01a9841: Download complete 21:07:02 f56be85fc22e: Verifying Checksum 21:07:02 f56be85fc22e: Download complete 21:07:02 9325e15d5711: Verifying Checksum 21:07:02 9325e15d5711: Download complete 21:07:02 f56be85fc22e: Pull complete 21:07:03 85791d961cd3: Pull complete 21:07:03 c5a4b2cf53e6: Verifying Checksum 21:07:03 d694b5ae8c79: Verifying Checksum 21:07:03 d694b5ae8c79: Download complete 21:07:03 556b6ee489ea: Verifying Checksum 21:07:03 556b6ee489ea: Download complete 21:07:06 d694b5ae8c79: Pull complete 21:07:06 9f32a84ed3da: Pull complete 21:07:06 4d19c01a9841: Pull complete 21:07:06 9325e15d5711: Pull complete 21:07:09 556b6ee489ea: Pull complete 21:07:09 c5a4b2cf53e6: Pull complete 21:07:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:07:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:09 ---> c4be618373d6 21:07:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:07:11 ---> Running in 76d9fd2dfc6d 21:07:11 Removing intermediate container 76d9fd2dfc6d 21:07:11 ---> ba38ce3556cb 21:07:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:11 ---> Running in a29fbf0405e6 21:07:11 Removing intermediate container a29fbf0405e6 21:07:11 ---> f8a7421ec58b 21:07:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:07:11 ---> Running in d3739a8d04d2 21:07:11 Removing intermediate container d3739a8d04d2 21:07:11 ---> c388fd3ca6e5 21:07:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:07:11 ---> Running in 8ddc9b5dbb79 21:07:11 Removing intermediate container 8ddc9b5dbb79 21:07:11 ---> 629823b2a156 21:07:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:12 ---> Running in 7518059fd8da 21:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:12 (1/14) Installing libintl (0.21.1-r1) 21:07:12 (2/14) Installing eudev-libs (3.2.11-r4) 21:07:12 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:07:12 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:07:12 (5/14) Installing v4l-utils (1.22.1-r2) 21:07:12 (6/14) Installing udev-init-scripts (35-r1) 21:07:12 (7/14) Installing libblkid (2.38.1-r1) 21:07:12 (8/14) Installing xz-libs (5.2.9-r0) 21:07:12 (9/14) Installing zstd-libs (1.5.5-r0) 21:07:12 (10/14) Installing kmod-libs (30-r1) 21:07:12 (11/14) Installing eudev (3.2.11-r4) 21:07:12 (12/14) Installing eudev-dev (3.2.11-r4) 21:07:12 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:07:12 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:07:12 Executing busybox-1.35.0-r29.trigger 21:07:12 Executing eudev-3.2.11-r4.trigger 21:07:12 OK: 272 MiB in 67 packages 21:07:13 Removing intermediate container 7518059fd8da 21:07:13 ---> 50ba9731a84d 21:07:13 Step 8/13 : WORKDIR /device-usb-camera 21:07:13 ---> Running in 75a31858d36c 21:07:13 Removing intermediate container 75a31858d36c 21:07:13 ---> 63abae342863 21:07:13 Step 9/13 : COPY go.mod vendor* ./ 21:07:13 ---> 34ec696c7635 21:07:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:13 ---> Running in d9ceaac8afea 21:07:15 Still waiting to schedule task 21:07:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15455’ 21:07:45 Removing intermediate container d9ceaac8afea 21:07:45 ---> 4a204265ffb1 21:07:45 Step 11/13 : COPY . . 21:07:45 ---> 7681f73cd050 21:07:45 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:07:45 ---> Running in e459e857213c 21:07:45  % Total % Received % Xferd Average Speed Time Time Time Current 21:07:45 Dload Upload Total Spent Left Speed 21:07:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7355 0 --:--:-- --:--:-- --:--:-- 7375 21:07:45 Removing intermediate container e459e857213c 21:07:45 ---> 66a811b94246 21:07:45 Step 13/13 : RUN ${MAKE} 21:07:45 ---> Running in f0b701c8fb1f 21:07:45 noop 21:07:45 Removing intermediate container f0b701c8fb1f 21:07:45 ---> bc3d98dfe94c 21:07:45 Successfully built bc3d98dfe94c 21:07:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:46 + docker inspect -f . ci-base-image-x86_64 21:07:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:46 prd-ubuntu20.04-docker-8c-8g-15457 does not seem to be running inside a container 21:07:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:46 $ docker top b0b05436e8775d31c01cd8c2bf265f2ac61332e6c48fa2d727dbb3f0c15d7aec -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:47 + go version 21:07:47 go version go1.20.2 linux/amd64 [Pipeline] } 21:07:47 $ docker stop --time=1 b0b05436e8775d31c01cd8c2bf265f2ac61332e6c48fa2d727dbb3f0c15d7aec 21:07:48 $ docker rm -f --volumes b0b05436e8775d31c01cd8c2bf265f2ac61332e6c48fa2d727dbb3f0c15d7aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:49 + docker inspect -f . ci-base-image-x86_64 21:07:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:49 prd-ubuntu20.04-docker-8c-8g-15457 does not seem to be running inside a container 21:07:49 $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:07:49 $ docker top bfede208ed71a361a9523bc540d3f8a9eab31286adb6fac3bf948a542cd185d6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:50 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-247 [Pipeline] fileExists [Pipeline] sh 21:07:50 + make test 21:07:50 go test ./... -coverprofile=coverage.out ./... 21:07:54 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:08:04 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:08:04 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.8% of statements 21:08:09 go vet ./... 21:08:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:13 $ docker stop --time=1 bfede208ed71a361a9523bc540d3f8a9eab31286adb6fac3bf948a542cd185d6 21:08:15 $ docker rm -f --volumes bfede208ed71a361a9523bc540d3f8a9eab31286adb6fac3bf948a542cd185d6 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:17 + ls -al . 21:08:17 total 188 21:08:17 drwxrwxr-x 10 jenkins jenkins 4096 May 15 21:07 . 21:08:17 drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:06 .. 21:08:17 drwxrwxr-x 8 jenkins jenkins 4096 May 15 21:06 .git 21:08:17 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:06 .github 21:08:17 -rw-rw-r-- 1 jenkins jenkins 414 May 15 21:06 .gitignore 21:08:17 -rw-rw-r-- 1 jenkins jenkins 42 May 15 21:06 .golangci.yml 21:08:17 -rw-rw-r-- 1 jenkins jenkins 77 May 15 21:06 .hadolint.yml 21:08:17 drwxr-xr-x 3 jenkins jenkins 4096 May 15 21:06 .semver 21:08:17 -rw-rw-r-- 1 jenkins jenkins 9665 May 15 21:06 Attribution.txt 21:08:17 -rw-rw-r-- 1 jenkins jenkins 6219 May 15 21:06 CHANGELOG.md 21:08:17 -rw-rw-r-- 1 jenkins jenkins 2453 May 15 21:06 Dockerfile 21:08:17 -rw-rw-r-- 1 jenkins jenkins 678 May 15 21:06 GOVERNANCE.md 21:08:17 -rw-rw-r-- 1 jenkins jenkins 659 May 15 21:06 Jenkinsfile 21:08:17 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 21:06 LICENSE 21:08:17 -rw-rw-r-- 1 jenkins jenkins 2364 May 15 21:06 Makefile 21:08:17 -rw-rw-r-- 1 jenkins jenkins 622 May 15 21:06 OWNERS.md 21:08:17 -rw-rw-r-- 1 jenkins jenkins 2477 May 15 21:06 README.md 21:08:17 -rw-rw-r-- 1 jenkins jenkins 5 May 15 21:07 VERSION 21:08:17 drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:06 bin 21:08:17 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:06 cmd 21:08:17 -rw-r--r-- 1 jenkins jenkins 31522 May 15 21:08 coverage.out 21:08:17 -rwxrwxr-x 1 jenkins jenkins 140 May 15 21:06 docker-entrypoint.sh 21:08:17 drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:06 docs 21:08:17 -rw-rw-r-- 1 jenkins jenkins 3419 May 15 21:06 go.mod 21:08:17 -rw-rw-r-- 1 jenkins jenkins 31488 May 15 21:06 go.sum 21:08:17 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:06 internal 21:08:17 drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:06 snap 21:08:17 -rw-rw-r-- 1 jenkins jenkins 231 May 15 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:18 + 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=7b8d677cb4a4851e2566e4e16181eae6a576a622 --label arch=amd64 --label version=0.0.0 . 21:08:18 Sending build context to Docker daemon 1.894MB 21:08:18 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:08:18 Step 2/36 : FROM ${BASE} AS builder 21:08:18 ---> bc3d98dfe94c 21:08:18 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:08:18 ---> Running in 590cac185a45 21:08:18 Removing intermediate container 590cac185a45 21:08:18 ---> 75611e867ef7 21:08:18 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:18 ---> Running in 37adafb04643 21:08:18 Removing intermediate container 37adafb04643 21:08:18 ---> 93e0d3a5bcd3 21:08:18 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:08:18 ---> Running in ab6c045a9d39 21:08:18 Removing intermediate container ab6c045a9d39 21:08:18 ---> 70a2ef49d798 21:08:18 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:08:18 ---> Running in 0779d925beda 21:08:18 Removing intermediate container 0779d925beda 21:08:18 ---> cca961bdc48e 21:08:18 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:18 ---> Running in bcf8ca76c6fe 21:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:19 OK: 272 MiB in 67 packages 21:08:19 Removing intermediate container bcf8ca76c6fe 21:08:19 ---> 409b2202b64e 21:08:19 Step 8/36 : WORKDIR /device-usb-camera 21:08:19 ---> Running in 6703c6cc6dc4 21:08:19 Removing intermediate container 6703c6cc6dc4 21:08:19 ---> 7b4d2c354887 21:08:19 Step 9/36 : COPY go.mod vendor* ./ 21:08:19 ---> 4e8cc2533c77 21:08:19 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:19 ---> Running in 7f8572286e74 21:08:20 Removing intermediate container 7f8572286e74 21:08:20 ---> 6b088c104d59 21:08:20 Step 11/36 : COPY . . 21:08:20 ---> 22c75d0c6172 21:08:20 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:08:20 ---> Running in 0af938bac8eb 21:08:20  % Total % Received % Xferd Average Speed Time Time Time Current 21:08:20 Dload Upload Total Spent Left Speed 21:08:20 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21083 0 --:--:-- --:--:-- --:--:-- 21240 21:08:21 Removing intermediate container 0af938bac8eb 21:08:21 ---> be691fa1e903 21:08:21 Step 13/36 : RUN ${MAKE} 21:08:21 ---> Running in 51f5259bf6be 21:08:21 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:08:39 Removing intermediate container 51f5259bf6be 21:08:39 ---> 640770b1662f 21:08:39 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:08:39 v0.21.6: Pulling from aler9/rtsp-simple-server 21:08:40 4acc49c71d14: Pulling fs layer 21:08:40 4acc49c71d14: Verifying Checksum 21:08:40 4acc49c71d14: Download complete 21:08:40 4acc49c71d14: Pull complete 21:08:40 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:08:40 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:08:40 ---> 01a2bd3e5fff 21:08:40 Step 15/36 : FROM alpine:3.17 21:08:41 3.17: Pulling from library/alpine 21:08:41 f56be85fc22e: Already exists 21:08:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:08:41 Status: Downloaded newer image for alpine:3.17 21:08:41 ---> 9ed4aefc74f6 21:08:41 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:08:41 ---> Running in a3c91f3091aa 21:08:41 Removing intermediate container a3c91f3091aa 21:08:41 ---> aa99a5dcff44 21:08:41 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:08:41 ---> Running in 0e2fd46853aa 21:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:42 (1/86) Installing dumb-init (1.2.5-r2) 21:08:42 (2/86) Installing sdl2 (2.26.5-r0) 21:08:42 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:08:42 (4/86) Installing libxau (1.0.10-r0) 21:08:42 (5/86) Installing libmd (1.0.4-r0) 21:08:42 (6/86) Installing libbsd (0.11.7-r0) 21:08:42 (7/86) Installing libxdmcp (1.1.4-r0) 21:08:42 (8/86) Installing libxcb (1.15-r0) 21:08:42 (9/86) Installing libx11 (1.8.4-r0) 21:08:42 (10/86) Installing aom-libs (3.5.0-r0) 21:08:42 (11/86) Installing alsa-lib (1.2.8-r0) 21:08:42 (12/86) Installing libexpat (2.5.0-r0) 21:08:42 (13/86) Installing brotli-libs (1.0.9-r9) 21:08:42 (14/86) Installing libbz2 (1.0.8-r4) 21:08:42 (15/86) Installing libpng (1.6.38-r0) 21:08:42 (16/86) Installing freetype (2.12.1-r0) 21:08:42 (17/86) Installing fontconfig (2.14.1-r0) 21:08:42 (18/86) Installing fribidi (1.0.12-r0) 21:08:42 (19/86) Installing libffi (3.4.4-r0) 21:08:42 (20/86) Installing libintl (0.21.1-r1) 21:08:42 (21/86) Installing libblkid (2.38.1-r1) 21:08:42 (22/86) Installing libmount (2.38.1-r1) 21:08:42 (23/86) Installing pcre2 (10.42-r0) 21:08:42 (24/86) Installing glib (2.74.6-r0) 21:08:42 (25/86) Installing graphite2 (1.3.14-r2) 21:08:42 (26/86) Installing harfbuzz (5.3.1-r1) 21:08:42 (27/86) Installing libass (0.16.0-r1) 21:08:42 (28/86) Installing libdav1d (1.0.0-r2) 21:08:42 (29/86) Installing hwdata-pci (0.364-r0) 21:08:42 (30/86) Installing libpciaccess (0.17-r0) 21:08:42 (31/86) Installing libdrm (2.4.114-r0) 21:08:42 (32/86) Installing gmp (6.2.1-r2) 21:08:42 (33/86) Installing nettle (3.8.1-r0) 21:08:42 (34/86) Installing p11-kit (0.24.1-r1) 21:08:42 (35/86) Installing libtasn1 (4.19.0-r0) 21:08:42 (36/86) Installing libunistring (1.1-r0) 21:08:42 (37/86) Installing gnutls (3.7.8-r3) 21:08:42 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:08:42 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 21:08:42 (40/86) Installing lame (3.100-r2) 21:08:42 (41/86) Installing opus (1.3.1-r1) 21:08:42 (42/86) Installing libasyncns (0.8-r1) 21:08:42 (43/86) Installing dbus-libs (1.14.4-r0) 21:08:42 (44/86) Installing libltdl (2.4.7-r1) 21:08:42 (45/86) Installing orc (0.4.33-r0) 21:08:42 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:08:42 (47/86) Installing libogg (1.3.5-r2) 21:08:42 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:08:42 (49/86) Installing flac-libs (1.4.2-r0) 21:08:42 (50/86) Installing libvorbis (1.3.7-r0) 21:08:42 (51/86) Installing libsndfile (1.1.0-r2) 21:08:42 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:08:42 (53/86) Installing soxr (0.1.3-r3) 21:08:42 (54/86) Installing speexdsp (1.2.1-r0) 21:08:42 (55/86) Installing tdb-libs (1.4.6-r0) 21:08:42 (56/86) Installing libpulse (16.1-r6) 21:08:42 (57/86) Installing cjson (1.7.15-r3) 21:08:42 (58/86) Installing mbedtls (2.28.3-r0) 21:08:42 (59/86) Installing librist (0.2.7-r0) 21:08:42 (60/86) Installing libsrt (1.5.1-r0) 21:08:42 (61/86) Installing libssh (0.10.5-r0) 21:08:42 (62/86) Installing libtheora (1.1.1-r16) 21:08:42 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:08:42 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:08:42 (65/86) Installing libxext (1.3.5-r0) 21:08:42 (66/86) Installing libxfixes (6.0.0-r0) 21:08:42 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:08:42 (68/86) Installing libva (2.16.0-r0) 21:08:42 (69/86) Installing libvdpau (1.5-r0) 21:08:42 (70/86) Installing vidstab (1.1.0-r2) 21:08:42 (71/86) Installing libvpx (1.12.0-r1) 21:08:42 (72/86) Installing libwebp (1.2.4-r1) 21:08:42 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:08:42 (74/86) Installing numactl (2.0.16-r1) 21:08:42 (75/86) Installing x265-libs (3.5-r3) 21:08:42 (76/86) Installing xvidcore (1.3.7-r1) 21:08:42 (77/86) Installing libsodium (1.0.18-r2) 21:08:42 (78/86) Installing libzmq (4.3.4-r1) 21:08:42 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:08:43 (80/86) Installing ffmpeg (5.1.3-r0) 21:08:43 (81/86) Installing udev-init-scripts (35-r1) 21:08:43 (82/86) Installing eudev-libs (3.2.11-r4) 21:08:43 (83/86) Installing xz-libs (5.2.9-r0) 21:08:43 (84/86) Installing zstd-libs (1.5.5-r0) 21:08:43 (85/86) Installing kmod-libs (30-r1) 21:08:43 (86/86) Installing eudev (3.2.11-r4) 21:08:43 Executing busybox-1.35.0-r29.trigger 21:08:43 Executing eudev-3.2.11-r4.trigger 21:08:43 OK: 112 MiB in 101 packages 21:08:45 Removing intermediate container 0e2fd46853aa 21:08:45 ---> 3c6a48d528cf 21:08:45 Step 18/36 : WORKDIR / 21:08:45 ---> Running in 0e68ce44636c 21:08:45 Removing intermediate container 0e68ce44636c 21:08:45 ---> b3ec409d1dba 21:08:45 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:08:46 ---> afd7975d235a 21:08:46 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:08:46 ---> e7a5275a7bcb 21:08:46 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:08:46 ---> 6aac5cd03f2d 21:08:46 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:08:46 ---> 96c04f9aae0a 21:08:46 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:08:46 ---> 5f02439a3506 21:08:46 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:08:46 ---> e8f79cb386b1 21:08:46 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:08:47 ---> 7541263a6f06 21:08:47 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:08:47 ---> Running in d3b3291be26e 21:08:47 Removing intermediate container d3b3291be26e 21:08:47 ---> eb20093f3d8b 21:08:47 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:08:47 ---> Running in 9089e6c521e7 21:08:48 Removing intermediate container 9089e6c521e7 21:08:48 ---> 966bb8660f2d 21:08:48 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:08:48 ---> Running in e71be53546c6 21:08:48 Removing intermediate container e71be53546c6 21:08:48 ---> 58df359564bf 21:08:48 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:08:48 ---> Running in dd38fa6ad944 21:08:49 Removing intermediate container dd38fa6ad944 21:08:49 ---> 2d21d393d7aa 21:08:49 Step 30/36 : EXPOSE 59983 21:08:49 ---> Running in acba04ff00bb 21:08:49 Removing intermediate container acba04ff00bb 21:08:49 ---> 3737650efe57 21:08:49 Step 31/36 : EXPOSE 8554 21:08:49 ---> Running in 97d7968ba9a0 21:08:49 Removing intermediate container 97d7968ba9a0 21:08:49 ---> 06893a549ef8 21:08:49 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:08:49 ---> Running in 3486a8466442 21:08:49 Removing intermediate container 3486a8466442 21:08:49 ---> 431ae2252744 21:08:49 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:08:49 ---> Running in ed918dedfb8e 21:08:49 Removing intermediate container ed918dedfb8e 21:08:49 ---> 8751a1fdc065 21:08:49 Step 34/36 : LABEL arch=amd64 21:08:49 ---> Running in fc0ca522dc04 21:08:49 Removing intermediate container fc0ca522dc04 21:08:49 ---> 74aa70c45459 21:08:49 Step 35/36 : LABEL git_sha=7b8d677cb4a4851e2566e4e16181eae6a576a622 21:08:49 ---> Running in a80423555c3b 21:08:49 Removing intermediate container a80423555c3b 21:08:49 ---> edc78b76ea9a 21:08:49 Step 36/36 : LABEL version=0.0.0 21:08:49 ---> Running in 9fe1f576b466 21:08:50 Removing intermediate container 9fe1f576b466 21:08:50 ---> 2637888dde20 21:08:50 [Warning] One or more build-args [ARCH] were not consumed 21:08:50 Successfully built 2637888dde20 21:08:50 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 21:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:51 21:08:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:51 latest: Pulling from edgex-lftools-log-publisher 21:08:51 5eb5b503b376: Pulling fs layer 21:08:51 5c69ac0246d0: Pulling fs layer 21:08:51 ec43610c2a17: Pulling fs layer 21:08:51 3a2ae6a8a46f: Pulling fs layer 21:08:51 33b1e0a273af: Pulling fs layer 21:08:51 5d3b04190fa2: Pulling fs layer 21:08:51 2f39f015ded8: Pulling fs layer 21:08:51 33b1e0a273af: Waiting 21:08:51 5d3b04190fa2: Waiting 21:08:51 2f39f015ded8: Waiting 21:08:51 3a2ae6a8a46f: Waiting 21:08:51 5c69ac0246d0: Verifying Checksum 21:08:51 5c69ac0246d0: Download complete 21:08:51 3a2ae6a8a46f: Verifying Checksum 21:08:51 3a2ae6a8a46f: Download complete 21:08:51 33b1e0a273af: Verifying Checksum 21:08:51 33b1e0a273af: Download complete 21:08:51 5d3b04190fa2: Verifying Checksum 21:08:51 5d3b04190fa2: Download complete 21:08:51 ec43610c2a17: Verifying Checksum 21:08:51 ec43610c2a17: Download complete 21:08:51 5eb5b503b376: Verifying Checksum 21:08:51 5eb5b503b376: Download complete 21:08:52 2f39f015ded8: Download complete 21:08:52 5eb5b503b376: Pull complete 21:08:52 5c69ac0246d0: Pull complete 21:08:53 ec43610c2a17: Pull complete 21:08:53 3a2ae6a8a46f: Pull complete 21:08:53 33b1e0a273af: Pull complete 21:08:53 5d3b04190fa2: Pull complete 21:08:57 2f39f015ded8: Pull complete 21:08:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:57 prd-ubuntu20.04-docker-8c-8g-15457 does not seem to be running inside a container 21:08:57 $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:59 $ docker top 483d74d2df77b38d43f5b0ee3531fc89c42891911df2aedfe573efa9fa3f566f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> job-cost.sh 21:09:00 lf-activate-venv: SKIPPING 21:09:00 INFO: No Stack... 21:09:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:01 INFO: Archiving Costs [Pipeline] sh 21:09:01 + cat /w/workspace/foundry_device-usb-camera_PR-247/archives/cost.csv 21:09:01 + cut -d, -f6 [Pipeline] lock 21:09:01 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] 21:09:01 Resource [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] did not exist. Created. 21:09:01 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:01 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:01 Stashed 1 file(s) [Pipeline] } 21:09:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:01 $ docker stop --time=1 483d74d2df77b38d43f5b0ee3531fc89c42891911df2aedfe573efa9fa3f566f 21:09:03 $ docker rm -f --volumes 483d74d2df77b38d43f5b0ee3531fc89c42891911df2aedfe573efa9fa3f566f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15458 in /w/workspace/foundry_device-usb-camera_PR-247 [Pipeline] { [Pipeline] ws 21:10:44 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 21:10:45 Selected Git installation does not exist. Using Default 21:10:45 The recommended git tool is: NONE 21:10:52 using credential edgex-jenkins-ssh 21:10:52 Cloning the remote Git repository 21:10:52 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:10:52 > git init /w/workspace/device-usb-camera/1 # timeout=10 21:10:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:10:52 > git --version # timeout=10 21:10:52 > git --version # 'git version 2.25.1' 21:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:10:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:54 Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit 7b8d677cb4a4851e2566e4e16181eae6a576a622 21:10:55 Merge succeeded, producing 7b8d677cb4a4851e2566e4e16181eae6a576a622 21:10:55 Checking out Revision 7b8d677cb4a4851e2566e4e16181eae6a576a622 (PR-247) 21:10:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:10:54 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:54 > git config core.sparsecheckout # timeout=10 21:10:54 > git checkout -f 7b8d677cb4a4851e2566e4e16181eae6a576a622 # timeout=10 21:10:55 > git remote # timeout=10 21:10:55 > git config --get remote.origin.url # timeout=10 21:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:55 > git merge 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 21:10:55 > git rev-parse HEAD^{commit} # timeout=10 21:10:55 > git config core.sparsecheckout # timeout=10 21:10:55 > git checkout -f 7b8d677cb4a4851e2566e4e16181eae6a576a622 # timeout=10 21:10:58 Commit message: "fix: add return on empty user/pass, and do not send superfluous 200 OK" 21:10:58 > git --version # timeout=10 21:10:58 > git --version # 'git version 2.25.1' 21:10:58 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:59 Dload Upload Total Spent Left Speed 21:10:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:11:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:11:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:11:00 + sudo tee /etc/docker/daemon.new 21:11:00 { 21:11:00 "registry-mirrors": [ 21:11:00 "https://nexus3.edgexfoundry.org:10001" 21:11:00 ], 21:11:00 "bip": "10.250.0.254/24", 21:11:00 "hosts": [ 21:11:00 "tcp://0.0.0.0:5555", 21:11:00 "unix:///var/run/docker.sock" 21:11:00 ], 21:11:00 "mtu": 1458, 21:11:00 "selinux-enabled": true, 21:11:00 "seccomp-profile": "/etc/docker/seccomp.json" 21:11:00 } [Pipeline] sh 21:11:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:11:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:20 provisioning config files... 21:11:20 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1217056732398700198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:20 ---> docker-login.sh 21:11:20 nexus3.edgexfoundry.org:10001 21:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:21 Configure a credential helper to remove this warning. See 21:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:21 21:11:21 Login Succeeded 21:11:21 nexus3.edgexfoundry.org:10002 21:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:21 Configure a credential helper to remove this warning. See 21:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:21 21:11:21 Login Succeeded 21:11:21 nexus3.edgexfoundry.org:10003 21:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:21 Configure a credential helper to remove this warning. See 21:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:21 21:11:21 Login Succeeded 21:11:21 nexus3.edgexfoundry.org:10004 21:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:22 Configure a credential helper to remove this warning. See 21:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:22 21:11:22 Login Succeeded 21:11:22 docker.io 21:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:22 Configure a credential helper to remove this warning. See 21:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:22 21:11:22 Login Succeeded 21:11:22 ---> docker-login.sh ends [Pipeline] } 21:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:23 ========================================================= 21:11:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:11:23 Sending build context to Docker daemon 1.103MB 21:11:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:11:23 Step 2/13 : FROM ${BASE} AS builder 21:11:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:24 c41833b44d91: Pulling fs layer 21:11:24 ed15518f5707: Pulling fs layer 21:11:24 feae8fd75edb: Pulling fs layer 21:11:24 242c74f7c9fa: Pulling fs layer 21:11:24 3cdef696dda3: Pulling fs layer 21:11:24 2ced38df9373: Pulling fs layer 21:11:24 58f1dce35555: Pulling fs layer 21:11:24 3cdef696dda3: Waiting 21:11:24 2ced38df9373: Waiting 21:11:24 242c74f7c9fa: Waiting 21:11:24 58f1dce35555: Waiting 21:11:24 ed15518f5707: Verifying Checksum 21:11:24 ed15518f5707: Download complete 21:11:24 242c74f7c9fa: Verifying Checksum 21:11:24 242c74f7c9fa: Download complete 21:11:24 3cdef696dda3: Verifying Checksum 21:11:24 3cdef696dda3: Download complete 21:11:24 c41833b44d91: Verifying Checksum 21:11:25 c41833b44d91: Pull complete 21:11:25 58f1dce35555: Verifying Checksum 21:11:25 58f1dce35555: Download complete 21:11:25 ed15518f5707: Pull complete 21:11:26 feae8fd75edb: Verifying Checksum 21:11:26 feae8fd75edb: Download complete 21:11:26 2ced38df9373: Download complete 21:11:36 feae8fd75edb: Pull complete 21:11:37 242c74f7c9fa: Pull complete 21:11:37 3cdef696dda3: Pull complete 21:11:47 2ced38df9373: Pull complete 21:11:48 58f1dce35555: Pull complete 21:11:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:48 ---> fadd8f120f05 21:11:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:11:50 ---> Running in be3c9c019bdb 21:11:50 Removing intermediate container be3c9c019bdb 21:11:50 ---> c18aae2fdad6 21:11:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:50 ---> Running in 77e33b8a6443 21:11:50 Removing intermediate container 77e33b8a6443 21:11:50 ---> 58f30de8f143 21:11:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:11:50 ---> Running in 02008bab7052 21:11:51 Removing intermediate container 02008bab7052 21:11:51 ---> f2ece8e9f5a2 21:11:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:11:51 ---> Running in 71bd5cb5eed6 21:11:51 Removing intermediate container 71bd5cb5eed6 21:11:51 ---> fcc5e6c4caad 21:11:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:51 ---> Running in 3fde65a7fc23 21:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:54 (1/14) Installing libintl (0.21.1-r1) 21:11:54 (2/14) Installing eudev-libs (3.2.11-r4) 21:11:54 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:11:54 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:11:54 (5/14) Installing v4l-utils (1.22.1-r2) 21:11:54 (6/14) Installing udev-init-scripts (35-r1) 21:11:54 (7/14) Installing libblkid (2.38.1-r1) 21:11:54 (8/14) Installing xz-libs (5.2.9-r0) 21:11:54 (9/14) Installing zstd-libs (1.5.5-r0) 21:11:54 (10/14) Installing kmod-libs (30-r1) 21:11:54 (11/14) Installing eudev (3.2.11-r4) 21:11:54 (12/14) Installing eudev-dev (3.2.11-r4) 21:11:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:11:54 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:11:54 Executing busybox-1.35.0-r29.trigger 21:11:54 Executing eudev-3.2.11-r4.trigger 21:11:54 OK: 271 MiB in 67 packages 21:11:56 Removing intermediate container 3fde65a7fc23 21:11:56 ---> 01244f5685d7 21:11:56 Step 8/13 : WORKDIR /device-usb-camera 21:11:56 ---> Running in 9a22c9a68863 21:11:56 Removing intermediate container 9a22c9a68863 21:11:56 ---> a3c33aaf8cdb 21:11:56 Step 9/13 : COPY go.mod vendor* ./ 21:12:00 ---> bcb26c1b4660 21:12:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:00 ---> Running in e5d6ba183b3d 21:13:08 Removing intermediate container e5d6ba183b3d 21:13:08 ---> d355227fbf0f 21:13:08 Step 11/13 : COPY . . 21:13:08 ---> b352b563d8de 21:13:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:13:08 ---> Running in 6af6a5a5ef76 21:13:08  % Total % Received % Xferd Average Speed Time Time Time Current 21:13:08 Dload Upload Total Spent Left Speed 21:13:08  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3252 0 --:--:-- --:--:-- --:--:-- 3257 21:13:08 Removing intermediate container 6af6a5a5ef76 21:13:08 ---> f3ed0b14e2a5 21:13:08 Step 13/13 : RUN ${MAKE} 21:13:08 ---> Running in f380fe3570a3 21:13:08 noop 21:13:08 Removing intermediate container f380fe3570a3 21:13:08 ---> de54825d3eb3 21:13:08 Successfully built de54825d3eb3 21:13:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:08 + docker inspect -f . ci-base-image-arm64 21:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-15458 does not seem to be running inside a container 21:13:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:10 $ docker top b500eb77e360370e5a786844fe78606236e20ca933690897bff9af719a14a3e2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:11 + go version 21:13:11 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:11 $ docker stop --time=1 b500eb77e360370e5a786844fe78606236e20ca933690897bff9af719a14a3e2 21:13:12 $ docker rm -f --volumes b500eb77e360370e5a786844fe78606236e20ca933690897bff9af719a14a3e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:13 + docker inspect -f . ci-base-image-arm64 21:13:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:14 prd-ubuntu20.04-docker-arm64-4c-16g-15458 does not seem to be running inside a container 21:13:14 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:15 $ docker top f4e129e193dd147572ca721f17deb87ca07e921f070bae8f291292960f45f607 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:16 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 21:13:16 + make test 21:13:16 go test ./... -coverprofile=coverage.out ./... 21:13:48 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:15:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:15:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.8% of statements 21:15:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:15:58 go vet ./... 21:16:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:31 $ docker stop --time=1 f4e129e193dd147572ca721f17deb87ca07e921f070bae8f291292960f45f607 21:16:32 $ docker rm -f --volumes f4e129e193dd147572ca721f17deb87ca07e921f070bae8f291292960f45f607 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:34 Warning: overwriting stash ‘coverage-report’ 21:16:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:35 + ls -al . 21:16:35 total 184 21:16:35 drwxrwxr-x 9 jenkins jenkins 4096 May 15 21:13 . 21:16:35 drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:10 .. 21:16:35 drwxrwxr-x 8 jenkins jenkins 4096 May 15 21:10 .git 21:16:35 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:10 .github 21:16:35 -rw-rw-r-- 1 jenkins jenkins 414 May 15 21:10 .gitignore 21:16:35 -rw-rw-r-- 1 jenkins jenkins 42 May 15 21:10 .golangci.yml 21:16:35 -rw-rw-r-- 1 jenkins jenkins 77 May 15 21:10 .hadolint.yml 21:16:35 -rw-rw-r-- 1 jenkins jenkins 9665 May 15 21:10 Attribution.txt 21:16:35 -rw-rw-r-- 1 jenkins jenkins 6219 May 15 21:10 CHANGELOG.md 21:16:35 -rw-rw-r-- 1 jenkins jenkins 2453 May 15 21:10 Dockerfile 21:16:35 -rw-rw-r-- 1 jenkins jenkins 678 May 15 21:10 GOVERNANCE.md 21:16:35 -rw-rw-r-- 1 jenkins jenkins 659 May 15 21:10 Jenkinsfile 21:16:35 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 21:10 LICENSE 21:16:35 -rw-rw-r-- 1 jenkins jenkins 2364 May 15 21:10 Makefile 21:16:35 -rw-rw-r-- 1 jenkins jenkins 622 May 15 21:10 OWNERS.md 21:16:35 -rw-rw-r-- 1 jenkins jenkins 2477 May 15 21:10 README.md 21:16:35 -rw-rw-r-- 1 jenkins jenkins 5 May 15 21:07 VERSION 21:16:35 drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:10 bin 21:16:35 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:10 cmd 21:16:35 -rw-r--r-- 1 jenkins jenkins 31522 May 15 21:15 coverage.out 21:16:35 -rwxrwxr-x 1 jenkins jenkins 140 May 15 21:10 docker-entrypoint.sh 21:16:35 drwxrwxr-x 2 jenkins jenkins 4096 May 15 21:10 docs 21:16:35 -rw-rw-r-- 1 jenkins jenkins 3419 May 15 21:10 go.mod 21:16:35 -rw-rw-r-- 1 jenkins jenkins 31488 May 15 21:10 go.sum 21:16:35 drwxrwxr-x 3 jenkins jenkins 4096 May 15 21:10 internal 21:16:35 drwxrwxr-x 4 jenkins jenkins 4096 May 15 21:10 snap 21:16:35 -rw-rw-r-- 1 jenkins jenkins 231 May 15 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:35 + 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=7b8d677cb4a4851e2566e4e16181eae6a576a622 --label arch=arm64 --label version=0.0.0 . 21:16:36 Sending build context to Docker daemon 1.136MB 21:16:36 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:16:36 Step 2/36 : FROM ${BASE} AS builder 21:16:36 ---> de54825d3eb3 21:16:36 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:16:36 ---> Running in 99a0e84a47ac 21:16:36 Removing intermediate container 99a0e84a47ac 21:16:36 ---> a199076419fa 21:16:36 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:36 ---> Running in c7101bf17bbe 21:16:37 Removing intermediate container c7101bf17bbe 21:16:37 ---> 44d184cd5f52 21:16:37 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:16:37 ---> Running in ec01c320a8aa 21:16:37 Removing intermediate container ec01c320a8aa 21:16:37 ---> c01db2d1f956 21:16:37 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:16:37 ---> Running in 510705e5f707 21:16:37 Removing intermediate container 510705e5f707 21:16:37 ---> 736126860525 21:16:37 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:37 ---> Running in c3f6b188e733 21:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:40 OK: 271 MiB in 67 packages 21:16:42 Removing intermediate container c3f6b188e733 21:16:42 ---> 9b9c687f2d91 21:16:42 Step 8/36 : WORKDIR /device-usb-camera 21:16:42 ---> Running in eca68cabbc0b 21:16:42 Removing intermediate container eca68cabbc0b 21:16:42 ---> 0f738eaae872 21:16:42 Step 9/36 : COPY go.mod vendor* ./ 21:16:43 ---> 9031fa2a8403 21:16:43 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:43 ---> Running in 6cb3677ff1b4 21:16:46 Removing intermediate container 6cb3677ff1b4 21:16:46 ---> 6e5b9a05b225 21:16:46 Step 11/36 : COPY . . 21:16:46 ---> 457a50b4f9e4 21:16:46 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:16:46 ---> Running in a8aa44b64ade 21:16:47  % Total % Received % Xferd Average Speed Time Time Time Current 21:16:47  Dload Upload Total Spent Left Speed 21:16:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 4100 0 --:--:-- --:--:-- --:--:-- 4100 21:16:48 Removing intermediate container a8aa44b64ade 21:16:48 ---> aa56e65b8686 21:16:48 Step 13/36 : RUN ${MAKE} 21:16:48 ---> Running in db85fb1064b7 21:16:49 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:19:11 Removing intermediate container db85fb1064b7 21:19:11 ---> ab14ed9013d4 21:19:11 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:19:11 v0.21.6: Pulling from aler9/rtsp-simple-server 21:19:11 8766b47fe142: Pulling fs layer 21:19:11 8766b47fe142: Verifying Checksum 21:19:11 8766b47fe142: Download complete 21:19:12 8766b47fe142: Pull complete 21:19:12 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:19:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:19:12 ---> 69d40e2cb93c 21:19:12 Step 15/36 : FROM alpine:3.17 21:19:12 3.17: Pulling from library/alpine 21:19:12 c41833b44d91: Already exists 21:19:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:19:13 Status: Downloaded newer image for alpine:3.17 21:19:13 ---> 51e60588ff2c 21:19:13 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:19:13 ---> Running in f973988b5305 21:19:13 Removing intermediate container f973988b5305 21:19:13 ---> a9ffd5c7cc64 21:19:13 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:19:13 ---> Running in 97207df6c6e5 21:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:19:15 (1/83) Installing dumb-init (1.2.5-r2) 21:19:15 (2/83) Installing sdl2 (2.26.5-r0) 21:19:16 (3/83) Installing libxau (1.0.10-r0) 21:19:16 (4/83) Installing libmd (1.0.4-r0) 21:19:16 (5/83) Installing libbsd (0.11.7-r0) 21:19:16 (6/83) Installing libxdmcp (1.1.4-r0) 21:19:16 (7/83) Installing libxcb (1.15-r0) 21:19:16 (8/83) Installing libx11 (1.8.4-r0) 21:19:16 (9/83) Installing aom-libs (3.5.0-r0) 21:19:16 (10/83) Installing alsa-lib (1.2.8-r0) 21:19:16 (11/83) Installing libexpat (2.5.0-r0) 21:19:16 (12/83) Installing brotli-libs (1.0.9-r9) 21:19:16 (13/83) Installing libbz2 (1.0.8-r4) 21:19:16 (14/83) Installing libpng (1.6.38-r0) 21:19:16 (15/83) Installing freetype (2.12.1-r0) 21:19:16 (16/83) Installing fontconfig (2.14.1-r0) 21:19:16 (17/83) Installing fribidi (1.0.12-r0) 21:19:16 (18/83) Installing libffi (3.4.4-r0) 21:19:16 (19/83) Installing libintl (0.21.1-r1) 21:19:16 (20/83) Installing libblkid (2.38.1-r1) 21:19:16 (21/83) Installing libmount (2.38.1-r1) 21:19:16 (22/83) Installing pcre2 (10.42-r0) 21:19:16 (23/83) Installing glib (2.74.6-r0) 21:19:16 (24/83) Installing graphite2 (1.3.14-r2) 21:19:16 (25/83) Installing harfbuzz (5.3.1-r1) 21:19:16 (26/83) Installing libass (0.16.0-r1) 21:19:16 (27/83) Installing libdav1d (1.0.0-r2) 21:19:16 (28/83) Installing libdrm (2.4.114-r0) 21:19:16 (29/83) Installing gmp (6.2.1-r2) 21:19:16 (30/83) Installing nettle (3.8.1-r0) 21:19:16 (31/83) Installing p11-kit (0.24.1-r1) 21:19:16 (32/83) Installing libtasn1 (4.19.0-r0) 21:19:16 (33/83) Installing libunistring (1.1-r0) 21:19:16 (34/83) Installing gnutls (3.7.8-r3) 21:19:16 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:19:16 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 21:19:16 (37/83) Installing lame (3.100-r2) 21:19:17 (38/83) Installing opus (1.3.1-r1) 21:19:17 (39/83) Installing libasyncns (0.8-r1) 21:19:17 (40/83) Installing dbus-libs (1.14.4-r0) 21:19:17 (41/83) Installing libltdl (2.4.7-r1) 21:19:17 (42/83) Installing orc (0.4.33-r0) 21:19:17 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:19:17 (44/83) Installing libogg (1.3.5-r2) 21:19:17 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:19:17 (46/83) Installing flac-libs (1.4.2-r0) 21:19:17 (47/83) Installing libvorbis (1.3.7-r0) 21:19:17 (48/83) Installing libsndfile (1.1.0-r2) 21:19:17 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:19:17 (50/83) Installing soxr (0.1.3-r3) 21:19:17 (51/83) Installing speexdsp (1.2.1-r0) 21:19:17 (52/83) Installing tdb-libs (1.4.6-r0) 21:19:17 (53/83) Installing libpulse (16.1-r6) 21:19:17 (54/83) Installing cjson (1.7.15-r3) 21:19:17 (55/83) Installing mbedtls (2.28.3-r0) 21:19:17 (56/83) Installing librist (0.2.7-r0) 21:19:17 (57/83) Installing libsrt (1.5.1-r0) 21:19:17 (58/83) Installing libssh (0.10.5-r0) 21:19:17 (59/83) Installing libtheora (1.1.1-r16) 21:19:17 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:19:17 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:19:17 (62/83) Installing libxext (1.3.5-r0) 21:19:17 (63/83) Installing libxfixes (6.0.0-r0) 21:19:17 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:19:17 (65/83) Installing libva (2.16.0-r0) 21:19:17 (66/83) Installing libvdpau (1.5-r0) 21:19:17 (67/83) Installing vidstab (1.1.0-r2) 21:19:17 (68/83) Installing libvpx (1.12.0-r1) 21:19:17 (69/83) Installing libwebp (1.2.4-r1) 21:19:17 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:19:17 (71/83) Installing numactl (2.0.16-r1) 21:19:17 (72/83) Installing x265-libs (3.5-r3) 21:19:17 (73/83) Installing xvidcore (1.3.7-r1) 21:19:17 (74/83) Installing libsodium (1.0.18-r2) 21:19:17 (75/83) Installing libzmq (4.3.4-r1) 21:19:17 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:19:18 (77/83) Installing ffmpeg (5.1.3-r0) 21:19:18 (78/83) Installing udev-init-scripts (35-r1) 21:19:18 (79/83) Installing eudev-libs (3.2.11-r4) 21:19:18 (80/83) Installing xz-libs (5.2.9-r0) 21:19:18 (81/83) Installing zstd-libs (1.5.5-r0) 21:19:18 (82/83) Installing kmod-libs (30-r1) 21:19:18 (83/83) Installing eudev (3.2.11-r4) 21:19:18 Executing busybox-1.35.0-r29.trigger 21:19:18 Executing eudev-3.2.11-r4.trigger 21:19:18 OK: 86 MiB in 98 packages 21:19:21 Removing intermediate container 97207df6c6e5 21:19:21 ---> 179660132ab9 21:19:21 Step 18/36 : WORKDIR / 21:19:21 ---> Running in a476d61db598 21:19:21 Removing intermediate container a476d61db598 21:19:21 ---> 69397e4dc839 21:19:21 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:19:22 ---> 79ff970fa3e9 21:19:22 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:19:23 ---> 5f0bff905af2 21:19:23 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:19:23 ---> e605af9f5277 21:19:23 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:19:24 ---> 25f084a1148d 21:19:24 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:19:25 ---> 0a498292d3e9 21:19:25 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:19:26 ---> 2152b43395ca 21:19:26 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:19:27 ---> 47efb5c9110e 21:19:27 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:19:27 ---> Running in be8c9c5a6137 21:19:28 Removing intermediate container be8c9c5a6137 21:19:28 ---> 286986822555 21:19:28 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:19:28 ---> Running in 52710a6ba0fe 21:19:30 Removing intermediate container 52710a6ba0fe 21:19:30 ---> 5a805c1b99ab 21:19:30 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:19:30 ---> Running in 99b524fbe96b 21:19:31 Removing intermediate container 99b524fbe96b 21:19:31 ---> ced1730e7c40 21:19:31 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:19:31 ---> Running in 1629992c801b 21:19:33 Removing intermediate container 1629992c801b 21:19:33 ---> 9f8129e05a31 21:19:33 Step 30/36 : EXPOSE 59983 21:19:33 ---> Running in e318531cb8db 21:19:33 Removing intermediate container e318531cb8db 21:19:33 ---> e2ee7a3e6008 21:19:33 Step 31/36 : EXPOSE 8554 21:19:33 ---> Running in 77ff8649672e 21:19:33 Removing intermediate container 77ff8649672e 21:19:33 ---> c84091cb1c96 21:19:33 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:19:33 ---> Running in 664dced179aa 21:19:34 Removing intermediate container 664dced179aa 21:19:34 ---> f6836490976c 21:19:34 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:19:34 ---> Running in 24b56d936df8 21:19:34 Removing intermediate container 24b56d936df8 21:19:34 ---> b385e8c94c3d 21:19:34 Step 34/36 : LABEL arch=arm64 21:19:34 ---> Running in 1965fe137fef 21:19:34 Removing intermediate container 1965fe137fef 21:19:34 ---> ecaeb7c9250d 21:19:34 Step 35/36 : LABEL git_sha=7b8d677cb4a4851e2566e4e16181eae6a576a622 21:19:34 ---> Running in c9c76cf8b894 21:19:35 Removing intermediate container c9c76cf8b894 21:19:35 ---> 64f4ab71994c 21:19:35 Step 36/36 : LABEL version=0.0.0 21:19:35 ---> Running in b71d5952c350 21:19:35 Removing intermediate container b71d5952c350 21:19:35 ---> 93d20ab11b50 21:19:35 [Warning] One or more build-args [ARCH] were not consumed 21:19:35 Successfully built 93d20ab11b50 21:19:35 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 21:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:36 21:19:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:36 arm64: Pulling from edgex-lftools-log-publisher 21:19:36 8998bd30e6a1: Pulling fs layer 21:19:36 04944245beec: Pulling fs layer 21:19:36 699f458cf7ca: Pulling fs layer 21:19:36 765212b225bb: Pulling fs layer 21:19:36 f23df028b6ca: Pulling fs layer 21:19:36 d65c8cfc05b1: Pulling fs layer 21:19:36 2437ff75d9bd: Pulling fs layer 21:19:36 765212b225bb: Waiting 21:19:36 f23df028b6ca: Waiting 21:19:36 d65c8cfc05b1: Waiting 21:19:36 2437ff75d9bd: Waiting 21:19:36 04944245beec: Verifying Checksum 21:19:36 04944245beec: Download complete 21:19:36 765212b225bb: Verifying Checksum 21:19:36 765212b225bb: Download complete 21:19:36 f23df028b6ca: Verifying Checksum 21:19:36 f23df028b6ca: Download complete 21:19:36 d65c8cfc05b1: Verifying Checksum 21:19:36 d65c8cfc05b1: Download complete 21:19:37 699f458cf7ca: Verifying Checksum 21:19:37 699f458cf7ca: Download complete 21:19:37 8998bd30e6a1: Verifying Checksum 21:19:37 8998bd30e6a1: Download complete 21:19:39 2437ff75d9bd: Verifying Checksum 21:19:39 2437ff75d9bd: Download complete 21:19:41 8998bd30e6a1: Pull complete 21:19:41 04944245beec: Pull complete 21:19:43 699f458cf7ca: Pull complete 21:19:43 765212b225bb: Pull complete 21:19:43 f23df028b6ca: Pull complete 21:19:44 d65c8cfc05b1: Pull complete 21:19:59 2437ff75d9bd: Pull complete 21:19:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:59 prd-ubuntu20.04-docker-arm64-4c-16g-15458 does not seem to be running inside a container 21:19:59 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:02 $ docker top 34528418778dfe57f7db69046a07bcdc9e88dbb80877acd3566a55fcec48ba56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:02 ---> job-cost.sh 21:20:02 lf-activate-venv: SKIPPING 21:20:02 INFO: No Stack... 21:20:03 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:04 INFO: Archiving Costs [Pipeline] sh 21:20:04 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 21:20:04 + cut -d, -f6 [Pipeline] lock 21:20:04 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] 21:20:04 Resource [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] did not exist. Created. 21:20:04 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:05 /w/workspace/device-usb-camera/1@tmp/durable-271cc3f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:05 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:05 Warning: overwriting stash ‘stack-cost’ 21:20:05 Stashed 1 file(s) [Pipeline] } 21:20:05 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:05 $ docker stop --time=1 34528418778dfe57f7db69046a07bcdc9e88dbb80877acd3566a55fcec48ba56 21:20:07 $ docker rm -f --volumes 34528418778dfe57f7db69046a07bcdc9e88dbb80877acd3566a55fcec48ba56 [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 21:20:08 provisioning config files... 21:20:08 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config8019127777307480917tmp [Pipeline] { [Pipeline] sh 21:20:08 + set +x 21:20:08 + curl -s https://codecov.io/bash 21:20:08 + bash -s -- 21:20:08 21:20:08 _____ _ 21:20:08 / ____| | | 21:20:08 | | ___ __| | ___ ___ _____ __ 21:20:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:20:08 | |___| (_) | (_| | __/ (_| (_) \ V / 21:20:08 \_____\___/ \__,_|\___|\___\___/ \_/ 21:20:08 Bash-1.0.6 21:20:08 21:20:08 21:20:08 ==> git version 2.25.1 found 21:20:08 ==> 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 21:20:08 Release-Date: 2020-01-08 21:20:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:20:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:20:08 ==> Jenkins CI detected. 21:20:08 current dir:  /w/workspace/foundry_device-usb-camera_PR-247 21:20:08 project root: . 21:20:08 --> token set from env 21:20:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:20:09 ==> Running gcov in . (disable via -X gcov) 21:20:09 ==> Python coveragepy not found 21:20:09 ==> Searching for coverage reports in: 21:20:09 + . 21:20:09 -> Found 1 reports 21:20:09 ==> Detecting git/mercurial file structure 21:20:09 ==> Reading reports 21:20:09 + ./coverage.out bytes=31522 21:20:09 ==> Appending adjustments 21:20:09 https://docs.codecov.io/docs/fixing-reports 21:20:09 + Found adjustments 21:20:09 ==> Gzipping contents 21:20:09 8.0K /tmp/codecov.k9PgMG.gz 21:20:09 ==> Uploading reports 21:20:09 url: https://codecov.io 21:20:09 query: branch=PR-247&commit=7b8d677cb4a4851e2566e4e16181eae6a576a622&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=247&job=&cmd_args= 21:20:09 -> Pinging Codecov 21:20:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-247&commit=7b8d677cb4a4851e2566e4e16181eae6a576a622&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=247&job=&cmd_args= 21:20:09 -> Uploading to 21:20:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-15/73D8F5FF140700D3E01443B452E23636/7b8d677cb4a4851e2566e4e16181eae6a576a622/f1a83f98-e2fd-4f46-b049-3ceec51cafb6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230515%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230515T212009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=666cc894bee91c2d0c37c444c5e104d3c6050b29c9a62b3b445559b2b5473366 21:20:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:09 Dload Upload Total Spent Left Speed 21:20:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 18155 --:--:-- --:--:-- --:--:-- 18155 21:20:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7b8d677cb4a4851e2566e4e16181eae6a576a622 [Pipeline] } 21:20:09 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 21:20:11 + [ -d /w/workspace/foundry_device-usb-camera_PR-247/archives ] 21:20:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives 21:20:11 total 16 21:20:11 drwxr-xr-x 3 root root 4096 May 15 21:09 . 21:20:11 drwxrwxr-x 11 jenkins jenkins 4096 May 15 21:09 .. 21:20:11 drwxr-xr-x 2 root root 4096 May 15 21:09 cost 21:20:11 -rw-r--r-- 1 root root 89 May 15 21:09 cost.csv 21:20:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-247/archives 21:20:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives 21:20:11 total 16 21:20:11 drwxr-xr-x 3 jenkins jenkins 4096 May 15 21:09 . 21:20:11 drwxrwxr-x 11 jenkins jenkins 4096 May 15 21:09 .. 21:20:11 drwxr-xr-x 2 jenkins jenkins 4096 May 15 21:09 cost 21:20:11 -rw-r--r-- 1 jenkins jenkins 89 May 15 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:12 ---> package-listing.sh 21:20:12 ++ facter osfamily 21:20:12 ++ tr '[:upper:]' '[:lower:]' 21:20:12 + OS_FAMILY=debian 21:20:12 + workspace=/w/workspace/foundry_device-usb-camera_PR-247 21:20:12 + START_PACKAGES=/tmp/packages_start.txt 21:20:12 + END_PACKAGES=/tmp/packages_end.txt 21:20:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:12 + PACKAGES=/tmp/packages_start.txt 21:20:12 + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' 21:20:12 + PACKAGES=/tmp/packages_end.txt 21:20:12 + case "${OS_FAMILY}" in 21:20:12 + dpkg -l 21:20:12 + grep '^ii' 21:20:12 + '[' -f /tmp/packages_start.txt ']' 21:20:12 + '[' -f /tmp/packages_end.txt ']' 21:20:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:12 + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' 21:20:12 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-247/archives/ 21:20:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-247/archives/ [Pipeline] echo 21:20:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:20:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:13 prd-ubuntu20.04-docker-8c-8g-15457 does not seem to be running inside a container 21:20:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-247/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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:20:14 $ docker top fb007993eed08143545106fc2269ac9016203c51b8d983004dc1066bed57d405 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:15 + ls /var/log/sa-host 21:20:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:15 provisioning config files... 21:20:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config14580993760257792772tmp [Pipeline] { [Pipeline] echo 21:20:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:15 ---> create-netrc.sh [Pipeline] } 21:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:16 ---> python-tools-install.sh [Pipeline] echo 21:20:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:20:16 ---> sudo-logs.sh 21:20:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:20:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:20:16 ---> job-cost.sh 21:20:16 lf-activate-venv: SKIPPING 21:20:16 DEBUG: total: 0.2199999988079071 21:20:16 INFO: Retrieving Stack Cost... 21:20:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:17 INFO: Archiving Costs [Pipeline] echo 21:20:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:20:18 ---> logs-deploy.sh 21:20:18 lf-activate-venv: SKIPPING 21:20:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-247/1 21:20:18 INFO: archiving workspace using pattern(s): 21:20:18 Archives upload complete. 21:20:18 INFO: archiving logs to Nexus