Re: PR lint-scala jobs failing with http error

2020-01-16 Thread Dongjoon Hyun
Hi, Tom and Shane.

It looks like an old `sbt` bug. Maven seems to start to ban the `http`
access recently.

If you use Maven, it's okay because it goes to `https`.

$ build/sbt clean
[error] org.apache.maven.model.building.ModelBuildingException: 1 problem
was encountered while building the effective model for
org.apache.spark:spark-parent_2.12:3.0.0-SNAPSHOT
[error] [FATAL] Non-resolvable parent POM: Could not transfer artifact
org.apache:apache:pom:18 from/to central (
http://repo.maven.apache.org/maven2): Error transferring file: Server
returned HTTP response code: 501 for URL:
http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom from
 http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom and
'parent.relativePath' points at wrong local POM @ line 22, column 11

GitHub Action uses Maven for building, but `dev/lint-scala` ->
`dev/scalastyle` -> `build/sbt`. So, it fails.

I guess Jenkins SBT job will fail if we clean up the Maven local cache.

Bests,
Dongjoon.




On Thu, Jan 16, 2020 at 2:08 PM Shane Knapp  wrote:

> ah ok...  looks like these were set up by dongjoon a while back.  i've
> added him to this thread as i can't see the settings in the spark
> github repo.
>
>
> On Thu, Jan 16, 2020 at 1:58 PM Tom Graves  wrote:
> >
> > Sorry should have included the link. It shows up in the pre checks
> failures, but the tests still run and pass. For instance:
> > https://github.com/apache/spark/pull/26682
> >
> > more:
> > https://github.com/apache/spark/pull/27240/checks?check_run_id=393888081
> > https://github.com/apache/spark/pull/27233/checks?check_run_id=393123209
> > https://github.com/apache/spark/pull/27239/checks?check_run_id=393884643
> >
> > Tom
> > On Thursday, January 16, 2020, 03:17:03 PM CST, Shane Knapp <
> skn...@berkeley.edu> wrote:
> >
> >
> > i'm seeing a lot of green builds currently...  if you think this is
> > still happening, please include links to the failed jobs.  thanks!
> >
> > shane (at a conference)
> >
> > On Thu, Jan 16, 2020 at 11:16 AM Tom Graves 
> wrote:
> > >
> > > I'm seeing the scala-lint jobs fail on the pull request builds with:
> > >
> > > [error] [FATAL] Non-resolvable parent POM: Could not transfer artifact
> org.apache:apache:pom:18 from/to central (
> http://repo.maven.apache.org/maven2): Error transferring file: Server
> returned HTTP response code: 501 for URL:
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom
> from
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom
> and 'parent.relativePath' points at wrong local POM @ line 22, column 11
> > >
> > > It seems we are hitting the http endpoint vs the https one. Our pom
> file already has the repo as the https version though.
> > >
> > > Anyone know why its trying to go to http version?
> > >
> > >
> > > Tom
> >
> >
> >
> >
> > --
> > Shane Knapp
> > Computer Guy / Voice of Reason
> > UC Berkeley EECS Research / RISELab Staff Technical Lead
> > https://rise.cs.berkeley.edu
> >
> > -
> > To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
> >
>
>
> --
> Shane Knapp
> Computer Guy / Voice of Reason
> UC Berkeley EECS Research / RISELab Staff Technical Lead
> https://rise.cs.berkeley.edu
>


Re: PR lint-scala jobs failing with http error

2020-01-16 Thread Shane Knapp
ah ok...  looks like these were set up by dongjoon a while back.  i've
added him to this thread as i can't see the settings in the spark
github repo.


On Thu, Jan 16, 2020 at 1:58 PM Tom Graves  wrote:
>
> Sorry should have included the link. It shows up in the pre checks failures, 
> but the tests still run and pass. For instance:
> https://github.com/apache/spark/pull/26682
>
> more:
> https://github.com/apache/spark/pull/27240/checks?check_run_id=393888081
> https://github.com/apache/spark/pull/27233/checks?check_run_id=393123209
> https://github.com/apache/spark/pull/27239/checks?check_run_id=393884643
>
> Tom
> On Thursday, January 16, 2020, 03:17:03 PM CST, Shane Knapp 
>  wrote:
>
>
> i'm seeing a lot of green builds currently...  if you think this is
> still happening, please include links to the failed jobs.  thanks!
>
> shane (at a conference)
>
> On Thu, Jan 16, 2020 at 11:16 AM Tom Graves  wrote:
> >
> > I'm seeing the scala-lint jobs fail on the pull request builds with:
> >
> > [error] [FATAL] Non-resolvable parent POM: Could not transfer artifact 
> > org.apache:apache:pom:18 from/to central ( 
> > http://repo.maven.apache.org/maven2): Error transferring file: Server 
> > returned HTTP response code: 501 for URL: 
> > http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom from 
> > http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom and 
> > 'parent.relativePath' points at wrong local POM @ line 22, column 11
> >
> > It seems we are hitting the http endpoint vs the https one. Our pom file 
> > already has the repo as the https version though.
> >
> > Anyone know why its trying to go to http version?
> >
> >
> > Tom
>
>
>
>
> --
> Shane Knapp
> Computer Guy / Voice of Reason
> UC Berkeley EECS Research / RISELab Staff Technical Lead
> https://rise.cs.berkeley.edu
>
> -
> To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
>


--
Shane Knapp
Computer Guy / Voice of Reason
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu

-
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org



Re: PR lint-scala jobs failing with http error

2020-01-16 Thread Tom Graves
 Sorry should have included the link. It shows up in the pre checks failures, 
but the tests still run and pass. For 
instance:https://github.com/apache/spark/pull/26682

more:https://github.com/apache/spark/pull/27240/checks?check_run_id=393888081
https://github.com/apache/spark/pull/27233/checks?check_run_id=393123209
https://github.com/apache/spark/pull/27239/checks?check_run_id=393884643

TomOn Thursday, January 16, 2020, 03:17:03 PM CST, Shane Knapp 
 wrote:  
 
 i'm seeing a lot of green builds currently...  if you think this is
still happening, please include links to the failed jobs.  thanks!

shane (at a conference)

On Thu, Jan 16, 2020 at 11:16 AM Tom Graves  wrote:
>
> I'm seeing the scala-lint jobs fail on the pull request builds with:
>
> [error] [FATAL] Non-resolvable parent POM: Could not transfer artifact 
> org.apache:apache:pom:18 from/to central ( 
> http://repo.maven.apache.org/maven2): Error transferring file: Server 
> returned HTTP response code: 501 for URL: 
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom from 
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom and 
> 'parent.relativePath' points at wrong local POM @ line 22, column 11
>
> It seems we are hitting the http endpoint vs the https one. Our pom file 
> already has the repo as the https version though.
>
> Anyone know why its trying to go to http version?
>
>
> Tom



-- 
Shane Knapp
Computer Guy / Voice of Reason
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu

-
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
  

Re: PR lint-scala jobs failing with http error

2020-01-16 Thread Shane Knapp
i'm seeing a lot of green builds currently...  if you think this is
still happening, please include links to the failed jobs.  thanks!

shane (at a conference)

On Thu, Jan 16, 2020 at 11:16 AM Tom Graves  wrote:
>
> I'm seeing the scala-lint jobs fail on the pull request builds with:
>
> [error] [FATAL] Non-resolvable parent POM: Could not transfer artifact 
> org.apache:apache:pom:18 from/to central ( 
> http://repo.maven.apache.org/maven2): Error transferring file: Server 
> returned HTTP response code: 501 for URL: 
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom from 
> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom and 
> 'parent.relativePath' points at wrong local POM @ line 22, column 11
>
> It seems we are hitting the http endpoint vs the https one. Our pom file 
> already has the repo as the https version though.
>
> Anyone know why its trying to go to http version?
>
>
> Tom



-- 
Shane Knapp
Computer Guy / Voice of Reason
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu

-
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org



PR lint-scala jobs failing with http error

2020-01-16 Thread Tom Graves
I'm seeing the scala-lint jobs fail on the pull request builds with:
[error] [FATAL] Non-resolvable parent POM: Could not transfer artifact 
org.apache:apache:pom:18 from/to central ( 
http://repo.maven.apache.org/maven2): Error transferring file: Server returned 
HTTP response code: 501 for URL: 
http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom from 
http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom and 
'parent.relativePath' points at wrong local POM @ line 22, column 11

It seems we are hitting the http endpoint vs the https one. Our pom file 
already has the repo as the https version though.
Anyone know why its trying to go to http version?

Tom