[jira] [Updated] (TC-354) TO API - create endpoint to associate servers with a deliveryservice

2017-05-23 Thread Jeremy Mitchell (JIRA)

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

Jeremy Mitchell updated TC-354:
---
Description: Create endpoint to associate servers with a deliveryservice. 
Also an endpoint to fetch all servers unassigned to a delivery service of type 
EDGE*, ORG where server.cdn == ds.cdn.  (was: Create endpoint to associate 
servers with a deliveryservice. Also an endpoint to fetch all servers 
unassigned to a delivery service of type EDGE*, ORG that have a profile in the 
same CDN as the DS.)

> TO API - create endpoint to associate servers with a deliveryservice
> 
>
> Key: TC-354
> URL: https://issues.apache.org/jira/browse/TC-354
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>Priority: Minor
>
> Create endpoint to associate servers with a deliveryservice. Also an endpoint 
> to fetch all servers unassigned to a delivery service of type EDGE*, ORG 
> where server.cdn == ds.cdn.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: incubator-trafficcontrol-rat #31

2017-05-23 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 31
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson984955149417671067.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson3613085862543019941.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.OkdHjQPC1b
+ ratjar=/tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 86 
1587k   86 1369k0 0  1201k  0  0:00:01  0:00:01 --:--:-- 1201k100 
1587k  100 1587k0 0  1389k  0  0:00:01  0:00:01 --:--:-- 1388k
+ curl -L -o /tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
010040  100400 0 72  0 --:--:-- --:--:-- --:--:--72
++ awk '{print $1}'
++ sha1sum /tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar
++ cat /tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.OkdHjQPC1b/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.OkdHjQPC1b
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/table/_table.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/_widget.cacheGroups.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/_widget.capacity.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/_widget.routing.scss
  

[GitHub] incubator-trafficcontrol pull request #544: Authorization model

2017-05-23 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/544


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-354) TO API - create endpoint to associate servers with a deliveryservice

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1608#comment-1608
 ] 

ASF GitHub Bot commented on TC-354:
---

GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/606

[TC-354] - adds api, docs and tests to assign servers to a ds as well as 
fetch unassigned server…

…s for a ds

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-354-assign-server-to-ds

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/606.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #606


commit 1e83cef27714f025573de899e5d1592e36f0b1bd
Author: Jeremy Mitchell 
Date:   2017-05-24T02:30:36Z

adds api to assign servers to a ds as well as fetch unassigned servers for 
a ds




> TO API - create endpoint to associate servers with a deliveryservice
> 
>
> Key: TC-354
> URL: https://issues.apache.org/jira/browse/TC-354
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Assignee: Jeremy Mitchell
>Priority: Minor
>
> Create endpoint to associate servers with a deliveryservice. Also an endpoint 
> to fetch all servers unassigned to a delivery service of type EDGE*, ORG that 
> have a profile in the same CDN as the DS.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #606: [TC-354] - adds api, docs and te...

2017-05-23 Thread mitchell852
GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/606

[TC-354] - adds api, docs and tests to assign servers to a ds as well as 
fetch unassigned server…

…s for a ds

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-354-assign-server-to-ds

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/606.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #606


commit 1e83cef27714f025573de899e5d1592e36f0b1bd
Author: Jeremy Mitchell 
Date:   2017-05-24T02:30:36Z

adds api to assign servers to a ds as well as fetch unassigned servers for 
a ds




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-338) Raw remap text for mid

2017-05-23 Thread Eric Friedrich (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16022217#comment-16022217
 ] 

Eric Friedrich commented on TC-338:
---

Is this a dupe of TC-271?

> Raw remap text for mid
> --
>
> Key: TC-338
> URL: https://issues.apache.org/jira/browse/TC-338
> Project: Traffic Control
>  Issue Type: Improvement
>Reporter: Dan Kirkwood
>Assignee: Derek Gelinas
>Priority: Minor
>
> Right now for each Delivery Service there is a spot for "Raw remap text". 
> Right now it only applies this text to edges. We also need to ability to 
> apply this to the mid tier caches too
> moved from https://github.com/Comcast/traffic_control/issues/1543



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (TC-352) Traffic Router Build fails in CI - JDK

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16022212#comment-16022212
 ] 

ASF GitHub Bot commented on TC-352:
---

Github user limited commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/603
  
merged, please close


> Traffic Router Build fails in CI - JDK 
> ---
>
> Key: TC-352
> URL: https://issues.apache.org/jira/browse/TC-352
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Router
>Affects Versions: 2.0.0
>Reporter: Eric Friedrich
>Priority: Blocker
>
> Jenkins Link:
> https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-build/4/display/redirect?page=changes
> Step 7/11 : RUN curl -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -
> ---> Running in fffead92ecc5
>  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
> Dload  Upload   Total   SpentLeft  Speed
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
> 0100   465  100   4650 0   1000  0 --:--:-- --:--:-- --:--:--  
> 2801
> 100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
> 5548100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
>0
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
> Service 'traffic_router_build' failed to build: The command '/bin/sh -c curl 
> -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -' returned a non-zero code: 2
> Build step 'Execute shell' marked build as failure
> Archiving artifacts



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol issue #603: [Backport TC-352] updates jdk version f...

2017-05-23 Thread limited
Github user limited commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/603
  
merged, please close


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-352) Traffic Router Build fails in CI - JDK

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16022202#comment-16022202
 ] 

ASF GitHub Bot commented on TC-352:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/603


> Traffic Router Build fails in CI - JDK 
> ---
>
> Key: TC-352
> URL: https://issues.apache.org/jira/browse/TC-352
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Router
>Affects Versions: 2.0.0
>Reporter: Eric Friedrich
>Priority: Blocker
>
> Jenkins Link:
> https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-build/4/display/redirect?page=changes
> Step 7/11 : RUN curl -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -
> ---> Running in fffead92ecc5
>  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
> Dload  Upload   Total   SpentLeft  Speed
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
> 0100   465  100   4650 0   1000  0 --:--:-- --:--:-- --:--:--  
> 2801
> 100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
> 5548100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
>0
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
> Service 'traffic_router_build' failed to build: The command '/bin/sh -c curl 
> -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -' returned a non-zero code: 2
> Build step 'Execute shell' marked build as failure
> Archiving artifacts



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #603: [Backport TC-352] updates jdk ve...

2017-05-23 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/603


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (TC-355) Checks needed to prevent profiles and servers having different CDNs assigned

2017-05-23 Thread Derek Gelinas (JIRA)
Derek Gelinas created TC-355:


 Summary: Checks needed to prevent profiles and servers having 
different CDNs assigned
 Key: TC-355
 URL: https://issues.apache.org/jira/browse/TC-355
 Project: Traffic Control
  Issue Type: Bug
  Components: Traffic Ops, Traffic Ops API
Affects Versions: 2.0.0
Reporter: Derek Gelinas
Assignee: Derek Gelinas
 Fix For: 2.1.0


It should not be possible to assign servers to a profile with a different or 
null CDN value.  It should also not be possible to change a profile's CDN when 
there are servers assigned to that profile on a different CDN.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol issue #605: Add CDN match checks when assigning or ...

2017-05-23 Thread mitchell852
Github user mitchell852 commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/605
  
In the API, I see where you are checking this:

- when updating/creating a server, check that server.profile.cdn == 
server.cdn

but i don't see where you are checking this in the API:

- when updating a profile, check that profile.cdn == the cdn of the servers 
currently assigned to the profile


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol issue #605: Add CDN match checks when assigning or ...

2017-05-23 Thread dg4prez
Github user dg4prez commented on the issue:

https://github.com/apache/incubator-trafficcontrol/pull/605
  
found an error, standby on this.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #605: Add CDN match checks when assign...

2017-05-23 Thread dg4prez
GitHub user dg4prez opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/605

Add CDN match checks when assigning or editing profiles

Adds CDN mismatch/null checks to changing server profile in the UI and API. 
 Also checks for a mismatch against the servers with a particular profile 
assigned when changing that profile's CDN.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dg4prez/incubator-trafficcontrol safeguards

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/605.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #605


commit 5edf1b1e4825adcb268cef15783add1db1aadcad
Author: Derek Gelinas 
Date:   2017-05-23T20:22:30Z

Add CDN match checks when assigning or editing profiles




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: incubator-trafficcontrol-rat #29

2017-05-23 Thread Apache Jenkins Server
See 


--
Started by upstream project "incubator-trafficcontrol-master-build" build 
number 29
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson4032426054261777463.sh
+ rm -rf 

 

 '
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson8187629149968583017.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.IaQNS9jtHg
+ ratjar=/tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
53 1587k   53  848k0 0   928k  0  0:00:01 --:--:--  0:00:01  
927k100 1587k  100 1587k0 0  1716k  0 --:--:-- --:--:-- --:--:-- 
1715k
+ curl -L -o /tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
010040  100400 0 98  0 --:--:-- --:--:-- --:--:--98
++ sha1sum /tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.IaQNS9jtHg/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.IaQNS9jtHg
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/table/_table.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/_widget.cacheGroups.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/_widget.capacity.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/_widget.routing.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  

Build failed in Jenkins: incubator-trafficcontrol-2.0.x-build #5

2017-05-23 Thread Apache Jenkins Server
See 


--
[...truncated 40.58 KB...]

Install  7 Packages (+18 Dependent packages)

Total download size: 47 M
Installed size: 124 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/libuv-1.10.2-1.el7.x86_64.rpm: 
Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libuv-1.10.2-1.el7.x86_64.rpm is not installed

Total   24 MB/s |  47 MB  00:02 
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid : "Fedora EPEL (7) "
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package: epel-release-7-9.noarch (@extras)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ruby-libs-2.0.0.648-29.el7.x86_64   1/25 
  Installing : mpfr-3.1.1-4.el7.x86_64 2/25 
  Installing : libmpc-1.0.1-3.el7.x86_64   3/25 
  Installing : cpp-4.8.5-11.el7.x86_64 4/25 
  Installing : libgomp-4.8.5-11.el7.x86_64 5/25 
  Installing : libicu-50.1.2-15.el7.x86_64 6/25 
  Installing : kernel-headers-3.10.0-514.16.1.el7.x86_64   7/25 
  Installing : glibc-headers-2.17-157.el7_3.1.x86_64   8/25 
  Installing : glibc-devel-2.17-157.el7_3.1.x86_64 9/25 
  Installing : libyaml-0.1.4-11.el7_0.x86_64  10/25 
  Installing : rubygem-bigdecimal-1.2.0-29.el7.x86_64 11/25 
  Installing : rubygem-psych-2.0.0-29.el7.x86_64  12/25 
  Installing : rubygem-json-1.7.7-29.el7.x86_64   13/25 
  Installing : rubygem-io-console-0.4.2-29.el7.x86_64 14/25 
  Installing : ruby-irb-2.0.0.648-29.el7.noarch   15/25 
  Installing : ruby-2.0.0.648-29.el7.x86_64   16/25 
  Installing : rubygems-2.0.14.1-29.el7.noarch17/25 
  Installing : rubygem-rdoc-4.0.0-29.el7.noarch   18/25 
  Installing : 1:libuv-1.10.2-1.el7.x86_6419/25 
  Installing : 1:npm-3.10.10-1.6.10.2.1.el7.x86_6420/25 
  Installing : 1:nodejs-6.10.2-1.el7.x86_64   21/25 
  Installing : ruby-devel-2.0.0.648-29.el7.x86_64 22/25 
  Installing : gcc-4.8.5-11.el7.x86_6423/25 
  Installing : 1:make-3.82-23.el7.x86_64  24/25 
  Installing : libffi-devel-3.0.13-18.el7.x86_64  25/25 
install-info: No such file or directory for /usr/share/info/libffi.info.gz
warning: %post(libffi-devel-3.0.13-18.el7.x86_64) scriptlet failed, exit status 
1
Non-fatal POSTIN scriptlet failure in rpm package 
libffi-devel-3.0.13-18.el7.x86_64
  Verifying  : rubygem-rdoc-4.0.0-29.el7.noarch1/25 
  Verifying  : rubygem-bigdecimal-1.2.0-29.el7.x86_64  2/25 
  Verifying  : cpp-4.8.5-11.el7.x86_64 3/25 
  Verifying  : ruby-irb-2.0.0.648-29.el7.noarch4/25 
  Verifying  : ruby-libs-2.0.0.648-29.el7.x86_64   5/25 
  Verifying  : rubygem-psych-2.0.0-29.el7.x86_64   6/25 
  Verifying  : glibc-headers-2.17-157.el7_3.1.x86_64   7/25 
  Verifying  : libffi-devel-3.0.13-18.el7.x86_64   8/25 
  Verifying  : rubygem-json-1.7.7-29.el7.x86_649/25 
  Verifying  : rubygem-io-console-0.4.2-29.el7.x86_64 10/25 
  Verifying  : glibc-devel-2.17-157.el7_3.1.x86_6411/25 
  Verifying  : 1:libuv-1.10.2-1.el7.x86_6412/25 
  Verifying  : 1:npm-3.10.10-1.6.10.2.1.el7.x86_6413/25 
  Verifying  : 1:make-3.82-23.el7.x86_64  14/25 
  Verifying  : libmpc-1.0.1-3.el7.x86_64  15/25 
  Verifying  : ruby-devel-2.0.0.648-29.el7.x86_64 16/25 
  Verifying  : rubygems-2.0.14.1-29.el7.noarch17/25 
  Verifying  : libyaml-0.1.4-11.el7_0.x86_64  18/25 
  Verifying  : gcc-4.8.5-11.el7.x86_6419/25 
  Verifying  : kernel-headers-3.10.0-514.16.1.el7.x86_64   

[jira] [Commented] (TC-346) 2.1 (master) Traffic Ops Installation issues.

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021721#comment-16021721
 ] 

ASF GitHub Bot commented on TC-346:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/597


> 2.1 (master) Traffic Ops Installation issues.
> -
>
> Key: TC-346
> URL: https://issues.apache.org/jira/browse/TC-346
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Jan van Doorn
>Assignee: Dewayne Richardson
>
> Trying to install TO from scratch. Some notes:
> 1) had to install postgres stuff even though postgres is remote: 
> [jvando001@ipcdn-cache-28 tmp]$ sudo yum install postgresql
> [root@ipcdn-cache-28 ~]# yum install postgresql-devel
> 2) Some errors on the seeds, not sure if they matter: 
> {code} 
> === Setting up parameters
> Use of uninitialized value in concatenation (.) or string at 
> /opt/traffic_ops/install/bin/_postinstall line 638.
> Use of uninitialized value in concatenation (.) or string at 
> /opt/traffic_ops/install/bin/_postinstall line 638.
> -- global parameters
> insert into parameter (name, config_file, value)
> values ('tm.url', 'global', 'https://localhost')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> insert into parameter (name, config_file, value)
> values ('tm.instance_name', 'global', '')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> insert into parameter (name, config_file, value)
> values ('tm.toolname', 'global', '')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> insert into parameter (name, config_file, value)
> values ('tm.infourl', 'global', 'https://localhost/doc')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> -- CRConfig.json parameters
> insert into parameter (name, config_file, value)
> values ('geolocation.polling.url', 'CRConfig.json', 
> 'https://localhost/routing/GeoLite2-City.mmdb.gz')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> insert into parameter (name, config_file, value)
> values ('geolocation6.polling.url', 'CRConfig.json', 
> 'https://localhost/routing/GeoLiteCityv6.dat.gz')
> ON CONFLICT (name, config_file, value) DO NOTHING;
> === Setting up profilesUse of uninitialized value in concatenation 
> (.) or string at /opt/traffic_ops/install/bin/_postinstall line 676.
> Use of uninitialized value in concatenation (.) or string at 
> /opt/traffic_ops/install/bin/_postinstall line 676.
> -- global parameters
> insert into profile (name, description, type)
> values ('GLOBAL', 'Global Traffic Ops profile, DO NOT 
> DELETE', 'UNK_PROFILE')
> ON CONFLICT (name) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'tm.url' and config_file = 'global' 
> and value = 'https://localhost') )
> ON CONFLICT (profile, parameter) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'tm.instance_name' and config_file = 
> 'global' and value = '') )
> ON CONFLICT (profile, parameter) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'tm.toolname' and config_file = 
> 'global' and value = '') )
> ON CONFLICT (profile, parameter) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'tm.infourl' and config_file = 
> 'global' and value = 'https://localhost/doc') )
> ON CONFLICT (profile, parameter) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'geolocation.polling.url' and 
> config_file = 'CRConfig.json' and value = 
> 'https://cdn1.denver-isp.org/routing/GeoLite2-City.mmdb.gz') )
> ON CONFLICT (profile, parameter) DO NOTHING;
> insert into profile_parameter (profile, parameter)
> values ( (select id from profile where name = 'GLOBAL'), 
> (select id from parameter where name = 'geolocation6.polling.url' and 
> config_file = 'CRConfig.json' and value = 
> 

[GitHub] incubator-trafficcontrol pull request #597: [TC-346] Fixes postinstall issue...

2017-05-23 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/597


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-350) Traffic Ops Environment needs to be consistent PERL5LIB, GOPATH, and PATH

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021719#comment-16021719
 ] 

ASF GitHub Bot commented on TC-350:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/598


> Traffic Ops Environment needs to be consistent PERL5LIB, GOPATH, and PATH
> -
>
> Key: TC-350
> URL: https://issues.apache.org/jira/browse/TC-350
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops
>Affects Versions: 2.1.0
>Reporter: Dewayne Richardson
>Assignee: Dewayne Richardson
>Priority: Minor
> Fix For: 2.1.0
>
>
> PERL5LIB: 
> /opt/traffic_ops_extensions/private/lib:/opt/traffic_ops/app/lib:/opt/traffic_ops/app/local/lib/perl5
> GOPATH:
> /opt/traffic_ops/go
> PATH:
> $PATH:/opt/traffic_ops/go/bin:/usr/local/go/bin



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #598: [TC-350] streamlined the Goose I...

