Pull request #262 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than b60069efaff03ec5032551d86ab44005fb8433b0 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh14522702953692087917.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-ssh3253262316150138836.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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh236031542789072712.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-ssh9836678105909351173.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9719804616270764654.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-186 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit b60069efaff03ec5032551d86ab44005fb8433b0 Merge succeeded, producing b60069efaff03ec5032551d86ab44005fb8433b0 Checking out Revision b60069efaff03ec5032551d86ab44005fb8433b0 (PR-262) Commit message: "feat: update path storage" > git config core.sparsecheckout # timeout=10 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 > git rev-list --no-walk 157e602d579acf545d01ac8028e4e50126d70e0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:28:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:28:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:28:44 ========================================================= 19:28:44 EdgeX Global Pipelines Version Info 19:28:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:28:44 ------------------- 19:28:44 stable info: 19:28:44 ------------------- 19:28:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:28:44 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:28:44 Message: update stable to v1.0.250 19:28:45 ------------------- 19:28:45 experimental info: 19:28:45 ------------------- 19:28:45 Commited By: **** collab-it+edgex@linuxfoundation.org 19:28:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:28:45 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo 19:28:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo 19:28:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo 19:28:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo 19:28:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b60069e [Pipeline] echo 19:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:46 provisioning config files... 19:28:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config129672503558512781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:46 ---> docker-login.sh 19:28:46 nexus3.edgexfoundry.org:10001 19:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:46 Configure a credential helper to remove this warning. See 19:28:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:46 19:28:46 Login Succeeded 19:28:46 nexus3.edgexfoundry.org:10002 19:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:46 Configure a credential helper to remove this warning. See 19:28:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:46 19:28:46 Login Succeeded 19:28:46 nexus3.edgexfoundry.org:10003 19:28:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:47 Configure a credential helper to remove this warning. See 19:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:47 19:28:47 Login Succeeded 19:28:47 nexus3.edgexfoundry.org:10004 19:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:47 Configure a credential helper to remove this warning. See 19:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:47 19:28:47 Login Succeeded 19:28:47 docker.io 19:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:28:47 Configure a credential helper to remove this warning. See 19:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:28:47 19:28:47 Login Succeeded 19:28:47 ---> docker-login.sh ends [Pipeline] } 19:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:28:47 + git rev-list -1 --merges b60069efaff03ec5032551d86ab44005fb8433b0~1..b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo 19:28:47 -----------> git rev-list -1 --merges b60069efaff03ec5032551d86ab44005fb8433b0~1..b60069efaff03ec5032551d86ab44005fb8433b0 b60069efaff03ec5032551d86ab44005fb8433b0 [false] [Pipeline] sh 19:28:48 + git log --format=format:%s -1 b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo 19:28:48 ========================================================= 19:28:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:28:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:28:48 + git log --format=format:%s -1 b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo 19:28:48 [semverPrep] GIT_COMMIT: b60069efaff03ec5032551d86ab44005fb8433b0, Commit Message: feat: update path storage [Pipeline] echo 19:28:48 [semverPrep] This is not a build commit. [Pipeline] sh 19:28:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:28:48 + grep -v github /etc/ssh/ssh_known_hosts 19:28:48 + [ -e /tmp/ssh_known_hosts ] 19:28:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:28:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:28:48 + sudo tee -a /etc/ssh/ssh_known_hosts 19:28:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:28:49 19:28:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:28:49 0.1.4: Pulling from edgex-devops/py-git-semver 19:28:49 b85a868b505f: Pulling fs layer 19:28:49 e2be974225ed: Pulling fs layer 19:28:49 339a4e72a1f5: Pulling fs layer 19:28:49 988bab9f4d93: Pulling fs layer 19:28:49 1469e6f7b9e6: Pulling fs layer 19:28:49 eaf3925da568: Pulling fs layer 19:28:49 bab4dde63d76: Pulling fs layer 19:28:49 bde34c3a00c8: Pulling fs layer 19:28:49 b352a97aabf1: Pulling fs layer 19:28:49 4872d77fe225: Pulling fs layer 19:28:49 5851b861e8e6: Pulling fs layer 19:28:49 988bab9f4d93: Waiting 19:28:49 1469e6f7b9e6: Waiting 19:28:49 eaf3925da568: Waiting 19:28:49 4872d77fe225: Waiting 19:28:49 bab4dde63d76: Waiting 19:28:49 5851b861e8e6: Waiting 19:28:49 b352a97aabf1: Waiting 19:28:49 bde34c3a00c8: Waiting 19:28:49 e2be974225ed: Download complete 19:28:49 988bab9f4d93: Verifying Checksum 19:28:49 988bab9f4d93: Download complete 19:28:49 1469e6f7b9e6: Verifying Checksum 19:28:49 1469e6f7b9e6: Download complete 19:28:49 eaf3925da568: Verifying Checksum 19:28:49 eaf3925da568: Download complete 19:28:49 339a4e72a1f5: Verifying Checksum 19:28:49 339a4e72a1f5: Download complete 19:28:49 bde34c3a00c8: Verifying Checksum 19:28:49 bde34c3a00c8: Download complete 19:28:49 b352a97aabf1: Verifying Checksum 19:28:49 b352a97aabf1: Download complete 19:28:49 4872d77fe225: Download complete 19:28:49 5851b861e8e6: Verifying Checksum 19:28:49 5851b861e8e6: Download complete 19:28:49 b85a868b505f: Verifying Checksum 19:28:49 b85a868b505f: Download complete 19:28:50 bab4dde63d76: Verifying Checksum 19:28:50 bab4dde63d76: Download complete 19:28:51 b85a868b505f: Pull complete 19:28:51 e2be974225ed: Pull complete 19:28:51 339a4e72a1f5: Pull complete 19:28:52 988bab9f4d93: Pull complete 19:28:52 1469e6f7b9e6: Pull complete 19:28:52 eaf3925da568: Pull complete 19:28:54 bab4dde63d76: Pull complete 19:28:54 bde34c3a00c8: Pull complete 19:28:54 b352a97aabf1: Pull complete 19:28:54 4872d77fe225: Pull complete 19:28:54 5851b861e8e6: Pull complete 19:28:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:28:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:28:54 prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container 19:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:28:57 $ docker top 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a -eo pid,comm 19:28:57 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:28:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:28:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:57 [ssh-agent] Looking for ssh-agent implementation... 19:28:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:57 $ docker exec 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent 19:28:57 SSH_AUTH_SOCK=/tmp/ssh-XsfGvVEatQHx/agent.33 19:28:57 SSH_AGENT_PID=39 19:28:57 Running ssh-add (command line suppressed) 19:28:57 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3589259670814231453.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3589259670814231453.key) 19:28:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:57 + git tag --points-at HEAD [Pipeline] } 19:28:57 $ docker exec --env ******** --env ******** 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent -k 19:28:58 unset SSH_AUTH_SOCK; 19:28:58 unset SSH_AGENT_PID; 19:28:58 echo Agent pid 39 killed; 19:28:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:28:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:58 [ssh-agent] Looking for ssh-agent implementation... 19:28:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:58 $ docker exec 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent 19:28:58 SSH_AUTH_SOCK=/tmp/ssh-mLxKTPq2x3Kp/agent.71 19:28:58 SSH_AGENT_PID=77 19:28:58 Running ssh-add (command line suppressed) 19:28:58 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3099834033788760381.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3099834033788760381.key) 19:28:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:58 + git semver init 19:28:58 2023-06-29 19:28:58,866 [run_init] DEBUG init version:0.0.0 force:False 19:28:58 2023-06-29 19:28:58,867 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver 19:28:58 2023-06-29 19:28:58,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver 19:28:58 2023-06-29 19:28:58,868 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) 19:28:59 2023-06-29 19:28:59,538 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude 19:28:59 2023-06-29 19:28:59,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False 19:28:59 2023-06-29 19:28:59,539 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 19:28:59 2023-06-29 19:28:59,543 [execute] INFO git cat-file --batch-check 19:28:59 2023-06-29 19:28:59,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 19:28:59 2023-06-29 19:28:59,549 [execute] INFO git cat-file --batch 19:28:59 2023-06-29 19:28:59,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 19:28:59 2023-06-29 19:28:59,554 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 19:28:59 0.0.0 [Pipeline] } 19:28:59 $ docker exec --env ******** --env ******** 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent -k 19:29:00 unset SSH_AUTH_SOCK; 19:29:00 unset SSH_AGENT_PID; 19:29:00 echo Agent pid 77 killed; 19:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:29:00 + git semver [Pipeline] } 19:29:00 $ docker stop --time=1 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a 19:29:01 $ docker rm -f --volumes 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a [Pipeline] // withDockerContainer [Pipeline] sh 19:29:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:29:02 Stashed 1 file(s) [Pipeline] echo 19:29:02 [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:29:02 provisioning config files... 19:29:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config14416324444468455642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:02 ---> docker-login.sh 19:29:02 nexus3.edgexfoundry.org:10001 19:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:02 Configure a credential helper to remove this warning. See 19:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:02 19:29:02 Login Succeeded 19:29:02 nexus3.edgexfoundry.org:10002 19:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:02 Configure a credential helper to remove this warning. See 19:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:02 19:29:02 Login Succeeded 19:29:02 nexus3.edgexfoundry.org:10003 19:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:03 Configure a credential helper to remove this warning. See 19:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:03 19:29:03 Login Succeeded 19:29:03 nexus3.edgexfoundry.org:10004 19:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:03 Configure a credential helper to remove this warning. See 19:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:03 19:29:03 Login Succeeded 19:29:03 docker.io 19:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:03 Configure a credential helper to remove this warning. See 19:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:03 19:29:03 Login Succeeded 19:29:03 ---> docker-login.sh ends [Pipeline] } 19:29:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:29:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:29:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:29:03 ========================================================= 19:29:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:29:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:03 + 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:29:03 Sending build context to Docker daemon 2.041MB 19:29:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:29:03 Step 2/13 : FROM ${BASE} AS builder 19:29:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:29:03 f56be85fc22e: Pulling fs layer 19:29:03 85791d961cd3: Pulling fs layer 19:29:03 d694b5ae8c79: Pulling fs layer 19:29:03 9f32a84ed3da: Pulling fs layer 19:29:03 4d19c01a9841: Pulling fs layer 19:29:03 9325e15d5711: Pulling fs layer 19:29:03 556b6ee489ea: Pulling fs layer 19:29:03 c5a4b2cf53e6: Pulling fs layer 19:29:03 556b6ee489ea: Waiting 19:29:03 9f32a84ed3da: Waiting 19:29:03 c5a4b2cf53e6: Waiting 19:29:03 4d19c01a9841: Waiting 19:29:03 85791d961cd3: Verifying Checksum 19:29:03 85791d961cd3: Download complete 19:29:03 9f32a84ed3da: Verifying Checksum 19:29:03 9f32a84ed3da: Download complete 19:29:04 4d19c01a9841: Verifying Checksum 19:29:04 4d19c01a9841: Download complete 19:29:04 f56be85fc22e: Verifying Checksum 19:29:04 f56be85fc22e: Download complete 19:29:04 9325e15d5711: Verifying Checksum 19:29:04 9325e15d5711: Download complete 19:29:04 f56be85fc22e: Pull complete 19:29:04 85791d961cd3: Pull complete 19:29:04 c5a4b2cf53e6: Verifying Checksum 19:29:04 c5a4b2cf53e6: Download complete 19:29:04 d694b5ae8c79: Download complete 19:29:04 556b6ee489ea: Verifying Checksum 19:29:04 556b6ee489ea: Download complete 19:29:08 d694b5ae8c79: Pull complete 19:29:08 9f32a84ed3da: Pull complete 19:29:08 4d19c01a9841: Pull complete 19:29:08 9325e15d5711: Pull complete 19:29:10 556b6ee489ea: Pull complete 19:29:11 c5a4b2cf53e6: Pull complete 19:29:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:29:11 ---> c4be618373d6 19:29:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:29:16 ---> Running in 0d0f5d8614cb 19:29:16 Removing intermediate container 0d0f5d8614cb 19:29:16 ---> be99a4ba6480 19:29:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:29:16 ---> Running in bb20241d5d7c 19:29:16 Removing intermediate container bb20241d5d7c 19:29:16 ---> 41cbb1c4093f 19:29:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:29:16 ---> Running in 0f498bc49be0 19:29:16 Removing intermediate container 0f498bc49be0 19:29:16 ---> 7c005fd8690a 19:29:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:29:16 ---> Running in efa09fd0e19d 19:29:16 Removing intermediate container efa09fd0e19d 19:29:16 ---> 625e15f37e74 19:29:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:29:16 ---> Running in 31f27280e25f 19:29:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:29:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:29:17 (1/14) Installing libintl (0.21.1-r1) 19:29:17 (2/14) Installing eudev-libs (3.2.11-r4) 19:29:17 (3/14) Installing libjpeg-turbo (2.1.4-r0) 19:29:17 (4/14) Installing v4l-utils-libs (1.22.1-r2) 19:29:17 (5/14) Installing v4l-utils (1.22.1-r2) 19:29:17 Still waiting to schedule task 19:29:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:29:17 (6/14) Installing udev-init-scripts (35-r1) 19:29:17 (7/14) Installing libblkid (2.38.1-r1) 19:29:17 (8/14) Installing xz-libs (5.2.9-r0) 19:29:17 (9/14) Installing zstd-libs (1.5.5-r0) 19:29:17 (10/14) Installing kmod-libs (30-r1) 19:29:17 (11/14) Installing eudev (3.2.11-r4) 19:29:17 (12/14) Installing eudev-dev (3.2.11-r4) 19:29:17 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 19:29:17 (14/14) Installing v4l-utils-dev (1.22.1-r2) 19:29:17 Executing busybox-1.35.0-r29.trigger 19:29:17 Executing eudev-3.2.11-r4.trigger 19:29:17 OK: 272 MiB in 67 packages 19:29:18 Removing intermediate container 31f27280e25f 19:29:18 ---> e08347196577 19:29:18 Step 8/13 : WORKDIR /device-usb-camera 19:29:18 ---> Running in c19af4b40c4b 19:29:18 Removing intermediate container c19af4b40c4b 19:29:18 ---> 6e2a4fc3f7f9 19:29:18 Step 9/13 : COPY go.mod vendor* ./ 19:29:18 ---> eaa3980f6b85 19:29:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:29:18 ---> Running in 2f66131252a7 19:29:57 Removing intermediate container 2f66131252a7 19:29:57 ---> 051c00d5872b 19:29:57 Step 11/13 : COPY . . 19:29:57 ---> f10e9d94dd3b 19:29:57 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:29:57 ---> Running in 4696942f9d78 19:29:57  % Total % Received % Xferd Average Speed Time Time Time Current 19:29:57 Dload Upload Total Spent Left Speed 19:29:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7118 0 --:--:-- --:--:-- --:--:-- 7127 100 1062 100 1062 0 0 7113 0 --:--:-- --:--:-- --:--:-- 7080 19:29:57 Removing intermediate container 4696942f9d78 19:29:57 ---> 48c7c1ebe049 19:29:57 Step 13/13 : RUN ${MAKE} 19:29:57 ---> Running in 1a50b2e4f370 19:29:57 noop 19:29:57 Removing intermediate container 1a50b2e4f370 19:29:57 ---> ca4626d928c2 19:29:57 Successfully built ca4626d928c2 19:29:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:57 + docker inspect -f . ci-base-image-x86_64 19:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:57 prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container 19:29:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:29:58 $ docker top 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:58 + go version 19:29:58 go version go1.20.2 linux/amd64 [Pipeline] } 19:29:58 $ docker stop --time=1 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 19:29:59 $ docker rm -f --volumes 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:00 + docker inspect -f . ci-base-image-x86_64 19:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:00 prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container 19:30:00 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:30:00 $ docker top daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 -eo pid,comm [Pipeline] { [Pipeline] sh 19:30:01 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh 19:30:01 + make test 19:30:01 go test ./... -coverprofile=coverage.out ./... 19:30:01 # github.com/edgexfoundry/device-usb-camera/internal/driver 19:30:01 internal/driver/driver_test.go:34:14: expected type, found '{' 19:30:01 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [setup failed] 19:30:06 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:30:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:30:16 FAIL 19:30:16 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 19:30:16 $ docker stop --time=1 daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 19:30:19 $ docker rm -f --volumes daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:19 19:30:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:20 latest: Pulling from edgex-lftools-log-publisher 19:30:20 5eb5b503b376: Pulling fs layer 19:30:20 5c69ac0246d0: Pulling fs layer 19:30:20 ec43610c2a17: Pulling fs layer 19:30:20 3a2ae6a8a46f: Pulling fs layer 19:30:20 33b1e0a273af: Pulling fs layer 19:30:20 5d3b04190fa2: Pulling fs layer 19:30:20 2f39f015ded8: Pulling fs layer 19:30:20 3a2ae6a8a46f: Waiting 19:30:20 33b1e0a273af: Waiting 19:30:20 5c69ac0246d0: Download complete 19:30:20 3a2ae6a8a46f: Download complete 19:30:20 33b1e0a273af: Verifying Checksum 19:30:20 33b1e0a273af: Download complete 19:30:20 5d3b04190fa2: Verifying Checksum 19:30:20 5d3b04190fa2: Download complete 19:30:20 ec43610c2a17: Verifying Checksum 19:30:20 ec43610c2a17: Download complete 19:30:20 5eb5b503b376: Verifying Checksum 19:30:20 5eb5b503b376: Download complete 19:30:21 2f39f015ded8: Download complete 19:30:21 5eb5b503b376: Pull complete 19:30:21 5c69ac0246d0: Pull complete 19:30:22 ec43610c2a17: Pull complete 19:30:22 3a2ae6a8a46f: Pull complete 19:30:22 33b1e0a273af: Pull complete 19:30:22 5d3b04190fa2: Pull complete 19:30:26 2f39f015ded8: Pull complete 19:30:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:26 prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container 19:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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:30:31 $ docker top ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:31 ---> job-cost.sh 19:30:31 lf-activate-venv: SKIPPING 19:30:31 INFO: No Stack... 19:30:32 INFO: Retrieving Pricing Info for: v3-standard-8 19:30:35 INFO: Archiving Costs [Pipeline] sh 19:30:35 + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv 19:30:35 + cut -d, -f6 [Pipeline] lock 19:30:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] 19:30:35 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] did not exist. Created. 19:30:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:30:36 + echo total: 0.2199999988079071 [Pipeline] stash 19:30:36 Stashed 1 file(s) [Pipeline] } 19:30:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] // lock [Pipeline] } 19:30:36 $ docker stop --time=1 ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 19:30:37 $ docker rm -f --volumes ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:30:37 Failed in branch amd64 19:30:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-187 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws 19:30:45 Running in /w/workspace/device-usb-camera/19 [Pipeline] { [Pipeline] checkout 19:30:45 Selected Git installation does not exist. Using Default 19:30:45 The recommended git tool is: NONE 19:30:50 using credential edgex-jenkins-ssh 19:30:50 Cloning the remote Git repository 19:30:50 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 19:30:51 > git init /w/workspace/device-usb-camera/19 # timeout=10 19:30:51 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:30:51 > git --version # timeout=10 19:30:51 > git --version # 'git version 2.25.1' 19:30:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:30:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:30:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:30:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:30:53 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit b60069efaff03ec5032551d86ab44005fb8433b0 19:30:53 Merge succeeded, producing b60069efaff03ec5032551d86ab44005fb8433b0 19:30:53 Checking out Revision b60069efaff03ec5032551d86ab44005fb8433b0 (PR-262) 19:30:54 Commit message: "feat: update path storage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:30:53 > git config core.sparsecheckout # timeout=10 19:30:53 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 19:30:53 > git remote # timeout=10 19:30:53 > git config --get remote.origin.url # timeout=10 19:30:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:53 > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 19:30:53 > git rev-parse HEAD^{commit} # timeout=10 19:30:53 > git config core.sparsecheckout # timeout=10 19:30:53 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 19:30:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:30:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:30:55 Dload Upload Total Spent Left Speed 19:30:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10469 0 0 78126 0 --:--:-- --:--:-- --:--:-- 77548 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 19:30:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:30:56 + sudo tee /etc/docker/daemon.new 19:30:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:30:56 { 19:30:56 "registry-mirrors": [ 19:30:56 "https://nexus3.edgexfoundry.org:10001" 19:30:56 ], 19:30:56 "bip": "10.250.0.254/24", 19:30:56 "hosts": [ 19:30:56 "tcp://0.0.0.0:5555", 19:30:56 "unix:///var/run/docker.sock" 19:30:56 ], 19:30:56 "mtu": 1458, 19:30:56 "selinux-enabled": true, 19:30:56 "seccomp-profile": "/etc/docker/seccomp.json" 19:30:56 } [Pipeline] sh 19:30:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:30:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:15 provisioning config files... 19:31:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/19@tmp/config13934843733008398386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:15 ---> docker-login.sh 19:31:15 nexus3.edgexfoundry.org:10001 19:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:15 Configure a credential helper to remove this warning. See 19:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:15 19:31:15 Login Succeeded 19:31:15 nexus3.edgexfoundry.org:10002 19:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:16 Configure a credential helper to remove this warning. See 19:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:16 19:31:16 Login Succeeded 19:31:16 nexus3.edgexfoundry.org:10003 19:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:16 Configure a credential helper to remove this warning. See 19:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:16 19:31:16 Login Succeeded 19:31:16 nexus3.edgexfoundry.org:10004 19:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:17 Configure a credential helper to remove this warning. See 19:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:17 19:31:17 Login Succeeded 19:31:17 docker.io 19:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:17 Configure a credential helper to remove this warning. See 19:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:17 19:31:17 Login Succeeded 19:31:17 ---> docker-login.sh ends [Pipeline] } 19:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:17 ========================================================= 19:31:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:31:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:18 + 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:31:18 Sending build context to Docker daemon 1.23MB 19:31:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:31:18 Step 2/13 : FROM ${BASE} AS builder 19:31:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:31:18 c41833b44d91: Pulling fs layer 19:31:18 ed15518f5707: Pulling fs layer 19:31:18 feae8fd75edb: Pulling fs layer 19:31:18 242c74f7c9fa: Pulling fs layer 19:31:18 3cdef696dda3: Pulling fs layer 19:31:18 2ced38df9373: Pulling fs layer 19:31:18 58f1dce35555: Pulling fs layer 19:31:18 2ced38df9373: Waiting 19:31:18 242c74f7c9fa: Waiting 19:31:18 3cdef696dda3: Waiting 19:31:18 58f1dce35555: Waiting 19:31:18 ed15518f5707: Verifying Checksum 19:31:18 ed15518f5707: Download complete 19:31:18 242c74f7c9fa: Verifying Checksum 19:31:18 242c74f7c9fa: Download complete 19:31:18 3cdef696dda3: Verifying Checksum 19:31:18 3cdef696dda3: Download complete 19:31:18 c41833b44d91: Verifying Checksum 19:31:18 c41833b44d91: Download complete 19:31:19 c41833b44d91: Pull complete 19:31:19 58f1dce35555: Verifying Checksum 19:31:19 58f1dce35555: Download complete 19:31:20 ed15518f5707: Pull complete 19:31:21 feae8fd75edb: Verifying Checksum 19:31:21 feae8fd75edb: Download complete 19:31:21 2ced38df9373: Verifying Checksum 19:31:21 2ced38df9373: Download complete 19:31:33 feae8fd75edb: Pull complete 19:31:33 242c74f7c9fa: Pull complete 19:31:33 3cdef696dda3: Pull complete 19:31:40 2ced38df9373: Pull complete 19:31:41 58f1dce35555: Pull complete 19:31:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:31:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:31:42 ---> fadd8f120f05 19:31:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:31:43 ---> Running in bd59b2efb768 19:31:43 Removing intermediate container bd59b2efb768 19:31:43 ---> 10128cc95e38 19:31:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:31:43 ---> Running in e3ee9d69d0d5 19:31:44 Removing intermediate container e3ee9d69d0d5 19:31:44 ---> 63ba65d2fa5b 19:31:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:31:44 ---> Running in 2f22be0df6c9 19:31:44 Removing intermediate container 2f22be0df6c9 19:31:44 ---> 257adb3bb67a 19:31:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:31:44 ---> Running in f1ff1ce7251d 19:31:44 Removing intermediate container f1ff1ce7251d 19:31:44 ---> ee7068a788e5 19:31:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:31:45 ---> Running in 261ac06e0d15 19:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:31:47 (1/14) Installing libintl (0.21.1-r1) 19:31:47 (2/14) Installing eudev-libs (3.2.11-r4) 19:31:47 (3/14) Installing libjpeg-turbo (2.1.4-r0) 19:31:47 (4/14) Installing v4l-utils-libs (1.22.1-r2) 19:31:47 (5/14) Installing v4l-utils (1.22.1-r2) 19:31:47 (6/14) Installing udev-init-scripts (35-r1) 19:31:47 (7/14) Installing libblkid (2.38.1-r1) 19:31:47 (8/14) Installing xz-libs (5.2.9-r0) 19:31:47 (9/14) Installing zstd-libs (1.5.5-r0) 19:31:47 (10/14) Installing kmod-libs (30-r1) 19:31:47 (11/14) Installing eudev (3.2.11-r4) 19:31:47 (12/14) Installing eudev-dev (3.2.11-r4) 19:31:47 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 19:31:47 (14/14) Installing v4l-utils-dev (1.22.1-r2) 19:31:47 Executing busybox-1.35.0-r29.trigger 19:31:47 Executing eudev-3.2.11-r4.trigger 19:31:47 OK: 271 MiB in 67 packages 19:31:49 Removing intermediate container 261ac06e0d15 19:31:49 ---> 9faf16bcc043 19:31:49 Step 8/13 : WORKDIR /device-usb-camera 19:31:49 ---> Running in 668608f163bd 19:31:49 Removing intermediate container 668608f163bd 19:31:49 ---> ceb8226b0131 19:31:49 Step 9/13 : COPY go.mod vendor* ./ 19:31:49 ---> 48be7cf32ed3 19:31:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:31:50 ---> Running in 732b4280789b 19:32:57 Removing intermediate container 732b4280789b 19:32:57 ---> 6c38377f3c33 19:32:57 Step 11/13 : COPY . . 19:32:57 ---> 43a930ff3e85 19:32:57 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:32:57 ---> Running in d1fe201e1634 19:32:57  % Total % Received % Xferd Average Speed Time Time Time Current 19:32:57 Dload Upload Total Spent Left Speed 19:32:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4257 0 --:--:-- --:--:-- --:--:-- 4265 19:32:57 Removing intermediate container d1fe201e1634 19:32:57 ---> 4d7260cf7033 19:32:57 Step 13/13 : RUN ${MAKE} 19:32:57 ---> Running in 70aa585f25d2 19:32:57 noop 19:32:57 Removing intermediate container 70aa585f25d2 19:32:57 ---> c40582fd130a 19:32:57 Successfully built c40582fd130a 19:32:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:58 + docker inspect -f . ci-base-image-arm64 19:32:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:58 prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container 19:32:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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-arm64 cat 19:32:59 $ docker top c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e -eo pid,comm [Pipeline] { [Pipeline] sh 19:33:00 + go version 19:33:00 go version go1.20.2 linux/arm64 [Pipeline] } 19:33:00 $ docker stop --time=1 c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e 19:33:04 $ docker rm -f --volumes c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:04 + docker inspect -f . ci-base-image-arm64 19:33:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:33:05 prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container 19:33:05 $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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-arm64 cat 19:33:06 $ docker top 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a -eo pid,comm [Pipeline] { [Pipeline] sh 19:33:06 + git config --global --add safe.directory /w/workspace/device-usb-camera/19 [Pipeline] fileExists [Pipeline] sh 19:33:07 + make test 19:33:07 go test ./... -coverprofile=coverage.out ./... 19:33:10 # github.com/edgexfoundry/device-usb-camera/internal/driver 19:33:10 internal/driver/driver_test.go:34:14: expected type, found '{' 19:33:10 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [setup failed] 19:33:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:35:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:35:29 FAIL 19:35:29 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 19:35:29 $ docker stop --time=1 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a 19:35:31 $ docker rm -f --volumes 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:35:33 19:35:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:35:33 arm64: Pulling from edgex-lftools-log-publisher 19:35:33 8998bd30e6a1: Pulling fs layer 19:35:33 04944245beec: Pulling fs layer 19:35:33 699f458cf7ca: Pulling fs layer 19:35:33 765212b225bb: Pulling fs layer 19:35:33 f23df028b6ca: Pulling fs layer 19:35:33 d65c8cfc05b1: Pulling fs layer 19:35:33 2437ff75d9bd: Pulling fs layer 19:35:33 765212b225bb: Waiting 19:35:33 d65c8cfc05b1: Waiting 19:35:33 f23df028b6ca: Waiting 19:35:33 2437ff75d9bd: Waiting 19:35:33 04944245beec: Verifying Checksum 19:35:33 04944245beec: Download complete 19:35:33 765212b225bb: Verifying Checksum 19:35:33 765212b225bb: Download complete 19:35:34 f23df028b6ca: Verifying Checksum 19:35:34 f23df028b6ca: Download complete 19:35:34 d65c8cfc05b1: Verifying Checksum 19:35:34 d65c8cfc05b1: Download complete 19:35:34 699f458cf7ca: Verifying Checksum 19:35:34 699f458cf7ca: Download complete 19:35:34 8998bd30e6a1: Verifying Checksum 19:35:34 8998bd30e6a1: Download complete 19:35:36 2437ff75d9bd: Verifying Checksum 19:35:36 2437ff75d9bd: Download complete 19:35:39 8998bd30e6a1: Pull complete 19:35:39 04944245beec: Pull complete 19:35:41 699f458cf7ca: Pull complete 19:35:41 765212b225bb: Pull complete 19:35:42 f23df028b6ca: Pull complete 19:35:42 d65c8cfc05b1: Pull complete 19:36:00 2437ff75d9bd: Pull complete 19:36:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:36:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:36:01 prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container 19:36: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/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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:arm64 cat 19:36:03 $ docker top c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:04 ---> job-cost.sh 19:36:04 lf-activate-venv: SKIPPING 19:36:04 INFO: No Stack... 19:36:04 INFO: Retrieving Pricing Info for: v3-standard-4 19:36:05 INFO: Archiving Costs [Pipeline] sh 19:36:05 + cut -d, -f6 19:36:05 + cat /w/workspace/device-usb-camera/19/archives/cost.csv [Pipeline] lock 19:36:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] 19:36:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] did not exist. Created. 19:36:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:36:06 /w/workspace/device-usb-camera/19@tmp/durable-3d1caae4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:36:07 + echo total: 0.10999999940395355 [Pipeline] stash 19:36:07 Warning: overwriting stash ‘stack-cost’ 19:36:07 Stashed 1 file(s) [Pipeline] } 19:36:07 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] // lock [Pipeline] } 19:36:07 $ docker stop --time=1 c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 19:36:09 $ docker rm -f --volumes c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:36:09 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:36:10 + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] 19:36:10 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 19:36:10 total 16 19:36:10 drwxr-xr-x 3 root root 4096 Jun 29 19:30 . 19:36:10 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 19:30 .. 19:36:10 drwxr-xr-x 2 root root 4096 Jun 29 19:30 cost 19:36:10 -rw-r--r-- 1 root root 90 Jun 29 19:30 cost.csv 19:36:10 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives 19:36:10 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 19:36:10 total 16 19:36:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 19:30 . 19:36:10 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 19:30 .. 19:36:10 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 19:30 cost 19:36:10 -rw-r--r-- 1 jenkins jenkins 90 Jun 29 19:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:36:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:36:11 ---> package-listing.sh 19:36:11 ++ facter osfamily 19:36:11 ++ tr '[:upper:]' '[:lower:]' 19:36:11 + OS_FAMILY=debian 19:36:11 + workspace=/w/workspace/foundry_device-usb-camera_PR-262 19:36:11 + START_PACKAGES=/tmp/packages_start.txt 19:36:11 + END_PACKAGES=/tmp/packages_end.txt 19:36:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:36:11 + PACKAGES=/tmp/packages_start.txt 19:36:11 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 19:36:11 + PACKAGES=/tmp/packages_end.txt 19:36:11 + case "${OS_FAMILY}" in 19:36:11 + dpkg -l 19:36:11 + grep '^ii' 19:36:11 + '[' -f /tmp/packages_start.txt ']' 19:36:11 + '[' -f /tmp/packages_end.txt ']' 19:36:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:36:11 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 19:36:11 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ 19:36:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo 19:36:11 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:36:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:36:12 prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container 19:36:12 $ 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-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:36:13 $ docker top c34494ea970df7544f10a54cb2ff81f6cdd8d46aa0516c4c79d62c548af4266d -eo pid,comm [Pipeline] { [Pipeline] sh 19:36:13 + touch /tmp/pre-build-complete [Pipeline] sh 19:36:13 + mkdir -p /var/log/sysstat [Pipeline] sh 19:36:13 + ls /var/log/sa-host 19:36:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:36:14 provisioning config files... 19:36:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config6350934776307306266tmp [Pipeline] { [Pipeline] echo 19:36:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:36:14 ---> create-netrc.sh [Pipeline] } 19:36:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:36:14 ---> python-tools-install.sh [Pipeline] echo 19:36:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:36:14 ---> sudo-logs.sh 19:36:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:36:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:36:15 ---> job-cost.sh 19:36:15 lf-activate-venv: SKIPPING 19:36:15 DEBUG: total: 0.2199999988079071 19:36:15 INFO: Retrieving Stack Cost... 19:36:15 INFO: Retrieving Pricing Info for: v3-standard-8 19:36:16 INFO: Archiving Costs [Pipeline] echo 19:36:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:36:16 ---> logs-deploy.sh 19:36:16 lf-activate-venv: SKIPPING 19:36:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/19 19:36:16 INFO: archiving workspace using pattern(s): 19:36:17 Archives upload complete. 19:36:17 INFO: archiving logs to Nexus