• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

napalm-automation / napalm / 2219
81%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2019 10:33AM UTC
Jobs 6
Files 35
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2219

push

travis-ci

mirceaulinic
If parent_table None call exception (#939)

Hi, i have this situation when ipv6 is turned off:
$ napalm --user oxi --password gdfw23 --vendor nxos  10.143.36.8 call get_interfaces_ip
2019-03-07 15:08:10,226 - napalm - ERROR - method - Failed: 'NoneType' object has no attribute 'get'

================= Traceback =================

Traceback (most recent call last):
  File "/opt/py3.6/bin/napalm", line 10, in <module>
    sys.exit(main())
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 309, in main
    run_tests(args)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 292, in run_tests
    call_getter(device, args.method, **method_kwargs)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 31, in wrapper
    r = func(*args, **kwargs)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 256, in call_getter
    r = func(**kwargs)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 1091, in get_interfaces_ip
    ipv6_command, "TABLE_intf", "ROW_intf"
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 721, in _get_command_table
    return self._get_reply_table(json_output, table_name, row_name)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 717, in _get_reply_table
    return self._get_table_rows(result, table_name, row_name)
  File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 706, in _get_table_rows
    _table = parent_table.get(table_name)
AttributeError: 'NoneType' object has no attribute 'get'

4892 of 6099 relevant lines covered (80.21%)

2.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2219.1 12 Apr 2019 10:33AM UTC 0
80.03
Travis Job 2219.1
2 2219.2 12 Apr 2019 10:33AM UTC 0
80.13
Travis Job 2219.2
3 2219.3 12 Apr 2019 10:34AM UTC 0
80.13
Travis Job 2219.3
4 2219.4 (TOXENV=pylama) 12 Apr 2019 10:35AM UTC 0
Travis Job 2219.4
5 2219.5 (TOXENV=black) 12 Apr 2019 10:35AM UTC 0
Travis Job 2219.5
6 2219.6 (TOXENV=sphinx) 12 Apr 2019 10:35AM UTC 0
Travis Job 2219.6
Source Files on build 2219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2219
  • 770ce3a8 on github
  • Prev Build on develop (#2212)
  • Next Build on develop (#2222)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc