Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 090f2cb776ceca5f9494d7a2b803e5e546f6570d+96327e049a2d26e356251a4ee56d80af5c884d85 (c35d9ee0603bb032a0f0623d5d1ed6cb90dd9e18) 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-ssh8624332429415670754.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2545141804146638838.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11261400157986292194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15600072523028772352.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9435408194854225567.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18025115983458697070.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4911’ Running on prd-ubuntu20.04-docker-8c-8g-4915 in /w/workspace/foundry_device-usb-camera_PR-196 [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-196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 090f2cb776ceca5f9494d7a2b803e5e546f6570d Merge succeeded, producing 090f2cb776ceca5f9494d7a2b803e5e546f6570d Checking out Revision 090f2cb776ceca5f9494d7a2b803e5e546f6570d (PR-196) > 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/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 090f2cb776ceca5f9494d7a2b803e5e546f6570d # 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 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 090f2cb776ceca5f9494d7a2b803e5e546f6570d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T18:05:34.216Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T18:05:34.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T18:05:34.478Z] ========================================================= [2023-03-21T18:05:34.478Z] EdgeX Global Pipelines Version Info [2023-03-21T18:05:34.478Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:05:35.211Z] ------------------- [2023-03-21T18:05:35.211Z] stable info: [2023-03-21T18:05:35.211Z] ------------------- [2023-03-21T18:05:35.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T18:05:35.211Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T18:05:35.211Z] Message: update stable to v1.0.245 [2023-03-21T18:05:35.781Z] ------------------- [2023-03-21T18:05:35.781Z] experimental info: [2023-03-21T18:05:35.781Z] ------------------- [2023-03-21T18:05:35.781Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T18:05:35.781Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T18:05:35.781Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T18:05:36.081Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-21T18:05:36.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-21T18:05:36.155Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T18:05:36.195Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T18:05:36.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T18:05:36.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T18:05:36.312Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T18:05:36.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T18:05:36.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T18:05:36.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T18:05:36.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T18:05:36.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-21T18:05:36.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T18:05:36.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T18:05:36.627Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T18:05:36.668Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T18:05:36.715Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T18:05:36.757Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T18:05:36.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T18:05:36.973Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T18:05:37.081Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T18:05:37.132Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T18:05:37.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T18:05:37.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T18:05:37.265Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T18:05:37.305Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T18:05:37.347Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T18:05:37.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo [2023-03-21T18:05:37.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo [2023-03-21T18:05:37.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo [2023-03-21T18:05:37.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 090f2cb776ceca5f9494d7a2b803e5e546f6570d [Pipeline] echo [2023-03-21T18:05:37.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 090f2cb [Pipeline] echo [2023-03-21T18:05:37.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T18:05:37.697Z] provisioning config files... [2023-03-21T18:05:37.713Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-196@tmp/config9565773929411189199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:05:38.053Z] ---> docker-login.sh [2023-03-21T18:05:38.053Z] nexus3.edgexfoundry.org:10001 [2023-03-21T18:05:38.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:38.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:38.313Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:38.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:38.313Z] [2023-03-21T18:05:38.313Z] Login Succeeded [2023-03-21T18:05:38.313Z] nexus3.edgexfoundry.org:10002 [2023-03-21T18:05:38.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:38.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:38.313Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:38.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:38.313Z] [2023-03-21T18:05:38.313Z] Login Succeeded [2023-03-21T18:05:38.313Z] nexus3.edgexfoundry.org:10003 [2023-03-21T18:05:38.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:38.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:38.572Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:38.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:38.572Z] [2023-03-21T18:05:38.572Z] Login Succeeded [2023-03-21T18:05:38.572Z] nexus3.edgexfoundry.org:10004 [2023-03-21T18:05:38.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:38.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:38.572Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:38.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:38.572Z] [2023-03-21T18:05:38.572Z] Login Succeeded [2023-03-21T18:05:38.572Z] docker.io [2023-03-21T18:05:38.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:38.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:38.831Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:38.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:38.831Z] [2023-03-21T18:05:38.831Z] Login Succeeded [2023-03-21T18:05:38.831Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T18:05:38.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T18:05:39.480Z] + git rev-list -1 --merges 090f2cb776ceca5f9494d7a2b803e5e546f6570d~1..090f2cb776ceca5f9494d7a2b803e5e546f6570d [Pipeline] echo [2023-03-21T18:05:39.549Z] -----------> git rev-list -1 --merges 090f2cb776ceca5f9494d7a2b803e5e546f6570d~1..090f2cb776ceca5f9494d7a2b803e5e546f6570d 090f2cb776ceca5f9494d7a2b803e5e546f6570d [false] [Pipeline] sh [2023-03-21T18:05:39.859Z] + git log --format=format:%s -1 090f2cb776ceca5f9494d7a2b803e5e546f6570d [Pipeline] echo [2023-03-21T18:05:39.892Z] ========================================================= [2023-03-21T18:05:39.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T18:05:39.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T18:05:40.328Z] + git log --format=format:%s -1 090f2cb776ceca5f9494d7a2b803e5e546f6570d [Pipeline] echo [2023-03-21T18:05:40.364Z] [semverPrep] GIT_COMMIT: 090f2cb776ceca5f9494d7a2b803e5e546f6570d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-21T18:05:40.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T18:05:40.764Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T18:05:40.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T18:05:40.764Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T18:05:40.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T18:05:40.764Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T18:05:40.764Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T18:05:40.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:05:41.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T18:05:41.235Z] [2023-03-21T18:05:41.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:05:41.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T18:05:41.610Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T18:05:41.610Z] b85a868b505f: Pulling fs layer [2023-03-21T18:05:41.610Z] e2be974225ed: Pulling fs layer [2023-03-21T18:05:41.610Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T18:05:41.610Z] 988bab9f4d93: Pulling fs layer [2023-03-21T18:05:41.610Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T18:05:41.610Z] eaf3925da568: Pulling fs layer [2023-03-21T18:05:41.610Z] bab4dde63d76: Pulling fs layer [2023-03-21T18:05:41.610Z] bde34c3a00c8: Pulling fs layer [2023-03-21T18:05:41.610Z] b352a97aabf1: Pulling fs layer [2023-03-21T18:05:41.610Z] 4872d77fe225: Pulling fs layer [2023-03-21T18:05:41.610Z] 5851b861e8e6: Pulling fs layer [2023-03-21T18:05:41.610Z] 4872d77fe225: Waiting [2023-03-21T18:05:41.610Z] bab4dde63d76: Waiting [2023-03-21T18:05:41.610Z] 5851b861e8e6: Waiting [2023-03-21T18:05:41.610Z] bde34c3a00c8: Waiting [2023-03-21T18:05:41.610Z] b352a97aabf1: Waiting [2023-03-21T18:05:41.610Z] 988bab9f4d93: Waiting [2023-03-21T18:05:41.610Z] 1469e6f7b9e6: Waiting [2023-03-21T18:05:41.610Z] eaf3925da568: Waiting [2023-03-21T18:05:41.610Z] e2be974225ed: Verifying Checksum [2023-03-21T18:05:41.610Z] e2be974225ed: Download complete [2023-03-21T18:05:41.610Z] 988bab9f4d93: Verifying Checksum [2023-03-21T18:05:41.610Z] 988bab9f4d93: Download complete [2023-03-21T18:05:41.867Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T18:05:41.867Z] 1469e6f7b9e6: Download complete [2023-03-21T18:05:41.867Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T18:05:41.867Z] 339a4e72a1f5: Download complete [2023-03-21T18:05:41.867Z] eaf3925da568: Verifying Checksum [2023-03-21T18:05:41.867Z] eaf3925da568: Download complete [2023-03-21T18:05:41.867Z] bde34c3a00c8: Verifying Checksum [2023-03-21T18:05:41.867Z] bde34c3a00c8: Download complete [2023-03-21T18:05:41.867Z] b352a97aabf1: Download complete [2023-03-21T18:05:41.867Z] 4872d77fe225: Verifying Checksum [2023-03-21T18:05:41.867Z] 4872d77fe225: Download complete [2023-03-21T18:05:41.867Z] 5851b861e8e6: Verifying Checksum [2023-03-21T18:05:41.867Z] 5851b861e8e6: Download complete [2023-03-21T18:05:41.867Z] b85a868b505f: Verifying Checksum [2023-03-21T18:05:41.867Z] b85a868b505f: Download complete [2023-03-21T18:05:42.127Z] bab4dde63d76: Verifying Checksum [2023-03-21T18:05:42.127Z] bab4dde63d76: Download complete [2023-03-21T18:05:43.060Z] b85a868b505f: Pull complete [2023-03-21T18:05:43.319Z] e2be974225ed: Pull complete [2023-03-21T18:05:43.580Z] 339a4e72a1f5: Pull complete [2023-03-21T18:05:43.580Z] 988bab9f4d93: Pull complete [2023-03-21T18:05:43.838Z] 1469e6f7b9e6: Pull complete [2023-03-21T18:05:44.095Z] eaf3925da568: Pull complete [2023-03-21T18:05:45.469Z] bab4dde63d76: Pull complete [2023-03-21T18:05:45.727Z] bde34c3a00c8: Pull complete [2023-03-21T18:05:45.727Z] b352a97aabf1: Pull complete [2023-03-21T18:05:45.727Z] 4872d77fe225: Pull complete [2023-03-21T18:05:45.986Z] 5851b861e8e6: Pull complete [2023-03-21T18:05:45.986Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T18:05:45.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T18:05:45.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:05:46.222Z] prd-ubuntu20.04-docker-8c-8g-4915 does not seem to be running inside a container [2023-03-21T18:05:46.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-196 -v /w/workspace/foundry_device-usb-camera_PR-196:/w/workspace/foundry_device-usb-camera_PR-196:rw,z -v /w/workspace/foundry_device-usb-camera_PR-196@tmp:/w/workspace/foundry_device-usb-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T18:05:49.313Z] $ docker top 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 -eo pid,comm [2023-03-21T18:05:49.360Z] 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). [2023-03-21T18:05:49.360Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T18:05:49.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T18:05:49.484Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T18:05:49.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T18:05:49.618Z] $ docker exec 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 ssh-agent [2023-03-21T18:05:49.706Z] SSH_AUTH_SOCK=/tmp/ssh-DZ9wsFoHF5M3/agent.31 [2023-03-21T18:05:49.706Z] SSH_AGENT_PID=37 [2023-03-21T18:05:49.712Z] Running ssh-add (command line suppressed) [2023-03-21T18:05:49.822Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-196@tmp/private_key_3282397771795535316.key (/w/workspace/foundry_device-usb-camera_PR-196@tmp/private_key_3282397771795535316.key) [2023-03-21T18:05:49.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T18:05:50.161Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T18:05:50.190Z] $ docker exec --env ******** --env ******** 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 ssh-agent -k [2023-03-21T18:05:50.281Z] unset SSH_AUTH_SOCK; [2023-03-21T18:05:50.282Z] unset SSH_AGENT_PID; [2023-03-21T18:05:50.282Z] echo Agent pid 37 killed; [2023-03-21T18:05:50.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T18:05:50.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T18:05:50.372Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T18:05:50.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T18:05:50.486Z] $ docker exec 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 ssh-agent [2023-03-21T18:05:50.591Z] SSH_AUTH_SOCK=/tmp/ssh-WqSX4bvIc7a0/agent.69 [2023-03-21T18:05:50.591Z] SSH_AGENT_PID=75 [2023-03-21T18:05:50.596Z] Running ssh-add (command line suppressed) [2023-03-21T18:05:50.690Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-196@tmp/private_key_15092487289771396394.key (/w/workspace/foundry_device-usb-camera_PR-196@tmp/private_key_15092487289771396394.key) [2023-03-21T18:05:50.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T18:05:51.033Z] + git semver init [2023-03-21T18:05:51.292Z] 2023-03-21 18:05:51,219 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T18:05:51.292Z] 2023-03-21 18:05:51,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-196/.semver [2023-03-21T18:05:51.293Z] 2023-03-21 18:05:51,220 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-196/.semver [2023-03-21T18:05:51.293Z] 2023-03-21 18:05:51,220 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-196/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-196, universal_newlines=False, shell=None, istream=None) [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,877 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-196/.git/info/exclude [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-196/.semver/PR-196 with force:False [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,877 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-196/.semver/PR-196 [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,881 [execute] INFO git cat-file --batch-check [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,888 [execute] INFO git cat-file --batch [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T18:05:52.232Z] 2023-03-21 18:05:51,893 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-196/.semver/PR-196 [2023-03-21T18:05:52.232Z] 0.0.0 [Pipeline] } [2023-03-21T18:05:52.265Z] $ docker exec --env ******** --env ******** 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 ssh-agent -k [2023-03-21T18:05:52.349Z] unset SSH_AUTH_SOCK; [2023-03-21T18:05:52.349Z] unset SSH_AGENT_PID; [2023-03-21T18:05:52.349Z] echo Agent pid 75 killed; [2023-03-21T18:05:52.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T18:05:52.785Z] + git semver [Pipeline] } [2023-03-21T18:05:53.072Z] $ docker stop --time=1 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 [2023-03-21T18:05:54.384Z] $ docker rm -f --volumes 3e5933b1be6ae920b5f01c0b310532b15ca5c5fb68546afb567a06d9f99ea091 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T18:05:54.782Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T18:05:55.038Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T18:05:55.058Z] [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 [2023-03-21T18:05:55.638Z] provisioning config files... [2023-03-21T18:05:55.648Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-196@tmp/config12039504212516096775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:05:55.993Z] ---> docker-login.sh [2023-03-21T18:05:55.993Z] nexus3.edgexfoundry.org:10001 [2023-03-21T18:05:55.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:55.993Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:55.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:55.993Z] [2023-03-21T18:05:55.993Z] Login Succeeded [2023-03-21T18:05:55.993Z] nexus3.edgexfoundry.org:10002 [2023-03-21T18:05:55.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:55.993Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:55.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:55.993Z] [2023-03-21T18:05:55.993Z] Login Succeeded [2023-03-21T18:05:55.993Z] nexus3.edgexfoundry.org:10003 [2023-03-21T18:05:56.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:56.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:56.251Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:56.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:56.251Z] [2023-03-21T18:05:56.251Z] Login Succeeded [2023-03-21T18:05:56.251Z] nexus3.edgexfoundry.org:10004 [2023-03-21T18:05:56.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:56.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:56.251Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:56.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:56.251Z] [2023-03-21T18:05:56.251Z] Login Succeeded [2023-03-21T18:05:56.251Z] docker.io [2023-03-21T18:05:56.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:05:56.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:05:56.510Z] Configure a credential helper to remove this warning. See [2023-03-21T18:05:56.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:05:56.510Z] [2023-03-21T18:05:56.510Z] Login Succeeded [2023-03-21T18:05:56.510Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T18:05:56.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T18:05:56.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T18:05:56.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T18:05:56.805Z] ========================================================= [2023-03-21T18:05:56.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T18:05:56.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:05:57.269Z] + 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 . [2023-03-21T18:05:57.270Z] Sending build context to Docker daemon 1.805MB [2023-03-21T18:05:57.270Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T18:05:57.270Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T18:05:57.270Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T18:05:57.270Z] 63b65145d645: Pulling fs layer [2023-03-21T18:05:57.270Z] a2d21d5440eb: Pulling fs layer [2023-03-21T18:05:57.270Z] 935e6c44a52c: Pulling fs layer [2023-03-21T18:05:57.270Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T18:05:57.270Z] 30dea6a524f1: Pulling fs layer [2023-03-21T18:05:57.270Z] a2aff8979fd8: Pulling fs layer [2023-03-21T18:05:57.270Z] 6808be2612f2: Pulling fs layer [2023-03-21T18:05:57.270Z] f25807f1079a: Pulling fs layer [2023-03-21T18:05:57.270Z] 6808be2612f2: Waiting [2023-03-21T18:05:57.270Z] f25807f1079a: Waiting [2023-03-21T18:05:57.270Z] 30dea6a524f1: Waiting [2023-03-21T18:05:57.270Z] 94cc34f8dd06: Waiting [2023-03-21T18:05:57.270Z] a2aff8979fd8: Waiting [2023-03-21T18:05:57.270Z] a2d21d5440eb: Verifying Checksum [2023-03-21T18:05:57.270Z] a2d21d5440eb: Download complete [2023-03-21T18:05:57.270Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T18:05:57.270Z] 94cc34f8dd06: Download complete [2023-03-21T18:05:57.270Z] 30dea6a524f1: Verifying Checksum [2023-03-21T18:05:57.270Z] 30dea6a524f1: Download complete [2023-03-21T18:05:57.530Z] 63b65145d645: Verifying Checksum [2023-03-21T18:05:57.530Z] 63b65145d645: Download complete [2023-03-21T18:05:57.530Z] a2aff8979fd8: Verifying Checksum [2023-03-21T18:05:57.530Z] a2aff8979fd8: Download complete [2023-03-21T18:05:57.530Z] 63b65145d645: Pull complete [2023-03-21T18:05:57.794Z] a2d21d5440eb: Pull complete [2023-03-21T18:05:58.055Z] f25807f1079a: Verifying Checksum [2023-03-21T18:05:58.055Z] f25807f1079a: Download complete [2023-03-21T18:05:58.055Z] 935e6c44a52c: Verifying Checksum [2023-03-21T18:05:58.055Z] 935e6c44a52c: Download complete [2023-03-21T18:05:58.313Z] 6808be2612f2: Verifying Checksum [2023-03-21T18:05:58.313Z] 6808be2612f2: Download complete [2023-03-21T18:06:01.595Z] 935e6c44a52c: Pull complete [2023-03-21T18:06:01.595Z] 94cc34f8dd06: Pull complete [2023-03-21T18:06:01.595Z] 30dea6a524f1: Pull complete [2023-03-21T18:06:01.595Z] a2aff8979fd8: Pull complete [2023-03-21T18:06:04.120Z] 6808be2612f2: Pull complete [2023-03-21T18:06:04.380Z] f25807f1079a: Pull complete [2023-03-21T18:06:04.380Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T18:06:04.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T18:06:04.380Z] ---> 3b553350e43f [2023-03-21T18:06:04.380Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T18:06:10.463Z] Still waiting to schedule task [2023-03-21T18:06:10.464Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4914’ [2023-03-21T18:06:11.044Z] ---> Running in 4117adaac6a1 [2023-03-21T18:06:11.044Z] Removing intermediate container 4117adaac6a1 [2023-03-21T18:06:11.044Z] ---> c7128b9ceddc [2023-03-21T18:06:11.044Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T18:06:11.044Z] ---> Running in 2d34ae967095 [2023-03-21T18:06:11.044Z] Removing intermediate container 2d34ae967095 [2023-03-21T18:06:11.044Z] ---> 417ed92f42de [2023-03-21T18:06:11.044Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-21T18:06:11.044Z] ---> Running in 06a0b682ff26 [2023-03-21T18:06:11.044Z] Removing intermediate container 06a0b682ff26 [2023-03-21T18:06:11.044Z] ---> 6ef572b327ad [2023-03-21T18:06:11.044Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T18:06:11.044Z] ---> Running in 121824986b88 [2023-03-21T18:06:11.044Z] Removing intermediate container 121824986b88 [2023-03-21T18:06:11.044Z] ---> db04e7ac6be7 [2023-03-21T18:06:11.044Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T18:06:11.044Z] ---> Running in 7d11bce67b56 [2023-03-21T18:06:11.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T18:06:11.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T18:06:11.044Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-21T18:06:11.044Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-21T18:06:11.044Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-21T18:06:11.044Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-21T18:06:11.044Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-21T18:06:11.044Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-21T18:06:11.044Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-21T18:06:11.044Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-21T18:06:11.044Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-21T18:06:11.044Z] (10/14) Installing kmod-libs (30-r1) [2023-03-21T18:06:11.044Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-21T18:06:11.044Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-21T18:06:11.044Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-21T18:06:11.044Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-21T18:06:11.305Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T18:06:11.305Z] Executing eudev-3.2.11-r4.trigger [2023-03-21T18:06:11.305Z] OK: 272 MiB in 67 packages [2023-03-21T18:06:11.874Z] Removing intermediate container 7d11bce67b56 [2023-03-21T18:06:11.874Z] ---> feb41624e46e [2023-03-21T18:06:11.874Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T18:06:11.874Z] ---> Running in 63a79669680d [2023-03-21T18:06:11.874Z] Removing intermediate container 63a79669680d [2023-03-21T18:06:11.874Z] ---> 49951a74a297 [2023-03-21T18:06:11.874Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T18:06:11.874Z] ---> 2f7c832b17ca [2023-03-21T18:06:11.874Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T18:06:12.132Z] ---> Running in 3a001bfccf51 [2023-03-21T18:06:44.358Z] Removing intermediate container 3a001bfccf51 [2023-03-21T18:06:44.358Z] ---> 4afb66c29237 [2023-03-21T18:06:44.358Z] Step 11/13 : COPY . . [2023-03-21T18:06:44.358Z] ---> 66cbf88ed24f [2023-03-21T18:06:44.358Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T18:06:44.358Z] ---> Running in a6f89f49ca80 [2023-03-21T18:06:44.358Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T18:06:44.358Z] Dload Upload Total Spent Left Speed [2023-03-21T18:06:44.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19204 0 --:--:-- --:--:-- --:--:-- 19309 [2023-03-21T18:06:44.358Z] Removing intermediate container a6f89f49ca80 [2023-03-21T18:06:44.358Z] ---> b19ad42b517a [2023-03-21T18:06:44.358Z] Step 13/13 : RUN ${MAKE} [2023-03-21T18:06:44.358Z] ---> Running in 536c395952a6 [2023-03-21T18:06:44.358Z] noop [2023-03-21T18:06:44.358Z] Removing intermediate container 536c395952a6 [2023-03-21T18:06:44.358Z] ---> 75cc584e0137 [2023-03-21T18:06:44.358Z] Successfully built 75cc584e0137 [2023-03-21T18:06:44.358Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:06:44.907Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T18:06:44.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:06:45.068Z] prd-ubuntu20.04-docker-8c-8g-4915 does not seem to be running inside a container [2023-03-21T18:06:45.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-196 -v /w/workspace/foundry_device-usb-camera_PR-196:/w/workspace/foundry_device-usb-camera_PR-196:rw,z -v /w/workspace/foundry_device-usb-camera_PR-196@tmp:/w/workspace/foundry_device-usb-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T18:06:45.442Z] $ docker top a8816a5b49f842cea7c6696da0b7d54af1b07620fdf521de8fbf77f74d4fe77c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T18:06:45.842Z] + go version [2023-03-21T18:06:45.842Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T18:06:45.877Z] $ docker stop --time=1 a8816a5b49f842cea7c6696da0b7d54af1b07620fdf521de8fbf77f74d4fe77c [2023-03-21T18:06:47.105Z] $ docker rm -f --volumes a8816a5b49f842cea7c6696da0b7d54af1b07620fdf521de8fbf77f74d4fe77c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:06:47.829Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T18:06:47.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:06:47.990Z] prd-ubuntu20.04-docker-8c-8g-4915 does not seem to be running inside a container [2023-03-21T18:06:48.028Z] $ 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-196 -v /w/workspace/foundry_device-usb-camera_PR-196:/w/workspace/foundry_device-usb-camera_PR-196:rw,z -v /w/workspace/foundry_device-usb-camera_PR-196@tmp:/w/workspace/foundry_device-usb-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T18:06:48.341Z] $ docker top 441b44a545f31c4964223e3065fe6725decda986040ed7ab252f18c940b727d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T18:06:48.735Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-196 [Pipeline] fileExists [Pipeline] sh [2023-03-21T18:06:49.098Z] + make test [2023-03-21T18:06:49.098Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T18:06:54.366Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T18:07:04.326Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-21T18:07:04.326Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-21T18:07:04.326Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-21T18:07:04.326Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-21T18:07:04.326Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-21T18:07:04.326Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-21T18:07:04.326Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-21T18:07:04.326Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-21T18:07:04.326Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-21T18:07:04.326Z] FAIL [2023-03-21T18:07:04.326Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-21T18:07:04.370Z] $ docker stop --time=1 441b44a545f31c4964223e3065fe6725decda986040ed7ab252f18c940b727d2 [2023-03-21T18:07:07.561Z] $ docker rm -f --volumes 441b44a545f31c4964223e3065fe6725decda986040ed7ab252f18c940b727d2 [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 [2023-03-21T18:07:08.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T18:07:08.731Z] [2023-03-21T18:07:08.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:07:09.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T18:07:09.148Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T18:07:09.148Z] 5eb5b503b376: Pulling fs layer [2023-03-21T18:07:09.148Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T18:07:09.148Z] ec43610c2a17: Pulling fs layer [2023-03-21T18:07:09.148Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T18:07:09.148Z] 33b1e0a273af: Pulling fs layer [2023-03-21T18:07:09.148Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T18:07:09.148Z] 2f39f015ded8: Pulling fs layer [2023-03-21T18:07:09.148Z] 5d3b04190fa2: Waiting [2023-03-21T18:07:09.148Z] 33b1e0a273af: Waiting [2023-03-21T18:07:09.148Z] 2f39f015ded8: Waiting [2023-03-21T18:07:09.148Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T18:07:09.148Z] 5c69ac0246d0: Download complete [2023-03-21T18:07:09.148Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T18:07:09.148Z] 3a2ae6a8a46f: Download complete [2023-03-21T18:07:09.148Z] 33b1e0a273af: Verifying Checksum [2023-03-21T18:07:09.148Z] 33b1e0a273af: Download complete [2023-03-21T18:07:09.408Z] ec43610c2a17: Verifying Checksum [2023-03-21T18:07:09.408Z] ec43610c2a17: Download complete [2023-03-21T18:07:09.408Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T18:07:09.408Z] 5d3b04190fa2: Download complete [2023-03-21T18:07:09.408Z] 5eb5b503b376: Verifying Checksum [2023-03-21T18:07:09.408Z] 5eb5b503b376: Download complete [2023-03-21T18:07:09.976Z] 2f39f015ded8: Download complete [2023-03-21T18:07:10.541Z] 5eb5b503b376: Pull complete [2023-03-21T18:07:10.801Z] 5c69ac0246d0: Pull complete [2023-03-21T18:07:11.060Z] ec43610c2a17: Pull complete [2023-03-21T18:07:11.319Z] 3a2ae6a8a46f: Pull complete [2023-03-21T18:07:11.319Z] 33b1e0a273af: Pull complete [2023-03-21T18:07:11.578Z] 5d3b04190fa2: Pull complete [2023-03-21T18:07:16.849Z] 2f39f015ded8: Pull complete [2023-03-21T18:07:16.849Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T18:07:16.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T18:07:16.849Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:07:17.046Z] prd-ubuntu20.04-docker-8c-8g-4915 does not seem to be running inside a container [2023-03-21T18:07:17.080Z] $ 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-196 -v /w/workspace/foundry_device-usb-camera_PR-196:/w/workspace/foundry_device-usb-camera_PR-196:rw,z -v /w/workspace/foundry_device-usb-camera_PR-196@tmp:/w/workspace/foundry_device-usb-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T18:07:23.393Z] $ docker top 0ba1eb5240283bab4673642446d6be23f3ece020cd821a52a5d704a92c3c8cca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:07:23.849Z] ---> job-cost.sh [2023-03-21T18:07:23.849Z] lf-activate-venv: SKIPPING [2023-03-21T18:07:23.849Z] INFO: No Stack... [2023-03-21T18:07:24.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T18:07:24.676Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T18:07:24.990Z] + cut -d, -f6 [2023-03-21T18:07:24.990Z] + cat /w/workspace/foundry_device-usb-camera_PR-196/archives/cost.csv [Pipeline] lock [2023-03-21T18:07:25.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [2023-03-21T18:07:25.035Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] did not exist. Created. [2023-03-21T18:07:25.035Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T18:07:25.422Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T18:07:25.477Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T18:07:25.498Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T18:07:25.582Z] $ docker stop --time=1 0ba1eb5240283bab4673642446d6be23f3ece020cd821a52a5d704a92c3c8cca [2023-03-21T18:07:26.726Z] $ docker rm -f --volumes 0ba1eb5240283bab4673642446d6be23f3ece020cd821a52a5d704a92c3c8cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T18:07:27.081Z] Failed in branch amd64 [2023-03-21T18:08:25.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4917 in /w/workspace/foundry_device-usb-camera_PR-196 [Pipeline] { [Pipeline] ws [2023-03-21T18:08:25.884Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-21T18:08:25.968Z] Selected Git installation does not exist. Using Default [2023-03-21T18:08:25.968Z] The recommended git tool is: NONE [2023-03-21T18:08:31.771Z] using credential edgex-jenkins-ssh [2023-03-21T18:08:31.791Z] Cloning the remote Git repository [2023-03-21T18:08:31.841Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T18:08:31.947Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-21T18:08:32.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T18:08:32.111Z] > git --version # timeout=10 [2023-03-21T18:08:32.134Z] > git --version # 'git version 2.25.1' [2023-03-21T18:08:32.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T18:08:32.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T18:08:33.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T18:08:33.056Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T18:08:34.609Z] Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 090f2cb776ceca5f9494d7a2b803e5e546f6570d [2023-03-21T18:08:34.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T18:08:34.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T18:08:34.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T18:08:34.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T18:08:34.630Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T18:08:34.702Z] > git checkout -f 090f2cb776ceca5f9494d7a2b803e5e546f6570d # timeout=10 [2023-03-21T18:08:34.925Z] Merge succeeded, producing 090f2cb776ceca5f9494d7a2b803e5e546f6570d [2023-03-21T18:08:34.926Z] Checking out Revision 090f2cb776ceca5f9494d7a2b803e5e546f6570d (PR-196) [2023-03-21T18:08:35.478Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-21T18:08:35.530Z] > git --version # timeout=10 [2023-03-21T18:08:35.547Z] > git --version # 'git version 2.25.1' [2023-03-21T18:08:35.559Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-21T18:08:34.809Z] > git remote # timeout=10 [2023-03-21T18:08:34.834Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T18:08:34.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T18:08:34.873Z] > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 [2023-03-21T18:08:34.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T18:08:34.933Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T18:08:34.952Z] > git checkout -f 090f2cb776ceca5f9494d7a2b803e5e546f6570d # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T18:08:36.702Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T18:08:36.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T18:08:36.702Z] Dload Upload Total Spent Left Speed [2023-03-21T18:08:36.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 254k [Pipeline] sh [2023-03-21T18:08:37.376Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T18:08:37.729Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T18:08:37.729Z] + sudo tee /etc/docker/daemon.new [2023-03-21T18:08:37.729Z] { [2023-03-21T18:08:37.729Z] "registry-mirrors": [ [2023-03-21T18:08:37.729Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T18:08:37.729Z] ], [2023-03-21T18:08:37.729Z] "bip": "10.250.0.254/24", [2023-03-21T18:08:37.729Z] "hosts": [ [2023-03-21T18:08:37.729Z] "tcp://0.0.0.0:5555", [2023-03-21T18:08:37.729Z] "unix:///var/run/docker.sock" [2023-03-21T18:08:37.729Z] ], [2023-03-21T18:08:37.729Z] "mtu": 1458, [2023-03-21T18:08:37.729Z] "selinux-enabled": true, [2023-03-21T18:08:37.729Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T18:08:37.729Z] } [Pipeline] sh [2023-03-21T18:08:38.087Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T18:08:38.510Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T18:08:56.843Z] provisioning config files... [2023-03-21T18:08:56.875Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3769395115809078882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:08:57.268Z] ---> docker-login.sh [2023-03-21T18:08:57.268Z] nexus3.edgexfoundry.org:10001 [2023-03-21T18:08:57.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:08:57.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:08:57.863Z] Configure a credential helper to remove this warning. See [2023-03-21T18:08:57.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:08:57.863Z] [2023-03-21T18:08:57.863Z] Login Succeeded [2023-03-21T18:08:57.863Z] nexus3.edgexfoundry.org:10002 [2023-03-21T18:08:58.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:08:58.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:08:58.405Z] Configure a credential helper to remove this warning. See [2023-03-21T18:08:58.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:08:58.405Z] [2023-03-21T18:08:58.405Z] Login Succeeded [2023-03-21T18:08:58.406Z] nexus3.edgexfoundry.org:10003 [2023-03-21T18:08:58.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:08:58.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:08:58.681Z] Configure a credential helper to remove this warning. See [2023-03-21T18:08:58.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:08:58.681Z] [2023-03-21T18:08:58.681Z] Login Succeeded [2023-03-21T18:08:58.681Z] nexus3.edgexfoundry.org:10004 [2023-03-21T18:08:58.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:08:58.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:08:58.956Z] Configure a credential helper to remove this warning. See [2023-03-21T18:08:58.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:08:58.956Z] [2023-03-21T18:08:58.956Z] Login Succeeded [2023-03-21T18:08:59.230Z] docker.io [2023-03-21T18:08:59.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T18:08:59.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T18:08:59.500Z] Configure a credential helper to remove this warning. See [2023-03-21T18:08:59.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T18:08:59.500Z] [2023-03-21T18:08:59.500Z] Login Succeeded [2023-03-21T18:08:59.500Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T18:08:59.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T18:08:59.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T18:08:59.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T18:08:59.989Z] ========================================================= [2023-03-21T18:08:59.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T18:08:59.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:09:00.481Z] + 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 . [2023-03-21T18:09:00.756Z] Sending build context to Docker daemon 1.163MB [2023-03-21T18:09:00.756Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T18:09:00.756Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T18:09:01.027Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T18:09:01.027Z] af6eaf76a39c: Pulling fs layer [2023-03-21T18:09:01.027Z] 55522c791124: Pulling fs layer [2023-03-21T18:09:01.027Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T18:09:01.027Z] 169dfbe0d373: Pulling fs layer [2023-03-21T18:09:01.027Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T18:09:01.027Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T18:09:01.027Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T18:09:01.028Z] 169dfbe0d373: Waiting [2023-03-21T18:09:01.028Z] e1ff8fa3b103: Waiting [2023-03-21T18:09:01.028Z] 52ebb69f0ebf: Waiting [2023-03-21T18:09:01.028Z] 5abe8eddf0d5: Waiting [2023-03-21T18:09:01.028Z] 55522c791124: Verifying Checksum [2023-03-21T18:09:01.028Z] 55522c791124: Download complete [2023-03-21T18:09:01.028Z] 169dfbe0d373: Verifying Checksum [2023-03-21T18:09:01.028Z] 169dfbe0d373: Download complete [2023-03-21T18:09:01.028Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T18:09:01.028Z] e1ff8fa3b103: Download complete [2023-03-21T18:09:01.028Z] af6eaf76a39c: Verifying Checksum [2023-03-21T18:09:01.028Z] af6eaf76a39c: Download complete [2023-03-21T18:09:02.017Z] af6eaf76a39c: Pull complete [2023-03-21T18:09:02.609Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T18:09:02.609Z] 5abe8eddf0d5: Download complete [2023-03-21T18:09:02.609Z] 55522c791124: Pull complete [2023-03-21T18:09:04.032Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T18:09:04.032Z] 52ebb69f0ebf: Download complete [2023-03-21T18:09:04.032Z] ce5c4a1c91eb: Download complete [2023-03-21T18:09:16.520Z] ce5c4a1c91eb: Pull complete [2023-03-21T18:09:16.520Z] 169dfbe0d373: Pull complete [2023-03-21T18:09:16.520Z] e1ff8fa3b103: Pull complete [2023-03-21T18:09:23.182Z] 52ebb69f0ebf: Pull complete [2023-03-21T18:09:25.136Z] 5abe8eddf0d5: Pull complete [2023-03-21T18:09:25.137Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T18:09:25.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T18:09:25.137Z] ---> 6cb57ee374ae [2023-03-21T18:09:25.137Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T18:09:26.566Z] ---> Running in 9a5a46e54713 [2023-03-21T18:09:26.835Z] Removing intermediate container 9a5a46e54713 [2023-03-21T18:09:26.835Z] ---> e66119b18256 [2023-03-21T18:09:26.835Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T18:09:27.103Z] ---> Running in 6b3c51fbdb97 [2023-03-21T18:09:27.371Z] Removing intermediate container 6b3c51fbdb97 [2023-03-21T18:09:27.372Z] ---> a81d0fb6d1a1 [2023-03-21T18:09:27.372Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-21T18:09:27.372Z] ---> Running in 48096eaae179 [2023-03-21T18:09:27.640Z] Removing intermediate container 48096eaae179 [2023-03-21T18:09:27.640Z] ---> ce0cd63e4741 [2023-03-21T18:09:27.640Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T18:09:27.914Z] ---> Running in 3155db00d67f [2023-03-21T18:09:28.211Z] Removing intermediate container 3155db00d67f [2023-03-21T18:09:28.211Z] ---> 518afd82de01 [2023-03-21T18:09:28.211Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T18:09:28.211Z] ---> Running in 1b4b5a506b19 [2023-03-21T18:09:29.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T18:09:29.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T18:09:31.314Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-21T18:09:31.314Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-21T18:09:31.314Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-21T18:09:31.314Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-21T18:09:31.314Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-21T18:09:31.314Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-21T18:09:31.314Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-21T18:09:31.314Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-21T18:09:31.314Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-21T18:09:31.314Z] (10/14) Installing kmod-libs (30-r1) [2023-03-21T18:09:31.314Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-21T18:09:31.314Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-21T18:09:31.314Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-21T18:09:31.314Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-21T18:09:31.314Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T18:09:31.314Z] Executing eudev-3.2.11-r4.trigger [2023-03-21T18:09:31.314Z] OK: 271 MiB in 67 packages [2023-03-21T18:09:32.743Z] Removing intermediate container 1b4b5a506b19 [2023-03-21T18:09:32.743Z] ---> a2bb45b8951f [2023-03-21T18:09:32.743Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T18:09:32.743Z] ---> Running in 4d18eda7442f [2023-03-21T18:09:33.011Z] Removing intermediate container 4d18eda7442f [2023-03-21T18:09:33.011Z] ---> 1187305c0ae1 [2023-03-21T18:09:33.011Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T18:09:37.270Z] ---> dbb2717e6076 [2023-03-21T18:09:37.270Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T18:09:37.270Z] ---> Running in ab9ca98a4e4e [2023-03-21T18:10:58.942Z] Removing intermediate container ab9ca98a4e4e [2023-03-21T18:10:58.942Z] ---> c6e00b33dc8d [2023-03-21T18:10:58.942Z] Step 11/13 : COPY . . [2023-03-21T18:10:58.942Z] ---> 4ee5ec771578 [2023-03-21T18:10:58.942Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T18:10:58.942Z] ---> Running in 404df7877e63 [2023-03-21T18:10:58.942Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T18:10:58.942Z] Dload Upload Total Spent Left Speed [2023-03-21T18:10:58.942Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2910 0 --:--:-- --:--:-- --:--:-- 2925 [2023-03-21T18:10:58.942Z] Removing intermediate container 404df7877e63 [2023-03-21T18:10:58.942Z] ---> ec56651a4f34 [2023-03-21T18:10:58.942Z] Step 13/13 : RUN ${MAKE} [2023-03-21T18:10:58.942Z] ---> Running in 35bdd671ea03 [2023-03-21T18:10:58.942Z] noop [2023-03-21T18:10:58.942Z] Removing intermediate container 35bdd671ea03 [2023-03-21T18:10:58.942Z] ---> 54ead9633dd5 [2023-03-21T18:10:58.942Z] Successfully built 54ead9633dd5 [2023-03-21T18:10:58.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:10:59.412Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T18:10:59.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:10:59.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-03-21T18:10:59.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T18:11:00.954Z] $ docker top 5d77f128db164eb757ca055b87babed13c4d4a6913f7e7ce1423b8a52b218590 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T18:11:01.817Z] + go version [2023-03-21T18:11:01.817Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T18:11:01.865Z] $ docker stop --time=1 5d77f128db164eb757ca055b87babed13c4d4a6913f7e7ce1423b8a52b218590 [2023-03-21T18:11:03.487Z] $ docker rm -f --volumes 5d77f128db164eb757ca055b87babed13c4d4a6913f7e7ce1423b8a52b218590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:11:04.342Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T18:11:04.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:11:04.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-03-21T18:11:04.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T18:11:05.842Z] $ docker top 13d80905746e405f5421505a52cc1ea1df927fd9d1dc898032915c8ff32a2976 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T18:11:06.420Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T18:11:06.823Z] + make test [2023-03-21T18:11:07.092Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T18:11:45.998Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T18:13:37.702Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-21T18:13:37.702Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-21T18:13:37.702Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-21T18:13:37.702Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-21T18:13:37.702Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-21T18:13:37.702Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-21T18:13:37.702Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-21T18:13:37.702Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-21T18:13:52.710Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-21T18:13:52.710Z] FAIL [2023-03-21T18:13:52.710Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-21T18:13:52.766Z] $ docker stop --time=1 13d80905746e405f5421505a52cc1ea1df927fd9d1dc898032915c8ff32a2976 [2023-03-21T18:13:54.701Z] $ docker rm -f --volumes 13d80905746e405f5421505a52cc1ea1df927fd9d1dc898032915c8ff32a2976 [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 [2023-03-21T18:13:56.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T18:13:56.444Z] [2023-03-21T18:13:56.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:13:56.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T18:13:57.122Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T18:13:57.122Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T18:13:57.122Z] 04944245beec: Pulling fs layer [2023-03-21T18:13:57.122Z] 699f458cf7ca: Pulling fs layer [2023-03-21T18:13:57.122Z] 765212b225bb: Pulling fs layer [2023-03-21T18:13:57.122Z] f23df028b6ca: Pulling fs layer [2023-03-21T18:13:57.122Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T18:13:57.122Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T18:13:57.122Z] 765212b225bb: Waiting [2023-03-21T18:13:57.122Z] f23df028b6ca: Waiting [2023-03-21T18:13:57.122Z] 2437ff75d9bd: Waiting [2023-03-21T18:13:57.122Z] 04944245beec: Verifying Checksum [2023-03-21T18:13:57.122Z] 04944245beec: Download complete [2023-03-21T18:13:57.122Z] 765212b225bb: Verifying Checksum [2023-03-21T18:13:57.122Z] 765212b225bb: Download complete [2023-03-21T18:13:57.122Z] f23df028b6ca: Verifying Checksum [2023-03-21T18:13:57.122Z] f23df028b6ca: Download complete [2023-03-21T18:13:57.122Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T18:13:57.122Z] d65c8cfc05b1: Download complete [2023-03-21T18:13:57.394Z] 699f458cf7ca: Verifying Checksum [2023-03-21T18:13:57.394Z] 699f458cf7ca: Download complete [2023-03-21T18:13:57.663Z] 8998bd30e6a1: Download complete [2023-03-21T18:14:00.261Z] 2437ff75d9bd: Download complete [2023-03-21T18:14:01.675Z] 8998bd30e6a1: Pull complete [2023-03-21T18:14:02.263Z] 04944245beec: Pull complete [2023-03-21T18:14:03.675Z] 699f458cf7ca: Pull complete [2023-03-21T18:14:03.675Z] 765212b225bb: Pull complete [2023-03-21T18:14:04.641Z] f23df028b6ca: Pull complete [2023-03-21T18:14:04.641Z] d65c8cfc05b1: Pull complete [2023-03-21T18:14:19.642Z] 2437ff75d9bd: Pull complete [2023-03-21T18:14:19.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T18:14:19.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T18:14:19.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:14:19.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-4917 does not seem to be running inside a container [2023-03-21T18:14:20.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T18:14:22.643Z] $ docker top f1b4c7bc45c6fcc7d4443600f2684a841b02a714d6b0a89c5f4fb0a3bf05db67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:23.525Z] ---> job-cost.sh [2023-03-21T18:14:23.525Z] lf-activate-venv: SKIPPING [2023-03-21T18:14:23.525Z] INFO: No Stack... [2023-03-21T18:14:24.105Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T18:14:24.686Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T18:14:25.030Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-21T18:14:25.030Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T18:14:25.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [2023-03-21T18:14:25.129Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] did not exist. Created. [2023-03-21T18:14:25.130Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T18:14:25.851Z] /w/workspace/device-usb-camera/1@tmp/durable-a016b79c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T18:14:26.523Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T18:14:26.559Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T18:14:26.969Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T18:14:26.987Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T18:14:27.067Z] $ docker stop --time=1 f1b4c7bc45c6fcc7d4443600f2684a841b02a714d6b0a89c5f4fb0a3bf05db67 [2023-03-21T18:14:28.586Z] $ docker rm -f --volumes f1b4c7bc45c6fcc7d4443600f2684a841b02a714d6b0a89c5f4fb0a3bf05db67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T18:14:29.284Z] 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 [2023-03-21T18:14:31.215Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-196/archives ] [2023-03-21T18:14:31.215Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-196/archives [2023-03-21T18:14:31.215Z] total 16 [2023-03-21T18:14:31.215Z] drwxr-xr-x 3 root root 4096 Mar 21 18:07 . [2023-03-21T18:14:31.215Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 18:07 .. [2023-03-21T18:14:31.215Z] drwxr-xr-x 2 root root 4096 Mar 21 18:07 cost [2023-03-21T18:14:31.215Z] -rw-r--r-- 1 root root 89 Mar 21 18:07 cost.csv [2023-03-21T18:14:31.215Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-196/archives [2023-03-21T18:14:31.215Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-196/archives [2023-03-21T18:14:31.215Z] total 16 [2023-03-21T18:14:31.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 18:07 . [2023-03-21T18:14:31.215Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 18:07 .. [2023-03-21T18:14:31.215Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 18:07 cost [2023-03-21T18:14:31.215Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 21 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:31.545Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:32.435Z] ---> package-listing.sh [2023-03-21T18:14:32.435Z] ++ facter osfamily [2023-03-21T18:14:32.435Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T18:14:32.694Z] + OS_FAMILY=debian [2023-03-21T18:14:32.694Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-196 [2023-03-21T18:14:32.694Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T18:14:32.694Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T18:14:32.694Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T18:14:32.694Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T18:14:32.694Z] + '[' /w/workspace/foundry_device-usb-camera_PR-196 ']' [2023-03-21T18:14:32.694Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T18:14:32.694Z] + case "${OS_FAMILY}" in [2023-03-21T18:14:32.694Z] + dpkg -l [2023-03-21T18:14:32.694Z] + grep '^ii' [2023-03-21T18:14:32.694Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T18:14:32.694Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T18:14:32.694Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T18:14:32.694Z] + '[' /w/workspace/foundry_device-usb-camera_PR-196 ']' [2023-03-21T18:14:32.694Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-196/archives/ [2023-03-21T18:14:32.694Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-196/archives/ [Pipeline] echo [2023-03-21T18:14:32.731Z] 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-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T18:14:33.022Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T18:14:33.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T18:14:33.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T18:14:33.788Z] prd-ubuntu20.04-docker-8c-8g-4915 does not seem to be running inside a container [2023-03-21T18:14:33.815Z] $ 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-196/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-196 -v /w/workspace/foundry_device-usb-camera_PR-196:/w/workspace/foundry_device-usb-camera_PR-196:rw,z -v /w/workspace/foundry_device-usb-camera_PR-196@tmp:/w/workspace/foundry_device-usb-camera_PR-196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T18:14:34.006Z] $ docker top 401d6b3c6b6b8b11643ba87f34530e1a174a1185a695d01481dc03208b219e7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T18:14:34.398Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T18:14:34.713Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T18:14:35.019Z] + ls /var/log/sa-host [2023-03-21T18:14:35.019Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T18:14:35.146Z] provisioning config files... [2023-03-21T18:14:35.154Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-196@tmp/config14033087214560531345tmp [Pipeline] { [Pipeline] echo [2023-03-21T18:14:35.199Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:35.508Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T18:14:35.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:35.923Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T18:14:35.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:36.262Z] ---> sudo-logs.sh [2023-03-21T18:14:36.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T18:14:36.407Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:36.715Z] ---> job-cost.sh [2023-03-21T18:14:36.715Z] lf-activate-venv: SKIPPING [2023-03-21T18:14:36.715Z] DEBUG: total: 0.2199999988079071 [2023-03-21T18:14:36.715Z] INFO: Retrieving Stack Cost... [2023-03-21T18:14:36.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T18:14:37.236Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T18:14:37.270Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T18:14:37.581Z] ---> logs-deploy.sh [2023-03-21T18:14:37.582Z] lf-activate-venv: SKIPPING [2023-03-21T18:14:37.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-196/1 [2023-03-21T18:14:37.582Z] INFO: archiving workspace using pattern(s): [2023-03-21T18:14:38.520Z] Archives upload complete. [2023-03-21T18:14:38.520Z] INFO: archiving logs to Nexus