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

Error when trying to deploy agents on Vagrant #17

Open
Aszusz opened this issue Apr 19, 2023 · 5 comments
Open

Error when trying to deploy agents on Vagrant #17

Aszusz opened this issue Apr 19, 2023 · 5 comments
Assignees

Comments

@Aszusz
Copy link
Collaborator

Aszusz commented Apr 19, 2023

I don't know if this is the right repository for this error so feel free to move it somewhere else.
I was trying to deploy agents on Vagrant in domino 1.1 and this happened:

: Conversion failed with exit code: 1
: warning:  /tmp/restinterface/upload/8F003945-0FC0-8ABB-4502-998629F12487.zip appears to use backslashes as path separators
: FAILURE: Build failed with an exception.
: * Where:
: Build file '/tmp/dxlimporter/20230419123841/build.gradle' line: 213
: * What went wrong:
: Execution failed for task ':importApacheCommons'.
: > Process 'command '/home/vagrant/.sdkman/candidates/java/8.0.362-zulu/bin/java'' finished with non-zero exit value 4
: * Try:
: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
: * Get more help at https://help.gradle.org
: BUILD FAILED in 3s

Moonshine IDE™
Version 3.3.4, Build 1373, Player: 33.1(Harman)
Running on: Windows 10
Vagrant: Vagrant 2.3.4
VirtualBox: 7.0.6r155176

@JoelProminic
Copy link
Contributor

It looks like this is related to this issue. This was updated in the old demo and demo-v1.1 versions, but it looks like it is still pending for demo-tasks.

@piotrzarzycki21
Copy link
Contributor

@JoelProminic This is happening to me today and I cannot overcome this. I'm using demo-v1.1 - how should I fix or workaround this issue ?

@JoelProminic
Copy link
Contributor

Ah, I see I misinterpreted the error message above - the backslash issue is only a warning, and it is ignored.

This looks like it may be an error in DXL Importer instead. Do you see any other errors earlier in the command output? Check that you have the correct server name in gradle.properties.

@piotrzarzycki21
Copy link
Contributor

This is full stacktrace:

