Created
July 21, 2015 22:41
-
-
Save offby1/4629cc36cffdef20f9ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -*- mode: compilation; default-directory: "~/git-repositories/work/ine-rackcontrol/rackcontrol/" -*- | |
| Compilation started at Tue Jul 21 15:36:15 | |
| ./clear_line.py --rack-name=c3rack25 --track=c3 | |
| [2015-07-21T15:36:15-0700.989 95733]: INFO [root][clear_line] (erichanchrow) I was invoked as './clear_line.py' '--rack-name=c3rack25' '--track=c3' | |
| [2015-07-21T15:36:15-0700.989 95733]: INFO [root][clear_line] my parent's PID is 42607 (?? [Errno 2] No such file or directory: '/proc/42607/cmdline' ??) | |
| [2015-07-21T15:36:15-0700.989 95733]: INFO [__main__][clear_line] You passed access_server_ip_address | |
| [2015-07-21T15:36:15-0700.989 95733]: INFO [__main__][clear_line] Hello from clear_all_lines_on_rack c3rack25 c3 | |
| [2015-07-21T15:36:15-0700.989 95733]: INFO [__main__][clear_line] Track 'c3' is not 'dc', so doing bulk_clear_lines instead of _clear_via_telnet_gateway | |
| [2015-07-21T15:36:16-0700.031 95733]: INFO [__main__][clear_line] <itertools._grouper object at 0x105671990> => (None, u'10.4.204.91'); no alt_ip => I hit 10.4.204.91 | |
| Trying 10.4.204.91... | |
| Connected to c3rack26.ine.com. | |
| Escape character is '^]'. | |
| User Access Verification | |
| Username: rackadmin | |
| Username: rackadmin | |
| Password: clear line 66 | |
| clear line 66 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 67 | |
| clear line 67 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 68 | |
| clear line 68 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 69 | |
| clear line 69 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 70 | |
| clear line 70 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 71 | |
| clear line 71 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 72 | |
| clear line 72 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 73 | |
| clear line 73 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 74 | |
| clear line 74 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS> | |
| C3cage9-AS>clear line 75 | |
| clear line 75 | |
| [confirm] | |
| [OK] | |
| C3cage9-AS>[2015-07-21T15:36:23-0700.179 95733]: INFO [__main__][clear_line] Regardless, I will now hit racks2.ine.com | |
| Trying 75.140.41.68... | |
| Connected to racks2.ine.com. | |
| Escape character is '^]'. | |
| User Access Verification | |
| Username: rackscript | |
| User Access Verification | |
| Username: rackscript | |
| Password: terminal length 0 | |
| terminal length 0 | |
| INE-RACK-ACCESS2>show users wide | include _c3rack25_ | |
| show users wide | include _c3rack25_ | |
| 514 vty 0 c3rack25 | |
| INE-RACK-ACCESS2>clear line 514 | |
| clear line 514 | |
| ^ | |
| % Invalid input detected at '^' marker. | |
| INE-RACK-ACCESS2>Traceback (most recent call last): | |
| File "./clear_line.py", line 358, in <module> | |
| clear_all_lines_on_rack(args.rack_name, args.track) | |
| File "./clear_line.py", line 278, in clear_all_lines_on_rack | |
| bulk_clear_lines(device_info.find_all_info(rack_id, track=track)) | |
| File "./clear_line.py", line 252, in bulk_clear_lines | |
| do_auth=True) | |
| File "./clear_line.py", line 114, in _clear_via_telnet_gateway | |
| do_clear_command(child, 'clear line {}'.format(m.group(1)), access_server_prompt_regex) | |
| File "./clear_line.py", line 79, in do_clear_command | |
| '?Invalid connection name']) | |
| File "/Users/erichanchrow/.virtualenvs/rack-279/lib/python2.7/site-packages/pexpect.py", line 1348, in expect_exact | |
| return self.expect_loop(searcher_string(pattern_list), timeout, searchwindowsize) | |
| File "/Users/erichanchrow/.virtualenvs/rack-279/lib/python2.7/site-packages/pexpect.py", line 1414, in expect_loop | |
| raise TIMEOUT (str(e) + '\n' + str(self)) | |
| pexpect.TIMEOUT: Timeout exceeded in read_nonblocking(). | |
| <rackcontrol.misc.spawn object at 0x105671ad0> | |
| version: 2.4 ($Revision: 516 $) | |
| command: /usr/bin/telnet | |
| args: ['/usr/bin/telnet', 'racks2.ine.com', '23'] | |
| searcher: searcher_string: | |
| 0: "[confirm]" | |
| 1: " is an illegal line number [OK]" | |
| 2: "?Invalid connection name" | |
| buffer (last 100 chars): ear line 514 | |
| ^ | |
| % Invalid input detected at '^' marker. | |
| INE-RACK-ACCESS2> | |
| before (last 100 chars): ear line 514 | |
| ^ | |
| % Invalid input detected at '^' marker. | |
| INE-RACK-ACCESS2> | |
| after: <class 'pexpect.TIMEOUT'> | |
| match: None | |
| match_index: None | |
| exitstatus: None | |
| flag_eof: False | |
| pid: 95737 | |
| child_fd: 4 | |
| closed: False | |
| timeout: 20 | |
| delimiter: <class 'pexpect.EOF'> | |
| logfile: <open file '<stderr>', mode 'w' at 0x1042981e0> | |
| logfile_read: <StringIO.StringIO instance at 0x105672b48> | |
| logfile_send: None | |
| maxread: 2000 | |
| ignorecase: False | |
| searchwindowsize: None | |
| delaybeforesend: 0.05 | |
| delayafterclose: 0.1 | |
| delayafterterminate: 0.1 | |
| Compilation exited abnormally with code 1 at Tue Jul 21 15:36:44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment