Re: [netvirt-dev] Unable to create Jenkins jobs.


Faseela K <k.faseela@...>
 

+integration-dev

On Mon, Oct 21, 2019, 9:33 PM srinivas.rachakonda via Lists.Opendaylight.Org <srinivas.rachakonda=altencalsoftlabs.com@...> wrote:

Hi,

 

I had cloned a new repo and also had generated a new API token.

After that while creating the Jenkins job, I am getting the below error.

 

 

(jjb) jenkins@ubuntu:~/srini/CSIT/builder_2019_10_18/builder$ jenkins-jobs --conf jenkins.ini update -j jjb/ srini-netvirt-csit-hwvtep-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium

/usr/local/lib/python2.7/dist-packages/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.

  warnings.warn(warning, RequestsDependencyWarning)

INFO:jenkins_jobs.cli.subcommand.update:Updating jobs in ['/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/aaa', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/alt-datastores', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/alto', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/ansible', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/archetypes', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/autorelease', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/bgpcep', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/bier', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/coe', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/controller', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/daexim', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/detnet', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/dlux', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/dluxapps', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/docs', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/genius', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/global-jjb', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/groupbasedpolicy', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/honeycomb', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/infrautils', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/integration', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/jsonrpc', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/l2switch', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/lf-infra', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/lfn', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/lispflowmapping', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/mdsal', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/nemo', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/netconf', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/netvirt', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/neutron', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/odlparent', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/odltools', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/of-config', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/openci', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/openflowplugin', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/opflex', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/ovsdb', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/p4plugin', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/packaging', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/packetcable', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/serviceutils', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/sfc', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/snmp', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/snmp4sdn', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/sxp', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/telemetry', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/transportpce', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/tsdr', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/unimgr', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/usc', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/yangtools', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/global-jjb/jenkins-admin', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/global-jjb/jenkins-init-scripts', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/global-jjb/jjb', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/global-jjb/shell', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/honeycomb/vbd', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/integration/distribution', '/home/jenkins/srini/CSIT/builder_2019_10_18/builder/jjb/opflex/scripts'] (['srini-netvirt-csit-hwvtep-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium'])

INFO:jenkins_jobs.builder:Number of jobs generated:  1

Traceback (most recent call last):

  File "/usr/local/bin/jenkins-jobs", line 10, in <module>

    sys.exit(main())

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cli/entry.py", line 165, in main

    jjb.execute()

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cli/entry.py", line 146, in execute

    ext.obj.execute(self.options, self.jjb_config)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cli/subcommand/update.py", line 136, in execute

    existing_only=options.existing_only)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 324, in update_jobs

    concurrent=p_params)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/parallel.py", line 112, in concurrentized

    return func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 347, in parallel_update_job

    self.update_job(job.name, job.output().decode('utf-8'))

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 128, in update_job

    if self.is_job(job_name):

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 139, in is_job

    if job_name in self.job_list:

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 105, in job_list

    self._job_list = set(job['fullname'] for job in self.jobs)

  File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 97, in jobs

    self._jobs = self.jenkins.get_all_jobs()

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 1027, in get_all_jobs

    jobs = [(0, [], self.get_info(query=jobs_query)['jobs'])]

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 776, in get_info

    requests.Request('GET', self._build_url(url))

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 564, in jenkins_open

    return self.jenkins_request(req, add_crumb, resolve_auth).text

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 580, in jenkins_request

    self.maybe_add_crumb(req)

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 370, in maybe_add_crumb

    'GET', self._build_url(CRUMB_URL)), add_crumb=False)

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 564, in jenkins_open

    return self.jenkins_request(req, add_crumb, resolve_auth).text

  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 594, in jenkins_request

    raise JenkinsException(msg)

jenkins.JenkinsException: Error in request. Possibly authentication failed [401]: Invalid password/token for user: srinivasrachakonda

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 401 Invalid password/token for user: srinivasrachakonda</title>

</head>

<body><h2>HTTP ERROR 401</h2>

<p>Problem accessing /sandbox/crumbIssuer/api/json. Reason:

<pre>    Invalid password/token for user: srinivasrachakonda</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>

 

</body>

</html>

 

(jjb) jenkins@ubuntu:~/srini/CSIT/builder_2019_10_18/builder$

 

 

Please kindly help me in resolving the issue.

 

Thanks,

Srinivas

+91-9243478719

 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8347): https://lists.opendaylight.org/g/netvirt-dev/message/8347
Mute This Topic: https://lists.opendaylight.org/mt/36334726/1993029
Group Owner: netvirt-dev+owner@...
Unsubscribe: https://lists.opendaylight.org/g/netvirt-dev/unsub  [k.faseela@...]
-=-=-=-=-=-=-=-=-=-=-=-

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.