: Running on Adobe AIR 33.1.1.856 : Zipping files from: /Users/piotrzarzycki/Dev/prominic/Super.Human.Portal/Super.Human.Portal_Agents : adding: ScriptLibraryImportTemplate/ (stored 0%) : adding: ScriptLibraryImportTemplate/%%source%%.jar (deflated 39%) : adding: Super.Human.Portal_Agents.javaproj (deflated 59%) : adding: agentProperties/ (stored 0%) : adding: agentProperties/scriptbuild/ (stored 0%) : adding: agentProperties/scriptbuild/Moonshine-Domino-CRUD.properties (deflated 46%) : adding: agentProperties/scriptbuild/ApacheCommons.properties (deflated 49%) : adding: agentProperties/agentbuild/ (stored 0%) : adding: agentProperties/agentbuild/config/ (stored 0%) : adding: agentProperties/agentbuild/config/ConfigRead.properties (deflated 52%) : adding: agentProperties/agentbuild/DocumentationFormScripts/ (stored 0%) : adding: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormRead.properties (deflated 52%) : adding: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormUpdate.properties (deflated 52%) : adding: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormDelete.properties (deflated 52%) : adding: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormCreate.properties (deflated 52%) : adding: agentProperties/agentbuild/genesis/ (stored 0%) : adding: agentProperties/agentbuild/genesis/GenesisRead.properties (deflated 51%) : adding: agentProperties/agentbuild/genesis/GenesisInstall.properties (deflated 52%) : adding: build.gradle (deflated 64%) : adding: docs/ (stored 0%) : adding: docs/DocumentationFormDocs/ (stored 0%) : adding: docs/DocumentationFormDocs/DocumentationForm_API.md (deflated 68%) : adding: dxlLib/ (stored 0%) : adding: dxlLib/ImportDxlNsf.jar (deflated 4%) : adding: gradle.properties (deflated 18%) : adding: lib/ (stored 0%) : adding: lib/Moonshine-Domino-CRUD.jar : (deflated 5%) : adding: scriptLibraryConfig/ (stored 0%) : adding: scriptLibraryConfig/ScriptLibraryConfig.properties (deflated 36%) : adding: src/ (stored 0%) : adding: src/test/ (stored 0%) : adding: src/test/groovy/ (stored 0%) : adding: src/test/groovy/genesis/ (stored 0%) : adding: src/test/groovy/genesis/GenesisReadSpec.groovy (deflated 83%) : adding: src/main/ (stored 0%) : adding: src/main/generated/ (stored 0%) : adding: src/main/generated/DocumentationFormAgents/ (stored 0%) : adding: src/main/generated/DocumentationFormAgents/DocumentationFormReadBase.java (deflated 64%) : adding: src/main/generated/DocumentationFormAgents/DocumentationFormUpdateBase.java (deflated 61%) : adding: src/main/generated/DocumentationFormAgents/DocumentationFormCreateBase.java (deflated 68%) : adding: src/main/generated/DocumentationFormAgents/DocumentationFormDeleteBase.java (deflated 54%) : adding: src/main/java/ (stored 0%) : adding: src/main/java/util/ (stored 0%) : adding: src/main/java/util/ValidationException.java (deflated 74%) : adding: src/main/java/util/StringUtils.java (deflated 62%) : adding: src/main/java/util/SimpleHTTPClient.java : (deflated 70%) : adding: src/main/java/util/EasyX509TrustManager.java (deflated 68%) : adding: src/main/java/util/EasySSLProtocolSocketFactory.java (deflated 69%) : adding: src/main/java/config/ (stored 0%) : adding: src/main/java/config/ConfigRead.java (deflated 64%) : adding: src/main/java/DocumentationFormAgents/ (stored 0%) : adding: src/main/java/DocumentationFormAgents/DocumentationFormUpdate.java (deflated 33%) : adding: src/main/java/DocumentationFormAgents/DocumentationFormCreate.java (deflated 33%) : adding: src/main/java/DocumentationFormAgents/DocumentationFormDelete.java (deflated 33%) : adding: src/main/java/DocumentationFormAgents/DocumentationFormRead.java (deflated 32%) : adding: src/main/java/genesis/ (stored 0%) : adding: src/main/java/genesis/GenesisRead.java (deflated 71%) : adding: src/main/java/genesis/GenesisInstall.java (deflated 66%) : Trying to upload request to: http://127.0.0.1:8096/file/upload. This may take some time.. : Requesting conversion job to: http://127.0.0.1:8096/task : Re-try conversion(#8) check: 1 : Re-try conversion(#8) check: 2 : Output: Starting DXL Import for file /tmp/restinterface/upload/4ED18DE8-369A-17FA-D9FA-066DBC85084A.zip : Archive: /tmp/restinterface/upload/4ED18DE8-369A-17FA-D9FA-066DBC85084A.zip : creating: ScriptLibraryImportTemplate/ : inflating: ScriptLibraryImportTemplate/%%source%%.jar : inflating: Super.Human.Portal_Agents.javaproj : creating: agentProperties/ : creating: agentProperties/scriptbuild/ : inflating: agentProperties/scriptbuild/Moonshine-Domino-CRUD.properties : inflating: agentProperties/scriptbuild/ApacheCommons.properties : creating: agentProperties/agentbuild/ : creating: agentProperties/agentbuild/config/ : inflating: agentProperties/agentbuild/config/ConfigRead.properties : creating: agentProperties/agentbuild/DocumentationFormScripts/ : inflating: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormRead.properties : inflating: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormUpdate.properties : inflating: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormDelete.properties : inflating: agentProperties/agentbuild/DocumentationFormScripts/DocumentationFormCreate.properties : creating: agentProperties/agentbuild/genesis/ : inflating: agentProperties/agentbuild/genesis/GenesisRead.properties : inflating: agentProperties/agentbuild/genesis/GenesisInstall.properties : inflating: build.gradle : creating: docs/ : creating: docs/DocumentationFormDocs/ : inflating: docs/DocumentationFormDocs/DocumentationForm_API.md : creating: dxlLib/ : inflating: dxlLib/ImportDxlNsf.jar : inflating: gradle.properties : creating: lib/ : inflating: lib/Moonshine-Domino-CRUD.jar : creating: scriptLibraryConfig/ : inflating: scriptLibraryConfig/ScriptLibraryConfig.properties : creating: src/ : creating: src/test/ : creating: src/test/groovy/ : creating: src/test/groovy/genesis/ : inflating: src/test/groovy/genesis/GenesisReadSpec.groovy : creating: src/main/ : creating: src/main/generated/ : creating: src/main/generated/DocumentationFormAgents/ : inflating: src/main/generated/DocumentationFormAgents/DocumentationFormReadBase.java : inflating: src/main/generated/DocumentationFormAgents/DocumentationFormUpdateBase.java : inflating: src/main/generated/DocumentationFormAgents/DocumentationFormCreateBase.java : inflating: src/main/generated/DocumentationFormAgents/DocumentationFormDeleteBase.java : creating: src/main/java/ : creating: src/main/java/util/ : inflating: src/main/java/util/ValidationException.java : inflating: src/main/java/util/StringUtils.java : inflating: src/main/java/util/SimpleHTTPClient.java : inflating: src/main/java/util/EasyX509TrustManager.java : inflating: src/main/java/util/EasySSLProtocolSocketFactory.java : creating: src/main/java/config/ : inflating: src/main/java/config/ConfigRead.java : creating: src/main/java/DocumentationFormAgents/ : inflating: src/main/java/DocumentationFormAgents/DocumentationFormUpdate.java : inflating: src/main/java/DocumentationFormAgents/DocumentationFormCreate.java : inflating: src/main/java/DocumentationFormAgents/DocumentationFormDelete.java : inflating: src/main/java/DocumentationFormAgents/DocumentationFormRead.java : creating: src/main/java/genesis/ : inflating: src/main/java/genesis/GenesisRead.java : inflating: src/main/java/genesis/GenesisInstall.java : > Task :clean UP-TO-DATE : > Task :copyDependencies : > Task :jarApacheCommons : > Task :importApacheCommons : start init Notes thread! : Start inital the script library SVN version array,please wait.... : Moonshine-Domino-CRUD: lib/Moonshine-Domino-CRUD.jar : script library key:Moonshine-Domino-CRUD : org.tmatesoft.svn.core.SVNException: svn: E155007: '/tmp/dxlimporter/20230510161036/lib/Moonshine-Domino-CRUD.jar' is not a working copy : at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) : at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1886) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1777) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3308) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3281) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.opReadTreeConflict(SVNWCDb.java:2723) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:72) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:51) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) : at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) : at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149) : at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) : at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2485) : at com.Prominic.Object.ImportSVNObject.getSVNRevision(ImportSVNObject.java:65) : at com.Prominic.Object.ImportSVNObject.getCachedSVNRevision(ImportSVNObject.java:192) : at com.Prominic.Object.ImportSVNObject.getMaxSVNRevision(ImportSVNObject.java:156) : at com.Prominic.Object.ImportDxlInitial.initalScriptLibraryConfigArray(ImportDxlInitial.java:663) : at com.Prominic.Object.ImportDxlInitial.initializeParameter(ImportDxlInitial.java:416) : at com.Prominic.ImportDxlNsfForStatic.main(ImportDxlNsfForStatic.java:52) : Moonshine-Domino-CRUD:0 : Moonshine-Domino-CRUD:0 : scriptLibraryConfigArray len:1 : importType-initl:scriptlibrary : AgentPropertiesFilePath:/tmp/dxlimporter/20230510161036/agentProperties/scriptbuild/ApacheCommons.properties : AgentPropertiesFilePath:/tmp/dxlimporter/20230510161036/agentProperties/scriptbuild/ApacheCommons.properties : targetDatabase:SuperHumanPortal.nsf : targetServer:demo/DEMO : stat init Notes thread! : main : Linux/64 : AgentPropertiesFilePath '/tmp/dxlimporter/20230510161036/agentProperties/scriptbuild/ApacheCommons.properties : DebugOut_Path:/tmp/dxlimporter/20230510161036/.importDxlDebugOutput/ : dxl AgentPropertiesFilePath2:/tmp/dxlimporter/20230510161036/agentProperties/scriptbuild/ApacheCommons.properties : jarSourceFile:./dependencies/commons-codec-1.4.jar,./dependencies/commons-lang3-3.0.1.jar,./dependencies/commons-logging-1.1.1.jar : importType-dxl:scriptlibrary : DebugOut_Path:/tmp/dxlimporter/20230510161036/.importDxlDebugOutput/ : SVN filePath:. : SVN reversion:0 : 2023-05-10 16:10:39 jarSourceFile:./dependencies/commons-httpclient-3.1.jar : getJarBaseEncode jarFilePath:./dependencies/commons-httpclient-3.1.jar : inputJar String len:java.io.FileInputStream@130f889 : org.tmatesoft.svn.core.SVNException: svn: E155007: '/tmp/dxlimporter/20230510161036' is not a working copy : at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) : at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1886) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1777) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3308) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3281) : at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.opReadTreeConflict(SVNWCDb.java:2723) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:72) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:51) : at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) : at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) : at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149) : at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) : at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2485) : at com.Prominic.Object.ImportSVNObject.getSVNRevision(ImportSVNObject.java:65) : at com.Prominic.Object.ImportSVNObject.getCachedSVNRevision(ImportSVNObject.java:192) : at com.Prominic.Object.ImportSVNObject.getMaxSVNRevision(ImportSVNObject.java:156) : at com.Prominic.Object.ImportUntilObject.createCommentNode(ImportUntilObject.java:103) : at com.Prominic.Object.ImportDxlObject.CreateScriptLibraryDomDoc(ImportDxlObject.java:346) : at com.Prominic.Object.ImportDxlObject.InitialDxlObj(ImportDxlObject.java:840) : at com.Prominic.Object.ImportDxlInitial.importAgent(ImportDxlInitial.java:294) : at com.Prominic.Object.ImportDxlInitial.readAgentConfigfile(ImportDxlInitial.java:226) : at com.Prominic.Object.ImportDxlInitial.startProessAction(ImportDxlInitial.java:546) : at com.Prominic.ImportDxlNsfForStatic.main(ImportDxlNsfForStatic.java:87) : inputJar base64 encode length:406668 : 2023-05-10 16:10:39 jarSourceFile:./ScriptLibraryImportTemplate/%%source%%.jar : getJarBaseEncode jarFilePath:./ScriptLibraryImportTemplate/%%source%%.jar : inputJar String len:java.io.FileInputStream@1188e820 : inputJar base64 encode length:448 : 2023-05-10 16:10:39 jarSourceFile:./dependencies/commons-codec-1.4.jar : getJarBaseEncode jarFilePath:./dependencies/commons-codec-1.4.jar : inputJar String len:java.io.FileInputStream@2f490758 : inputJar base64 encode length:77548 : 2023-05-10 16:10:40 jarSourceFile:./dependencies/commons-lang3-3.0.1.jar : getJarBaseEncode jarFilePath:./dependencies/commons-lang3-3.0.1.jar : inputJar String len:java.io.FileInputStream@101df177 : inputJar base64 encode length:417156 : 2023-05-10 16:10:40 jarSourceFile:./dependencies/commons-logging-1.1.1.jar : getJarBaseEncode jarFilePath:./dependencies/commons-logging-1.1.1.jar : inputJar String len:java.io.FileInputStream@166fa74d : inputJar base64 encode length:80916 : jarNameString:commons-codec-1.4.jar,commons-lang3-3.0.1.jar,commons-logging-1.1.1.jar, : ScriptJarNameString:%%object%%.jar,%%source%%.jar,commons-codec-1.4.jar,commons-lang3-3.0.1.jar,commons-logging-1.1.1.jar, : classNameString:ApacheCommons.class : codePathString:. : scriptLibraryString: : allscriptLibraryString1:0 : allscriptLibraryString2:0 : scirptJarString len:102 : allJarString len:102 : ven_len:142 : java_action_len:140 : ven_len:142 : java_action_len:140 : 1:0x8c : allString:122 : k/+OABMAAQBnAAAAAAAAAAAAQXBhY2hlQ29tbW9ucy5jbGFzcy4lJW9iamVjdCUlLmphcgAlJXNvdXJjZSUlLmphcgBjb21tb25zLWNvZGVjLTEuNC5qYXIAY29tbW9ucy1sYW5nMy0zLjAuMS5qYXIAY29tbW9ucy1sb2dnaW5nLTEuMS4xLmphcgAAAA== : handofUser:null : output:985466 : [024472:000002-00007F4D15DE0700] The ID file being used is: /local/notesjava/user.id : [024472:000002-00007F4D15DE0700] Enter password (press the Esc key to abort): : Deploy target nsf/ntf database can't be open,please check the server:demo/DEMO and nsf file path:SuperHumanPortal.nsf : 2023-05-10 16:10:40 - Import FAILED for 'ApacheCommons'. : Import Agent fail :/tmp/dxlimporter/20230510161036/agentProperties/scriptbuild/ApacheCommons.properties : > Task :importApacheCommons FAILED : 3 actionable tasks: 2 executed, 1 up-to-date : Conversion failed with exit code: 1 : /opt/domino/scripts/run_dxl_importer.sh: line 25: [: : integer expression expected : FAILURE: Build failed with an exception. : * Where: : Build file '/tmp/dxlimporter/20230510161036/build.gradle' line: 220 : * What went wrong: : Execution failed for task ':importApacheCommons'. : > Process 'command '/home/vagrant/.sdkman/candidates/java/8.0.372-zulu/bin/java'' finished with non-zero exit value 4 : * Try: : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. : * Get more help at https://help.gradle.org : BUILD FAILED in 4s

@piotrzarzycki21
Copy link
Contributor

@JoelProminic Nothing help so far:

  • I have tried deploy database which you have sent me, by replacing it in Moonshine VE project and using deploy - didn't help
  • I have tried run again Super Human Installer after adding to hosts all the input - it still doesn't work for me
  • After deploying all the stuff using demo-1.1. while running Super Human Portal I have following problem:
Screenshot 2023-05-11 at 10 23 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants