Pull request #265 updated 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 16256f212911993d41bf80a6d84ab30d86ead696 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-ssh10386593192165497308.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-ssh6232168639285658664.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-ssh5302098791651051221.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-ssh10383648150905361989.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-ssh10355522135413766004.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-1181’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1183 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 16256f212911993d41bf80a6d84ab30d86ead696 Merge succeeded, producing 16256f212911993d41bf80a6d84ab30d86ead696 Checking out Revision 16256f212911993d41bf80a6d84ab30d86ead696 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # 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 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 Commit message: "docs: update postman" First time build. Skipping changelog. > git rev-list --no-walk e91ec58c8b480eb0b0a47f11c23178624732d78a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:17:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:17:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:38 ========================================================= 21:17:38 EdgeX Global Pipelines Version Info 21:17:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:17:38 ------------------- 21:17:38 stable info: 21:17:38 ------------------- 21:17:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:17:38 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:17:38 Message: update stable to v1.0.250 21:17:39 ------------------- 21:17:39 experimental info: 21:17:39 ------------------- 21:17:39 Commited By: **** collab-it+edgex@linuxfoundation.org 21:17:39 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:17:39 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16256f2 [Pipeline] echo 21:17:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:39 provisioning config files... 21:17:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12183308395693811054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:40 ---> docker-login.sh 21:17:40 nexus3.edgexfoundry.org:10001 21:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:40 Configure a credential helper to remove this warning. See 21:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:40 21:17:40 Login Succeeded 21:17:40 nexus3.edgexfoundry.org:10002 21:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:40 Configure a credential helper to remove this warning. See 21:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:40 21:17:40 Login Succeeded 21:17:40 nexus3.edgexfoundry.org:10003 21:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:40 Configure a credential helper to remove this warning. See 21:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:40 21:17:40 Login Succeeded 21:17:40 nexus3.edgexfoundry.org:10004 21:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:41 Configure a credential helper to remove this warning. See 21:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:41 21:17:41 Login Succeeded 21:17:41 docker.io 21:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:41 Configure a credential helper to remove this warning. See 21:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:41 21:17:41 Login Succeeded 21:17:41 ---> docker-login.sh ends [Pipeline] } 21:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:17:41 + git rev-list -1 --merges 16256f212911993d41bf80a6d84ab30d86ead696~1..16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo 21:17:41 -----------> git rev-list -1 --merges 16256f212911993d41bf80a6d84ab30d86ead696~1..16256f212911993d41bf80a6d84ab30d86ead696 16256f212911993d41bf80a6d84ab30d86ead696 [false] [Pipeline] sh 21:17:42 + git log --format=format:%s -1 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo 21:17:42 ========================================================= 21:17:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:17:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:42 + git log --format=format:%s -1 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo 21:17:42 [semverPrep] GIT_COMMIT: 16256f212911993d41bf80a6d84ab30d86ead696, Commit Message: docs: update postman [Pipeline] echo 21:17:42 [semverPrep] This is not a build commit. [Pipeline] sh 21:17:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:42 + grep -v github /etc/ssh/ssh_known_hosts 21:17:42 + [ -e /tmp/ssh_known_hosts ] 21:17:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:17:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:17:42 + sudo tee -a /etc/ssh/ssh_known_hosts 21:17:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:43 21:17:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:43 0.1.4: Pulling from edgex-devops/py-git-semver 21:17:43 b85a868b505f: Pulling fs layer 21:17:43 e2be974225ed: Pulling fs layer 21:17:43 339a4e72a1f5: Pulling fs layer 21:17:43 988bab9f4d93: Pulling fs layer 21:17:43 1469e6f7b9e6: Pulling fs layer 21:17:43 988bab9f4d93: Waiting 21:17:43 eaf3925da568: Pulling fs layer 21:17:43 bab4dde63d76: Pulling fs layer 21:17:43 bde34c3a00c8: Pulling fs layer 21:17:43 b352a97aabf1: Pulling fs layer 21:17:43 1469e6f7b9e6: Waiting 21:17:43 bde34c3a00c8: Waiting 21:17:43 bab4dde63d76: Waiting 21:17:43 4872d77fe225: Pulling fs layer 21:17:43 b352a97aabf1: Waiting 21:17:43 eaf3925da568: Waiting 21:17:43 5851b861e8e6: Pulling fs layer 21:17:43 5851b861e8e6: Waiting 21:17:43 e2be974225ed: Download complete 21:17:43 988bab9f4d93: Verifying Checksum 21:17:43 988bab9f4d93: Download complete 21:17:43 1469e6f7b9e6: Verifying Checksum 21:17:43 1469e6f7b9e6: Download complete 21:17:43 eaf3925da568: Download complete 21:17:43 339a4e72a1f5: Verifying Checksum 21:17:43 339a4e72a1f5: Download complete 21:17:43 bde34c3a00c8: Verifying Checksum 21:17:43 bde34c3a00c8: Download complete 21:17:43 b352a97aabf1: Verifying Checksum 21:17:43 b352a97aabf1: Download complete 21:17:43 4872d77fe225: Verifying Checksum 21:17:43 4872d77fe225: Download complete 21:17:43 5851b861e8e6: Verifying Checksum 21:17:43 5851b861e8e6: Download complete 21:17:43 b85a868b505f: Verifying Checksum 21:17:43 b85a868b505f: Download complete 21:17:43 bab4dde63d76: Download complete 21:17:45 b85a868b505f: Pull complete 21:17:45 e2be974225ed: Pull complete 21:17:45 339a4e72a1f5: Pull complete 21:17:45 988bab9f4d93: Pull complete 21:17:46 1469e6f7b9e6: Pull complete 21:17:46 eaf3925da568: Pull complete 21:17:47 bab4dde63d76: Pull complete 21:17:47 bde34c3a00c8: Pull complete 21:17:48 b352a97aabf1: Pull complete 21:17:48 4872d77fe225: Pull complete 21:17:48 5851b861e8e6: Pull complete 21:17:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:48 prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container 21:17:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:17:51 $ docker top fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 -eo pid,comm 21:17:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:17:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:51 [ssh-agent] Looking for ssh-agent implementation... 21:17:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:51 $ docker exec fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent 21:17:51 SSH_AUTH_SOCK=/tmp/ssh-alaOj5kLQ4wo/agent.31 21:17:51 SSH_AGENT_PID=37 21:17:51 Running ssh-add (command line suppressed) 21:17:51 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15561775500610082364.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15561775500610082364.key) 21:17:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:51 + git tag --points-at HEAD [Pipeline] } 21:17:51 $ docker exec --env ******** --env ******** fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent -k 21:17:51 unset SSH_AUTH_SOCK; 21:17:51 unset SSH_AGENT_PID; 21:17:51 echo Agent pid 37 killed; 21:17:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:17:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:52 [ssh-agent] Looking for ssh-agent implementation... 21:17:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:52 $ docker exec fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent 21:17:52 SSH_AUTH_SOCK=/tmp/ssh-UjDEwZ1624hq/agent.69 21:17:52 SSH_AGENT_PID=75 21:17:52 Running ssh-add (command line suppressed) 21:17:52 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1504785823391486842.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1504785823391486842.key) 21:17:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:52 + git semver init 21:17:52 2023-07-14 21:17:52,848 [run_init] DEBUG init version:0.0.0 force:False 21:17:52 2023-07-14 21:17:52,849 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 21:17:52 2023-07-14 21:17:52,850 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 21:17:52 2023-07-14 21:17:52,850 [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) 21:17:53 2023-07-14 21:17:53,583 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 21:17:53 2023-07-14 21:17:53,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 21:17:53 2023-07-14 21:17:53,584 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:17:53 2023-07-14 21:17:53,587 [execute] INFO git cat-file --batch-check 21:17:53 2023-07-14 21:17:53,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:17:53 2023-07-14 21:17:53,594 [execute] INFO git cat-file --batch 21:17:53 2023-07-14 21:17:53,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:17:53 2023-07-14 21:17:53,600 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:17:53 0.0.0 [Pipeline] } 21:17:53 $ docker exec --env ******** --env ******** fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent -k 21:17:53 unset SSH_AUTH_SOCK; 21:17:53 unset SSH_AGENT_PID; 21:17:53 echo Agent pid 75 killed; 21:17:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:54 + git semver [Pipeline] } 21:17:54 $ docker stop --time=1 fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 21:17:55 $ docker rm -f --volumes fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:17:56 Stashed 1 file(s) [Pipeline] echo 21:17:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:56 provisioning config files... 21:17:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12687436415545280634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:56 ---> docker-login.sh 21:17:56 nexus3.edgexfoundry.org:10001 21:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:56 Configure a credential helper to remove this warning. See 21:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:56 21:17:56 Login Succeeded 21:17:56 nexus3.edgexfoundry.org:10002 21:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:56 Configure a credential helper to remove this warning. See 21:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:56 21:17:56 Login Succeeded 21:17:56 nexus3.edgexfoundry.org:10003 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 nexus3.edgexfoundry.org:10004 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 docker.io 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 ---> docker-login.sh ends [Pipeline] } 21:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:17:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:57 ========================================================= 21:17:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:17:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:17:57 Sending build context to Docker daemon 2.14MB 21:17:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:17:57 Step 2/13 : FROM ${BASE} AS builder 21:17:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:17:57 4db1b89c0bd1: Pulling fs layer 21:17:57 6911f1a30b25: Pulling fs layer 21:17:57 e194b8c5c2a9: Pulling fs layer 21:17:57 6863d3e3a2b1: Pulling fs layer 21:17:57 ec0bb842ea78: Pulling fs layer 21:17:57 40a00589a448: Pulling fs layer 21:17:57 6c08303d61cc: Pulling fs layer 21:17:57 798269fcf238: Pulling fs layer 21:17:57 6863d3e3a2b1: Waiting 21:17:57 40a00589a448: Waiting 21:17:57 ec0bb842ea78: Waiting 21:17:57 6c08303d61cc: Waiting 21:17:57 6911f1a30b25: Verifying Checksum 21:17:57 6911f1a30b25: Download complete 21:17:58 6863d3e3a2b1: Verifying Checksum 21:17:58 6863d3e3a2b1: Download complete 21:17:58 4db1b89c0bd1: Verifying Checksum 21:17:58 4db1b89c0bd1: Download complete 21:17:58 ec0bb842ea78: Verifying Checksum 21:17:58 ec0bb842ea78: Download complete 21:17:58 40a00589a448: Verifying Checksum 21:17:58 40a00589a448: Download complete 21:17:58 4db1b89c0bd1: Pull complete 21:17:58 6911f1a30b25: Pull complete 21:17:58 798269fcf238: Verifying Checksum 21:17:58 798269fcf238: Download complete 21:17:58 e194b8c5c2a9: Verifying Checksum 21:17:58 e194b8c5c2a9: Download complete 21:17:58 6c08303d61cc: Verifying Checksum 21:17:58 6c08303d61cc: Download complete 21:18:03 e194b8c5c2a9: Pull complete 21:18:03 6863d3e3a2b1: Pull complete 21:18:03 ec0bb842ea78: Pull complete 21:18:03 40a00589a448: Pull complete 21:18:05 6c08303d61cc: Pull complete 21:18:06 798269fcf238: Pull complete 21:18:06 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:18:06 ---> ec979cd7f677 21:18:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:18:10 ---> Running in de70fbb5fda3 21:18:10 Removing intermediate container de70fbb5fda3 21:18:10 ---> 8d12553e172e 21:18:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:10 ---> Running in 688cd347f3af 21:18:10 Removing intermediate container 688cd347f3af 21:18:10 ---> b5be08b8b8e6 21:18:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:18:10 ---> Running in a7e7429ab6b2 21:18:10 Removing intermediate container a7e7429ab6b2 21:18:10 ---> 2b030ed8f53d 21:18:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:18:11 ---> Running in 38153585bc1b 21:18:11 Removing intermediate container 38153585bc1b 21:18:11 ---> 151fe46f889c 21:18:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:11 ---> Running in a32374a54166 21:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:18:11 Still waiting to schedule task 21:18:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1182’ is offline 21:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:18:11 (1/14) Installing libintl (0.21.1-r1) 21:18:11 (2/14) Installing eudev-libs (3.2.11-r4) 21:18:11 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:18:11 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:18:11 (5/14) Installing v4l-utils (1.22.1-r2) 21:18:11 (6/14) Installing udev-init-scripts (35-r1) 21:18:11 (7/14) Installing libblkid (2.38.1-r1) 21:18:11 (8/14) Installing xz-libs (5.2.9-r0) 21:18:11 (9/14) Installing zstd-libs (1.5.5-r0) 21:18:11 (10/14) Installing kmod-libs (30-r1) 21:18:11 (11/14) Installing eudev (3.2.11-r4) 21:18:11 (12/14) Installing eudev-dev (3.2.11-r4) 21:18:11 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:18:11 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:18:11 Executing busybox-1.35.0-r29.trigger 21:18:11 Executing eudev-3.2.11-r4.trigger 21:18:11 OK: 272 MiB in 67 packages 21:18:12 Removing intermediate container a32374a54166 21:18:12 ---> 6de8f6cc316b 21:18:12 Step 8/13 : WORKDIR /device-usb-camera 21:18:12 ---> Running in 269b08f98405 21:18:12 Removing intermediate container 269b08f98405 21:18:12 ---> 8b339bf5ea49 21:18:12 Step 9/13 : COPY go.mod vendor* ./ 21:18:12 ---> 1fc4ffe07877 21:18:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:12 ---> Running in 197560b95661 21:18:39 Removing intermediate container 197560b95661 21:18:39 ---> 6532c49cfffd 21:18:39 Step 11/13 : COPY . . 21:18:39 ---> 7f267f2c5655 21:18:39 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:18:39 ---> Running in ac569c5523ba 21:18:39  % Total % Received % Xferd Average Speed Time Time Time Current 21:18:39 Dload Upload Total Spent Left Speed 21:18:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8124 0 --:--:-- --:--:-- --:--:-- 8169 21:18:40 Removing intermediate container ac569c5523ba 21:18:40 ---> 7a8091c1b855 21:18:40 Step 13/13 : RUN ${MAKE} 21:18:40 ---> Running in 2e82b8b301c4 21:18:40 noop 21:18:40 Removing intermediate container 2e82b8b301c4 21:18:40 ---> 22e788f25867 21:18:40 Successfully built 22e788f25867 21:18:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:41 + docker inspect -f . ci-base-image-x86_64 21:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:41 prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container 21:18:41 $ 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 ******** ci-base-image-x86_64 cat 21:18:41 $ docker top 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:42 + go version 21:18:42 go version go1.20.6 linux/amd64 [Pipeline] } 21:18:42 $ docker stop --time=1 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 21:18:43 $ docker rm -f --volumes 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:43 + docker inspect -f . ci-base-image-x86_64 21:18:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:43 prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container 21:18:43 $ 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 ******** ci-base-image-x86_64 cat 21:18:44 $ docker top 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:44 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 21:18:44 + make test 21:18:44 go test ./... -coverprofile=coverage.out ./... 21:18:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:19:00 # github.com/edgexfoundry/device-usb-camera/internal/driver 21:19:00 internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string 21:19:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:19:01 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 21:19:01 FAIL 21:19:01 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 21:19:01 $ docker stop --time=1 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 21:19:04 $ docker rm -f --volumes 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 [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 21:19:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:05 21:19:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:05 latest: Pulling from edgex-lftools-log-publisher 21:19:05 5eb5b503b376: Pulling fs layer 21:19:05 5c69ac0246d0: Pulling fs layer 21:19:05 ec43610c2a17: Pulling fs layer 21:19:05 3a2ae6a8a46f: Pulling fs layer 21:19:05 33b1e0a273af: Pulling fs layer 21:19:05 5d3b04190fa2: Pulling fs layer 21:19:05 2f39f015ded8: Pulling fs layer 21:19:05 5d3b04190fa2: Waiting 21:19:05 3a2ae6a8a46f: Waiting 21:19:05 2f39f015ded8: Waiting 21:19:05 5c69ac0246d0: Download complete 21:19:05 3a2ae6a8a46f: Download complete 21:19:05 33b1e0a273af: Verifying Checksum 21:19:05 33b1e0a273af: Download complete 21:19:05 ec43610c2a17: Verifying Checksum 21:19:05 ec43610c2a17: Download complete 21:19:05 5d3b04190fa2: Download complete 21:19:05 5eb5b503b376: Verifying Checksum 21:19:05 5eb5b503b376: Download complete 21:19:06 2f39f015ded8: Download complete 21:19:06 5eb5b503b376: Pull complete 21:19:07 5c69ac0246d0: Pull complete 21:19:07 ec43610c2a17: Pull complete 21:19:07 3a2ae6a8a46f: Pull complete 21:19:07 33b1e0a273af: Pull complete 21:19:07 5d3b04190fa2: Pull complete 21:19:12 2f39f015ded8: Pull complete 21:19:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:12 prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container 21:19:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:19:15 $ docker top bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:16 ---> job-cost.sh 21:19:16 lf-activate-venv: SKIPPING 21:19:16 INFO: No Stack... 21:19:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:17 INFO: Archiving Costs [Pipeline] sh 21:19:17 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 21:19:17 + cut -d, -f6 [Pipeline] lock 21:19:17 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] 21:19:17 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] did not exist. Created. 21:19:17 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:17 + echo total: 0.2199999988079071 [Pipeline] stash 21:19:17 Stashed 1 file(s) [Pipeline] } 21:19:17 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:17 $ docker stop --time=1 bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 21:19:18 $ docker rm -f --volumes bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:19:18 Failed in branch amd64 21:19:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1184 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 21:19:50 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 21:19:50 Selected Git installation does not exist. Using Default 21:19:50 The recommended git tool is: NONE 21:19:55 using credential edgex-jenkins-ssh 21:19:55 Cloning the remote Git repository 21:19:55 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:19:56 > git init /w/workspace/device-usb-camera/3 # timeout=10 21:19:56 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:19:56 > git --version # timeout=10 21:19:56 > git --version # 'git version 2.25.1' 21:19:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:57 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:19:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:57 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:19:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:58 > 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 21:19:58 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 16256f212911993d41bf80a6d84ab30d86ead696 21:19:58 Merge succeeded, producing 16256f212911993d41bf80a6d84ab30d86ead696 21:19:58 Checking out Revision 16256f212911993d41bf80a6d84ab30d86ead696 (PR-265) 21:19:58 > git config core.sparsecheckout # timeout=10 21:19:58 > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 21:19:58 > git remote # timeout=10 21:19:58 > git config --get remote.origin.url # timeout=10 21:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:58 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 21:19:58 > git rev-parse HEAD^{commit} # timeout=10 21:19:58 > git config core.sparsecheckout # timeout=10 21:19:58 > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 21:20:02 Commit message: "docs: update postman" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:20:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:03 Dload Upload Total Spent Left Speed 21:20:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 21:20:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:20:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:20:04 + sudo tee /etc/docker/daemon.new 21:20:04 { 21:20:04 "registry-mirrors": [ 21:20:04 "https://nexus3.edgexfoundry.org:10001" 21:20:04 ], 21:20:04 "bip": "10.250.0.254/24", 21:20:04 "hosts": [ 21:20:04 "tcp://0.0.0.0:5555", 21:20:04 "unix:///var/run/docker.sock" 21:20:04 ], 21:20:04 "mtu": 1458, 21:20:04 "selinux-enabled": true, 21:20:04 "seccomp-profile": "/etc/docker/seccomp.json" 21:20:04 } [Pipeline] sh 21:20:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:20:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:23 provisioning config files... 21:20:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config9948254767577659429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:23 ---> docker-login.sh 21:20:23 nexus3.edgexfoundry.org:10001 21:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:24 Configure a credential helper to remove this warning. See 21:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:24 21:20:24 Login Succeeded 21:20:24 nexus3.edgexfoundry.org:10002 21:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:24 Configure a credential helper to remove this warning. See 21:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:24 21:20:24 Login Succeeded 21:20:24 nexus3.edgexfoundry.org:10003 21:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:24 Configure a credential helper to remove this warning. See 21:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:24 21:20:24 Login Succeeded 21:20:24 nexus3.edgexfoundry.org:10004 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 docker.io 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 ---> docker-login.sh ends [Pipeline] } 21:20:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:26 ========================================================= 21:20:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:20:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:20:26 Sending build context to Docker daemon 1.316MB 21:20:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:20:26 Step 2/13 : FROM ${BASE} AS builder 21:20:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:20:28 edb6bdbacee9: Pulling fs layer 21:20:28 5f9638ab2659: Pulling fs layer 21:20:28 8d51d6327a98: Pulling fs layer 21:20:28 8b374f2dd631: Pulling fs layer 21:20:28 ec14aa9079de: Pulling fs layer 21:20:28 2f466654f4bb: Pulling fs layer 21:20:28 554e91adad29: Pulling fs layer 21:20:28 2f466654f4bb: Waiting 21:20:28 554e91adad29: Waiting 21:20:28 8b374f2dd631: Waiting 21:20:28 ec14aa9079de: Waiting 21:20:28 5f9638ab2659: Verifying Checksum 21:20:28 5f9638ab2659: Download complete 21:20:28 8b374f2dd631: Verifying Checksum 21:20:28 8b374f2dd631: Download complete 21:20:28 ec14aa9079de: Verifying Checksum 21:20:28 ec14aa9079de: Download complete 21:20:28 edb6bdbacee9: Verifying Checksum 21:20:29 edb6bdbacee9: Pull complete 21:20:30 554e91adad29: Verifying Checksum 21:20:30 554e91adad29: Download complete 21:20:30 5f9638ab2659: Pull complete 21:20:31 2f466654f4bb: Verifying Checksum 21:20:31 2f466654f4bb: Download complete 21:20:31 8d51d6327a98: Verifying Checksum 21:20:31 8d51d6327a98: Download complete 21:20:43 8d51d6327a98: Pull complete 21:20:43 8b374f2dd631: Pull complete 21:20:43 ec14aa9079de: Pull complete 21:20:49 2f466654f4bb: Pull complete 21:20:51 554e91adad29: Pull complete 21:20:51 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:20:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:20:51 ---> 1e15ea492957 21:20:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:20:53 ---> Running in cd36209a0672 21:20:53 Removing intermediate container cd36209a0672 21:20:53 ---> 0f0e95ad555d 21:20:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:53 ---> Running in 63d5e56d4942 21:20:53 Removing intermediate container 63d5e56d4942 21:20:53 ---> 8927288101b1 21:20:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:20:53 ---> Running in b8edba8d389d 21:20:54 Removing intermediate container b8edba8d389d 21:20:54 ---> 46e3f2df4f2d 21:20:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:20:54 ---> Running in 7e7215a24957 21:20:54 Removing intermediate container 7e7215a24957 21:20:54 ---> 84029a1d7941 21:20:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:54 ---> Running in a7a97d96b938 21:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:57 (1/14) Installing libintl (0.21.1-r1) 21:20:57 (2/14) Installing eudev-libs (3.2.11-r4) 21:20:57 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:20:57 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:20:57 (5/14) Installing v4l-utils (1.22.1-r2) 21:20:57 (6/14) Installing udev-init-scripts (35-r1) 21:20:57 (7/14) Installing libblkid (2.38.1-r1) 21:20:57 (8/14) Installing xz-libs (5.2.9-r0) 21:20:57 (9/14) Installing zstd-libs (1.5.5-r0) 21:20:57 (10/14) Installing kmod-libs (30-r1) 21:20:57 (11/14) Installing eudev (3.2.11-r4) 21:20:57 (12/14) Installing eudev-dev (3.2.11-r4) 21:20:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:20:57 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:20:57 Executing busybox-1.35.0-r29.trigger 21:20:57 Executing eudev-3.2.11-r4.trigger 21:20:57 OK: 271 MiB in 67 packages 21:20:58 Removing intermediate container a7a97d96b938 21:20:58 ---> 16727ed8a030 21:20:58 Step 8/13 : WORKDIR /device-usb-camera 21:20:58 ---> Running in 777b0e16c73d 21:20:58 Removing intermediate container 777b0e16c73d 21:20:58 ---> c9c1edbfa2ad 21:20:58 Step 9/13 : COPY go.mod vendor* ./ 21:20:59 ---> 2897cb247924 21:20:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:59 ---> Running in df2a81c2adc0 21:22:07 Removing intermediate container df2a81c2adc0 21:22:07 ---> 0a8edfde3b60 21:22:07 Step 11/13 : COPY . . 21:22:07 ---> da719d536c47 21:22:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:22:07 ---> Running in bdd4b24eeb6c 21:22:07  % Total % Received % Xferd Average Speed Time Time Time Current 21:22:07 Dload Upload Total Spent Left Speed 21:22:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4443 0 --:--:-- --:--:-- --:--:-- 4462 21:22:07 Removing intermediate container bdd4b24eeb6c 21:22:07 ---> 19c9b2d55703 21:22:07 Step 13/13 : RUN ${MAKE} 21:22:07 ---> Running in 9f59c0557fc2 21:22:07 noop 21:22:07 Removing intermediate container 9f59c0557fc2 21:22:07 ---> 84fe304aedf6 21:22:07 Successfully built 84fe304aedf6 21:22:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:07 + docker inspect -f . ci-base-image-arm64 21:22:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container 21:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:22:09 $ docker top 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:09 + go version 21:22:09 go version go1.20.6 linux/arm64 [Pipeline] } 21:22:09 $ docker stop --time=1 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 21:22:11 $ docker rm -f --volumes 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:12 + docker inspect -f . ci-base-image-arm64 21:22:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:12 prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container 21:22:12 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:22:14 $ docker top b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:14 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 21:22:14 + make test 21:22:14 go test ./... -coverprofile=coverage.out ./... 21:22:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:24:38 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:24:43 # github.com/edgexfoundry/device-usb-camera/internal/driver 21:24:43 internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string 21:24:46 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 21:24:46 FAIL 21:24:46 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 21:24:46 $ docker stop --time=1 b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 21:24:48 $ docker rm -f --volumes b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 [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 21:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:50 21:24:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:50 arm64: Pulling from edgex-lftools-log-publisher 21:24:50 8998bd30e6a1: Pulling fs layer 21:24:50 04944245beec: Pulling fs layer 21:24:50 699f458cf7ca: Pulling fs layer 21:24:50 765212b225bb: Pulling fs layer 21:24:50 f23df028b6ca: Pulling fs layer 21:24:50 d65c8cfc05b1: Pulling fs layer 21:24:50 2437ff75d9bd: Pulling fs layer 21:24:50 f23df028b6ca: Waiting 21:24:50 d65c8cfc05b1: Waiting 21:24:50 2437ff75d9bd: Waiting 21:24:50 765212b225bb: Waiting 21:24:50 04944245beec: Verifying Checksum 21:24:50 04944245beec: Download complete 21:24:50 765212b225bb: Verifying Checksum 21:24:50 765212b225bb: Download complete 21:24:51 f23df028b6ca: Verifying Checksum 21:24:51 f23df028b6ca: Download complete 21:24:51 d65c8cfc05b1: Verifying Checksum 21:24:51 d65c8cfc05b1: Download complete 21:24:51 699f458cf7ca: Verifying Checksum 21:24:51 699f458cf7ca: Download complete 21:24:51 8998bd30e6a1: Verifying Checksum 21:24:51 8998bd30e6a1: Download complete 21:24:54 2437ff75d9bd: Verifying Checksum 21:24:54 2437ff75d9bd: Download complete 21:24:56 8998bd30e6a1: Pull complete 21:24:57 04944245beec: Pull complete 21:24:59 699f458cf7ca: Pull complete 21:24:59 765212b225bb: Pull complete 21:24:59 f23df028b6ca: Pull complete 21:25:00 d65c8cfc05b1: Pull complete 21:25:18 2437ff75d9bd: Pull complete 21:25:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:18 prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container 21:25:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:25:20 $ docker top e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:21 ---> job-cost.sh 21:25:21 lf-activate-venv: SKIPPING 21:25:21 INFO: No Stack... 21:25:21 INFO: Retrieving Pricing Info for: v3-standard-4 21:25:22 INFO: Archiving Costs [Pipeline] sh 21:25:23 + cut -d, -f6 21:25:23 + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock 21:25:23 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] 21:25:23 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] did not exist. Created. 21:25:23 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:23 /w/workspace/device-usb-camera/3@tmp/durable-6dc92bac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:24 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:24 Warning: overwriting stash ‘stack-cost’ 21:25:24 Stashed 1 file(s) [Pipeline] } 21:25:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:25 $ docker stop --time=1 e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 21:25:26 $ docker rm -f --volumes e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:25:26 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 21:25:27 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 21:25:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:25:27 total 16 21:25:27 drwxr-xr-x 3 root root 4096 Jul 14 21:19 . 21:25:27 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:19 .. 21:25:27 drwxr-xr-x 2 root root 4096 Jul 14 21:19 cost 21:25:27 -rw-r--r-- 1 root root 89 Jul 14 21:19 cost.csv 21:25:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 21:25:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:25:27 total 16 21:25:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 21:19 . 21:25:27 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:19 .. 21:25:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 21:19 cost 21:25:27 -rw-r--r-- 1 jenkins jenkins 89 Jul 14 21:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:25:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:25:28 ---> package-listing.sh 21:25:28 ++ tr '[:upper:]' '[:lower:]' 21:25:28 ++ facter osfamily 21:25:28 + OS_FAMILY=debian 21:25:28 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 21:25:28 + START_PACKAGES=/tmp/packages_start.txt 21:25:28 + END_PACKAGES=/tmp/packages_end.txt 21:25:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:25:28 + PACKAGES=/tmp/packages_start.txt 21:25:28 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:25:28 + PACKAGES=/tmp/packages_end.txt 21:25:28 + case "${OS_FAMILY}" in 21:25:28 + dpkg -l 21:25:28 + grep '^ii' 21:25:28 + '[' -f /tmp/packages_start.txt ']' 21:25:28 + '[' -f /tmp/packages_end.txt ']' 21:25:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:25:28 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:25:28 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 21:25:28 + 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 21:25:28 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 21:25:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:29 prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container 21:25:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:25:30 $ docker top 4fbad5d48272951e83d42fedf1a82b0fbcfbd5f3050411b94dcfb3c12590b954 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:30 + touch /tmp/pre-build-complete [Pipeline] sh 21:25:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:25:31 + ls /var/log/sa-host 21:25:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:31 provisioning config files... 21:25:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config10682156217125266010tmp [Pipeline] { [Pipeline] echo 21:25:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:25:31 ---> create-netrc.sh [Pipeline] } 21:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:25:31 ---> python-tools-install.sh [Pipeline] echo 21:25:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:25:32 ---> sudo-logs.sh 21:25:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:25:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:25:32 ---> job-cost.sh 21:25:32 lf-activate-venv: SKIPPING 21:25:32 DEBUG: total: 0.2199999988079071 21:25:32 INFO: Retrieving Stack Cost... 21:25:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:25:33 INFO: Archiving Costs [Pipeline] echo 21:25:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:25:33 ---> logs-deploy.sh 21:25:33 lf-activate-venv: SKIPPING 21:25:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/3 21:25:33 INFO: archiving workspace using pattern(s): 21:25:34 Archives upload complete. 21:25:34 INFO: archiving logs to Nexus