Advertisement
Guest User

TSergey, 2015-01-21, enabled_afi

a guest
Jan 21st, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.69 KB | None | 0 0
  1. object_name: "post.intt"
  2. script: "OS.FreeBSD.get_interfaces"
  3.  
  4. 2015-01-21 14:57:57,730 Running socket factory (SelectPoller)
  5. 2015-01-21 14:57:57,731 Running script thread
  6. 2015-01-21 14:57:57,731 Creating transaction id=1280940884 method=None callback=None
  7. 2015-01-21 14:57:57,732 Capabilities: {}
  8. 2015-01-21 14:57:57,733 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] Running
  9. 2015-01-21 14:57:57,733 Running script: OS.FreeBSD.get_interfaces ({})
  10. 2015-01-21 14:57:57,734 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] cli(ifconfig -v)
  11. 2015-01-21 14:57:57,734 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] Running new provider
  12. 2015-01-21 14:57:57,735 [CLISSHSocket(0x4ebf410)]<None> ==> SSH_START
  13. 2015-01-21 14:57:57,735 [CLISSHSocket(0x4ebf410)]<SSH_START> set_timeout(30)
  14. 2015-01-21 14:57:57,736 Register socket CLISSHSocket 192.168.253.4:22 (None)
  15. 2015-01-21 14:57:58,732 Tick
  16. 2015-01-21 14:57:58,732 3 TICKS TO EXIT
  17. 2015-01-21 14:57:58,732 [CLISSHSocket(0x4ebf410)]<SSH_START> Initializing socket
  18. 2015-01-21 14:57:58,733 [CLISSHSocket 192.168.253.4:22] Connecting 192.168.253.4:22
  19. 2015-01-21 14:57:58,758 [CLISSHSocket 192.168.253.4:22] create_socket returns non-zero code 115[EINPROGRESS]
  20. 2015-01-21 14:57:58,762 [CLISSHSocket 192.168.253.4:22] Connected
  21. 2015-01-21 14:57:58,772 [CLISSHSocket(0x4ebf410)]<SSH_START> event(SSH_VERSION)
  22. 2015-01-21 14:57:58,773 [CLISSHSocket(0x4ebf410)]<SSH_START> ==> SSH_VERSION
  23. 2015-01-21 14:57:58,773 [CLISSHSocket 192.168.253.4:22] Remote protocol version 1.99, remote software version OpenSSH_4.5p1 FreeBSD-20061110
  24. 2015-01-21 14:57:58,774 [CLISSHSocket(0x4ebf410)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
  25. 2015-01-21 14:57:58,774 [CLISSHSocket(0x4ebf410)]<SSH_VERSION> Setting SSH transform keys
  26. 2015-01-21 14:57:58,775 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_KEXINIT (20)
  27. 2015-01-21 14:57:58,775 [CLISSHSocket(0x4ebf410)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
  28. 2015-01-21 14:57:58,776 [CLISSHSocket(0x4ebf410)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
  29. 2015-01-21 14:57:58,776 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_KEXINIT (20)
  30. 2015-01-21 14:57:58,777 [CLISSHSocket 192.168.253.4:22] Receiving server proposals: kex=['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] enc_sc=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-cbc@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] mac_cs=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none', 'zlib@openssh.com'] comp_sc['none', 'zlib@openssh.com']
  31. 2015-01-21 14:57:58,777 [CLISSHSocket(0x4ebf410)]<SSH_KEY_EXCHANGE> Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
  32. 2015-01-21 14:57:58,778 [CLISSHSocket 192.168.253.4:22] Selecting diffie-hellman-group14-sha1 ssh-dss, in=(aes256-ctr hmac-sha1 zlib@openssh.com) out=(aes256-ctr hmac-sha1 zlib@openssh.com)
  33. 2015-01-21 14:57:58,782 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  34. 2015-01-21 14:57:58,801 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_KEXDH_REPLY (31)
  35. 2015-01-21 14:57:58,801 [CLISSHSocket 192.168.253.4:22] Server PK fingerprint: 7e:85:f8:77:79:5c:73:31:b6:75:0c:71:4d:2f:fd:c0
  36. 2015-01-21 14:57:58,807 [CLISSHSocket(0x4ebf410)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
  37. 2015-01-21 14:57:58,807 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_NEWKEYS (21)
  38. 2015-01-21 14:57:58,808 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_NEWKEYS (21)
  39. 2015-01-21 14:57:58,808 [CLISSHSocket 192.168.253.4:22] Using new keys
  40. 2015-01-21 14:57:58,809 [CLISSHSocket(0x4ebf410)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
  41. 2015-01-21 14:57:58,809 [CLISSHSocket(0x4ebf410)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
  42. 2015-01-21 14:57:58,809 [CLISSHSocket 192.168.253.4:22] Requesting service ssh-userauth
  43. 2015-01-21 14:57:58,810 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_SERVICE_REQUEST (5)
  44. 2015-01-21 14:57:58,811 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_SERVICE_ACCEPT (6)
  45. 2015-01-21 14:57:58,812 [CLISSHSocket 192.168.253.4:22] Starting service ssh-userauth
  46. 2015-01-21 14:57:58,812 [CLISSHSocket(0x4ebf410)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
  47. 2015-01-21 14:57:58,812 [CLISSHSocket(0x4ebf410)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
  48. 2015-01-21 14:57:58,813 [CLISSHSocket 192.168.253.4:22] Authenticating with 'none' method
  49. 2015-01-21 14:57:58,813 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
  50. 2015-01-21 14:57:58,818 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_FAILURE (51)
  51. 2015-01-21 14:57:58,818 [CLISSHSocket 192.168.253.4:22] Authentication method 'none' has been failed. Trying next method (publickey,password,keyboard-interactive)
  52. 2015-01-21 14:57:58,819 [CLISSHSocket 192.168.253.4:22] Partially authenticated with 'none'. Trying next method
  53. 2015-01-21 14:57:58,819 [CLISSHSocket 192.168.253.4:22] Authenticating with 'publickey' method
  54. 2015-01-21 14:57:58,821 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
  55. 2015-01-21 14:57:58,822 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_FAILURE (51)
  56. 2015-01-21 14:57:58,823 [CLISSHSocket 192.168.253.4:22] Authentication method 'publickey' has been failed. Trying next method (publickey,password,keyboard-interactive)
  57. 2015-01-21 14:57:58,823 [CLISSHSocket 192.168.253.4:22] Partially authenticated with 'publickey'. Trying next method
  58. 2015-01-21 14:57:58,824 [CLISSHSocket 192.168.253.4:22] Authenticating with 'password' method
  59. 2015-01-21 14:57:58,824 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
  60. 2015-01-21 14:57:58,849 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
  61. 2015-01-21 14:57:58,850 [CLISSHSocket 192.168.253.4:22] Enabling delayed out compression zlib@openssh.com
  62. 2015-01-21 14:57:58,850 [CLISSHSocket 192.168.253.4:22] Enabling delayed in compression zlib@openssh.com
  63. 2015-01-21 14:57:58,850 [CLISSHSocket(0x4ebf410)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
  64. 2015-01-21 14:57:58,851 [CLISSHSocket(0x4ebf410)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
  65. 2015-01-21 14:57:58,851 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_OPEN (90)
  66. 2015-01-21 14:57:58,889 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  67. 2015-01-21 14:57:58,889 [CLISSHSocket 192.168.253.4:22] Opening channel. local=0 remote=0
  68. 2015-01-21 14:57:58,889 [CLISSHSocket(0x4ebf410)]<SSH_CHANNEL> event(SSH_PTY)
  69. 2015-01-21 14:57:58,890 [CLISSHSocket(0x4ebf410)]<SSH_CHANNEL> ==> SSH_PTY
  70. 2015-01-21 14:57:58,890 [CLISSHSocket 192.168.253.4:22] Requesting PTY
  71. 2015-01-21 14:57:58,890 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_REQUEST (98)
  72. 2015-01-21 14:57:58,963 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  73. 2015-01-21 14:57:58,964 [CLISSHSocket(0x4ebf410)]<SSH_PTY> event(SSH_SHELL)
  74. 2015-01-21 14:57:58,964 [CLISSHSocket(0x4ebf410)]<SSH_PTY> ==> SSH_SHELL
  75. 2015-01-21 14:57:58,964 [CLISSHSocket 192.168.253.4:22] Requesting shell
  76. 2015-01-21 14:57:58,964 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_REQUEST (98)
  77. 2015-01-21 14:57:58,967 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
  78. 2015-01-21 14:57:58,967 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  79. 2015-01-21 14:57:58,967 [CLISSHSocket(0x4ebf410)]<SSH_SHELL> event(START)
  80. 2015-01-21 14:57:58,967 [CLISSHSocket(0x4ebf410)]<SSH_SHELL> ==> START
  81. 2015-01-21 14:57:58,968 [CLISSHSocket(0x4ebf410)]<START> set_patterns([('^[Ll]ogin:', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S*?(%|\\$)', 'UNPRIVELEGED_PROMPT'), ('^\\[\\w+@\\w+ ~\\]\\$ ', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
  82. 2015-01-21 14:57:58,969 [CLISSHSocket(0x4ebf410)]<START> on_read: 'Last login: Wed Jan 21 14:45:58 2015 from wsi243.intt\r\r\nCopyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994\r\n\tThe Regents of the University of California. All rights reserved.\r\n\r\n'
  83. 2015-01-21 14:57:58,973 [CLISSHSocket(0x4ebf410)]<START> on_read: 'FreeBSD 6.4-STABLE (POST) #0: Mon Jan 19 10:36:11 NOVT 2009\r\n\r\nWelcome to FreeBSD!\r\n\r\n'
  84. 2015-01-21 14:57:59,018 [CLISSHSocket(0x4ebf410)]<START> on_read: '\xf7 \xce\xc1\xdb\xc9 \xc4\xce\xc9, \xc5\xd3\xcc\xc9 \xcd\xd5\xd6\xde\xc9\xce\xc1 \xcf\xd4\xcb\xd2\xd9\xd7\xc1\xc5\xd4 \xc4\xd7\xc5\xd2\xd8 \xd0\xc5\xd2\xc5\xc4 \xd6\xc5\xce\xdd\xc9\xce\xcf\xca, \xd4\xcf \r\n\xcf\xce, \xd3\xcb\xcf\xd2\xc5\xc5 \xd7\xd3\xc5\xc7\xcf, \xdb\xd7\xc5\xca\xc3\xc1\xd2.\r\n'
  85. 2015-01-21 14:57:59,081 [CLISSHSocket(0x4ebf410)]<START> on_read: 'To read a compressed file without having to first uncompress it, use\r\n"zcat" or "zmore" to view it.\r\n\t\t-- Dru <genesis@istar.ca>\r\n'
  86. 2015-01-21 14:57:59,129 [CLISSHSocket(0x4ebf410)]<START> on_read: '[inv@mail ~]$ '
  87. 2015-01-21 14:57:59,129 [CLISSHSocket(0x4ebf410)]<START> Starting synchronous FSM check
  88. 2015-01-21 14:57:59,130 [CLISSHSocket(0x4ebf410)]<START> match '^\[\w+@\w+ ~\]\$ '
  89. 2015-01-21 14:57:59,130 [CLISSHSocket(0x4ebf410)]<START> event(PROMPT)
  90. 2015-01-21 14:57:59,131 [CLISSHSocket(0x4ebf410)]<START> ==> PROMPT
  91. 2015-01-21 14:57:59,131 [CLISSHSocket(0x4ebf410)]<PROMPT> on_PROMPT_enter
  92. 2015-01-21 14:57:59,131 [CLISSHSocket(0x4ebf410)]<PROMPT> Using prompt pattern: ^\[\w+@\w+ ~\]\$
  93. 2015-01-21 14:57:59,132 [CLISSHSocket(0x4ebf410)]<PROMPT> set_patterns([('^\\[\\w+@\\w+ ~\\]\\$ ', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
  94. 2015-01-21 14:57:59,167 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] CLI Provider is ready
  95. 2015-01-21 14:57:59,168 [CLISSHSocket(0x4ebf410)]<PROMPT> submit('ifconfig -v', bulk_lines=None, streaming=False)
  96. 2015-01-21 14:57:59,168 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_DATA (94)
  97. 2015-01-21 14:57:59,169 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: 'ifcon'
  98. 2015-01-21 14:57:59,169 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: 'fig -v\r\n'
  99. 2015-01-21 14:57:59,196 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: 'em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\r\n\toptions=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>\r\n\tether 00:30:48:8e:32:d2\r\n'
  100. 2015-01-21 14:57:59,213 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\r\n\tstatus: active\r\nem1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500\r\n\toptions=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>\r\n'
  101. 2015-01-21 14:57:59,215 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '\tether 00:30:48:8e:32:d3\r\n'
  102. 2015-01-21 14:57:59,215 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '\tmedia: Ethernet autoselect\r\n\tstatus: no carrier\r\n'
  103. 2015-01-21 14:57:59,216 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: 'lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384\r\n\tinet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 \r\n\tinet6 ::1 prefixlen 128 \r\n\tinet 127.0.0.1 netmask 0xff000000 \r\nvlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\r\n\tinet 78.140.0.68 netmask 0xffffffe0 broadcast 78.140.0.95\r\n\tinet 78.140.0.254 netmask 0xfffffffc broadcast 78.140.0.255\r\n'
  104. 2015-01-21 14:57:59,217 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '\tether 00:30:48:8e:32:d2\r\n\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\r\n\tstatus: active\r\n\tvlan: 3 parent interface: em0\r\nvlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\r\n\tinet 192.168.253.4 netmask 0xffffff00 broadcast 192.168.253.255\r\n\tether 00:30:48:8e:32:d2\r\n'
  105. 2015-01-21 14:57:59,219 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\r\n\tstatus: active\r\n\tvlan: 4 parent interface: em0\r\n'
  106. 2015-01-21 14:57:59,220 [CLISSHSocket(0x4ebf410)]<PROMPT> on_read: '[inv@mail ~]$ '
  107. 2015-01-21 14:57:59,221 [CLISSHSocket(0x4ebf410)]<PROMPT> Starting synchronous FSM check
  108. 2015-01-21 14:57:59,223 [CLISSHSocket(0x4ebf410)]<PROMPT> match '^\[\w+@\w+ ~\]\$ '
  109. 2015-01-21 14:57:59,223 [CLISSHSocket(0x4ebf410)]<PROMPT> Starting synchronous FSM check
  110. 2015-01-21 14:57:59,223 [CLISSHSocket(0x4ebf410)]<PROMPT> event(PROMPT)
  111. 2015-01-21 14:57:59,232 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] cli(ifconfig -v) returns:
  112. ===[ ifconfig -v ]======================================================
  113. 'em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\n\toptions=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>\n\tether 00:30:48:8e:32:d2\n\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\n\tstatus: active\nem1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500\n\toptions=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>\n\tether 00:30:48:8e:32:d3\n\tmedia: Ethernet autoselect\n\tstatus: no carrier\nlo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384\n\tinet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 \n\tinet6 ::1 prefixlen 128 \n\tinet 127.0.0.1 netmask 0xff000000 \nvlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\n\tinet 78.140.0.68 netmask 0xffffffe0 broadcast 78.140.0.95\n\tinet 78.140.0.254 netmask 0xfffffffc broadcast 78.140.0.255\n\tether 00:30:48:8e:32:d2\n\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\n\tstatus: active\n\tvlan: 3 parent interface: em0\nvlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500\n\tinet 192.168.253.4 netmask 0xffffff00 broadcast 192.168.253.255\n\tether 00:30:48:8e:32:d2\n\tmedia: Ethernet autoselect (1000baseTX <full-duplex>)\n\tstatus: active\n\tvlan: 4 parent interface: em0\n'
  114. ========================================================================
  115. 2015-01-21 14:57:59,233 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] Unhandled exception
  116. 2015-01-21 14:57:59,240 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] Script traceback:
  117. <type 'exceptions.KeyError'>
  118. 'enabled_afi'
  119. START OF TRACEBACK
  120. ------------------------------------------------------------------------
  121. File: sa/profiles/OS/FreeBSD/get_interfaces.py (Line: 114)
  122. Function: execute
  123. 107 continue
  124. 108 prefixlen = match.group("prefixlen")
  125. 109 ipv6_addr = "%s/%s" % (ipv6, prefixlen)
  126. 110 if "ipv6_addresses" in self.subiface:
  127. 111 self.subiface["ipv6_addresses"] += [ipv6_addr]
  128. 112 else:
  129. 113 self.subiface["ipv6_addresses"] = [ipv6_addr]
  130. 114 ==> self.subiface["enabled_afi"] += ["IPv6"]
  131. 115 continue
  132. 116 match = self.rx_if_status.search(s)
  133. 117 if match:
  134. 118 self.iface["oper_status"] = True
  135. 119 self.subiface["oper_status"] = True
  136. 120 continue
  137. Variables:
  138. ipv6_addr = '::1/128'
  139. self = <Script(Thread-2, started 140048816940800)>
  140. s = '\tinet6 ::1 prefixlen 128 '
  141. ipv6 = '::1'
  142. prefixlen = '128'
  143. match = <_sre.SRE_Match object at 0x4c72c10>
  144. ------------------------------------------------------------------------
  145. File: sa/script/script.py (Line: 446)
  146. Function: guarded_run
  147. 439 return result
  148. 440 except KeyError:
  149. 441 self.logger.debug("Not in call cache: %r, %r",
  150. 442 self.name, self.kwargs)
  151. 443 pass
  152. 444 # Calling script body
  153. 445 self._thread_id = thread.get_ident()
  154. 446 ==> result = self.execute(**self.kwargs)
  155. 447 # Enforce interface result checking
  156. 448 for i in self.implements:
  157. 449 result = i.script_clean_result(self.profile, result)
  158. 450 # Cache result when required
  159. 451 if self.cache and self.parent is not None:
  160. 452 self.logger.debug(
  161. Variables:
  162. i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x4126290>
  163. self = <Script(Thread-2, started 140048816940800)>
  164. t0 = 1421830677.733897
  165. ------------------------------------------------------------------------
  166. File: sa/script/script.py (Line: 473)
  167. Function: run
  168. 466
  169. 467 def run(self):
  170. 468 """Script thread worker method"""
  171. 469 self.debug("Running")
  172. 470 result = None
  173. 471 try:
  174. 472 with self.cancelable():
  175. 473 ==> result = self.guarded_run()
  176. 474 except self.TimeOutError:
  177. 475 self.error("Timed out")
  178. 476 self.e_timeout = True
  179. 477 except CancelledError:
  180. 478 self.error("Cancelled")
  181. 479 self.e_cancel = True
  182. Variables:
  183. self = <Script(Thread-2, started 140048816940800)>
  184. r = ["<type 'exceptions.KeyError'>", "'enabled_afi'"]
  185. result = None
  186. v = KeyError('enabled_afi',)
  187. tb = <traceback object at 0x4ecc950>
  188. t = <type 'exceptions.KeyError'>
  189. ------------------------------------------------------------------------
  190. END OF TRACEBACK
  191. 2015-01-21 14:57:59,241 [OS.FreeBSD.get_interfaces(post.intt, 192.168.253.4)] Closing
  192. 2015-01-21 14:57:59,241 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x4ebf410, 192.168.253.4:22, connected)>>(*(), **{'flush': True})
  193. 2015-01-21 14:58:00,225 Tick
  194. 2015-01-21 14:58:00,225 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x4ebf410, 192.168.253.4:22, connected)>>(*(), **{'flush': True})
  195. 2015-01-21 14:58:00,226 [CLISSHSocket 192.168.253.4:22] Closing socket
  196. 2015-01-21 14:58:00,226 Unregister socket CLISSHSocket 192.168.253.4:22
  197. 2015-01-21 14:58:00,226 2 TICKS TO EXIT
  198. 2015-01-21 14:58:01,227 Tick
  199. 2015-01-21 14:58:01,228 1 TICKS TO EXIT
  200. 2015-01-21 14:58:02,228 Tick
  201. 2015-01-21 14:58:02,228 EXIT
  202. 2015-01-21 14:58:02,228 Shutting down the factory
  203. 2015-01-21 14:58:02,228 Metrics:
  204. noc.socketfactory.handle.closed_reads: 0
  205. noc.socketfactory.handle.reads: 18
  206. noc.socketfactory.handle.writes: 1
  207. noc.socketfactory.loops: 23
  208. noc.socketfactory.sockets.count: 0
  209. noc.socketfactory.sockets.register: 1
  210. noc.socketfactory.sockets.unregister: 0
  211. noc.socketfactory.ticks: 4
  212. 2015-01-21 14:58:02,228 0 TICKS TO EXIT
  213. 2015-01-21 14:58:02,228 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement