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

2018-07-19 Thread Apache Jenkins Server
See 


Changes:

[sblackmon] resolves STREAMS-605

[sblackmon] found and fixed a bug affecting isRunning()

--
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
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 e50cbcc0c1f05213de88ece0ca7fdadff2358b40 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e50cbcc0c1f05213de88ece0ca7fdadff2358b40
Commit message: "Merge pull request #455 from steveblackmon/STREAMS-605"
 > git rev-list --no-walk 3f935f0cc9baf3571e65207f5533cbfec37169e6 # 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 44211
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 44211
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/settings5307781246209839390.xml -q -U -Pcheck -DskipTests -DskipITs clean 
generate-sources site:site site:stage
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.streams:streams-schema-activitystreams:jar:0.6.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.streams:streams-testing:test-jar -> duplicate declaration 
of version ${project.version} @ 
org.apache.streams:streams-schema-activitystreams:[unknown-version], 

 line 65, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[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 

[jira] [Commented] (STREAMS-605) Implement Callable interface on a few twitter providers

2018-07-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on STREAMS-605:


steveblackmon closed pull request #455: resolves STREAMS-605
URL: https://github.com/apache/streams/pull/455
 
 
   

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-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Page.json
 
b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Page.json
new file mode 100644
index 00..55d6e12633
--- /dev/null
+++ 
b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Page.json
@@ -0,0 +1,281 @@
+{
+"$schema": "http://json-schema.org/draft-03/schema;,
+"$license": [
+"http://www.apache.org/licenses/LICENSE-2.0;
+],
+"id": "#",
+"type": "object",
+"javaType": "org.apache.streams.facebook.graph.Page",
+"javaInterfaces": [
+"java.io.Serializable"
+],
+"properties": {
+"about": {
+"type": "string",
+"required": false
+},
+"username": {
+"type": "string",
+"required": false
+},
+"accessToken": {
+"type": "string",
+"required": false
+},
+"birthday": {
+"type": "string",
+"required": false
+},
+"category": {
+"type": "string",
+"required": false
+},
+"can_checkin": {
+"type": "boolean",
+"required": false
+},
+"can_post": {
+"type": "boolean",
+"required": false
+},
+"checkins": {
+"type": "integer",
+"required": false
+},
+"communityPage": {
+"type": "boolean",
+"required": false
+},
+"cover": {
+"type": "object",
+"required": false,
+"properties": {
+"id": {
+"type": "null",
+"required": false
+},
+"offsetY": {
+"type": "number",
+"required": false
+},
+"source": {
+"type": "string",
+"required": false
+}
+}
+},
+"display_subtext": {
+"type": "string",
+"required": false
+},
+"displayed_message_response_time": {
+"type": "string",
+"required": false
+},
+"engagement": {
+"type": "object",
+"required": false,
+"properties": {
+"count": {
+"type": "integer",
+"required": false
+},
+"social_sentence": {
+"type": "string",
+"required": false
+}
+}
+},
+"fan_count": {
+"type": "integer",
+"required": false
+},
+"founded": {
+"type": "string",
+"required": false
+},
+"general_info": {
+"type": "string",
+"required": false
+},
+"global_brand_root_id": {
+"type": "string",
+"required": false
+},
+"id": {
+"type": "string",
+"required": false
+},
+"is_community_page": {
+"type": "boolean",
+"required": false
+},
+"is_always_open": {
+"type": "boolean",
+"required": false
+},
+"is_permanently_closed": {
+"type": "boolean",
+"required": false
+},
+"is_published": {
+"type": "boolean",
+"required": false
+},
+"is_unclaimed": {
+"type": "boolean",
+"required": false
+},
+"is_webhooks_subscribed": {
+"type": "boolean",
+"required": false
+},
+"leadgen_tos_accepted": {
+"type": "boolean",
+"required": false
+},
+"link": {
+"type": "string",
+"required": false
+},
+"location": {
+"type": "object",
+"required": false,
+"properties": {
+"city": {
+"type": "string",
+"required": false
+},
+

[jira] [Commented] (STREAMS-613) http://www.json-schema.org/address is 404

2018-07-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on STREAMS-613:


steveblackmon opened a new pull request #456: resolves STREAMS-613
URL: https://github.com/apache/streams/pull/456
 
 
   json-schema.org is no longer hosting /address and /card, but they are still 
available on github


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


> http://www.json-schema.org/address is 404
> -
>
> Key: STREAMS-613
> URL: https://issues.apache.org/jira/browse/STREAMS-613
> Project: Streams
>  Issue Type: Bug
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>Priority: Major
>
> Streams won’t build because http://www.json-schema.org/address is returning 
> 404



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (STREAMS-605) Implement Callable interface on a few twitter providers

2018-07-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on STREAMS-605:


rawkintrevo commented on issue #455: resolves STREAMS-605
URL: https://github.com/apache/streams/pull/455#issuecomment-406284092
 
 
   lgtm


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


> Implement Callable interface on a few twitter providers
> ---
>
> Key: STREAMS-605
> URL: https://issues.apache.org/jira/browse/STREAMS-605
> Project: Streams
>  Issue Type: Improvement
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>Priority: Major
>
> When interfacing with a Provider directly, we wind up needing a lot of 
> boilerplate to get the resulting data.
> It would be useful to be able to directly access a full resultset produced 
> with readAll as underlying document objects (not datums) just by submitting a 
> provider to a java executorservice.
> Also this would allow for a provider to be run with a timeout chosen at 
> run-time.
> Implement Callable interface on a few twitter providers as a proof of 
> concept.  Shouldn’t need to interfere with the other interfaces.  If the 
> community likes this approach we can roll it out more broadly and perhaps add 
> Callable to the StreamsProvider interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[streams] branch master updated (3f935f0 -> e50cbcc)

2018-07-19 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 3f935f0  [maven-release-plugin] prepare for next development iteration
 add 5651083  resolves STREAMS-605
 add df2b8e8  found and fixed a bug affecting isRunning()
 new e50cbcc  Merge pull request #455 from steveblackmon/STREAMS-605

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:
 .../apache/streams/facebook/{ => graph}/Page.json  |   2 +-
 .../twitter/provider/SevenDaySearchProvider.java   | 119 +++---
 .../provider/SevenDaySearchProviderTask.java   |  15 +-
 .../twitter/provider/ThirtyDaySearchProvider.java  | 121 +++---
 .../provider/ThirtyDaySearchProviderTask.java  |  16 +-
 .../twitter/provider/TwitterEngagersProvider.java  | 175 +++--
 .../provider/TwitterFollowersIdsProviderTask.java  |  18 ++-
 .../provider/TwitterFollowersListProviderTask.java |  20 ++-
 .../twitter/provider/TwitterFollowingProvider.java | 161 ++-
 .../provider/TwitterFriendsIdsProviderTask.java|  17 +-
 .../provider/TwitterFriendsListProviderTask.java   |  23 ++-
 .../twitter/provider/TwitterRetweetsTask.java  |   9 +-
 .../twitter/provider/TwitterTimelineProvider.java  |  99 +++-
 .../provider/TwitterTimelineProviderTask.java  |  16 +-
 .../provider/TwitterUserInformationProvider.java   |  60 +++
 .../apache/streams/core/util/ExecutorUtils.java|  36 +
 .../org/apache/streams/core/util/QueueUtils.java   |  14 ++
 17 files changed, 556 insertions(+), 365 deletions(-)
 copy 
streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/{
 => graph}/Page.json (99%)
 create mode 100644 
streams-core/src/main/java/org/apache/streams/core/util/ExecutorUtils.java
 create mode 100644 
streams-core/src/main/java/org/apache/streams/core/util/QueueUtils.java



[streams] 01/01: Merge pull request #455 from steveblackmon/STREAMS-605

2018-07-19 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 e50cbcc0c1f05213de88ece0ca7fdadff2358b40
Merge: 3f935f0 df2b8e8
Author: Steve Blackmon 
AuthorDate: Thu Jul 19 10:38:04 2018 -0500

Merge pull request #455 from steveblackmon/STREAMS-605

resolves STREAMS-605

 .../org/apache/streams/facebook/graph/Page.json| 281 +
 .../twitter/provider/SevenDaySearchProvider.java   | 119 -
 .../provider/SevenDaySearchProviderTask.java   |  15 +-
 .../twitter/provider/ThirtyDaySearchProvider.java  | 121 -
 .../provider/ThirtyDaySearchProviderTask.java  |  16 +-
 .../twitter/provider/TwitterEngagersProvider.java  | 175 +++--
 .../provider/TwitterFollowersIdsProviderTask.java  |  18 +-
 .../provider/TwitterFollowersListProviderTask.java |  20 +-
 .../twitter/provider/TwitterFollowingProvider.java | 161 ++--
 .../provider/TwitterFriendsIdsProviderTask.java|  17 +-
 .../provider/TwitterFriendsListProviderTask.java   |  23 +-
 .../twitter/provider/TwitterRetweetsTask.java  |   9 +-
 .../twitter/provider/TwitterTimelineProvider.java  |  99 +---
 .../provider/TwitterTimelineProviderTask.java  |  16 +-
 .../provider/TwitterUserInformationProvider.java   |  60 ++---
 .../apache/streams/core/util/ExecutorUtils.java|  36 +++
 .../org/apache/streams/core/util/QueueUtils.java   |  14 +
 17 files changed, 836 insertions(+), 364 deletions(-)



[jira] [Resolved] (STREAMS-605) Implement Callable interface on a few twitter providers

2018-07-19 Thread Steve Blackmon (JIRA)


 [ 
https://issues.apache.org/jira/browse/STREAMS-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Blackmon resolved STREAMS-605.

Resolution: Fixed

> Implement Callable interface on a few twitter providers
> ---
>
> Key: STREAMS-605
> URL: https://issues.apache.org/jira/browse/STREAMS-605
> Project: Streams
>  Issue Type: Improvement
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>Priority: Major
>
> When interfacing with a Provider directly, we wind up needing a lot of 
> boilerplate to get the resulting data.
> It would be useful to be able to directly access a full resultset produced 
> with readAll as underlying document objects (not datums) just by submitting a 
> provider to a java executorservice.
> Also this would allow for a provider to be run with a timeout chosen at 
> run-time.
> Implement Callable interface on a few twitter providers as a proof of 
> concept.  Shouldn’t need to interfere with the other interfaces.  If the 
> community likes this approach we can roll it out more broadly and perhaps add 
> Callable to the StreamsProvider interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (STREAMS-613) http://www.json-schema.org/address is 404

2018-07-19 Thread Steve Blackmon (JIRA)
Steve Blackmon created STREAMS-613:
--

 Summary: http://www.json-schema.org/address is 404
 Key: STREAMS-613
 URL: https://issues.apache.org/jira/browse/STREAMS-613
 Project: Streams
  Issue Type: Bug
Reporter: Steve Blackmon
Assignee: Steve Blackmon


Streams won’t build because http://www.json-schema.org/address is returning 404



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: streams-project #463

2018-07-19 Thread Apache Jenkins Server
See 


Changes:

[sblackmon] resolves STREAMS-605

[sblackmon] found and fixed a bug affecting isRunning()

--
[...truncated 252.25 KB...]
[JENKINS] Recording test results
[JENKINS] Recording test results
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/plugins/streams-plugin-pojo/0.6.1-SNAPSHOT/streams-plugin-pojo-0.6.1-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/plugins/streams-plugin-pojo/0.6.1-SNAPSHOT/streams-plugin-pojo-0.6.1-SNAPSHOT.pom
[WARNING] Failed to getClass for 
org.apache.streams.plugins.StreamsPojoSourceGeneratorMojo
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
[JENKINS] Recording test results
[JENKINS] Recording test results
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/streams-config/0.6.1-SNAPSHOT/streams-config-0.6.1-SNAPSHOT.jar
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/streams-config/0.6.1-SNAPSHOT/streams-config-0.6.1-SNAPSHOT.pom
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
[JENKINS] Recording test results
[JENKINS] Recording test results
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/streams-util/0.6.1-SNAPSHOT/streams-util-0.6.1-SNAPSHOT.jar
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/streams-util/0.6.1-SNAPSHOT/streams-util-0.6.1-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/streams/streams-util/0.6.1-SNAPSHOT/streams-util-0.6.1-SNAPSHOT-tests.jar
[WARNING] Failed to getClass for 
org.apache.streams.plugins.StreamsPojoSourceGeneratorMojo
[ERROR] class java.lang.IllegalArgumentException Unrecognised URI, can't 
resolve this: http://www.json-schema.org/address
[ERROR] COMPILATION ERROR : 
[ERROR] 
:[22,36]
 package org.apache.streams.pojo.json does not exist
[ERROR] 
:[71,18]
 cannot find symbol
  symbol:   class Activity
  location: interface org.apache.streams.data.ActivityConverter
[ERROR] 
:[78,33]
 cannot find symbol
  symbol:   class Activity
  location: interface org.apache.streams.data.ActivityConverter
[ERROR] 
:[85,8]
 cannot find symbol
  symbol:   class Activity
  location: interface org.apache.streams.data.ActivityConverter
[ERROR] 
:[92,8]
 cannot find symbol
  symbol:   class Activity
  location: interface org.apache.streams.data.ActivityConverter
[ERROR] 
:[21,31]
 package org.apache.streams.pojo does not exist
[ERROR] 

[jira] [Commented] (STREAMS-613) http://www.json-schema.org/address is 404

2018-07-19 Thread Steve Blackmon (JIRA)


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

Steve Blackmon commented on STREAMS-613:


After trying to fix this by pointing at github, I’ve realized that is not going 
to work - because there are nested $refs: http://json-schema.org/calendar $refs 
http://json-schema.org/address so pointing at http://...github.../calendar 
still fails when it tries to resolve address.

The only fix I know will work is to stop pointing at json-schema.org entirely 
and bring all of those schemas into a new module in Apache Streams, modifying 
the $refs as necessary.  I’ll get started on that now.

> http://www.json-schema.org/address is 404
> -
>
> Key: STREAMS-613
> URL: https://issues.apache.org/jira/browse/STREAMS-613
> Project: Streams
>  Issue Type: Bug
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>Priority: Major
>
> Streams won’t build because http://www.json-schema.org/address is returning 
> 404



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)