LuciferYang commented on PR #40675: URL: https://github.com/apache/spark/pull/40675#issuecomment-1512936430
Find an error related to ReplE2ESuite on [GA test task](https://pipelines.actions.githubusercontent.com/serviceHosts/c184045e-b556-4e78-b8ef-fb37b2eda9a3/_apis/pipelines/1/runs/69161/signedlogcontent/23?urlExpires=2023-04-18T10%3A18%3A24.5673026Z&urlSigningMethod=HMACV1&urlSignature=IZ4kWbB8mtkvxvyxojX3%2FxIz43j%2FVRKl7Ghp2Y52nnE%3D): ``` 023-04-18T03:29:20.8938544Z [0m[[0m[0minfo[0m] [0m[0m[32mReplE2ESuite:[0m[0m 2023-04-18T03:29:24.5685770Z sh: 1: cannot open /dev/tty: No such device or address ... 2023-04-18T03:29:25.5551653Z sh: 1: cannot open /dev/tty: No such device or address 2023-04-18T03:29:25.5631256Z sh: 1: cannot create /dev/tty: No such device or address ... 2023-04-18T03:29:43.5473148Z [0m[[0m[0minfo[0m] [0m[0m[31m java.lang.RuntimeException: REPL Timed out while running command: [0m[0m 2023-04-18T03:29:43.5473697Z [0m[[0m[0minfo[0m] [0m[0m[31mclass A(x: Int) { def get = x * 5 + 19 }[0m[0m 2023-04-18T03:29:43.5474147Z [0m[[0m[0minfo[0m] [0m[0m[31mdef dummyUdf(x: Int): Int = new A(x).get[0m[0m 2023-04-18T03:29:43.5474578Z [0m[[0m[0minfo[0m] [0m[0m[31mval myUdf = udf(dummyUdf _)[0m[0m 2023-04-18T03:29:43.5480701Z [0m[[0m[0minfo[0m] [0m[0m[31mspark.range(5).select(myUdf(col("id"))).as[Int].collect()[0m[0m 2023-04-18T03:29:43.5481161Z [0m[[0m[0minfo[0m] [0m[0m[31m [0m[0m 2023-04-18T03:29:43.5481539Z [0m[[0m[0minfo[0m] [0m[0m[31mConsole output: [0m[0m 2023-04-18T03:29:43.5482081Z [0m[[0m[0minfo[0m] [0m[0m[31mSpark session available as 'spark'.[0m[0m 2023-04-18T03:29:43.5484862Z [0m[[0m[0minfo[0m] [0m[0m[31m _____ __ ______ __[0m[0m 2023-04-18T03:29:43.5488022Z [0m[[0m[0minfo[0m] [0m[0m[31m / ___/____ ____ ______/ /__ / ____/___ ____ ____ ___ _____/ /_[0m[0m 2023-04-18T03:29:43.5491144Z [0m[[0m[0minfo[0m] [0m[0m[31m \__ \/ __ \/ __ `/ ___/ //_/ / / / __ \/ __ \/ __ \/ _ \/ ___/ __/[0m[0m 2023-04-18T03:29:43.5494244Z [0m[[0m[0minfo[0m] [0m[0m[31m ___/ / /_/ / /_/ / / / ,< / /___/ /_/ / / / / / / / __/ /__/ /_[0m[0m 2023-04-18T03:29:43.5497421Z [0m[[0m[0minfo[0m] [0m[0m[31m/____/ .___/\__,_/_/ /_/|_| \____/\____/_/ /_/_/ /_/\___/\___/\__/[0m[0m 2023-04-18T03:29:43.5500566Z [0m[[0m[0minfo[0m] [0m[0m[31m /_/[0m[0m 2023-04-18T03:29:43.5502973Z sh: 1: cannot open /dev/tty: No such device or address ... 2023-04-18T03:29:43.7154910Z [0m[[0m[0minfo[0m] [0m[0m[31mError output: Compiling (synthetic)/ammonite/predef/ArgsPredef.sc[0m[0m 2023-04-18T03:29:43.7155688Z [0m[[0m[0minfo[0m] [0m[0m[31mCompiling /home/runner/work/spark/spark/connector/connect/client/jvm/(console)[0m[0m 2023-04-18T03:29:43.7156273Z [0m[[0m[0minfo[0m] [0m[0m[31mjava.lang.RuntimeException: Nonzero exit value: 2[0m[0m 2023-04-18T03:29:43.7156688Z [0m[[0m[0minfo[0m] [0m[0m[31m scala.sys.package$.error(package.scala:30)[0m[0m 2023-04-18T03:29:43.7157121Z [0m[[0m[0minfo[0m] [0m[0m[31m scala.sys.process.ProcessBuilderImpl$AbstractBuilder.slurp(ProcessBuilderImpl.scala:138)[0m[0m 2023-04-18T03:29:43.7157538Z [0m[[0m[0minfo[0m] [0m[0m[31m scala.sys.process.ProcessBuilderImpl$AbstractBuilder.$bang$bang(ProcessBuilderImpl.scala:108)[0m[0m 2023-04-18T03:29:43.7158104Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.terminal.TTY$.stty(Utils.scala:103)[0m[0m 2023-04-18T03:29:43.7158794Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.terminal.TTY$.withSttyOverride(Utils.scala:114)[0m[0m 2023-04-18T03:29:43.7160239Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.terminal.Terminal$.readLine(Terminal.scala:41)[0m[0m 2023-04-18T03:29:43.7162012Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.AmmoniteFrontEnd.readLine(AmmoniteFrontEnd.scala:133)[0m[0m 2023-04-18T03:29:43.7163249Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.AmmoniteFrontEnd.action(AmmoniteFrontEnd.scala:28)[0m[0m 2023-04-18T03:29:43.7163556Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Repl.$anonfun$action$4(Repl.scala:194)[0m[0m 2023-04-18T03:29:43.7163863Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Scoped.$anonfun$flatMap$1(Signaller.scala:45)[0m[0m 2023-04-18T03:29:43.7164158Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Signaller.apply(Signaller.scala:28)[0m[0m 2023-04-18T03:29:43.7171303Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Scoped.flatMap(Signaller.scala:45)[0m[0m 2023-04-18T03:29:43.7172151Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Scoped.flatMap$(Signaller.scala:45)[0m[0m 2023-04-18T03:29:43.7172894Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Signaller.flatMap(Signaller.scala:16)[0m[0m 2023-04-18T03:29:43.7174248Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Repl.$anonfun$action$2(Repl.scala:178)[0m[0m 2023-04-18T03:29:43.7176993Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.util.Catching.flatMap(Res.scala:115)[0m[0m 2023-04-18T03:29:43.7177811Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Repl.action(Repl.scala:170)[0m[0m 2023-04-18T03:29:43.7178715Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Repl.loop$1(Repl.scala:212)[0m[0m 2023-04-18T03:29:43.7179009Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.repl.Repl.run(Repl.scala:227)[0m[0m 2023-04-18T03:29:43.7179272Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.Main.$anonfun$run$1(Main.scala:236)[0m[0m 2023-04-18T03:29:43.7179543Z [0m[[0m[0minfo[0m] [0m[0m[31m scala.Option.getOrElse(Option.scala:189)[0m[0m 2023-04-18T03:29:43.7179795Z [0m[[0m[0minfo[0m] [0m[0m[31m ammonite.Main.run(Main.scala:224)[0m[0m 2023-04-18T03:29:43.7184102Z [0m[[0m[0minfo[0m] [0m[0m[31m org.apache.spark.sql.application.ConnectRepl$.doMain(ConnectRepl.scala:100)[0m[0m 2023-04-18T03:29:43.7185205Z [0m[[0m[0minfo[0m] [0m[0m[31m org.apache.spark.sql.application.ReplE2ESuite$$anon$1.run(ReplE2ESuite.scala:59)[0m[0m 2023-04-18T03:29:43.7185569Z [0m[[0m[0minfo[0m] [0m[0m[31m java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[0m[0m 2023-04-18T03:29:43.7185885Z [0m[[0m[0minfo[0m] [0m[0m[31m java.util.concurrent.FutureTask.run(FutureTask.java:266)[0m[0m 2023-04-18T03:29:43.7191750Z [0m[[0m[0minfo[0m] [0m[0m[31m java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[0m[0m 2023-04-18T03:29:43.7192249Z [0m[[0m[0minfo[0m] [0m[0m[31m java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[0m[0m 2023-04-18T03:29:43.7192662Z [0m[[0m[0minfo[0m] [0m[0m[31m java.lang.Thread.run(Thread.java:750)[0m[0m ``` I am currently unsure why this error occurred -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
