Pull request #255 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3b59b300ea33e30dce4b6f64bcecb62cab81248+faedb975756ffdd1f5d612842f042894232ce807 (094ca58bb3e2613f3faa8c04d7b6486291950329) 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-ssh1822942215451631755.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-ssh6961545217553031282.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-255/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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14038380855873062023.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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh918120107321798469.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-ssh18382843926726008195.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-255/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-255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh69192976506353505.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16398 in /w/workspace/foundry_device-usb-camera_PR-255 [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-255 # 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 faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c3b59b300ea33e30dce4b6f64bcecb62cab81248 Merge succeeded, producing c3b59b300ea33e30dce4b6f64bcecb62cab81248 Checking out Revision c3b59b300ea33e30dce4b6f64bcecb62cab81248 (PR-255) > 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/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3b59b300ea33e30dce4b6f64bcecb62cab81248 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3b59b300ea33e30dce4b6f64bcecb62cab81248 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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 22:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:03 ========================================================= 22:42:03 EdgeX Global Pipelines Version Info 22:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:04 ------------------- 22:42:04 stable info: 22:42:04 ------------------- 22:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:42:04 Message: update stable to v1.0.249 22:42:04 ------------------- 22:42:04 experimental info: 22:42:04 ------------------- 22:42:04 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:42:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-255 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-255 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-255 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3b59b300ea33e30dce4b6f64bcecb62cab81248 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3b59b3 [Pipeline] echo 22:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:06 provisioning config files... 22:42:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-255@tmp/config6739793442789568044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:07 ---> docker-login.sh 22:42:07 nexus3.edgexfoundry.org:10001 22:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:07 Configure a credential helper to remove this warning. See 22:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:07 22:42:07 Login Succeeded 22:42:07 nexus3.edgexfoundry.org:10002 22:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:07 Configure a credential helper to remove this warning. See 22:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:07 22:42:07 Login Succeeded 22:42:07 nexus3.edgexfoundry.org:10003 22:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:07 Configure a credential helper to remove this warning. See 22:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:07 22:42:07 Login Succeeded 22:42:07 nexus3.edgexfoundry.org:10004 22:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:07 Configure a credential helper to remove this warning. See 22:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:07 22:42:07 Login Succeeded 22:42:07 docker.io 22:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:08 Configure a credential helper to remove this warning. See 22:42:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:08 22:42:08 Login Succeeded 22:42:08 ---> docker-login.sh ends [Pipeline] } 22:42:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:42:08 + git rev-list -1 --merges c3b59b300ea33e30dce4b6f64bcecb62cab81248~1..c3b59b300ea33e30dce4b6f64bcecb62cab81248 [Pipeline] echo 22:42:08 -----------> git rev-list -1 --merges c3b59b300ea33e30dce4b6f64bcecb62cab81248~1..c3b59b300ea33e30dce4b6f64bcecb62cab81248 c3b59b300ea33e30dce4b6f64bcecb62cab81248 [false] [Pipeline] sh 22:42:09 + git log --format=format:%s -1 c3b59b300ea33e30dce4b6f64bcecb62cab81248 [Pipeline] echo 22:42:09 ========================================================= 22:42:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:42:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:09 + git log --format=format:%s -1 c3b59b300ea33e30dce4b6f64bcecb62cab81248 [Pipeline] echo 22:42:09 [semverPrep] GIT_COMMIT: c3b59b300ea33e30dce4b6f64bcecb62cab81248, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 22:42:09 [semverPrep] This is not a build commit. [Pipeline] sh 22:42:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:42:10 + grep -v github /etc/ssh/ssh_known_hosts 22:42:10 + [ -e /tmp/ssh_known_hosts ] 22:42:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:42:10 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:42:10 sudo tee -a /etc/ssh/ssh_known_hosts 22:42:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:10 22:42:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:11 0.1.4: Pulling from edgex-devops/py-git-semver 22:42:11 b85a868b505f: Pulling fs layer 22:42:11 e2be974225ed: Pulling fs layer 22:42:11 339a4e72a1f5: Pulling fs layer 22:42:11 988bab9f4d93: Pulling fs layer 22:42:11 1469e6f7b9e6: Pulling fs layer 22:42:11 eaf3925da568: Pulling fs layer 22:42:11 bab4dde63d76: Pulling fs layer 22:42:11 bde34c3a00c8: Pulling fs layer 22:42:11 b352a97aabf1: Pulling fs layer 22:42:11 4872d77fe225: Pulling fs layer 22:42:11 5851b861e8e6: Pulling fs layer 22:42:11 1469e6f7b9e6: Waiting 22:42:11 eaf3925da568: Waiting 22:42:11 bab4dde63d76: Waiting 22:42:11 bde34c3a00c8: Waiting 22:42:11 b352a97aabf1: Waiting 22:42:11 4872d77fe225: Waiting 22:42:11 5851b861e8e6: Waiting 22:42:11 988bab9f4d93: Waiting 22:42:11 e2be974225ed: Download complete 22:42:11 988bab9f4d93: Verifying Checksum 22:42:11 988bab9f4d93: Download complete 22:42:11 1469e6f7b9e6: Verifying Checksum 22:42:11 1469e6f7b9e6: Download complete 22:42:11 eaf3925da568: Verifying Checksum 22:42:11 eaf3925da568: Download complete 22:42:11 339a4e72a1f5: Verifying Checksum 22:42:11 339a4e72a1f5: Download complete 22:42:11 bde34c3a00c8: Download complete 22:42:11 b352a97aabf1: Verifying Checksum 22:42:11 b352a97aabf1: Download complete 22:42:11 4872d77fe225: Verifying Checksum 22:42:11 4872d77fe225: Download complete 22:42:11 5851b861e8e6: Download complete 22:42:11 b85a868b505f: Verifying Checksum 22:42:11 b85a868b505f: Download complete 22:42:11 bab4dde63d76: Verifying Checksum 22:42:11 bab4dde63d76: Download complete 22:42:12 b85a868b505f: Pull complete 22:42:12 e2be974225ed: Pull complete 22:42:13 339a4e72a1f5: Pull complete 22:42:13 988bab9f4d93: Pull complete 22:42:13 1469e6f7b9e6: Pull complete 22:42:13 eaf3925da568: Pull complete 22:42:15 bab4dde63d76: Pull complete 22:42:15 bde34c3a00c8: Pull complete 22:42:15 b352a97aabf1: Pull complete 22:42:15 4872d77fe225: Pull complete 22:42:15 5851b861e8e6: Pull complete 22:42:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:16 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 22:42:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-255 -v /w/workspace/foundry_device-usb-camera_PR-255:/w/workspace/foundry_device-usb-camera_PR-255:rw,z -v /w/workspace/foundry_device-usb-camera_PR-255@tmp:/w/workspace/foundry_device-usb-camera_PR-255@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:42:17 $ docker top 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc -eo pid,comm 22:42:17 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). 22:42:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:17 [ssh-agent] Looking for ssh-agent implementation... 22:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:17 $ docker exec 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc ssh-agent 22:42:17 SSH_AUTH_SOCK=/tmp/ssh-XA5PJg3qorEC/agent.32 22:42:17 SSH_AGENT_PID=38 22:42:17 Running ssh-add (command line suppressed) 22:42:18 Identity added: /w/workspace/foundry_device-usb-camera_PR-255@tmp/private_key_5076283480454188620.key (/w/workspace/foundry_device-usb-camera_PR-255@tmp/private_key_5076283480454188620.key) 22:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:18 + git tag --points-at HEAD [Pipeline] } 22:42:18 $ docker exec --env ******** --env ******** 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc ssh-agent -k 22:42:18 unset SSH_AUTH_SOCK; 22:42:18 unset SSH_AGENT_PID; 22:42:18 echo Agent pid 38 killed; 22:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:18 [ssh-agent] Looking for ssh-agent implementation... 22:42:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:18 $ docker exec 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc ssh-agent 22:42:18 SSH_AUTH_SOCK=/tmp/ssh-wNDQWH93cVIw/agent.70 22:42:18 SSH_AGENT_PID=76 22:42:18 Running ssh-add (command line suppressed) 22:42:19 Identity added: /w/workspace/foundry_device-usb-camera_PR-255@tmp/private_key_332202420357797720.key (/w/workspace/foundry_device-usb-camera_PR-255@tmp/private_key_332202420357797720.key) 22:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:19 + git semver init 22:42:19 2023-05-22 22:42:19,563 [run_init] DEBUG init version:0.0.0 force:False 22:42:19 2023-05-22 22:42:19,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-255/.semver 22:42:19 2023-05-22 22:42:19,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-255/.semver 22:42:19 2023-05-22 22:42:19,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-255/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-255, universal_newlines=False, shell=None, istream=None) 22:42:20 2023-05-22 22:42:20,264 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-255/.git/info/exclude 22:42:20 2023-05-22 22:42:20,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-255/.semver/PR-255 with force:False 22:42:20 2023-05-22 22:42:20,265 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-255/.semver/PR-255 22:42:20 2023-05-22 22:42:20,269 [execute] INFO git cat-file --batch-check 22:42:20 2023-05-22 22:42:20,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-255/.semver, universal_newlines=False, shell=None, istream=) 22:42:20 2023-05-22 22:42:20,277 [execute] INFO git cat-file --batch 22:42:20 2023-05-22 22:42:20,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-255/.semver, universal_newlines=False, shell=None, istream=) 22:42:20 2023-05-22 22:42:20,282 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-255/.semver/PR-255 22:42:20 0.0.0 [Pipeline] } 22:42:20 $ docker exec --env ******** --env ******** 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc ssh-agent -k 22:42:20 unset SSH_AUTH_SOCK; 22:42:20 unset SSH_AGENT_PID; 22:42:20 echo Agent pid 76 killed; 22:42:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:21 + git semver [Pipeline] } 22:42:21 $ docker stop --time=1 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc 22:42:22 $ docker rm -f --volumes 89d7acf7b581bafbf6e638da4dd6a2298fcedc1cabca5fc3bf22e15ac9f2f2fc [Pipeline] // withDockerContainer [Pipeline] sh 22:42:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:23 Stashed 1 file(s) [Pipeline] echo 22:42:23 [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 22:42:24 provisioning config files... 22:42:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-255@tmp/config13202503042718744391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:24 ---> docker-login.sh 22:42:24 nexus3.edgexfoundry.org:10001 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 nexus3.edgexfoundry.org:10002 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 nexus3.edgexfoundry.org:10003 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 nexus3.edgexfoundry.org:10004 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:24 Configure a credential helper to remove this warning. See 22:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:24 22:42:24 Login Succeeded 22:42:24 docker.io 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:25 Configure a credential helper to remove this warning. See 22:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:25 22:42:25 Login Succeeded 22:42:25 ---> docker-login.sh ends [Pipeline] } 22:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:25 ========================================================= 22:42:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:42:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:25 + 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 . 22:42:25 Sending build context to Docker daemon 1.906MB 22:42:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:42:25 Step 2/13 : FROM ${BASE} AS builder 22:42:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:25 f56be85fc22e: Pulling fs layer 22:42:25 85791d961cd3: Pulling fs layer 22:42:25 d694b5ae8c79: Pulling fs layer 22:42:25 9f32a84ed3da: Pulling fs layer 22:42:25 4d19c01a9841: Pulling fs layer 22:42:25 9325e15d5711: Pulling fs layer 22:42:25 556b6ee489ea: Pulling fs layer 22:42:25 c5a4b2cf53e6: Pulling fs layer 22:42:25 9f32a84ed3da: Waiting 22:42:25 4d19c01a9841: Waiting 22:42:25 9325e15d5711: Waiting 22:42:25 556b6ee489ea: Waiting 22:42:25 c5a4b2cf53e6: Waiting 22:42:25 85791d961cd3: Download complete 22:42:25 9f32a84ed3da: Verifying Checksum 22:42:25 9f32a84ed3da: Download complete 22:42:25 4d19c01a9841: Verifying Checksum 22:42:25 4d19c01a9841: Download complete 22:42:26 f56be85fc22e: Download complete 22:42:26 9325e15d5711: Verifying Checksum 22:42:26 9325e15d5711: Download complete 22:42:26 f56be85fc22e: Pull complete 22:42:26 85791d961cd3: Pull complete 22:42:26 c5a4b2cf53e6: Verifying Checksum 22:42:26 c5a4b2cf53e6: Download complete 22:42:27 d694b5ae8c79: Verifying Checksum 22:42:27 d694b5ae8c79: Download complete 22:42:27 556b6ee489ea: Verifying Checksum 22:42:27 556b6ee489ea: Download complete 22:42:30 d694b5ae8c79: Pull complete 22:42:30 9f32a84ed3da: Pull complete 22:42:30 4d19c01a9841: Pull complete 22:42:30 9325e15d5711: Pull complete 22:42:33 556b6ee489ea: Pull complete 22:42:34 c5a4b2cf53e6: Pull complete 22:42:34 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:42:34 ---> c4be618373d6 22:42:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:42:36 ---> Running in 6c3ebcc52f7b 22:42:36 Removing intermediate container 6c3ebcc52f7b 22:42:36 ---> e4e58212e06c 22:42:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:36 ---> Running in 61adb2f7c338 22:42:36 Removing intermediate container 61adb2f7c338 22:42:36 ---> a8c0c88961a0 22:42:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:42:36 ---> Running in c2c8d3fa756b 22:42:36 Removing intermediate container c2c8d3fa756b 22:42:36 ---> 5d2ffd5f8972 22:42:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:42:36 ---> Running in d7bee66e3987 22:42:36 Removing intermediate container d7bee66e3987 22:42:36 ---> 1b6966991bb7 22:42:36 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:36 ---> Running in a456aa0a9c42 22:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:42:37 (1/14) Installing libintl (0.21.1-r1) 22:42:37 (2/14) Installing eudev-libs (3.2.11-r4) 22:42:37 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:42:37 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:42:37 (5/14) Installing v4l-utils (1.22.1-r2) 22:42:37 (6/14) Installing udev-init-scripts (35-r1) 22:42:37 (7/14) Installing libblkid (2.38.1-r1) 22:42:37 (8/14) Installing xz-libs (5.2.9-r0) 22:42:37 (9/14) Installing zstd-libs (1.5.5-r0) 22:42:37 (10/14) Installing kmod-libs (30-r1) 22:42:37 (11/14) Installing eudev (3.2.11-r4) 22:42:37 (12/14) Installing eudev-dev (3.2.11-r4) 22:42:37 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:42:37 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:42:37 Executing busybox-1.35.0-r29.trigger 22:42:37 Executing eudev-3.2.11-r4.trigger 22:42:37 OK: 272 MiB in 67 packages 22:42:38 Removing intermediate container a456aa0a9c42 22:42:38 ---> 7df45f0f8c85 22:42:38 Step 8/13 : WORKDIR /device-usb-camera 22:42:38 ---> Running in 116061131e9f 22:42:38 Removing intermediate container 116061131e9f 22:42:38 ---> 2aa48cbbd580 22:42:38 Step 9/13 : COPY go.mod vendor* ./ 22:42:38 ---> 29f6ac94e6f9 22:42:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:38 ---> Running in bebf8bad903e 22:42:38 Still waiting to schedule task 22:42:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:43:00 Removing intermediate container bebf8bad903e 22:43:00 ---> 03de0bc4a49b 22:43:00 Step 11/13 : COPY . . 22:43:00 ---> 7f79d528664d 22:43:00 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:43:00 ---> Running in b88bc6396c03 22:43:00  % Total % Received % Xferd Average Speed Time Time Time Current 22:43:00 Dload Upload Total Spent Left Speed 22:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062    0     0   8049      0 --:--:-- --:--:-- --:--:--  8106 22:43:00 Removing intermediate container b88bc6396c03 22:43:00 ---> f7c20cddff71 22:43:00 Step 13/13 : RUN ${MAKE} 22:43:00 ---> Running in 76d4467e69d4 22:43:00 noop 22:43:00 Removing intermediate container 76d4467e69d4 22:43:00 ---> 6afbb806acb4 22:43:00 Successfully built 6afbb806acb4 22:43:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:01 + docker inspect -f . ci-base-image-x86_64 22:43:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:01 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 22:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-255 -v /w/workspace/foundry_device-usb-camera_PR-255:/w/workspace/foundry_device-usb-camera_PR-255:rw,z -v /w/workspace/foundry_device-usb-camera_PR-255@tmp:/w/workspace/foundry_device-usb-camera_PR-255@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 ******** ci-base-image-x86_64 cat 22:43:01 $ docker top 94fb87a682216008d765c6fd8215b6e9c4f95f879eb0d5b48643830a49bb4368 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:02 + go version 22:43:02 go version go1.20.2 linux/amd64 [Pipeline] } 22:43:02 $ docker stop --time=1 94fb87a682216008d765c6fd8215b6e9c4f95f879eb0d5b48643830a49bb4368 22:43:03 $ docker rm -f --volumes 94fb87a682216008d765c6fd8215b6e9c4f95f879eb0d5b48643830a49bb4368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:04 + docker inspect -f . ci-base-image-x86_64 22:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:04 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 22:43:04 $ 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-255 -v /w/workspace/foundry_device-usb-camera_PR-255:/w/workspace/foundry_device-usb-camera_PR-255:rw,z -v /w/workspace/foundry_device-usb-camera_PR-255@tmp:/w/workspace/foundry_device-usb-camera_PR-255@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 ******** ci-base-image-x86_64 cat 22:43:04 $ docker top 83b0c5db59bc0489f22daab8364c97dedd4c047e7af37db26099eecdf6f13f9c -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:05 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-255 [Pipeline] fileExists [Pipeline] sh 22:43:05 + make test 22:43:05 go test ./... -coverprofile=coverage.out ./... 22:43:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:43:20 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:43:20 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.8% of statements 22:43:27 go vet ./... 22:43:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:30 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:30 $ docker stop --time=1 83b0c5db59bc0489f22daab8364c97dedd4c047e7af37db26099eecdf6f13f9c 22:43:33 $ docker rm -f --volumes 83b0c5db59bc0489f22daab8364c97dedd4c047e7af37db26099eecdf6f13f9c [Pipeline] // withDockerContainer [Pipeline] sh 22:43:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:35 + ls -al . 22:43:35 total 188 22:43:35 drwxrwxr-x 10 jenkins jenkins 4096 May 22 22:43 . 22:43:35 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:41 .. 22:43:35 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:42 .git 22:43:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:42 .github 22:43:35 -rw-rw-r-- 1 jenkins jenkins 414 May 22 22:42 .gitignore 22:43:35 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:42 .golangci.yml 22:43:35 -rw-rw-r-- 1 jenkins jenkins 77 May 22 22:42 .hadolint.yml 22:43:35 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:42 .semver 22:43:35 -rw-rw-r-- 1 jenkins jenkins 9665 May 22 22:42 Attribution.txt 22:43:35 -rw-rw-r-- 1 jenkins jenkins 6219 May 22 22:42 CHANGELOG.md 22:43:35 -rw-rw-r-- 1 jenkins jenkins 2453 May 22 22:42 Dockerfile 22:43:35 -rw-rw-r-- 1 jenkins jenkins 678 May 22 22:42 GOVERNANCE.md 22:43:35 -rw-rw-r-- 1 jenkins jenkins 659 May 22 22:42 Jenkinsfile 22:43:35 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:42 LICENSE 22:43:35 -rw-rw-r-- 1 jenkins jenkins 2364 May 22 22:42 Makefile 22:43:35 -rw-rw-r-- 1 jenkins jenkins 622 May 22 22:42 OWNERS.md 22:43:35 -rw-rw-r-- 1 jenkins jenkins 2477 May 22 22:42 README.md 22:43:35 -rw-rw-r-- 1 jenkins jenkins 5 May 22 22:42 VERSION 22:43:35 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:42 bin 22:43:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:42 cmd 22:43:35 -rw-r--r-- 1 jenkins jenkins 31522 May 22 22:43 coverage.out 22:43:35 -rwxrwxr-x 1 jenkins jenkins 140 May 22 22:42 docker-entrypoint.sh 22:43:35 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:42 docs 22:43:35 -rw-rw-r-- 1 jenkins jenkins 3419 May 22 22:42 go.mod 22:43:35 -rw-rw-r-- 1 jenkins jenkins 31488 May 22 22:42 go.sum 22:43:35 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:42 internal 22:43:35 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:42 snap 22:43:35 -rw-rw-r-- 1 jenkins jenkins 231 May 22 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:35 + 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=c3b59b300ea33e30dce4b6f64bcecb62cab81248 --label arch=amd64 --label version=0.0.0 . 22:43:35 Sending build context to Docker daemon 1.938MB 22:43:35 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 22:43:35 Step 2/36 : FROM ${BASE} AS builder 22:43:35 ---> 6afbb806acb4 22:43:35 Step 3/36 : ARG ADD_BUILD_TAGS="" 22:43:35 ---> Running in 7545a3004a2d 22:43:35 Removing intermediate container 7545a3004a2d 22:43:35 ---> 00d86b3095ed 22:43:35 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:35 ---> Running in d86eadf60d07 22:43:35 Removing intermediate container d86eadf60d07 22:43:35 ---> 98deac308c07 22:43:35 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:43:35 ---> Running in 4ee9e712b82f 22:43:35 Removing intermediate container 4ee9e712b82f 22:43:35 ---> 9ee45f62ac6c 22:43:35 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:43:35 ---> Running in b395e75583ba 22:43:35 Removing intermediate container b395e75583ba 22:43:35 ---> 54eb3f275e95 22:43:35 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:35 ---> Running in 40e95d0f28f2 22:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:43:36 OK: 272 MiB in 67 packages 22:43:37 Removing intermediate container 40e95d0f28f2 22:43:37 ---> 52eb66fa3644 22:43:37 Step 8/36 : WORKDIR /device-usb-camera 22:43:37 ---> Running in e4b5b3409758 22:43:37 Removing intermediate container e4b5b3409758 22:43:37 ---> 8815eadf4fc6 22:43:37 Step 9/36 : COPY go.mod vendor* ./ 22:43:37 ---> c0a8b85ced80 22:43:37 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:37 ---> Running in 73d71b804af8 22:43:38 Removing intermediate container 73d71b804af8 22:43:38 ---> 131da442a821 22:43:38 Step 11/36 : COPY . . 22:43:38 ---> d8f2af7de87b 22:43:38 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:43:38 ---> Running in 1dea2a9383d4 22:43:38  % Total % Received % Xferd Average Speed Time Time Time Current 22:43:38 Dload Upload Total Spent Left Speed 22:43:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21035 0 --:--:-- --:--:-- --:--:-- 21240 22:43:38 Removing intermediate container 1dea2a9383d4 22:43:38 ---> 78f58389d21e 22:43:38 Step 13/36 : RUN ${MAKE} 22:43:38 ---> Running in 65642cce8bcc 22:43:39 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:44:01 Removing intermediate container 65642cce8bcc 22:44:01 ---> e09a4146946b 22:44:01 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:44:01 v0.21.6: Pulling from aler9/rtsp-simple-server 22:44:01 4acc49c71d14: Pulling fs layer 22:44:01 4acc49c71d14: Download complete 22:44:01 4acc49c71d14: Pull complete 22:44:01 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:44:01 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:44:01 ---> 01a2bd3e5fff 22:44:01 Step 15/36 : FROM alpine:3.17 22:44:01 3.17: Pulling from library/alpine 22:44:01 f56be85fc22e: Already exists 22:44:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:44:01 Status: Downloaded newer image for alpine:3.17 22:44:01 ---> 9ed4aefc74f6 22:44:01 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:44:01 ---> Running in e06d5d7bd674 22:44:01 Removing intermediate container e06d5d7bd674 22:44:01 ---> f116a9e38cb7 22:44:01 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:44:01 ---> Running in fdc7f6d56324 22:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:44:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:44:01 (1/86) Installing dumb-init (1.2.5-r2) 22:44:01 (2/86) Installing sdl2 (2.26.5-r0) 22:44:01 (3/86) Installing svt-av1-libs (1.3.0-r0) 22:44:01 (4/86) Installing libxau (1.0.10-r0) 22:44:01 (5/86) Installing libmd (1.0.4-r0) 22:44:01 (6/86) Installing libbsd (0.11.7-r0) 22:44:01 (7/86) Installing libxdmcp (1.1.4-r0) 22:44:01 (8/86) Installing libxcb (1.15-r0) 22:44:01 (9/86) Installing libx11 (1.8.4-r0) 22:44:01 (10/86) Installing aom-libs (3.5.0-r0) 22:44:01 (11/86) Installing alsa-lib (1.2.8-r0) 22:44:01 (12/86) Installing libexpat (2.5.0-r0) 22:44:01 (13/86) Installing brotli-libs (1.0.9-r9) 22:44:01 (14/86) Installing libbz2 (1.0.8-r4) 22:44:01 (15/86) Installing libpng (1.6.38-r0) 22:44:01 (16/86) Installing freetype (2.12.1-r0) 22:44:01 (17/86) Installing fontconfig (2.14.1-r0) 22:44:01 (18/86) Installing fribidi (1.0.12-r0) 22:44:01 (19/86) Installing libffi (3.4.4-r0) 22:44:01 (20/86) Installing libintl (0.21.1-r1) 22:44:01 (21/86) Installing libblkid (2.38.1-r1) 22:44:01 (22/86) Installing libmount (2.38.1-r1) 22:44:01 (23/86) Installing pcre2 (10.42-r0) 22:44:01 (24/86) Installing glib (2.74.6-r0) 22:44:01 (25/86) Installing graphite2 (1.3.14-r2) 22:44:01 (26/86) Installing harfbuzz (5.3.1-r1) 22:44:01 (27/86) Installing libass (0.16.0-r1) 22:44:01 (28/86) Installing libdav1d (1.0.0-r2) 22:44:01 (29/86) Installing hwdata-pci (0.364-r0) 22:44:01 (30/86) Installing libpciaccess (0.17-r0) 22:44:01 (31/86) Installing libdrm (2.4.114-r0) 22:44:01 (32/86) Installing gmp (6.2.1-r2) 22:44:01 (33/86) Installing nettle (3.8.1-r0) 22:44:01 (34/86) Installing p11-kit (0.24.1-r1) 22:44:01 (35/86) Installing libtasn1 (4.19.0-r0) 22:44:01 (36/86) Installing libunistring (1.1-r0) 22:44:01 (37/86) Installing gnutls (3.7.8-r3) 22:44:01 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 22:44:01 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 22:44:01 (40/86) Installing lame (3.100-r2) 22:44:01 (41/86) Installing opus (1.3.1-r1) 22:44:01 (42/86) Installing libasyncns (0.8-r1) 22:44:01 (43/86) Installing dbus-libs (1.14.4-r0) 22:44:01 (44/86) Installing libltdl (2.4.7-r1) 22:44:01 (45/86) Installing orc (0.4.33-r0) 22:44:01 (46/86) Installing libgcc (12.2.1_git20220924-r4) 22:44:01 (47/86) Installing libogg (1.3.5-r2) 22:44:01 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 22:44:01 (49/86) Installing flac-libs (1.4.2-r0) 22:44:01 (50/86) Installing libvorbis (1.3.7-r0) 22:44:01 (51/86) Installing libsndfile (1.1.0-r2) 22:44:01 (52/86) Installing libgomp (12.2.1_git20220924-r4) 22:44:01 (53/86) Installing soxr (0.1.3-r3) 22:44:01 (54/86) Installing speexdsp (1.2.1-r0) 22:44:01 (55/86) Installing tdb-libs (1.4.6-r0) 22:44:01 (56/86) Installing libpulse (16.1-r6) 22:44:01 (57/86) Installing cjson (1.7.15-r3) 22:44:01 (58/86) Installing mbedtls (2.28.3-r0) 22:44:02 (59/86) Installing librist (0.2.7-r0) 22:44:02 (60/86) Installing libsrt (1.5.1-r0) 22:44:02 (61/86) Installing libssh (0.10.5-r0) 22:44:02 (62/86) Installing libtheora (1.1.1-r16) 22:44:02 (63/86) Installing libjpeg-turbo (2.1.4-r0) 22:44:02 (64/86) Installing v4l-utils-libs (1.22.1-r2) 22:44:02 (65/86) Installing libxext (1.3.5-r0) 22:44:02 (66/86) Installing libxfixes (6.0.0-r0) 22:44:02 (67/86) Installing wayland-libs-client (1.21.0-r1) 22:44:02 (68/86) Installing libva (2.16.0-r0) 22:44:02 (69/86) Installing libvdpau (1.5-r0) 22:44:02 (70/86) Installing vidstab (1.1.0-r2) 22:44:02 (71/86) Installing libvpx (1.12.0-r1) 22:44:02 (72/86) Installing libwebp (1.2.4-r1) 22:44:02 (73/86) Installing x264-libs (0.164_git20220602-r0) 22:44:02 (74/86) Installing numactl (2.0.16-r1) 22:44:02 (75/86) Installing x265-libs (3.5-r3) 22:44:02 (76/86) Installing xvidcore (1.3.7-r1) 22:44:02 (77/86) Installing libsodium (1.0.18-r2) 22:44:02 (78/86) Installing libzmq (4.3.4-r1) 22:44:02 (79/86) Installing ffmpeg-libs (5.1.3-r0) 22:44:02 (80/86) Installing ffmpeg (5.1.3-r0) 22:44:02 (81/86) Installing udev-init-scripts (35-r1) 22:44:02 (82/86) Installing eudev-libs (3.2.11-r4) 22:44:02 (83/86) Installing xz-libs (5.2.9-r0) 22:44:02 (84/86) Installing zstd-libs (1.5.5-r0) 22:44:02 (85/86) Installing kmod-libs (30-r1) 22:44:02 (86/86) Installing eudev (3.2.11-r4) 22:44:02 Executing busybox-1.35.0-r29.trigger 22:44:02 Executing eudev-3.2.11-r4.trigger 22:44:02 OK: 112 MiB in 101 packages 22:44:05 Removing intermediate container fdc7f6d56324 22:44:05 ---> 090079382ccf 22:44:05 Step 18/36 : WORKDIR / 22:44:05 ---> Running in 65011b5ff9bc 22:44:05 Removing intermediate container 65011b5ff9bc 22:44:05 ---> d2f1ee9468d1 22:44:05 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 22:44:05 ---> 8d36f88e1fbe 22:44:05 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 22:44:05 ---> de0a45cb1e65 22:44:05 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:44:05 ---> f358b577a2c1 22:44:05 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:44:05 ---> 642d71e6b791 22:44:05 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:44:06 ---> 610ac096ef4f 22:44:06 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 22:44:06 ---> 7204c20e64c6 22:44:06 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 22:44:07 ---> f4d5e17072b8 22:44:07 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:44:07 ---> Running in b203d13ceb1b 22:44:07 Removing intermediate container b203d13ceb1b 22:44:07 ---> b6d7692e7543 22:44:07 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:44:07 ---> Running in 2fc7523df4ed 22:44:08 Removing intermediate container 2fc7523df4ed 22:44:08 ---> 4788f9d5e10d 22:44:08 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:44:08 ---> Running in fe9a40ac4d2b 22:44:08 Removing intermediate container fe9a40ac4d2b 22:44:08 ---> ff40fcfcbf73 22:44:08 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 22:44:08 ---> Running in 6fe05bdd55f7 22:44:09 Removing intermediate container 6fe05bdd55f7 22:44:09 ---> 98e6f0b47041 22:44:09 Step 30/36 : EXPOSE 59983 22:44:09 ---> Running in 466f031327be 22:44:09 Removing intermediate container 466f031327be 22:44:09 ---> f070ba3aada8 22:44:09 Step 31/36 : EXPOSE 8554 22:44:09 ---> Running in 769c363234c1 22:44:09 Removing intermediate container 769c363234c1 22:44:09 ---> 10634ab5283c 22:44:09 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:44:09 ---> Running in 77ce28d46a2e 22:44:09 Removing intermediate container 77ce28d46a2e 22:44:09 ---> 04062674925a 22:44:09 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:44:09 ---> Running in 6a2dcbe945ef 22:44:09 Removing intermediate container 6a2dcbe945ef 22:44:09 ---> aba3e4371b46 22:44:09 Step 34/36 : LABEL arch=amd64 22:44:09 ---> Running in 0db37b08d707 22:44:09 Removing intermediate container 0db37b08d707 22:44:09 ---> 287a6d05b3f8 22:44:09 Step 35/36 : LABEL git_sha=c3b59b300ea33e30dce4b6f64bcecb62cab81248 22:44:09 ---> Running in 668cb39efa17 22:44:09 Removing intermediate container 668cb39efa17 22:44:09 ---> 6465f46c95e1 22:44:09 Step 36/36 : LABEL version=0.0.0 22:44:09 ---> Running in 4e993c7954c1 22:44:09 Removing intermediate container 4e993c7954c1 22:44:09 ---> 36cc9f61c672 22:44:09 [Warning] One or more build-args [ARCH] were not consumed 22:44:09 Successfully built 36cc9f61c672 22:44:10 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 22:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:10 22:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:11 latest: Pulling from edgex-lftools-log-publisher 22:44:11 5eb5b503b376: Pulling fs layer 22:44:11 5c69ac0246d0: Pulling fs layer 22:44:11 ec43610c2a17: Pulling fs layer 22:44:11 3a2ae6a8a46f: Pulling fs layer 22:44:11 33b1e0a273af: Pulling fs layer 22:44:11 5d3b04190fa2: Pulling fs layer 22:44:11 2f39f015ded8: Pulling fs layer 22:44:11 33b1e0a273af: Waiting 22:44:11 5d3b04190fa2: Waiting 22:44:11 3a2ae6a8a46f: Waiting 22:44:11 2f39f015ded8: Waiting 22:44:11 5c69ac0246d0: Verifying Checksum 22:44:11 5c69ac0246d0: Download complete 22:44:11 3a2ae6a8a46f: Verifying Checksum 22:44:11 3a2ae6a8a46f: Download complete 22:44:11 33b1e0a273af: Verifying Checksum 22:44:11 33b1e0a273af: Download complete 22:44:11 5d3b04190fa2: Verifying Checksum 22:44:11 5d3b04190fa2: Download complete 22:44:11 ec43610c2a17: Verifying Checksum 22:44:11 ec43610c2a17: Download complete 22:44:11 5eb5b503b376: Verifying Checksum 22:44:11 5eb5b503b376: Download complete 22:44:12 2f39f015ded8: Download complete 22:44:12 5eb5b503b376: Pull complete 22:44:12 5c69ac0246d0: Pull complete 22:44:13 ec43610c2a17: Pull complete 22:44:13 3a2ae6a8a46f: Pull complete 22:44:13 33b1e0a273af: Pull complete 22:44:13 5d3b04190fa2: Pull complete 22:44:17 2f39f015ded8: Pull complete 22:44:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:18 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 22:44:18 $ 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-255 -v /w/workspace/foundry_device-usb-camera_PR-255:/w/workspace/foundry_device-usb-camera_PR-255:rw,z -v /w/workspace/foundry_device-usb-camera_PR-255@tmp:/w/workspace/foundry_device-usb-camera_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:44:20 $ docker top ff6f4064d0c098e73e9286bc651c7913c2df7f3c39a7012025dca801b0cd4eee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:20 ---> job-cost.sh 22:44:20 lf-activate-venv: SKIPPING 22:44:20 INFO: No Stack... 22:44:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:21 INFO: Archiving Costs [Pipeline] sh 22:44:21 + cut -d, -f6 22:44:21 + cat /w/workspace/foundry_device-usb-camera_PR-255/archives/cost.csv [Pipeline] lock 22:44:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] 22:44:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] did not exist. Created. 22:44:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:22 + echo total: 0.2199999988079071 [Pipeline] stash 22:44:22 Stashed 1 file(s) [Pipeline] } 22:44:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:22 $ docker stop --time=1 ff6f4064d0c098e73e9286bc651c7913c2df7f3c39a7012025dca801b0cd4eee 22:44:23 $ docker rm -f --volumes ff6f4064d0c098e73e9286bc651c7913c2df7f3c39a7012025dca801b0cd4eee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:44:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16400 in /w/workspace/foundry_device-usb-camera_PR-255 [Pipeline] { [Pipeline] ws 22:44:59 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 22:44:59 Selected Git installation does not exist. Using Default 22:44:59 The recommended git tool is: NONE 22:45:05 using credential edgex-jenkins-ssh 22:45:05 Cloning the remote Git repository 22:45:05 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 22:45:05 > git init /w/workspace/device-usb-camera/1 # timeout=10 22:45:05 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:45:05 > git --version # timeout=10 22:45:05 > git --version # 'git version 2.25.1' 22:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:06 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:45:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:08 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c3b59b300ea33e30dce4b6f64bcecb62cab81248 22:45:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:45:07 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:08 > git config core.sparsecheckout # timeout=10 22:45:08 > git checkout -f c3b59b300ea33e30dce4b6f64bcecb62cab81248 # timeout=10 22:45:08 > git remote # timeout=10 22:45:08 > git config --get remote.origin.url # timeout=10 22:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:08 > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 22:45:08 > git rev-parse HEAD^{commit} # timeout=10 22:45:08 Merge succeeded, producing c3b59b300ea33e30dce4b6f64bcecb62cab81248 22:45:08 Checking out Revision c3b59b300ea33e30dce4b6f64bcecb62cab81248 (PR-255) 22:45:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 22:45:08 > git --version # timeout=10 22:45:08 > git --version # 'git version 2.25.1' 22:45:08 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:08 > git config core.sparsecheckout # timeout=10 22:45:08 > git checkout -f c3b59b300ea33e30dce4b6f64bcecb62cab81248 # timeout=10 22:45:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:45:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:10 Dload Upload Total Spent Left Speed 22:45:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 22:45:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:45:11 + sudo tee /etc/docker/daemon.new 22:45:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:45:11 { 22:45:11 "registry-mirrors": [ 22:45:11 "https://nexus3.edgexfoundry.org:10001" 22:45:11 ], 22:45:11 "bip": "10.250.0.254/24", 22:45:11 "hosts": [ 22:45:11 "tcp://0.0.0.0:5555", 22:45:11 "unix:///var/run/docker.sock" 22:45:11 ], 22:45:11 "mtu": 1458, 22:45:11 "selinux-enabled": true, 22:45:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:45:11 } [Pipeline] sh 22:45:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:45:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:30 provisioning config files... 22:45:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11475110156962732977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:30 ---> docker-login.sh 22:45:30 nexus3.edgexfoundry.org:10001 22:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10002 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10003 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10004 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 docker.io 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 ---> docker-login.sh ends [Pipeline] } 22:45:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:33 ========================================================= 22:45:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:45:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:45:34 Sending build context to Docker daemon 1.121MB 22:45:34 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:45:34 Step 2/13 : FROM ${BASE} AS builder 22:45:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:34 c41833b44d91: Pulling fs layer 22:45:34 ed15518f5707: Pulling fs layer 22:45:34 feae8fd75edb: Pulling fs layer 22:45:34 242c74f7c9fa: Pulling fs layer 22:45:34 3cdef696dda3: Pulling fs layer 22:45:34 2ced38df9373: Pulling fs layer 22:45:34 58f1dce35555: Pulling fs layer 22:45:34 3cdef696dda3: Waiting 22:45:34 242c74f7c9fa: Waiting 22:45:34 2ced38df9373: Waiting 22:45:34 58f1dce35555: Waiting 22:45:34 ed15518f5707: Download complete 22:45:34 242c74f7c9fa: Verifying Checksum 22:45:34 242c74f7c9fa: Download complete 22:45:34 3cdef696dda3: Verifying Checksum 22:45:34 3cdef696dda3: Download complete 22:45:34 c41833b44d91: Download complete 22:45:35 c41833b44d91: Pull complete 22:45:35 58f1dce35555: Verifying Checksum 22:45:35 58f1dce35555: Download complete 22:45:35 ed15518f5707: Pull complete 22:45:36 feae8fd75edb: Verifying Checksum 22:45:36 feae8fd75edb: Download complete 22:45:36 2ced38df9373: Verifying Checksum 22:45:36 2ced38df9373: Download complete 22:45:49 feae8fd75edb: Pull complete 22:45:49 242c74f7c9fa: Pull complete 22:45:49 3cdef696dda3: Pull complete 22:45:57 2ced38df9373: Pull complete 22:45:59 58f1dce35555: Pull complete 22:45:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:45:59 ---> fadd8f120f05 22:45:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:46:01 ---> Running in 27add88f3278 22:46:01 Removing intermediate container 27add88f3278 22:46:01 ---> b835b4a99043 22:46:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:46:01 ---> Running in aa8c5f8adf5f 22:46:01 Removing intermediate container aa8c5f8adf5f 22:46:01 ---> a83375242f4a 22:46:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:46:02 ---> Running in ae0da349688d 22:46:02 Removing intermediate container ae0da349688d 22:46:02 ---> 392e290c3fb6 22:46:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:46:02 ---> Running in 24595cdd9c73 22:46:02 Removing intermediate container 24595cdd9c73 22:46:02 ---> 9a73b4184abf 22:46:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:02 ---> Running in 17a62addcac1 22:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:46:05 (1/14) Installing libintl (0.21.1-r1) 22:46:05 (2/14) Installing eudev-libs (3.2.11-r4) 22:46:05 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:46:05 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:46:05 (5/14) Installing v4l-utils (1.22.1-r2) 22:46:05 (6/14) Installing udev-init-scripts (35-r1) 22:46:05 (7/14) Installing libblkid (2.38.1-r1) 22:46:05 (8/14) Installing xz-libs (5.2.9-r0) 22:46:05 (9/14) Installing zstd-libs (1.5.5-r0) 22:46:05 (10/14) Installing kmod-libs (30-r1) 22:46:05 (11/14) Installing eudev (3.2.11-r4) 22:46:05 (12/14) Installing eudev-dev (3.2.11-r4) 22:46:05 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:46:06 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:46:06 Executing busybox-1.35.0-r29.trigger 22:46:06 Executing eudev-3.2.11-r4.trigger 22:46:06 OK: 271 MiB in 67 packages 22:46:10 Removing intermediate container 17a62addcac1 22:46:10 ---> 4e643242616c 22:46:10 Step 8/13 : WORKDIR /device-usb-camera 22:46:10 ---> Running in 8579f54212d5 22:46:10 Removing intermediate container 8579f54212d5 22:46:10 ---> afe79b5df2b2 22:46:10 Step 9/13 : COPY go.mod vendor* ./ 22:46:10 ---> 63d5bbfe7cb4 22:46:10 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:10 ---> Running in b25f883fbefe 22:47:18 Removing intermediate container b25f883fbefe 22:47:18 ---> ae3ed46f1b7d 22:47:18 Step 11/13 : COPY . . 22:47:18 ---> 4169351d1380 22:47:18 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:47:18 ---> Running in cfecd6c8184d 22:47:18  % Total  % Received % Xferd Average Speed Time Time Time Current 22:47:18  Dload Upload Total Spent Left Speed 22:47:18 0  0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3414 0 --:--:-- --:--:-- --:--:-- 3425 22:47:18 Removing intermediate container cfecd6c8184d 22:47:18 ---> 9c6133d56e02 22:47:18 Step 13/13 : RUN ${MAKE} 22:47:18 ---> Running in bd9ea0372c72 22:47:18 noop 22:47:18 Removing intermediate container bd9ea0372c72 22:47:18 ---> 65875a5959c4 22:47:18 Successfully built 65875a5959c4 22:47:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:19 + docker inspect -f . ci-base-image-arm64 22:47:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:19 prd-ubuntu20.04-docker-arm64-4c-16g-16400 does not seem to be running inside a container 22:47:19 $ 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 ******** ci-base-image-arm64 cat 22:47:20 $ docker top 12ebc9499436a1a286891ee4e433c06f3a000080881fdc1a75961dfe3ffd5eab -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:21 + go version 22:47:21 go version go1.20.2 linux/arm64 [Pipeline] } 22:47:21 $ docker stop --time=1 12ebc9499436a1a286891ee4e433c06f3a000080881fdc1a75961dfe3ffd5eab 22:47:23 $ docker rm -f --volumes 12ebc9499436a1a286891ee4e433c06f3a000080881fdc1a75961dfe3ffd5eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:24 + docker inspect -f . ci-base-image-arm64 22:47:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:24 prd-ubuntu20.04-docker-arm64-4c-16g-16400 does not seem to be running inside a container 22:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/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 ******** ci-base-image-arm64 cat 22:47:26 $ docker top 7150bfdd1ae15a08aabc6f7b83aaf69d6c74cc03d4eda5352badc0c4a6079fe4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:26 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 22:47:27 + make test 22:47:27 go test ./... -coverprofile=coverage.out ./... 22:48:06 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:50:28 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:50:28 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 1.8% of statements 22:50:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:28 go vet ./... 22:50:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:50:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:50:55 ./bin/test-attribution-txt.sh [Pipeline] echo 22:50:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:50:55 $ docker stop --time=1 7150bfdd1ae15a08aabc6f7b83aaf69d6c74cc03d4eda5352badc0c4a6079fe4 22:50:56 $ docker rm -f --volumes 7150bfdd1ae15a08aabc6f7b83aaf69d6c74cc03d4eda5352badc0c4a6079fe4 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:58 Warning: overwriting stash ‘coverage-report’ 22:50:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:59 + ls -al . 22:50:59 total 184 22:50:59 drwxrwxr-x 9 jenkins jenkins 4096 May 22 22:47 . 22:50:59 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:45 .. 22:50:59 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:45 .git 22:50:59 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:45 .github 22:50:59 -rw-rw-r-- 1 jenkins jenkins 414 May 22 22:45 .gitignore 22:50:59 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:45 .golangci.yml 22:50:59 -rw-rw-r-- 1 jenkins jenkins 77 May 22 22:45 .hadolint.yml 22:50:59 -rw-rw-r-- 1 jenkins jenkins 9665 May 22 22:45 Attribution.txt 22:50:59 -rw-rw-r-- 1 jenkins jenkins 6219 May 22 22:45 CHANGELOG.md 22:50:59 -rw-rw-r-- 1 jenkins jenkins 2453 May 22 22:45 Dockerfile 22:50:59 -rw-rw-r-- 1 jenkins jenkins 678 May 22 22:45 GOVERNANCE.md 22:50:59 -rw-rw-r-- 1 jenkins jenkins 659 May 22 22:45 Jenkinsfile 22:50:59 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:45 LICENSE 22:50:59 -rw-rw-r-- 1 jenkins jenkins 2364 May 22 22:45 Makefile 22:50:59 -rw-rw-r-- 1 jenkins jenkins 622 May 22 22:45 OWNERS.md 22:50:59 -rw-rw-r-- 1 jenkins jenkins 2477 May 22 22:45 README.md 22:50:59 -rw-rw-r-- 1 jenkins jenkins 5 May 22 22:42 VERSION 22:50:59 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:45 bin 22:50:59 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:45 cmd 22:50:59 -rw-r--r-- 1 jenkins jenkins 31522 May 22 22:50 coverage.out 22:50:59 -rwxrwxr-x 1 jenkins jenkins 140 May 22 22:45 docker-entrypoint.sh 22:50:59 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:45 docs 22:50:59 -rw-rw-r-- 1 jenkins jenkins 3419 May 22 22:45 go.mod 22:50:59 -rw-rw-r-- 1 jenkins jenkins 31488 May 22 22:45 go.sum 22:50:59 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:45 internal 22:50:59 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:45 snap 22:50:59 -rw-rw-r-- 1 jenkins jenkins 231 May 22 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:00 + 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=c3b59b300ea33e30dce4b6f64bcecb62cab81248 --label arch=arm64 --label version=0.0.0 . 22:51:00 Sending build context to Docker daemon 1.153MB 22:51:00 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 22:51:00 Step 2/36 : FROM ${BASE} AS builder 22:51:00 ---> 65875a5959c4 22:51:00 Step 3/36 : ARG ADD_BUILD_TAGS="" 22:51:00 ---> Running in df2526599496 22:51:00 Removing intermediate container df2526599496 22:51:00 ---> 2b41676c01e0 22:51:00 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:51:00 ---> Running in 2d0318cb6ebb 22:51:01 Removing intermediate container 2d0318cb6ebb 22:51:01 ---> a88cb8c13e0d 22:51:01 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:51:01 ---> Running in c6775a6be618 22:51:01 Removing intermediate container c6775a6be618 22:51:01 ---> 57fe3c47a637 22:51:01 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:51:01 ---> Running in 81a4489da6ce 22:51:02 Removing intermediate container 81a4489da6ce 22:51:02 ---> 5c12614fd5b4 22:51:02 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:02 ---> Running in 0b2a71149e55 22:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:51:04 OK: 271 MiB in 67 packages 22:51:05 Removing intermediate container 0b2a71149e55 22:51:05 ---> 431721ab9ac1 22:51:05 Step 8/36 : WORKDIR /device-usb-camera 22:51:05 ---> Running in 5bb41d1dabbd 22:51:05 Removing intermediate container 5bb41d1dabbd 22:51:05 ---> b8017a02e266 22:51:05 Step 9/36 : COPY go.mod vendor* ./ 22:51:06 ---> 9108bd69d290 22:51:06 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:06 ---> Running in 8bf9f66e4177 22:51:08 Removing intermediate container 8bf9f66e4177 22:51:08 ---> 2aae417f0084 22:51:08 Step 11/36 : COPY . . 22:51:09 ---> 182198ad072c 22:51:09 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:51:09 ---> Running in 904c565aa76e 22:51:14   % Total % Received % Xferd Average Speed Time Time Time Current 22:51:14 Dload Upload Total Spent Left Speed 22:51:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 100 1062 100 1062 0 0 282  0 0:00:03 0:00:03 --:--:-- 282 22:51:14 Removing intermediate container 904c565aa76e 22:51:14 ---> a7b80f6706e4 22:51:14 Step 13/36 : RUN ${MAKE} 22:51:14 ---> Running in 652f58e98068 22:51:15 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:53:52 Removing intermediate container 652f58e98068 22:53:52 ---> 5b2baf8ef53b 22:53:52 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:53:52 v0.21.6: Pulling from aler9/rtsp-simple-server 22:53:52 8766b47fe142: Pulling fs layer 22:53:52 8766b47fe142: Verifying Checksum 22:53:52 8766b47fe142: Download complete 22:53:52 8766b47fe142: Pull complete 22:53:52 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:53:52 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:53:52 ---> 69d40e2cb93c 22:53:52 Step 15/36 : FROM alpine:3.17 22:53:52 3.17: Pulling from library/alpine 22:53:52 c41833b44d91: Already exists 22:53:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:53:52 Status: Downloaded newer image for alpine:3.17 22:53:52 ---> 51e60588ff2c 22:53:52 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:53:52 ---> Running in 3ae00aceb2a7 22:53:52 Removing intermediate container 3ae00aceb2a7 22:53:52 ---> bc5a93596403 22:53:52 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:53:52 ---> Running in e0c35d8e4a23 22:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:53:55 (1/83) Installing dumb-init (1.2.5-r2) 22:53:55 (2/83) Installing sdl2 (2.26.5-r0) 22:53:55 (3/83) Installing libxau (1.0.10-r0) 22:53:55 (4/83) Installing libmd (1.0.4-r0) 22:53:55 (5/83) Installing libbsd (0.11.7-r0) 22:53:55 (6/83) Installing libxdmcp (1.1.4-r0) 22:53:55 (7/83) Installing libxcb (1.15-r0) 22:53:55 (8/83) Installing libx11 (1.8.4-r0) 22:53:55 (9/83) Installing aom-libs (3.5.0-r0) 22:53:55 (10/83) Installing alsa-lib (1.2.8-r0) 22:53:55 (11/83) Installing libexpat (2.5.0-r0) 22:53:55 (12/83) Installing brotli-libs (1.0.9-r9) 22:53:55 (13/83) Installing libbz2 (1.0.8-r4) 22:53:55 (14/83) Installing libpng (1.6.38-r0) 22:53:55 (15/83) Installing freetype (2.12.1-r0) 22:53:55 (16/83) Installing fontconfig (2.14.1-r0) 22:53:55 (17/83) Installing fribidi (1.0.12-r0) 22:53:55 (18/83) Installing libffi (3.4.4-r0) 22:53:55 (19/83) Installing libintl (0.21.1-r1) 22:53:55 (20/83) Installing libblkid (2.38.1-r1) 22:53:55 (21/83) Installing libmount (2.38.1-r1) 22:53:55 (22/83) Installing pcre2 (10.42-r0) 22:53:55 (23/83) Installing glib (2.74.6-r0) 22:53:55 (24/83) Installing graphite2 (1.3.14-r2) 22:53:55 (25/83) Installing harfbuzz (5.3.1-r1) 22:53:55 (26/83) Installing libass (0.16.0-r1) 22:53:55 (27/83) Installing libdav1d (1.0.0-r2) 22:53:55 (28/83) Installing libdrm (2.4.114-r0) 22:53:55 (29/83) Installing gmp (6.2.1-r2) 22:53:55 (30/83) Installing nettle (3.8.1-r0) 22:53:55 (31/83) Installing p11-kit (0.24.1-r1) 22:53:55 (32/83) Installing libtasn1 (4.19.0-r0) 22:53:55 (33/83) Installing libunistring (1.1-r0) 22:53:56 (34/83) Installing gnutls (3.7.8-r3) 22:53:56 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 22:53:56 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 22:53:56 (37/83) Installing lame (3.100-r2) 22:53:56 (38/83) Installing opus (1.3.1-r1) 22:53:56 (39/83) Installing libasyncns (0.8-r1) 22:53:56 (40/83) Installing dbus-libs (1.14.4-r0) 22:53:56 (41/83) Installing libltdl (2.4.7-r1) 22:53:56 (42/83) Installing orc (0.4.33-r0) 22:53:56 (43/83) Installing libgcc (12.2.1_git20220924-r4) 22:53:56 (44/83) Installing libogg (1.3.5-r2) 22:53:56 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 22:53:56 (46/83) Installing flac-libs (1.4.2-r0) 22:53:56 (47/83) Installing libvorbis (1.3.7-r0) 22:53:56 (48/83) Installing libsndfile (1.1.0-r2) 22:53:56 (49/83) Installing libgomp (12.2.1_git20220924-r4) 22:53:56 (50/83) Installing soxr (0.1.3-r3) 22:53:56 (51/83) Installing speexdsp (1.2.1-r0) 22:53:56 (52/83) Installing tdb-libs (1.4.6-r0) 22:53:56 (53/83) Installing libpulse (16.1-r6) 22:53:56 (54/83) Installing cjson (1.7.15-r3) 22:53:56 (55/83) Installing mbedtls (2.28.3-r0) 22:53:56 (56/83) Installing librist (0.2.7-r0) 22:53:56 (57/83) Installing libsrt (1.5.1-r0) 22:53:56 (58/83) Installing libssh (0.10.5-r0) 22:53:56 (59/83) Installing libtheora (1.1.1-r16) 22:53:56 (60/83) Installing libjpeg-turbo (2.1.4-r0) 22:53:56 (61/83) Installing v4l-utils-libs (1.22.1-r2) 22:53:56 (62/83) Installing libxext (1.3.5-r0) 22:53:56 (63/83) Installing libxfixes (6.0.0-r0) 22:53:56 (64/83) Installing wayland-libs-client (1.21.0-r1) 22:53:56 (65/83) Installing libva (2.16.0-r0) 22:53:56 (66/83) Installing libvdpau (1.5-r0) 22:53:56 (67/83) Installing vidstab (1.1.0-r2) 22:53:56 (68/83) Installing libvpx (1.12.0-r1) 22:53:56 (69/83) Installing libwebp (1.2.4-r1) 22:53:56 (70/83) Installing x264-libs (0.164_git20220602-r0) 22:53:56 (71/83) Installing numactl (2.0.16-r1) 22:53:56 (72/83) Installing x265-libs (3.5-r3) 22:53:56 (73/83) Installing xvidcore (1.3.7-r1) 22:53:56 (74/83) Installing libsodium (1.0.18-r2) 22:53:56 (75/83) Installing libzmq (4.3.4-r1) 22:53:57 (76/83) Installing ffmpeg-libs (5.1.3-r0) 22:53:57 (77/83) Installing ffmpeg (5.1.3-r0) 22:53:57 (78/83) Installing udev-init-scripts (35-r1) 22:53:57 (79/83) Installing eudev-libs (3.2.11-r4) 22:53:57 (80/83) Installing xz-libs (5.2.9-r0) 22:53:57 (81/83) Installing zstd-libs (1.5.5-r0) 22:53:57 (82/83) Installing kmod-libs (30-r1) 22:53:57 (83/83) Installing eudev (3.2.11-r4) 22:53:57 Executing busybox-1.35.0-r29.trigger 22:53:57 Executing eudev-3.2.11-r4.trigger 22:53:57 OK: 86 MiB in 98 packages 22:54:01 Removing intermediate container e0c35d8e4a23 22:54:01 ---> ed9514ed496c 22:54:01 Step 18/36 : WORKDIR / 22:54:01 ---> Running in e0459b5ff854 22:54:01 Removing intermediate container e0459b5ff854 22:54:01 ---> f89e6468b6b8 22:54:01 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 22:54:02 ---> 1def63bf2589 22:54:02 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 22:54:03 ---> 6b59eef43255 22:54:03 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:54:03 ---> 6294a02a860b 22:54:03 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:54:04 ---> 62757284d9e7 22:54:04 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:54:04 ---> 124ab623a5c9 22:54:04 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 22:54:05 ---> ed9fca7d2bb9 22:54:05 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 22:54:06 ---> d44bfe7cba27 22:54:06 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:54:06 ---> Running in aebb3eb945c4 22:54:07 Removing intermediate container aebb3eb945c4 22:54:07 ---> 7ed5c5cb23cd 22:54:07 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:54:08 ---> Running in 98418ce9c541 22:54:10 Removing intermediate container 98418ce9c541 22:54:10 ---> 52e1e00d8232 22:54:10 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:54:10 ---> Running in fa1be01c234f 22:54:12 Removing intermediate container fa1be01c234f 22:54:12 ---> e68bc250e3e3 22:54:12 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 22:54:12 ---> Running in 47c4c76b56c9 22:54:13 Removing intermediate container 47c4c76b56c9 22:54:13 ---> f0eedebc0f4b 22:54:13 Step 30/36 : EXPOSE 59983 22:54:13 ---> Running in 1fcda7da8fa0 22:54:13 Removing intermediate container 1fcda7da8fa0 22:54:13 ---> c5a067974f0f 22:54:13 Step 31/36 : EXPOSE 8554 22:54:13 ---> Running in a4442b40a9d8 22:54:14 Removing intermediate container a4442b40a9d8 22:54:14 ---> a8af445c59b6 22:54:14 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:54:14 ---> Running in 621e92b3d9e2 22:54:14 Removing intermediate container 621e92b3d9e2 22:54:14 ---> 7f718d82c86b 22:54:14 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:54:14 ---> Running in 0e8b5eca7b80 22:54:14 Removing intermediate container 0e8b5eca7b80 22:54:14 ---> 1a79f80c23e5 22:54:14 Step 34/36 : LABEL arch=arm64 22:54:14 ---> Running in a50a6013f360 22:54:15 Removing intermediate container a50a6013f360 22:54:15 ---> 3af331208a0c 22:54:15 Step 35/36 : LABEL git_sha=c3b59b300ea33e30dce4b6f64bcecb62cab81248 22:54:15 ---> Running in b9e6222602ec 22:54:15 Removing intermediate container b9e6222602ec 22:54:15 ---> 4b1711c247d5 22:54:15 Step 36/36 : LABEL version=0.0.0 22:54:15 ---> Running in c4e0a9019414 22:54:16 Removing intermediate container c4e0a9019414 22:54:16 ---> f91521f5e2e9 22:54:16 [Warning] One or more build-args [ARCH] were not consumed 22:54:16 Successfully built f91521f5e2e9 22:54:16 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 22:54:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:16 22:54:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:17 arm64: Pulling from edgex-lftools-log-publisher 22:54:17 8998bd30e6a1: Pulling fs layer 22:54:17 04944245beec: Pulling fs layer 22:54:17 699f458cf7ca: Pulling fs layer 22:54:17 765212b225bb: Pulling fs layer 22:54:17 f23df028b6ca: Pulling fs layer 22:54:17 d65c8cfc05b1: Pulling fs layer 22:54:17 2437ff75d9bd: Pulling fs layer 22:54:17 f23df028b6ca: Waiting 22:54:17 765212b225bb: Waiting 22:54:17 d65c8cfc05b1: Waiting 22:54:17 2437ff75d9bd: Waiting 22:54:17 04944245beec: Verifying Checksum 22:54:17 04944245beec: Download complete 22:54:17 765212b225bb: Verifying Checksum 22:54:17 765212b225bb: Download complete 22:54:17 f23df028b6ca: Verifying Checksum 22:54:17 f23df028b6ca: Download complete 22:54:17 d65c8cfc05b1: Verifying Checksum 22:54:17 d65c8cfc05b1: Download complete 22:54:17 699f458cf7ca: Verifying Checksum 22:54:17 699f458cf7ca: Download complete 22:54:18 8998bd30e6a1: Verifying Checksum 22:54:18 8998bd30e6a1: Download complete 22:54:20 2437ff75d9bd: Verifying Checksum 22:54:20 2437ff75d9bd: Download complete 22:54:22 8998bd30e6a1: Pull complete 22:54:23 04944245beec: Pull complete 22:54:24 699f458cf7ca: Pull complete 22:54:24 765212b225bb: Pull complete 22:54:25 f23df028b6ca: Pull complete 22:54:25 d65c8cfc05b1: Pull complete 22:54:40 2437ff75d9bd: Pull complete 22:54:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:40 prd-ubuntu20.04-docker-arm64-4c-16g-16400 does not seem to be running inside a container 22:54:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:54:43 $ docker top e34ad51a2f50663acc0c6dbd224db1b25035fb9ca7c7f856b7c074e33bba822a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:43 ---> job-cost.sh 22:54:43 lf-activate-venv: SKIPPING 22:54:43 INFO: No Stack... 22:54:44 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:45 INFO: Archiving Costs [Pipeline] sh 22:54:45 + cat /w/workspace/device-usb-camera/1/archives/cost.csv+ 22:54:45 cut -d, -f6 [Pipeline] lock 22:54:45 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] 22:54:45 Resource [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] did not exist. Created. 22:54:45 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:45 /w/workspace/device-usb-camera/1@tmp/durable-35de073b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:46 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:46 Warning: overwriting stash ‘stack-cost’ 22:54:46 Stashed 1 file(s) [Pipeline] } 22:54:46 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:46 $ docker stop --time=1 e34ad51a2f50663acc0c6dbd224db1b25035fb9ca7c7f856b7c074e33bba822a 22:54:48 $ docker rm -f --volumes e34ad51a2f50663acc0c6dbd224db1b25035fb9ca7c7f856b7c074e33bba822a [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 22:54:49 provisioning config files... 22:54:49 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-255@tmp/config9916246549233308809tmp [Pipeline] { [Pipeline] sh 22:54:49 + set +x 22:54:49 + bash -s -- 22:54:49 + curl -s https://codecov.io/bash 22:54:49 22:54:49 _____ _ 22:54:49 / ____| | | 22:54:49 | | ___ __| | ___ ___ _____ __ 22:54:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:54:49 | |___| (_) | (_| | __/ (_| (_) \ V / 22:54:49 \_____\___/ \__,_|\___|\___\___/ \_/ 22:54:49 Bash-1.0.6 22:54:49 22:54:49 22:54:49 ==> git version 2.25.1 found 22:54:49 ==> 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 22:54:49 Release-Date: 2020-01-08 22:54:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:54:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:54:49 ==> Jenkins CI detected. 22:54:49 current dir:  /w/workspace/foundry_device-usb-camera_PR-255 22:54:49 project root: . 22:54:49 --> token set from env 22:54:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:54:49 ==> Running gcov in . (disable via -X gcov) 22:54:49 ==> Python coveragepy not found 22:54:49 ==> Searching for coverage reports in: 22:54:49 + . 22:54:49 -> Found 1 reports 22:54:49 ==> Detecting git/mercurial file structure 22:54:49 ==> Reading reports 22:54:49 + ./coverage.out bytes=31522 22:54:49 ==> Appending adjustments 22:54:49 https://docs.codecov.io/docs/fixing-reports 22:54:49 + Found adjustments 22:54:49 ==> Gzipping contents 22:54:49 8.0K /tmp/codecov.ouJPmj.gz 22:54:49 ==> Uploading reports 22:54:49 url: https://codecov.io 22:54:49 query: branch=PR-255&commit=c3b59b300ea33e30dce4b6f64bcecb62cab81248&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=255&job=&cmd_args= 22:54:49 -> Pinging Codecov 22:54:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-255&commit=c3b59b300ea33e30dce4b6f64bcecb62cab81248&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=255&job=&cmd_args= 22:54:49 -> Uploading to 22:54:49 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/73D8F5FF140700D3E01443B452E23636/c3b59b300ea33e30dce4b6f64bcecb62cab81248/6093cabc-5008-4a7e-8df9-e71bb0b5915c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T225449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e8846f4e4969ce4cc430bad929fcfdec828f510be9376f2cf78dfb8fad02abd 22:54:49 % Total % Received % Xferd Average Speed Time Time Time Current 22:54:49 Dload Upload Total Spent Left Speed 22:54:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 22158 --:--:-- --:--:-- --:--:-- 22273 22:54:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c3b59b300ea33e30dce4b6f64bcecb62cab81248 [Pipeline] } 22:54:49 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 22:54:51 + [ -d /w/workspace/foundry_device-usb-camera_PR-255/archives ] 22:54:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-255/archives 22:54:51 total 16 22:54:51 drwxr-xr-x 3 root root 4096 May 22 22:44 . 22:54:51 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:44 .. 22:54:51 drwxr-xr-x 2 root root 4096 May 22 22:44 cost 22:54:51 -rw-r--r-- 1 root root 89 May 22 22:44 cost.csv 22:54:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-255/archives 22:54:51 + ls -al /w/workspace/foundry_device-usb-camera_PR-255/archives 22:54:51 total 16 22:54:51 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:44 . 22:54:51 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:44 .. 22:54:51 drwxr-xr-x 2 jenkins jenkins 4096 May 22 22:44 cost 22:54:51 -rw-r--r-- 1 jenkins jenkins 89 May 22 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:52 ---> package-listing.sh 22:54:52 ++ facter osfamily 22:54:52 ++ tr '[:upper:]' '[:lower:]' 22:54:53 + OS_FAMILY=debian 22:54:53 + workspace=/w/workspace/foundry_device-usb-camera_PR-255 22:54:53 + START_PACKAGES=/tmp/packages_start.txt 22:54:53 + END_PACKAGES=/tmp/packages_end.txt 22:54:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:53 + PACKAGES=/tmp/packages_start.txt 22:54:53 + '[' /w/workspace/foundry_device-usb-camera_PR-255 ']' 22:54:53 + PACKAGES=/tmp/packages_end.txt 22:54:53 + case "${OS_FAMILY}" in 22:54:53 + dpkg -l 22:54:53 + grep '^ii' 22:54:53 + '[' -f /tmp/packages_start.txt ']' 22:54:53 + '[' -f /tmp/packages_end.txt ']' 22:54:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:53 + '[' /w/workspace/foundry_device-usb-camera_PR-255 ']' 22:54:53 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-255/archives/ 22:54:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-255/archives/ [Pipeline] echo 22:54:53 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-255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:54 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 22:54:54 $ 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-255/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-255 -v /w/workspace/foundry_device-usb-camera_PR-255:/w/workspace/foundry_device-usb-camera_PR-255:rw,z -v /w/workspace/foundry_device-usb-camera_PR-255@tmp:/w/workspace/foundry_device-usb-camera_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:54:54 $ docker top 96043e86b0f82be705a449e1b58248808a48697ad61701861d26bcfc67ff4d5e -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:54 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:55 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:55 + ls /var/log/sa-host 22:54:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:55 provisioning config files... 22:54:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-255@tmp/config1215333862633332155tmp [Pipeline] { [Pipeline] echo 22:54:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:56 ---> create-netrc.sh [Pipeline] } 22:54:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:56 ---> python-tools-install.sh [Pipeline] echo 22:54:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:56 ---> sudo-logs.sh 22:54:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:57 ---> job-cost.sh 22:54:57 lf-activate-venv: SKIPPING 22:54:57 DEBUG: total: 0.2199999988079071 22:54:57 INFO: Retrieving Stack Cost... 22:54:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:58 INFO: Archiving Costs [Pipeline] echo 22:54:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:58 ---> logs-deploy.sh 22:54:58 lf-activate-venv: SKIPPING 22:54:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-255/1 22:54:58 INFO: archiving workspace using pattern(s): 22:54:59 Archives upload complete. 22:54:59 INFO: archiving logs to Nexus