aporeto-inc / trireme-lib

Simple, scalable and secure application segmentation
https://trireme.io
Apache License 2.0
299 stars 51 forks source link

Windows unit tests #979

Closed philipatl closed 4 years ago

philipatl commented 4 years ago

Windows unit tests (automated)

Most changes here can be divided into one of these:

philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "f5f5c91807e4f4df76bb000dc1e2931520d49d47",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "d1464a1ca32be579e1f3a5105548a66f62e32746",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "f5f5c91807e4f4df76bb000dc1e2931520d49d47",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "03eb9575755b2ab27aa9ff3079019ef6132627ec",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "f5f5c91807e4f4df76bb000dc1e2931520d49d47",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "9ababfc608569905279aea25c46d76a9a59856a7",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "f5f5c91807e4f4df76bb000dc1e2931520d49d47",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "6ec1532d06121387964e37e0d02d4291c9b7cf0c",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "f5f5c91807e4f4df76bb000dc1e2931520d49d47",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "481d165a0e11296435c89599e274f3dc2661126b",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "d35cb79dbeb8a8d3390c7a9d9edd436e1e921f0c",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "481d165a0e11296435c89599e274f3dc2661126b",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "d35cb79dbeb8a8d3390c7a9d9edd436e1e921f0c",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "481d165a0e11296435c89599e274f3dc2661126b",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a4599a479dc4d6a627325bcd6eb1c16fe06b2878",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "481d165a0e11296435c89599e274f3dc2661126b",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "7009285a201e1426784c9b3e550651aedb3a392f",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "17644484c331371ae9fb496e97753b0eb968a241",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a7f4221ed82d99f301d973e9bfd0eb4ae9d781d0",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "17644484c331371ae9fb496e97753b0eb968a241",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a7f4221ed82d99f301d973e9bfd0eb4ae9d781d0",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "17644484c331371ae9fb496e97753b0eb968a241",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a7f4221ed82d99f301d973e9bfd0eb4ae9d781d0",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "17644484c331371ae9fb496e97753b0eb968a241",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "531a1ae37fbd57f1890f03547e635b268620f4ab",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "4493d7360dd910b1b4ce39314ef0540f9a3297bd",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "4493d7360dd910b1b4ce39314ef0540f9a3297bd",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "1d38588b07901afaa4053e8221b67bed9cdfa313",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "e3bb2fa58612a7f5c411682fe9c5fb5074d9b56d",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "4493d7360dd910b1b4ce39314ef0540f9a3297bd",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "4493d7360dd910b1b4ce39314ef0540f9a3297bd",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "15ac92a4d94d16b5a5f426286dc6860a78c0b985",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "fb75cde6576c2c40ccfe1264b0c5ddbf4535cd8a",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "15ac92a4d94d16b5a5f426286dc6860a78c0b985",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "3a294217a6f044819a3723bd4ee577744ad13d78",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "de3c16c1711af45143e7086b2978f0bd4925eb02",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "3a294217a6f044819a3723bd4ee577744ad13d78",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "de3c16c1711af45143e7086b2978f0bd4925eb02",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a0d64717397daaa55896f75d98015e7c08985a7c",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "c126e77dce717a668521d43a35a0d19093b175b7",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "a0d64717397daaa55896f75d98015e7c08985a7c",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "c9d3396d8b31e7633f667caa805f7eb7745ddb48",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "da4cbc1d1cd659f4f64549ca5bb0d22171e8d752",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "61ce6ba85fadded728c2d719f7bfddb165b6702a",
    "pipeline": "master"
  }
]
philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "61ce6ba85fadded728c2d719f7bfddb165b6702a",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "da4cbc1d1cd659f4f64549ca5bb0d22171e8d752",
    "pipeline": "master"
  }
]
codecov[bot] commented 4 years ago

Codecov Report

Merging #979 into master will increase coverage by 0.25%. The diff coverage is 75.67%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #979      +/-   ##
==========================================
+ Coverage    55.3%   55.55%   +0.25%     
==========================================
  Files         124      131       +7     
  Lines       12000    12376     +376     
==========================================
+ Hits         6636     6875     +239     
- Misses       4735     4843     +108     
- Partials      629      658      +29
Impacted Files Coverage Δ
monitor/internal/pod/watcher.go 100% <ø> (ø) :arrow_up:
monitor/internal/kubernetes/kubernetes.go 11.11% <ø> (ø) :arrow_up:
monitor/internal/kubernetes/monitor.go 10.41% <ø> (ø) :arrow_up:
monitor/internal/kubernetes/handler.go 70.21% <ø> (ø) :arrow_up:
monitor/internal/kubernetes/cache.go 97.4% <ø> (ø) :arrow_up:
monitor/internal/kubernetes/client.go 39.39% <ø> (ø) :arrow_up:
utils/cgnetcls/netcls.go 0% <ø> (ø) :arrow_up:
...ntroller/internal/enforcer/nfqdatapath/autoport.go 44% <ø> (-1%) :arrow_down:
...roller/internal/enforcer/nfqdatapath/test_utils.go 67.44% <ø> (ø) :arrow_up:
...forcer/applicationproxy/markedconn/mark_windows.go 22.22% <0%> (ø)
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9c30416...da4cbc1. Read the comment docs.

philipatl commented 4 years ago

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0

[
  {
    "project": "windows-unit-tests",
    "component": "enforcerd",
    "pr-id": "1600",
    "commit-sha": "61ce6ba85fadded728c2d719f7bfddb165b6702a",
    "pipeline": "master"
  },
  {
    "project": "windows-unit-tests",
    "component": "trireme-lib",
    "pr-id": "979",
    "commit-sha": "da4cbc1d1cd659f4f64549ca5bb0d22171e8d752",
    "pipeline": "master"
  }
]