saltstack-formulas / iscsi-formula

Manage iSCSI Target and Initiator via SaltStack (FreeBSD & GNU/Linux)
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
8 stars 7 forks source link

fix(travis): fixes for Archlinux and CentOS #35

Closed noelmcloughlin closed 4 years ago

noelmcloughlin commented 4 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Travis CI tests are failing for CentOS and Archlinux.

33 and #34

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

noelmcloughlin commented 4 years ago

This PR has a workaround for https://bugs.archlinux.org/task/66317

noelmcloughlin commented 4 years ago

Travis passed but I'll restart to see if the following error is occurring now.

       SyntaxError: (unicode error) 'rawunicodeescape' codec can't decode bytes in position 107-108: truncated \uXXXX
       [DEBUG   ] Could not LazyLoad saltutil.is_running: 'saltutil' __virtual__ returned False: No module named concurrent
       [ERROR   ] An un-handled exception was caught by salt's global exception handler:

same as https://github.com/saltstack-formulas/dbeaver-formula/issues/6

myii commented 4 years ago

@noelmcloughlin I went into a long description of the issue with Arch Linux on the master branch in the #testing channel on Slack. You can see it here before it disappears in Slack's history:

Long story short, py2 support has been removed from Sodium, which is what the current Salt master branch is leading to. So until we figure out how to get the salt-bootstrap to install on Arch py3, this specific Docker image is useless (i.e. netmanagers/salt-master-py2:arch-base-latest). However, both 3000.2 and 2019.2 still work, so please use those instead.

pull-assistant[bot] commented 4 years ago
Score: 0.99

Best reviewed: commit by commit


Optimal code review plan (2 warnings)

test(suite): update travis tests
> `iscsi/osfamilymap.yaml` 67% changes removed in fix(arch): update pa...
     refactor(kitchen): rename arch pillar file
fix(arch): update packages yamls
> `iscsi/osfamilymap.yaml` 50% changes removed in fix(arch): python-co...
     fix(arch): python-configshell-fb dependency problem      ci(archlinux): py2 support removed in salt

Powered by Pull Assistant. Last update 29175d3 ... f78b48f. Read the comment docs.

commit-lint[bot] commented 4 years ago

Tests

Code Refactoring

Bug Fixes

Continuous Integration

Contributors

@noelmcloughlin

noelmcloughlin commented 4 years ago

Okay, I was unaware of that. I will use 2019.2 image - Travis passes now

myii commented 4 years ago

@noelmcloughlin Due to conflicts, I rebased this PR on top of master and force pushed. You'll see that your actual commits are all identical except I removed one occurrence of arch-base-latest-master-py2 in kitchen.yml from the first commit. Waiting for the tests to complete now.


myii commented 4 years ago

@noelmcloughlin I've also modified the main body of the original post so that #33 and #34 are closed automatically. Please adjust that if it isn't correct.

myii commented 4 years ago

@noelmcloughlin Well, Travis is failing again. It looks like a temperamental situation. Please adjust your settings so that you can pull the changes from here before continuing with this. Or if that's too much, perhaps you want to go ahead and merge this and then start a new PR to fix these.

noelmcloughlin commented 4 years ago

I would like to merge this if you are okay with that? Again thanks for your review.

I could take a fresh look at CI some other time.

saltstack-formulas-travis commented 4 years ago

:tada: This PR is included in version 1.1.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: