You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "zrhoffman (via GitHub)" <gi...@apache.org> on 2023/07/26 17:56:32 UTC
[GitHub] [trafficcontrol] zrhoffman opened a new pull request, #7675: Require tzdata java
zrhoffman opened a new pull request, #7675:
URL: https://github.com/apache/trafficcontrol/pull/7675
<!--
Thank you for contributing! Please be sure to read our contribution guidelines: https://github.com/apache/trafficcontrol/blob/master/CONTRIBUTING.md
If this closes or relates to an existing issue, please reference it using one of the following:
Closes: #ISSUE
Related: #ISSUE
If this PR fixes a security vulnerability, DO NOT submit! Instead, contact
the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
guidelines at https://apache.org/security regarding vulnerability disclosure.
-->
This PR fixes an error encountered in `java-11-openjdk-11.0.20.0.8-2` on Rocky Linux, where it no longer has `java-tzdata` as a dependency, yet it installs a symlink to the `tzdb.dat` file that would be installed in that dependency. To reproduce:
```shell
$ docker run --rm rockylinux:8 bash -c 'dnf -y install java-11-openjdk-headless && realpath /usr/lib/jvm/java-11-openjdk-*/lib/tzdb.dat'
[...]
realpath: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat: No such file or directory
```
The fix is to require that dependency in the Traffic Router maven RPM configuration.
<!-- **^ Add meaningful description above** --><hr/>
## Which Traffic Control components are affected by this PR?
<!-- Please delete all components from this list that are NOT affected by this PR.
Feel free to add the name of a tool or script that is affected but not on the list.
-->
- Traffic Router
- Automation - Traffic Router builder image
## What is the best way to verify this PR?
<!-- Please include here ALL the steps necessary to test your PR.
If your PR has tests (and most should), provide the steps needed to run the tests.
If not, please provide step-by-step instructions to test the PR manually and explain why your PR does not need tests. -->
Try to build Traffic Router, verify you don't get an error. Alternatively, just check the result of the CI, which covers this change.
```shell
docker pull rockylinux:8
./pkg -v -b traffic_router_build
````
## If this is a bugfix, which Traffic Control versions contained the bug?
<!-- Delete this section if the PR is not a bugfix, or if the bug is only in the master branch.
Examples:
- 5.1.2
- 5.1.3 (RC1)
-->
## PR submission checklist
- [x] This PR has tests <!-- If not, please delete this text and explain why this PR does not need tests. -->
- [ ] This PR has documentation <!-- If not, please delete this text and explain why this PR does not need documentation. -->
- [ ] This PR has a CHANGELOG.md entry <!-- A fix for a bug from an ATC release, an improvement, or a new feature should have a changelog entry. -->
- [ ] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the Apache Software Foundation's security guidelines](https://apache.org/security) for details)
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] codecov[bot] commented on pull request #7675: Explicitly require Java timezone data dependency
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #7675:
URL: https://github.com/apache/trafficcontrol/pull/7675#issuecomment-1652265748
## [Codecov](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
> Merging [#7675](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (36912d9) into [master](https://app.codecov.io/gh/apache/trafficcontrol/commit/75ec56fa1bc4cf9c9e9ba54bde92197d4381649d?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (75ec56f) will **decrease** coverage by `0.54%`.
> Report is 26 commits behind head on master.
> The diff coverage is `26.58%`.
> :exclamation: Current head 36912d9 differs from pull request most recent head bfbb926. Consider uploading reports for the commit bfbb926 to get more accurate results
```diff
@@ Coverage Diff @@
## master #7675 +/- ##
============================================
- Coverage 65.05% 64.52% -0.54%
Complexity 98 98
============================================
Files 314 317 +3
Lines 12365 12506 +141
Branches 907 927 +20
============================================
+ Hits 8044 8069 +25
- Misses 3968 4084 +116
Partials 353 353
```
| Flag | Coverage Δ | |
|---|---|---|
| traffic_portal_v2 | `72.24% <20.00%> (-1.54%)` | :arrow_down: |
| unit_tests | `72.24% <20.00%> (-1.54%)` | :arrow_down: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Files Changed](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [experimental/traffic-portal/src/app/api/index.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL2luZGV4LnRz) | `100.00% <ø> (ø)` | |
| [...mental/traffic-portal/src/app/api/testing/index.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL3Rlc3RpbmcvaW5kZXgudHM=) | `100.00% <ø> (ø)` | |
| [...tal/traffic-portal/src/app/api/topology.service.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL3RvcG9sb2d5LnNlcnZpY2UudHM=) | `1.85% <1.85%> (ø)` | |
| [...fic-portal/src/app/api/testing/topology.service.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL3Rlc3RpbmcvdG9wb2xvZ3kuc2VydmljZS50cw==) | `6.45% <6.45%> (ø)` | |
| [...ies/topology-details/topology-details.component.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvY29yZS90b3BvbG9naWVzL3RvcG9sb2d5LWRldGFpbHMvdG9wb2xvZ3ktZGV0YWlscy5jb21wb25lbnQudHM=) | `33.87% <33.87%> (ø)` | |
| [traffic\_ops/v5-client/session.go](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-dHJhZmZpY19vcHMvdjUtY2xpZW50L3Nlc3Npb24uZ28=) | `72.22% <50.00%> (-2.78%)` | :arrow_down: |
| [...ffic-portal/src/app/api/testing/profile.service.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL3Rlc3RpbmcvcHJvZmlsZS5zZXJ2aWNlLnRz) | `47.88% <66.66%> (+3.73%)` | :arrow_up: |
| [...ntal/traffic-portal/src/app/api/profile.service.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvYXBpL3Byb2ZpbGUuc2VydmljZS50cw==) | `93.75% <100.00%> (+1.59%)` | :arrow_up: |
| [.../profiles/profile-table/profile-table.component.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvY29yZS9wcm9maWxlcy9wcm9maWxlLXRhYmxlL3Byb2ZpbGUtdGFibGUuY29tcG9uZW50LnRz) | `69.23% <100.00%> (+5.59%)` | :arrow_up: |
| [...raffic-portal/src/app/shared/file-utils.service.ts](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZXhwZXJpbWVudGFsL3RyYWZmaWMtcG9ydGFsL3NyYy9hcHAvc2hhcmVkL2ZpbGUtdXRpbHMuc2VydmljZS50cw==) | `94.11% <100.00%> (ø)` | |
| ... and [3 more](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
... and [1 file with indirect coverage changes](https://app.codecov.io/gh/apache/trafficcontrol/pull/7675/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] zrhoffman merged pull request #7675: Explicitly require Java timezone data dependency
Posted by "zrhoffman (via GitHub)" <gi...@apache.org>.
zrhoffman merged PR #7675:
URL: https://github.com/apache/trafficcontrol/pull/7675
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org