Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than dfd140bd3e583d8e942a3dd9b22e48316727da76 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh12554798744754738047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh18395538867280251725.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4280552359263090983.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6961950336110538741.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16267705005678073714.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1675’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1677 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit dfd140bd3e583d8e942a3dd9b22e48316727da76 Merge succeeded, producing dfd140bd3e583d8e942a3dd9b22e48316727da76 Checking out Revision dfd140bd3e583d8e942a3dd9b22e48316727da76 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 Commit message: "feat: allow path index query parameter" > git rev-list --no-walk 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:42:49 ========================================================= 19:42:49 EdgeX Global Pipelines Version Info 19:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:42:50 ------------------- 19:42:50 stable info: 19:42:50 ------------------- 19:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:42:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:42:50 Message: update stable to v1.0.250 19:42:50 ------------------- 19:42:50 experimental info: 19:42:50 ------------------- 19:42:50 Commited By: **** collab-it+edgex@linuxfoundation.org 19:42:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:42:50 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfd140b [Pipeline] echo 19:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:42:51 provisioning config files... 19:42:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config6584637453987453920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:42:51 ---> docker-login.sh 19:42:51 nexus3.edgexfoundry.org:10001 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10002 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10003 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 nexus3.edgexfoundry.org:10004 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 docker.io 19:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:42:52 Configure a credential helper to remove this warning. See 19:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:42:52 19:42:52 Login Succeeded 19:42:52 ---> docker-login.sh ends [Pipeline] } 19:42:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:42:53 + git rev-list -1 --merges dfd140bd3e583d8e942a3dd9b22e48316727da76~1..dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo 19:42:53 -----------> git rev-list -1 --merges dfd140bd3e583d8e942a3dd9b22e48316727da76~1..dfd140bd3e583d8e942a3dd9b22e48316727da76 dfd140bd3e583d8e942a3dd9b22e48316727da76 [false] [Pipeline] sh 19:42:53 + git log --format=format:%s -1 dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo 19:42:53 ========================================================= 19:42:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:42:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:53 + git log --format=format:%s -1 dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo 19:42:53 [semverPrep] GIT_COMMIT: dfd140bd3e583d8e942a3dd9b22e48316727da76, Commit Message: feat: allow path index query parameter [Pipeline] echo 19:42:53 [semverPrep] This is not a build commit. [Pipeline] sh 19:42:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:42:54 + grep -v github /etc/ssh/ssh_known_hosts 19:42:54 + [ -e /tmp/ssh_known_hosts ] 19:42:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:42:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:42:54 + sudo tee -a /etc/ssh/ssh_known_hosts 19:42:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:54 19:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:55 0.1.4: Pulling from edgex-devops/py-git-semver 19:42:55 b85a868b505f: Pulling fs layer 19:42:55 e2be974225ed: Pulling fs layer 19:42:55 339a4e72a1f5: Pulling fs layer 19:42:55 988bab9f4d93: Pulling fs layer 19:42:55 1469e6f7b9e6: Pulling fs layer 19:42:55 eaf3925da568: Pulling fs layer 19:42:55 bab4dde63d76: Pulling fs layer 19:42:55 bde34c3a00c8: Pulling fs layer 19:42:55 b352a97aabf1: Pulling fs layer 19:42:55 4872d77fe225: Pulling fs layer 19:42:55 5851b861e8e6: Pulling fs layer 19:42:55 988bab9f4d93: Waiting 19:42:55 1469e6f7b9e6: Waiting 19:42:55 eaf3925da568: Waiting 19:42:55 bab4dde63d76: Waiting 19:42:55 bde34c3a00c8: Waiting 19:42:55 b352a97aabf1: Waiting 19:42:55 4872d77fe225: Waiting 19:42:55 5851b861e8e6: Waiting 19:42:55 e2be974225ed: Verifying Checksum 19:42:55 e2be974225ed: Download complete 19:42:55 988bab9f4d93: Verifying Checksum 19:42:55 988bab9f4d93: Download complete 19:42:55 1469e6f7b9e6: Verifying Checksum 19:42:55 1469e6f7b9e6: Download complete 19:42:55 339a4e72a1f5: Verifying Checksum 19:42:55 339a4e72a1f5: Download complete 19:42:55 eaf3925da568: Verifying Checksum 19:42:55 eaf3925da568: Download complete 19:42:55 bde34c3a00c8: Verifying Checksum 19:42:55 bde34c3a00c8: Download complete 19:42:55 b352a97aabf1: Download complete 19:42:55 4872d77fe225: Verifying Checksum 19:42:55 4872d77fe225: Download complete 19:42:55 5851b861e8e6: Verifying Checksum 19:42:55 5851b861e8e6: Download complete 19:42:55 b85a868b505f: Verifying Checksum 19:42:55 b85a868b505f: Download complete 19:42:55 bab4dde63d76: Verifying Checksum 19:42:55 bab4dde63d76: Download complete 19:42:56 b85a868b505f: Pull complete 19:42:56 e2be974225ed: Pull complete 19:42:57 339a4e72a1f5: Pull complete 19:42:57 988bab9f4d93: Pull complete 19:42:57 1469e6f7b9e6: Pull complete 19:42:57 eaf3925da568: Pull complete 19:42:59 bab4dde63d76: Pull complete 19:42:59 bde34c3a00c8: Pull complete 19:42:59 b352a97aabf1: Pull complete 19:42:59 4872d77fe225: Pull complete 19:42:59 5851b861e8e6: Pull complete 19:42:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:42:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:42:59 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 19:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:43:02 $ docker top 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 -eo pid,comm 19:43:02 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). 19:43:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:02 [ssh-agent] Looking for ssh-agent implementation... 19:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:03 $ docker exec 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent 19:43:03 SSH_AUTH_SOCK=/tmp/ssh-zJDwnh10B0ig/agent.32 19:43:03 SSH_AGENT_PID=38 19:43:03 Running ssh-add (command line suppressed) 19:43:03 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12553641128723440420.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12553641128723440420.key) 19:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:03 + git tag --points-at HEAD [Pipeline] } 19:43:03 $ docker exec --env ******** --env ******** 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent -k 19:43:03 unset SSH_AUTH_SOCK; 19:43:03 unset SSH_AGENT_PID; 19:43:03 echo Agent pid 38 killed; 19:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:03 [ssh-agent] Looking for ssh-agent implementation... 19:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:03 $ docker exec 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent 19:43:03 SSH_AUTH_SOCK=/tmp/ssh-FOehT9cdSwiw/agent.70 19:43:03 SSH_AGENT_PID=75 19:43:03 Running ssh-add (command line suppressed) 19:43:04 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_421814983854117714.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_421814983854117714.key) 19:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:04 + git semver init 19:43:04 2023-07-20 19:43:04,528 [run_init] DEBUG init version:0.0.0 force:False 19:43:04 2023-07-20 19:43:04,528 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 19:43:04 2023-07-20 19:43:04,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 19:43:04 2023-07-20 19:43:04,529 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) 19:43:05 2023-07-20 19:43:05,246 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 19:43:05 2023-07-20 19:43:05,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 19:43:05 2023-07-20 19:43:05,247 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 19:43:05 2023-07-20 19:43:05,251 [execute] INFO git cat-file --batch-check 19:43:05 2023-07-20 19:43:05,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 19:43:05 2023-07-20 19:43:05,258 [execute] INFO git cat-file --batch 19:43:05 2023-07-20 19:43:05,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 19:43:05 2023-07-20 19:43:05,263 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 19:43:05 0.0.0 [Pipeline] } 19:43:05 $ docker exec --env ******** --env ******** 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent -k 19:43:05 unset SSH_AUTH_SOCK; 19:43:05 unset SSH_AGENT_PID; 19:43:05 echo Agent pid 75 killed; 19:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:05 + git semver [Pipeline] } 19:43:06 $ docker stop --time=1 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 19:43:07 $ docker rm -f --volumes 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 [Pipeline] // withDockerContainer [Pipeline] sh 19:43:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:43:08 Stashed 1 file(s) [Pipeline] echo 19:43:08 [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 19:43:08 provisioning config files... 19:43:08 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config1225744314919253084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:08 ---> docker-login.sh 19:43:08 nexus3.edgexfoundry.org:10001 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 nexus3.edgexfoundry.org:10002 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 nexus3.edgexfoundry.org:10003 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 nexus3.edgexfoundry.org:10004 19:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:08 Configure a credential helper to remove this warning. See 19:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:08 19:43:08 Login Succeeded 19:43:08 docker.io 19:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:09 Configure a credential helper to remove this warning. See 19:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:09 19:43:09 Login Succeeded 19:43:09 ---> docker-login.sh ends [Pipeline] } 19:43:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:09 ========================================================= 19:43:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:43:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:09 + 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 . 19:43:09 Sending build context to Docker daemon 2.233MB 19:43:09 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:43:09 Step 2/13 : FROM ${BASE} AS builder 19:43:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:43:09 4db1b89c0bd1: Pulling fs layer 19:43:09 6911f1a30b25: Pulling fs layer 19:43:09 e194b8c5c2a9: Pulling fs layer 19:43:09 6863d3e3a2b1: Pulling fs layer 19:43:09 ec0bb842ea78: Pulling fs layer 19:43:09 40a00589a448: Pulling fs layer 19:43:09 6c08303d61cc: Pulling fs layer 19:43:09 798269fcf238: Pulling fs layer 19:43:09 ec0bb842ea78: Waiting 19:43:09 40a00589a448: Waiting 19:43:09 6c08303d61cc: Waiting 19:43:09 798269fcf238: Waiting 19:43:09 6863d3e3a2b1: Waiting 19:43:09 6911f1a30b25: Download complete 19:43:09 6863d3e3a2b1: Verifying Checksum 19:43:09 6863d3e3a2b1: Download complete 19:43:09 ec0bb842ea78: Download complete 19:43:09 4db1b89c0bd1: Verifying Checksum 19:43:09 4db1b89c0bd1: Download complete 19:43:09 40a00589a448: Verifying Checksum 19:43:09 40a00589a448: Download complete 19:43:09 4db1b89c0bd1: Pull complete 19:43:10 6911f1a30b25: Pull complete 19:43:10 798269fcf238: Verifying Checksum 19:43:10 798269fcf238: Download complete 19:43:10 e194b8c5c2a9: Verifying Checksum 19:43:10 e194b8c5c2a9: Download complete 19:43:10 6c08303d61cc: Verifying Checksum 19:43:10 6c08303d61cc: Download complete 19:43:14 e194b8c5c2a9: Pull complete 19:43:14 6863d3e3a2b1: Pull complete 19:43:15 ec0bb842ea78: Pull complete 19:43:15 40a00589a448: Pull complete 19:43:18 6c08303d61cc: Pull complete 19:43:18 798269fcf238: Pull complete 19:43:18 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 19:43:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:43:18 ---> ec979cd7f677 19:43:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:43:23 Still waiting to schedule task 19:43:23 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1676’ 19:43:26 ---> Running in e2b197cac5bd 19:43:26 Removing intermediate container e2b197cac5bd 19:43:26 ---> 4419f22bfa01 19:43:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:43:26 ---> Running in 98f2a4b6c01c 19:43:26 Removing intermediate container 98f2a4b6c01c 19:43:26 ---> 98f228f28040 19:43:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:43:26 ---> Running in b269b17aadf1 19:43:27 Removing intermediate container b269b17aadf1 19:43:27 ---> e193fde6bb37 19:43:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:43:27 ---> Running in 14cba512ee1c 19:43:27 Removing intermediate container 14cba512ee1c 19:43:27 ---> 03f31264aba5 19:43:27 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:27 ---> Running in 328b4c284e16 19:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:43:28 (1/14) Installing libintl (0.21.1-r1) 19:43:28 (2/14) Installing eudev-libs (3.2.11-r4) 19:43:28 (3/14) Installing libjpeg-turbo (2.1.4-r0) 19:43:28 (4/14) Installing v4l-utils-libs (1.22.1-r2) 19:43:28 (5/14) Installing v4l-utils (1.22.1-r2) 19:43:28 (6/14) Installing udev-init-scripts (35-r1) 19:43:28 (7/14) Installing libblkid (2.38.1-r1) 19:43:28 (8/14) Installing xz-libs (5.2.9-r0) 19:43:28 (9/14) Installing zstd-libs (1.5.5-r0) 19:43:28 (10/14) Installing kmod-libs (30-r1) 19:43:28 (11/14) Installing eudev (3.2.11-r4) 19:43:28 (12/14) Installing eudev-dev (3.2.11-r4) 19:43:28 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 19:43:28 (14/14) Installing v4l-utils-dev (1.22.1-r2) 19:43:28 Executing busybox-1.35.0-r29.trigger 19:43:28 Executing eudev-3.2.11-r4.trigger 19:43:28 OK: 272 MiB in 67 packages 19:43:29 Removing intermediate container 328b4c284e16 19:43:29 ---> 1f0a57995696 19:43:29 Step 8/13 : WORKDIR /device-usb-camera 19:43:29 ---> Running in db7b107961ce 19:43:29 Removing intermediate container db7b107961ce 19:43:29 ---> 7d7736f91672 19:43:29 Step 9/13 : COPY go.mod vendor* ./ 19:43:29 ---> 38eeafb1cde6 19:43:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:29 ---> Running in 253b4c85d100 19:44:01 Removing intermediate container 253b4c85d100 19:44:01 ---> cbadee017a16 19:44:01 Step 11/13 : COPY . . 19:44:01 ---> c2ae8ffda2e3 19:44:01 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:44:01 ---> Running in c5b2b76a685a 19:44:02  % Total % Received % Xferd Average Speed Time Time Time Current 19:44:02 Dload Upload Total Spent Left Speed 19:44:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5489 0 --:--:-- --:--:-- --:--:-- 5474 19:44:03 Removing intermediate container c5b2b76a685a 19:44:03 ---> a46ce4e1f92a 19:44:03 Step 13/13 : RUN ${MAKE} 19:44:03 ---> Running in b1849cffbb11 19:44:03 noop 19:44:04 Removing intermediate container b1849cffbb11 19:44:04 ---> 7f25ce048752 19:44:04 Successfully built 7f25ce048752 19:44:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:04 + docker inspect -f . ci-base-image-x86_64 19:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:04 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 19:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:44:05 $ docker top af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:06 + go version 19:44:06 go version go1.20.6 linux/amd64 [Pipeline] } 19:44:06 $ docker stop --time=1 af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 19:44:07 $ docker rm -f --volumes af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:07 + docker inspect -f . ci-base-image-x86_64 19:44:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:07 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 19:44:07 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:44:08 $ docker top a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:08 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 19:44:08 + make test 19:44:08 go test ./... -coverprofile=coverage.out ./... 19:44:14 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:44:26 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:44:26 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.6% of statements 19:44:31 go vet ./... 19:44:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:44:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:44:35 ./bin/test-attribution-txt.sh [Pipeline] echo 19:44:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:44:35 $ docker stop --time=1 a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 19:44:44 $ docker rm -f --volumes a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 [Pipeline] // withDockerContainer [Pipeline] sh 19:44:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:44:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:44:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:44:45 + ls -al . 19:44:45 total 204 19:44:45 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 19:44 . 19:44:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:42 .. 19:44:45 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:43 .git 19:44:45 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 .github 19:44:45 -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 19:42 .gitignore 19:44:45 -rw-rw-r-- 1 jenkins jenkins 45 Jul 20 19:42 .golangci.yml 19:44:45 -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 19:42 .hadolint.yml 19:44:45 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 19:43 .semver 19:44:45 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 20 19:42 Attribution.txt 19:44:45 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 20 19:42 CHANGELOG.md 19:44:45 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 20 19:42 Dockerfile 19:44:45 -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 19:42 GOVERNANCE.md 19:44:45 -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 19:42 Jenkinsfile 19:44:45 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 19:42 LICENSE 19:44:45 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 20 19:42 Makefile 19:44:45 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 19:42 OWNERS.md 19:44:45 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 20 19:42 README.md 19:44:45 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 19:43 VERSION 19:44:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:42 bin 19:44:45 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 cmd 19:44:45 -rw-r--r-- 1 jenkins jenkins 42249 Jul 20 19:44 coverage.out 19:44:45 -rwxrwxr-x 1 jenkins jenkins 140 Jul 20 19:42 docker-entrypoint.sh 19:44:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:42 docs 19:44:45 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 20 19:42 go.mod 19:44:45 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 20 19:42 go.sum 19:44:45 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 internal 19:44:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:42 snap 19:44:45 -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 19:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:46 + 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=dfd140bd3e583d8e942a3dd9b22e48316727da76 --label arch=amd64 --label version=0.0.0 . 19:44:46 Sending build context to Docker daemon 2.276MB 19:44:46 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 19:44:46 Step 2/36 : FROM ${BASE} AS builder 19:44:46 ---> 7f25ce048752 19:44:46 Step 3/36 : ARG ADD_BUILD_TAGS="" 19:44:46 ---> Running in 31152b686886 19:44:47 Removing intermediate container 31152b686886 19:44:47 ---> c97391ab50d0 19:44:47 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:44:47 ---> Running in 008351a502bc 19:44:48 Removing intermediate container 008351a502bc 19:44:48 ---> 0c994ab29c34 19:44:48 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:44:48 ---> Running in 12b6051ea62f 19:44:49 Removing intermediate container 12b6051ea62f 19:44:49 ---> e4453b4c23a2 19:44:49 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:44:49 ---> Running in 0d4017741dde 19:44:51 Removing intermediate container 0d4017741dde 19:44:51 ---> ecebaec9664c 19:44:51 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:44:51 ---> Running in 3c0f49b5f7d2 19:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:44:53 OK: 272 MiB in 67 packages 19:44:55 Removing intermediate container 3c0f49b5f7d2 19:44:55 ---> c5e362635a31 19:44:55 Step 8/36 : WORKDIR /device-usb-camera 19:44:55 ---> Running in d7ca9cc001ce 19:44:56 Removing intermediate container d7ca9cc001ce 19:44:56 ---> 05837635654f 19:44:56 Step 9/36 : COPY go.mod vendor* ./ 19:44:57 ---> 38fa844cef9c 19:44:57 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:44:57 ---> Running in aa6eb7168832 19:44:58 Removing intermediate container aa6eb7168832 19:44:58 ---> df96a0f6bc51 19:44:58 Step 11/36 : COPY . . 19:44:59 ---> 4d54bf4524c6 19:44:59 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:45:00 ---> Running in 612cf49b804a 19:45:00  % Total % Received % Xferd Average Speed Time Time Time Current 19:45:00 Dload Upload Total Spent  Left Speed 19:45:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20548 0 --:--:-- --:--:-- --:--:-- 20823 19:45:03 Removing intermediate container 612cf49b804a 19:45:03 ---> 6b72085530f5 19:45:03 Step 13/36 : RUN ${MAKE} 19:45:04 ---> Running in bc18d262c6fb 19:45:05 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 19:45:32 Removing intermediate container bc18d262c6fb 19:45:32 ---> b80facf1b0fb 19:45:32 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 19:45:32 v0.21.6: Pulling from aler9/rtsp-simple-server 19:45:32 4acc49c71d14: Pulling fs layer 19:45:32 4acc49c71d14: Verifying Checksum 19:45:32 4acc49c71d14: Download complete 19:45:32 4acc49c71d14: Pull complete 19:45:32 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 19:45:32 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 19:45:32 ---> 01a2bd3e5fff 19:45:32 Step 15/36 : FROM alpine:3.17 19:45:32 3.17: Pulling from library/alpine 19:45:32 4db1b89c0bd1: Already exists 19:45:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 19:45:32 Status: Downloaded newer image for alpine:3.17 19:45:32 ---> 1f73a9d63274 19:45:32 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:45:32 ---> Running in 435979f71960 19:45:32 Removing intermediate container 435979f71960 19:45:32 ---> c518b6490452 19:45:32 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 19:45:32 ---> Running in 91d13de63ed6 19:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:45:32 (1/86) Installing dumb-init (1.2.5-r2) 19:45:32 (2/86) Installing sdl2 (2.26.5-r0) 19:45:32 (3/86) Installing svt-av1-libs (1.3.0-r0) 19:45:32 (4/86) Installing libxau (1.0.10-r0) 19:45:32 (5/86) Installing libmd (1.0.4-r0) 19:45:32 (6/86) Installing libbsd (0.11.7-r0) 19:45:32 (7/86) Installing libxdmcp (1.1.4-r0) 19:45:32 (8/86) Installing libxcb (1.15-r0) 19:45:32 (9/86) Installing libx11 (1.8.4-r1) 19:45:32 (10/86) Installing aom-libs (3.5.0-r0) 19:45:32 (11/86) Installing alsa-lib (1.2.8-r0) 19:45:32 (12/86) Installing libexpat (2.5.0-r0) 19:45:33 (13/86) Installing brotli-libs (1.0.9-r9) 19:45:33 (14/86) Installing libbz2 (1.0.8-r4) 19:45:33 (15/86) Installing libpng (1.6.38-r0) 19:45:33 (16/86) Installing freetype (2.12.1-r0) 19:45:33 (17/86) Installing fontconfig (2.14.1-r0) 19:45:33 (18/86) Installing fribidi (1.0.12-r0) 19:45:33 (19/86) Installing libffi (3.4.4-r0) 19:45:33 (20/86) Installing libintl (0.21.1-r1) 19:45:33 (21/86) Installing libblkid (2.38.1-r1) 19:45:33 (22/86) Installing libmount (2.38.1-r1) 19:45:33 (23/86) Installing pcre2 (10.42-r0) 19:45:33 (24/86) Installing glib (2.74.7-r0) 19:45:33 (25/86) Installing graphite2 (1.3.14-r2) 19:45:33 (26/86) Installing harfbuzz (5.3.1-r1) 19:45:33 (27/86) Installing libass (0.16.0-r1) 19:45:33 (28/86) Installing libdav1d (1.0.0-r2) 19:45:33 (29/86) Installing hwdata-pci (0.364-r0) 19:45:33 (30/86) Installing libpciaccess (0.17-r0) 19:45:33 (31/86) Installing libdrm (2.4.114-r0) 19:45:33 (32/86) Installing gmp (6.2.1-r2) 19:45:33 (33/86) Installing nettle (3.8.1-r0) 19:45:33 (34/86) Installing p11-kit (0.24.1-r1) 19:45:33 (35/86) Installing libtasn1 (4.19.0-r0) 19:45:33 (36/86) Installing libunistring (1.1-r0) 19:45:33 (37/86) Installing gnutls (3.7.8-r3) 19:45:33 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 19:45:33 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 19:45:33 (40/86) Installing lame (3.100-r2) 19:45:33 (41/86) Installing opus (1.3.1-r1) 19:45:33 (42/86) Installing libasyncns (0.8-r1) 19:45:33 (43/86) Installing dbus-libs (1.14.8-r0) 19:45:33 (44/86) Installing libltdl (2.4.7-r1) 19:45:33 (45/86) Installing orc (0.4.33-r0) 19:45:33 (46/86) Installing libgcc (12.2.1_git20220924-r4) 19:45:33 (47/86) Installing libogg (1.3.5-r2) 19:45:33 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 19:45:33 (49/86) Installing flac-libs (1.4.2-r0) 19:45:33 (50/86) Installing libvorbis (1.3.7-r0) 19:45:33 (51/86) Installing libsndfile (1.1.0-r2) 19:45:33 (52/86) Installing libgomp (12.2.1_git20220924-r4) 19:45:33 (53/86) Installing soxr (0.1.3-r3) 19:45:33 (54/86) Installing speexdsp (1.2.1-r0) 19:45:33 (55/86) Installing tdb-libs (1.4.6-r0) 19:45:33 (56/86) Installing libpulse (16.1-r6) 19:45:33 (57/86) Installing cjson (1.7.15-r3) 19:45:33 (58/86) Installing mbedtls (2.28.3-r0) 19:45:33 (59/86) Installing librist (0.2.7-r0) 19:45:33 (60/86) Installing libsrt (1.5.1-r0) 19:45:33 (61/86) Installing libssh (0.10.5-r0) 19:45:33 (62/86) Installing libtheora (1.1.1-r16) 19:45:33 (63/86) Installing libjpeg-turbo (2.1.4-r0) 19:45:33 (64/86) Installing v4l-utils-libs (1.22.1-r2) 19:45:33 (65/86) Installing libxext (1.3.5-r0) 19:45:33 (66/86) Installing libxfixes (6.0.0-r0) 19:45:33 (67/86) Installing wayland-libs-client (1.21.0-r1) 19:45:33 (68/86) Installing libva (2.16.0-r0) 19:45:33 (69/86) Installing libvdpau (1.5-r0) 19:45:33 (70/86) Installing vidstab (1.1.0-r2) 19:45:33 (71/86) Installing libvpx (1.12.0-r1) 19:45:33 (72/86) Installing libwebp (1.2.4-r2) 19:45:33 (73/86) Installing x264-libs (0.164_git20220602-r0) 19:45:33 (74/86) Installing numactl (2.0.16-r1) 19:45:33 (75/86) Installing x265-libs (3.5-r3) 19:45:33 (76/86) Installing xvidcore (1.3.7-r1) 19:45:33 (77/86) Installing libsodium (1.0.18-r2) 19:45:33 (78/86) Installing libzmq (4.3.4-r1) 19:45:33 (79/86) Installing ffmpeg-libs (5.1.3-r0) 19:45:34 (80/86) Installing ffmpeg (5.1.3-r0) 19:45:34 (81/86) Installing udev-init-scripts (35-r1) 19:45:34 (82/86) Installing eudev-libs (3.2.11-r4) 19:45:34 (83/86) Installing xz-libs (5.2.9-r0) 19:45:34 (84/86) Installing zstd-libs (1.5.5-r0) 19:45:34 (85/86) Installing kmod-libs (30-r1) 19:45:34 (86/86) Installing eudev (3.2.11-r4) 19:45:34 Executing busybox-1.35.0-r29.trigger 19:45:34 Executing eudev-3.2.11-r4.trigger 19:45:34 OK: 112 MiB in 101 packages 19:45:37 Removing intermediate container 91d13de63ed6 19:45:37 ---> 5abf2c52099b 19:45:37 Step 18/36 : WORKDIR / 19:45:37 ---> Running in fabc4a1635ff 19:45:37 Removing intermediate container fabc4a1635ff 19:45:37 ---> 0559bb58d796 19:45:37 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 19:45:38 ---> d8916d580a0f 19:45:38 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 19:45:38 ---> 63496aba22d3 19:45:38 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:45:39 ---> fbac3360c67b 19:45:39 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:45:39 ---> 9c67b00d107d 19:45:39 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:45:39 ---> 8b9e43e78451 19:45:39 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 19:45:39 ---> 6606598d72df 19:45:39 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 19:45:40 ---> 1a38d6ed14e8 19:45:40 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:45:40 ---> Running in 156349ac3886 19:45:41 Removing intermediate container 156349ac3886 19:45:41 ---> 8236f529f758 19:45:41 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:45:41 ---> Running in b49f51705382 19:45:42 Removing intermediate container b49f51705382 19:45:42 ---> 5c346b6cd9a3 19:45:42 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:45:42 ---> Running in 864ebead4907 19:45:43 Removing intermediate container 864ebead4907 19:45:43 ---> a6838f7c592b 19:45:43 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 19:45:43 ---> Running in a0e61a947342 19:45:44 Removing intermediate container a0e61a947342 19:45:44 ---> c5c5a0937892 19:45:44 Step 30/36 : EXPOSE 59983 19:45:44 ---> Running in 93dd6a111698 19:45:45 Removing intermediate container 93dd6a111698 19:45:45 ---> 1c0c41a6db10 19:45:45 Step 31/36 : EXPOSE 8554 19:45:46 ---> Running in b79f2a2d83ff 19:45:47 Removing intermediate container b79f2a2d83ff 19:45:47 ---> d15260203174 19:45:47 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:45:47 ---> Running in a9899c11490c 19:45:48 Removing intermediate container a9899c11490c 19:45:48 ---> ca2e6e262f95 19:45:48 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 19:45:49 ---> Running in 419fe2c04c75 19:45:49 Removing intermediate container 419fe2c04c75 19:45:49 ---> 67a9d292b818 19:45:49 Step 34/36 : LABEL arch=amd64 19:45:50 ---> Running in 5258e11f2578 19:45:50 Removing intermediate container 5258e11f2578 19:45:50 ---> 4d730432af55 19:45:50 Step 35/36 : LABEL git_sha=dfd140bd3e583d8e942a3dd9b22e48316727da76 19:45:51 ---> Running in 1f1a89cd13dd 19:45:52 Removing intermediate container 1f1a89cd13dd 19:45:52 ---> 1144ce85e78b 19:45:52 Step 36/36 : LABEL version=0.0.0 19:45:53 ---> Running in f5bc38cf02b1 19:45:53 Removing intermediate container f5bc38cf02b1 19:45:53 ---> 9312e11d9def 19:45:53 [Warning] One or more build-args [ARCH] were not consumed 19:45:53 Successfully built 9312e11d9def 19:45:54 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 19:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:54 19:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:55 latest: Pulling from edgex-lftools-log-publisher 19:45:55 5eb5b503b376: Pulling fs layer 19:45:55 5c69ac0246d0: Pulling fs layer 19:45:55 ec43610c2a17: Pulling fs layer 19:45:55 3a2ae6a8a46f: Pulling fs layer 19:45:55 33b1e0a273af: Pulling fs layer 19:45:55 5d3b04190fa2: Pulling fs layer 19:45:55 2f39f015ded8: Pulling fs layer 19:45:55 3a2ae6a8a46f: Waiting 19:45:55 33b1e0a273af: Waiting 19:45:55 5d3b04190fa2: Waiting 19:45:55 2f39f015ded8: Waiting 19:45:55 5c69ac0246d0: Verifying Checksum 19:45:55 5c69ac0246d0: Download complete 19:45:55 3a2ae6a8a46f: Verifying Checksum 19:45:55 3a2ae6a8a46f: Download complete 19:45:55 33b1e0a273af: Verifying Checksum 19:45:55 33b1e0a273af: Download complete 19:45:55 5d3b04190fa2: Download complete 19:45:55 ec43610c2a17: Verifying Checksum 19:45:55 ec43610c2a17: Download complete 19:45:55 5eb5b503b376: Download complete 19:45:56 2f39f015ded8: Verifying Checksum 19:45:56 2f39f015ded8: Download complete 19:45:56 5eb5b503b376: Pull complete 19:45:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1678 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 19:45:56 Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout 19:45:56 Selected Git installation does not exist. Using Default 19:45:56 The recommended git tool is: NONE 19:45:56 5c69ac0246d0: Pull complete 19:45:57 ec43610c2a17: Pull complete 19:45:57 3a2ae6a8a46f: Pull complete 19:45:57 33b1e0a273af: Pull complete 19:45:57 5d3b04190fa2: Pull complete 19:46:01 2f39f015ded8: Pull complete 19:46:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:01 using credential edgex-jenkins-ssh 19:46:01 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 19:46:01 Cloning the remote Git repository 19:46:01 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:46:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 19:46:02 > git init /w/workspace/device-usb-camera/7 # timeout=10 19:46:02 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:46:02 > git --version # timeout=10 19:46:02 > git --version # 'git version 2.25.1' 19:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:46:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:46:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:04 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit dfd140bd3e583d8e942a3dd9b22e48316727da76 19:46:05 Merge succeeded, producing dfd140bd3e583d8e942a3dd9b22e48316727da76 19:46:05 Checking out Revision dfd140bd3e583d8e942a3dd9b22e48316727da76 (PR-265) 19:46:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:46:04 > git config core.sparsecheckout # timeout=10 19:46:04 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 19:46:05 > git remote # timeout=10 19:46:05 > git config --get remote.origin.url # timeout=10 19:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:05 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 19:46:05 > git rev-parse HEAD^{commit} # timeout=10 19:46:05 > git config core.sparsecheckout # timeout=10 19:46:05 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 19:46:08 Commit message: "feat: allow path index query parameter" 19:46:09 19:46:09 GitHub has been notified of this commit’s build result 19:46:09 19:46:10 $ docker top 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:46:10 ---> job-cost.sh 19:46:10 lf-activate-venv: SKIPPING 19:46:10 INFO: No Stack... 19:46:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:46:10 % Total % Received % Xferd Average Speed Time Time Time Current 19:46:10 Dload Upload Total Spent Left Speed 19:46:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 155k 19:46:10 INFO: Retrieving Pricing Info for: v3-standard-8 19:46:11 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 19:46:11 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 19:46:11 + cut -d, -f6 [Pipeline] lock 19:46:11 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] 19:46:11 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] did not exist. Created. 19:46:11 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:46:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:46:11 + echo total: 0.2199999988079071 [Pipeline] stash 19:46:11 Stashed 1 file(s) [Pipeline] } 19:46:11 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] // lock [Pipeline] } 19:46:11 $ docker stop --time=1 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 19:46:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:46:11 + sudo tee /etc/docker/daemon.new 19:46:11 { 19:46:11 "registry-mirrors": [ 19:46:11 "https://nexus3.edgexfoundry.org:10001" 19:46:11 ], 19:46:11 "bip": "10.250.0.254/24", 19:46:11 "hosts": [ 19:46:11 "tcp://0.0.0.0:5555", 19:46:11 "unix:///var/run/docker.sock" 19:46:11 ], 19:46:11 "mtu": 1458, 19:46:11 "selinux-enabled": true, 19:46:11 "seccomp-profile": "/etc/docker/seccomp.json" 19:46:11 } 19:46:13 $ docker rm -f --volumes 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:46:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:46:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:32 provisioning config files... 19:46:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config7806422452412433864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:32 ---> docker-login.sh 19:46:32 nexus3.edgexfoundry.org:10001 19:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:33 Configure a credential helper to remove this warning. See 19:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:33 19:46:33 Login Succeeded 19:46:33 nexus3.edgexfoundry.org:10002 19:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:33 Configure a credential helper to remove this warning. See 19:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:33 19:46:33 Login Succeeded 19:46:33 nexus3.edgexfoundry.org:10003 19:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:33 Configure a credential helper to remove this warning. See 19:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:33 19:46:33 Login Succeeded 19:46:33 nexus3.edgexfoundry.org:10004 19:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:34 Configure a credential helper to remove this warning. See 19:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:34 19:46:34 Login Succeeded 19:46:34 docker.io 19:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:34 Configure a credential helper to remove this warning. See 19:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:34 19:46:34 Login Succeeded 19:46:34 ---> docker-login.sh ends [Pipeline] } 19:46:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:34 ========================================================= 19:46:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:46:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:35 + 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 . 19:46:35 Sending build context to Docker daemon 1.411MB 19:46:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:46:35 Step 2/13 : FROM ${BASE} AS builder 19:46:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:46:35 edb6bdbacee9: Pulling fs layer 19:46:35 5f9638ab2659: Pulling fs layer 19:46:35 8d51d6327a98: Pulling fs layer 19:46:35 8b374f2dd631: Pulling fs layer 19:46:35 ec14aa9079de: Pulling fs layer 19:46:35 2f466654f4bb: Pulling fs layer 19:46:35 554e91adad29: Pulling fs layer 19:46:35 ec14aa9079de: Waiting 19:46:35 2f466654f4bb: Waiting 19:46:35 554e91adad29: Waiting 19:46:35 8b374f2dd631: Waiting 19:46:35 5f9638ab2659: Verifying Checksum 19:46:35 5f9638ab2659: Download complete 19:46:35 8b374f2dd631: Verifying Checksum 19:46:35 8b374f2dd631: Download complete 19:46:35 ec14aa9079de: Verifying Checksum 19:46:35 ec14aa9079de: Download complete 19:46:35 edb6bdbacee9: Verifying Checksum 19:46:37 554e91adad29: Verifying Checksum 19:46:37 554e91adad29: Download complete 19:46:38 8d51d6327a98: Verifying Checksum 19:46:38 8d51d6327a98: Download complete 19:46:38 2f466654f4bb: Verifying Checksum 19:46:38 2f466654f4bb: Download complete 19:46:39 edb6bdbacee9: Pull complete 19:46:39 5f9638ab2659: Pull complete 19:46:49 8d51d6327a98: Pull complete 19:46:49 8b374f2dd631: Pull complete 19:46:49 ec14aa9079de: Pull complete 19:46:56 2f466654f4bb: Pull complete 19:46:58 554e91adad29: Pull complete 19:46:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 19:46:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:46:58 ---> 1e15ea492957 19:46:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:47:00 ---> Running in d560a3e4d863 19:47:00 Removing intermediate container d560a3e4d863 19:47:00 ---> 290ae04fffe9 19:47:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:47:00 ---> Running in 7f67df110244 19:47:00 Removing intermediate container 7f67df110244 19:47:00 ---> a298c6b595e3 19:47:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:47:01 ---> Running in 4c7ff200971e 19:47:01 Removing intermediate container 4c7ff200971e 19:47:01 ---> 0c6bb48ac635 19:47:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:47:01 ---> Running in 71faeaee9444 19:47:01 Removing intermediate container 71faeaee9444 19:47:01 ---> e09c2914d424 19:47:01 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:47:01 ---> Running in 69cdea30bce6 19:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:47:04 (1/14) Installing libintl (0.21.1-r1) 19:47:04 (2/14) Installing eudev-libs (3.2.11-r4) 19:47:04 (3/14) Installing libjpeg-turbo (2.1.4-r0) 19:47:04 (4/14) Installing v4l-utils-libs (1.22.1-r2) 19:47:04 (5/14) Installing v4l-utils (1.22.1-r2) 19:47:04 (6/14) Installing udev-init-scripts (35-r1) 19:47:04 (7/14) Installing libblkid (2.38.1-r1) 19:47:04 (8/14) Installing xz-libs (5.2.9-r0) 19:47:04 (9/14) Installing zstd-libs (1.5.5-r0) 19:47:04 (10/14) Installing kmod-libs (30-r1) 19:47:04 (11/14) Installing eudev (3.2.11-r4) 19:47:04 (12/14) Installing eudev-dev (3.2.11-r4) 19:47:04 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 19:47:04 (14/14) Installing v4l-utils-dev (1.22.1-r2) 19:47:04 Executing busybox-1.35.0-r29.trigger 19:47:04 Executing eudev-3.2.11-r4.trigger 19:47:04 OK: 271 MiB in 67 packages 19:47:07 Removing intermediate container 69cdea30bce6 19:47:07 ---> 1add3d0c238c 19:47:07 Step 8/13 : WORKDIR /device-usb-camera 19:47:07 ---> Running in 420d93337188 19:47:07 Removing intermediate container 420d93337188 19:47:07 ---> 72ba002c6659 19:47:07 Step 9/13 : COPY go.mod vendor* ./ 19:47:08 ---> 1daf9de170d3 19:47:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:47:08 ---> Running in 7bdf3231bd04 19:48:15 Removing intermediate container 7bdf3231bd04 19:48:15 ---> 8dc7a8a00013 19:48:15 Step 11/13 : COPY . . 19:48:15 ---> 1def3c4821c2 19:48:15 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:48:15 ---> Running in b8881f9ae52d 19:48:15  % Total % Received % Xferd Average Speed Time Time Time Current 19:48:15  Dload Upload Total Spent Left Speed 19:48:15 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4292 0 --:--:-- --:--:-- --:--:-- 4317 19:48:15 Removing intermediate container b8881f9ae52d 19:48:15 ---> 8a5450528736 19:48:15 Step 13/13 : RUN ${MAKE} 19:48:15 ---> Running in 3cd7ba787346 19:48:16 noop 19:48:17 Removing intermediate container 3cd7ba787346 19:48:17 ---> 593226d3af80 19:48:17 Successfully built 593226d3af80 19:48:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:17 + docker inspect -f . ci-base-image-arm64 19:48:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:17 prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container 19:48:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:48:18 $ docker top 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:19 + go version 19:48:19 go version go1.20.6 linux/arm64 [Pipeline] } 19:48:19 $ docker stop --time=1 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 19:48:21 $ docker rm -f --volumes 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:21 + docker inspect -f . ci-base-image-arm64 19:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:22 prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container 19:48:22 $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:48:23 $ docker top b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:23 + git config --global --add safe.directory /w/workspace/device-usb-camera/7 [Pipeline] fileExists [Pipeline] sh 19:48:24 + make test 19:48:24 go test ./... -coverprofile=coverage.out ./... 19:48:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:51:03 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:51:09 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 3.6% of statements 19:51:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:51:09 go vet ./... 19:51:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:51:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:51:48 ./bin/test-attribution-txt.sh [Pipeline] echo 19:51:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:51:48 $ docker stop --time=1 b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 19:51:50 $ docker rm -f --volumes b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 [Pipeline] // withDockerContainer [Pipeline] sh 19:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:51:51 Warning: overwriting stash ‘coverage-report’ 19:51:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:51:52 + ls -al . 19:51:52 total 200 19:51:52 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 19:48 . 19:51:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:46 .. 19:51:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:46 .git 19:51:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 .github 19:51:52 -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 19:46 .gitignore 19:51:52 -rw-rw-r-- 1 jenkins jenkins 45 Jul 20 19:46 .golangci.yml 19:51:52 -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 19:46 .hadolint.yml 19:51:52 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 20 19:46 Attribution.txt 19:51:52 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 20 19:46 CHANGELOG.md 19:51:52 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 20 19:46 Dockerfile 19:51:52 -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 19:46 GOVERNANCE.md 19:51:52 -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 19:46 Jenkinsfile 19:51:52 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 19:46 LICENSE 19:51:52 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 20 19:46 Makefile 19:51:52 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 19:46 OWNERS.md 19:51:52 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 20 19:46 README.md 19:51:52 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 19:43 VERSION 19:51:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:46 bin 19:51:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 cmd 19:51:52 -rw-r--r-- 1 jenkins jenkins 42249 Jul 20 19:51 coverage.out 19:51:52 -rwxrwxr-x 1 jenkins jenkins 140 Jul 20 19:46 docker-entrypoint.sh 19:51:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:46 docs 19:51:52 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 20 19:46 go.mod 19:51:52 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 20 19:46 go.sum 19:51:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 internal 19:51:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:46 snap 19:51:52 -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:53 + 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=dfd140bd3e583d8e942a3dd9b22e48316727da76 --label arch=arm64 --label version=0.0.0 . 19:51:53 Sending build context to Docker daemon 1.454MB 19:51:53 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 19:51:53 Step 2/36 : FROM ${BASE} AS builder 19:51:53 ---> 593226d3af80 19:51:53 Step 3/36 : ARG ADD_BUILD_TAGS="" 19:51:53 ---> Running in ab60682a0abb 19:51:54 Removing intermediate container ab60682a0abb 19:51:54 ---> db646c4920a1 19:51:54 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:51:54 ---> Running in 0571b3f96f7a 19:51:54 Removing intermediate container 0571b3f96f7a 19:51:54 ---> 4f2fb82bdf82 19:51:54 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:51:54 ---> Running in d88a8d6c687c 19:51:55 Removing intermediate container d88a8d6c687c 19:51:55 ---> 626acaffddc7 19:51:55 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:51:55 ---> Running in 823a02ae6073 19:51:55 Removing intermediate container 823a02ae6073 19:51:55 ---> 295eed638c4b 19:51:55 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:55 ---> Running in 2b1309ae35f1 19:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:51:58 OK: 271 MiB in 67 packages 19:51:59 Removing intermediate container 2b1309ae35f1 19:51:59 ---> da0aedcaef97 19:51:59 Step 8/36 : WORKDIR /device-usb-camera 19:51:59 ---> Running in 8bb10637c50e 19:51:59 Removing intermediate container 8bb10637c50e 19:51:59 ---> f1ad47aee039 19:51:59 Step 9/36 : COPY go.mod vendor* ./ 19:52:00 ---> 93a0bea95d33 19:52:00 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:00 ---> Running in ffb42be7c598 19:52:02 Removing intermediate container ffb42be7c598 19:52:02 ---> 20f7d83ec2ed 19:52:02 Step 11/36 : COPY . . 19:52:03 ---> f9b89a342d5c 19:52:03 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:52:03 ---> Running in 0a3e48443fa3 19:52:04  % Total % Received % Xferd Average Speed Time Time Time Current 19:52:04 Dload Upload Total Spent Left Speed 19:52:05  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3247 0 --:--:-- --:--:-- --:--:-- 3247 19:52:05 Removing intermediate container 0a3e48443fa3 19:52:05 ---> b465793fbfe7 19:52:05 Step 13/36 : RUN ${MAKE} 19:52:05 ---> Running in 0fd3ee268240 19:52:06 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 19:54:43 Removing intermediate container 0fd3ee268240 19:54:43 ---> f6e9334d7273 19:54:43 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 19:54:43 v0.21.6: Pulling from aler9/rtsp-simple-server 19:54:43 8766b47fe142: Pulling fs layer 19:54:43 8766b47fe142: Verifying Checksum 19:54:43 8766b47fe142: Download complete 19:54:43 8766b47fe142: Pull complete 19:54:43 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 19:54:43 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 19:54:43 ---> 69d40e2cb93c 19:54:43 Step 15/36 : FROM alpine:3.17 19:54:43 3.17: Pulling from library/alpine 19:54:43 edb6bdbacee9: Already exists 19:54:43 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 19:54:43 Status: Downloaded newer image for alpine:3.17 19:54:43 ---> 779605e5fbc0 19:54:43 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:54:43 ---> Running in 2437d08cedd6 19:54:43 Removing intermediate container 2437d08cedd6 19:54:43 ---> a41026466482 19:54:43 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 19:54:43 ---> Running in 4bd13a9bf2c4 19:54:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:54:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:54:43 (1/83) Installing dumb-init (1.2.5-r2) 19:54:43 (2/83) Installing sdl2 (2.26.5-r0) 19:54:43 (3/83) Installing libxau (1.0.10-r0) 19:54:43 (4/83) Installing libmd (1.0.4-r0) 19:54:43 (5/83) Installing libbsd (0.11.7-r0) 19:54:43 (6/83) Installing libxdmcp (1.1.4-r0) 19:54:43 (7/83) Installing libxcb (1.15-r0) 19:54:43 (8/83) Installing libx11 (1.8.4-r1) 19:54:43 (9/83) Installing aom-libs (3.5.0-r0) 19:54:43 (10/83) Installing alsa-lib (1.2.8-r0) 19:54:43 (11/83) Installing libexpat (2.5.0-r0) 19:54:43 (12/83) Installing brotli-libs (1.0.9-r9) 19:54:43 (13/83) Installing libbz2 (1.0.8-r4) 19:54:43 (14/83) Installing libpng (1.6.38-r0) 19:54:43 (15/83) Installing freetype (2.12.1-r0) 19:54:43 (16/83) Installing fontconfig (2.14.1-r0) 19:54:43 (17/83) Installing fribidi (1.0.12-r0) 19:54:43 (18/83) Installing libffi (3.4.4-r0) 19:54:43 (19/83) Installing libintl (0.21.1-r1) 19:54:43 (20/83) Installing libblkid (2.38.1-r1) 19:54:43 (21/83) Installing libmount (2.38.1-r1) 19:54:43 (22/83) Installing pcre2 (10.42-r0) 19:54:43 (23/83) Installing glib (2.74.7-r0) 19:54:43 (24/83) Installing graphite2 (1.3.14-r2) 19:54:43 (25/83) Installing harfbuzz (5.3.1-r1) 19:54:43 (26/83) Installing libass (0.16.0-r1) 19:54:43 (27/83) Installing libdav1d (1.0.0-r2) 19:54:43 (28/83) Installing libdrm (2.4.114-r0) 19:54:43 (29/83) Installing gmp (6.2.1-r2) 19:54:43 (30/83) Installing nettle (3.8.1-r0) 19:54:43 (31/83) Installing p11-kit (0.24.1-r1) 19:54:43 (32/83) Installing libtasn1 (4.19.0-r0) 19:54:43 (33/83) Installing libunistring (1.1-r0) 19:54:43 (34/83) Installing gnutls (3.7.8-r3) 19:54:43 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 19:54:43 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 19:54:43 (37/83) Installing lame (3.100-r2) 19:54:43 (38/83) Installing opus (1.3.1-r1) 19:54:43 (39/83) Installing libasyncns (0.8-r1) 19:54:43 (40/83) Installing dbus-libs (1.14.8-r0) 19:54:43 (41/83) Installing libltdl (2.4.7-r1) 19:54:43 (42/83) Installing orc (0.4.33-r0) 19:54:43 (43/83) Installing libgcc (12.2.1_git20220924-r4) 19:54:43 (44/83) Installing libogg (1.3.5-r2) 19:54:43 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 19:54:43 (46/83) Installing flac-libs (1.4.2-r0) 19:54:43 (47/83) Installing libvorbis (1.3.7-r0) 19:54:43 (48/83) Installing libsndfile (1.1.0-r2) 19:54:43 (49/83) Installing libgomp (12.2.1_git20220924-r4) 19:54:43 (50/83) Installing soxr (0.1.3-r3) 19:54:43 (51/83) Installing speexdsp (1.2.1-r0) 19:54:43 (52/83) Installing tdb-libs (1.4.6-r0) 19:54:43 (53/83) Installing libpulse (16.1-r6) 19:54:43 (54/83) Installing cjson (1.7.15-r3) 19:54:43 (55/83) Installing mbedtls (2.28.3-r0) 19:54:43 (56/83) Installing librist (0.2.7-r0) 19:54:43 (57/83) Installing libsrt (1.5.1-r0) 19:54:43 (58/83) Installing libssh (0.10.5-r0) 19:54:43 (59/83) Installing libtheora (1.1.1-r16) 19:54:43 (60/83) Installing libjpeg-turbo (2.1.4-r0) 19:54:44 (61/83) Installing v4l-utils-libs (1.22.1-r2) 19:54:44 (62/83) Installing libxext (1.3.5-r0) 19:54:44 (63/83) Installing libxfixes (6.0.0-r0) 19:54:44 (64/83) Installing wayland-libs-client (1.21.0-r1) 19:54:44 (65/83) Installing libva (2.16.0-r0) 19:54:44 (66/83) Installing libvdpau (1.5-r0) 19:54:44 (67/83) Installing vidstab (1.1.0-r2) 19:54:44 (68/83) Installing libvpx (1.12.0-r1) 19:54:44 (69/83) Installing libwebp (1.2.4-r2) 19:54:44 (70/83) Installing x264-libs (0.164_git20220602-r0) 19:54:44 (71/83) Installing numactl (2.0.16-r1) 19:54:44 (72/83) Installing x265-libs (3.5-r3) 19:54:44 (73/83) Installing xvidcore (1.3.7-r1) 19:54:44 (74/83) Installing libsodium (1.0.18-r2) 19:54:44 (75/83) Installing libzmq (4.3.4-r1) 19:54:44 (76/83) Installing ffmpeg-libs (5.1.3-r0) 19:54:45 (77/83) Installing ffmpeg (5.1.3-r0) 19:54:45 (78/83) Installing udev-init-scripts (35-r1) 19:54:45 (79/83) Installing eudev-libs (3.2.11-r4) 19:54:45 (80/83) Installing xz-libs (5.2.9-r0) 19:54:45 (81/83) Installing zstd-libs (1.5.5-r0) 19:54:45 (82/83) Installing kmod-libs (30-r1) 19:54:45 (83/83) Installing eudev (3.2.11-r4) 19:54:45 Executing busybox-1.35.0-r29.trigger 19:54:45 Executing eudev-3.2.11-r4.trigger 19:54:45 OK: 86 MiB in 98 packages 19:54:48 Removing intermediate container 4bd13a9bf2c4 19:54:48 ---> 2f08d6e9050d 19:54:48 Step 18/36 : WORKDIR / 19:54:48 ---> Running in 6ca88947f9cd 19:54:48 Removing intermediate container 6ca88947f9cd 19:54:48 ---> ac7d4e22f366 19:54:48 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 19:54:51 ---> 0f7f18540eca 19:54:51 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 19:54:51 ---> d7d360324700 19:54:51 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:54:52 ---> 553e2a7211ae 19:54:52 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:54:52 ---> aafd85fcec05 19:54:52 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:54:53 ---> 74fb1b0573bc 19:54:53 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 19:54:53 ---> 5b3af8e4e6b2 19:54:53 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 19:54:54 ---> dc26478c6fb7 19:54:54 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:54:54 ---> Running in bf6a53529988 19:54:56 Removing intermediate container bf6a53529988 19:54:56 ---> 2385e37e4b9c 19:54:56 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:54:56 ---> Running in 358a309b4b71 19:54:58 Removing intermediate container 358a309b4b71 19:54:58 ---> 7566960c13a6 19:54:58 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:54:58 ---> Running in 658b57b429a8 19:54:59 Removing intermediate container 658b57b429a8 19:54:59 ---> a432a073448e 19:54:59 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 19:54:59 ---> Running in 22682b97fc7f 19:55:01 Removing intermediate container 22682b97fc7f 19:55:01 ---> 4797fea78e1c 19:55:01 Step 30/36 : EXPOSE 59983 19:55:01 ---> Running in f356ab24e445 19:55:01 Removing intermediate container f356ab24e445 19:55:01 ---> 7e87a624ee84 19:55:01 Step 31/36 : EXPOSE 8554 19:55:01 ---> Running in f5f0017c23b7 19:55:02 Removing intermediate container f5f0017c23b7 19:55:02 ---> 2be4cbd9c2ad 19:55:02 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:55:02 ---> Running in 8173fb19f1b4 19:55:02 Removing intermediate container 8173fb19f1b4 19:55:02 ---> 7c779cbaa519 19:55:02 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 19:55:02 ---> Running in ae8aa604af5f 19:55:02 Removing intermediate container ae8aa604af5f 19:55:02 ---> 5d518d7c0dee 19:55:02 Step 34/36 : LABEL arch=arm64 19:55:02 ---> Running in cbb9e8213d86 19:55:02 Removing intermediate container cbb9e8213d86 19:55:02 ---> 181787b0af2c 19:55:02 Step 35/36 : LABEL git_sha=dfd140bd3e583d8e942a3dd9b22e48316727da76 19:55:03 ---> Running in e08822660d6c 19:55:03 Removing intermediate container e08822660d6c 19:55:03 ---> 0d32c9b74aca 19:55:03 Step 36/36 : LABEL version=0.0.0 19:55:03 ---> Running in bf4604e4cfbe 19:55:03 Removing intermediate container bf4604e4cfbe 19:55:03 ---> 3c1ad6d47e2f 19:55:03 [Warning] One or more build-args [ARCH] were not consumed 19:55:03 Successfully built 3c1ad6d47e2f 19:55:03 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 19:55:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:55:04 19:55:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:55:04 arm64: Pulling from edgex-lftools-log-publisher 19:55:04 8998bd30e6a1: Pulling fs layer 19:55:04 04944245beec: Pulling fs layer 19:55:04 699f458cf7ca: Pulling fs layer 19:55:04 765212b225bb: Pulling fs layer 19:55:04 f23df028b6ca: Pulling fs layer 19:55:04 d65c8cfc05b1: Pulling fs layer 19:55:04 2437ff75d9bd: Pulling fs layer 19:55:04 765212b225bb: Waiting 19:55:04 f23df028b6ca: Waiting 19:55:04 d65c8cfc05b1: Waiting 19:55:04 2437ff75d9bd: Waiting 19:55:04 04944245beec: Verifying Checksum 19:55:04 04944245beec: Download complete 19:55:04 765212b225bb: Download complete 19:55:04 f23df028b6ca: Verifying Checksum 19:55:04 f23df028b6ca: Download complete 19:55:04 d65c8cfc05b1: Download complete 19:55:04 699f458cf7ca: Verifying Checksum 19:55:04 699f458cf7ca: Download complete 19:55:05 8998bd30e6a1: Download complete 19:55:07 2437ff75d9bd: Verifying Checksum 19:55:07 2437ff75d9bd: Download complete 19:55:09 8998bd30e6a1: Pull complete 19:55:09 04944245beec: Pull complete 19:55:10 699f458cf7ca: Pull complete 19:55:11 765212b225bb: Pull complete 19:55:11 f23df028b6ca: Pull complete 19:55:11 d65c8cfc05b1: Pull complete 19:55:26 2437ff75d9bd: Pull complete 19:55:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:55:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:27 prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container 19:55:27 $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:55:33 $ docker top 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:34 ---> job-cost.sh 19:55:34 lf-activate-venv: SKIPPING 19:55:34 INFO: No Stack... 19:55:35 INFO: Retrieving Pricing Info for: v3-standard-4 19:55:36 INFO: Archiving Costs [Pipeline] sh 19:55:36 + cut -d, -f6+ 19:55:36 cat /w/workspace/device-usb-camera/7/archives/cost.csv [Pipeline] lock 19:55:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] 19:55:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] did not exist. Created. 19:55:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:55:37 /w/workspace/device-usb-camera/7@tmp/durable-159fd658/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:55:37 + echo total: 0.10999999940395355 [Pipeline] stash 19:55:37 Warning: overwriting stash ‘stack-cost’ 19:55:37 Stashed 1 file(s) [Pipeline] } 19:55:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] // lock [Pipeline] } 19:55:37 $ docker stop --time=1 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f 19:55:38 $ docker rm -f --volumes 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f [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 19:55:39 provisioning config files... 19:55:39 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config2793562258335420760tmp [Pipeline] { [Pipeline] sh 19:55:39 + set +x 19:55:39 + curl -s https://codecov.io/bash 19:55:39 + bash -s -- 19:55:39 19:55:39 _____ _ 19:55:39 / ____| | | 19:55:39 | | ___ __| | ___ ___ _____ __ 19:55:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:55:39 | |___| (_) | (_| | __/ (_| (_) \ V / 19:55:39 \_____\___/ \__,_|\___|\___\___/ \_/ 19:55:39 Bash-1.0.6 19:55:39 19:55:39 19:55:39 ==> git version 2.25.1 found 19:55:39 ==> 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 19:55:39 Release-Date: 2020-01-08 19:55:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:55:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:55:39 ==> Jenkins CI detected. 19:55:39 current dir:  /w/workspace/foundry_device-usb-camera_PR-265 19:55:39 project root: . 19:55:39 --> token set from env 19:55:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:55:39 ==> Running gcov in . (disable via -X gcov) 19:55:39 ==> Python coveragepy not found 19:55:39 ==> Searching for coverage reports in: 19:55:39 + . 19:55:39 -> Found 1 reports 19:55:39 ==> Detecting git/mercurial file structure 19:55:39 ==> Reading reports 19:55:39 + ./coverage.out bytes=42249 19:55:39 ==> Appending adjustments 19:55:39 https://docs.codecov.io/docs/fixing-reports 19:55:39 + Found adjustments 19:55:39 ==> Gzipping contents 19:55:39 8.0K /tmp/codecov.MXCmcG.gz 19:55:39 ==> Uploading reports 19:55:39 url: https://codecov.io 19:55:39 query: branch=PR-265&commit=dfd140bd3e583d8e942a3dd9b22e48316727da76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 19:55:39 -> Pinging Codecov 19:55:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=dfd140bd3e583d8e942a3dd9b22e48316727da76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 19:55:40 -> Uploading to 19:55:40 https://storage.googleapis.com/codecov/v4/raw/2023-07-20/73D8F5FF140700D3E01443B452E23636/dfd140bd3e583d8e942a3dd9b22e48316727da76/58f9a3e5-e78d-461e-9ba5-f64a2169c582.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230720T195539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfe6c34c7a5ca9368c38c8c6f2f713ce412c14640c27ce383463e4343dbb6b93 19:55:40 % Total % Received % Xferd Average Speed Time Time Time Current 19:55:40 Dload Upload Total Spent Left Speed 19:55:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5604 0 0 100 5604 0 26942 --:--:-- --:--:-- --:--:-- 26813 100 5604 0 0 100 5604 0 26813 --:--:-- --:--:-- --:--:-- 26813 19:55:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] } 19:55:40 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 19:55:40 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 19:55:40 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 19:55:40 total 16 19:55:40 drwxr-xr-x 3 root root 4096 Jul 20 19:46 . 19:55:40 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 19:46 .. 19:55:40 drwxr-xr-x 2 root root 4096 Jul 20 19:46 cost 19:55:40 -rw-r--r-- 1 root root 89 Jul 20 19:46 cost.csv 19:55:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 19:55:40 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 19:55:40 total 16 19:55:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 19:46 . 19:55:40 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 19:46 .. 19:55:40 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 19:46 cost 19:55:40 -rw-r--r-- 1 jenkins jenkins 89 Jul 20 19:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:55:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:55:42 ---> package-listing.sh 19:55:42 ++ facter osfamily 19:55:42 ++ tr '[:upper:]' '[:lower:]' 19:55:42 + OS_FAMILY=debian 19:55:42 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 19:55:42 + START_PACKAGES=/tmp/packages_start.txt 19:55:42 + END_PACKAGES=/tmp/packages_end.txt 19:55:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:55:42 + PACKAGES=/tmp/packages_start.txt 19:55:42 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 19:55:42 + PACKAGES=/tmp/packages_end.txt 19:55:42 + case "${OS_FAMILY}" in 19:55:42 + dpkg -l 19:55:42 + grep '^ii' 19:55:42 + '[' -f /tmp/packages_start.txt ']' 19:55:42 + '[' -f /tmp/packages_end.txt ']' 19:55:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:55:42 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 19:55:42 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 19:55:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo 19:55:42 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:55:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:43 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 19:55:43 $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:55:43 $ docker top 4b51cdeaf3cae5fa36d20092ac17b5198041cdf94a91369ef69b190a247a4cb9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:43 + touch /tmp/pre-build-complete [Pipeline] sh 19:55:44 + mkdir -p /var/log/sysstat [Pipeline] sh 19:55:44 + ls /var/log/sa-host 19:55:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:55:44 provisioning config files... 19:55:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config14204861317826611872tmp [Pipeline] { [Pipeline] echo 19:55:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:55:44 ---> create-netrc.sh [Pipeline] } 19:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:55:45 ---> python-tools-install.sh [Pipeline] echo 19:55:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:55:45 ---> sudo-logs.sh 19:55:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:55:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:55:45 ---> job-cost.sh 19:55:45 lf-activate-venv: SKIPPING 19:55:45 DEBUG: total: 0.2199999988079071 19:55:45 INFO: Retrieving Stack Cost... 19:55:46 INFO: Retrieving Pricing Info for: v3-standard-8 19:55:46 INFO: Archiving Costs [Pipeline] echo 19:55:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:55:47 ---> logs-deploy.sh 19:55:47 lf-activate-venv: SKIPPING 19:55:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/7 19:55:47 INFO: archiving workspace using pattern(s): 19:55:48 Archives upload complete. 19:55:48 INFO: archiving logs to Nexus