Skip to content

Instantly share code, notes, and snippets.

@pcwhite
Created September 15, 2017 16:27
Show Gist options
  • Save pcwhite/42f4c1877d005f992a9b8ef670ba1ba6 to your computer and use it in GitHub Desktop.
Save pcwhite/42f4c1877d005f992a9b8ef670ba1ba6 to your computer and use it in GitHub Desktop.
database access error
~/Projects/liferay.com/liferay-portal $ ant -f build-test-tomcat.xml run-selenium-tomcat -Dtest.class=WorkflowUpgrade#ViewWorkflowArchive623 -Djavax.net.debug=all
Buildfile: /Users/philipwhite/Projects/liferay.com/liferay-portal/build-test-tomcat.xml
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
run-selenium-tomcat:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
record-test-generated-properties:
[exec] :setUpLibDevelopment UP-TO-DATE
[exec] :setUpLibGlobal UP-TO-DATE
[exec] :setUpLibPortal UP-TO-DATE
[exec] :setUpLibs UP-TO-DATE
[exec]
[exec] BUILD SUCCESSFUL
[exec]
[exec] Total time: 4.129 secs
[exec]
[delete] Deleting: /Users/philipwhite/Projects/liferay.com/liferay-portal/portal-web/test/test-portal-web-ext.properties
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-poshi-runner-properties:
[delete] Deleting: /Users/philipwhite/Projects/liferay.com/liferay-portal/.gradle/gradle.properties
[propertyfile] Updating property file: /Users/philipwhite/Projects/liferay.com/liferay-portal/.gradle/gradle.properties
[exec] :writePoshiProperties
[exec] -- listing properties --
[exec] accessibility.standards.json={runOnly: {type: 'tag', values: ['wcag2aa']}}
[exec] browser.type=firefox
[exec] company.id=1
[exec] component.names=extra-apps-content-targeting,extra-apps-known-issues,liferay-connected-services-fix-packs,liferay-connected-services-known-issues,liferay-connected-services-notifications,liferay-connected-services-project-administration,liferay-connected-services-subscriptions,liferay-connected-services-user-management,marketplace,marketplace-known-issues,marketplace-plugins-1-2-1-columns-layouttpl,marketplace-plugins-1-3-1-columns-layouttpl,marketplace-plugins-1-3-2-columns-layouttpl,marketplace-plugins-2-1-2-columns-layouttpl,marketplace-plugins-3-2-3-columns-layouttpl,marketplace-plugins-akismet-portlet,marketplace-plugins-antisamy-hook,marketplace-plugins-audit-hook,marketplace-plugins-audit-portlet,marketplace-plugins-calendar-portlet,marketplace-plugins-cas-web,marketplace-plugins-chat-portlet,marketplace-plugins-ddl-form-portlet,marketplace-plugins-documentum-hook,marketplace-plugins-drools-web,marketplace-plugins-ehcache-cluster-web,marketplace-plugins-email-to-mb-filter-hook,marketplace-plugins-flash-portlet,marketplace-plugins-google-adsense-portlet,marketplace-plugins-google-maps-portlet,marketplace-plugins-ip-geocoder-portlet,marketplace-plugins-jasperreports-web,marketplace-plugins-kaleo-designer-portlet,marketplace-plugins-kaleo-forms-portlet,marketplace-plugins-kaleo-web,marketplace-plugins-knowledge-base-portlet,marketplace-plugins-localization-ja-hook,marketplace-plugins-localization-zh-hook,marketplace-plugins-logos-reftagger-portlet,marketplace-plugins-mail-portlet,marketplace-plugins-marketplace-portlet,marketplace-plugins-mb-subscription-manager-portlet,marketplace-plugins-my-subscriptions-portlet,marketplace-plugins-netvibes-widget-portlet,marketplace-plugins-notifications-portlet,marketplace-plugins-opensocial-portlet,marketplace-plugins-reports-portlet,marketplace-plugins-resources-importer-web,marketplace-plugins-saml-portlet,marketplace-plugins-scripting-executor-web,marketplace-plugins-server-manager-web,marketplace-plugins-sharepoint-hook,marketplace-plugins-social-bookmarks-hook,marketplace-plugins-social-networking-portlet,marketplace-plugins-stocks-portlet,marketplace-plugins-sync-web,marketplace-plugins-theme-loader-web,marketplace-plugins-twitter-portlet,marketplace-plugins-vimeo-portlet,marketplace-plugins-vldap-web,marketplace-plugins-weather-portlet,marketplace-plugins-web-form-portlet,marketplace-plugins-welcome-theme,marketplace-plugins-wiki-navigation-portlet,marketplace-plugins-wsrp-portlet,marketplace-plugins-wurfl-web,marketplace-plugins-wysiwyg-portlet,marketplace-plugins-youtube-portlet,marketplace-plugins-zoe-brochure-theme,marketplace-plugins-zoe-healthcare-theme,marketplace-plugins-zoe-political-theme,marketplace-plugins-zoe-resort-theme,marketplace-plugins-zoe-tech-theme,portal-acceptance,portal-apis,portal-application-standards,portal-application-standards-ee,portal-authentication,portal-authentication-ee,portal-breadcrumb,portal-business-productivity-ee,portal-calendar,portal-categories,portal-collaboration,portal-commerce,portal-configuration,portal-core-infrastructure-portal-services,portal-core-infrastructure-portal-services-ee,portal-deployment-hypersonic,portal-deployment-mysql,portal-document-management,portal-document-management-ee,portal-frameworks,portal-infrastructure,portal-integrations,portal-knowledge-base,portal-known-issues,portal-language,portal-legacy,portal-mobile-device-rules,portal-opensocial,portal-operations,portal-performance-and-fault-tolerance-ce,portal-performance-and-fault-tolerance-ee,portal-permissions,portal-personalization-and-customization,portal-plugins-deployment,portal-plugins-osgi,portal-polls,portal-portal-services,portal-rss,portal-sample-portlet-plugins,portal-search,portal-search-ee,portal-security,portal-smoke,portal-social-networking,portal-staging,portal-staging-ee,portal-tags,portal-test-plugins,portal-testing-infrastructure,portal-theme-development,portal-tools,portal-upgrades,portal-user-interface,portal-user-management-and-portal-configuration,portal-util-misc,portal-wcd,portal-wcm,portal-web-forms-and-data-lists,portal-workflow,portal-xsl,social-office-activities,social-office-administration,social-office-calendar,social-office-collaboration,social-office-communication,social-office-document-management,social-office-environment,social-office-known-issues,social-office-legacy,social-office-microblogs,social-office-notifications,social-office-search,social-office-upgrades,social-office-user-information,social-office-wcm,support-qa
[exec] logger.resources.url=https://rawgit.com/liferay/liferay-portal/718bff1fae1b84683625ac45ae0fa947893237d3/modules/test/poshi-runner/src/main/resources/META-INF/resources
[exec] mobile.browser=false
[exec] output.dir.name=/Users/philipwhite/Portals/liferay.com/master-src_tomcat/poshi
[exec] portal.url=http://localhost:8080
[exec] product.names=extra-apps,liferay-connected-services,marketplace,portal,social-office
[exec] save.screenshot=true
[exec] save.source=false
[exec] save.web.page=false
[exec] selenium.host=localhost
[exec] selenium.implementation=org.openqa.selenium.WebDriver
[exec] selenium.logger.enabled=false
[exec] selenium.port=14444
[exec] tcat.enabled=false
[exec] tear.down.before.test=false
[exec] test.assert.console.errors=true
[exec] test.assert.javascript.errors=true
[exec] test.assert.warning.exceptions=true
[exec] test.base.dir.name=test/
[exec] test.batch.group.ignore.regex=portal.(acceptance|smoke|release).*|testray.*
[exec] test.batch.run.type=single
[exec] test.case.available.property.names=testray.main.component.name,apacheds.blank.user.password.enabled,apacheds.enabled,app.server.bundles.size,blacklist.portal.profile.names.remove,browser.type,captcha.max.challenges,cluster.enabled,cmis.repository.type,content.targeting.release,custom.properties,data.archive.type,data.creator.includes,database.bare.enabled,database.jndi.enabled,databases.size,default.layout.template.id,deploy.cluster.ce.plugins,direct.deploy.enabled,elastic.kibana.enabled,elastic.shield.enabled,ext.plugins.includes,extraapps.plugins.includes,hook.plugins.includes,index.on.startup,ignore.errors,ignore.errors.delimiter,layouttpl.plugins.includes,legacy.database.dump,legacy.plugin.includes,legacy.plugins.social.office.version,marketplace.app.acceptance,marketplace.staging.enabled,openam.enabled,osgi.app.includes,osgi.module.configuration.file.names,osgi.module.configurations,osgi.modules.includes,plugins.deployment.type,portal.acceptance,portal.acceptance.quarantine,portal.acceptance.tomcat.hypersonic,portal.acceptance.tomcat.mysql,portal.acceptance.wildfly.mariadb,portal.context,portal.fixpack.release,portal.hotfix.release,portal.release,portal.release.environment,portal.smoke,portal.subrepo,portal.upgrades,portal.upstream,portal.version,portlet.plugins.includes,portlet.properties.calendar-portlet,portlet.properties.com.liferay.journal.service,portlet.properties.knowledge-base-portlet,portlet.properties.marketplace-portlet,portlet.properties.private-messaging-portlet,remote.elasticsearch.enabled,setup.wizard.enabled,skip.clean-app-server-deploy-dir,skip.install-patch,skip.start-app-server,solr.enabled,solr.logging.info.level,solr.solrcloud.enabled,solr.ssl.authentication.enabled,test.assert.console.errors,test.assert.javascript.errors,test.assert.warning.exceptions,test.name.skip.portal.instance,test.prepare.bundle.properties,test.run.environment,test.smtp.server.enabled,testcase.url,testray.component.names,testray.testcase.product.edition,theme.file.name,theme.plugins.includes,timeout.explicit.wait,web.plugins.includes,web.xml.timeout
[exec] test.dependencies.dir.name=dependencies
[exec] test.name=WorkflowUpgrade#ViewWorkflowArchive623
[exec] test.pause.on.failure=false
[exec] test.portal.instance=false
[exec] test.poshi.warnings.file.name=/Users/philipwhite/Projects/liferay.com/liferay-portal/poshi-warnings.xml
[exec] test.retry.command.wait.time=3
[exec] test.run.locally=false
[exec] test.skip.tear.down=false
[exec] test.toggle.file.names=/Users/philipwhite/Projects/liferay.com/liferay-portal/modules/apps/forms-and-workflow/dynamic-data-mapping/poshi.toggle,/Users/philipwhite/Projects/liferay.com/liferay-portal/modules/apps/forms-and-workflow/portal-workflow/poshi.toggle,/Users/philipwhite/Projects/liferay.com/liferay-portal/modules/apps/web-experience/journal/poshi.toggle,/Users/philipwhite/Projects/liferay.com/liferay-portal/modules/test/poshi-runner/poshi-runner/src/testFunctional/poshi.toggle
[exec] testing.class.method=false
[exec] theme.contains.resources=false
[exec] theme.ids=classic,controlpanel
[exec] timeout.explicit.wait=60
[exec] timeout.implicit.wait=3
[exec] vm.host=vm-1
[exec]
[exec] Directory /Users/philipwhite/Projects/liferay.com/liferay-portal/modules/private/apps/commerce/commerce-product-test/src/testFunctional does not exist.
[exec] Active Toggles:
[exec] * LRQA-COM_LIFERAY_JOURNAL
[exec] * LRQA-TOGGLE
[exec] * LPS-71571
[exec] * JIRA_TICKET
[exec]
[exec]
[exec] BUILD SUCCESSFUL
[exec]
[exec] Total time: 5.759 secs
[exec]
[move] Moving 1 file to /Users/philipwhite/Projects/liferay.com/liferay-portal
[echo] ##
[echo] ## test.generated.properties
[echo] ##
[echo]
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.data.archive.type=data-archive-workflow
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.priority=5
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.ignore.errors=Plugin security management is not enabled. Enable a security manager, then restart.
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.portal.version=6.2.3
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.portal.release=true
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.portal.upstream=true
[echo] WorkflowUpgradeTestCase.testViewWorkflowArchive623.testray.main.component.name=Upgrades FW
[echo]
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-virtual-host-name-properties:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
run-tomcat:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
run-simple-server:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-osgi-module-configurations:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-portal-properties:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-portal-ext-properties:
[delete] Deleting: /Users/philipwhite/Projects/liferay.com/liferay-portal/portal-impl/src/portal-ext.properties
[copy] Copying 1 file to /Users/philipwhite/Portals/liferay.com/master-src_tomcat/tomcat-8.0.32/webapps/ROOT/WEB-INF/classes
[echo]
[echo] ##
[echo] ## /Users/philipwhite/Portals/liferay.com/master-src_tomcat/tomcat-8.0.32/webapps/ROOT/WEB-INF/classes/portal-ext.properties
[echo] ##
[echo]
[echo]
[echo]
[echo] liferay.home=/Users/philipwhite/Portals/liferay.com/master-src_tomcat
[echo]
[echo] plugin.notifications.enabled=false
[echo]
[echo] jdbc.default.jndi.name=
[echo]
[echo] jdbc.default.driverClassName=com.mysql.jdbc.Driver
[echo] jdbc.default.url=jdbc:mysql://localhost/lportal?characterEncoding=UTF-8&dontTrackOpenResources=true&holdResultsOpenOverStatementClose=true&useFastDateParsing=false&useUnicode=true
[echo] jdbc.default.username=root
[echo] jdbc.default.password=
[echo]
[echo] // HikariCP
[echo]
[echo] jdbc.default.connectionTimeout=600000
[echo] jdbc.default.maximumPoolSize=20
[echo] jdbc.default.minimumIdle=0
[echo]
[echo] jdbc.counter.maximumPoolSize=5
[echo] jdbc.counter.minimumIdle=0
[echo]
[echo] // Tomcat
[echo]
[echo] jdbc.default.initialSize=0
[echo] jdbc.default.maxActive=20
[echo] jdbc.default.maxIdle=0
[echo] jdbc.default.minIdle=0
[echo]
[echo] jdbc.counter.initialSize=0
[echo] jdbc.counter.maxActive=5
[echo] jdbc.counter.maxIdle=0
[echo] jdbc.counter.minIdle=0
[echo]
[echo] browser.launcher.url=
[echo]
[echo] index.on.startup=true
[echo]
[echo] setup.wizard.enabled=false
[echo]
[echo] mail.session.jndi.name=
[echo]
[echo] sprite.root.dir=/tmp/sprite
[echo]
[echo] memory.scheduler.org.quartz.threadPool.threadCount=1
[echo]
[echo] persisted.scheduler.org.quartz.threadPool.threadCount=1
[echo]
[echo] axis.servlet.hosts.allowed=
[echo]
[echo] tunnel.servlet.hosts.allowed=
[echo]
[echo] module.framework.properties.blacklist.portal.profile.names=com.liferay.chat.service,com.liferay.chat.web,opensocial-portlet
[echo]
[echo] ##
[echo] ## From portal-legacy-6.2.properties
[echo] ##
[echo]
[echo] users.image.check.token=false
[echo]
[echo] organizations.types=regular-organization,location
[echo]
[echo] organizations.rootable[regular-organization]=true
[echo] organizations.children.types[regular-organization]=regular-organization,location
[echo] organizations.country.enabled[regular-organization]=false
[echo] organizations.country.required[regular-organization]=false
[echo]
[echo] organizations.rootable[location]=false
[echo] #organizations.children.types[location]=
[echo] organizations.country.enabled[location]=true
[echo] organizations.country.required[location]=true
[echo]
[echo] layout.set.prototype.propagate.logo=true
[echo]
[echo] editor.wysiwyg.portal-web.docroot.html.taglib.ui.discussion.jsp=simple
[echo]
[echo] web.server.servlet.check.image.gallery=true
[echo]
[echo] blogs.trackback.enabled=true
[echo]
[echo] discussion.comments.format=bbcode
[echo]
[echo] discussion.max.comments=0
[echo]
[echo] dl.file.entry.thumbnail.max.height=128
[echo] dl.file.entry.thumbnail.max.width=128
[echo]
[echo] upgrade.processes=${upgrade.processes.master}
[echo]
[echo] module.framework.properties.osgi.console=11312
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-portlet-ext-properties:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
prepare-system-ext-properties:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
update-java-security-tomcat:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
check-inet-address:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
clean-up-java-processes:
[delete] Deleting: /Users/philipwhite/Projects/liferay.com/liferay-portal/clean_up_java_processes.sh
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
copy-optional-jars:
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
rebuild-legacy-database:
[unzip] Expanding: /Users/philipwhite/Projects/liferay.com/liferay-qa-portal-legacy-ee/6.2.3/data-archive/data-archive-workflow-mysql.zip into /Users/philipwhite/Portals/liferay.com/master-src_tomcat
[taskdef] Could not load definitions from resource tasks.properties. It could not be found.
build-sql-file:
[delete] Deleting directory /Users/philipwhite/Projects/liferay.com/liferay-portal/sql/legacy
[mirrors-get] /Users/philipwhite/.liferay/mirrors/releases.liferay.com/portal/6.2.3-ga4/liferay-portal-sql-6.2-ce-ga4-20150416163831865.zip is a valid zip file with 374 entries.
[mirrors-get] Copying /Users/philipwhite/.liferay/mirrors/releases.liferay.com/portal/6.2.3-ga4/liferay-portal-sql-6.2-ce-ga4-20150416163831865.zip to /Users/philipwhite/Projects/liferay.com/liferay-portal/20170915092443455.zip.
[unzip] Expanding: /Users/philipwhite/Projects/liferay.com/liferay-portal/20170915092443455.zip into /Users/philipwhite/Projects/liferay.com/liferay-portal/sql/legacy/6.2.3
[delete] Deleting: /Users/philipwhite/Projects/liferay.com/liferay-portal/20170915092443455.zip
rebuild-database:
[exec] ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
BUILD FAILED
/Users/philipwhite/Projects/liferay.com/liferay-portal/build-test-tomcat.xml:46: The following error occurred while executing this line:
/Users/philipwhite/Projects/liferay.com/liferay-portal/build-test-tomcat.xml:54: The following error occurred while executing this line:
/Users/philipwhite/Projects/liferay.com/liferay-portal/build-test.xml:9605: The following error occurred while executing this line:
/Users/philipwhite/Projects/liferay.com/liferay-portal/build-test.xml:8787: The following error occurred while executing this line:
/Users/philipwhite/Projects/liferay.com/liferay-portal/build-test.xml:8665: exec returned: 1
Total time: 38 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment