Build failed in Jenkins: streams-project #467

2018-10-11 Thread Apache Jenkins Server
See 


Changes:

[sblackmon] STREAMS-611: Failing integration tests in 
streams-provider-google-gplus

--
[...truncated 534.56 KB...]
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Play
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Listen
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.RsvpMaybe
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Product
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Create
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Service
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Confirm
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Invite
18:02:00.276 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Question
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Authorize
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Terminate
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Scope
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.StopFollowing
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Archive
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Review
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Find
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Team
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Share
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Satisfy
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Watch
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Install
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Tie
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Cancel
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Lose
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Present
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Deliver
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Like
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.StreamsJacksonMapperConfiguration
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Accept
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Win
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Job
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Tag
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.objectTypes.Comment
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Checkin
18:02:00.277 [main] DEBUG 
org.apache.streams.plugins.StreamsScalaSourceGenerator - class 
org.apache.streams.pojo.json.verbs.Delete
18:02:00.278 [main] 

Build failed in Jenkins: streams-project-site #358

2018-10-11 Thread Apache Jenkins Server
See 


Changes:

[sblackmon] STREAMS-611: Failing integration tests in 
streams-provider-google-gplus

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on websites1 (git-websites svn-websites) in workspace 

[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/streams.git
 > git init  # 
 > timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/streams.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/streams.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/streams.git 
 > # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/streams.git 
 > # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/streams.git
using GIT_SSH to set credentials 
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/streams.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 6c7a10c716039b2dbdfee8d08e16fdddfd1a0ad7 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6c7a10c716039b2dbdfee8d08e16fdddfd1a0ad7
Commit message: "Merge pull request #460 from steveblackmon/STREAMS-611"
 > git rev-list --no-walk cd85b5497340eba804a2520644be94ed53e7dd0b # timeout=10
Parsing POMs
using settings config with name simple-deploy-settings-no-mirror
Replacing all maven server entries not found in credentials list is true
Modules changed, recalculating dependency graph
Established TCP socket on 35098
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[streams-project-site] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g 
-Xms256m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8 -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.5.0 
/home/jenkins/agent.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 35098
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>   channel started
using settings config with name simple-deploy-settings-no-mirror
Replacing all maven server entries not found in credentials list is true
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -s 
/tmp/settings7671588840892635721.xml -q -U -Pcheck -DskipTests -DskipITs clean 
generate-sources site:site site:stage
[WARNING] The project org.apache.streams:apache-streams:pom:0.6.1-SNAPSHOT uses 
prerequisites which is only intended for maven-plugin projects but not for non 
maven-plugin projects. For such purposes you should use the 
maven-enforcer-plugin. See 
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 0 infos
Finished in 224 ms
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.maven.reporters.MavenSiteArchiver$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[JENKINS] Archiving site from 
 to 
/x1/jenkins/jenkins-home/jobs/streams-project-site/site
[WARNING] Attempt to (de-)serialize anonymous class hudson.FilePath$32; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.maven.reporters.MavenArtifactArchiver$2; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.maven.reporters.MavenFingerprinter$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 

[jira] [Commented] (STREAMS-611) Failing integration tests in streams-provider-google-gplus

2018-10-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/STREAMS-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16646756#comment-16646756
 ] 

ASF GitHub Bot commented on STREAMS-611:


steveblackmon closed pull request #460: STREAMS-611: Failing integration tests 
in streams-provider-google-gplus
URL: https://github.com/apache/streams/pull/460
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/streams-contrib/streams-provider-google/google-gplus/src/main/java/org/apache/streams/gplus/serializer/util/GPlusActivityDeserializer.java
 
b/streams-contrib/streams-provider-google/google-gplus/src/main/java/org/apache/streams/gplus/serializer/util/GPlusActivityDeserializer.java
index 585e511e30..a01161d3a7 100644
--- 
a/streams-contrib/streams-provider-google/google-gplus/src/main/java/org/apache/streams/gplus/serializer/util/GPlusActivityDeserializer.java
+++ 
b/streams-contrib/streams-provider-google/google-gplus/src/main/java/org/apache/streams/gplus/serializer/util/GPlusActivityDeserializer.java
@@ -59,7 +59,9 @@ public Activity deserialize(JsonParser jsonParser, 
DeserializationContext deseri
 try {
   activity.setUrl(node.get("url").asText());
   activity.setEtag(node.get("etag").asText());
-  activity.setTitle(node.get("title").asText());
+  if( node.has("title") ) {
+activity.setTitle(node.get("title").asText());
+  }
   
activity.setPublished(DateTime.parseRfc3339(node.get("published").asText()));
   activity.setUpdated(DateTime.parseRfc3339(node.get("updated").asText()));
   activity.setId(node.get("id").asText());
@@ -86,9 +88,13 @@ public Activity deserialize(JsonParser jsonParser, 
DeserializationContext deseri
 JsonNode actorNode = node.get("actor");
 
 actor.setId(actorNode.get("id").asText());
-actor.setDisplayName(actorNode.get("displayName").asText());
-actor.setUrl(actorNode.get("url").asText());
-
+if( actorNode.has("displayName") ) {
+  actor.setDisplayName(actorNode.get("displayName").asText());
+}
+if( actorNode.has("url") ) {
+  actor.setUrl(actorNode.get("url").asText());
+}
+
 Activity.Actor.Image image = new Activity.Actor.Image();
 JsonNode imageNode = actorNode.get("image");
 image.setUrl(imageNode.get("url").asText());
@@ -108,7 +114,9 @@ public Activity deserialize(JsonParser jsonParser, 
DeserializationContext deseri
 Activity.PlusObject object = new Activity.PlusObject();
 JsonNode objectNode = node.get("object");
 object.setObjectType(objectNode.get("objectType").asText());
-object.setContent(objectNode.get("content").asText());
+if( node.has("content") ) {
+  object.setContent(objectNode.get("content").asText());
+}
 object.setUrl(objectNode.get("url").asText());
 
 Activity.PlusObject.Replies replies = new Activity.PlusObject.Replies();
diff --git 
a/streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/processors/GooglePlusActivitySerDeIT.java
 
b/streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/processors/GooglePlusActivitySerDeIT.java
index 60bc7449c4..a427392b0d 100644
--- 
a/streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/processors/GooglePlusActivitySerDeIT.java
+++ 
b/streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/processors/GooglePlusActivitySerDeIT.java
@@ -106,7 +106,6 @@ public void testActivityObjects() {
   assertNotNull(actor.getUrl());
 
   assertNotNull(activity.getPublished());
-  assertNotNull(activity.getTitle());
   assertNotNull(activity.getUrl());
 
   Map extensions = 
ExtensionUtil.getInstance().getExtensions(activity);


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Failing integration tests in streams-provider-google-gplus
> --
>
> Key: STREAMS-611
> URL: https://issues.apache.org/jira/browse/STREAMS-611
> Project: Streams
>  Issue Type: Task
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>Priority: Major
> Fix For: 0.6.1
>
>
> I encountered failing integration tests in streams-provider-google-gplus 
> building apache-streams-0.6.0-rc2.
> On debugging, the cause seems to be certain fields 

[streams] 01/01: Merge pull request #460 from steveblackmon/STREAMS-611

2018-10-11 Thread sblackmon
This is an automated email from the ASF dual-hosted git repository.

sblackmon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/streams.git

commit 6c7a10c716039b2dbdfee8d08e16fdddfd1a0ad7
Merge: cd85b54 033ede6
Author: Steve Blackmon 
AuthorDate: Thu Oct 11 12:00:28 2018 -0500

Merge pull request #460 from steveblackmon/STREAMS-611

STREAMS-611: Failing integration tests in streams-provider-google-gplus

 .../serializer/util/GPlusActivityDeserializer.java | 18 +-
 .../gplus/processors/GooglePlusActivitySerDeIT.java|  1 -
 2 files changed, 13 insertions(+), 6 deletions(-)



[streams] branch master updated (cd85b54 -> 6c7a10c)

2018-10-11 Thread sblackmon
This is an automated email from the ASF dual-hosted git repository.

sblackmon pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/streams.git.


from cd85b54  Merge pull request #459 from steveblackmon/STREAMS-614
 add 033ede6  STREAMS-611: Failing integration tests in 
streams-provider-google-gplus
 new 6c7a10c  Merge pull request #460 from steveblackmon/STREAMS-611

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../serializer/util/GPlusActivityDeserializer.java | 18 +-
 .../gplus/processors/GooglePlusActivitySerDeIT.java|  1 -
 2 files changed, 13 insertions(+), 6 deletions(-)