vjuranek / radargun-plugin

MIT License
0 stars 14 forks source link

Logs from slaves in one file #68

Open vjuranek opened 7 years ago

vjuranek commented 7 years ago

When running more slaves on one physical machine, all slaves logs are in one file while each slave should have it's separate file. Node config file:

---
defaultsJava: &defaultsJava
    log4j.configuration: "file:$WORKSPACE/jdg-qe/log4j/log4j-info.xml"

defaultsEnv: &defaultsEnv
    JAVA_HOME: "/qa/tools/opt/amd64/jdk1.8.0_last"
    WORKSPACE: $WORKSPACE
    PLUGINNAME: $PLUGINNAME
    PRODUCTTAG: $PRODUCTTAG
    PERFREPO_TEST_NAME_PREFIX: $PERFREPO_TEST_NAME_PREFIX
    BENCHMARK_ENTRY_SIZE: $BENCHMARK_ENTRY_SIZE
    TRANSPORT: $TRANSPORT
    BUILD_URL: $BUILD_URL

nodes:
-
  edg-perf09:
    fqdn: 172.18.1.18
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf01:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf01:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf01:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf01:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf02:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf02:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf02:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf02:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf03:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf03:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf03:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf03:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf04:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf04:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf04:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf04:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf05:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf05:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf05:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf05:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf06:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf06:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf06:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf06:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf07:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf07:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf07:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf07:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf08:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf08:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf08:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf08:
    javaProps:
      <<: *defaultsJava
    envVars:
      <<: *defaultsEnv
-
  edg-perf09:
    javaProps:
      jgroups.bind_addr: 172.18.1.17
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.17
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf09-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf10:
    javaProps:
      jgroups.bind_addr: 172.18.1.19
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.19
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf10-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf11:
    javaProps:
      jgroups.bind_addr: 172.18.1.21
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.21
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf11-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf12:
    javaProps:
      jgroups.bind_addr: 172.18.1.23
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.23
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf12-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf13:
    javaProps:
      jgroups.bind_addr: 172.18.1.25
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.25
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf13-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf14:
    javaProps:
      jgroups.bind_addr: 172.18.1.27
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.27
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf14-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf15:
    javaProps:
      jgroups.bind_addr: 172.18.1.29
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.29
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf15-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv
-
  edg-perf16:
    javaProps:
      jgroups.bind_addr: 172.18.1.31
      jgroups.udp.mcast_addr: 234.99.54.20
      jgroups.tcp.address: 172.18.1.31
      jgroups.mping.mcast_addr: 234.99.54.20
      jboss.default.jgroups.stack: $TRANSPORT
      <<: *defaultsJava
    envVars:
      JAVA_OPTS: "-Xms16g -Xmx16g -XX:+UseLargePages -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:InitiatingHeapOccupancyPercent=70 -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-perf16-%p.log -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCCause -Djava.net.preferIPv4Stack=true"
      <<: *defaultsEnv