2017-05-23 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/598


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-342) TO API - create API endpoint for fetching unassigned parameters for a profile

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021611#comment-16021611
 ] 

ASF GitHub Bot commented on TC-342:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/588


> TO API - create API endpoint for fetching unassigned parameters for a profile
> -
>
> Key: TC-342
> URL: https://issues.apache.org/jira/browse/TC-342
> Project: Traffic Control
>  Issue Type: New Feature
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Priority: Minor
>
> When assigning parameters to a profile, it's nice to know which are not 
> currently assigned to that profile...
> GET /api/version/profiles/:id/unassigned_parameters



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #588: [TC-342][TC-343] - adds API rout...

2017-05-23 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/588


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (TC-354) TO API - create endpoint to associate servers with a deliveryservice

2017-05-23 Thread Jeremy Mitchell (JIRA)
Jeremy Mitchell created TC-354:
--

 Summary: TO API - create endpoint to associate servers with a 
deliveryservice
 Key: TC-354
 URL: https://issues.apache.org/jira/browse/TC-354
 Project: Traffic Control
  Issue Type: New Feature
  Components: Traffic Ops API
Reporter: Jeremy Mitchell
Assignee: Jeremy Mitchell
Priority: Minor


Create endpoint to associate servers with a deliveryservice. Also an endpoint 
to fetch all servers unassigned to a delivery service of type EDGE*, ORG that 
have a profile in the same CDN as the DS.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #604: [TC-64] - TO exp - adds ability ...

2017-05-23 Thread mitchell852
GitHub user mitchell852 opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/604

[TC-64] - TO exp - adds ability to assign servers to ds



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mitchell852/incubator-trafficcontrol 
tc-64-assign-servers-to-ds

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/604.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #604


commit 1f6a1312966aa49745bf78324a2cdd7f704b4c20
Author: Jeremy Mitchell 
Date:   2017-05-23T17:33:30Z

adds ability to assign servers to ds




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-352) Traffic Router Build fails in CI - JDK

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021501#comment-16021501
 ] 

ASF GitHub Bot commented on TC-352:
---

GitHub user dangogh opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/603

[Backport TC-352] updates jdk version for traffic_monitor and 
traffic_router build

(cherry picked from commit 3c79673851a1c3a7e8349b49673184ba853f1dcb)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dangogh/incubator-trafficcontrol tc-352-2.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/603.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #603


commit a1bf6534af960601bb8c2cbcad21c6ac80603950
Author: Dan Kirkwood 
Date:   2017-05-23T16:03:52Z

upgrade jdk download for tm/tr build

(cherry picked from commit 3c79673851a1c3a7e8349b49673184ba853f1dcb)




> Traffic Router Build fails in CI - JDK 
> ---
>
> Key: TC-352
> URL: https://issues.apache.org/jira/browse/TC-352
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Router
>Affects Versions: 2.0.0
>Reporter: Eric Friedrich
>Priority: Blocker
>
> Jenkins Link:
> https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-build/4/display/redirect?page=changes
> Step 7/11 : RUN curl -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -
> ---> Running in fffead92ecc5
>  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
> Dload  Upload   Total   SpentLeft  Speed
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
> 0100   465  100   4650 0   1000  0 --:--:-- --:--:-- --:--:--  
> 2801
> 100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
> 5548100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
>0
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
> Service 'traffic_router_build' failed to build: The command '/bin/sh -c curl 
> -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -' returned a non-zero code: 2
> Build step 'Execute shell' marked build as failure
> Archiving artifacts



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #603: [Backport TC-352] updates jdk ve...

2017-05-23 Thread dangogh
GitHub user dangogh opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/603

[Backport TC-352] updates jdk version for traffic_monitor and 
traffic_router build

(cherry picked from commit 3c79673851a1c3a7e8349b49673184ba853f1dcb)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dangogh/incubator-trafficcontrol tc-352-2.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/603.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #603


commit a1bf6534af960601bb8c2cbcad21c6ac80603950
Author: Dan Kirkwood 
Date:   2017-05-23T16:03:52Z

upgrade jdk download for tm/tr build

(cherry picked from commit 3c79673851a1c3a7e8349b49673184ba853f1dcb)




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (TC-353) Can't CNAME hostname with ccr"

2017-05-23 Thread Steve Malenfant (JIRA)
Steve Malenfant created TC-353:
--

 Summary: Can't CNAME hostname with ccr"
 Key: TC-353
 URL: https://issues.apache.org/jira/browse/TC-353
 Project: Traffic Control
  Issue Type: Bug
Reporter: Steve Malenfant






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #602: Change Traffic Ops password hash...

2017-05-23 Thread rob05c
GitHub user rob05c opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/602

Change Traffic Ops password hashing to scrypt

Note this is not a security vulnerability or mitigation in itself. In the 
event the database is compromised, it prevents an attacker from learning the 
users' passwords.

Which is the intention of hashing the passwords in the first place; but 
sha1 doesn't accomplish that. Nor does sha512, the problem isn't sha1's 
brokenness, it's that fast hashes aren't designed to solve this problem. The 
hash must be computationally slow ("slow" here means several milliseconds). 
Scrypt is a stretching hash, and solves the problem.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rob05c/incubator-trafficcontrol 
to-scryptpasses

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/602.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #602


commit 670f86cc0a549a346a63d493b75d499e833b6f09
Author: Robert Butts 
Date:   2017-05-23T17:04:18Z

Change TO password hashing to scrypt




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TC-352) Traffic Router Build fails in CI - JDK

2017-05-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021432#comment-16021432
 ] 

ASF GitHub Bot commented on TC-352:
---

GitHub user dangogh opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/601

[TC-352] upgrade jdk download for tm/tr build

previous version disappeared from oracle web site.  Updated to a newer 
version,  but we need to find a better solution.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dangogh/incubator-trafficcontrol tc-352

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/601.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #601


commit 3c79673851a1c3a7e8349b49673184ba853f1dcb
Author: Dan Kirkwood 
Date:   2017-05-23T16:03:52Z

upgrade jdk download for tm/tr build




> Traffic Router Build fails in CI - JDK 
> ---
>
> Key: TC-352
> URL: https://issues.apache.org/jira/browse/TC-352
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Router
>Affects Versions: 2.0.0
>Reporter: Eric Friedrich
>Priority: Blocker
>
> Jenkins Link:
> https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-build/4/display/redirect?page=changes
> Step 7/11 : RUN curl -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -
> ---> Running in fffead92ecc5
>  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
> Dload  Upload   Total   SpentLeft  Speed
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0 
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
>  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
> 0100   465  100   4650 0   1000  0 --:--:-- --:--:-- --:--:--  
> 2801
> 100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
> 5548100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
>0
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
> Service 'traffic_router_build' failed to build: The command '/bin/sh -c curl 
> -L -b "oraclelicense=a" 
> http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
>  | tar xzf - && curl -L 
> http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>  | tar xzf -' returned a non-zero code: 2
> Build step 'Execute shell' marked build as failure
> Archiving artifacts



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-trafficcontrol pull request #601: [TC-352] upgrade jdk download fo...

2017-05-23 Thread dangogh
GitHub user dangogh opened a pull request:

https://github.com/apache/incubator-trafficcontrol/pull/601

[TC-352] upgrade jdk download for tm/tr build

previous version disappeared from oracle web site.  Updated to a newer 
version,  but we need to find a better solution.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dangogh/incubator-trafficcontrol tc-352

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafficcontrol/pull/601.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #601


commit 3c79673851a1c3a7e8349b49673184ba853f1dcb
Author: Dan Kirkwood 
Date:   2017-05-23T16:03:52Z

upgrade jdk download for tm/tr build




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #594: [Backport TC-345] source tarball...

2017-05-23 Thread dangogh
Github user dangogh closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/594


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafficcontrol pull request #600: [Backport TC-349] update 2.0.x b...

2017-05-23 Thread dangogh
Github user dangogh closed the pull request at:

https://github.com/apache/incubator-trafficcontrol/pull/600


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Closed] (TC-349) docker build for trafficcontrol produces root-owned artifacts

2017-05-23 Thread Dan Kirkwood (JIRA)

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

Dan Kirkwood closed TC-349.
---

> docker build for trafficcontrol produces root-owned artifacts
> -
>
> Key: TC-349
> URL: https://issues.apache.org/jira/browse/TC-349
> Project: Traffic Control
>  Issue Type: Improvement
>Reporter: Dan Kirkwood
>Assignee: Dan Kirkwood
>  Labels: build
> Fix For: 2.0.0, 2.1.0
>
>
> Following the instructions on building in `incubator-trafficcontrol/BUILD.md` 
> produces a `dist` directory and its contents that are all owned by root,  so 
> the owner of the directory can't delete them without sudo.
> In the Jenkins build,  the artifacts from previous builds don't get cleaned 
> out because they aren't owned by Jenkins.   The docker build should ensure 
> the files there are owned by the same user:group as owns the 
> incubator-trafficcontrol directory itself. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (TC-349) docker build for trafficcontrol produces root-owned artifacts

2017-05-23 Thread Dan Kirkwood (JIRA)

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

Dan Kirkwood resolved TC-349.
-
   Resolution: Fixed
Fix Version/s: 2.1.0
   2.0.0

> docker build for trafficcontrol produces root-owned artifacts
> -
>
> Key: TC-349
> URL: https://issues.apache.org/jira/browse/TC-349
> Project: Traffic Control
>  Issue Type: Improvement
>Reporter: Dan Kirkwood
>Assignee: Dan Kirkwood
>  Labels: build
> Fix For: 2.0.0, 2.1.0
>
>
> Following the instructions on building in `incubator-trafficcontrol/BUILD.md` 
> produces a `dist` directory and its contents that are all owned by root,  so 
> the owner of the directory can't delete them without sudo.
> In the Jenkins build,  the artifacts from previous builds don't get cleaned 
> out because they aren't owned by Jenkins.   The docker build should ensure 
> the files there are owned by the same user:group as owns the 
> incubator-trafficcontrol directory itself. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (TC-352) Traffic Router Build fails in CI - JDK

2017-05-23 Thread Eric Friedrich (JIRA)
Eric Friedrich created TC-352:
-

 Summary: Traffic Router Build fails in CI - JDK 
 Key: TC-352
 URL: https://issues.apache.org/jira/browse/TC-352
 Project: Traffic Control
  Issue Type: Bug
  Components: Traffic Router
Affects Versions: 2.0.0
Reporter: Eric Friedrich
Priority: Blocker


Jenkins Link:
https://builds.apache.org/job/incubator-trafficcontrol-2.0.x-build/4/display/redirect?page=changes

Step 7/11 : RUN curl -L -b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -
---> Running in fffead92ecc5
 % Total% Received % Xferd  Average Speed   TimeTime Time  Current
Dload  Upload   Total   SpentLeft  Speed
 0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
 0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 
0100   465  100   4650 0   1000  0 --:--:-- --:--:-- --:--:--  2801
100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--  
5548100  7073  100  70730 0   5548  0  0:00:01  0:00:01 --:--:--
 0

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Service 'traffic_router_build' failed to build: The command '/bin/sh -c curl -L 
-b "oraclelicense=a" 
http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
 | tar xzf - && curl -L 
http://mirror.nexcess.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
 | tar xzf -' returned a non-zero code: 2
Build step 'Execute shell' marked build as failure
Archiving artifacts



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (TC-351) Generate new SSL keys fails after a while

2017-05-23 Thread Oren Shemesh (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16021281#comment-16021281
 ] 

Oren Shemesh commented on TC-351:
-

This is probably the result of 
[TC-158|https://issues.apache.org/jira/browse/TC-158], which is fixed only in 
2.0

> Generate new SSL keys fails after a while
> -
>
> Key: TC-351
> URL: https://issues.apache.org/jira/browse/TC-351
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 1.8.0
> Environment: Traffic Ops 1.8
> openssl-1.0.1e
>Reporter: Steve Malenfant
>Priority: Minor
>
> After some Traffic Ops runtime (few days), we noticed that we can't generate 
> certificate anymore and receiving these messages in the log: 
> {code}
> [2017-05-23 12:32:11,175] [DEBUG] Routing to controller "UI::SslKeys" and 
> action "create".
> [2017-05-23 12:32:11,572] [WARN] SSL keys for 'test_deliveryservice' could 
> not be created.  Response was Error creating key and csr. Result is -1
> [2017-05-23 12:32:11,573] [DEBUG] 302 Found (0.399329s, 2.504/s).
> {code}
> The CSR and KEY is created and valid in /var/tmp.
> Issuing a "service traffic_ops restart" fixes the issue.
> The code which seems to be failing is here :
> {code}
> #generate key and csr
> my $result = UI::Utils->exec_command(
> "openssl req -nodes -newkey rsa:2048 -keyout 
> $TMP_LOCATION/$hostname.key -out $TMP_LOCATION/$hostname.csr -subj 
> /C=\"$country\"/ST=\"$state\"/L=\"$city\"/O=\"$org\"/OU=\"$unit\"/CN=$hostname"
> );
> if ( $result != 0 ) {
> $response = { _rc => 400, _content => "Error 
> creating key and csr. Result is $result" };
> return $response;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (TC-348) Cannot edit edge routing record TTL

2017-05-23 Thread Jeff Elsloo (JIRA)

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

Jeff Elsloo closed TC-348.
--

> Cannot edit edge routing record TTL
> ---
>
> Key: TC-348
> URL: https://issues.apache.org/jira/browse/TC-348
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 2.0.0
>Reporter: Jeff Elsloo
>
> It appears that the edit delivery service template is hiding the 
> {{ccr_dns_ttl_row}} field for DNS delivery services. This should be editable 
> and visible in all scenarios so please check all templates for similar 
> issues. In the future we will need this field editable for HTTP delivery 
> services too, so make sure that it's editable on both types.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (TC-348) Cannot edit edge routing record TTL

2017-05-23 Thread Jeff Elsloo (JIRA)

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

Jeff Elsloo resolved TC-348.

Resolution: Duplicate

Duplicate of TC-200.

> Cannot edit edge routing record TTL
> ---
>
> Key: TC-348
> URL: https://issues.apache.org/jira/browse/TC-348
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops
>Affects Versions: 2.0.0
>Reporter: Jeff Elsloo
>
> It appears that the edit delivery service template is hiding the 
> {{ccr_dns_ttl_row}} field for DNS delivery services. This should be editable 
> and visible in all scenarios so please check all templates for similar 
> issues. In the future we will need this field editable for HTTP delivery 
> services too, so make sure that it's editable on both types.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: incubator-trafficcontrol-rat #26

2017-05-23 Thread Apache Jenkins Server
See 


--
Started by user dangogh
[EnvInject] - Loading node environment variables.
Building remotely on H23 (ubuntu xenial) in workspace 

[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson2593171577178425571.sh
+ rm -rf ' 
'
[operations-center-context] Requesting copy of artifacts matching '**/*.tar.gz' 
from 'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build
[operations-center-context] Copied 1 artifacts matching '**/*.tar.gz' from 
'Last successful build (either stable or unstable)' of 
incubator-trafficcontrol-master-build:
[operations-center-context]   trafficcontrol-incubating-2.1.0.tar.gz
[incubator-trafficcontrol-rat] $ /bin/bash -xe /tmp/hudson1436828252109855604.sh
+ set -exu
++ ls trafficcontrol-incubating-2.1.0.tar.gz
+ tarball=trafficcontrol-incubating-2.1.0.tar.gz
+ tar xzf trafficcontrol-incubating-2.1.0.tar.gz
++ pwd
++ basename trafficcontrol-incubating-2.1.0.tar.gz .tar.gz
+ 
tcdir=
+ cd 

++ date +%Y
+ grep 'Copyright 2017 The Apache Software Foundation' NOTICE
Copyright 2017 The Apache Software Foundation
+ set +x
Searching for class files:
PASSED: No class files found.
Searching for jar files:
PASSED: No jar files found.
Searching for tar files:
PASSED: No tar files found.
Searching for tgz files:
PASSED: No tgz files found.
Searching for zip files:
PASSED: No zip files found.
+ ratver=apache-rat-0.13-20170427.032418-37.jar
++ mktemp -d
+ ratdir=/tmp/tmp.xZohQE3b0H
+ ratjar=/tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar
+ curl -L -o /tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 1587k0 156660 0  20859  0  0:01:17 --:--:--  0:01:17 20860100 
1587k  100 1587k0 0  1340k  0  0:00:01  0:00:01 --:--:-- 1340k
+ curl -L -o /tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar.sha1 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/0.13-SNAPSHOT/apache-rat-0.13-20170427.032418-37.jar.sha1
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0  
0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0100 
   40  100400 0 59  0 --:--:-- --:--:-- --:--:--59
++ sha1sum /tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar
++ awk '{print $1}'
++ cat /tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar.sha1
+ [[ ac5cfd859902d5c858baed8dbcf91c014ce9ae23 == 
ac5cfd859902d5c858baed8dbcf91c014ce9ae23 ]]
++ pwd
++ pwd
+ java -jar /tmp/tmp.xZohQE3b0H/apache-rat-0.13.SNAPSHOT.jar -E 

 -d 

+ rm -rf /tmp/tmp.xZohQE3b0H
++ perl -lne 'print if /\(\d+\) Unknown Licenses/' ratreport.txt
+ unknown=
+ [[ '' != 0 ]]
+ echo ' Unknown Licenses'
 Unknown Licenses
+ perl -lne 'print if /Files with unapproved licenses:/ .. /^\*\*\*/' 
ratreport.txt
+ sed s:::
Files with unapproved licenses:

  trafficcontrol-incubating-2.1.0/BUILD_NUMBER
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/auth/server.key
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/table/_table.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/_widget.cacheGroups.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/_widget.capacity.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/_widget.routing.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/loading.scss
  
trafficcontrol-incubating-2.1.0/traffic_ops/experimental/ui/app/src/styles/theme.scss
  trafficcontrol-incubating-2.1.0/traffic_ops/experimental/webfront/server.key