Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are failing with modified reflection API (reflect -> goccy/go-reflect ), on Aarch64 #1130

Open
advancedwebdeveloper opened this issue Mar 18, 2021 · 7 comments

Comments

@advancedwebdeveloper
Copy link

So,
while I was able to build

$ ./gradlew goBuild

Configure project :
Found go 1.16.2 in /usr/local/go/bin/go, use it.

Task :goPrepare
Use project GOPATH: /home/oceanfish81/openwhisk-wskdeploy/.gogradle/project_gopath

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2s
3 actionable tasks: 3 executed

with such an applied patch:
https://gist.github.com/advancedwebdeveloper/9ee1d333d0101b06823735cf871055b1
.

Now, test are failing:

$ ./gradlew goTest --info
Initialized native services in: /home/oceanfish81/.gradle/native
The client will now receive all logging from the daemon (pid: 11214). The daemon log file: /home/oceanfish81/.gradle/daemon/6.8.3/daemon-11214.out.log
Starting 20th build in daemon [uptime: 1 hrs 5 mins 32.638 secs, performance: 100%, non-heap usage: 34% of 256 MiB]
Using 32 worker leases.
Watching the file system is disabled
Starting Build
Settings evaluated using settings file '/home/oceanfish81/openwhisk-wskdeploy/settings.gradle'.
Projects loaded. Root project using build file '/home/oceanfish81/openwhisk-wskdeploy/build.gradle'.
Included projects: [root project 'openwhisk-wskdeploy']

Configure project :
Evaluating root project 'openwhisk-wskdeploy' using build file '/home/oceanfish81/openwhisk-wskdeploy/build.gradle'.
Found go 1.16.2 in /usr/local/go/bin/go, use it.
Ignore packages globally: appengine,a,gen,shared,common,thrifttest,appengine_internal,thrift,tutorial
All projects evaluated.
Selected primary task 'goTest' from project :
Tasks to be executed: [task ':goPrepare', task ':resolveBuildDependencies', task ':resolveTestDependencies', task ':installDependencies', task ':goVendor', task ':goTest']
Tasks that were excluded: []
:goPrepare (Thread[Execution worker for ':',5,main]) started.

Task :goPrepare
Caching disabled for task ':goPrepare' because:
Build cache is disabled
Task ':goPrepare' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Use project GOPATH: /home/oceanfish81/openwhisk-wskdeploy/.gogradle/project_gopath
:goPrepare (Thread[Execution worker for ':',5,main]) completed. Took 0.011 secs.
:resolveBuildDependencies (Thread[Execution worker for ':',5,main]) started.

