Remove buckPackage as it's no longer supported

Change-Id: I84fc18a7fd22faf2a3458eb0b641ba4a7b9233d2
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index 1c258a1..4df23ab 100755
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -388,8 +388,6 @@
                     # Prompt returned
                     break
             main.log.debug( output )
-            # FIXME: This is a workaround for a bug in buck see ONOS-5320
-            self.buckPackage( )
             return ret
         except pexpect.TIMEOUT:
             main.log.exception( self.name + ": TIMEOUT exception found" )
@@ -405,53 +403,6 @@
             main.cleanup()
             main.exit()
 
-    def buckPackage( self, timeout=180 ):
-        """
-        Package onos using buck. This will not build the source and this rule
-        should be automatically run when building onos.
-        """
-        try:
-            ret = main.TRUE
-            self.handle.sendline( "buck build package" )
-            self.handle.expect( "buck build package" )
-            output = ""
-            while True:
-                i = self.handle.expect( [ "This does not appear to be the root of a Buck project.",
-                                          "\n",
-                                          "BUILD FAILED",
-                                          "\$" ],
-                                        timeout=timeout )
-                output += str( self.handle.before + self.handle.after )
-                if i == 0:
-                    main.log.error( "Wrong location" )
-                    ret = main.FALSE
-                elif i == 1:
-                    # end of a line, buck is still printing output
-                    pass
-                elif i == 2:
-                    # Build failed
-                    main.log.error( "Build failed" )
-                    ret = main.FALSE
-                elif i == 3:
-                    # Prompt returned
-                    break
-            main.log.debug( output )
-            return ret
-        except pexpect.TIMEOUT:
-            main.log.exception( self.name + ": TIMEOUT exception found" )
-            main.log.error( self.name + ":    " + self.handle.before )
-            return main.FALSE
-        except pexpect.EOF:
-            main.log.error( self.name + ": EOF exception found" )
-            main.log.error( self.name + ":    " + self.handle.before )
-            main.cleanup()
-            main.exit()
-        except Exception:
-            main.log.exception( "Failed to package ONOS" )
-            main.cleanup()
-            main.exit()
-
-
     def gitPull( self, comp1="", fastForward=True ):
         """
         Assumes that "git pull" works without login