zgrab2 icon indicating copy to clipboard operation
zgrab2 copied to clipboard

Please bump the Golang version to a modern one

Open yurivict opened this issue 1 year ago • 2 comments

here

Errors:

# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:82:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_bsd.go:247:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:117:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

yurivict avatar May 23 '24 16:05 yurivict

@phillip-stephens thoughts?

developStorm avatar Jun 02 '24 01:06 developStorm

Yeah we should def do this. I started it here, but something is going wrong in the integration tests. I need to take some time and figure out how these integration tests are working to know what I broke. 😭

phillip-stephens avatar Jun 05 '24 22:06 phillip-stephens

Yeah we should def do this. I started it here, but something is going wrong in the integration tests. I need to take some time and figure out how these integration tests are working to know what I broke. 😭

Do these tests pass with the current master, without changes? I vaguely recall there being some issues with CI though I don't recall of they were specifically related to validation of the output against the schemas

Something to check, before you bang your head too much against the wall 😊

mzpqnxow avatar Aug 04 '24 13:08 mzpqnxow

@phillip-stephens I just realized I did a similar thing as you in #461, but integration tests pass just fine there. Looking at your own PR, it looks pretty much all the containers failed on crypto related items (you'll see errors in docker container execution). Since you didn't change any of them, perhaps a failure stemming from whatever was running the integration tests, rather than an issue with the change itself?

Seanstoppable avatar Aug 20 '24 14:08 Seanstoppable

I added a note to the test failure, in case it saves you a few minutes in identifying where the actual ERROR is

Seems like a NULL value is not being serialized/deserialized from a dict into the expected custom int class

mzpqnxow avatar Aug 23 '24 12:08 mzpqnxow

Closed with #461. Thanks @Seanstoppable !

phillip-stephens avatar Aug 26 '24 20:08 phillip-stephens