Task :resolveBuildDependencies SKIPPED
Skipping task ':resolveBuildDependencies' as task onlyIf is false.
:resolveBuildDependencies (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:resolveTestDependencies (Thread[Execution worker for ':',5,main]) started.

Task :resolveTestDependencies SKIPPED
Skipping task ':resolveTestDependencies' as task onlyIf is false.
:resolveTestDependencies (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:installDependencies (Thread[Execution worker for ':',5,main]) started.

Task :installDependencies SKIPPED
Skipping task ':installDependencies' as task onlyIf is false.
:installDependencies (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:goVendor (Thread[Execution worker for ':',5,main]) started.

Task :goVendor UP-TO-DATE
Skipping task ':goVendor' as it has no actions.
:goVendor (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:goTest (Thread[Execution worker for ':',5,main]) started.

Task :goTest
Caching disabled for task ':goTest' because:
Build cache is disabled
Task ':goTest' is not up-to-date because:
Task has failed previously.
Result of package github.com/apache/openwhisk-wskdeploy/runtimes:

{"Time":"2021-03-18T20:46:49.520916666Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk"}
{"Time":"2021-03-18T20:46:49.522145903Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"=== RUN TestParseOpenWhisk\n"}
{"Time":"2021-03-18T20:46:50.220227735Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"0x40002bb3b0\n"}
{"Time":"2021-03-18T20:46:50.220397709Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind support for: [go java nodejs php python ruby swift]\n"}
{"Time":"2021-03-18T20:46:50.220559732Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [go]...\n"}
{"Time":"2021-03-18T20:46:50.220644131Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [java]...\n"}
{"Time":"2021-03-18T20:46:50.220712355Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [nodejs]...\n"}
{"Time":"2021-03-18T20:46:50.220832954Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [php]...\n"}
{"Time":"2021-03-18T20:46:50.220940028Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [python]...\n"}
{"Time":"2021-03-18T20:46:50.221012152Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [ruby]...\n"}
{"Time":"2021-03-18T20:46:50.221076126Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"Testing runtime kind: [swift]...\n"}
{"Time":"2021-03-18T20:46:50.221234975Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Output":"--- PASS: TestParseOpenWhisk (0.70s)\n"}
{"Time":"2021-03-18T20:46:50.221311499Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Test":"TestParseOpenWhisk","Elapsed":0.7}
{"Time":"2021-03-18T20:46:50.221393523Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Output":"PASS\n"}
{"Time":"2021-03-18T20:46:50.224921635Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Output":"coverage: 25.2% of statements\n"}
{"Time":"2021-03-18T20:46:50.231602638Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/runtimes\t0.749s\tcoverage: 25.2% of statements\n"}
{"Time":"2021-03-18T20:46:50.231762736Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/runtimes","Elapsed":0.75}

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/runtimes finished, 1 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency:

{"Time":"2021-03-18T20:46:51.553428853Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency","Output":"testing: warning: no tests to run\n"}
{"Time":"2021-03-18T20:46:51.554452542Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency","Output":"PASS\n"}
{"Time":"2021-03-18T20:46:51.554592015Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency","Output":"coverage: [no statements]\n"}
{"Time":"2021-03-18T20:46:51.558874119Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency\t0.074s\tcoverage: [no statements] [no tests to run]\n"}
{"Time":"2021-03-18T20:46:51.559050867Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency","Elapsed":0.075}
{"Time":"2021-03-18T20:46:52.441006919Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/parsers","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/parsers\t[no test files]\n"}
{"Time":"2021-03-18T20:46:52.441887285Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/parsers","Elapsed":0.001}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/helloworld: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/helloworld

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/dependency finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/parsers:
Test for github.com/apache/openwhisk-wskdeploy/parsers finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/helloworld:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/helloworld finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/jaraction:

package github.com/apache/openwhisk-wskdeploy/tests/src/integration/jaraction: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/jaraction
{"Time":"2021-03-18T20:46:54.474642068Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_String"}
{"Time":"2021-03-18T20:46:54.475595308Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_String","Output":"=== RUN TestConvertInterfaceValue_String\n"}
{"Time":"2021-03-18T20:46:54.475744031Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_String","Output":"--- PASS: TestConvertInterfaceValue_String (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.47582443Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_String","Elapsed":0}
{"Time":"2021-03-18T20:46:54.47589218Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Bool"}
{"Time":"2021-03-18T20:46:54.475947004Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Bool","Output":"=== RUN TestConvertInterfaceValue_Bool\n"}
{"Time":"2021-03-18T20:46:54.476015303Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Bool","Output":"--- PASS: TestConvertInterfaceValue_Bool (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.476079078Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Bool","Elapsed":0}
{"Time":"2021-03-18T20:46:54.476133177Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Int"}
{"Time":"2021-03-18T20:46:54.476184327Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Int","Output":"=== RUN TestConvertInterfaceValue_Int\n"}
{"Time":"2021-03-18T20:46:54.476266376Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Int","Output":"--- PASS: TestConvertInterfaceValue_Int (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.47633125Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Int","Elapsed":0}
{"Time":"2021-03-18T20:46:54.476389299Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_List"}
{"Time":"2021-03-18T20:46:54.476439999Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_List","Output":"=== RUN TestConvertInterfaceValue_List\n"}
{"Time":"2021-03-18T20:46:54.476502423Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_List","Output":"--- PASS: TestConvertInterfaceValue_List (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.476561223Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_List","Elapsed":0}
{"Time":"2021-03-18T20:46:54.476612847Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Map"}
{"Time":"2021-03-18T20:46:54.476662446Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Map","Output":"=== RUN TestConvertInterfaceValue_Map\n"}
{"Time":"2021-03-18T20:46:54.476724271Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Map","Output":"--- PASS: TestConvertInterfaceValue_Map (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.47678202Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestConvertInterfaceValue_Map","Elapsed":0}
{"Time":"2021-03-18T20:46:54.47683367Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseLocalValidation"}
{"Time":"2021-03-18T20:46:54.476882719Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseLocalValidation","Output":"=== RUN TestLicenseLocalValidation\n"}
{"Time":"2021-03-18T20:46:54.476943768Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseLocalValidation","Output":"--- PASS: TestLicenseLocalValidation (0.00s)\n"}
{"Time":"2021-03-18T20:46:54.477001368Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseLocalValidation","Elapsed":0}
{"Time":"2021-03-18T20:46:54.477053067Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseRemoteValidation"}
{"Time":"2021-03-18T20:46:54.477102892Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseRemoteValidation","Output":"=== RUN TestLicenseRemoteValidation\n"}

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/jaraction finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/utils:

{"Time":"2021-03-18T20:46:55.021704377Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseRemoteValidation","Output":"--- PASS: TestLicenseRemoteValidation (0.55s)\n"}
{"Time":"2021-03-18T20:46:55.021912074Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestLicenseRemoteValidation","Elapsed":0.55}
{"Time":"2021-03-18T20:46:55.021985749Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestCheckLicense"}
{"Time":"2021-03-18T20:46:55.022040623Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestCheckLicense","Output":"=== RUN TestCheckLicense\n"}
{"Time":"2021-03-18T20:46:55.022137897Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestCheckLicense","Output":"--- PASS: TestCheckLicense (0.00s)\n"}
{"Time":"2021-03-18T20:46:55.022196396Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Test":"TestCheckLicense","Elapsed":0}
{"Time":"2021-03-18T20:46:55.022255496Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Output":"PASS\n"}
{"Time":"2021-03-18T20:46:55.023834004Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Output":"coverage: 9.2% of statements\n"}
{"Time":"2021-03-18T20:46:55.027047219Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/utils","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/utils\t0.592s\tcoverage: 9.2% of statements\n"}
{"Time":"2021-03-18T20:46:55.027175293Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/utils","Elapsed":0.593}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/websequence: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/websequence
{"Time":"2021-03-18T20:46:56.788593124Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/dependencies","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/dependencies\t[no test files]\n"}
{"Time":"2021-03-18T20:46:56.789534113Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/dependencies","Elapsed":0.001}

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/utils finished, 8 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/websequence:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/websequence finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/dependencies:
Test for github.com/apache/openwhisk-wskdeploy/dependencies finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/triggerrule:

package github.com/apache/openwhisk-wskdeploy/tests/src/integration/triggerrule: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/triggerrule
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-project: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validate-project
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions
package github.com/apache/openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger
{"Time":"2021-03-18T20:46:58.751140313Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation","Output":"testing: warning: no tests to run\n"}
{"Time":"2021-03-18T20:46:58.751376236Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation","Output":"PASS\n"}
{"Time":"2021-03-18T20:46:58.751542384Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation","Output":"coverage: [no statements]\n"}
{"Time":"2021-03-18T20:46:58.754587476Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation\t0.058s\tcoverage: [no statements] [no tests to run]\n"}
{"Time":"2021-03-18T20:46:58.754781574Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation","Elapsed":0.059}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/cloudant: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/cloudant

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/triggerrule finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-project:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-project finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-manifest-deployment-file-extensions finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger:
Test for github.com/apache/openwhisk-wskdeploy/tests/apps/owbp-cloudant-trigger finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validateSequencesCreation finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/cloudant:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/cloudant finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/message-hub:

package github.com/apache/openwhisk-wskdeploy/tests/src/integration/message-hub: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/message-hub
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/flagstests: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/flagstests
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-action-annotations: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validate-action-annotations
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/export: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/export
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/alarmtrigger: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/alarmtrigger
{"Time":"2021-03-18T20:47:00.657655557Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wski18n","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/wski18n\t[no test files]\n"}
{"Time":"2021-03-18T20:47:00.658446548Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/wski18n","Elapsed":0.001}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithinclude: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/zipactionwithinclude
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/webaction: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/webaction

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/message-hub finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/flagstests:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/flagstests finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-action-annotations:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-action-annotations finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/export:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/export finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-binding-inputs-annotations finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/alarmtrigger:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/alarmtrigger finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/wski18n:
Test for github.com/apache/openwhisk-wskdeploy/wski18n finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithinclude:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithinclude finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/webaction:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/webaction finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/deployers:

{"Time":"2021-03-18T20:47:01.957743881Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/deployers","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/deployers\t[no test files]\n"}
{"Time":"2021-03-18T20:47:01.957978953Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/deployers","Elapsed":0}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/runtimetests: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/runtimetests
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithexclude: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/zipactionwithexclude
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/docker: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/docker
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/defaultpackage: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/defaultpackage
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validatePackagesInDeployment: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validatePackagesInDeployment

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/deployers finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/runtimetests:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/runtimetests finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithexclude:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipactionwithexclude finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/docker:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/docker finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/defaultpackage:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/defaultpackage finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validatePackagesInDeployment:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validatePackagesInDeployment finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/conductor:

{"Time":"2021-03-18T20:47:03.985519668Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/conductor","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/conductor\t[no test files]\n"}
{"Time":"2021-03-18T20:47:03.98677838Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/conductor","Elapsed":0.001}

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/conductor finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/cmd:

{"Time":"2021-03-18T20:47:05.320819288Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/cmd","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/cmd\t[no test files]\n"}
{"Time":"2021-03-18T20:47:05.321206584Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/cmd","Elapsed":0}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-packages-in-manifest: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/validate-packages-in-manifest
{"Time":"2021-03-18T20:47:06.202062373Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment","Output":"testing: warning: no tests to run\n"}
{"Time":"2021-03-18T20:47:06.203084812Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment","Output":"PASS\n"}
{"Time":"2021-03-18T20:47:06.203189661Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment","Output":"coverage: [no statements]\n"}
{"Time":"2021-03-18T20:47:06.204952642Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment\t0.012s\tcoverage: [no statements] [no tests to run]\n"}
{"Time":"2021-03-18T20:47:06.20511029Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment","Elapsed":0.013}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/apigateway: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/apigateway

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/cmd finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-packages-in-manifest:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/validate-packages-in-manifest finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/managed-deployment finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/apigateway:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/apigateway finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/wskderrors:

{"Time":"2021-03-18T20:47:08.855722645Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskderrors","Output":"? \tgithub.com/apache/openwhisk-wskdeploy/wskderrors\t[no test files]\n"}
{"Time":"2021-03-18T20:47:08.856560236Z","Action":"skip","Package":"github.com/apache/openwhisk-wskdeploy/wskderrors","Elapsed":0.001}
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/conductor: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/conductor
package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipaction: build constraints exclude all Go files in /home/oceanfish81/openwhisk-wskdeploy/tests/src/integration/zipaction

Task :goTest
Test for github.com/apache/openwhisk-wskdeploy/wskderrors finished, 0 completed, 0 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/conductor:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/conductor finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipaction:
Test for github.com/apache/openwhisk-wskdeploy/tests/src/integration/zipaction finished, 1 completed, 1 failed.
Result of package github.com/apache/openwhisk-wskdeploy/wskenv:

{"Time":"2021-03-18T20:47:10.885744109Z","Action":"run","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar"}
{"Time":"2021-03-18T20:47:10.886005081Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Output":"=== RUN TestInterpolateStringWithEnvVar\n"}
{"Time":"2021-03-18T20:47:10.886027506Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Output":"NoDollar\n"}
{"Time":"2021-03-18T20:47:10.886039306Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Output":"oh, dollars!\n"}
{"Time":"2021-03-18T20:47:10.886047605Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Output":"5000\n"}
{"Time":"2021-03-18T20:47:10.88606163Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Output":"--- PASS: TestInterpolateStringWithEnvVar (0.00s)\n"}
{"Time":"2021-03-18T20:47:10.886070205Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Test":"TestInterpolateStringWithEnvVar","Elapsed":0}
{"Time":"2021-03-18T20:47:10.88608053Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Output":"PASS\n"}
{"Time":"2021-03-18T20:47:10.886088905Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Output":"coverage: 62.9% of statements\n"}
{"Time":"2021-03-18T20:47:10.886963471Z","Action":"output","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Output":"ok \tgithub.com/apache/openwhisk-wskdeploy/wskenv\t0.007s\tcoverage: 62.9% of statements\n"}
{"Time":"2021-03-18T20:47:10.887006295Z","Action":"pass","Package":"github.com/apache/openwhisk-wskdeploy/wskenv","Elapsed":0.007}

Task :goTest FAILED
Test for github.com/apache/openwhisk-wskdeploy/wskenv finished, 1 completed, 0 failed.
Generating HTML test report...
Finished generating test html results (0.055 secs) into: /home/oceanfish81/openwhisk-wskdeploy/.gogradle/reports/test
:goTest (Thread[Execution worker for ':',5,main]) completed. Took 24.457 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':goTest'.

There are 25 failed tests. Please see /home/oceanfish81/openwhisk-wskdeploy/.gogradle/reports/test/index.html for more details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 26s
2 actionable tasks: 2 executed

test_report.zip

@advancedwebdeveloper
Copy link
Author

This on behalf of https://groups.google.com/g/golang-nuts/c/S2gBW3BV4QU/m/I4gWtrPxBwAJ
Also consider investigating json-iterator/go#501

@style95
Copy link
Member

style95 commented Mar 19, 2021

@advancedwebdeveloper
Thank you for the contribution.

How about opening a PR with your change and describe your intention more here?

@mrutkows
Copy link
Contributor

mrutkows commented Mar 19, 2021

@advancedwebdeveloper Running the "goTest" (gradle command) has never been valid in local configurations (especially for integration tests which requires a full OpenWhisk backend plus all providers installed and working with backing services). As the README states, you should run only "unit" tests locally with "go test" (actual go command); "go test" integration tests will only work in Travis as the needed credentials are provided in that environment.

FWIW, The direction of the client tools (wskdeploy and CLI) is one where gogradle (which has not been updated since 2017 and is hardcoded to the deprecated govendor) is replaced with a newer plugin or removed altogether.

@advancedwebdeveloper
Copy link
Author

@advancedwebdeveloper Running the "goTest" (gradle command) has never been valid in local configurations (especially for integration tests which requires a full OpenWhisk backend plus all providers installed and working with backing services). As the README states, you should run only "unit" tests locally with "go test" (actual go command);

OK, understood.

"go test" integration tests will only work in Travis as the needed credentials are provided in that environment.

And how would I run Travis in my local environment?
Or you want me to fork on Github - and your bot would push a job to Travis, automatically?

FWIW, The direction of the client tools (wskdeploy and CLI) is one where gogradle (which has not been updated since 2017 and is hardcoded to the deprecated govendor) is replaced with a newer plugin or removed altogether.

OK, I am just following the current instructions.

@mrutkows
Copy link
Contributor

mrutkows commented Mar 22, 2021

And how would I run Travis in my local environment?
Or you want me to fork on Github - and your bot would push a job to Travis, automatically?

Travis is not run locally, but in the Travis CI servers that are paid for by the Apache Software Foundation. If you submit a pull request, a Travis PR job will be run, and our Travis scripts will automate the install of OpenWhisk and its services and run all unit and integration tests. Of course, you can change the build.gradle to attempt to build for a new architecture (if it is supported on the compiler) by adding the architecure's acronym to the build matrix. However, If it is your intent to run the resultant binary (executable) on a new architecture that would likely be a manual process (at the moment) by taking the matching binary and actually running it on a machine of that architecture (unit tests only unless you want to figure out how to install a full production OW platform locally). There may be possibilities that 3rd party services might support Travis jobs/testing that could be enabled within Travis to test on specific platforms (e.g., we have tried for Windows, but it was very involved to enable this with Apache infra. team). TBH, I have no knowledge if these 3rd party exist (especially for a new architecture) and am doubtful they may for your specific case.

One question though... it was my belief that AARCH64 and ARM64 were the same (merged) and not sure why supporting this architecture (by name/acronym) is important? i.e., https://www.phoronix.com/scan.php?page=news_item&px=MTY5ODk

@mrutkows
Copy link
Contributor

and a recent blog post confirms our linux-arm64 would work on aarch64 servers… https://opensource.com/article/21/1/go-cross-compiling

@mrutkows
Copy link
Contributor

and reading this (although they neglect to say they removed support for Darwin 32-bit in Go 1.15) indicates 1.16 beta will support new M1 chips (better?) https://blog.golang.org/ports (is this why I see a PR for 1.16.2? #1132)

advancedwebdeveloper pushed a commit to advancedwebdeveloper/openwhisk-wskdeploy that referenced this issue Mar 23, 2021
advancedwebdeveloper pushed a commit to advancedwebdeveloper/openwhisk-wskdeploy that referenced this issue Mar 23, 2021
advancedwebdeveloper pushed a commit to advancedwebdeveloper/openwhisk-wskdeploy that referenced this issue Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants