i (stupidly) updated the ghprb plugin as the version we're using is
really, really old.  this re-wrote the config and broke stuff.

so, i just downgraded the plugin back to the last known working
version, and noticed that some of the fields in the xml are missing.

thankfully i have a backup config from ~5 days ago....  i'm working on
munging them together right now.

and thankfully our new hardware has just showed up so i'll have a
jenkins staging instance up really, really soon and be able to test
stuff like this in the future.

shane

On Fri, Nov 6, 2015 at 1:04 PM, Josh Rosen <joshro...@databricks.com> wrote:
> Are you sure that the credentials are missing? Also: did you enable GitHub
> commit status updating by accident / configuration loss? That might explain
> the errors here, since our keys don't have permissions to use that API.
>
> On Fri, Nov 6, 2015 at 12:54 PM, shane knapp <skn...@berkeley.edu> wrote:
>>
>> alright, i'm downgrading our ghprb plugin back to the last known
>> working version.  this will require a jenkins restart, which i will do
>> immediately.
>>
>> sorry about this!  :(
>>
>> On Fri, Nov 6, 2015 at 12:35 PM, shane knapp <skn...@berkeley.edu> wrote:
>> > a pox on the github pull request builder...  the update wiped out the
>> > github auth creds.  :\
>> >
>> > On Fri, Nov 6, 2015 at 12:30 PM, shane knapp <skn...@berkeley.edu>
>> > wrote:
>> >> looking in to this now.
>> >>
>> >> On Fri, Nov 6, 2015 at 12:28 PM, Michael Armbrust
>> >> <mich...@databricks.com> wrote:
>> >>> I'm noticing several problems with Jenkins since the upgrade.
>> >>>
>> >>> PR comments say: "Build started sha1 is merged." instead of actually
>> >>> printing the hash
>> >>>
>> >>> Also:
>> >>>
>> >>> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45246/console
>> >>>
>> >>> GitHub pull request #9527 of commit
>> >>> 0e0959efada849a56430d30305eb4e9a88ecafad, no merge conflicts.
>> >>> Setting status of 0e0959efada849a56430d30305eb4e9a88ecafad to PENDING
>> >>> with
>> >>> url  and message: 'Build started sha1 is merged.'
>> >>> FileNotFoundException means that the credentials Jenkins is using is
>> >>> probably wrong. Or the user account does not have write access to the
>> >>> repo.
>> >>> java.io.FileNotFoundException: {"message":"Not
>> >>> Found","documentation_url":"https://developer.github.com/v3"}
>> >>>       at
>> >>> org.kohsuke.github.Requester.handleApiError(Requester.java:501)
>> >>>       at org.kohsuke.github.Requester._to(Requester.java:248)
>> >>>       at org.kohsuke.github.Requester.to(Requester.java:194)
>> >>>       at
>> >>>
>> >>> org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:829)
>> >>>       at
>> >>>
>> >>> org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:208)
>> >>>       at
>> >>>
>> >>> org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildStart(GhprbSimpleStatus.java:147)
>> >>>       at
>> >>> org.jenkinsci.plugins.ghprb.GhprbBuilds.onStarted(GhprbBuilds.java:122)
>> >>>       at
>> >>>
>> >>> org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:24)
>> >>>       at
>> >>>
>> >>> org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:17)
>> >>>       at
>> >>> hudson.model.listeners.RunListener.fireStarted(RunListener.java:215)
>> >>>       at hudson.model.Run.execute(Run.java:1737)
>> >>>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>> >>>       at
>> >>> hudson.model.ResourceController.execute(ResourceController.java:98)
>> >>>       at hudson.model.Executor.run(Executor.java:410)
>> >>> Caused by: java.io.FileNotFoundException:
>> >>>
>> >>> https://api.github.com/repos/apache/spark/statuses/0e0959efada849a56430d30305eb4e9a88ecafad
>> >>>       at
>> >>> sun.reflect.GeneratedConstructorAccessor174.newInstance(Unknown Source)
>> >>>       at
>> >>>
>> >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> >>>       at
>> >>> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
>> >>>       at java.security.AccessController.doPrivileged(Native Method)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>> >>>       at org.kohsuke.github.Requester.parse(Requester.java:458)
>> >>>       at org.kohsuke.github.Requester._to(Requester.java:227)
>> >>>       ... 12 more
>> >>> Caused by: java.io.FileNotFoundException:
>> >>>
>> >>> https://api.github.com/repos/apache/spark/statuses/0e0959efada849a56430d30305eb4e9a88ecafad
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
>> >>>       at
>> >>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
>> >>>       at
>> >>>
>> >>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
>> >>>       at org.kohsuke.github.Requester.parse(Requester.java:454)
>> >>>       ... 13 more
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Fri, Nov 6, 2015 at 8:04 AM, shane knapp <skn...@berkeley.edu>
>> >>> wrote:
>> >>>>
>> >>>> and we're back!
>> >>>>
>> >>>> On Fri, Nov 6, 2015 at 7:39 AM, shane knapp <skn...@berkeley.edu>
>> >>>> wrote:
>> >>>> > this is happening now.
>> >>>> >
>> >>>> > On Thu, Nov 5, 2015 at 11:08 AM, shane knapp <skn...@berkeley.edu>
>> >>>> > wrote:
>> >>>> >> well, i forgot to put this on my calendar and didn't get around to
>> >>>> >> getting it done this morning.  :)
>> >>>> >>
>> >>>> >> anyways, i'll be shooting for tomorrow (friday) morning instead.
>> >>>> >>
>> >>>> >> shane
>> >>>> >>
>> >>>> >> On Mon, Nov 2, 2015 at 9:55 AM, shane knapp <skn...@berkeley.edu>
>> >>>> >> wrote:
>> >>>> >>> i'd like to take jenkins down briefly thursday morning to install
>> >>>> >>> some
>> >>>> >>> plugin updates.
>> >>>> >>>
>> >>>> >>> this will hopefully be short (~1hr), but could easily become
>> >>>> >>> longer as
>> >>>> >>> the jenkins plugin ecosystem is fragile and updates like this are
>> >>>> >>> known to cause things to explode.  the only reason why i'm
>> >>>> >>> contemplating this, is i'm having some issues with the git plugin
>> >>>> >>> on
>> >>>> >>> new github pull request builder builds.
>> >>>> >>>
>> >>>> >>> i'll send updates as things progress.
>> >>>> >>>
>> >>>> >>> thanks,
>> >>>> >>>
>> >>>> >>> shane
>> >>>>
>> >>>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
>> >>>> For additional commands, e-mail: dev-h...@spark.apache.org
>> >>>>
>> >>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
>> For additional commands, e-mail: dev-h...@spark.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org

Reply via email to